TW202044801A - System for controlling sensing equipment and method thereof - Google Patents

System for controlling sensing equipment and method thereof Download PDF

Info

Publication number
TW202044801A
TW202044801A TW108116931A TW108116931A TW202044801A TW 202044801 A TW202044801 A TW 202044801A TW 108116931 A TW108116931 A TW 108116931A TW 108116931 A TW108116931 A TW 108116931A TW 202044801 A TW202044801 A TW 202044801A
Authority
TW
Taiwan
Prior art keywords
data
module
sensing device
telephone line
line network
Prior art date
Application number
TW108116931A
Other languages
Chinese (zh)
Other versions
TWI688236B (en
Inventor
呂侑陞
郭鑫杰
黃欽孟
張朝曦
張光燦
Original Assignee
中華電信股份有限公司
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 中華電信股份有限公司 filed Critical 中華電信股份有限公司
Priority to TW108116931A priority Critical patent/TWI688236B/en
Application granted granted Critical
Publication of TWI688236B publication Critical patent/TWI688236B/en
Publication of TW202044801A publication Critical patent/TW202044801A/en

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

A system for controlling sensing equipment and a method thereof, comprising: a sensing device connected to a telephone line network; a data collector connected to the telephone line network; a management platform connected to a public switched telephone network and internet, and the public switched telephone network connected to the telephone line network; and a control device controls the sensing device through the management platform and the data collector.

Description

控制感測設備之系統與其方法 System and method for controlling sensing equipment

本發明係有關一種感測設備技術,尤指一種控制感測設備之系統與其方法。 The present invention relates to a sensing device technology, in particular to a system and method for controlling the sensing device.

以智慧家庭物聯網設備而言,大致分為有線與無線設備兩大類,且皆須透過網際網路連線才可進行控制。 As far as smart home IoT devices are concerned, they are roughly divided into two categories: wired and wireless devices, and they can all be controlled through an Internet connection.

有線設備受限於施工不容易與建置成本較高,雖然通訊傳輸較無線設備穩定,但是應用於後裝市場服務時,礙於有線線路之限制,消費者無法輕易自行擴充與安裝配置。 Wired equipment is limited by the difficulty of construction and the higher construction cost. Although the communication transmission is more stable than wireless equipment, when it is applied to the after-installation market service, consumers cannot easily expand and install the configuration due to the limitation of wired lines.

一般來說,無線設備提供消費者自行安裝與擴充之彈性,但是無線設備較容易受環境的影響,例如:裝潢、隔間或是氣候潮濕等不可抗力因素,都會影響無線傳輸的品質。 Generally speaking, wireless devices provide consumers with the flexibility to install and expand themselves, but wireless devices are more susceptible to environmental influences. For example, decoration, compartments, or force majeure factors such as humid weather will affect the quality of wireless transmission.

因此,如何提供一種穩定、建置容易及低建置成本的物聯網設備,則成為目前的重要課題。 Therefore, how to provide a stable, easy-to-build and low-cost IoT device has become an important issue at present.

為解決上述問題,本發明提供一種控制感測設備之系統,係包括:控制裝置,係連接網際網路,以傳送第一傳送資料或接收第一回報資料,其中,該第一傳送資料包含控制資料及裝置註冊資料,該第一回報資料包含感測資料、狀態資料以及感測設備清單資料,其中,該控制資料包含控制指令及感測設備ID;管理平台,係連接該網際網路及公用交換電話網路,其中,該公用交換電話網路連接電話線網路,以透過該網際網路接收該第一傳送資料及傳送該第一回報資料,並透過該公用交換電話網路與該電話線網路傳送該控制資料,以及接收該第一回報資料;資料收集器,係連接該電話線網路,且該資料收集器包含:第二電話處理模組,係偵測該電話線網路是否被佔線及透過該電話線網路撥接電話;及第二資料傳接模組,係透過該電話線網路及該公用交換電話網路傳送該第一回報資料以及接收該控制資料,或透過該電話線網路傳送該控置資料以及接收該感測資料及狀態資料;以及感測設備,係連接該電話線網路,且該感測設備包含:第三資料傳接模組,係透過該電話線網路傳送該感測資料及狀態資料,以及接收該控制資料;及執行模組,係執行該控制資料中的控制指令。 To solve the above-mentioned problems, the present invention provides a system for controlling sensing equipment, which includes: a control device connected to the Internet to transmit first transmission data or receive first report data, wherein the first transmission data includes control Data and device registration data. The first report data includes sensing data, status data, and sensing device list data. The control data includes control commands and sensing device IDs; the management platform is connected to the Internet and public A switched telephone network, wherein the public switched telephone network is connected to a telephone line network to receive the first transmission data and transmit the first report data through the Internet, and communicate with the telephone through the public switched telephone network The line network transmits the control data and receives the first report data; the data collector is connected to the telephone line network, and the data collector includes: a second telephone processing module, which detects the telephone line network Whether the line is busy and the call is made through the telephone line network; and the second data transmission module transmits the first report data and receives the control data through the telephone line network and the public switched telephone network, or Transmit the control data and receive the sensing data and status data through the telephone line network; and the sensing device is connected to the telephone line network, and the sensing device includes: a third data transmission module, The sensor data and status data are transmitted through the telephone line network, and the control data is received; and the execution module executes the control commands in the control data.

於一實施例中,該感測設備更包含:產生該感測資料、該狀態資料之感測器。 In one embodiment, the sensing device further includes: a sensor that generates the sensing data and the status data.

於一實施例中,該資料收集器更包括第二共通性資料存取模組,係依據該第二資料傳接模組接收該感測設備的第三資料傳接模組所傳送的設備註冊資料,以產生該感測設備的感測設備ID,進而將該感測設備的感測設備ID傳送至該感測設備。 In one embodiment, the data collector further includes a second common data access module, based on which the second data transfer module receives the device registration sent by the third data transfer module of the sensing device Data to generate the sensing device ID of the sensing device, and then transmit the sensing device ID of the sensing device to the sensing device.

於一實施例中,該感測設備更包括設備註冊模組,係提供該設備註冊資料給該第三資料傳接模組。 In one embodiment, the sensing device further includes a device registration module, which provides the device registration data to the third data transfer module.

於一實施例中,該資料收集器更包括第二號碼設定模組,係設定第一號碼為該電話線網路的電話號碼,以及儲存該管理平台的平台號碼。 In one embodiment, the data collector further includes a second number setting module, which sets the first number as the telephone number of the telephone line network and stores the platform number of the management platform.

於一實施例中,該資料收集器的第二共通性資料存取模組更包括將該資料收集器、該資料收集器所管控的感測設備的感測設備ID以及該第一號碼整合成該感測設備清單資料。 In one embodiment, the second common data access module of the data collector further includes the data collector, the sensing device ID of the sensing device controlled by the data collector, and the first number are integrated into List information of the sensing equipment.

於一實施例中,該資料收集器的第二電話處理模組透過該電話線網路與該管理平台的該第一電話處理模組進行通話,其中,當該第二電話處理模組為該通話的接聽方時,依據該第二號碼設定模組所儲存該管理平台的平台號碼,偵測該電話線網路是否來自該管理平台的第一電話處理模組所發出的第一撥話訊號,若是,則搶先接聽該第一撥話訊號,若否,則不接聽。 In one embodiment, the second telephone processing module of the data collector communicates with the first telephone processing module of the management platform through the telephone line network, wherein, when the second telephone processing module is the When the answering party of the call, according to the platform number of the management platform stored in the second number setting module, detect whether the telephone line network comes from the first dialing signal sent by the first telephone processing module of the management platform , If yes, answer the first call signal first, if not, don't answer.

於一實施例中,該感測設備更包括訊號偵測模組,係偵測該電話線網路是否被佔線。 In one embodiment, the sensing device further includes a signal detection module to detect whether the telephone line network is busy.

於一實施例中,該第一資料傳接模組、第二資料傳接模組及第三資料傳接模組係為雙音多頻訊號傳接模組,該雙音多頻訊號傳接模組係將任一種資料調變成雙音多頻訊號進行傳輸以及將接收到的該雙音多頻訊號解調變成該任一種資料。 In one embodiment, the first data transmission module, the second data transmission module, and the third data transmission module are dual-tone multi-frequency signal transmission modules, and the dual-tone multi-frequency signal transmission module The module modulates any kind of data into a dual-tone multi-frequency signal for transmission and demodulates the received dual-tone multi-frequency signal into any kind of data.

於一實施例中,該感測設備更包括微控制器,係於該第三資料傳接模組在接收到該控制資料後,判斷該控制資料中的感測設備ID與該感測設備的感測設備ID不一致時,則將該控制資料刪除。 In one embodiment, the sensing device further includes a microcontroller. After the third data transfer module receives the control data, it determines the sensing device ID and the sensing device ID in the control data. When the ID of the sensing device is inconsistent, the control data is deleted.

本發明另提供一種控制感測設備之方法,係包括:令控制裝置向管理平台的第一共通性資料存取模組註冊,並於註冊後從該管理平台的第一共通性資料存取模組中取得感測設備清單資料,其中,該感測設備清單資料包含資料收集器以及該資料收集器所管控的感測設備的感測設備ID;令該管理平台的網路模組接收該控制裝置所傳送用以控制該感測設備清單資料中之感測設備的控制資料,其中,該控制資料包含控制指令以及該感測設備ID;令該資料收集器的第二資料傳接模組接收該管理平台的第一資料傳接模組所傳送的該控制資料;令該感測設備的第三資料傳接模組接收該資料收集器的第二資料傳接模組所傳送的該控制資料;令該資料收集器的第二資料傳接模組接收該感測設備的第三資料傳接模組所傳送的回報資料,其中,該回報資料包含感測資料及該感測設備ID,其中,該感測資料係為該感測設備的感測器在執行或未執行該控制資料的控制指令時所感測到的資料;令該管理平台的第一資料傳接模組接收該資料收集器的第二資料傳接模組所傳送的該回報資料;以及令該管理平台的網路模組傳送該回報資料至該控制裝置。 The present invention also provides a method for controlling a sensing device, which includes: registering a control device with a first common data access module of a management platform, and after registration, from the first common data access module of the management platform Get the sensing device list data from the group, where the sensing device list data includes the data collector and the sensing device ID of the sensing device controlled by the data collector; make the network module of the management platform receive the control The control data sent by the device to control the sensing equipment in the sensing equipment list data, wherein the control data includes a control command and the sensing equipment ID; the second data transfer module of the data collector is made to receive The control data sent by the first data transfer module of the management platform; make the third data transfer module of the sensing device receive the control data sent by the second data transfer module of the data collector ; Make the second data transfer module of the data collector receive the report data sent by the third data transfer module of the sensing device, wherein the report data includes the sensing data and the sensing device ID, wherein , The sensing data is the data sensed by the sensor of the sensing device when the control command of the control data is executed or not executed; the first data transfer module of the management platform is made to receive the data collector The report data sent by the second data transmission module of the second data transmission module; and the network module of the management platform transmits the report data to the control device.

於一實施例中,該感測設備清單資料更包括第一號碼,以令該管理平台的網路模組進一步包括接收該控制裝置所傳送的該第一號碼,其中,該第一號碼係為該資料收集器及其管控的感測設備所連接之電話線網路的電話號碼。 In an embodiment, the sensing device list data further includes a first number, so that the network module of the management platform further includes receiving the first number transmitted by the control device, wherein the first number is The telephone number of the telephone line network to which the data collector and its controlled sensing device are connected.

於一實施例中,更包括:令管理平台的第一電話處理模組撥打該第一號碼及產生第一撥話訊號,並透過公用交換電話網路傳送該第一撥話訊號至該第一號碼所屬的電話線網路中,其中,該第一撥話訊號包含振鈴訊號及平台號碼顯示訊號,而該平台號碼顯示訊號係代表該管理平台之電話號碼的平台號碼;以及當該資料收集器的第二電話處理模組從電話線網路接聽該第一撥話訊號後,令該資料收集器的第二資料傳接模組接收該管理平台的第一資料傳接模組所傳送的該控制資料。 In one embodiment, it further includes: making the first telephone processing module of the management platform dial the first number and generate the first dialing signal, and transmitting the first dialing signal to the first dialing signal through the public switched telephone network. In the telephone line network to which the number belongs, the first call signal includes a ringing signal and a platform number display signal, and the platform number display signal is the platform number representing the telephone number of the management platform; and when the data collector After receiving the first dialing signal from the telephone line network, the second telephone processing module makes the second data transfer module of the data collector receive the data transmitted by the first data transfer module of the management platform Control data.

於一實施例中,更包括:令該資料收集器的第二電話處理模組係依據該資料收集器的第二號碼設定模組所設定的該平台號碼判斷該第一撥話訊號是否來自該管理平台,若是,則接聽該第一撥話訊號,若不是,則不接聽。 In one embodiment, it further includes: enabling the second telephone processing module of the data collector to determine whether the first dialing signal comes from the platform number set by the second number setting module of the data collector The management platform, if it is, it will answer the first call signal, if it is not, it will not answer it.

於一實施例中,其中,該感測設備的第三資料傳接模組接收該資料收集器的第二資料傳接模組所傳送的該控制資料係包括:令該資料收集器的第二電話處理模組偵測該電話線網路是否被佔線;若否,令該資料收集器的第二資料傳接模組透過該電話線網路傳送該控制資料至該感測設備;若是,令該資料收集器的第二電話處理模組等待該電話線網路未被佔線時,以令該資料收集器的第二資料傳接模組透過該電話線網路傳送該控制資料至該感測設備;令該感測設備的第三傳接資料模組接收該控制資料,其中,當該感測設備的微控制器判斷該控制資料中的感測設備ID與該感測設備的感測設備ID不一致時,則將該控制資料刪除。 In one embodiment, wherein the third data transfer module of the sensing device receives the control data transmitted by the second data transfer module of the data collector includes: making the second data collector of the data collector The telephone processing module detects whether the telephone line network is busy; if not, the second data transmission module of the data collector transmits the control data to the sensing device through the telephone line network; if so, When the second telephone processing module of the data collector waits for the telephone line network to be not busy, so that the second data transmission module of the data collector transmits the control data to the sensor through the telephone line network Device; make the third data transfer module of the sensing device receive the control data, wherein, when the microcontroller of the sensing device determines the sensing device ID in the control data and the sensing device of the sensing device When the IDs are inconsistent, delete the control data.

於一實施例中,其中,令該資料收集器的第二資料傳接模組接收該感測設備的第三資料傳接模組所傳送的回報資料係包含:令該感 測設備的訊號偵測模組偵測該電話線網路是否被佔線;若否,令該感測設備的第三資料傳接模組透過該電話線網路傳送該回報資料至該資料收集器;若是,令該感測設備的訊號偵測模組等待到該電話線網路未被佔線時,以令該感測設備的第三資料傳接模組透過該電話線網路傳送該回報資料至該資料收集器;以及令該資料收集器的第二資料傳接模組接收該回報資料。 In one embodiment, in which the second data transfer module of the data collector receives the report data sent by the third data transfer module of the sensing device includes: making the sensor The signal detection module of the test equipment detects whether the telephone line network is busy; if not, the third data transmission module of the sensing equipment sends the report data to the data collector through the telephone line network ; If yes, make the signal detection module of the sensing device wait until the telephone line network is not busy, so that the third data transmission module of the sensing device transmits the report data through the telephone line network To the data collector; and make the second data transmission module of the data collector receive the report data.

於一實施例中,其中,令該管理平台的第一資料傳接模組接收該資料收集器的第二資料傳接模組所傳送的該回報資料係包含:令該資料收集器的第二電話處理模組於該電話線網路未被佔線時,撥打該資料收集器的第二號碼設定模組所儲存的該平台號碼及產生第二撥話訊號,並透過電話線網路及公用交換電話網路傳送該第二撥話訊號至該管理平台;令該管理平台的第一電話處理模組接聽該第二撥話訊號;令該資料收集器的第二資料傳接模組透過電話線網路及公用交換電話網路傳送該回報資料至該管理平台;以及令該管理平台的第一資料傳接模組接收該回報資料。 In one embodiment, the report data sent by the first data transfer module of the management platform to receive the second data transfer module of the data collector includes: the second data transfer module of the data collector When the telephone line network is not busy, the telephone processing module dials the platform number stored in the second number setting module of the data collector and generates the second dialing signal, and uses the telephone line network and public exchange The telephone network transmits the second dialing signal to the management platform; making the first telephone processing module of the management platform answer the second dialing signal; making the second data transfer module of the data collector pass the telephone line The network and the public switched telephone network transmit the report data to the management platform; and make the first data transfer module of the management platform receive the report data.

於一實施例中,更包括避免傳送干擾與重傳機制步驟,係包括:步驟(1):令傳送端準備傳送資料,將要傳送的全部資料進行XOR(Exclusive OR),以得到第一Checksum值;步驟(2):令該傳送端傳送該全部資料至接收端;步驟(3):令該接收端將所接收到的該全部資料進行XOR,以得到第二checksum值;步驟(4):令該接收端回傳該第二checksum值至該傳送端;步驟(5):令該傳送端判斷該第二checksum值是否與該第一Checksum值一致;步驟(6):若一致,則回傳結束指令至該接收端並結束此傳送,若不一致,則回到該步驟(1);其中,該傳送端與該 接收端係為該控制裝置、該管理平台、該資料收集器或該感測設備,且該傳送端不同於該接收端。 In one embodiment, it further includes the steps of avoiding transmission interference and retransmission mechanism, including: Step (1): Make the transmitting end prepare to transmit data, and perform XOR (Exclusive OR) on all the data to be transmitted to obtain the first Checksum value Step (2): Make the transmitting end send all the data to the receiving end; Step (3): Make the receiving end XOR all the received data to obtain the second checksum value; Step (4): Make the receiving end return the second checksum value to the transmitting end; step (5): make the transmitting end determine whether the second checksum value is consistent with the first Checksum value; step (6): if they are consistent, return Send the end command to the receiving end and end the transmission. If they are inconsistent, go back to step (1); among them, the transmitting end and the The receiving end is the control device, the management platform, the data collector or the sensing device, and the transmitting end is different from the receiving end.

因此,本發明有以下技術優點: Therefore, the present invention has the following technical advantages:

1.穩定與不受地理環境影響,可任意擴充物聯網設備的系統。 1. Stable and unaffected by the geographical environment, the system of IoT devices can be expanded arbitrarily.

2.可以相容於一般家中電話機與建築物的傳統電話線路物聯網傳輸裝置與架構。 2. It is compatible with traditional telephone line IoT transmission devices and architectures in general home telephones and buildings.

3.低成本的物聯網服務,消費者不需申請一條ADSL網路,適用於無網路環境的建築物。 3. Low-cost Internet of Things services, consumers do not need to apply for an ADSL network, suitable for buildings without Internet environment.

由上述可知,本發明由電話線網路連接感測設備及資料收集器產生的物聯網設備端,且管理平台係具有網際網路介面及電話介面,讓使用網際網路之控制端的控制裝置可透過管理平台控制由電話線網路組成的該物聯網設備端中之感測設備,該物聯網設備端之設備的連接以電話線替代網際網路,讓使用者在架設物聯網設備端時,不需特別申請一條ADSL網路來連接物聯網設備端中的設備,進而提高建置物聯網設備端的便利性及降低建置物聯網設備端的成本。 It can be seen from the above that the present invention connects the sensing equipment and data collector to the Internet of Things device end generated by the telephone line network, and the management platform has an Internet interface and a telephone interface, so that the control device of the control end using the Internet can be Through the management platform to control the sensing equipment in the Internet of Things device composed of a telephone line network, the connection of the device on the Internet of Things device side replaces the Internet with a telephone line, allowing users to set up the Internet of Things device side There is no need to specially apply for an ADSL network to connect the devices in the IoT device side, thereby improving the convenience of building the IoT device side and reducing the cost of building the IoT device side.

1‧‧‧管理平台 1‧‧‧Management Platform

2‧‧‧控制裝置 2‧‧‧Control device

3‧‧‧資料收集器 3‧‧‧Data Collector

4,4a,4b‧‧‧感測設備 4,4a,4b‧‧‧sensing equipment

5‧‧‧一般話機 5‧‧‧Regular phone

6‧‧‧網際網路 6‧‧‧Internet

7‧‧‧公用交換電話網路 7‧‧‧Public switched telephone network

8‧‧‧電話線網路 8‧‧‧Telephone line network

11‧‧‧第一RJ11介面 11‧‧‧First RJ11 interface

12‧‧‧RJ45介面 12‧‧‧RJ45 interface

13‧‧‧網路模組 13‧‧‧Network Module

14‧‧‧第一資料傳接模組 14‧‧‧First data transfer module

15‧‧‧第一號碼設定模組 15‧‧‧First number setting module

16‧‧‧第一電話處理模組 16‧‧‧The first telephone processing module

17‧‧‧第一共通性資料存取模組 17‧‧‧The first common data access module

31‧‧‧第二RJ11介面 31‧‧‧Second RJ11 interface

32‧‧‧中央處理器 32‧‧‧Central Processing Unit

33‧‧‧第二資料傳接模組 33‧‧‧Second data transfer module

34‧‧‧第二號碼設定模組 34‧‧‧Second number setting module

35‧‧‧第二電話處理模組 35‧‧‧Second telephone processing module

36‧‧‧收集器註冊模組 36‧‧‧ Collector Registration Module

37‧‧‧第二共通性資料存取模組 37‧‧‧Second Common Data Access Module

41‧‧‧第三RJ介面 41‧‧‧Third RJ interface

42‧‧‧微控制器 42‧‧‧Microcontroller

43‧‧‧感測器 43‧‧‧Sensor

44‧‧‧第三資料傳接模組 44‧‧‧Third data transfer module

45‧‧‧訊號偵測模組 45‧‧‧Signal detection module

46‧‧‧設備註冊模組 46‧‧‧Device Registration Module

47‧‧‧執行模組 47‧‧‧Execution Module

S1~S10,S7-1~S7-5,S8-1~S8-5,S9-1~S9-6,S11~S16‧‧‧步驟 S1~S10,S7-1~S7-5,S8-1~S8-5,S9-1~S9-6,S11~S16‧‧‧Step

第1圖係本發明之控制感測設備之系統之示意架構圖;第2圖係本發明之管理平台之示意架構圖;第3圖係本發明之資料收集器之示意架構圖;第4圖係本發明之感測設備之示意架構圖; 第5A-5B圖係本發明之控制感測設備之方法之步驟流程圖;第6圖係本發明之控制感測設備之方法之步驟S7之步驟流程圖;第7圖係本發明之控制感測設備之方法之步驟S8之步驟流程圖;第8圖係本發明之控制感測設備之方法之步驟S9之步驟流程圖;以及第9圖係本發明之避免傳送干擾與重傳機制之步驟流程圖。 Figure 1 is a schematic architecture diagram of the system for controlling sensing equipment of the present invention; Figure 2 is a schematic architecture diagram of the management platform of the present invention; Figure 3 is a schematic architecture diagram of the data collector of the present invention; Figure 4 Is a schematic structural diagram of the sensing device of the present invention; Figures 5A-5B are the step flow diagrams of the method of controlling the sensing equipment of the present invention; Figure 6 is the step flow diagram of step S7 of the method of controlling the sensing equipment of the present invention; Figure 7 is the step flow chart of the control sense of the present invention The flowchart of step S8 of the method of measuring equipment; Fig. 8 is the flowchart of step S9 of the method of controlling the sensing device of the present invention; and Fig. 9 is the steps of the transmission interference avoidance and retransmission mechanism of the present invention flow chart.

以下藉由特定的具體實施例說明本發明之實施方式,熟悉此技藝之人士可由本說明書所揭示之內容輕易地瞭解本發明之其他優點及功效。 The following specific examples illustrate the implementation of the present invention. Those familiar with the art can easily understand the other advantages and effects of the present invention from the contents disclosed in this specification.

須知,本說明書所附圖式所繪示之結構、比例、大小等,均僅用以配合說明書所揭示之內容,以供熟悉此技藝之人士之瞭解與閱讀,並非用以限定本發明可實施之限定條件,故不具技術上之實質意義,任何結構之修飾、比例關係之改變或大小之調整,在不影響本發明所能產生之功效及所能達成之目的下,均應仍落在本發明所揭示之技術內容得能涵蓋之範圍內。同時,本說明書中所引用之如「第一」、「第二」及「第三」等之用語,亦僅為便於敘述之明瞭,而非用以限定本發明可實施之範 圍,其相對關係之改變或調整,在無實質變更技術內容下,當視為本發明可實施之範疇。 It should be noted that the structures, proportions, sizes, etc. shown in the drawings in this manual are only used to match the contents disclosed in the manual for the understanding and reading of those familiar with the art, and are not intended to limit the implementation of the present invention Therefore, it does not have any technical significance. Any structural modification, proportional relationship change, or size adjustment should still fall within the scope of the present invention without affecting the effects and objectives that can be achieved. The technical content disclosed by the invention can be covered. At the same time, the terms such as "first", "second" and "third" quoted in this specification are only for ease of description, not to limit the scope of the present invention. The change or adjustment of its relative relationship shall be regarded as the scope of the implementation of the present invention without substantial changes to the technical content.

第1圖係本發明之控制感測設備之系統之示意架構圖。如圖所示,該系統係包括:管理平台1、控制裝置2、資料收集器3、感測設備4、一般話機5、網際網路6、公用交換電話網路7以及電話線網路8,其中,資料收集器3、感測設備4及一般話機5皆連接至電話線網路8,控制裝置2介接網際網路6,管理平台1係連接網際網路6以及公用交換電話網路7,且公用交換電話網路7連接電話線網路8。 Figure 1 is a schematic architecture diagram of the system for controlling the sensing device of the present invention. As shown in the figure, the system includes: a management platform 1, a control device 2, a data collector 3, a sensing device 4, a regular phone 5, the Internet 6, a public switched telephone network 7, and a telephone line network 8. Among them, the data collector 3, the sensing device 4 and the general telephone 5 are all connected to the telephone line network 8, the control device 2 is connected to the Internet 6, and the management platform 1 is connected to the Internet 6 and the public switched telephone network 7. , And the public switched telephone network 7 is connected to the telephone line network 8.

管理平台1係接收控制裝置2傳送欲控制感測設備4的控制指令,以及傳送該控制指令至該資料收集器3,以令資料收集器3在接收該控制指令後,再傳送該控制指令至感測設備4,以供感測設備4執行該控制指令。 The management platform 1 receives the control command sent by the control device 2 to control the sensing device 4, and sends the control command to the data collector 3, so that the data collector 3 sends the control command to the data collector 3 after receiving the control command The sensing device 4 is used for the sensing device 4 to execute the control instruction.

資料收集器3係收集感測設備4的感測資料、狀態資料,並傳送感測設備4的感測資料、狀態資料至管理平台1,以供控制裝置2藉由管理平台1檢視感測設備4的感測資料、狀態資料。 The data collector 3 collects the sensing data and status data of the sensing device 4, and sends the sensing data and status data of the sensing device 4 to the management platform 1, so that the control device 2 can view the sensing device through the management platform 1 4 sensor data, status data.

電話線網路8係具有一第一號碼,以供其他發話裝置或管理平台1撥打該第一號碼及產生撥話訊號,並透過該公用交換電話網路7傳送該撥話訊號至該第一號碼所屬的電話線網路8中,以供電話線網路8中的一般話機5或資料收集器3從電話線網路8接聽該撥話訊號,其中,資料收集器3係只搶先接聽管理平台1所發出的撥話訊號,使一般話機5只能接到該其他發話裝置所發出的撥話訊號並進行通話。 The telephone line network 8 has a first number for other calling devices or management platforms 1 to dial the first number and generate a dialing signal, and transmit the dialing signal to the first via the public switched telephone network 7. In the telephone line network 8 to which the number belongs, the ordinary telephone 5 or data collector 3 in the telephone line network 8 can receive the dialing signal from the telephone line network 8. The data collector 3 is only the first to answer the management The dialing signal sent by the platform 1 makes the ordinary phone 5 only receive the dialing signal sent by the other calling device and make a call.

於一實施例中,控制裝置2、感測設備4及一般話機5可為單數個或複數個,但不以此為限。 In an embodiment, the control device 2, the sensing device 4, and the general phone 5 may be singular or plural, but not limited thereto.

於一實施例中,控制裝置2係為行動裝置或電腦,但不以此為限。 In one embodiment, the control device 2 is a mobile device or a computer, but it is not limited to this.

於一實施例中,電話線網路8係為室內的電話線網路,但不以此為限。 In one embodiment, the telephone line network 8 is an indoor telephone line network, but it is not limited to this.

第2圖係本發明之管理平台之示意架構圖。如圖所示,管理平台1係包括:第一RJ11介面11、RJ45介面12、網路模組13、第一資料傳接模組14、第一號碼設定模組15、第一電話處理模組16以及第一共通性資料存取模組17。 Figure 2 is a schematic architecture diagram of the management platform of the present invention. As shown in the figure, the management platform 1 includes: a first RJ11 interface 11, an RJ45 interface 12, a network module 13, a first data transmission module 14, a first number setting module 15, and a first telephone processing module 16 and the first common data access module 17.

於一實施例中,管理平台1係為雲端伺服器,且各個模組13~17係為應用程式並儲存在資料收集器3中的儲存裝置(未圖示)中,以提供管理平台1中的處理器執行各個模組13~17的應用程式,而第一RJ11介面11、RJ45介面12以及管理平台1中的儲存裝置與的處理器係為硬體裝置且皆連接管理平台1中的線路,但不以此為限。 In one embodiment, the management platform 1 is a cloud server, and each module 13-17 is an application program and is stored in a storage device (not shown) in the data collector 3 to provide the management platform 1 The processor executes the application programs of each module 13~17, and the first RJ11 interface 11, RJ45 interface 12, and the storage device and the processor in the management platform 1 are hardware devices and are all connected to the circuits in the management platform 1. , But not limited to this.

網路模組13係透過該網際網路接收第一傳送資料,以及傳送該第一回報資料。 The network module 13 receives the first transmission data through the Internet and transmits the first report data.

RJ45介面12係為網際網路介面,其可連線網際網路6,以供管理平台1的網路模組13使用網際網路6與控制裝置2進行資料的傳送或接收。 The RJ45 interface 12 is an Internet interface, which can connect to the Internet 6 for the network module 13 of the management platform 1 to use the Internet 6 and the control device 2 to transmit or receive data.

第一號碼設定模組15係設定管理平台1的平台號碼。 The first number setting module 15 sets the platform number of the management platform 1.

第一電話處理模組16係具有撥接電話功能,以進行通話。 The first telephone processing module 16 has the function of dialing and receiving calls to make calls.

第一資料傳接模組14係利用該第一電話處理模組16進行通話所使用的線路(如公用交換電話網路7及電話線網路8)傳送該控制資料、以及接收該第一回報資料、收集器註冊資料。 The first data transmission module 14 uses the line (such as the public switched telephone network 7 and the telephone line network 8) used by the first telephone processing module 16 for the call to transmit the control data and receive the first report Data, collector registration data.

第一RJ介面11係為電話線接頭,以連接公用交換電話網路7,以供第一電話處理模組16使用公用交換電話網路7撥接電話,以及供管理平台1的第一資料傳接模組14使用公用交換電話網路7及電話線網路8與資料收集器3之間進行資料的傳送或接收。 The first RJ interface 11 is a telephone line connector to connect to the public switched telephone network 7, for the first telephone processing module 16 to use the public switched telephone network 7 to make and receive calls, and for the first data transmission of the management platform 1. The connection module 14 uses the public switched telephone network 7 and telephone line network 8 to transmit or receive data between the data collector 3.

第一共通性資料存取模組17係藉由第一資料傳接模組14取得資料收集器3所傳送的收集器註冊資料、該第一回報資料,並將該第一回報資料藉由網路模組13供控制裝置2檢視,以及藉由網路模組13取得控制裝置2所傳送第一傳送資料,並藉由第一資料傳接模組14傳送該控制資料至資料收集器3,其中,該第一傳送資料包含控制資料、第一號碼及裝置註冊資料,該第一回報資料包含感測資料、狀態資料以及感測設備清單資料,其中,該控制資料包含控制指令及感測設備ID。 The first common data access module 17 obtains the collector registration data and the first report data sent by the data collector 3 through the first data transfer module 14, and transmits the first report data to the Internet The path module 13 is for the control device 2 to view, and obtains the first transmission data sent by the control device 2 through the network module 13, and transmits the control data to the data collector 3 through the first data transmission module 14. Wherein, the first transmission data includes control data, a first number, and device registration data, the first report data includes sensing data, status data, and sensing equipment list data, and the control data includes control commands and sensing equipment ID.

於一實施例中,第一共通性資料存取模組17在依據該裝置註冊資料允許該控制裝置2註冊後,控制裝置2之使用者係依據向管理平台1之第一共通性資料存取模組17檢視的感測設備清單資料中,選擇欲控制感測設備4的感測設備ID及其所連接之電話線網路8的該第一號碼,並下達欲控制感測設備4的控制指令,並由管理平台1的第一共通性資料存取模組17藉由網路模組13接收控制裝置2所傳送欲控制感測設備4的的感測設備ID、控制指令及所連接之電話線網路8的該第一號碼,以令該管理平台1的第一電話處理模組16撥打該第一號碼及產生第一撥話訊號,並透過公用交 換電話網路7傳送該第一撥話訊號至該第一號碼所屬的電話線網路8中,以於資料收集器3的第二電話處理模組35從電話線網路8接聽該第一撥話訊號後,才令該管理平台的第一共通性資料存取模組17藉由第一資料傳接模組14使用該公用交換電話網路7及該電話線網路8傳送包含欲控制感測設備4的的感測設備ID及控制指令的控制資料至資料收集器3。 In one embodiment, after the first common data access module 17 allows the control device 2 to register based on the device registration data, the user of the control device 2 accesses the first common data from the management platform 1 From the sensing device list data viewed by the module 17, select the sensing device ID of the sensing device 4 to be controlled and the first number of the telephone line network 8 to which it is connected, and issue the control to control the sensing device 4 Command, and the first common data access module 17 of the management platform 1 receives the sensor device ID, control command, and connected information sent by the control device 2 to control the sensor device 4 through the network module 13 The first number of the telephone line network 8 so that the first telephone processing module 16 of the management platform 1 dials the first number and generates the first dialing signal, and then through the public communication The telephone network 7 transmits the first dialing signal to the telephone line network 8 to which the first number belongs, so that the second telephone processing module 35 of the data collector 3 receives the first call from the telephone line network 8. After the call signal is dialed, the first common data access module 17 of the management platform is made to use the public switched telephone network 7 and the telephone line network 8 through the first data transfer module 14 to transmit information including the desired control The sensing device ID of the sensing device 4 and the control data of the control command are sent to the data collector 3.

於一實施例中,該第一撥話訊號包含振鈴訊號及平台號碼顯示訊號,其中,該平台號碼顯示訊號係代表該管理平台之電話號碼的平台號碼。 In one embodiment, the first dialing signal includes a ringing signal and a platform number display signal, wherein the platform number display signal is a platform number representing the phone number of the management platform.

於一實施例中,管理平台1的第一共通性資料存取模組17在取得控制裝置2所欲控制感測設備4的控制指令時,更包括藉由一控制邏輯資料模組(未圖示)將該欲控制感測設備4的控制指令轉換成系統可識別或執行的原始檔案,以供資料收集器3及感測設備4在接收到該欲控制感測設備4的控制指令得以直接識別或執行,但不以此為限。 In one embodiment, the first common data access module 17 of the management platform 1 further includes a control logic data module (not shown in the figure) when obtaining a control command for the control device 2 to control the sensing device 4 Show) Convert the control command of the sensing device 4 to be controlled into an original file that can be recognized or executed by the system, so that the data collector 3 and the sensing device 4 can directly receive the control command of the sensing device 4 to be controlled. Identify or execute, but not limited to this.

