201236400 六、發明說明: 【發明所屬之技術領域】 本發明係為一種用於電力線通訊網路之設備控制方法,尤 係指-種利用資料封包傳遞來進行更有效率的資料傳輸及低 干擾、高穩定度的設備控制方法。 【先前技術】 傳統的通訊網路設備,設備端彼此之間的資料傳輸及控 制確認,主要仍是採社從_並以輪顺交_方式來進 行,<_疋這種控制方法,則必須與每一個連接於網路上的設 備進行確認,其控制程序上較為繁複且相當耗費時間;而介接 於網路上的後端設備更必須㈣前端設備㈣傳輸完成之後 才能進行確認,所以,當網路所介接的設備越多,則整個系統 的傳輸效率就會相對地降低;因此,傳統的控制方法,明顯地 並不適用於本身傳輸速率較低的電力線通訊網路。 【發明内容】 本發明主要是藉由資料封包的傳遞,以便在已普遍建置 的電力線網路系統’來提供介接於網路設備端之更有效率的數 據資料傳輸及低干擾、高穩定度的設備控制方法。 201236400 一種用於電力線通訊網路之設備控制方法,係應用於電 力線通訊網路系統’以對電力線通訊網路所介接之設備來進行 控制…亥電力線通讯網路系統,包括:電力線通訊網路、複數 輸入裝置、複數輸出裝置及複數監控設備;且該電力線通訊網 路,則包括:複數通訊網路區段。該些輸入裝置與該些輸出裝 置,則均是以線路來連接至該電力線通訊網路,以進行彼此之 間數據貢料的傳輸;其中,該些輸人裝置與該些輸出裝置,則 均設置有群組設定卿;該些監控設備,則均是以線路來連接 至鑪電力線通訊網路,以進行數據資料的傳輸。 該用於電力線通訊網路之設備控制方法,包括:該些通 訊網路區段’則是藉由各自的請封包傳遞,以便各個之該通 訊網路區段職接之㈣輸人裝置與該些輸出裝置,來進行彼 此之間數據 > 彳杨傳輸。介接於相同之該通訊網路區段之該輸 入裝置/該輸出裝置,則可經由所屬之該群組設定開關的設 定,以便賴輸人裝置/該輸出裝置來設定為特定之設備群 組;其中’該通訊網路區段,則可包括:至少一設備群組;該 設備群組,則可包括:至少一輸入裝置或輸出裝置。相同之該 通訊網路區段之·人裝置/該輸出裝置,要在該通訊網路區 段内進行該資料封包傳遞時,則必須先取得網路控卿限後, 才能進行該細制傳遞;其巾,介接於該電力線通訊網路 之》玄些輪人裝置與該些輸出裝置,則均分別設置有網路控制優 先權,藉以_取得騎賴㈣段之該鱗控讎限的優先 201236400 順序。而該資料封包在該通訊網路區段内傳遞時,相同之n 訊網路區段之該些輸入裝置與該些輸出裝置,則均可同時讀取 該資料封包内部的數據資料。 俾使審查委員能對於本發明之技術特徵,有更進一步之 了解,以下謹以一個具體實施例,且佐以圖式作詳細說明。 【實施方式】 • 實施例一,請參閱第一〜六圖;一種用於電力線通訊網 路之設備控制方法,係應用於電力線通訊網路系統丨,以對電 力線通訊網路所介接之設備來進行控制;該電力線通訊網路系 統1,包括:電力線通訊網路、複數輸入裝置41、複數輸出裝 置42及複數監控设備3,且該電力線通訊網路,則包括:複 數通訊網路區段2。該些輸人裝置41與該些輸出裝置42,則 均是以線路來連接至該電力線通訊網路,以進行彼此之間數據 • 資料的傳輸;其中’該些輸入裝置41與該些輸出裝置42,則 均5又置有群組设定開關43 ;該些監控設備3,則均是以線路來 連接至该電力線通訊網路,以進行數據資料的傳輸。 "亥用於電力線通訊網路之設備控制方法,包括:該些通 網路區& 2,則是藉由各自㈣料封包5傳遞,以便各個之 a亥通Λ網路區段2所連接之該些輸人裝置41無些輸出裝置 42來進厅彼此之間數據資料的傳輸。介接於相同之該通訊網 201236400 路區段2之該輸入裝置41/該輸出裴置42,則可經由所屬之該 群組設定開關43的設定,以便將該輸入裝置41/該輸出裝置 42來設定為特定之設備群組4 ;其中,該通訊網路區段2,則 可包括:至少一設備群組4;該設備群組4,則可包括:至少 一輸入裝置41或輸出裝置42。 相同之該通訊網路區段2之該輸入裝置41/該輸出裝置 42 ’要在該通訊網路區段2内進行該資料封包5傳遞時,則必 須先取得網路控制權限後,才能進行該資料封包5的傳遞;其 中,介接於該電力線通訊網路之該些輸入裝置41與該些輪出 裝置42,則均分別設置有網路控制優先權,藉以判別取得該 通訊網路區段2之該網路控制權限的優先順序。而該資料封包 5在該通訊網路區段2内傳遞時,相同之該通訊網路區段2之 該些輸入裝置41與該些輸出裝置42,則均可同時讀取該資料 封包5内部的數據資料。 S玄用於電力線通訊網路之設備控制方法,更包括:#制 模式(一); 該控制模式(一),則包括:該通訊網路區段2之該輸入 裝置41,則可藉由該通訊網路區段2内之該資料封包5的傳 遞’來設定所屬相同之該設備群組4中待控之該輪出裝置犯 的狀態設定資料,藉以改變裝置目前的狀態。 201236400 該用於電力線通訊網路之設備控制方法,更包括._制 模式(二); §亥控制模式(二)’則包括.该通訊網路區段2之今輪 裝置41,則可藉由該通訊網路區段2内之該資料封包5的傳 遞,來設定所屬相同之該設備群組4中待控之該輪出裝置42 的狀態設定資料,藉以改變裝置目前的狀態;且同時,介接於 相同之該通訊網路區段2之該些么入裝置41與該些輪出裝置 • 42,則均可藉由該通訊網路區段2内之該資料封包$的傳遞, 來更新該些輸人裝置41與該錄出裝置42畴所儲存之網路 設備狀態表,以便同步更新該網路設備狀態表所紀錄之連接於 該通訊網路區段2内全部之該些輸入裝置41與該些輪出裝置 42目前所對應的該些狀態設定資料。 亦即該輸入裝置41,則會依據要進行狀態變更設定之所 屬相同之該設備群組4中待控之該輸出裝置42,來對應改變 • 該輸出裝置42内部所儲存之該網路設備狀態表的内容,並另 以資料封包5的形式於該通訊網路區段2内進行該資料封包5 的傳遞;而介接於相同之該通訊網路區段2内其他之該些輸入 裝置41與該些輸出裝置42,則均可藉由讀取該資料封=的 内容來同步更新該些輸入裝置41與該些輸出裝置如部所儲 存之該網路設雜縣_料。其巾,#待控之該輸出裝置 42 ’經更新内部所儲存之該網路設備狀態表後,則會依據細 路設備狀態表巾狀變的資_容,來龍奴辑控之該輸 201236400 出裝置42之該狀態設定資料的内容;因此,待控之該輸出裝 置42,則會依據改變後之該狀態設定資料來對應變更裝置目 前的狀態。 該用於電力線通訊網路之設備控制方法,更包括:檢測 模式(一); 該檢測模式(一),則包括:介接於相同之該通訊網路區 段2之該些輸入裝置41與該些輸出裝置42,則均可藉由該通 訊網路區段2内之該資料封包5的傳遞,來比對該些輸入裝置 41與該些輸出裝置42内部所儲存之該網路設備狀態表,以便 確認該網路設備狀態表的紀錄資料是否正確且已更新為即時 的資料狀態。 亦即該輸入裝置41或該輸出裝置42,可以在特定的時間 内,將内部所儲存之該網路設備狀態表的内容,另以資料封包 5的形式於該通酬路區段2峨行該龍封包5的傳遞;而 介接於相同之該通訊網路區段2内其他之該些輸入裝置41或 該些輸出裝置42,則均可藉由讀取該資料封包5的内容來比 對該些輸人裝置41或該些輸出裝置42内部所儲存之該網路設 備狀態表,赠確觸晴設餘態麵_㈣是否正確且 已更新為㈣的資料狀態;且資_容若經比對確認有誤或不 一致的情形’則會產生警示聲響、燈光或文字訊息顯示。 且該通訊網路區段2之該監控設備3,經檢知該通訊網路 201236400 \ 二段。2 k該輸人裝置41或該輸出裝置42產生有警示聲響、 燈光或文字訊息顯示之異常狀態時,則可經 恤即時的警告訊息至遠端控制電腦61,或是經由;^ k網路7來發送㈣的警告訊息至行動手機裝置7卜以便來 通知使用者或相關設備維護人員。 顧於電力線通訊網路之設備控制方法,更包括: • 模式(二); 該榀測模式(二),則包括:該通訊網路區段2内,若無 任-之該輸人裝置41或該輸出裝置42處於雜趣式㈠/ 4控制模式(二)’則介接於相同之該通賴路區段2内之該些 輸入裝置41與該些輸出裝置42,就會依據所屬之該網路控制 優先權的設定來依序進行該檢測模式(一)。 • 該用於電力線通訊網路之設備控制方法,主要是利用資 料量較小的資料封包傳遞’以便在已普遍建置的電力線網路, 來進行多重通訊網路區段之平行網路系統架構的控制,藉以提 供網路设備端彼此之間’更有效率的數據資料傳輸與不易受干 擾、容錯性較高及高穩定度的設備控制方法,相當適合於區域 性之大樓建築群内部設備或是大數量之交通號誌的控制。 且藉由本發明之控制模式與檢測模式的運作,更可以讓 通§fl網路區段上所有的設備端來進行彼此之間的即時狀態更 201236400 新與資料紀錄;因此,不管通訊網路區段上是要新增或移除設 備,/、要疋介接於通網路區段的設備端,則均能藉由即時的 狀態更新來檢知、紀錄所有設備目前的狀態資訊,而使用者或 是設備監控端也更能夠即時掌握所有設備的運作情形,以便來 做對應的控制設定與檢修維護。 上述實施例僅為說明本發明之原理及其功效,並非限制 本發明;因此,習於此技術之人士對上述實施例進行修改及變 化仍不脫本發明之精神。本發明已具備產業上利用性、新穎性 及進步性,並符合發明專利要件,爰依法提起申請。 【圖式簡單說明】 第一圖電力線通訊網路系統之架構圖; 第二圖輸入裝置之方塊示意圖; 第三圖輸出裝置之方塊示意圖; 第四圖通訊網路區段内之資料封包傳遞示意圖(一); 第五圖通訊網路區段内之資料封包傳遞示意圖(二 第六圖監控設備之作用狀態示意圖。 【主要元件符號說明】 1電力線通訊網路系統 2通訊網路區段 3監控設備 201236400 4設備群組 41輸入裝置 42輸出裝置 43群組設定開關 5貧料封包 6網際網路 61遠端控制電腦 7電信網路 71行動手機裝置201236400 VI. Description of the Invention: [Technical Field] The present invention relates to a device control method for a power line communication network, in particular, a data packet transmission for more efficient data transmission and low interference, high Stability device control method. [Prior Art] In the traditional communication network equipment, the data transmission and control confirmation between the device terminals is mainly carried out by the mining company and the method of <_疋, this control method must be Confirmation with each device connected to the network, the control program is complicated and time consuming; and the backend device connected to the network must (4) the front end device (4) can be confirmed after the transmission is completed, so the network The more devices are routed by the road, the lower the transmission efficiency of the whole system is. Therefore, the traditional control method is obviously not suitable for the power line communication network with its own transmission rate. SUMMARY OF THE INVENTION The present invention mainly provides a more efficient data transmission and low interference and high stability through the transmission of data packets in order to provide a more efficient data transmission to the network device end in a generally established power line network system. Degree of device control method. 201236400 A device control method for a power line communication network is applied to a power line communication network system to control a device connected to a power line communication network... a power line communication network system including: a power line communication network, a plurality of input devices And a plurality of output devices and a plurality of monitoring devices; and the power line communication network includes: a plurality of communication network segments. The input devices and the output devices are connected to the power line communication network by lines to perform data transfer between the two; wherein the input devices and the output devices are both set There are group settings; these monitoring devices are connected to the furnace power line communication network by lines to transmit data. The device control method for the power line communication network includes: the communication network segments are transmitted by respective request packets, so that each of the communication network segments is connected to the (four) input device and the output devices , to carry out data between each other> The input device/the output device that is connected to the same communication network segment can be set to a specific device group via the group setting switch of the group; Wherein the communication network segment may include: at least one device group; the device group may include: at least one input device or output device. In the same communication network segment, the human device/the output device must obtain the network control secretary limit before the data packet transmission is performed in the communication network segment, and the fine transmission can be performed; The towel, the medium-sized wheel device and the output devices, which are connected to the power line communication network, are respectively provided with network control priority, so that the priority of the scale control limit of the riding (4) segment is obtained in the order of 201236400. . When the data packet is transmitted in the communication network segment, the input devices and the output devices of the same n network segment can simultaneously read the data data inside the data packet. A further understanding of the technical features of the present invention will be made by the reviewing committee, and a detailed description will be given below with reference to a specific embodiment. [Embodiment] • For the first embodiment, please refer to the first to sixth figures; a device control method for the power line communication network is applied to the power line communication network system to control the device connected by the power line communication network. The power line communication network system 1 includes: a power line communication network, a plurality of input devices 41, a plurality of output devices 42 and a plurality of monitoring devices 3, and the power line communication network includes: a plurality of communication network segments 2. The input devices 41 and the output devices 42 are both connected to the power line communication network by wires to perform data and data transmission between the two; wherein the input devices 41 and the output devices 42 Then, the group 5 is further provided with a group setting switch 43; the monitoring devices 3 are connected to the power line communication network by lines to transmit data data. "Hai equipment control method for power line communication network, including: the network area & 2, is transmitted by the respective (four) material packet 5, so that each of the haitong network section 2 is connected The input devices 41 do not have some output devices 42 for transmitting data between the offices. The input device 41/the output device 42 that is connected to the same communication network 201236400 road segment 2 can be set via the group setting switch 43 to which the input device 41/the output device 42 is The device group 4 can be configured as a specific device group 4; the communication network segment 2 can include: at least one device group 4; the device group 4 can include: at least one input device 41 or output device 42. If the input device 41/the output device 42' of the same communication network segment 2 is to transmit the data packet 5 in the communication network segment 2, the network control permission must be obtained before the data can be accessed. The transmission of the packet 5; wherein the input devices 41 and the rounding devices 42 that are connected to the power line communication network are respectively provided with network control priorities, thereby determining the acquisition of the communication network segment 2 The priority of network control permissions. When the data packet 5 is transmitted in the communication network segment 2, the input devices 41 and the output devices 42 of the same communication network segment 2 can simultaneously read the data inside the data packet 5. data. The device control method for the power line communication network includes: a system mode (1); the control mode (1) includes: the input device 41 of the communication network segment 2, by using the communication network The transmission of the data packet 5 in the road segment 2 is used to set the state setting data of the same rounding device to be controlled in the device group 4, thereby changing the current state of the device. 201236400 The device control method for the power line communication network further includes a ._system mode (2); the §hai control mode (2)' includes the current wheel device 41 of the communication network segment 2, by which Transmitting the data packet 5 in the communication network segment 2 to set the state setting data of the rounding device 42 to be controlled in the same device group 4, thereby changing the current state of the device; and simultaneously, The incoming devices 41 and the rounding devices 42 in the same communication network segment 2 can update the data packets by the transmission of the data packet $ in the communication network segment 2 a network device status table stored by the human device 41 and the recording device 42 to synchronously update all of the input devices 41 connected to the network device status table and connected to the communication network segment 2 The status setting data corresponding to the current device 42 is turned on. That is, the input device 41 correspondingly changes the state of the network device stored in the output device 42 according to the output device 42 to be controlled in the same device group 4 to which the state change setting is to be performed. The content of the table, and the data packet 5 is further transmitted in the communication network segment 2 in the form of the data packet 5; and the other input devices 41 in the same communication network segment 2 are The output devices 42 can synchronously update the input devices 41 and the network devices stored in the output devices by reading the contents of the data seals. The towel, the output device 42 to be controlled, after updating the internal device state table stored in the device, will change according to the state of the device of the device. 201236400 The status of the device 42 sets the content of the data; therefore, the output device 42 to be controlled corresponds to the current state of the device according to the changed state setting data. The device control method for the power line communication network further includes: a detection mode (1); the detection mode (1) includes: the input devices 41 interfacing with the same communication network segment 2 and the The output device 42 can compare the data device status table stored in the input device 41 and the output device 42 by using the data packet 5 in the communication network segment 2, so that Confirm that the record data of the network device status table is correct and has been updated to the immediate data status. That is, the input device 41 or the output device 42 can store the content of the network device status table stored therein in the form of the data packet 5 in the traffic path segment 2 within a specific time. The transfer of the dragon packet 5; and the other input devices 41 or the output devices 42 in the same communication network segment 2 can be compared by reading the contents of the data packet 5 The network device status table stored in the input device 41 or the output devices 42 is provided as to whether the remaining state _(4) is correct and has been updated to (4) the data status; If the comparison is confirmed to be incorrect or inconsistent, a warning sound, light or text message will be displayed. And the monitoring device 3 of the communication network segment 2 detects the communication network 201236400 \ two segments. 2 k When the input device 41 or the output device 42 generates an abnormal state of warning sound, light or text message display, the instant warning message may be sent to the remote control computer 61, or via the network; 7 to send (4) a warning message to the mobile handset device 7 to notify the user or related equipment maintenance personnel. The device control method for the power line communication network further includes: • mode (2); the guess mode (2) includes: in the communication network segment 2, if there is no - the input device 41 or the The output device 42 is in the interesting (1) / 4 control mode (2) 'the interface device 41 and the output device 42 that are connected to the same pass-through segment 2, according to the network The setting of the road control priority is performed in this order (1). • The device control method for the power line communication network is mainly to use the data packet with a small amount of data to transmit 'in order to control the parallel network system architecture of the multiple communication network segment in the generally established power line network. In order to provide more efficient data transmission and non-interfering, fault-tolerant and high-stability equipment control methods between network devices, it is quite suitable for regional building complex internal equipment or Control of a large number of traffic signs. Moreover, with the operation of the control mode and the detection mode of the present invention, all the device terminals on the §fl network segment can be used to perform the real-time status of each new 201236400 data record; therefore, regardless of the communication network segment In order to add or remove devices, / to connect to the device side of the network segment, the current status update can be used to detect and record the current status information of all devices. Or the device monitoring terminal can also grasp the operation of all devices in real time, so as to make corresponding control settings and maintenance. The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention; therefore, modifications and variations of the embodiments described above will be made without departing from the spirit of the invention. The invention has the industrial applicability, novelty and progress, and meets the requirements of the invention patent, and files an application according to law. [Simple diagram of the diagram] The first diagram of the power line communication network system; the second diagram of the input device; the third diagram of the output device; the fourth diagram of the data packet transmission in the communication network segment (a Figure 5 Schematic diagram of the data packet transmission in the communication network segment (2) Figure 6 shows the function status of the monitoring device. [Main component symbol description] 1 power line communication network system 2 communication network segment 3 monitoring device 201236400 4 device group Group 41 input device 42 output device 43 group setting switch 5 poor material packet 6 internet 61 remote control computer 7 telecommunication network 71 mobile mobile phone device