TWI362199B - - Google Patents

Download PDF

Info

Publication number
TWI362199B
TWI362199B TW97131644A TW97131644A TWI362199B TW I362199 B TWI362199 B TW I362199B TW 97131644 A TW97131644 A TW 97131644A TW 97131644 A TW97131644 A TW 97131644A TW I362199 B TWI362199 B TW I362199B
Authority
TW
Taiwan
Prior art keywords
network
network device
address
information
virtual
Prior art date
Application number
TW97131644A
Other languages
Chinese (zh)
Other versions
TW201010338A (en
Original Assignee
Davicom Semiconductor 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 Davicom Semiconductor Inc filed Critical Davicom Semiconductor Inc
Priority to TW97131644A priority Critical patent/TW201010338A/en
Publication of TW201010338A publication Critical patent/TW201010338A/en
Application granted granted Critical
Publication of TWI362199B publication Critical patent/TWI362199B/zh

Links

Landscapes

  • Small-Scale Networks (AREA)

Description

九、發明說明: 【發明所屬之技術領域】 本發明係關於一種網路通訊方法之設計,特別是關於一 種多裝置在不同子網路區段的通訊方法。 【先前技術】 網路彦品在不同的網路環境下,ip(lnternet pr〇t〇c〇1) 位址的設定’往往是廠商在推銷網路商品時的一大挑戰。 由於每一個網路產品,都需要一個IP位址,才能正常的運 乍在周路上’然而在IPv6尚未全面普及的現在,IP位址的 不足,導致使用者必須使用虛擬IP位址來達到眾多商品可 以同時在網路上正常運作。所謂的虛擬IP位址指的是只能 在内部區域網路中互相連線的IP位址,例如Class-B IP位 址(19^168.0*0 _ ^2.168.255.255)。對於設置商品的 IP 位 ^尺'肖費者的一大挑戰,而廠商在推銷時要教導消費者 變更IP位址更是一大挑戰。 在_知技術中,廠商一般會提供搜尋工具給消費者, 在出廠時予網路商品預設一組IP位址,令使用者透過 位址對網路商品進行設置或者控制。然而對應不同 的網路JS . 長見需要有不同的網路設定,如果消費者對於網路沒 有冰入的猫办 W九,這時候要去設定這些艱澀難懂的網路設定’ t開:之初就產生了排斥現象。 A叹有—網路裝置使用固定IP位址,其IP位址為 1362199 192.168.1.1、子網路遮罩(Subnet Mask)為 255 255 255 〇,而 使用者之電腦主機的ΙΡ位址為192.168·0.1〇〇、子網路遮罩 為255.255.255.0。這時使用者之電腦主機將無法與網路裝置 進行溝通。在網路裝置能被正常控制或設定前,使用者必須 手動調整電腦主機’使電腦主機與網路裝置處在同個子網路 區段下才可正常溝通。 假若網路裝置是透過動態主機配置協議(Dynamic H〇st Configuration Protoc〇b DHCP)方式來取得让位址並且 使用者的環境沒有能夠處理動態主機配置協議使用者端要 求的網路裝置時,該網路裝置則無法運作。若網路裝置運作 在Auto-IP(所謂Aut〇_Ip指的是網路裝置在固定時間内無法 獲得IP位址時,而自動產生一組IP位址,此lp位址稱為 Auto-IP)的網路區段内,則如同固定汗位址的情況一樣,而 ^此時更加無法確定IP位址,如果—沒有提彳共相關的搜 尋工具,使用者甚至會認為該網路裝置無法運作。 【發明内容】 本發明所欲解決之技術問題 鑒於以上所述,若網路裝置採用固定ιρ位址,當碰到 網路裝置本身所定義的網路區段與使用者目前的區:不相 同時’使用者需自行變更目前的IP位址,以配合網路裝置 的位址所在的區段而使用者要是對於網路相關設定 不夠熟悉’則會造成使用上的不便。 若網路裝置透過動態主機配置協議方式取得Ιρ位址,IX. INSTRUCTIONS: FIELD OF THE INVENTION The present invention relates to the design of a network communication method, and more particularly to a communication method for multiple devices in different sub-network segments. [Prior Art] In the different network environments, the setting of ip (internnet pr〇t〇c〇1) address is often a big challenge for vendors to promote online products. Since every network product needs an IP address, it can be normalized on the road. However, in the current IPv6 is not fully popular, the IP address is insufficient, resulting in users having to use virtual IP addresses to achieve numerous Products can operate on the network at the same time. The so-called virtual IP address refers to an IP address that can only be interconnected in the internal area network, such as the Class-B IP address (19^168.0*0 _ ^2.168.255.255). It is a big challenge for setting up the IP level of the product, and the manufacturer has to teach consumers to change the IP address when selling. In _ knowing technology, vendors generally provide search tools to consumers, and preset a set of IP addresses for network products at the factory, so that users can set or control network products through addresses. However, corresponding to different network JS. Long-term needs to have different network settings. If the consumer does not have ice-in-the-box for the network, then it is necessary to set these difficult and difficult network settings. At the beginning, there was a phenomenon of rejection. A sighs—the network device uses a fixed IP address with an IP address of 1362199 192.168.1.1 and a Subnet Mask of 255 255 255 〇, while the user's host computer has a 192.168 address. · 0.1〇〇, the subnet mask is 255.255.255.0. At this time, the user's computer host will not be able to communicate with the network device. Before the network device can be normally controlled or set, the user must manually adjust the host computer to make the computer host and the network device under the same subnet segment to communicate normally. If the network device obtains the address through the Dynamic Host Configuration Protocol (DHCP) method and the user's environment does not have the network device capable of processing the dynamic host configuration protocol user terminal requirements, The network device is not working. If the network device operates in Auto-IP (the so-called Aut〇_Ip refers to the network device can not obtain an IP address in a fixed time, and automatically generate a set of IP addresses, this lp address is called Auto-IP In the network segment, it is the same as the case of the fixed sweat address, and ^ is even more unable to determine the IP address. If the search tool is not raised, the user may even think that the network device cannot Operation. SUMMARY OF THE INVENTION The technical problem to be solved by the present invention is that, in view of the above, if the network device uses a fixed IP address, when the network segment defined by the network device itself is different from the current region of the user: When the user needs to change the current IP address to match the segment where the network device is located, and the user is not familiar with the network-related settings, it may cause inconvenience in use. If the network device obtains the 位ρ address through the dynamic host configuration protocol,

ί SJ 1362199 當使用者的網路環境中沒有能提供動態主機配置協議使用 者端要求的網路裝置(例如:IP Sharing商品)時,將導致網 路裝置無法取得IP位址或者改為採用Auto-IP模式。採用 Auto-IP模式會遭遇到和固定IP位址一樣的狀況,令使用者 必須再次變更自己的IP位址以配合網路裝置,造成使用上 的困難。 因此,本發明之目的即是提供一種多裝置在不同子網路 區段的通訊方法,用以令使用者正常的設定或控制處在不同 子網路區段之網路裝置。 本發明解決問題之技術手段 本發明為解決習知技術之問題所採用之技術手段係為 一種多裝置在不同子網路區段的通訊方法,係在一網路系統 中,一主控端欲與設定在不同網段的子網路中之網路裝置通 訊時,首先主控端透過一連結網路廣播一詢問訊息予各個子 網路中之網路裝置,再接收各個網路裝置回傳之網路裝置資 訊,再依據網路裝置資訊,建立一與選定之標的網路裝置同 一網段且未被使用之IP位址作為一虛擬IP位址,然後主控 端便經由虛擬IP位址與選定之標的網路裝置通訊。 在本發明之實施例中,主控端除了獨立經由連結網路連 結各個子網路之網路裝置之外,亦可從各個子網路中之至少 一網路裝置選定一個作為主控端。另外,主控端接收網路裝 置資訊後,會將網路裝置資訊儲存至資訊紀錄記憶體中,而 在下次欲與網路裝置通訊時,則先確認網路裝置資訊是否儲 [S .] 存在貢訊紀錄記憶體中。再者,主控端在接收網路裝置資訊 後更會先依據網路裝置資訊分析是否與網路裝置處在同一 網段之下。 本發明對照先前技術之功效 經由本發明所採用之技術手段,利用廣播之方式自動 偵測網路裝置的IP位址,再動態配置一個同一網段而未被 使用的Π>位址(虛擬IP)給主控端,進而使主控端與網路裝 置處在同一網段下工作,而得以正常的設定或控制網路裝 置。如此一來,可降低使用者操作的複雜度,使商品在使用 上更加人性化。消費者可以免除難澀難懂的網路設定;而商 銷售員也不必耗費大量的時間在教導消費者以及問題的 釐清上,減少商品推展的困難度。 本發明所採用的具體實施例,將藉由以下之實施例及附 呈圖式作進一步之說明。 【實施方式】 同時參閱第1圖及第2圖所示,其係顯示本發明多裝置 在不同子網路區段的通訊方法第一實施例之系統架構圖及 系統方塊圖。在網路系統100中包括有複數個經由一連結網 路N予以連結之子網路Nl、N2、N3。連結網路N在此實施 例中是一區域網路(Local Area Network,LAN),當然也可 以是一企業内部網路(jntra_business Internet,Intranet)或及 其他的私用(Private)網路。 1362199 子網路N1中包括有三個網路裝置u、12、13,皆透過 一網路互連設備10連接連結網路N;子網路N2中亦包括有 三個網路裝置21、22、23,亦透過一網路互連設備20連接 連結網路N ;子網路N3中亦同樣包括有三個網路裝置31、 32、33,亦同樣透過一網路互連設備3〇連接連結網路n。 網路互連設備1〇、2〇、3〇在此實施例中為一集線器 (Hub)、當然也可以是交換器(Switch)等網路設備。網路裝置 11、12 ' 13 ' 21、22 ' 23、31、32、33則包括像是網路攝影 機(IP Camera)、數位影像錄影機(Digital Video Recorder, DVR)、網路影像錄影機(Network Video Recorder,NVR)、 影音4司服器(Media Server)、網路電話(IP Phone)等各種網路 用的裝置。 在網路系統100還包括有一主控端C,經由連結網路N 連結各個子網路N卜N2、N3之網路裝置11、12、13、21、 22、23、31、32、33。主控端C配置有一資訊紀錄記憶體T, 資訊紀錄記憶體T中包括有一網路裝置清單(Device List Table)Tl 及一界面資訊清單(Ethernet Adapter List Table)T2。 參閱第3圖所示,其係顯示各子網路之網路設定值之示 意圖。如圖所示,各個子網路Nl、N2、N3中的網路裝置 11、12、13、21、22、23、31、32、33 各有其不同之 IP 位 址’其中子網路N1中之網路裝置11、12、13位在第一網段 SEC1 ;子網路N2中之網路裝置21、22、23位在第二網段 SEC2 ;子網路N3中之網路裝置31、32、33位在第三網段 SEC3,造成各個不同網段之網路裝置彼此之間無法直接使 f S] -9 - 用單點傳播(Unicast)通訊,也就是無法進行一對一通訊。 參閱第4圖及第5圖所示,其係顯示本發明多裝置在不 同子網路區段的通訊方法第一實施例之流程示意圖及本發 明多裝置在不同子網路區段的通訊方法第一實施例之控制 流程圖。當主控端C欲與網路裝置11進行通訊時,主控端 C首先確認資訊紀錄記憶體T中之網路裝置清單T1是否儲 存有網路裝置11之紀錄(步驟101)。在此由於主控端C是首 次與網路裝置11進行通訊,所以資訊紀錄記憶體τ中之網 路裝置清單T1並不會有紀錄。在沒有紀錄的情況下,主控 端C便會透過連結網路N廣播一詢問訊息S1至各個子網路 Nl、N2、N3 中之網路裝置 11、12、13、21、22、23、3卜 32、33(步驟 102)。 再參閱第6圖所示,其係顯示網路裝置資訊之内容之示 意圖。當網路裝置 11、12、13、21、22、23、31、32、33 接收到主控端C所廣播的詢問訊息S1後,便會回傳一網路 裝置資訊S2予主控端C(步驟103)。網路裝置資訊S2是各 個網路裝置 11、12、13、21、22、23、31、32、33 所預設 的資訊,其包括有廠商辨識碼(Vendor ID)S21、裝置類型 (Device Type ID)S22、裝置硬體位址(MAC Address)S23 以及 裝置網路組態資訊(IP Configuration)S24。其中裝置類型S22 是用來區分產品性質,例如上述所提之網路影像錄影機、影 音伺服器…等。主要是提供主控端C區分這些不同的產品, 讓許多不同性質的產品得以使用本發明之方法,而不會互相 干擾。裝置網路組態資訊S24則是紀錄相關的網路組態設 1362199 定。 當主控端C接收網路裝置資訊S2後,則將網路裝置次 訊S2儲存至資訊紀錄記憶體了之網路裝置清單了 ^ 104)以備日後需要時能直接從資訊紀錄記憶體τ之 置清單η尋找,省去前面步驟中從廣播至等待回^ 的時間。 化買S SJ 1362199 When there is no network device (such as IP Sharing goods) that can provide the requirements of the dynamic host configuration protocol user terminal in the user's network environment, the network device cannot obtain the IP address or use Auto. -IP mode. In the Auto-IP mode, the same situation as the fixed IP address is encountered, and the user has to change his IP address again to match the network device, which makes it difficult to use. Accordingly, it is an object of the present invention to provide a method for communicating multiple devices in different sub-network segments for the user to normally set or control network devices in different sub-network segments. Technical Solution for Solving the Problems The technical means adopted by the present invention to solve the problems of the prior art is a communication method of multiple devices in different sub-network segments, which is in a network system, and a master terminal desires When communicating with the network device in the sub-network set on different network segments, the first control terminal broadcasts an inquiry message to the network devices in each sub-network through a link network, and then receives the return of each network device. The network device information, according to the network device information, establishes an IP address that is on the same network segment as the selected target network device and is not used as a virtual IP address, and then the host terminal passes the virtual IP address. Communicate with the selected target network device. In the embodiment of the present invention, in addition to the network devices independently connected to the respective sub-networks via the connection network, the main control terminal may select one of the at least one network device of each sub-network as the main control terminal. In addition, after receiving the information of the network device, the host terminal stores the network device information in the information record memory, and when it wants to communicate with the network device next time, it first confirms whether the network device information is stored [S.] There is a tribute recording memory. Furthermore, after receiving the network device information, the host first analyzes whether the network device is under the same network segment according to the network device information. According to the technical means adopted by the present invention, the present invention automatically detects the IP address of the network device by means of broadcasting, and dynamically configures a 网> address (virtual IP) that is not used by the same network segment. ) to the main control terminal, so that the main control terminal and the network device are working under the same network segment, and the network device can be normally set or controlled. In this way, the complexity of the user operation can be reduced, and the product can be more user-friendly in use. Consumers can eliminate hard-to-understand network settings; commercial salespeople do not have to spend a lot of time teaching consumers and clarifying problems, reducing the difficulty of product promotion. The specific embodiments of the present invention will be further described by the following examples and the accompanying drawings. [Embodiment] Referring to FIG. 1 and FIG. 2 simultaneously, it is a system architecture diagram and a system block diagram showing a first embodiment of a communication method of multiple devices in different sub-network sections of the present invention. The network system 100 includes a plurality of sub-networks N1, N2, and N3 connected via a link network N. In this embodiment, the connection network N is a local area network (LAN), and of course, an internal network (jntra_business Internet, intranet) or other private network. 1362199 The subnet N1 includes three network devices u, 12, and 13 connected to the network N through a network interconnection device 10; the subnet N2 also includes three network devices 21, 22, and 23 The network N is also connected through a network interconnection device 20; the sub-network N3 also includes three network devices 31, 32, 33, and also connects to the network through a network interconnection device 3 n. The network interconnection device 1 〇, 2 〇, 3 〇 in this embodiment is a hub device, and of course, a network device such as a switch. The network devices 11, 12 ' 13 ' 21, 22 ' 23, 31, 32, 33 include, for example, an IP camera, a Digital Video Recorder (DVR), a network video recorder ( Network Video Recorder (NVR), Video Server 4 (Media Server), Internet Phone (IP Phone) and other network devices. The network system 100 further includes a host C that connects the network devices 11, 12, 13, 21, 22, 23, 31, 32, 33 of the respective sub-networks N2, N3 via the connection network N. The main control terminal C is configured with an information recording memory T. The information recording memory T includes a device list table T1 and an Ethernet Adapter List Table T2. Referring to Figure 3, it shows the intent of the network settings for each subnet. As shown, the network devices 11, 12, 13, 21, 22, 23, 31, 32, and 33 in each of the sub-networks N1, N2, and N3 each have a different IP address, where the sub-network N1 The network devices 11, 12, 13 are located in the first network segment SEC1; the network devices 21, 22, 23 in the sub-network N2 are located in the second network segment SEC2; and the network device 31 in the sub-network N3 32, 33, in the third network segment SEC3, the network devices of different network segments can not directly make f S] -9 - Unicast communication, that is, one-to-one communication is impossible . Referring to FIG. 4 and FIG. 5, it is a schematic flowchart showing a first embodiment of a communication method of multiple devices in different sub-network segments of the present invention, and a communication method of multiple devices in different sub-network segments of the present invention. The control flow chart of the first embodiment. When the host C wants to communicate with the network device 11, the host C first confirms whether the network device list T1 in the information recording memory T stores the record of the network device 11 (step 101). Here, since the master terminal C communicates with the network device 11 for the first time, the network device list T1 in the information recording memory τ does not have a record. In the absence of a record, the host C broadcasts an inquiry message S1 through the connection network N to the network devices 11, 12, 13, 21, 22, 23 of the respective sub-networks N1, N2, N3. 3 Bu 32, 33 (step 102). Referring again to Figure 6, it is a schematic representation of the content of the network device information. After the network device 11, 12, 13, 21, 22, 23, 31, 32, 33 receives the inquiry message S1 broadcast by the host C, it returns a network device information S2 to the host C. (Step 103). The network device information S2 is information preset by each network device 11, 12, 13, 21, 22, 23, 31, 32, 33, and includes a vendor identification code (Vendor ID) S21, and a device type (Device Type). ID) S22, device hardware address (MAC Address) S23 and device network configuration information (IP Configuration) S24. The device type S22 is used to distinguish the nature of the product, such as the above-mentioned network video recorder, video server, and the like. Mainly to provide the master C to distinguish these different products, so that many products of different nature can use the method of the invention without interfering with each other. The device network configuration information S24 is the record-related network configuration setting 1362199. After receiving the network device information S2, the host terminal C stores the network device secondary S2 to the network device list of the information recording memory (104) in order to directly access the information recording memory τ when needed in the future. The list η is searched, and the time from the broadcast to the wait back ^ in the previous step is omitted. Buy

之後,主控端C依據網路裝置資訊S2之内容分析是否 與欲連線之網路裝置u同樣處在第—網段SEC1之下(步驟 105)’若主控端C與網路裝置u同樣處在第—網段SEC1, 主控端C便可直接與網路裝置u直接通訊(步驟1〇6)。After that, the host C analyzes whether the network device u to be connected is located under the first network segment SEC1 according to the content of the network device information S2 (step 105) 'if the host C and the network device u Also in the first network segment SEC1, the main control terminal C can directly communicate with the network device u directly (steps 1 and 6).

當主控端C不處在第一網段SEC1時,為了與網路裝置 1】通訊,主控端c便會依據網路裝置資訊82建立一虛擬 位址(步驟107),虛擬IP位址係相同於選定欲通訊之網路裝 置η所屬之第一網段seci,且該虛擬ip位址係為網路裝 置11所屬子網路N1中未被使用之IP位址,使主控端c如 同處在子網路N1中。在此實施例中,虛擬Ip位址也就是選 自網路裝置11、12 ' 13以外的IP位址,由於網路裝置n 的IP位址是192.168.1.1 ;網路裝置12的IP位址是 192.168.1.2 ;網路裝置13的IP位址是192.168.1.3,則主控 端C即是從192.168.1.4、192J68.1.5…等未被使用的汗位 址中任選一個作為虛擬IP位址。 當主控端C欲透過虛擬IP位址與網路裝置11進行通訊 時’會詢問一界面對映分析單元(Interface Mapping AnaIyZer,IMA)D該使用哪一個界面來進行通訊。界面對 1362199 映分析單元D則回傳一組界面資訊S3,主控端c將檢查資 訊紀錄記憶體T之界面資訊清單T2中是否存在此項紀錄, 若無則將其加入界面資訊清單Τ2,接著便使用這組界面資 訊與網路裝置11進行通訊S4(步驟108)。 同铃參閱第7圖及第8圖所示’其係顯示本發明多裝置 在不同子,,用路區#又的通訊方法第二實施例之系統架構圖及 系統方塊圖。此一實施例之系統架構與前述第一實施例相 同’故相同之構件乃標示以相同之元件編號,以資對應。本 發明之第二實施例不同於運作在電腦(主控端c)與網路裝置 上$第一實施例,是一種應用在主從式架構(client_Server) 之設計。其差異在於網路系統1〇〇’中,第一實施中之網路裝 =1係作為主控端c,,主控端c,同樣配置包括有網路裝置 清單τι及界面資訊清單T2之資訊紀錄記憶體τ。 第9圖係顯示本發明多裝置在不同子網路區段的通訊 方法第二實施例之控制流程圖。_本發明第二實施例之系 統架構與前述第-實施财同,但㈣流㈣不受到影塑而 改變。當士控端c’欲與網路裝f 11進行通訊時,主控端日c, 首先確5忍貝g紀錄記憶體τ中之網路裝置清單^是否儲存 有網路裝置U之紀錄(步驟加卜在沒有紀錄的情況下,主 控端c,便透過連結網㈣廣播一詢問訊息si至各個子網路 N1、N2、N3 中之網路裝置 ^、12、13、22、& n 33(步驟 202)。當網路裝置 u、12、13、22、23、n 33接收到主控端c,所廣播的詢問訊息w後,便會回傳—網 路裝置資訊S2予主控端c(步驟2〇3)。 [ -12 - 當主控端C’接收網路裝置資訊S2後,則將網路裝置資 訊S2儲存至資訊紀錄記憶體T之網路裝置清單T1中(步驟 204)。之後,主控端C’依據網路裝置資訊S2之内容分析是 否與欲連線之網路裝置11同樣處在第一網段SEC1之下(步 驟105),若同樣處在第一網段SEC1,主控端C便可直接與 網路裝置11進行一直接通訊S3(步驟106)。而當主控端C 不處在第一網段SEC1時,主控端C便會依據網路裝置資訊 S2建立一虛擬IP位址(步驟207),接著便透過虛擬IP位址 與網路裝置11進行通訊(步驟208)。 由以上之實施例可知,本發明所提供之多裝置在不同子 網路區段的通訊方法確具產業上之利用價值,故本發明業已 符合於專利之要件。惟以上之敘述僅為本發明之第一實施例When the host C is not in the first network segment SEC1, in order to communicate with the network device 1, the host c will establish a virtual address according to the network device information 82 (step 107), the virtual IP address. The first network segment sexi belongs to the network device η to which the selected network device belongs, and the virtual IP address is an unused IP address in the subnet N1 to which the network device 11 belongs, so that the host terminal c As if in subnet N1. In this embodiment, the virtual IP address is selected from the IP address other than the network device 11, 12 '13, since the IP address of the network device n is 192.168.1.1; the IP address of the network device 12 Is 192.168.1.2; the IP address of the network device 13 is 192.168.1.3, then the host C is any one of the unused sweat addresses from 192.168.1.4, 192J68.1.5, etc. as the virtual IP address. site. When the host C wants to communicate with the network device 11 through the virtual IP address, it will ask an Interface Mapping AnaIyZer (IMA) D which interface to use for communication. The interface pair 1362199 reflection analysis unit D returns a set of interface information S3, and the main control terminal c checks whether the record exists in the interface information list T2 of the information record memory T, and if not, adds it to the interface information list Τ2, The set of interface information is then used to communicate with the network device 11 (step 108). Referring to Figures 7 and 8 respectively, the system architecture diagram and system block diagram of the second embodiment of the communication method of the multi-device of the present invention are shown. The system architecture of this embodiment is the same as that of the first embodiment described above, and the same components are denoted by the same component numbers. The second embodiment of the present invention is different from the first embodiment operating on a computer (master c) and a network device, and is a design applied to a master-slave architecture (client_Server). The difference is that in the network system, the network installation in the first implementation is the main control terminal c, and the main control terminal c is also configured to include the network device list τι and the interface information list T2. Information record memory τ. Figure 9 is a flow chart showing the control of the second embodiment of the communication method of the multi-devices of the present invention in different sub-network sections. The system architecture of the second embodiment of the present invention is the same as the above-mentioned first-implementation, but (4) stream (4) is not changed by the shadow. When the controller terminal c' wants to communicate with the network device f11, the master terminal c, first of all, does not have a record of the network device in the memory τ. In the case where there is no record, the master c broadcasts an inquiry message si to the network devices ^, 12, 13, 22, & in each of the sub-networks N1, N2, N3 through the connection network (4). n 33 (step 202). When the network devices u, 12, 13, 22, 23, n 33 receive the host c, the broadcasted inquiry message w, it will be returned - the network device information S2 to the master Control terminal c (step 2〇3) [ -12 - After the master terminal C' receives the network device information S2, the network device information S2 is stored in the network device list T1 of the information record memory T ( Step 204). After that, the main control terminal C' analyzes whether the network device 11 is connected to the network segment 11 to be under the first network segment SEC1 according to the content of the network device information S2 (step 105), if the same is in the first In a network segment SEC1, the master terminal C can directly perform a direct communication S3 with the network device 11 (step 106). When the master terminal C is not in the first network segment SEC1, the master terminal C A virtual IP address is established according to the network device information S2 (step 207), and then communicates with the network device 11 through the virtual IP address (step 208). From the above embodiments, the present invention provides The communication method of multiple devices in different sub-network segments has industrial value, so the present invention has met the requirements of the patent. However, the above description is only the first embodiment of the present invention.

I 說明,凡精於此項技藝者當可依據上述之說明而作其它種種 之改良,惟這些改變仍屬於本發明之發明精神及以下所界定 之專利範圍中。 【圖式簡單說明】 第1圖係顯示本發明多裝置在不同子網路區段的通訊方法 第一實施例之系統架構圖; 第2圖係顯示本發明多裝置在不同子網路區段的通訊方法 第一實施例之系統方塊圖; 第3圖係顯示各子網路之網路設定值之示意圖; 第4圖係顯示本發明多裝置在不同子網路區段的通訊方法 第一實施例之控制流程圖; 1362199 第5圖仓; 广·4示本發明多裝置在不同子網路區段的通訊方法 尺 第〜實施例之流程示意圖; 第7圖係顯示網路裝置資訊之内容之示意圖; "圖係顯不本發明多裝置在不同子網路區段的通訊方法 第二實施例之系統架構圖; 第8圖係顯示本發明多裝置在不同子網路II段的通訊方法 第二實施例之系統方塊圖;I 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a system architecture diagram showing a first embodiment of a communication method of multiple devices in different sub-network segments of the present invention; FIG. 2 is a diagram showing multiple devices in different sub-network segments of the present invention. Communication method of the first embodiment of the system block diagram; Figure 3 is a schematic diagram showing the network setting values of each sub-network; Figure 4 is a diagram showing the first communication method of the multi-device in different sub-network sections of the present invention. Control flow chart of the embodiment; 1362199 5th warehouse; 广·4 shows the flow chart of the communication method of the multi-devices in different sub-network sections of the invention - the flow chart of the embodiment; FIG. 7 shows the information of the network device Schematic diagram of the content; "The system shows the system architecture diagram of the second embodiment of the communication method of the multi-device in different sub-network sections; FIG. 8 shows the multi-device of the invention in different sub-networks II System block diagram of the second embodiment of the communication method;

第9圖係顯示本發明多裝置在不同子網路區段的通訊方法 第二實施例之控制流程圖。 【主要元件符號說明】 100 、 100, ,網路系統 10 網路互連設備 11 、 12 、 13 網路裝置 20 網路互連設備 21 、 22 、 23 網路裝置 30 網路互連設備 31 、 32 ' 33 網路裝置 C、C, 主控端 D 界面對映分析單元 Ν 連結網路 Nl、Ν2、Ν3 子網路 S1 詢問訊息 S2 網路裝置資訊 1362199 S21 廠商辨識碼 S22 裝置類型 S23 裝置硬體位址 S24 裝置網路組態資訊 S3 界面資訊 S4 通訊 SEC1 第一網段 SEC2 第二網段 SEC3 第三網段 T 資訊紀錄記憶體 T1 網路裝置清單 T2 界面資訊清單 15 -Figure 9 is a flow chart showing the control of the second embodiment of the communication method of the multi-device in the different sub-network sections of the present invention. [Main component symbol description] 100, 100, , network system 10 network interconnection device 11, 12, 13 network device 20 network interconnection device 21, 22, 23 network device 30 network interconnection device 31, 32 ' 33 network device C, C, host D interface mapping unit Ν link network Nl, Ν 2, Ν 3 sub-network S1 query message S2 network device information 1362199 S21 vendor identification code S22 device type S23 device hard Body address S24 Device network configuration information S3 Interface information S4 Communication SEC1 First network segment SEC2 Second network segment SEC3 Third network segment T Information record memory T1 Network device list T2 Interface information list 15 -

Claims (1)

十、申請專利範圍: ’ 了種多f置在列子網路區段的通訊方法,係在—網路 系統中包括有複數個設^在不同網段的子網路,各個 網路之間係經由—連結網路予以連結,各個子網路中包 括有至少一網路裝置,各個網路裝置各具有-預設之Ip 位置及網路裝置資訊,在該網路系統還包括有—主控 端,其係經由該連結網路連結各個子網路之網路裝置P 該方法包括下列步驟: 义 ⑷遠主控端透過該連結網路廣播—詢問訊息予該各個 子網路中之網路裝置; (b)相路裝置接收該詢問訊息後’透過該連結網路回傳 該網路裝置之網路裝置資訊至該主控端; , 0)該主控端接收該各個網路裝置之網路裝置資訊; (d) 5亥主控端欲與一選定之標的網路裝置通訊時,依據該 接收到之網路装置資訊,建立一虛擬IP位址,該虛 擬IP位址係相同於該選定欲通訊之標的網路裝置所 屬之、用·^又,且s亥虛擬ip位址係為該標的網路裝置所 屬子網路中未被使用之IP位址; (e) 該主控端經由該虛擬ιρ位址與該選定之標的網路裝 置通訊。 如申請專利範圍第1項所述之多裝置在不同子網路區段 的通訊方法中該步驟⑻之前更包括該主控端確認該 裂置貝訊是否已儲存在該主控端之—資訊紀錄記憶 月專利㈣第丨項所述之多I置在不同子網路區段 網改Γ方法’其中該步驟⑷更包括該主控端將該接收之 、置>訊儲存至該主控端之—資訊紀錄記憶體中。 • 申〜專利_第1項所述之多裝置在不同子網路區段 / k訊方法,其中該步驟(d)之前更包括該主控端依據該 同路裝置資訊分析是否與該標的網路裝置處在同一網 5. 如申請糊範圍第1制述之Η置在;^子網路區段 、、方法其中該連結網路係為區域網路 '企業内部 網路之一。 ~ 6. 如申π專利範圍第i項所述之多裝置在不同子網路區段 的通訊方法,其中該網路裳置資訊係包括礙商辨識碼、裝 置類型、裝置硬體位址及裝置網路組態資訊之一或其組 合。 7· 一種多裝置在不同子網路區段的通訊方法,係在一網路 系統中包括有複數個設定在不同網段的子網路,各個子 網路之間係經由一連結網路予以連結,各個子網路中包 -17 - 至少一網路裝置,各個網路裝置各且 位置及網路裝置資訊,在該各個 中預設之IP 裝置係作為主控端,該方法包括下列步:之至少-網路 ⑷過該連結網路廣播一詢問訊息予該各個 卞,·周路中之網路裝置; ⑻裝置接收該詢問訊息後,透過該連 _路装置之網路裝置資訊至該主控端;路口傳 ⑷該主控端接收該各個網路裝置之網路裝 ⑷端欲與一選定之標的網路裝置通訊時:依據該 =到之網路裝置資訊,建立—虛擬ΙΡ位址,該虛 位址係相同於該選定欲通訊之標的網路裝置所 屬之網段,且該虛擬ΙΡ位址係為該標 屬子網路中未被使用之正位址;1裝置所 (e)該主控端經由該虛擬ίΡ位址與該選定之標的網路裝 置通訊。 •如申請專利範圍第7項所述之多裝置在不同子網路區段 '死方法,其中s亥步驟(a)之前更包括該主控端確認該 網路裝置資訊是否已儲存在該主控端之—資訊紀錄記憶 體中》 如申明專利範圍第7項所述之多裝置在不同子網路區段 的通訊方法’其中該步驟⑷更包括該主控端將該接收之 ,祠路裝置資訊儲存至該主控端之一資訊紀錄記憶體中。 广專利範圍第7項所述之多震置在不同子網路區段 絪ΐ訊方法,其中該步驟⑷之前更包括該主控端依據該 裝置資訊分析是否肖該標的網路裝置處S同一子網 U·如申請專利範㈣7項所述之多裝置在㈣子網路區段 通訊方法’其巾5玄連結網路係為區域網路、企業内部 網路之一。 ” 如申請專利範圍第7項所述之多裝置在不同子網路區段 的通讯方法,其中該網路裝置資訊係包括廠商辨識碼、 裝置類型、裝置硬體位址及裝置網路組態資訊之一或其 組合。X. The scope of application for patents: 'The communication method for multi-f placement in the sub-network segment is that the network system includes a plurality of sub-networks set up on different network segments, and each network is connected. Connected via a connection network, each subnet includes at least one network device, each network device has a preset Ip location and network device information, and the network system further includes a master control The method includes the following steps: connecting the network device P of each subnet via the connection network. The method includes the following steps: (4) the remote host broadcasts through the connection network—inquiring a message to the network in each subnet (b) after receiving the inquiry message, the phase circuit device transmits back the network device information of the network device to the host through the connection network; 0) the master terminal receives the network device (d) When the 5th host wants to communicate with a selected target network device, a virtual IP address is established according to the received network device information, and the virtual IP address is the same as The selected network device to be communicated The virtual IP address of the network device is the unused IP address in the subnet to which the target network device belongs; (e) the host uses the virtual IP address and the virtual IP address The selected target network device communicates. For example, in the communication method of the different sub-network segments, the multi-device described in claim 1 further includes the main control terminal confirming whether the split broadcast is stored in the main control terminal before the step (8). Recording Memory Month Patent (4) The multiple I described in the second item is set in the different sub-network segment network modification method 'where the step (4) further includes the host terminal storing the received, set > message to the master control The end of the information record in the memory. • The multi-device described in the above-mentioned patent _1 is in a different sub-network section/k-signal method, wherein the step (d) further includes the master controlling whether the target network is based on the same device information. The road device is located on the same network. 5. If the application is in the first paragraph, the device is located in the network segment, and the connection network is one of the regional network 'enterprise internal networks. ~ 6. The communication method of multiple devices in different sub-network segments as described in item ith of the scope of claim π, wherein the network information includes an obstruction identification code, a device type, a device hardware address, and a device. One or a combination of network configuration information. 7. A multi-device communication method in different sub-network segments, wherein a network system includes a plurality of sub-networks set on different network segments, and each sub-network is connected via a link network. Linking, each subnet includes -17 - at least one network device, each network device and location and network device information, and the IP device preset in each of the devices is used as a master terminal, and the method includes the following steps : at least - the network (4) over the link network broadcasts an inquiry message to the various devices, the network device of Zhou Luzhong; (8) after receiving the inquiry message, the device transmits information to the main device through the network device of the connection device Control terminal; intersection transmission (4) When the main control terminal receives the network device (4) of each network device to communicate with a selected target network device: according to the network device information of the = to establish a virtual virtual address The virtual address is the same as the network segment to which the selected network device is to be communicated, and the virtual address is the unused address in the target subnet; The master is via the virtual Ρ And the subject of the selected network's communication device. • The multi-device described in claim 7 of the patent application is in the different sub-network segment 'dead method, wherein the step hai includes (a) further includes the host confirming whether the network device information has been stored in the main The terminal-information record memory is as described in claim 7 of the patent scope of the multi-device communication method in different sub-network segments, wherein the step (4) further includes the master terminal receiving the The device information is stored in one of the information recording memories of the main control terminal. The multi-seismic method described in item 7 of the broad patent scope is disposed in different sub-network segment communication methods, wherein the step (4) further includes the main control terminal analyzing whether the target network device device is the same according to the device information. Subnet U· As described in the patent application (4), the multi-device is in the (4) sub-network segment communication method. Its towel 5 Xuan connection network is one of the regional network and the enterprise internal network. The communication method of multiple devices in different sub-network segments, as described in claim 7, wherein the network device information includes vendor identification code, device type, device hardware address, and device network configuration information. One or a combination thereof.
TW97131644A 2008-08-19 2008-08-19 Communication method between devices at different sub-network segments TW201010338A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97131644A TW201010338A (en) 2008-08-19 2008-08-19 Communication method between devices at different sub-network segments

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97131644A TW201010338A (en) 2008-08-19 2008-08-19 Communication method between devices at different sub-network segments

Publications (2)

Publication Number Publication Date
TW201010338A TW201010338A (en) 2010-03-01
TWI362199B true TWI362199B (en) 2012-04-11

Family

ID=44828137

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97131644A TW201010338A (en) 2008-08-19 2008-08-19 Communication method between devices at different sub-network segments

Country Status (1)

Country Link
TW (1) TW201010338A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112689025B (en) * 2020-12-04 2023-04-18 深圳市广电信义科技有限公司 Network terminal equipment IP self-adaption method, device, equipment and medium

Also Published As

Publication number Publication date
TW201010338A (en) 2010-03-01

Similar Documents

Publication Publication Date Title
US8176529B2 (en) Apparatus and method for controlling devices in one or more home networks
JP4142960B2 (en) System and method for searching for devices on a local area network
JP6117234B2 (en) UPnP / DLNA with RADA hive
US7266090B2 (en) Address autoconfiguration method for home network
US10630543B1 (en) Wireless mesh network implementation for IOT devices
US20100198989A1 (en) Assigning priority to network traffic at customer premises
EP2875607B1 (en) Home network system and network setting method of router therein
JP2004252974A (en) Control point server system for allowing home network device to be efficiently accessed and method therefor
WO2016202056A1 (en) Home network service sharing method and apparatus
JP2003204335A (en) Parameter setting system
US20070239860A1 (en) Information processing device, network connection method, and program recording medium
US20150052231A1 (en) Providing custom names for headless devices
JP2009169732A (en) Communication terminal equipment and communication equipment connection control method
US8825868B2 (en) Method and arrangement for suppressing duplicate network resources
JP2003229856A (en) Communication equipment and communication control method
WO2006057798A2 (en) Method and apparatus to facilitate universal plug and play interaction between different local networks
US7711801B2 (en) DHCP client/server device and method of providing DHCP server services on a network
US20100299413A1 (en) Identification and/or addressing of a data terminal device of a local network
US9086880B2 (en) Communication device management apparatus, user device, and service device
TWI362199B (en)
JP2008148243A (en) Communication apparatus, communication system, communication method and communication program
US20080232370A1 (en) Method of communication in LAN without setting IP
US20160241427A1 (en) Service Sending, Receiving Methods and Devices
WO2017113302A1 (en) Media service proxy method, device and system thereof
KR20140143521A (en) Method and apparatus for transmitting and receiving a service in a wireless communication system