[go: up one dir, main page]

TWI406533B - Method and system testing internet connection - Google Patents

Method and system testing internet connection Download PDF

Info

Publication number
TWI406533B
TWI406533B TW98126120A TW98126120A TWI406533B TW I406533 B TWI406533 B TW I406533B TW 98126120 A TW98126120 A TW 98126120A TW 98126120 A TW98126120 A TW 98126120A TW I406533 B TWI406533 B TW I406533B
Authority
TW
Taiwan
Prior art keywords
server
address
network connection
video streaming
multimedia video
Prior art date
Application number
TW98126120A
Other languages
Chinese (zh)
Other versions
TW201106656A (en
Inventor
Peter Chen
Original Assignee
Kcs Digital 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 Kcs Digital Inc filed Critical Kcs Digital Inc
Priority to TW98126120A priority Critical patent/TWI406533B/en
Publication of TW201106656A publication Critical patent/TW201106656A/en
Application granted granted Critical
Publication of TWI406533B publication Critical patent/TWI406533B/en

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

This present invention relates to a method for testing whether an electrical device could be connected via an internet network, the method comprises the steps of: interconnecting an electrical device, a modem, a first server and a second server to each other via a network, wherein the modem has a physical IP address, the electrical device has an unique ID and there is a correspondence relation between the physical IP address and the unique ID; storing the correspondence relation in the first server; transmitting a test request with the unique ID to the second server; and receiving the test request by the second sever and accessing the correspondence relation stored in the first sever whereby the second sever obtains the correspondence relation and the physical IP address so as to connect to the electrical device.

Description

網路連接測試方法及其系統Network connection test method and system thereof

本案係相關於一種測試該電子裝置能否透過網路被連接的方法與其系統,尤指透過一伺服器達成測試的方法與系統。The present invention relates to a method and system for testing whether the electronic device can be connected through a network, and more particularly to a method and system for testing through a server.

隨著網際網路的蓬勃發展,寬頻網路趨於平價與普及,各式各樣藉由網路提供的服務隨也越來越便利,許多需要頻寬的服務也不再限於只有網路服務供應商(Internet Service Provider,ISP)或企業有能力提供,家庭或個人使用的網路,如非對稱數位用戶迴路(ADSL)也漸漸能提供類似的服務(例如影音視訊串流),除此之外,隨著網路覆蓋率遽增,提供網路服務的場所增加,隨時可以使用網路連接辦公場所、家中或其他連接在網路上的變腦或電子裝置,然而因為IP位址資源有限,這些電腦或電子裝置連接上網路之後,多半可能取得一個動態IP位址,或是經由路由器連接上網而取得一個虛擬IP位址。With the rapid development of the Internet, broadband networks tend to be cheaper and more popular, and the services provided by the Internet are becoming more and more convenient. Many services that require bandwidth are no longer limited to only network services. Internet Service Providers (ISPs) or networks that companies have the ability to provide, home or personal use, such as Asymmetric Digital Subscriber Loop (ADSL), can gradually provide similar services (such as video and video streaming). In addition, as the network coverage increases, the number of places providing Internet services increases, and the Internet can be used to connect to the office, home or other connected brains or electronic devices. However, due to limited IP address resources, After connecting these computers or electronic devices to the network, it is possible to obtain a dynamic IP address or connect to the Internet via a router to obtain a virtual IP address.

是故,現今的連接方式多是使用者將要被連接的電腦或電子裝置連接上網之後記下當前電腦或電子裝置的當前IP位址或甚至是連接埠以供需要連接時使用,然而查詢IP位址或連接埠的步驟對一般使用者是複雜的,而使用介面也不友善(nonuser-friendly),且這些參數較難記憶。此外如前述網路環境,其電腦或電子裝置接上網路之後取得之IP位址可能是動態IP位址或甚至是虛擬IP位址,使用者除需具有網路概念之外,其動態IP位址或虛擬IP位址更可能因為網路重新連線或重新開機(如當機等因素)後被重新分配而改變,或是設定好的非軍事區(DEMILITARIZED ZONE,DMZ)也可能因為路由器重開機或不穩定而改變或被重置。雖然藉由其他動態域名伺服器(Dynamic Domain Name Server,DDNS)提供可連接至電子裝置的相關資訊,例如:於動態域名伺服器中儲存代表「電子裝置」之身份的獨特ID(或其媒體存取控制位址,MAC Address)與其IP位址(或更包含連接埠)的對應關係,可以增加連接時的便利性,但仍無法在電子裝置接上網路的同時就確認能否成功地經由網路被連接,加上若有加裝防火牆或防毒軟體,其允許或封鎖項目是否正確設定亦會影響電腦或電子裝置能否被順利連接,無形中更對使用者造成重重使用障礙。Therefore, most of the current connection methods are when the user connects the connected computer or electronic device to the Internet and writes down the current IP address of the current computer or electronic device or even the connection port for use when needed for connection. However, the IP address is queried. The steps of the address or port are complex for the average user, and the interface is not user-friendly, and these parameters are more difficult to remember. In addition, as in the foregoing network environment, the IP address obtained after the computer or electronic device is connected to the network may be a dynamic IP address or even a virtual IP address, and the user has a dynamic IP address in addition to the network concept. The address or virtual IP address is more likely to be changed after the network is reconnected or rebooted (such as a crash), or the demilitarized zone (DEMILITARIZED ZONE, DMZ) may also be heavy due to the router. Turned on or unstable and changed or reset. Although other dynamic domain name servers (DDNS) provide related information that can be connected to the electronic device, for example, a unique ID (or its media storage) representing the identity of the "electronic device" is stored in the dynamic domain name server. The correspondence between the MAC address and its IP address (or more) can increase the convenience of connection, but it is still impossible to confirm whether the network can be successfully accessed while the electronic device is connected to the network. The road is connected, and if a firewall or anti-virus software is installed, whether the permission or blocking of the project is correctly set will also affect whether the computer or the electronic device can be successfully connected, which inevitably causes heavy obstacles to the user.

再者,電腦或電子裝置接上網路之後,無法即時確定目前的設定可否由網際網路成功連接(如:在海外出差時要連接家中電子裝置),因而時常發生設定完成後,實際要連接時卻失敗的窘境,而造成許多不便及損失。可見,在這樣的狀況下,如何在電子裝置接上網路的同時即可確認能否由外部網路(例如:網際網路)被連接,對一般的普羅大眾來說是一個相當重要的議題,因消費者多數希望所使用的是滑鼠一點(One-Click)即可確認目前的設定是否正確的產品。Furthermore, after the computer or electronic device is connected to the network, it is impossible to immediately determine whether the current setting can be successfully connected by the Internet (for example, to connect to the home electronic device when traveling overseas), so that when the setting is completed, the actual connection is required. However, the failure has caused many inconveniences and losses. It can be seen that under such circumstances, how to confirm whether the external network (for example, the Internet) can be connected while the electronic device is connected to the network is a very important issue for the general public. Because most consumers want to use One-Click to confirm whether the current settings are correct.

職是之故,申請人鑑於習知技術中所產生之缺失,經過悉心試驗與研究,並一本鍥而不捨之精神,終構思出本案「網路連接測試方法及其系統」,能夠克服上述缺點,以下為本案之簡要說明。As a result of the job, the applicant has been able to overcome the above shortcomings by carefully testing and researching, and with a spirit of perseverance, to conceive the "network connection test method and its system". The following is a brief description of the case.

鑑於習知技術中存在的缺失,本發明提供一伺服器可在一電子裝置連接上網路的同時,測試在目前的設定下該電子裝置能否被順利連接,該電子裝置連接上網際網路(Internet Network)後,當需要測試電子裝置是否能從網際網路連接時,配置於網際網路的一回應伺服器(Echo Server)扮演一個位於網際網路上之測試者的角色,該電子裝置可發送測試要求至該回應伺服器(相當於測試該電子裝置能否將資料傳送至網際網路),而該回伺服器也可確認能否連接至該電子裝置(相當於測試該電子裝置能否經由網際網路而被連接),進而達到雙向確認的效果,以驗證目前的設定是否需要修改。In view of the deficiencies in the prior art, the present invention provides a server that can test whether the electronic device can be successfully connected under the current setting while the electronic device is connected to the network, and the electronic device is connected to the Internet ( After the Internet Network, when it is necessary to test whether the electronic device can be connected from the Internet, an Echo Server configured on the Internet plays the role of a tester on the Internet, and the electronic device can transmit Testing the request to the response server (equivalent to testing whether the electronic device can transmit data to the Internet), and the return server can also confirm whether it can be connected to the electronic device (equivalent to testing whether the electronic device can pass The Internet is connected) to achieve the effect of two-way confirmation to verify whether the current settings need to be modified.

根據本發明的第一構想,提出一種網路連接測試方法,其包括步驟:透過一網路而互連一電子裝置、一數據機、一第一伺服器與一第二伺服器,該數據機具有一實體IP位址,該電子裝置具有一獨特ID,該實體IP位址與該獨特ID之間存有一對應關係;將該對應關係儲存於該第一伺服器;發送含有該獨特ID的一測試請求至該第二伺服器;以及該第二伺服器接收該測試請求,並存取儲存於該第一伺服器上的該對應關係而獲得該實體IP位址以連接該電子裝置。According to a first aspect of the present invention, a network connection test method is provided, comprising the steps of: interconnecting an electronic device, a data machine, a first server, and a second server through a network, the data machine Having a physical IP address, the electronic device has a unique ID, and a corresponding relationship exists between the physical IP address and the unique ID; storing the corresponding relationship in the first server; sending a one containing the unique ID Testing the request to the second server; and the second server receives the test request and accessing the correspondence stored on the first server to obtain the physical IP address to connect to the electronic device.

較佳地,本發明所提供網路連接測試方法,其中該網路包含一内部網路與一網際網路。Preferably, the network connection test method provided by the present invention, wherein the network comprises an internal network and an internet network.

較佳地,本發明所提供網路連接測試方法,其中該第一伺服器與該第二伺服器係配置於該網際網路。Preferably, the network connection test method provided by the present invention, wherein the first server and the second server are configured on the internet.

較佳地,本發明所提供網路連接測試方法,其中該電子裝置係配置於該内部網路。Preferably, the network connection testing method provided by the present invention, wherein the electronic device is configured in the internal network.

較佳地,本發明所提供網路連接測試方法,其中該第一伺服器與該第二伺服器的IP位址為靜態實體IP位址。Preferably, the network connection test method provided by the present invention, wherein the IP address of the first server and the second server is a static entity IP address.

較佳地,本發明所提供網路連接測試方法,其中該電子裝置更透過一路由器而連接至該數據機而具有一虛擬IP位址。Preferably, the network connection test method provided by the present invention, wherein the electronic device is connected to the data machine through a router and has a virtual IP address.

較佳地,本發明所提供網路連接測試方法,其中該對應關係更包含將該實體IP位址對應至該虛擬IP位址所需要的一連接埠。Preferably, the network connection test method provided by the present invention, wherein the correspondence further comprises a connection port required to correspond the physical IP address to the virtual IP address.

較佳地,本發明所提供網路連接測試方法,其中該電子裝置每隔一定時間向該數據機查詢該實體IP位址,若該實體IP位址有變更則重複將該對應關係儲存於該第一伺服器以更新儲存於該第一伺服器的該對應關係。Preferably, the network connection test method provided by the present invention, wherein the electronic device queries the data machine for the physical IP address at regular intervals, and if the physical IP address is changed, the corresponding relationship is repeatedly stored in the The first server updates the correspondence stored in the first server.

較佳地,本發明所提供網路連接測試方法,其中該電子裝置是一電腦裝置。Preferably, the network connection test method provided by the present invention, wherein the electronic device is a computer device.

較佳地,本發明所提供網路連接測試方法,其中該電子裝置是一具内嵌系統的裝置。Preferably, the present invention provides a network connection test method, wherein the electronic device is a device with an embedded system.

根據本發明的第二構想,提出一種網路連接測試方法,其包括步驟:透過一網路而互連一電子裝置、一數據機、與一伺服器,該電子裝置具有一靜態實體IP位址;發送一測試請求至該伺服器;以及該伺服器接收該測試請求,並自動連接該電子裝置。According to a second aspect of the present invention, a network connection test method is provided, comprising the steps of: interconnecting an electronic device, a data machine, and a server through a network, the electronic device having a static physical IP address Sending a test request to the server; and the server receives the test request and automatically connects the electronic device.

較佳地,本發明所提供網路連接測試方法,其中該伺服器的IP位址為靜態實體IP位址。Preferably, the network connection test method provided by the present invention, wherein the IP address of the server is a static entity IP address.

較佳地,本發明所提供網路連接測試方法,其中該電子裝置是一電腦裝置。Preferably, the network connection test method provided by the present invention, wherein the electronic device is a computer device.

較佳地,本發明所提供網路連接測試方法,其中該電子裝置是一其内嵌系統的裝置。Preferably, the present invention provides a network connection test method, wherein the electronic device is a device embedded in the system.

根據本發明的第三構想,提出一種網路連接測試系統,包含:一數據機,其具有一實體IP位址;一電子裝置,其具有一獨特ID;一第一伺服器,用以儲存該獨特ID與該實體IP位址間的一對應關係;一第二伺服器,用以接收含有的該獨特ID的一測試請求,並存取該第一伺服器上的該對應關係而獲得該實體IP位址以連接該電子裝置;以及其中該電子裝置、該數據機、該第一伺服器與該第二伺服器透過一網路互連。According to a third aspect of the present invention, a network connection test system includes: a data machine having a physical IP address; an electronic device having a unique ID; and a first server for storing the a correspondence between the unique ID and the IP address of the entity; a second server, configured to receive a test request containing the unique ID, and access the corresponding relationship on the first server to obtain the entity An IP address is connected to the electronic device; and wherein the electronic device, the data machine, the first server, and the second server are interconnected through a network.

較佳地,本發明所提供網路連接測試系統,其中該網路包含一内部網路與一網際網路。Preferably, the network connection test system provided by the present invention, wherein the network comprises an internal network and an internet.

較佳地,本發明所提供網路連接測試系統,其中該第一伺服器與該第二伺服器係配置於該網際網路。Preferably, the network connection test system provided by the present invention, wherein the first server and the second server are configured on the internet.

較佳地,本發明所提供網路連接測試系統,其中該電子裝置係配置於該内部網路。Preferably, the network connection test system provided by the present invention, wherein the electronic device is configured on the internal network.

較佳地,本發明所提供網路連接測試系統,其中該第一伺服器與該第二伺服器的IP位址為靜態實體IP位址。Preferably, the network connection test system provided by the present invention, wherein the IP address of the first server and the second server is a static entity IP address.

較佳地,本發明所提供網路連接測試系統,其中該電子裝置更透過一路由器而連接至該數據機而具有一虛擬IP位址。Preferably, the network connection test system provided by the present invention, wherein the electronic device is connected to the data machine through a router and has a virtual IP address.

較佳地,本發明所提供網路連接測試系統,其中該對應關係更包含將該實體IP位址對應至該虛擬IP位址所需要的一連接埠。Preferably, the network connection test system provided by the present invention, wherein the correspondence further comprises a connection port required to correspond the physical IP address to the virtual IP address.

較佳地,本發明所提供網路連接測試系統,其中該電子裝置每隔一固定時間向該數據機詢問該實體IP位址,若該實體IP位址有變更則更新該對應關係並傳送至該第一伺服器。Preferably, the network connection test system provided by the present invention, wherein the electronic device queries the data machine for the physical IP address every fixed time, and if the physical IP address is changed, the corresponding relationship is updated and transmitted to the The first server.

較佳地,本發明所提供網路連接測試系統,其中該其中該電子裝置是一電腦裝置。Preferably, the network connection test system provided by the present invention, wherein the electronic device is a computer device.

較佳地,本發明所提供網路連接測試系統,其中該其中該電子裝置是一具内嵌系統的裝置。Preferably, the network connection test system provided by the present invention, wherein the electronic device is a device with an embedded system.

根據本發明的第四構想,提出一種網路連接測試系統,包含:一數據機;一電子裝置,其具有一靜態實體IP位址;一伺服器,用以接收一測試請求,並連接該電子裝置;以及其中該電子裝置、該數據機、該伺服器透過一網路互連。According to a fourth aspect of the present invention, a network connection test system includes: a data machine; an electronic device having a static physical IP address; a server for receiving a test request and connecting the electronic device And wherein the electronic device, the data machine, and the server are interconnected by a network.

較佳地,本發明所提供網路連接測試系統,其中該伺服器的IP位址為靜態實體IP位址。Preferably, the network connection test system provided by the present invention, wherein the IP address of the server is a static entity IP address.

較佳地,本發明所提供網路連接測試系統,其中該電子裝置是一電腦裝置。Preferably, the network connection test system provided by the present invention, wherein the electronic device is a computer device.

較佳地,本發明所提供網路連接測試系統,其中該電子裝置是一具内嵌系統的裝置。Preferably, the network connection test system provided by the present invention, wherein the electronic device is a device with an embedded system.

本案將可由以下的實施例說明而得到充分瞭解,使得熟習本技藝之人士可以據以完成之,然本案之實施並非可由下列實施案例而被限制其實施型態。其中相同的標號始終代表相同的組件。The present invention will be fully understood by the following examples, so that those skilled in the art can do so. However, the implementation of the present invention may not be limited by the following embodiments. Where the same reference numerals always represent the same components.

以下利用第1圖來說明本發明「網路連接測試方法及其系統」的系統實施例。請參照第1圖,其中電子裝置11不限於電腦而可以是任何具内嵌系統的電腦裝置或提供其他服務(如多媒體影音串流)的機器。電子裝置11與其餘電腦或可上網的電腦裝置12透過路由器13(其可具有防火牆功能)連接至數據機14,再撥接至網路服務業者(ISP)15。回應伺服器(Echo Server)16連接至網路服務業者15。各元件之間的連接方式為有線網路並以TCP封包傳遞,然不限於有線網路。電子裝置11接上路由器13之後,將取得一虛擬IP位址(例如192.168.0.1,或其他符合虛擬IP規範的網段),該虛擬IP位址可由使用者設定也可由路由器13的動態主機組態協定(DHCP)分配。使用者可在路由器13上設定該虛擬IP位址與數據機14對外的一實體IP位址之間的一位址轉換關係(例如:xxx.xxx.xxx.xxx:yyy<_>192.168.0.1:21,其中xxx.xxx.xxx.xxx為符合實體IP規範的網段,yyy為一連接埠)。而第1圖中的路由器13也可作為一集線器,或是電子裝置11也可直接連接至數據機14,如第2圖,而使電子裝置11獲得一實體IP位址,該實體IP位址由網路服務業者15的動態主機組態協定分配。而電子裝置11也可由使用者設定一組被分配的靜態實體IP位址。Hereinafter, a system embodiment of the "network connection test method and system thereof" of the present invention will be described using FIG. Referring to FIG. 1, the electronic device 11 is not limited to a computer but may be any computer device with an embedded system or a machine that provides other services such as multimedia video streaming. The electronic device 11 and the remaining computers or Internet-enabled computer devices 12 are connected to the data machine 14 via a router 13 (which may have a firewall function) and then dialed to an Internet Service Provider (ISP) 15. The Echo Server 16 is connected to the Internet Service Provider 15. The connection between the components is a wired network and is transmitted in a TCP packet, but is not limited to a wired network. After the electronic device 11 is connected to the router 13, a virtual IP address (for example, 192.168.0.1, or other network segment conforming to the virtual IP specification) is obtained, and the virtual IP address can be set by the user or by the dynamic host group of the router 13. State Agreement (DHCP) allocation. The user can set an address conversion relationship between the virtual IP address and a physical IP address of the data machine 14 on the router 13 (for example: xxx.xxx.xxx.xxx: yyy<_>192.168.0.1) : 21, where xxx.xxx.xxx.xxx is the network segment conforming to the physical IP specification, and yyy is a connection 埠). The router 13 in FIG. 1 can also be used as a hub, or the electronic device 11 can also be directly connected to the data machine 14, as shown in FIG. 2, so that the electronic device 11 obtains a physical IP address, and the physical IP address is obtained. Assigned by the dynamic host configuration protocol of the network service provider 15. The electronic device 11 can also set a set of assigned static entity IP addresses by the user.

上述第一系統實施例更包含動態域名伺服器17,用以協助回應伺服器16找到電子裝置11的位置。舉例來說,在使用一獨特ID(例如:一全域唯一識別碼或其媒體存取控制位址)作為電子裝置11識別身份的環境下,動態域名伺服器17用以儲存電子裝置11的該獨特ID、與連接到電子裝置11所需的IP位址(甚至所使用的連接埠)兩者間的一對應關係,而回應伺服器16可用該獨特ID存取動態域名伺服器17並藉由該對應關係連接至電子裝置11。當使用者在電子裝置端(電子裝置11的所在位置)將電子裝置11接妥,需要測試在當前的設定下能否由網際網路連接至電子裝置11時,可傳送測試請求至回應伺服器16,以確認資料能否被傳送至網際網路,而回應伺服器16(配置於該網際網路且為靜態實體IP位址)接收到測試請求後,可藉由存取動態域名伺服器17而連接至電子裝置11以測試電子裝置11能否經由該網際網路被連接,故回應伺服器16扮演一位於網際網路的測試角色,以測試電子裝置11在該網際網路中能否順利被連接。若連接過程皆順利,則顯示出成功訊息,反之則顯示失敗訊息甚至障礙排除的建議,使得使用者在電子裝置端即可驗證當前的設定是否適當,前述之連接操作與訊息顯示可透過一使用者介面進行。The first system embodiment further includes a dynamic domain name server 17 for assisting the response server 16 in finding the location of the electronic device 11. For example, the dynamic domain name server 17 is configured to store the uniqueness of the electronic device 11 in an environment in which the identity is recognized by the electronic device 11 using a unique ID (eg, a globally unique identifier or its media access control address). The ID, a correspondence between the IP address required to connect to the electronic device 11 (even the port used), and the response server 16 can access the dynamic domain name server 17 with the unique ID and by the The correspondence is connected to the electronic device 11. When the user connects the electronic device 11 at the electronic device end (where the electronic device 11 is located), it is necessary to test whether the test request can be transmitted to the response server when the Internet is connected to the electronic device 11 under the current settings. 16. By confirming whether the data can be transmitted to the Internet, and responding to the server 16 (configured on the Internet and being a static entity IP address), after receiving the test request, the dynamic domain name server 17 can be accessed. And connected to the electronic device 11 to test whether the electronic device 11 can be connected via the Internet, the response server 16 plays a test role in the Internet to test whether the electronic device 11 can be smoothly in the Internet. Connected. If the connection process is successful, a success message is displayed, otherwise a failure message or even a troubleshooting recommendation is displayed, so that the user can verify whether the current setting is appropriate on the electronic device side, and the foregoing connection operation and message display can be used. Interface.

而電子裝置當具有一靜態實體IP位址時,回應伺服器16接收測試請求後可直接連接至電子裝置11以測試電子裝置11能否經由該網際網路被連接,不需經由存取動態域名伺服器17。When the electronic device has a static physical IP address, the response server 16 can directly connect to the electronic device 11 after receiving the test request to test whether the electronic device 11 can be connected via the Internet without accessing the dynamic domain name. Server 17.

此外,上述系統實施例中的電子裝置11除上述接連接該網際網路並的方式外,更可以其他既有的方式連接至該網際網路,而不限於本實施例所限制的連接方式。In addition, the electronic device 11 in the foregoing system embodiment may be connected to the Internet in other existing manners, except for the manner in which the Internet is connected to the Internet, and is not limited to the connection manner limited by this embodiment.

請繼續參照第3圖以說明對應於上述系統實施例的方法實施例,第3圖為一流程圖,說明一系統實施例進行測試一電子裝置能否經由一網路被連接時的流程。步驟S31發送一測試請求至位於該網際網路上的回應伺服器16,以測試電子裝置11能否將資料傳送至網際網路。在電子裝置11取得靜態實體IP位址的情況下,由步驟S32A回應伺服器16接收該測試請求後,自動嘗試連接至電子裝置11以測試電子裝置11能否經由該網際網路被連接,最後步驟S33顯示連接結果。而當電子裝置11取得虛擬IP位址或動態實體IP位址且具有一獨特ID時,在步驟S31的電子裝置11發送一測試請求至位於該網際網路上的回應伺服器16後,回應伺服器16於步驟S32B自動以該獨特ID存取動態域名伺服器17,並透過前述系統實施例所述的對應關係而取得連接至電子裝置11所需的資訊(如IP位址與其連接埠等),以測試電子裝置11能否被連接,而連接結果於步驟S33顯示。Please refer to FIG. 3 to illustrate a method embodiment corresponding to the above system embodiment, and FIG. 3 is a flow chart illustrating a system embodiment for testing whether an electronic device can be connected via a network. Step S31 sends a test request to the response server 16 located on the Internet to test whether the electronic device 11 can transmit the data to the Internet. In the case that the electronic device 11 obtains the static entity IP address, after the server 16 receives the test request by step S32A, it automatically attempts to connect to the electronic device 11 to test whether the electronic device 11 can be connected via the Internet, and finally Step S33 shows the result of the connection. When the electronic device 11 obtains the virtual IP address or the dynamic entity IP address and has a unique ID, the electronic device 11 in step S31 sends a test request to the response server 16 located on the Internet, and responds to the server. In step S32B, the dynamic domain name server 17 is automatically accessed by the unique ID, and the information (such as an IP address and its connection port) required for connecting to the electronic device 11 is obtained through the correspondence relationship described in the foregoing system embodiment. In order to test whether the electronic device 11 can be connected, the connection result is displayed in step S33.

總結而言,本案實為一難得一見,值得珍惜的難得發明,惟以上所述者,僅為本發明之最佳實施例而已,當不能以之限定本發明所實施之範圍。即大凡依本發明申請專利範圍所作之均等變化與修飾,皆應仍屬於本發明專利涵蓋之範圍内,謹請貴審套委員明鑑,並祈惠准,是所至禱。In summary, the present invention is a rare and incomprehensible invention, but the above is only the preferred embodiment of the present invention, and the scope of the present invention is not limited thereto. That is to say, the equivalent changes and modifications made by the applicant in accordance with the scope of the patent application of the present invention should still fall within the scope of the patent of the present invention, and I would like to ask the members of the trial committee to give a clear understanding and pray for the best.

10...本發明之系統示意圖10. . . System schematic diagram of the present invention

11...電子裝置11. . . Electronic device

12...其餘電腦或可上網的電腦裝置12. . . Other computers or computer devices with internet access

13...路由器13. . . router

14...數據機14. . . Data machine

15...網路服務業者(ISP)15. . . Internet Service Provider (ISP)

16...回應伺服器(Echo Server)16. . . Response server (Echo Server)

17...動態域名伺服器17. . . Dynamic domain name server

S31...電子裝置11發送測試請求至存在於網際網路上的回應伺服器16,以測試電子裝置11能否將資料傳送至網際網路S31. . . The electronic device 11 sends a test request to the response server 16 existing on the Internet to test whether the electronic device 11 can transmit data to the Internet.

S32A...回應伺服器16接收該測試請求後,自動嘗試連接至電子裝置11以測試電子裝置11能否被連接S32A. . . After the response server 16 receives the test request, it automatically attempts to connect to the electronic device 11 to test whether the electronic device 11 can be connected.

S32B...回應伺服器16接收該測試請求後,透過存取動態域名伺服器17而連接至電子裝置11,以測試電子裝置11能否被連接S32B. . . After receiving the test request, the response server 16 connects to the electronic device 11 by accessing the dynamic domain name server 17 to test whether the electronic device 11 can be connected.

S33...顯示連接結果S33. . . Display connection result

第1圖本發明之系統示意圖;Figure 1 is a schematic view of the system of the present invention;

第2圖本發明之另一系統示意圖;Figure 2 is a schematic view of another system of the present invention;

第3圖係對應於第1圖與第3圖的流程示意圖。Fig. 3 is a schematic flow chart corresponding to Figs. 1 and 3.

S31...電子裝置11發送測試請求至存在於網際網路上的回應伺服器16,以測試電子裝置11能否將資料傳送至網際網路S31. . . The electronic device 11 sends a test request to the response server 16 existing on the Internet to test whether the electronic device 11 can transmit data to the Internet.

S32A...回應伺服器16接收該測試請求後,自動嘗試連接至電子裝置11以測試電子裝置11能否被連接S32A. . . After the response server 16 receives the test request, it automatically attempts to connect to the electronic device 11 to test whether the electronic device 11 can be connected.

S32B...回應伺服器16接收該測試請求後,透過存取動態域名伺服器17而連接至電子裝置11,以測試電子裝置11能否被連接S32B. . . After receiving the test request, the response server 16 connects to the electronic device 11 by accessing the dynamic domain name server 17 to test whether the electronic device 11 can be connected.

S33...顯示連接結果S33. . . Display connection result

Claims (28)

一種網路連接測試方法,其包括步驟:透過一網路而互連一多媒體影音串流裝置、一數據機、一第一伺服器與一第二伺服器,該數據機具有一實體IP位址,該多媒體影音串流裝置具有一獨特ID,該實體IP位址與該獨特ID之間存有一對應關係;將該對應關係儲存於該第一伺服器;從該多媒體影音串流裝置發送含有該獨特ID的一測試請求至該第二伺服器;以及該第二伺服器接收該測試請求,並存取儲存於該第一伺服器上的該對應關係而獲得該實體IP位址以連接該多媒體影音串流裝置,從而確定該多媒體影音串流裝置是否能夠與該網路連接。 A network connection testing method includes the steps of: interconnecting a multimedia video streaming device, a data machine, a first server, and a second server through a network, the data machine having a physical IP address The multimedia video streaming device has a unique ID, and a correspondence between the physical IP address and the unique ID is stored; the correspondence is stored in the first server; and the multimedia video stream device is sent from the multimedia video stream device. a test request of the unique ID to the second server; and the second server receiving the test request and accessing the correspondence stored on the first server to obtain the physical IP address to connect the multimedia The video streaming device determines whether the multimedia video streaming device can be connected to the network. 如申請範圍第1項所述的網路連接測試方法,其中該網路包含一內部網路與一網際網路。 The network connection test method of claim 1, wherein the network comprises an internal network and an internet. 如申請範圍第2項所述的網路連接測試方法,其中該第一伺服器與該第二伺服器係配置於該網際網路。 The network connection test method of claim 2, wherein the first server and the second server are configured on the internet. 如申請範圍第2項所述的網路連接測試方法,其中該多媒體影音串流裝置係配置於該內部網路。 The network connection test method of claim 2, wherein the multimedia video streaming device is configured on the internal network. 如申請範圍第1項所述的網路連接測試方法,其中該第一伺服器與該第二伺服器的IP位址為靜態實體IP位址。 The network connection test method of claim 1, wherein the IP address of the first server and the second server is a static entity IP address. 如申請範圍第1項所述的網路連接測試方法,其中該多媒體影 音串流裝置更透過一路由器而連接至該數據機而具有一虛擬IP位址。 The network connection test method described in claim 1, wherein the multimedia image is The audio stream device is connected to the data machine through a router and has a virtual IP address. 如申請範圍第6項所述的網路連接測試方法,其中該對應關係更包含將該實體IP位址對應至該虛擬IP位址所需要的一連接埠。 The network connection test method of claim 6, wherein the correspondence further comprises a connection port required to correspond the physical IP address to the virtual IP address. 如申請範圍第1項或第7項中任一項所述的網路連接測試方法,其中該多媒體影音串流裝置每隔一定時間向該數據機查詢該實體IP位址,若該實體IP位址有變更則重複將該對應關係儲存於該第一伺服器以更新儲存於該第一伺服器的該對應關係。 The network connection test method according to any one of the preceding claims, wherein the multimedia video streaming device queries the data machine for the physical IP address at a certain time, if the physical IP address If the address is changed, the correspondence is repeatedly stored in the first server to update the correspondence stored in the first server. 如申請範圍第1項所述的網路連接測試方法,其中該多媒體影音串流裝置是一電腦裝置。 The network connection test method of claim 1, wherein the multimedia video streaming device is a computer device. 如申請範圍第1項所述的網路連接測試方法,其中該多媒體影音串流裝置是一具內嵌系統的裝置。 The network connection test method of claim 1, wherein the multimedia video streaming device is a device with an embedded system. 一種網路連接測試方法,其包括步驟:透過一網路而互連一多媒體影音串流裝置、一數據機、與一伺服器,該多媒體影音串流裝置具有一靜態實體IP位址;從該多媒體影音串流裝置發送一測試請求至該伺服器;以及該伺服器接收該測試請求,並自動連接該多媒體影音串流裝置,從而確定該多媒體影音串流裝置是否能夠與該網路連接。 A network connection testing method includes the steps of: interconnecting a multimedia video streaming device, a data machine, and a server through a network, the multimedia video streaming device having a static physical IP address; The multimedia video streaming device sends a test request to the server; and the server receives the test request and automatically connects the multimedia video streaming device to determine whether the multimedia video streaming device can be connected to the network. 如申請範圍第11項所述的網路連接測試方法,其中該伺服器的IP位址為靜態實體IP位址。 The network connection test method of claim 11, wherein the IP address of the server is a static entity IP address. 如申請範圍第11項所述的網路連接測試方法,其中該多媒體 影音串流裝置是一電腦裝置。 The network connection test method as described in claim 11, wherein the multimedia The video streaming device is a computer device. 如申請範圍第11項所述的網路連接測試方法,其中該多媒體影音串流裝置是一具內嵌系統的裝置。 The network connection test method of claim 11, wherein the multimedia video streaming device is a device with an embedded system. 一種網路連接測試系統,包含:一數據機,其具有一實體IP位址;一多媒體影音串流裝置,其具有一獨特ID;一第一伺服器,用以儲存該獨特ID與該實體IP位址間的一對應關係;一第二伺服器,用以接收含有的該獨特ID的一測試請求,並存取該第一伺服器上的該對應關係而獲得該實體IP位址以連接該多媒體影音串流裝置;以及其中該多媒體影音串流裝置、該數據機、該第一伺服器與該第二伺服器透過一網路互連。 A network connection test system includes: a data machine having a physical IP address; a multimedia video streaming device having a unique ID; a first server for storing the unique ID and the physical IP a correspondence between the addresses; a second server, configured to receive a test request containing the unique ID, and access the corresponding relationship on the first server to obtain the physical IP address to connect to the a multimedia video streaming device; and wherein the multimedia video streaming device, the data server, the first server, and the second server are interconnected through a network. 如申請範圍第15項的網路連接測試系統,其中該網路包含一內部網路與一網際網路。 For example, the network connection test system of claim 15 wherein the network includes an internal network and an internet. 如申請範圍第16項的網路連接測試系統,其中該第一伺服器與該第二伺服器係配置於該網際網路。 The network connection test system of claim 16, wherein the first server and the second server are configured on the internet. 如申請範圍第16項的網路連接測試系統,其中該多媒體影音串流裝置係配置於該內部網路。 The network connection test system of claim 16, wherein the multimedia video streaming device is configured on the internal network. 如申請範圍第15項的網路連接測試系統,其中該第一伺服器與該第二伺服器的IP位址為靜態實體IP位址。 The network connection test system of claim 15, wherein the IP address of the first server and the second server is a static entity IP address. 如申請範圍第15項的網路連接測試系統,其中該多媒體影音串流裝置更透過一路由器而連接至該數據機而具有一虛擬IP位址。 The network connection test system of claim 15, wherein the multimedia video streaming device is connected to the data machine through a router and has a virtual IP address. 如申請範圍第20項的網路連接測試系統,其中該對應關係更包含將該實體IP位址對應至該虛擬IP位址所需要的一連接埠。 The network connection test system of claim 20, wherein the correspondence further comprises a connection port required to correspond the physical IP address to the virtual IP address. 如申請範圍第15項或第21項中任一項的網路連接測試系統,其中該多媒體影音串流裝置每隔一固定時間向該數據機詢問該實體IP位址,若該實體IP位址有變更則更新該對應關係並傳送至該第一伺服器。 The network connection test system of any one of clauses 15 or 21, wherein the multimedia video streaming device queries the data machine for the physical IP address every fixed time, if the physical IP address If there is a change, the correspondence is updated and transmitted to the first server. 如申請範圍第15項的網路連接測試系統,其中該其中該多媒體影音串流裝置是一電腦裝置。 The network connection test system of claim 15, wherein the multimedia video streaming device is a computer device. 如申請範圍第15項的網路連接測試系統,其中該其中該多媒體影音串流裝置是一具內嵌系統的裝置。 The network connection test system of claim 15, wherein the multimedia video streaming device is a device with an embedded system. 一種網路連接測試系統,包含:一數據機;一多媒體影音串流裝置,其具有一靜態實體IP位址;一伺服器,用以接收一測試請求,並連接該多媒體影音串流裝置;以及其中該多媒體影音串流裝置、該數據機、該伺服器透過一網路互連。 A network connection test system, comprising: a data machine; a multimedia video streaming device having a static physical IP address; a server for receiving a test request and connecting the multimedia video streaming device; The multimedia video streaming device, the data machine, and the server are interconnected through a network. 如申請範圍第25項的網路連接測試系統,其中該伺服器的IP 位址為靜態實體IP位址。 For example, the network connection test system of the scope of application 25, wherein the server IP The address is a static entity IP address. 如申請範圍第25項的網路連接測試系統,其中該多媒體影音串流裝置是一電腦裝置。 The network connection test system of claim 25, wherein the multimedia video streaming device is a computer device. 如申請範圍第25項的網路連接測試系統,其中該多媒體影音串流裝置是一具內嵌系統的裝置。The network connection test system of claim 25, wherein the multimedia video streaming device is a device with an embedded system.
TW98126120A 2009-08-03 2009-08-03 Method and system testing internet connection TWI406533B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW98126120A TWI406533B (en) 2009-08-03 2009-08-03 Method and system testing internet connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW98126120A TWI406533B (en) 2009-08-03 2009-08-03 Method and system testing internet connection

Publications (2)

Publication Number Publication Date
TW201106656A TW201106656A (en) 2011-02-16
TWI406533B true TWI406533B (en) 2013-08-21

Family

ID=44814412

Family Applications (1)

Application Number Title Priority Date Filing Date
TW98126120A TWI406533B (en) 2009-08-03 2009-08-03 Method and system testing internet connection

Country Status (1)

Country Link
TW (1) TWI406533B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI779766B (en) * 2021-08-10 2022-10-01 瑞昱半導體股份有限公司 Automated method for testing video equipment and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200725263A (en) * 2005-12-23 2007-07-01 Hon Hai Prec Ind Co Ltd Multimedia device testing system and method for the same
TW200901675A (en) * 2007-06-21 2009-01-01 Arcadyan Technology Corp Identifying method for network device
TW200904033A (en) * 2007-07-04 2009-01-16 Nec Corp Network apparatus test system and network apparatus test method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200725263A (en) * 2005-12-23 2007-07-01 Hon Hai Prec Ind Co Ltd Multimedia device testing system and method for the same
TW200901675A (en) * 2007-06-21 2009-01-01 Arcadyan Technology Corp Identifying method for network device
TW200904033A (en) * 2007-07-04 2009-01-16 Nec Corp Network apparatus test system and network apparatus test method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
實體IP地址及虛擬IP地址之基本觀念,27 Feb 2009 http://210.70.179.219/~srtsai/tcpip/more/nat/ *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI779766B (en) * 2021-08-10 2022-10-01 瑞昱半導體股份有限公司 Automated method for testing video equipment and system

Also Published As

Publication number Publication date
TW201106656A (en) 2011-02-16

Similar Documents

Publication Publication Date Title
US11750412B2 (en) System and method for providing network support services and premises gateway support infrastructure
TWI274491B (en) Network interconnection apparatus, network interconnection method, name resolution apparatus and computer program
CN102025792B (en) Router and IP address setting method thereof
US20070011301A1 (en) Provisioning relay and re-direction server for service implementation on generic customer premises equipment
WO2008128480A1 (en) A device, system and method for automatically configuring application terminals in home network
WO2006116925A1 (en) A method for distributing the service according to the type of the terminal
CN101282232A (en) Remote equipment management method, equipment and system
WO2008019624A1 (en) Method and system for implementing configuration management of devices in network
WO2010025670A1 (en) Address reporting method and apparatus, connection establishing method and apparatus, and communication system
CN104509072A (en) Method and apparatus for configuring dhcp client
CN101188628B (en) Method, system, network device for distributing service information
CN102957728B (en) Management session establishment method, customer-premises equipment and automatic configuration server
CN101325587A (en) A DHCP session monitoring method
CN104584514B (en) Apparatus and method for providing services in a communication network
TWI406533B (en) Method and system testing internet connection
CN101453396A (en) Method and system for multiple service provider device management
CN103346899A (en) Network terminal equipment managing method, network terminal equipment managing device and network terminal equipment managing system
CN101409703B (en) Method for discovering network middle/remote terminal server by terminal equipment

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees