200934171 wf.doc/n 九、發明說明: 【發明所屬之技術領域】 本發明是有關於一種網域名稱的設定程序,且特別是 有關於一種利用内建身份識別資料,以設定網域名稱的方 法、系統及其網路裝置。 【先前技術】 © 隨著網際網路高度的發展’大幅提昇了網路通訊的服 務。在網際網路的世界中,每一台主機的網際網路協定 (Internet Protocol,IP )位址都是唯一的,以確保資料能夠 送到唯一的目的端。然而,在某些特定狀況之下,電腦系 統需要有一個固定的IP位址,才能夠讓其他使用者與其進 行聯絡。例如,在架設檔案傳輸協定(File Transfer Pr〇t〇c〇1, FTP)時’若是電腦系統沒有固定π>位址,其他使用者便 無法順利連接至上述電腦系統。 ^ 據此,負責提供動態網域名稱系統(Dynamic DNS, DNS = Domain Name System )服務的公司便如雨後春筍般 的出現。使用者先向動態DNS服務的提供者申請一個網域 名稱。之後,再到動態DNS服務的提供者的網頁,或是使 用客戶端軟體來設定電腦系統的IP位址。如此一來,他人 不需知道電腦系統的IP位址,便可以透過網域名稱連接到 使用者的電腦系統。 然而,對於一般使用者而言,自行上網申請以及設定 動態DNS服務並非易事。雖然目前有廠商預先大量申請動 5 wf.doc/n 200934171 態DNS服務的帳號,並將這些帳號附在網路裝置的包if 内。但是,仍然無法避免使用者需要輸入帳號與密碼,以 及保存帳號密碼的麻煩。 【發明内容】200934171 wf.doc/n IX. Description of the invention: [Technical field to which the invention pertains] The present invention relates to a procedure for setting a domain name, and in particular to a method for setting a domain name by using built-in identification data. Method, system and network device thereof. [Prior Art] © With the rapid development of the Internet, the service of network communication has been greatly enhanced. In the world of the Internet, each host's Internet Protocol (IP) address is unique to ensure that data is sent to a unique destination. However, under certain circumstances, the computer system needs to have a fixed IP address in order for other users to contact it. For example, when the file transfer protocol (File Transfer Pr〇t〇c〇1, FTP) is set up, if the computer system does not have a fixed π> address, other users cannot connect to the above computer system smoothly. ^ According to this, companies responsible for providing Dynamic DNS (DNS = Domain Name System) services have sprung up. The user first requests a domain name from the provider of the dynamic DNS service. Then, go to the web page of the provider of the dynamic DNS service, or use the client software to set the IP address of the computer system. In this way, the other person does not need to know the IP address of the computer system, and can connect to the user's computer system through the domain name. However, for the average user, it is not easy to apply online and set up a dynamic DNS service. Although there are currently a large number of pre-applications for the 5 wf.doc/n 200934171 DNS service account, these accounts are attached to the network device package if. However, it is still inevitable that users need to enter an account number and password, as well as the trouble of saving the account password. [Summary of the Invention]
❹ 有鑑於此,本發明提供一種設定網域名稱的方法,使 用者只需輸入網域名稱,不需鍵入帳號密碼,即可快速將 網域名稱註冊至伺服端裝置。 本發明提供一種設定網域名稱的系統及網路製置,在 網路裝置生產時給予一組身份識別資料,並建置自有的動 態網域名稱系統服務,更搭配一個安裝在網路裝置的客戶 端應用模組,不只有效簡化安裝與設定流程,也減少保存 帳號密碼卡的麻煩。 本發明提出一種設定網域名稱的方法,適用於内建一 身份識別資料的一網路裝置與存該身份識別資料於一後端 資料庫。首先,接收網域名稱到網路裝置,並使網路裝置 傳送設定資料至伺服端裝置,而設定資料包括網域名 身份識別資料以及網路裝置所提供的Ip位址。接著,依據 設定資料’伺服喊置自後端資料庫查詢身份識別資^, 以驗證網職置。最後,在網路裝置驗證無誤之後 端裝置便將網域名稱映射至IP位址。 在本發明之一實施例中,接收網域名稱到網路褒置, 並使網路裝置傳奴定資料至伺服端裝置的步驟, 自網路裝置_存單元取出身份識別資料1著,依據身 200934171 wf.doc/n 份識別資料,網路裝置計算出第一驗證碼。之後,網路裝 置將第-驗證碼、峨;g稱、Ip位址以及身份識別資料中 的裝置辨識碼傳送至伺服端裝置。 在本發明之一實施例中,依據設定資料,伺服端裝置 自後端資鄉查财份朗資料,⑽證祕裝置的步 驟’首先’依據裝置辨識石馬,祠服端裝置自後端資料庫取 出身,識別資料。之後,再依據身份識別資料,伺服端裝 〇 置計算出第二驗證碼,以判斷第一驗證碼與第二驗證碼是 否相同。若兩者相同,判定網路裝置驗證無誤。 在本發明之-實施例中,上述網域名稱與其所映射的 ip位址記錄於伺服端裝置内的映射表中。上述在網路裝置 驗證無誤之後,若設定資料包括設定名稱要求,伺服端裝 置將檢查映射表是否存在網域名稱。當網域名稱尚未存在 映射表時,將網域名稱與IP位址記錄至映射表。另外,若 設定資料包括更新位址要求,伺服端裝置將檢查映射表是 否存在網域名稱。當網域名稱存在映射表時,更新映射表, ^ 以使網域名稱映射至設定資料所载送的另一 IP位址。 本發明提出一種設定網域名稱的系統,包括網路裝 置、後端資料庫以及伺服端裝置。網路裝置内建身份識別 資料,是用來接收網域名稱後,傳送設定資料,設定資料 包括網域名稱、身份識別資料以及網路裝置所提供的Ip位 址。後端資料庫用以儲存身份識別資料。伺服端装置藉由 網際網路與網路裝置耦接,其是用來接收設定資^^依 據設定資料,自後端資料庫查詢身份識別資料,以驗證網 7 twf.doc/n 200934171 路裝置’並在網崎置驗證無树,將_名稱映射至正 位址。 在本發明之-實施例中’上述網路農置包括儲存單元 以及客戶端應用模組。儲存單元用以儲存身份識別資料。 客戶端模_以自儲存單元取出身份識職料,並依 據身份識別資料,計算出第-驗證碼,並將第一驗證碼、 網域名稱、IP位址以及身份識別資料中的裝置辨識碼傳送 © 至伺服端裝置。而客戶端應用模組更可提供一使用者介 面’以供使用者來輸入網域名稱。 在本發明之一實施例中,上述伺服端裝置包括驗證模 組、映射模組以及映射表。驗證模組是依據設定資料,自 後端資料庫查詢身份識別資料,來計算出第二驗證碼,以 在第二驗證碼與設定資料中的第一驗證碼相同時,判定網 路裝置驗證無誤。映射模組用來將網域名稱映射至IP位 址,並S己錄網域名稱與IP位址。而映射模組更包括檢查飼 φ 服j^裝置疋否存在網域名稱。映射表是用來記錄網域名稱 與其所映射的IP位址。 本發明提出一種網路裝置,包括儲存單元以及客戶端 應用模組。其中,儲存單元用來儲存身份識別資料。客戶 端應用模組是用來自儲存單元取出身份識別資料,並將身 份識別資料、網域名稱、以及IP位址傳送至伺服端裝置, 以在飼服端裝置依據身份識別資料進行驗證無誤之後,伺 服端裝置將網域名稱映射至IP位址。 在本發明之一實施例中,上述客戶端應用模組更包括 200934171 wf.doc/n 提供使用者介面,以挺使用者輸入網域名稱。而客戶端廉 用模組更包括依據身份識別資料,計算出第一驗證碼,^ 將第一驗證碼、網域名稱、IP位址以及身份識別資料中的 裝置辨識碼傳送至伺服端裝置’使伺服端裝置依據裴置辨 識碼自後端資料庫中查詢身份識別資料來驗證網路裝置。 本發明在網路裝置生產時,便在其内部設置—組身产 識別資料,同時並將身份識別資料儲存至後端資料庫中: © 據此,便可利用網路裝置所内建的身份識別資料來驗證網 路袈置,而不使用帳號密碼來進行驗證,因此不需事先至 伺服端裝置中註冊一組辨識用的帳號密碼,在使 快速及方便。 為讓本發明之上述特徵和優點能更明顯易懂,下文特 舉較佳實施例,並配合所附圖式,作詳細說明如下。、 【實施方式】 〇 一般要申請動態DNS服務,使用者必需先自行到服 ,提供者所架設的網頁申請一組帳號密碼,之後再以此帳 號密碼登入伺服端裝置,如此繁複的操作手續對一般使 用者而言是相當不易的。因此,本發明提出—種設定網域 名稱的方法、系統及其網路裝置,以簡化操作手續。為了 =本發明之内谷更為明瞭’以下轉實施例作為本發明確 實能夠據以實施的範例。 差·Ζ:實施例 圖1疋依.、、、本發明第一實施例所繪示的設定網域名稱 200934171 wfdoc/n 的土統方塊圖。請參照圖1,此系統包括一個内建身份識 ,貝料111的網路裝置110、伺服端裝置12〇以及後端資 料庫130。其中,網路裝置110是透過網際網路140耦接 至伺服端襞置120以進行溝通。在本實施例中,網路裝置 1 〇例如為網際網路協定(Internet Protocol, IP )位址分享 器’而伺服端裝置120例如為動態網域名稱系統(Dynamic DNS,DNS= Domain Name System )伺服器。 ❹ 網路I置11G帛於接收纟肖域名稱,並將設定資料傳送 至祠服端裝置120。上述設定資料是用來使網域名稱映射 ^網路裝置UG所提供的IP位址,而設定資料包括網域名 稱、身份識別資料以及網路裝置n〇所提供的正位址。 饲服裝置120是藉由網際網路丨4〇與網路裝置no 耦接用以接收设定資料,並依據設定資料,自後端資料 庫13〇查詢身份識別資料’以驗證網路裝置110,並在網 路裝置110驗證無誤時,將網域名稱映射至網路裝置H〇 的IP位址。 〇 次後端資料庫130是用以儲存網路裝置11〇的身份識別 貝料,以供伺服端裝置12〇進行網路裝置11〇的驗證動作。 ,例來說’當網路震置11〇在生產階段時,可由一產線測 $程式給予網路裝置11()—組身份識別資料,例如為媒體 子取控制(Media Access Control,MAC)位址以及個人識 別碼(Personal Identification Number,PIN)等,並將身份 識別資料内建於網路裝置11〇中。同時,產線測試程式亦 將網路裝置11〇的身分識別資料儲存至後端資料庫13〇, wf.doc/n 200934171 以供伺服端裝置120進行查詢。 值得注意的是,在本實施例中,後端資料庫130是設 置於伺服端裝置120之外。然而,在其他實施例中,後端 資料庫130亦可設置於伺服端裝置12〇中,可視實際情況 來決定,在此並不限制。 以下即搭配上述設定網域名稱的系統來詳細說明設 疋網域名稱的方法各步驟。圖2是依照本發明第一實施例 Ο 所緣示的设定網域名稱的方法流程圖。請同時參照圖1及 圖2,首先,在步驟S205中,提供内建身份識別資料nl 的網路裝置110。在工廠生產網路裝置110時,可藉由產 線測試程式亂數產生身份識別資料,並將身份識別資料儲 存至網路裝置11〇内。之後,在步驟S21〇中,產線測試 程式再將身份識別資料儲存至後端資料庫13〇中。 接著,在步驟S215中,由網路裝置ι10接收一網域 名稱’並將設定資料傳送至伺服端裝置12〇。換言之,使 ❹ 用者可透過網路裝置110來輸入一個網域名稱,而透過網 路裝置110便可將網域名稱、身份識別資料lu以及圯位 址封裝為封包,並傳送至伺服端裝置12〇。 之後,如步驟S220所示,伺服端裝置12〇便依據封 I中的。又疋貧料,自後端資料庫130查詢是否存在網路裝 置110内建的身份識別資料111,以驗證網路裝置11()是 否有效。也就是說,透過自後端資料庫130查詢身份識別 資料的動作,來驗證網路裝置110是否有使用伺服端裝120 來設定網域名稱的權限。最後,在步驟S250中,當網路 11 wf.doc/n 200934171 裝置110驗證無誤之後,伺服端裝置120便將網域名稱映 射至網路裝置110的IP位址。 、 綜上所述,在上述實施例中,使用者只要透過網路裝 置110傳送網域名稱至伺服端裝置12〇進行註冊,例^ user.asuscomm.com” ’ 便能使用 “user.asuscomm.com”來進 行網站架設等功能。之後,他人即可藉由 “user.asuscomm.com”連接至網路裝置110,再透過網路裝 ❹ 置110連接至架設網站的主機,使用上相當方便。 第二實施例 /圖3疋依照本發明第二實施例所纷示的設定網域名稱 的系統方塊圖。請參照圖3’此系統包括網路裝置31〇、 服端裝置320以及後端資料庫33〇。其中,網路裝置训 是透過網際網路340耦接至伺服端裝置32〇以進行溝 網路裳置3H)包括儲存單元311、客戶端應用模㈣3 〇 介:二储存單元3U是用來齡内建的身 伤識別貝科。使用者介面315供使用者來輸入網域 並且,當網路裝置310欲登入祠服端裝置32〇日夺,透過 戶端應用模組阳自儲存單元su取出身份識別 =身資料、網域名稱、以及網路裝置31〇的; 傳送至伺服端裝置320。 及j =裝置320 Ϊ括驗證模組321、映射模組323以 及映射表(mappmgtable) 325。驗證模έ 裝置310所傳逆㈣定純模、、且321疋依據網路 ㈣送的°又疋貪枓’❿自後端資料庫330查詢身 12 .wf.doc/n 200934171 份識別資料,以驗證網路裝置31〇。映射模组幻3是用來 將網域名稱映射至IP位址,並將網域名稱與迮位址記錄 至映射表325中。 β 、 ❹In view of this, the present invention provides a method for setting a domain name. The user only needs to input the domain name, and can quickly register the domain name to the server device without inputting the account password. The invention provides a system for setting a domain name and a network system, and provides a set of identification data when the network device is produced, and builds a self-owned dynamic domain name system service, and is further equipped with a network device installed. The client application module not only simplifies the installation and setting process, but also reduces the trouble of saving the account password card. The invention provides a method for setting a domain name, which is suitable for a network device in which an identity data is built and stores the identity data in a back-end database. First, the domain name is received to the network device, and the network device transmits the setting data to the server device, and the setting data includes the network domain name identification data and the IP address provided by the network device. Then, according to the setting data, the server prompts the identity data from the back-end database to verify the network position. Finally, the network device maps the domain name to the IP address after the network device is verified. In an embodiment of the present invention, the step of receiving the domain name to the network device and causing the network device to transmit the slave data to the server device, and extracting the identity data from the network device_storage unit, according to In 200934171 wf.doc/n identification data, the network device calculates the first verification code. Thereafter, the network device transmits the first verification code, the 称; g, the Ip address, and the device identification code in the identification data to the server device. In an embodiment of the present invention, according to the setting data, the server device checks the wealth information from the back-end capital, and (10) the step of the certificate device is 'first' based on the device identification stone horse, the service device device from the back-end data The library takes out the body and identifies the data. Then, based on the identification data, the server device calculates a second verification code to determine whether the first verification code and the second verification code are the same. If the two are the same, it is determined that the network device is verified correctly. In the embodiment of the present invention, the domain name and the mapped ip address are recorded in a mapping table in the server device. After the network device is verified to be correct, if the setting data includes the setting name requirement, the server device checks whether the mapping table has the domain name. When the mapping table does not exist in the domain name, the domain name and IP address are recorded to the mapping table. In addition, if the setting data includes the update address requirement, the server device will check whether the mapping table has a domain name. When the domain name exists in the mapping table, update the mapping table, ^ to map the domain name to another IP address carried in the setting data. The present invention proposes a system for setting a domain name, including a network device, a backend database, and a server device. The built-in identification data of the network device is used to receive the domain name and transmit the setting data, and the setting data includes the domain name, the identification data, and the IP address provided by the network device. The backend database is used to store identification data. The server device is coupled to the network device by the Internet, and is configured to receive the setting data according to the setting data, and query the identification data from the back-end database to verify the network device twf.doc/n 200934171 device 'And in the network, the verification is no tree, the _ name is mapped to the positive address. In the embodiment of the present invention, the network farm includes a storage unit and a client application module. The storage unit is used to store identification data. The client module takes the identity information from the storage unit and calculates the first verification code based on the identification data, and the first verification code, the domain name, the IP address, and the device identification code in the identification data. Transfer © to the server device. The client application module can further provide a user interface for the user to enter the domain name. In an embodiment of the invention, the server device includes a verification module, a mapping module, and a mapping table. The verification module calculates the second verification code according to the setting data, and queries the identification data from the back-end database to determine that the network device is verified correctly when the second verification code is the same as the first verification code in the setting data. . The mapping module is used to map the domain name to the IP address, and the domain name and IP address are recorded. The mapping module further includes checking the presence of the domain name. The mapping table is used to record the domain name and the IP address it is mapped to. The invention provides a network device, comprising a storage unit and a client application module. The storage unit is used to store identification data. The client application module extracts the identification data from the storage unit, and transmits the identification data, the domain name, and the IP address to the server device, so that after the feeding device is verified according to the identification data, The server device maps the domain name to an IP address. In an embodiment of the present invention, the client application module further includes a user interface for 200934171 wf.doc/n to input the domain name. The client low-cost module further includes calculating the first verification code according to the identification data, and transmitting the first verification code, the domain name, the IP address, and the device identification code in the identification data to the server device. The server device is configured to verify the network device by querying the identification data from the backend database according to the device identification code. When the network device is produced, the invention is provided with a set of identification data, and the identification data is stored in the back-end database: © According to this, the identity built into the network device can be utilized. The identification data is used to verify the network device without using the account password for verification. Therefore, it is not necessary to register a set of identification account passwords in advance to the server device, which is quick and convenient. The above described features and advantages of the present invention will become more apparent from the following description. [Embodiment] 〇 Generally, you must apply for a dynamic DNS service. Users must first apply for the service. The web page set up by the provider applies for a set of account passwords, and then logs in to the server device with this account password. This complicated operation procedure is correct. It is quite difficult for the average user. Accordingly, the present invention proposes a method, system and network device for setting a domain name to simplify operation procedures. In order to be more obvious to the present invention, the following embodiments are taken as examples in which the present invention can be implemented.差 Ζ 实施 实施 实施 实施 实施 实施 实施 实施 实施 实施 实施 实施 实施 实施 实施 实施 实施 实施 实施 实施 实施 实施 实施 实施 实施 实施 实施 实施 实施 实施 实施 实施 实施 实施 实施 实施 实施 实施 实施 实施Referring to FIG. 1, the system includes a built-in identity, a network device 110, a server device 12, and a backend library 130. The network device 110 is coupled to the server device 120 via the Internet 140 for communication. In this embodiment, the network device 1 is, for example, an Internet Protocol (IP) address sharer, and the server device 120 is, for example, a Dynamic Domain Name System (Dynamic DNS, DNS= Domain Name System). server.网路 The network I is set to receive the domain name and transmit the setting data to the server device 120. The above setting data is used to map the domain name to the IP address provided by the network device UG, and the setting data includes the network domain name, the identification data, and the positive address provided by the network device. The feeding device 120 is coupled to the network device no via the Internet to receive the setting data, and queries the identification data from the backend database 13 to verify the network device 110 according to the setting data. And when the network device 110 verifies that the network domain name is correct, the domain name is mapped to the IP address of the network device H. The secondary backend database 130 is used to store the identification device of the network device 11 for the server device 12 to perform the verification operation of the network device 11〇. For example, when the network is set to 11 〇 during the production phase, the network device 11 () can be given a set of identification data, such as Media Access Control (MAC). The address and a Personal Identification Number (PIN), etc., and the identification information is built into the network device 11〇. At the same time, the production line test program also stores the identity identification data of the network device 11〇 to the backend database 13〇, wf.doc/n 200934171 for the server device 120 to query. It should be noted that in the embodiment, the backend database 130 is disposed outside the server device 120. However, in other embodiments, the backend database 130 may also be disposed in the server device 12, which may be determined according to actual conditions, and is not limited herein. The following is a detailed description of the steps for setting the domain name with the above system for setting the domain name. Figure 2 is a flow chart showing a method of setting a domain name in accordance with a first embodiment of the present invention. Referring to FIG. 1 and FIG. 2 simultaneously, first, in step S205, the network device 110 having the built-in identification data n1 is provided. When the network device 110 is produced at the factory, the identification data can be generated by the production test program and stored in the network device 11 . Thereafter, in step S21, the line test program stores the identification data in the backend database 13A. Next, in step S215, a domain name ' is received by the network device ι 10' and the setting data is transmitted to the server device 12A. In other words, the user can input a domain name through the network device 110, and the domain name, the identification data, and the address can be encapsulated into packets through the network device 110, and transmitted to the server device. 12〇. Thereafter, as shown in step S220, the server device 12 is based on the seal I. Further, the backend database 130 queries whether the identity information 111 built in the network device 110 exists to verify whether the network device 11() is valid. That is, the action of querying the identification data from the backend database 130 is used to verify whether the network device 110 has the authority to set the domain name using the server device 120. Finally, in step S250, after the network 11 wf.doc/n 200934171 device 110 is verified to be correct, the server device 120 maps the domain name to the IP address of the network device 110. In summary, in the above embodiment, the user only needs to transmit the domain name to the server device 12 through the network device 110 to register, for example, user.asuscomm.com" ' can use "user.asuscomm." "com" to perform functions such as website erection. After that, others can connect to the network device 110 by "user.asuscomm.com", and then connect to the host of the erection website through the network device 110, which is quite convenient to use. The second embodiment/FIG. 3 is a system block diagram for setting a domain name according to a second embodiment of the present invention. Referring to FIG. 3, the system includes a network device 31, a server device 320, and a backend data. The library device is coupled to the server device 32 via the Internet 340 to perform the channel network hang 3H. The storage unit 311 and the client application module (4) 3: 2 storage unit 3U It is used to identify the internal injuries of the body. The user interface 315 is for the user to enter the domain and when the network device 310 wants to log in to the server device 32, through the terminal application module Storage unit su to take out identification = The data, the domain name, and the network device 31; are transmitted to the server device 320. And j = the device 320 includes a verification module 321, a mapping module 323, and a mapping table (mappmgtable) 325. The verification module 310 The transmitted reverse (four) fixed mode, and 321 疋 according to the network (four) sent ° and 疋 枓 '❿ from the back-end database 330 query body 12 .wf.doc / n 200934171 identification data to verify the network device 31. The mapping module Magic 3 is used to map the domain name to the IP address, and record the domain name and the address to the mapping table 325. β , ❹
馮了評細說明設定網域名稱的方法各步驟,以下便搭 配上述設定網域名稱的系統來說明。圖4Α、圖4β是依照 本發明第二實施例靖示的設定網域名稱的方法流程圖。 其中,圖4Α的流程為在網路裝置31〇所執行的各步驟, 圖4Β的流程為在伺服端裝置32〇所執行的各步驟。 首先,請參照圖3與圖4Α,在步驟料〇5中,由客戶 端應用模組313所提供的使用者介面315 =的網域名稱。接著,在步称S41。中來== =、、且二13會依射份朗資料,計算出第—驗證碼。換言 戶2用模、組313會自儲存單元311取出身份_ 客戶嫂^5十算出第一驗證碼。然後,如步驟S415所示, 及身=組313將第—驗證碼、網域名稱、IP位址以 2 料中的裝置辨識碼(例如,mac位址)等設 貝^封裝為封包,以傳送至伺服端I置320。 接考,清參照圖3與圖4B,如 服端裝置320中,驗證;^έ /、在σ 的刼^ ^ 模'、且321依據網路裝置310所傳送 二驗k端資料庫323取出身份識別資料,以計算第 識ί ί後,驗證模組321依據封包中的裝置辨 而=二識I:計算出第二驗證碼。 异弟一驗證碼的方法,與網路 13 wf.doc/n 200934171 裝置310中用來sf鼻第一驗證碼的方法相同。 之後’在步驟S430中,驗證模組321判斷第一驗證 碼與第二驗證碼是軸同。若储不仙,附仪網路裝 置310驗證失敗,執行步驟S435,由伺服端裝置32〇將裝 驗證失敗回應傳送回網路裝置31〇 ;反之, 則判定網路裝置3丨。驗證無誤,往下執行步驟⑽。/ ’Feng commented on the steps of the method of setting the domain name. The following is a description of the system for setting the domain name. 4A and 4B are flowcharts showing a method of setting a domain name according to a second embodiment of the present invention. The flow of FIG. 4A is the steps executed by the network device 31, and the flow of FIG. 4A is the steps executed by the server device 32. First, please refer to FIG. 3 and FIG. 4B. In step 5, the domain name of the user interface 315= provided by the client application module 313. Next, at step S41. Zhonglai == =, and 2 13 will calculate the first verification code according to the projection data. In other words, the user 2 module and the group 313 will retrieve the identity from the storage unit 311. The client 嫂^5 calculates the first verification code. Then, as shown in step S415, the body=group 313 encapsulates the first verification code, the domain name, and the IP address with the device identification code (for example, the mac address) in the packet, as a packet. Transfer to the servo terminal I set 320. Referring to FIG. 3 and FIG. 4B, for example, in the server device 320, the verification is performed; ^ έ /, in the σ ^ ^ ^ module ', and 321 is taken according to the second-inspection k-end database 323 transmitted by the network device 310 After the identification data is calculated, the verification module 321 determines the second verification code according to the device in the packet. The method of verifying the code is the same as the method used in the network 13 wf.doc/n 200934171 device 310 for the sf nose first verification code. Thereafter, in step S430, the verification module 321 determines that the first verification code and the second verification code are in the same axis. If the storage is not successful, the instrument network device 310 fails to verify, and in step S435, the server device 32 transmits the verification failure response back to the network device 31; otherwise, the network device 3 is determined. If the verification is correct, go to step (10). / ’
Ο 在步驟S44〇中,映射模組323會判斷封包愤 料所載送的為設定名稱要求或是更新位址要求。若設定次 料所載送為設定名稱要求,執行步驟S445 ;若設定資料^ 載送為更新位址要求,執行步驟S465。 , _當設定資料所載送為設定名稱要求時,如步驟以45 所不’映射模組323檢查映射表325中是否存在網路裝置 训所傳送的網域名稱。若映射表32S *存在此網域名稱, 即表示尚未被其他使用者所註冊使用,因此,如步驟s45〇 所示映射模組323便將網域名稱與網路裝置的正位 址記錄至映射表325,使得網域名稱與Ip位址為互相映 射,並傳送註冊成功回應至:網路裝置31〇。 另一方面,若映射表325中已存在此網域名稱,則如 步驟S455所示,映射模組323將判斷此一網域名稱是否 ,其他網路裝置所使用。也就是說,即是判斷網路裝置310 疋否欲重新注冊其網域名稱。若封包所載送的網域名稱已 被其他網路裝置所使用,則執行步驟S460,由伺服端裝置 320將—註冊失敗回應傳送回網路裝置31〇。 反之,若封包所載送的網域名稱為網路裝置31〇先前 14 200934171 vf.doc/n 所設定之,則執行步驟S450。映射模組323將封包所載送 的網域名稱與網路裝置310的IP位址記錄至映射表325, 使得網域名稱與正位址為互相映射。也就是說,映射模組 323以封包中的網域名稱取代映射表325的網域名稱,以 重新設定網域名稱。 士回到步驟S440,當設定資料所載送為更新位址要求Ο In step S44, the mapping module 323 determines whether the packet spoofing is sent as a set name request or an update address request. If the set feed is set as the set name request, step S445 is performed; if the set data ^ is carried as the update address request, step S465 is performed. , _ When the setting data is sent as the setting name requirement, if the step is not 45, the mapping module 323 checks whether the domain name transmitted by the network device training exists in the mapping table 325. If the mapping table 32S* has the domain name, that is, it has not been registered by other users, the mapping module 323 records the domain name and the positive address of the network device to the mapping as shown in step s45. Table 325, such that the domain name and the IP address are mapped to each other, and the registration success response is sent to: the network device 31. On the other hand, if the domain name already exists in the mapping table 325, the mapping module 323 determines whether the domain name is used by other network devices, as shown in step S455. That is to say, it is judged whether the network device 310 wants to re-register its domain name. If the domain name sent by the packet has been used by another network device, step S460 is executed, and the server device 320 transmits a registration failure response back to the network device 31. On the other hand, if the domain name of the network carried by the packet is referred to as the network device 31, which is set by the previous 14 200934171 vf.doc/n, then step S450 is performed. The mapping module 323 records the domain name carried by the packet and the IP address of the network device 310 to the mapping table 325 such that the domain name and the positive address are mapped to each other. That is, the mapping module 323 replaces the domain name of the mapping table 325 with the domain name in the packet to reset the domain name. Returning to step S440, when the setting data is sent as an update address request
^,在步驟S465中,映射模組323會檢查映射表325中 疋否存在網路裝置310所傳送的網域名稱。若映射表325 中已存在此網域名稱,即表示網路裝置31〇已事先註冊成 功。因此,執行步驟S47〇,由映射模組323來更新映射表 325二使得網路裝置31G先前設定的網域名稱得以映射至設 疋貝料所載送的另一個1P位址,並傳送一更新成功回應至 網路裝置310。相反地,若映射表325不存在此網域名稱, 3示網路農置⑽尚未註冊此網域名稱,則執行步驟 由飼服、裝置320將一更新失敗回應傳送回網路裝 置 310。 Μ最t回到^ 4A,當上述步驟S425〜S475執行完畢 ^倾S420中’網路裝置310會透過使用者介面 司服端裝置320所傳送的回應訊息,例如,驗 證失敗回應(如步嫌UK α , 吼 驟S450所干、 所不)、S冊成功回應(如步 ^ ”)、注冊失敗回應(如步驟S460所示)、更 步步驟_所示)以及更新失敗回應(如 丁、上所述,透過上述實施例的實施方式,使用者不需 200934171 wf.doc/n 自,申清帳號密碼’因而不用記憶帳號密碼,也不用擔心 帳,密觸遺失或遺忘。使用者只要輸人想要的網域名稱 即可’省去了煩雜的操作手續,既快速又省時,相當方便。 另外’由於網路裝置所傳送的封包中可以只載送裝置辨識 碼’使得祠服端裝置利用裝置辨識碼自後端資料庫中取得 其他對應的身份識別資料來驗證網路裝置。據此,更可有 效防止網路裝置被偽造。 ❹ —雖然本發明已以較佳實施例揭露如上,然其並非用以 限定本發明,任何所屬技術領域中具有通常知識者,在不 脫離本發明之精神和範圍内,當可作些許之更動與潤飾, 因此本發明之保護範圍當視後附之申請專利範圍所界定者 為準。 【圖式簡單說明】 圖1疋依照本發明第一實施例所緣示的設定網域名 的系統方塊圖。 圖2疋依照本發明第一實施例所繪示的設定網域名稱 的方法流程圖。 圖3疋依知本發明弟二實施例所綠示的設定網域名稱 的系統方塊圖。 圖4A、圖4B是依照本發明第二實施例所繪示的設定 網域名稱的方法流程圖。 【主要元件符號說明】 16 ^vf.doc/n 200934171 110、310 :網路裝置 111 :身份識別資料 120、320 :伺服端裝置 130、330 :後端資料庫 140、340 :網際網路^, in step S465, the mapping module 323 checks whether there is a domain name transmitted by the network device 310 in the mapping table 325. If the domain name already exists in the mapping table 325, it means that the network device 31 has been registered in advance. Therefore, step S47 is performed, and the mapping table 325 is updated by the mapping module 323 so that the domain name previously set by the network device 31G is mapped to another 1P address carried by the beacon, and an update is transmitted. Successfully responded to the network device 310. Conversely, if the domain name is not present in the mapping table 325, and the network farmer (10) has not registered the domain name, the execution step is transmitted by the feeding device and the device 320 to the network device 310. ΜTursing back to ^4A, when the above steps S425~S475 are performed, the response message sent by the network device 310 through the user interface server device 320 is detected, for example, the verification failure response (such as stepping UK α , Step S450 does not work, S successfully responds (such as step ^), registration failure response (as shown in step S460), step _ shown in step _), and update failure response (such as Ding, As described above, according to the embodiment of the above embodiment, the user does not need to use the 200934171 wf.doc/n self-requesting account password, so there is no need to memorize the account password, and there is no need to worry about the account, the secret touch is lost or forgotten. The domain name that people want can be 'eliminated complicated operation procedures, which is fast and time-saving, and quite convenient. In addition, 'because the packet transmitted by the network device can only carry the device identification code' The device uses the device identification code to obtain other corresponding identification data from the back-end database to verify the network device. Accordingly, the network device is more effectively prevented from being forged. ❹ - although the present invention has been a preferred embodiment The above disclosure is not intended to limit the present invention, and any one of ordinary skill in the art can make some modifications and refinements without departing from the spirit and scope of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS [FIG. 1] A block diagram of a system for setting a domain name according to a first embodiment of the present invention. FIG. 2 is a first embodiment of the present invention. The flowchart of the method for setting the domain name is shown in Fig. 3. Fig. 4 is a system block diagram showing the name of the domain defined by the embodiment of the second embodiment of the present invention. Fig. 4A and Fig. 4B are diagrams showing a second embodiment according to the present invention. A flow chart of a method for setting a domain name is shown. [Description of main component symbols] 16 ^vf.doc/n 200934171 110, 310: network device 111: identification data 120, 320: server devices 130, 330: Backend database 140, 340: Internet
311 :儲存單元 313 :客戶端應用模組 315 :使用者介面 321 :驗證模組 323 :映射模組 325 :映射表 S205〜S250 :本發明第一實施例的設定網域名稱的方 法各步驟 S405〜S475 :本發明第二實施例的設定網域名稱的方 法各步驟311: storage unit 313: client application module 315: user interface 321: verification module 323: mapping module 325: mapping table S205 to S250: method for setting a domain name according to the first embodiment of the present invention, step S405 ~S475: steps of the method for setting the domain name in the second embodiment of the present invention
1717