第3圖係本發明之資料收集器之示意架構圖。如圖所示,資料收集器3係包括:第二RJ11介面31、中央處理器32、第二資料傳接模組33、第二號碼設定模組34、第二電話處理模組35、收集器註冊模組36以及第二共通性資料存取模組37。 Figure 3 is a schematic structural diagram of the data collector of the present invention. As shown in the figure, the data collector 3 includes: a second RJ11 interface 31, a central processing unit 32, a second data transmission module 33, a second number setting module 34, a second telephone processing module 35, a collector The registration module 36 and the second common data access module 37.

於一實施例中,各個模組33~37係為應用程式並儲存在資料收集器3中的儲存裝置(未圖示)中,第二RJ11介面31、中央處理器32以及資料收集器3中的儲存裝置係為硬體裝置且皆連接資料收集器3中的線路,但不以此為限。 In one embodiment, each module 33~37 is an application program and is stored in a storage device (not shown) in the data collector 3. The second RJ11 interface 31, the central processing unit 32 and the data collector 3 The storage devices of are hardware devices and are connected to the lines in the data collector 3, but not limited to this.

中央處理器32係負責資料收集器3之系統運作與處理,包含執行各個模組33~37的應用程式。 The central processing unit 32 is responsible for the system operation and processing of the data collector 3, including application programs that execute each module 33~37.

第二號碼設定模組34係設定電話線網路8的第一號碼及儲存管理平台1的平台號碼。 The second number setting module 34 sets the first number of the telephone line network 8 and the platform number of the storage management platform 1.

第二電話處理模組35係具有撥接電話功能,並可偵測電話線網路8是否被佔線(如使用電話線網路8進行語音通訊或資料傳送),並透過該電話線網路8與該管理平台1的該第一電話處理模組16進行通話,其中,當該第二電話處理模組為該通話的接聽方時,偵測該管理平台的第一電話處理模組所發出該第一撥話訊號中的平台號碼顯示訊號是否與該第二號碼設定模組34所儲存該管理平台1的平台號碼一樣,若是,則搶先接聽該第一撥話訊號,若否,則不接聽。 The second telephone processing module 35 has the function of dialing and receiving calls, and can detect whether the telephone line network 8 is busy (for example, the telephone line network 8 is used for voice communication or data transmission), and through the telephone line network 8 Make a call with the first call processing module 16 of the management platform 1, wherein, when the second call processing module is the answering party of the call, the first call processing module of the management platform sends the The platform number in the first dialing signal indicates whether the signal is the same as the platform number of the management platform 1 stored in the second number setting module 34, if it is, the first dialing signal is answered first, if not, the first dialing signal is not answered .

第二資料傳接模組33係利用該第二電話處理模組35進行通話所使用的線路(如電話線網路8及公用交換電話網路7)傳送該收集器註冊資料及該第一回報資料至該管理平台1,以及接收管理平台1的第一資料傳接模組14所傳送的該控制資料,並於該電話線網路8未被其他裝置佔線時,透過該電話線網路8傳送該控置資料至該感測設備4以及接收感測設備所4回傳的感測資料、狀態資料及設備註冊資料。 The second data transmission module 33 uses the line (such as the telephone line network 8 and the public switched telephone network 7) used by the second telephone processing module 35 for the call to transmit the collector registration data and the first report Data to the management platform 1, and receive the control data sent by the first data transfer module 14 of the management platform 1, and when the telephone line network 8 is not busy with other devices, through the telephone line network 8 Send the control data to the sensing device 4 and receive the sensing data, status data and device registration data returned by the sensing device 4.

第二RJ介面31係為電話線接頭,以連接電話線網路8,以供第二電話處理模組35使用電話線網路8撥接電話,以及供資料收集器3的第二資料傳接模組33使用電話線網路8與感測設備4之間進行資料的傳送或接收,或使用電話線網路8及公用交換電話網路7與管理平台1之間進行資料的傳送或接收。 The second RJ interface 31 is a telephone line connector to connect to the telephone line network 8, for the second telephone processing module 35 to use the telephone line network 8 to make and receive calls, and for the second data transfer of the data collector 3 The module 33 uses the telephone line network 8 and the sensing device 4 to transmit or receive data, or uses the telephone line network 8 and the public switched telephone network 7 to transmit or receive data between the management platform 1.

收集器註冊模組36係提供該收集器註冊資料給第二資料傳接模組33。 The collector registration module 36 provides the collector registration data to the second data transmission module 33.

第二共通性資料存取模組37係依據該感測設備4回傳的設備註冊資料允許該感測設備4註冊,以產生該感測設備4的感測設備ID,並藉由第二資料傳接模組33將該感測設備4的感測設備ID傳送至該感測設備4,並將該資料收集器、該資料收集器所管控的感測設備的感測設備ID以及第一號碼整合成該感測設備清單資料,以及將該感測設備清單資料、該感測資料、該狀態資料整合成該第一回報資料給第二資料傳接模組33。 The second common data access module 37 allows the sensing device 4 to register according to the device registration data returned by the sensing device 4 to generate the sensing device ID of the sensing device 4, and uses the second data The transfer module 33 transmits the sensing device ID of the sensing device 4 to the sensing device 4, and sends the data collector, the sensing device ID and the first number of the sensing device controlled by the data collector Integrate the sensing device list data, and integrate the sensing device list data, the sensing data, and the status data into the first report data to the second data transfer module 33.

於一實施例中,該設備註冊資料包含感測設備4的種類及功能,該感測設備清單資料更感測設備4的種類、功能、數量,但不以此為限。 In one embodiment, the device registration data includes the type and function of the sensing device 4, and the sensing device list data further detects the type, function, and quantity of the sensing device 4, but it is not limited thereto.

於一實施例中,資料收集器3的第二電話處理模組35係撥打該平台號碼及產生第二撥話訊號,並透過電話線網路8及公用交換電話網路7傳送該撥話訊號至管理平台1,以於管理平台1的第一電話處理模組16接聽該第二撥話訊號後,才令資料收集器3的第二共通性資料存取模組37藉由第二資料傳接模組33傳送該第一回報資料至管理平台1。 In one embodiment, the second telephone processing module 35 of the data collector 3 dials the platform number and generates a second dialing signal, and transmits the dialing signal through the telephone line network 8 and the public switched telephone network 7. To the management platform 1, after the first telephone processing module 16 of the management platform 1 answers the second dialing signal, the second common data access module 37 of the data collector 3 is made to transmit via the second data. The interface module 33 transmits the first report data to the management platform 1.

第4圖係本發明之感測設備之示意架構圖。如圖所示,感測設備4係包括:第三RJ介面41、微控制器42、感測器43、第三資料傳接模組44、訊號偵測模組45、設備註冊模組46以及執行模組47。 Figure 4 is a schematic structural diagram of the sensing device of the present invention. As shown in the figure, the sensing device 4 includes: a third RJ interface 41, a microcontroller 42, a sensor 43, a third data transmission module 44, a signal detection module 45, a device registration module 46, and Execution module 47.

於一實施例中,各個模組44~47係為應用程式並儲存在感測設備4中的儲存裝置(未圖示)中,第三RJ介面41、微控制器42、感測器43 以及感測設備4中的儲存裝置係為硬體裝置且皆連接感測設備4中的線路,但不以此為限。 In one embodiment, each of the modules 44 to 47 is an application program and is stored in a storage device (not shown) in the sensing device 4. The third RJ interface 41, the microcontroller 42, and the sensor 43 And the storage device in the sensing device 4 is a hardware device and is connected to the line in the sensing device 4, but not limited to this.

第三RJ介面41係為電話線接頭,以連接電話線網路8,以供感測設備4的第三資料傳接模組44使用電話線網路8與資料收集器3之間進行資料的傳送或接收,以及供訊號偵測模組45偵測電話線網路8是否有一般話機5在進行語音通訊。 The third RJ interface 41 is a telephone line connector to connect to the telephone line network 8 for the third data transfer module 44 of the sensing device 4 to use the telephone line network 8 and the data collector 3 for data transfer Sending or receiving, and for the signal detection module 45 to detect whether there is a general telephone 5 in the telephone line network 8 for voice communication.

微控制器42係負責感測設備4之系統運作與處理,包含執行各個模組44~47的應用程式。 The microcontroller 42 is responsible for the system operation and processing of the sensing device 4, including application programs that execute each module 44-47.

感測器43係感測一感測資料及提供感測器43的狀態資料,其中,該感測資料可為感測磁簧開關是否被打開、門窗是否被開啟、燈光是否被打開等資訊,但不以此為限。 The sensor 43 senses a piece of sensing data and provides status data of the sensor 43, where the sensing data can be information such as whether the reed switch is opened, whether the door and window are opened, whether the light is turned on, etc. But not limited to this.

訊號偵測模組45係偵測電話線網路8是否有被佔線(如一般話機5使用電話線網路8進行語音通訊、其他感測設備或資料收集器使用電話線網路8傳送資料)。 The signal detection module 45 detects whether the telephone line network 8 is busy (for example, a regular phone 5 uses the telephone line network 8 for voice communication, and other sensing devices or data collectors use the telephone line network 8 to transmit data) .

第三資料傳接模組44係當電話線網路8沒有進行該語音通訊及該資料傳輸時,透過該電話線網路8傳送該設備註冊資料至該資料收集器3的第二共通性資料存取模組37,並在接收該資料收集器3的第二共通性資料存取模組37所傳送的該感測器的感測設備ID後,傳送該感測資料及該狀態資料,以及接收該控制資料。 The third data transmission module 44 transmits the device registration data to the second common data of the data collector 3 through the telephone line network 8 when the voice communication and the data transmission are not performed on the telephone line network 8. The access module 37, and after receiving the sensing device ID of the sensor sent by the second common data access module 37 of the data collector 3, transmit the sensing data and the status data, and Receive the control data.

執行模組47係執行該控制資料中的控制指令。 The execution module 47 executes the control commands in the control data.

於一實施例中,資料收集器3的第二資料傳接模組33以廣播方式傳送該控制資料給感測設備4,以令感測設備4為複數個時,各個感測 設備4在接收到該控制資料後,各個感測設備4的微控制器42依據該控制資料的感測設備ID確認不是屬於自己的感測設備ID則將該控制資料刪除,但不以此為限。 In one embodiment, the second data transfer module 33 of the data collector 3 broadcasts the control data to the sensing device 4, so that when the sensing device 4 is plural, each sensing device After the device 4 receives the control data, the microcontroller 42 of each sensing device 4 confirms that it is not its own sensing device ID based on the sensing device ID of the control data, and deletes the control data, but not limit.

於一實施例中,該第一資料傳接模組15、第二資料傳接模組33及第三資料傳接模組44係為雙音多頻訊號傳接模組,其中,該雙音多頻訊號傳接模組係將任一種資料調變成雙音多頻訊號進行傳輸以及將接收到的該雙音多頻訊號解調變成該任一種資料,以使該任一種資料於公用交換電話網路7及該電話線網路8中傳輸的資料為該雙音多頻訊號,該任一種資料例如為該欲控制該感測設備4的控制指令、感測設備4向資料收集器3傳送的設備註冊資料、資料收集器3向感測設備4傳送的感測設備ID、資料收集器3向管理平台1傳送的收集器註冊資料、該感測資料、該狀態資料及該感測設備清單資料於公用交換電話網路7或電話線網路8傳輸時皆為該雙音多頻訊號。 In one embodiment, the first data transmission module 15, the second data transmission module 33, and the third data transmission module 44 are dual-tone multi-frequency signal transmission modules, wherein the dual-tone The multi-frequency signal transmission module modulates any kind of data into a dual-tone multi-frequency signal for transmission and demodulates the received dual-tone multi-frequency signal into any kind of data, so that any kind of data can be used in a public switched telephone The data transmitted in the network 7 and the telephone line network 8 is the dual-tone multi-frequency signal, and any kind of data is, for example, the control command to control the sensing device 4, and the sensing device 4 transmits to the data collector 3. The device registration data, the sensing device ID sent by the data collector 3 to the sensing device 4, the collector registration data sent by the data collector 3 to the management platform 1, the sensing data, the status data, and the list of sensing devices When data is transmitted on the public switched telephone network 7 or the telephone line network 8, the dual-tone multi-frequency signal is used.

第5A-5B圖係本發明之控制感測設備之方法之步驟流程圖。如圖所示,該方法係包括下列步驟: Figures 5A-5B are flow charts of the steps of the method of controlling the sensing device of the present invention. As shown in the figure, the method includes the following steps:

在步驟S1中,向管理平台註冊,其中,令控制裝置2向管理平台1的第一共通性資料存取模組17註冊。 In step S1, register with the management platform, wherein the control device 2 is made to register with the first common data access module 17 of the management platform 1.

在步驟S2中,向管理平台讀取待控制感測設備清單,其中,在該控制裝置2向管理平台1的第一共通性資料存取模組17註冊成功後,從該管理平台1的第一共通性資料存取模組17讀取該感測設備清單資料,其中,該感測設備清單資料包含資料收集器、該資料收集器所管控的 感測設備的感測設備ID以及第一號碼,其中,該第一號碼係為該資料收集器及其管控的感測設備所連接之電話線網路的電話號碼。 In step S2, the list of sensing equipment to be controlled is read from the management platform, where after the control device 2 successfully registers with the first common data access module 17 of the management platform 1, the control device 2 is read from the first common data access module 17 of the management platform 1. The universal data access module 17 reads the sensing device list data, where the sensing device list data includes the data collector and the data collector controlled by the data collector The sensing device ID and the first number of the sensing device, where the first number is the phone number of the telephone line network to which the data collector and the sensing device controlled by it are connected.

在步驟S3中,管理平台回覆待控感測設備清單,其中,令該管理平台1的第一共通性資料存取模組17藉由網路模組13傳送該感測設備清單至該控制裝置2。 In step S3, the management platform replies to the list of sensing equipment to be controlled, wherein the first common data access module 17 of the management platform 1 is made to transmit the list of sensing equipment to the control device through the network module 13 2.

在步驟S4中,控制感測設備,其中,令該管理平台1的第一共通性資料存取模組17藉由網路模組13接收該控制裝置2所傳送用以控制該感測設備清單資料中之感測設備4的控制資料以及該第一號碼,其中,該控制資料包含控制指令以及該感測設備ID。 In step S4, the sensing equipment is controlled, wherein the first common data access module 17 of the management platform 1 receives the control device 2 through the network module 13 to control the sensing equipment list The control data of the sensing device 4 in the data and the first number, wherein the control data includes a control command and the sensing device ID.

於一實施例中,該控制裝置2係於該感測設備清單資料中選擇欲控制感測設備4的感測設備ID,並將該欲控制感測設備4的感測設備ID及控制指令整合成該控制資料,接著將該控制資料連同該欲控制感測設備4所連接之電話線網路的第一號碼透過網際網路6傳送至該管理平台1的網路模組13。 In one embodiment, the control device 2 selects the sensing device ID of the sensing device 4 to be controlled from the sensing device list data, and integrates the sensing device ID and the control command of the sensing device 4 to be controlled The control data is generated, and then the control data together with the first number of the telephone line network to which the sensing device 4 to be controlled is connected is transmitted to the network module 13 of the management platform 1 via the Internet 6.

在步驟S5中,撥電話給資料收集器,其中,令管理平台1的第一電話處理模組16撥打該第一號碼及產生第一撥話訊號,並透過公用交換電話網路7傳送該第一撥話訊號至該第一號碼所屬的電話線網路8中,其中,該第一撥話訊號包含振鈴訊號及平台號碼顯示訊號,其中,該平台號碼顯示訊號係代表該管理平台之電話號碼的平台號碼。 In step S5, a call is made to the data collector, where the first telephone processing module 16 of the management platform 1 is made to dial the first number and generate the first dialing signal, and transmit the first call signal through the public switched telephone network 7. A dialing signal is sent to the telephone line network 8 to which the first number belongs, wherein the first dialing signal includes a ringing signal and a platform number display signal, where the platform number display signal represents the telephone number of the management platform Platform number.

在步驟S6中,傳送控制資料,其中,當該資料收集器3的第二電話處理模組35從電話線網路8接聽該第一撥話訊號後,令該資料收集 器3的第二資料傳接模組33接收該管理平台1的第一共通性資料存取模組17藉由第一資料傳接模組14傳送的該控制資料。 In step S6, control data is transmitted, wherein when the second telephone processing module 35 of the data collector 3 receives the first dialing signal from the telephone line network 8, the data is collected The second data transfer module 33 of the device 3 receives the control data sent by the first common data access module 17 of the management platform 1 through the first data transfer module 14.

於一實施例中,令該資料收集器3的第二電話處理模組35係依據該資料收集器3的第二號碼設定模組34所設定的該平台號碼判斷該第一撥話訊號是否來自該管理平台,若是,則接聽該第一撥話訊號,若不是,則不接聽。 In one embodiment, the second telephone processing module 35 of the data collector 3 is caused to determine whether the first dialing signal is from the platform number set by the second number setting module 34 of the data collector 3 The management platform, if it is, will answer the first call signal, if not, it will not answer.

在步驟S7中,傳送控制資料給感測設備,其中,令該感測設備4的第三資料傳接模組44接收該資料收集器3的第二資料傳接模組33所傳送的該控制資料。 In step S7, control data is sent to the sensing device, wherein the third data transfer module 44 of the sensing device 4 is made to receive the control sent by the second data transfer module 33 of the data collector 3 data.

在步驟S8中,自動傳送回報資料給資料收集器,其中,令該資料收集器3的第二資料傳接模組33接收該感測設備4的第三資料傳接模組44所傳送的回報資料,其中,該回報資料包含該感測資料及該感測設備ID,其中,該感測資料係為該感測設備4的感測器43在執行或未執行該控制資料的控制指令時所感測到的資料。 In step S8, the report data is automatically sent to the data collector, wherein the second data transfer module 33 of the data collector 3 receives the report sent by the third data transfer module 44 of the sensing device 4 Data, where the report data includes the sensing data and the sensing device ID, wherein the sensing data is sensed by the sensor 43 of the sensing device 4 when the control command of the control data is executed or not executed Measured data.

在步驟S9中,回傳資料到管理平台,其中,令該管理平台1的第一共通性資料存取模組17藉由第一資料傳接模組14接收該資料收集器3的第二資料傳接模組33所傳送的該回報資料。 In step S9, the data is returned to the management platform, wherein the first common data access module 17 of the management platform 1 receives the second data of the data collector 3 through the first data transfer module 14 The report data transmitted by the transmission module 33 is transmitted.

在步驟S10中,回覆感測設備狀態,其中,令該管理平台1的第一共通性資料存取模組17藉由網路模組13傳送該回報資料至該控制裝置2。 In step S10, the state of the sensing device is returned, in which the first common data access module 17 of the management platform 1 is made to transmit the report data to the control device 2 through the network module 13.

第6圖係本發明之控制感測設備之方法之步驟S7之步驟流程圖。如圖所示,該步驟S7係包括下列步驟: Figure 6 is a step-by-step flowchart of step S7 of the method of controlling the sensing device of the present invention. As shown in the figure, this step S7 includes the following steps:

在步驟S7-1中,令資料收集器3確認該控制指令之正確性,其中,當該控制指令錯誤時,則步驟結束。 In step S7-1, the data collector 3 is asked to confirm the correctness of the control command, wherein when the control command is wrong, the step ends.

在步驟S7-2中,令資料收集器3偵測電話線網路8是否被佔線,其中,令資料收集器3的第二電話處理模組35偵測電話線網路8是否被佔線。若被佔線,則進至步驟S7-3,反之,則進至步驟S7-4。 In step S7-2, the data collector 3 is caused to detect whether the telephone line network 8 is busy, and the second telephone processing module 35 of the data collector 3 is caused to detect whether the telephone line network 8 is busy. If the line is busy, go to step S7-3, otherwise, go to step S7-4.

在步驟S7-3中,等待random時間,其中,若電話線網路8若被佔線時,資料收集器3等待random時間並回到該步驟S7-1。 In step S7-3, the random time is waited. If the telephone line network 8 is busy, the data collector 3 waits for the random time and returns to step S7-1.

在步驟S7-4中,令資料收集器3傳送該控制指令至感測設備4,其中,若電話線網路8若未被佔線時,令資料收集器3的第二資料傳接模組33透過電話線網路8傳送該控制資料至感測設備4。 In step S7-4, the data collector 3 is made to send the control command to the sensing device 4. If the telephone line network 8 is not busy, the second data transmission module 33 of the data collector 3 is made The control data is transmitted to the sensing device 4 through the telephone line network 8.

在步驟S7-5中,令感測設備接收該控制指令,其中,令該感測設備4的第三傳接資料模組44接收該控制資料,其中,當該感測設備4的微控制器42判斷該控制資料中的感測設備ID與該感測設備4的感測設備ID不一致時,則將該控制資料刪除。 In step S7-5, the sensing device 4 is made to receive the control instruction, wherein the third data transfer module 44 of the sensing device 4 is made to receive the control data, wherein when the microcontroller of the sensing device 4 42 When it is determined that the sensing device ID in the control data is inconsistent with the sensing device ID of the sensing device 4, the control data is deleted.

第7圖係本發明之控制感測設備之方法之步驟S8之步驟流程圖。如圖所示,該步驟S8係包括下列步驟: Figure 7 is a step flow chart of step S8 of the method of controlling the sensing device of the present invention. As shown in the figure, this step S8 includes the following steps:

在步驟S8-1中,令感測設備4的感測器43感測一感測資料及提供感測器43的狀態資料。 In step S8-1, the sensor 43 of the sensing device 4 is caused to sense a sensed data and provide status data of the sensor 43.

在步驟S8-2中,令感測設備4偵測電話線網路8是否被佔線,其中,令感測設備4的訊號偵測模組45偵測電話線網路8是否被佔線。若被佔線,則進至步驟S8-3,反之,則進至步驟S8-4。 In step S8-2, the sensing device 4 is made to detect whether the telephone line network 8 is busy, wherein the signal detection module 45 of the sensing device 4 is made to detect whether the telephone line network 8 is busy. If the line is busy, proceed to step S8-3, otherwise, proceed to step S8-4.

在步驟S8-3中,等待random時間,其中,若電話線網路8被佔線時,感測設備4等待random時間並回到該步驟S8-2。 In step S8-3, a random time is waited. If the telephone line network 8 is busy, the sensing device 4 waits for a random time and returns to step S8-2.

在步驟S8-4中,令感測器43傳送該感測資料及該狀態資料至資料收集器3,其中,若電話線網路8並無被佔線時,令感測器43藉由第三資料傳接模組44使用該電話線網路8傳送包含該感測資料及該狀態資料的回報資料至該資料收集器3。 In step S8-4, the sensor 43 is made to transmit the sensing data and the status data to the data collector 3. If the telephone line network 8 is not busy, the sensor 43 is made to use the third The data transmission module 44 uses the telephone line network 8 to transmit report data including the sensing data and the status data to the data collector 3.

在步驟S8-5中,令資料收集器接收該回報資料,其中,令該資料收集器3的第二資料傳接模組33接收該回報資料。 In step S8-5, the data collector is made to receive the report data, wherein the second data transmission module 33 of the data collector 3 is made to receive the report data.

第8圖係本發明之控制感測設備之方法之步驟S9之步驟流程圖。如圖所示,該步驟S9係包括下列步驟: Figure 8 is a step flow chart of step S9 of the method of controlling the sensing device of the present invention. As shown in the figure, this step S9 includes the following steps:

在步驟S9-1中,令資料收集器3偵測電話線網路8是否被佔線,其中,令資料收集器3的第二電話處理模組35偵測電話線網路8是否被佔線。若被佔線,則進至步驟S9-2,反之,則進至步驟S9-3。 In step S9-1, the data collector 3 is caused to detect whether the telephone line network 8 is busy, and the second telephone processing module 35 of the data collector 3 is caused to detect whether the telephone line network 8 is busy. If the line is busy, go to step S9-2, otherwise, go to step S9-3.

在步驟S9-2中,等待random時間,其中,若電話線網路8被佔線時(即電話線網路8正在進行語音通訊及資料傳輸之一者),資料收集器3等待random時間並回到該步驟S9-1。 In step S9-2, wait for a random time. If the telephone line network 8 is busy (that is, the telephone line network 8 is performing one of voice communication and data transmission), the data collector 3 waits for the random time and returns Go to step S9-1.

在步驟S9-3中,令資料收集器3撥打管理平台1的平台號碼,其中,若電話線網路8未被佔線時,令資料收集器3的第二電話處理模組35撥打管理平台1的平台號碼及產生第二撥話訊號,並透過電話線網路8及公用交換電話網路7傳送該第二撥話訊號至管理平台1。 In step S9-3, the data collector 3 is made to dial the platform number of the management platform 1, where if the telephone line network 8 is not busy, the second telephone processing module 35 of the data collector 3 is made to dial the management platform 1 And generate a second dialing signal, and send the second dialing signal to the management platform 1 through the telephone line network 8 and the public switched telephone network 7.

在步驟S9-4中,令管理平台1接聽該平台號碼的來電,其中,令管理平台1的第一電話處理模組16接聽該第二撥話訊號。 In step S9-4, the management platform 1 is made to answer the incoming call of the platform number, wherein the first call processing module 16 of the management platform 1 is made to answer the second dialing signal.

在步驟S9-5中,令資料收集器3傳送感測設備4的感測器43的感測資料及狀態資料至管理平台1,其中,令資料收集器3的第二資料傳接模組33透過電話線網路8及公用交換電話網路7傳送該回報資料至管理平台1。 In step S9-5, the data collector 3 is made to transmit the sensing data and status data of the sensor 43 of the sensing device 4 to the management platform 1, wherein the second data transmission module 33 of the data collector 3 is made The report data is transmitted to the management platform 1 through the telephone line network 8 and the public switched telephone network 7.

在步驟S9-6中,令管理平台接收回報資料,其中,令該管理平台1的第一共通性資料存取模組17藉由第一資料傳接模組14接收該回報資料。 In step S9-6, the management platform is made to receive the report data, wherein the first common data access module 17 of the management platform 1 is made to receive the report data through the first data transfer module 14.

第9圖本發明之避免傳送干擾與重傳機制之步驟流程圖。如圖所示,該避免傳送干擾與重傳機制係包括: Figure 9 is a flow chart of the steps of the transmission interference avoidance and retransmission mechanism of the invention. As shown in the figure, the transmission interference avoidance and retransmission mechanism includes:

在步驟S11中,令傳輸端準備傳輸,其中,令傳送端準備傳送資料,並將要傳送的全部資料進行XOR(Exclusive OR),以得到第一Checksum值。 In step S11, the transmitting end is prepared to transmit, wherein the transmitting end is prepared to transmit data, and XOR (Exclusive OR) is performed on all the data to be transmitted to obtain the first Checksum value.

在步驟S12中,對接收端傳送資料,其中,令該傳送端傳送該全部資料至接收端。 In step S12, data is sent to the receiving end, wherein the sending end is made to send all the data to the receiving end.

在步驟S13中,令接收端將接收資料XOR checksum,其中,令該接收端將所接收到的該全部資料進行XOR,以得到第二checksum值。 In step S13, the receiving end is made to XOR checksum the received data, wherein the receiving end is made to XOR all the received data to obtain the second checksum value.

在步驟S14中,回傳checksum給傳送端,其中,令該接收端回傳該第二checksum值至該傳送端。 In step S14, the checksum is returned to the transmitting end, wherein the receiving end is caused to return the second checksum value to the transmitting end.

在步驟S15中,傳送端判斷checksum是否正確,其中,令該傳送端判斷該第二checksum值是否與該第一Checksum值一致,若不一致,則回到該步驟S11。 In step S15, the transmitting end judges whether the checksum is correct, wherein the transmitting end is asked to judge whether the second checksum value is consistent with the first Checksum value, and if not, it returns to step S11.

在步驟S16中,回傳結束指令並結束此次傳送,其中,若一致,則傳送端回傳結束指令至該接收端並結束此傳送。 In step S16, the end instruction is returned and the transmission ends. If they are consistent, the transmitting end returns the end instruction to the receiving end and ends the transmission.

於一實施例中,該避免傳送干擾與重傳機制係適用於該控制感測設備之方法中的進行資料傳輸的傳送端與進行資料接收的接收端,其中,該傳送端與該接收端係為該控制裝置、該管理平台、該資料收集器或該感測設備,且該傳送端不同於該接收端。 In one embodiment, the transmission interference avoidance and retransmission mechanism is applicable to the transmitting end for data transmission and the receiving end for data reception in the method of controlling the sensing device, wherein the transmitting end and the receiving end are It is the control device, the management platform, the data collector or the sensing device, and the transmitting end is different from the receiving end.

由上述可知,本發明由電話線網路8連接感測設備4及資料收集器3產生的物聯網設備端,且管理平台1係具有網際網路介面(即RJ45介面)及電話介面(即第一RJ11介面),讓使用網際網路之控制端的控制裝置2可透過管理平台1控制由電話線網路8組成的該物聯網設備端中之感測設備4,該物聯網設備端之設備的連接以電話線替代網際網路,讓使用者在架設物聯網設備端時,不需特別申請一條ADSL網路來連接物聯網設備端中的設備,進而提高建置物聯網設備端的便利性及降低建置物聯網設備端的成本。 It can be seen from the above that the present invention connects the sensing device 4 and the data collector 3 to the Internet of Things device end generated by the telephone line network 8, and the management platform 1 has an Internet interface (i.e., RJ45 interface) and a telephone interface (i.e., the first A RJ11 interface), so that the control device 2 of the control terminal using the Internet can control the sensing device 4 in the Internet of Things device side composed of the telephone line network 8 through the management platform 1, and the device of the Internet of Things device side The connection replaces the Internet with a telephone line, so that users do not need to apply for a special ADSL network to connect the devices in the Internet of Things device when setting up the Internet of Things device, thereby improving the convenience of building the Internet of Things device and reducing the construction The cost of installing IoT devices.

上述實施例係用以例示性說明本發明之原理及其功效,而非用於限制本發明。任何熟習此項技藝之人士均可在不違背本發明之精神及範疇下,對上述實施例進行修改。因此本發明之權利保護範圍,應如後述之申請專利範圍所列。 The above-mentioned embodiments are used to exemplify the principles and effects of the present invention, but not to limit the present invention. Anyone who is familiar with the art can modify the above-mentioned embodiments without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the rights of the present invention should be listed in the scope of patent application described later.

1‧‧‧管理平台 1‧‧‧Management Platform

2‧‧‧控制裝置 2‧‧‧Control device

3‧‧‧資料收集器 3‧‧‧Data Collector

4‧‧‧感測設備 4‧‧‧Sensing equipment

5‧‧‧一般話機 5‧‧‧Regular phone

6‧‧‧網際網路 6‧‧‧Internet

7‧‧‧公用交換電話網路 7‧‧‧Public switched telephone network

8‧‧‧電話線網路 8‧‧‧Telephone line network

Claims (17)

一種控制感測設備之系統,係包括:控制裝置,係連接網際網路,以傳送第一傳送資料或接收第一回報資料,其中,該第一傳送資料包含控制資料及裝置註冊資料,該第一回報資料包含感測資料、狀態資料以及感測設備清單資料,其中,該控制資料包含控制指令及感測設備ID;管理平台,係連接該網際網路及公用交換電話網路,且該公用交換電話網路連接電話線網路,以透過該網際網路接收該第一傳送資料及傳送該第一回報資料,並透過該公用交換電話網路與該電話線網路傳送該控制資料,以及接收該第一回報資料;資料收集器,係連接該電話線網路,且該資料收集器包含:第二電話處理模組,係偵測該電話線網路是否被佔線及透過該電話線網路撥接電話;及第二資料傳接模組,係透過該電話線網路及該公用交換電話網路傳送該第一回報資料以及接收該控制資料,或透過該電話線網路傳送該控置資料以及接收該感測資料及狀態資料;以及感測設備,係連接該電話線網路,且該感測設備包含:第三資料傳接模組,係透過該電話線網路傳送該感測資料及狀態資料,以及接收該控制資料;及執行模組,係執行該控制資料中的控制指令。 A system for controlling sensing equipment includes: a control device connected to the Internet to transmit first transmission data or receive first report data, wherein the first transmission data includes control data and device registration data, and A report data includes sensing data, status data, and sensing device list data. The control data includes control commands and sensing device IDs; the management platform is connected to the Internet and the public switched telephone network, and the public The switched telephone network is connected to a telephone line network to receive the first transmission data and transmit the first report data through the Internet, and transmit the control data through the public switched telephone network and the telephone line network, and Receive the first report data; a data collector is connected to the telephone line network, and the data collector includes: a second telephone processing module, which detects whether the telephone line network is busy and through the telephone line network And the second data transmission module, which transmits the first report data and receives the control data through the telephone line network and the public switched telephone network, or transmits the control data through the telephone line network Setting data and receiving the sensing data and status data; and the sensing equipment is connected to the telephone line network, and the sensing equipment includes: a third data transmission module, which transmits the sensing data through the telephone line network Test data and status data, and receive the control data; and the execution module is to execute the control commands in the control data. 如申請專利範圍第1項所述之系統,其中,該感測設備更包含產生該感測資料、該狀態資料之感測器。 The system described in item 1 of the scope of patent application, wherein the sensing device further includes a sensor for generating the sensing data and the status data. 如申請專利範圍第1項所述之系統,其中,該資料收集器更包括第二共通性資料存取模組,係依據該第二資料傳接模組接收該感測設備的第三資料傳接模組所傳送的設備註冊資料,以產生該感測設備的感測設備ID,進而將該感測設備的感測設備ID傳送至該感測設備。 For example, the system described in item 1 of the scope of patent application, wherein the data collector further includes a second common data access module, which receives the third data transmission of the sensing device according to the second data transmission module The device registration data transmitted by the module is connected to generate the sensing device ID of the sensing device, and then the sensing device ID of the sensing device is transmitted to the sensing device. 如申請專利範圍第3項所述之系統,其中,該感測設備更包括設備註冊模組,係提供該設備註冊資料給該第三資料傳接模組。 For example, in the system described in item 3 of the scope of patent application, the sensing device further includes a device registration module, which provides the device registration data to the third data transfer module. 如申請專利範圍第3項所述之系統,其中,該資料收集器更包括第二號碼設定模組,係設定第一號碼為該電話線網路的電話號碼,以及儲存該管理平台的平台號碼。 Such as the system described in item 3 of the scope of patent application, wherein the data collector further includes a second number setting module, which sets the first number as the telephone number of the telephone line network and stores the platform number of the management platform . 如申請專利範圍第5項所述之系統,其中,該資料收集器的第二共通性資料存取模組更包括將該資料收集器、該資料收集器所管控的感測設備的感測設備ID以及該第一號碼整合成該感測設備清單資料。 The system described in item 5 of the scope of patent application, wherein the second common data access module of the data collector further includes the sensing device of the data collector and the sensing device controlled by the data collector The ID and the first number are integrated into the sensing device list data. 如申請專利範圍第5項所述之系統,其中,該資料收集器的第二電話處理模組透過該電話線網路與該管理平台的該第一電話處理模組進行通話,其中,當該第二電話處理模組為該通話的接聽方時,依據該第二號碼設定模組所儲存該管理平台的平台號碼,偵測該電話線網路是否來自該管理平台的第一電話處理模組所發出的第一撥話訊號,若是,則搶先接聽該第一撥話訊號,若否,則不接聽。 For example, the system described in item 5 of the scope of patent application, wherein the second telephone processing module of the data collector communicates with the first telephone processing module of the management platform through the telephone line network, wherein, when the When the second telephone processing module is the receiver of the call, it detects whether the telephone line network comes from the first telephone processing module of the management platform according to the platform number of the management platform stored by the second number setting module If the first call signal is sent, the first call signal will be answered first, if not, the first call signal will not be answered. 如申請專利範圍第1項所述之系統,其中,該感測設備更包括訊號偵測模組,係偵測該電話線網路是否被佔線。 For example, in the system described in item 1 of the scope of patent application, the sensing device further includes a signal detection module, which detects whether the telephone line network is busy. 如申請專利範圍第1項所述之系統,其中,該第一資料傳接單元、第二資料傳接單元及第三資料傳接單元係為雙音多頻訊號傳接單 元,其中,該雙音多頻訊號傳接單元係將任一種資料調變成雙音多頻訊號進行傳輸以及將接收到的該雙音多頻訊號解調變成該任一種資料。 Such as the system described in item 1 of the scope of patent application, wherein the first data transmission unit, the second data transmission unit and the third data transmission unit are dual-tone multi-frequency signal transmission units The dual-tone multi-frequency signal transmission unit modulates any kind of data into a dual-tone multi-frequency signal for transmission and demodulates the received dual-tone multi-frequency signal into any kind of data. 一種控制感測設備之方法,係包括:令控制裝置向管理平台的第一共通性資料存取模組註冊,並於註冊後從該管理平台的第一共通性資料存取模組中取得感測設備清單資料,其中,該感測設備清單資料包含資料收集器以及該資料收集器所管控的感測設備的感測設備ID;令該管理平台的網路模組接收該控制裝置所傳送用以控制該感測設備清單資料中之感測設備的控制資料,其中,該控制資料包含控制指令以及該感測設備ID;令該資料收集器的第二資料傳接模組接收該管理平台的第一資料傳接模組所傳送的該控制資料;令該感測設備的第三資料傳接模組接收該資料收集器的第二資料傳接模組所傳送的該控制資料;令該資料收集器的第二資料傳接模組接收該感測設備的第三資料傳接模組所傳送的回報資料,其中,該回報資料包含感測資料及該感測設備ID,其中,該感測資料係為該感測設備的感測器在執行或未執行該控制資料的控制指令時所感測到的資料;令該管理平台的第一資料傳接模組接收該資料收集器的第二資料傳接模組所傳送的該回報資料;以及令該管理平台的網路模組傳送該回報資料至該控制裝置。 A method for controlling a sensing device includes: registering a control device with a first common data access module of a management platform, and obtains sensing from the first common data access module of the management platform after registration. The list data of the sensing equipment, wherein the list data of the sensing equipment includes the data collector and the sensing device ID of the sensing equipment controlled by the data collector; the network module of the management platform is made to receive the data sent by the control device To control the control data of the sensing device in the sensing device list data, where the control data includes a control command and the sensing device ID; to make the second data transfer module of the data collector receive the management platform The control data transmitted by the first data transmission module; make the third data transmission module of the sensing device receive the control data transmitted by the second data transmission module of the data collector; make the data The second data transfer module of the collector receives the report data sent by the third data transfer module of the sensing device, wherein the report data includes the sensing data and the sensing device ID, wherein the sensing The data is the data sensed by the sensor of the sensing device when the control command of the control data is executed or not executed; the first data transfer module of the management platform is made to receive the second data of the data collector Transmitting the report data sent by the module; and making the network module of the management platform send the report data to the control device. 如申請專利範圍第10項所述之方法,該感測設備清單資料更包括第一號碼,以令該管理平台的網路模組進一步包括接收該控制裝置所傳送的該第一號碼,其中,該第一號碼係為該資料收集器及其管控的感測設備所連接之電話線網路的電話號碼。 According to the method described in item 10 of the scope of patent application, the sensing equipment list data further includes a first number, so that the network module of the management platform further includes receiving the first number transmitted by the control device, wherein, The first number is the telephone number of the telephone line network to which the data collector and its controlled sensing device are connected. 如申請專利範圍第11項所述之方法,更包括:令管理平台的第一電話處理模組撥打該第一號碼及產生第一撥話訊號,並透過公用交換電話網路傳送該第一撥話訊號至該第一號碼所屬的電話線網路中,其中,該第一撥話訊號包含振鈴訊號及平台號碼顯示訊號,而該平台號碼顯示訊號係代表該管理平台之電話號碼的平台號碼;以及當該資料收集器的第二電話處理模組從電話線網路接聽該第一撥話訊號後,令該資料收集器的第二資料傳接模組接收該管理平台的第一資料傳接模組所傳送的該控制資料。 For example, the method described in item 11 of the scope of patent application further includes: making the first telephone processing module of the management platform dial the first number and generate the first dialing signal, and transmit the first dialing via the public switched telephone network The call signal is sent to the telephone line network to which the first number belongs, where the first call signal includes a ringing signal and a platform number display signal, and the platform number display signal is a platform number representing the telephone number of the management platform; And when the second telephone processing module of the data collector receives the first dialing signal from the telephone line network, the second data transfer module of the data collector receives the first data transfer of the management platform The control data sent by the module. 如申請專利範圍第12項所述之方法,更包括:令該資料收集器的第二電話處理模組係依據該資料收集器的第二號碼設定模組所設定的該平台號碼判斷該第一撥話訊號是否來自該管理平台,若是,則接聽該第一撥話訊號,若不是,則不接聽。 For example, the method described in item 12 of the scope of patent application further includes: enabling the second telephone processing module of the data collector to determine the first telephone processing module based on the platform number set by the second number setting module of the data collector Whether the dialing signal comes from the management platform, if it is, then the first dialing signal is answered, if not, then the first dialing signal is not answered. 如申請專利範圍第10項所述之方法,其中,該感測設備的第三資料傳接模組接收該資料收集器的第二資料傳接模組所傳送的該控制資料係包含:令該資料收集器的第二電話處理模組偵測該電話線網路是否被佔線;若否,令該資料收集器的第二資料傳接模組透過該電話線網路傳送該控制資料至該感測設備; 若是,令該資料收集器的第二電話處理模組等待該電話線網路未被佔線時,以令該資料收集器的第二資料傳接模組透過該電話線網路傳送該控制資料至該感測設備;令該感測設備的第三傳接資料模組接收該控制資料,其中,當該感測設備的微控制器判斷該控制資料中的感測設備ID與該感測設備的感測設備ID不一致時,則將該控制資料刪除。 For example, the method described in item 10 of the scope of patent application, wherein the third data transfer module of the sensing device receives the control data transmitted by the second data transfer module of the data collector including: making the The second telephone processing module of the data collector detects whether the telephone line network is busy; if not, the second data transmission module of the data collector transmits the control data to the sensor through the telephone line network. Test equipment If yes, make the second telephone processing module of the data collector wait for the telephone line network to be not busy, so that the second data transfer module of the data collector transmits the control data to the telephone line network The sensing device; make the third data transfer module of the sensing device receive the control data, wherein, when the microcontroller of the sensing device determines the sensing device ID in the control data and the sensing device ID When the ID of the sensing device is inconsistent, the control data is deleted. 如申請專利範圍第10項所述之方法,其中,令該資料收集器的第二資料傳接模組接收該感測設備的第三資料傳接模組所傳送的回報資料係包含:令該感測設備的訊號偵測模組偵測該電話線網路是否被佔線;若否,令該感測設備的第三資料傳接模組透過該電話線網路傳送該回報資料至該資料收集器;若是,令該感測設備的訊號偵測模組等待到該電話線網路未被佔線時,以令該感測設備的第三資料傳接模組透過該電話線網路傳送該回報資料至該資料收集器;以及令該資料收集器的第二資料傳接模組接收該回報資料。 For example, the method described in item 10 of the scope of patent application, in which the second data transfer module of the data collector receives the report data sent by the third data transfer module of the sensing device includes: The signal detection module of the sensing device detects whether the telephone line network is busy; if not, the third data transmission module of the sensing device sends the report data to the data collection through the telephone line network If yes, make the signal detection module of the sensing device wait until the telephone line network is not busy, so that the third data transmission module of the sensing device transmits the report through the telephone line network Data to the data collector; and make the second data transfer module of the data collector receive the report data. 如申請專利範圍第10項所述之方法,其中,令該管理平台的第一資料傳接模組接收該資料收集器的第二資料傳接模組所傳送的該回報資料係包含:令該資料收集器的第二電話處理模組於該電話線網路未被佔線時,撥打該資料收集器的第二號碼設定模組所儲存的該平台號碼及產生第二撥話 訊號,並透過電話線網路及公用交換電話網路傳送該第二撥話訊號至該管理平台;令該管理平台的第一電話處理模組接聽該第二撥話訊號;令該資料收集器的第二資料傳接模組透過電話線網路及公用交換電話網路傳送該回報資料至該管理平台;以及令該管理平台的第一資料傳接模組接收該回報資料。 For example, the method described in item 10 of the scope of patent application, wherein the first data transfer module of the management platform to receive the report data sent by the second data transfer module of the data collector includes: The second telephone processing module of the data collector dials the platform number stored in the second number setting module of the data collector and generates a second call when the telephone line network is not busy Signal, and send the second call signal to the management platform through the telephone line network and the public switched telephone network; make the first telephone processing module of the management platform receive the second call signal; make the data collector The second data transmission module of the management platform transmits the report data to the management platform through the telephone line network and the public switched telephone network; and the first data transmission module of the management platform receives the report data. 如申請專利範圍第10項所述之方法,更包括避免傳送干擾與重傳機制步驟,係包括:步驟(1):令傳送端準備傳送資料,將要傳送的全部資料進行XOR(Exclusive OR),以得到第一Checksum值;步驟(2):令該傳送端傳送該全部資料至接收端;步驟(3):令該接收端將所接收到的該全部資料進行XOR,以得到第二checksum值;步驟(4):令該接收端回傳該第二checksum值至該傳送端;步驟(5):令該傳送端判斷該第二checksum值是否與該第一Checksum值一致;步驟(6):若一致,則回傳結束指令至該接收端並結束此傳送,若不一致,則回到該步驟(1);其中,該傳送端與該接收端係為該控制裝置、該管理平台、該資料收集器或該感測設備,且該傳送端不同於該接收端。 For example, the method described in item 10 of the patent application includes the steps of avoiding transmission interference and retransmission mechanism, including: Step (1): Make the transmitting end prepare to transmit data, and perform XOR (Exclusive OR) on all the data to be transmitted. To obtain the first Checksum value; Step (2): Make the transmitting end send all the data to the receiving end; Step (3): Make the receiving end to XOR all the received data to obtain the second checksum value Step (4): Make the receiving end return the second checksum value to the transmitting end; Step (5): Make the transmitting end determine whether the second checksum value is consistent with the first Checksum value; Step (6) : If they are consistent, the end instruction is sent back to the receiving end and the transmission is ended. If they are not consistent, then go back to step (1); wherein, the transmitting end and the receiving end are the control device, the management platform, and the The data collector or the sensing device, and the transmitting end is different from the receiving end.
TW108116931A 2019-05-16 2019-05-16 System for controlling sensing equipment and method thereof TWI688236B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW108116931A TWI688236B (en) 2019-05-16 2019-05-16 System for controlling sensing equipment and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW108116931A TWI688236B (en) 2019-05-16 2019-05-16 System for controlling sensing equipment and method thereof

Publications (2)

Publication Number Publication Date
TWI688236B TWI688236B (en) 2020-03-11
TW202044801A true TW202044801A (en) 2020-12-01

Family

ID=70766843

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108116931A TWI688236B (en) 2019-05-16 2019-05-16 System for controlling sensing equipment and method thereof

Country Status (1)

Country Link
TW (1) TWI688236B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI770520B (en) * 2020-05-28 2022-07-11 國立虎尾科技大學 Horizontal monitoring and adjustment system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101325689A (en) * 2007-06-16 2008-12-17 翰华信息科技(厦门)有限公司 System and method for monitoring mobile phone remote video
CN101394548B (en) * 2008-10-22 2011-05-25 中山大学 System for implementing remote video monitoring under digital household environment and method thereof
CN102073308B (en) * 2010-10-26 2013-03-20 华南理工大学 Family security remote monitoring system and method based on Internet of things
US10516589B2 (en) * 2016-08-31 2019-12-24 At&T Intellectual Property I, L.P. Sensor web management system for internet of things sensor devices with physically imprinted unique frequency keys
WO2018205200A1 (en) * 2017-05-11 2018-11-15 深圳市柘叶红实业有限公司 Remote monitoring management system and management method for fugitive dust at construction site

Also Published As

Publication number Publication date
TWI688236B (en) 2020-03-11

Similar Documents

Publication Publication Date Title
CN106412192B (en) A kind of mobile terminal test method and its system
CN101005411B (en) Automatic detecting system, device and method for circuit type data service
CN111901440B (en) Multi-channel message pushing method and device
JPH09507625A (en) Monitoring subscriber unit operation
TWI688236B (en) System for controlling sensing equipment and method thereof
CN106301977A (en) The method and device that network tests the speed
KR20020015757A (en) Method for automatically changing a call in a bluetooth service area
JP3370247B2 (en) Apparatus and method for increasing the capacity of a personal communication service system by multiple connections to individual telephone links
CN205622716U (en) Network telephone system
CN106200388A (en) A kind of method by mobile terminal association house and system
CN106331384A (en) Media channel test method and device
CN1269335C (en) Test method for serial communication equipment
JP3164095B2 (en) Mobile phone with personal information transmission / reception function
US20050250488A1 (en) Wireless interface that supports multiple remote station sets and devices
CN1921531B (en) Communication collecting method for terminal equipment and switched-in equipment in fixed network short message system
KR100639853B1 (en) Transmission protocol tracing device of calling identity delivery in eletronic switching system and method thereof
JP2879789B2 (en) Cordless line test control system
JP3500394B2 (en) Communications system
JP2990229B2 (en) VC path connection control method and test equipment
CN112272127A (en) Method and terminal for detecting network condition of mobile equipment
JPH0749882Y2 (en) Data communication test equipment
KR100651890B1 (en) Wireless phone system for using multi bell service
JPH07240961A (en) Tracking and connecting system for portable telephone set in mobile communication network
JPS59161168A (en) Network control device
JPS5919656B2 (en) Communication control device