TWI461021B - Method and integrated routing device for controlling remote systems through short messages - Google Patents
Method and integrated routing device for controlling remote systems through short messages Download PDFInfo
- Publication number
- TWI461021B TWI461021B TW100113663A TW100113663A TWI461021B TW I461021 B TWI461021 B TW I461021B TW 100113663 A TW100113663 A TW 100113663A TW 100113663 A TW100113663 A TW 100113663A TW I461021 B TWI461021 B TW I461021B
- Authority
- TW
- Taiwan
- Prior art keywords
- control
- message
- network integration
- integration device
- mobile communication
- Prior art date
Links
Landscapes
- Telephonic Communication Services (AREA)
Description
一種以簡訊進行遠端控制方法及其網路整合裝置,特別係指一種執行身份驗證並管控控制命令有效期限的以簡訊進行遠端控制的方法及其網路整合裝置。The invention relates to a remote control method for short message and a network integration device thereof, in particular to a method for remotely controlling a short message by performing a verification and controlling the validity period of a control command and a network integration device thereof.
隨著行動通訊技術的出現,不僅打破了以往固接通訊方式的限制,也帶動了各種行動通訊裝置應用層面的推廣。目前的行動通訊技術除了可提供以往單純的語音通話功能外,不同的行動通訊用戶更可以透過SMS(short message service)簡訊來進行文字、圖片、影音等多種即時訊息的傳遞,或是透過特定的資訊發佈伺服器取得新聞、財經、廣告…等的即時資訊,同時,不同的行動通訊服務供應商也推出各種行動加值服務,使得現代人可以享受更便利的通訊環境。With the advent of mobile communication technology, it has not only broken the restrictions of the past fixed communication methods, but also promoted the application of various mobile communication devices. In addition to the simple voice call function, the current mobile communication technology can also use SMS (short message service) SMS to transmit various instant messages such as text, pictures, video and audio, or through specific The information publishing server obtains instant news such as news, finance, advertising, etc. At the same time, different mobile communication service providers also launch various action value-added services, so that modern people can enjoy a more convenient communication environment.
在工業自動化控制的領域當中,運用簡訊的發送來進行遠端控制的技術已經相當成熟,其主要是利用行動通訊服務的廣泛服務範圍及訊息傳輸的方便性,將包含有控制命令的簡訊從簡訊傳送端傳送到遠端簡訊接收端的系統,藉此來控制遠端被控制端的輸入/輸出設備或進行資訊的提取,例如:身在外地的行動通訊用戶可透過簡訊控制廠房內的防盜系統或是各種工業設備,通常這類簡訊中的控制命令都有其執行的時效性。In the field of industrial automation control, the technology of using the transmission of short messages for remote control is quite mature. It mainly uses the wide range of services of mobile communication services and the convenience of message transmission, and the newsletter containing control commands is sent from the newsletter. The transmitting end transmits the system to the receiving end of the remote short message, thereby controlling the input/output device of the remote controlled end or extracting information. For example, the mobile communication user in the field can control the anti-theft system in the factory through the short message or Various industrial equipment, usually the control commands in such newsletters have timeliness of their implementation.
SMS具有「儲存轉發機制」及「傳遞確認機制」兩大特色。所謂的「儲存轉發機制」,指的是簡訊傳送端所傳送的簡訊係透過簡訊服務中心(short message service center,SMSC)遞送至遠端的簡訊接收端,因此當簡訊接收端出現訊號不良或是訊息容量已達儲存門檻時,簡訊服務中心將會暫存簡訊,並將簡訊重覆發送至簡訊接收端,直到簡訊接收端確實接收到簡訊為止。「傳遞確認機制」,指的是當簡訊接收端確實接收到簡訊後,簡訊傳送端才能從簡訊服務中心的確認中得知簡訊是否確實發送到簡訊接收端,而其中簡訊傳送端並無法得知簡訊被暫存在簡訊服務中心的時間將會有多久。SMS has two major features: "storage and forwarding mechanism" and "delivery confirmation mechanism". The so-called "storage and forwarding mechanism" means that the SMS transmitted by the SMS sender is delivered to the remote SMS receiver through the short message service center (SMSC). Therefore, when the SMS receiver has a bad signal or When the message capacity has reached the storage threshold, the SMS service center will temporarily store the SMS and send the SMS to the SMS receiver until the SMS receiver actually receives the SMS. The "delivery confirmation mechanism" means that when the receiving end of the short message does receive the short message, the short message transmitting end can know from the confirmation of the short message service center whether the short message is actually sent to the receiving end of the short message, and the short message transmitting end cannot know. How long will the newsletter be temporarily stored in the SMS service center?
基於前述SMS的兩大特色,當以簡訊進行遠端控制時,若簡訊被暫存在簡訊服務中心過久,將導致控制命令錯過正確執行時間才抵達被控制端,此時遠端的被控制端若在沒有管控機制的情況下繼續執行簡訊中的控制命令便可能產生重大危害,例如:水庫閘門的開關、警告燈號與警鈴的作用等。此外,由於可以發出控制命令的通常是具有特定權限的使用者,而使用者往往可能是在一段時間內發出一連串的控制命令,因此若是每一控制命令都要執行一次完整的身份驗證,將會造成遠端被控制端的運算負擔增加,而使遠端控制的效能低落。有鑑於以往的遠端控制在於身份驗證及控制命令期限控管上的缺點,實有必要提出改進的技術手段,來解決此一問題。Based on the two characteristics of the aforementioned SMS, when remote control is performed by SMS, if the SMS is temporarily stored in the SMS service center, it will cause the control command to miss the correct execution time before reaching the controlled end. If you continue to execute the control commands in the SMS without a control mechanism, you may have major hazards, such as the switch of the reservoir gate, the warning light and the role of the alarm bell. In addition, since the user who can issue the control command is usually a user with specific authority, and the user may often issue a series of control commands for a period of time, if a complete authentication is performed for each control command, The computational burden on the remote end is increased, and the performance of the remote control is low. In view of the shortcomings of the previous remote control in the authentication of the authentication and control commands, it is necessary to propose improved technical means to solve this problem.
有鑒於先前技術存在的以簡訊進行遠端控制時,易因控制命令被儲存轉發錯過正確執行時間卻被執行而導致重大危害的問題,本發明遂揭露一種以簡訊進行遠端控制的方法及其網路整合裝置,其中:本發明所揭露之以簡訊進行遠端控制的方法,其包含步驟:網路整合裝置從簡訊服務中心接收自行動通訊裝置發出的控制請求簡訊,其中,所述之控制請求簡訊包含身份驗證資訊、發送時間及第一控制有效期限;網路整合裝置記錄接收到所述之控制請求簡訊的接收時間;網路整合裝置根據所述之控制請求簡訊中的身份驗證資訊進行驗證,當確認所述之身份驗證資訊為合法時,網路整合裝置根據所述之身份驗證資訊產生唯一且不重複的控制驗證碼並記錄於網路整合裝置;網路整合裝置根據接收時間及發送時間計算出延遲時間差,並將第一控制有效期限扣除延遲時間差以產生第二控制有效期限;當第二控制有效期限大於零時,網路整合裝置接著產生包含所述之控制驗證碼的請求許可簡訊,並透過簡訊服務中心遞送至行動通訊裝置,然後啟動計時;及網路整合裝置持續接收行動通訊裝置所傳送的至少一控制命令簡訊,當計時尚未達第二控制有效期限時,網路整合裝置判斷各控制命令簡訊存在所述之控制驗證碼時,對所接收到的各控制命令簡訊進行解析並執行對應控制操作。In view of the prior art remote control by short message, the method is easy to cause a major hazard due to the fact that the control command is stored and forwarded and missed the correct execution time, and the present invention discloses a method for remote control by using the short message. The network integration device, wherein: the method for remotely controlling a short message disclosed by the present invention comprises the steps of: the network integration device receiving, from the short message service center, a control request message sent by the mobile communication device, wherein the control is performed. The request message includes the authentication information, the sending time, and the first control expiration date; the network integration device records the receiving time of receiving the control request message; and the network integration device performs the authentication information in the request message according to the control request. Verifying that when the authentication information is confirmed to be legal, the network integration device generates a unique and non-repeating control verification code according to the authentication information and records the network authentication device; the network integration device is based on the receiving time and The sending time calculates the delay time difference and deducts the first control expiration date Delaying the time difference to generate a second control expiration date; when the second control expiration date is greater than zero, the network integration device then generates a request permission message containing the control verification code, and delivers the message to the mobile communication device through the short message service center, and then And the network integration device continuously receives the at least one control command message transmitted by the mobile communication device, and when the timing has not reached the second control expiration date, the network integration device determines that each control command message has the control verification code, The received control command messages are parsed and the corresponding control operations are performed.
本發明所揭露之網路整合裝置,適用於透過簡訊服務中心與行動通訊裝置進行簡訊的傳送/接收,使行動通訊裝置得以對網路整合裝置進行遠端控制,其中網路整合裝置包含:接收單元,用以從簡訊服務中心接收自行動通訊裝置發出的控制請求簡訊並記錄其對應的接收時間,及用以持續接收行動通訊裝置於通過身份認證後所發出的至少一控制命令簡訊;解析單元,用以解析出控制請求簡訊所包含的身份驗證資訊、發送時間及第一控制有效期限,並用以於各控制命令簡訊中存在合法的控制驗證碼時,解析出各控制命令簡訊中的控制操作;驗證單元,用以根據身份驗證資訊進行驗證,當確認身份驗證資訊為合法時,驗證單元更用以根據身份驗證資訊產生唯一且不重複的控制驗證碼並記錄下來,接著根據接收時間及發送時間計算出延遲時間差,並以第一控制有效期限扣除延遲時間差產生第二控制有效期限及判斷第二控制有效期限是否大於零,當接收到控制命令簡訊時,驗證單元更用以判斷該控制命令簡訊中是否存在所述之控制驗證碼;及管理單元,用以於驗證單元確認第二控制有效期限大於零時,產生包含控制驗證碼的請求許可簡訊,並透過簡訊服務中心遞送至行動通訊裝置,然後啟動計時,當計時未達第二控制有效期限時,管理單元持續接收行動通訊裝置所傳送的至少一控制命令簡訊,並於解析單元解析各控制命令簡訊後執行對應控制操作。The network integration device disclosed in the present invention is suitable for transmitting/receiving a short message through a short message service center and a mobile communication device, so that the mobile communication device can remotely control the network integration device, wherein the network integration device comprises: receiving The unit is configured to receive, from the short message service center, a control request message sent by the mobile communication device and record the corresponding receiving time, and to continuously receive at least one control command message sent by the mobile communication device after the identity authentication; the analyzing unit For parsing the authentication information, the sending time and the first control expiration date included in the control request message, and using the control control code in each control command message to parse the control operation in each control command message The verification unit is configured to perform verification according to the authentication information. When the authentication information is confirmed to be legal, the verification unit is further configured to generate a unique and non-repetitive control verification code according to the authentication information, and record the result, and then send according to the receiving time and the sending time. Time to calculate the delay time difference, and the first control The validity period deduction delay time difference generates a second control expiration date and determines whether the second control expiration date is greater than zero. When receiving the control command message, the verification unit is further configured to determine whether the control verification code exists in the control command message And a management unit, configured to generate a request permission message including a control verification code when the verification unit confirms that the second control expiration date is greater than zero, and deliver the message to the mobile communication device through the short message service center, and then start timing, when the timing is not up to the first When the control period expires, the management unit continuously receives at least one control command message transmitted by the mobile communication device, and performs a corresponding control operation after the analysis unit parses each control command message.
本發明所揭露之系統與方法如上,與先前技術之間的差異在於本發明於行動通訊裝置透過簡訊進行遠端控制時,根據身份驗證資訊驗證行動通訊裝置是否為合法的控制命令發佈者,當為合法控制命令發佈者時則產生控制驗證碼,並以行動通訊裝置所發出的第一控制有效期限扣除簡訊因儲存轉發機制所消耗的時間作為對應控制驗證碼的第二控制有效期限,供行動通訊裝置於第二有效期限內進行遠端控制。The system and method disclosed in the present invention are as above, and the difference from the prior art is that the present invention verifies whether the mobile communication device is a legitimate control command issuer according to the identity verification information when the mobile communication device performs remote control through the short message. The control verification code is generated when the commander is legally controlled, and the time consumed by the storage and forwarding mechanism is deducted from the first control expiration date issued by the mobile communication device as the second control expiration date of the corresponding control verification code for the action. The communication device performs remote control within a second effective period.
透過上述的技術手段,本發明可以避免在遠端控制時因控制命令錯過正確執行時間卻被執行而導致重大危害,進而提升以簡訊進行遠端控制的效能。Through the above technical means, the present invention can avoid the significant harm caused by the execution of the control command missed the correct execution time during the remote control, thereby improving the performance of the remote control by the short message.
以下將配合圖式及實施例來詳細說明本發明之實施方式,藉此對本發明如何應用技術手段來解決技術問題並達成技術功效的實現過程能充分理解並據以實施。The embodiments of the present invention will be described in detail below with reference to the drawings and embodiments, so that the application of the technical means to solve the technical problems and achieve the technical effects can be fully understood and implemented.
首先,先針對本發明的用語定義方式進行說明。First, the description of the terminology of the present invention will be first described.
於本發明所述的簡訊指的是以SMS(short message service)方式進行傳輸的訊息封包,其中透過SMS方式所傳輸的簡訊,均是由簡訊傳送端發出並透過簡訊服務中心(short message service center,SMSC)遞送至簡訊接收端的。每一筆簡訊可以根據OPC(OLE for Process Control,程序控制的物件鏈結及嵌入)通訊協議轉換格式進行封裝及解析,由於OPC為本發明所述領域中的習知通訊協議,其針對訊息封包的標頭、主體及儲存格式等均有其各別定義,在此則不針對其詳細規格加以贅述。除此之外,簡訊也可以利用其他的格式進行封裝/解析,由於簡訊格式的設定為本發明所屬領域具通常知識者所能輕易思及的變更,本發明於此則不一一列舉說明。The short message referred to in the present invention refers to a message packet transmitted by SMS (short message service), wherein the SMS transmitted by the SMS method is sent by the short message transmitting end and transmitted through the short message service center (short message service center) , SMSC) delivered to the receiving end of the SMS. Each message can be encapsulated and parsed according to the OPC (OLE for Process Control, Program Controlled Object Linking and Embedding) communication protocol conversion format. Since OPC is a conventional communication protocol in the field of the invention, it is for message packets. Headers, main bodies and storage formats have their own definitions, and their detailed specifications are not described here. In addition, the short message can also be encapsulated/parsed by other formats. Since the setting of the short message format is a change that can be easily thought of by those skilled in the art, the present invention does not enumerate here.
於本發明所述的簡訊服務中心(short message service center,SMSC),是由各家行動通訊服務供應商所設置,每一簡訊服務中心均是自簡訊傳送端接收簡訊,並視簡訊接收端的接收狀況決定是否暫存或重發簡訊。The short message service center (SMSC) according to the present invention is set by each mobile communication service provider, and each short message service center receives the short message from the short message transmitting end and receives the receiving end of the short message receiving end. The status determines whether to temporarily store or resend the newsletter.
於本發明中為了方便描述,各種於行動通訊裝置與網路整合裝置之間來往的簡訊將會以簡訊中所包含內容的差異來定義名詞,所述的控制請求簡訊、請求許可簡訊、控制命令簡訊、控制失敗簡訊及回報簡訊等均為前述透過SMS(short message service)方式進行傳輸的訊息封包,其差異僅在於簡訊中所包含的內容不同,但均符合SMS的傳輸協定格式,而行動通訊裝置則係透過GSM、GPRS、UMTS、HSDPA、HSUPA、CDMA、WCDMA或Wimax連接至該簡訊服務中心以進行SMS的傳送/接收。For convenience of description in the present invention, various newsletters between the mobile communication device and the network integration device will define nouns based on the difference in content included in the newsletter, the control request message, the request permission message, and the control command. The short message, the control failure newsletter and the return newsletter are all the message packets transmitted by SMS (short message service). The difference is only that the content contained in the newsletter is different, but they are all in accordance with the SMS transmission protocol format, and the mobile communication The device is connected to the short message service center via GSM, GPRS, UMTS, HSDPA, HSUPA, CDMA, WCDMA or Wimax for SMS transmission/reception.
接下來,將先配合「第1圖」,為透過簡訊以本發明之網路整合裝置100進行遠端控制的架構圖,對本發明的實施流程及必要元件進行說明。Next, the implementation flow and necessary components of the present invention will be described with reference to "FIG. 1", which is an architecture diagram for remote control of the network integration device 100 of the present invention through a short message.
首先,本發明之網路整合裝置100適用於透過簡訊服務中心110與行動通訊裝置120進行簡訊的傳送/接收,使行動通訊裝置120得以對網路整合裝置100進行遠端控制,其中可傳送簡訊的行動通訊裝置在本發明中為方便說明,僅以一台行動通訊裝置120描述與網路整合裝置100之間的互動,然實際上同時可以傳送簡訊到網路整合裝置100中的行動通訊裝置可以有一台以上,網路整合裝置100則係根據各簡訊中所包含的身份驗證資訊來辨別不同的用戶端。First, the network integration device 100 of the present invention is adapted to perform transmission/reception of a short message through the short message service center 110 and the mobile communication device 120, so that the mobile communication device 120 can remotely control the network integration device 100, wherein the short message can be transmitted. In the present invention, for convenience of description, only one mobile communication device 120 describes the interaction with the network integration device 100, but actually can simultaneously transmit the short message to the mobile communication device in the network integration device 100. There may be more than one, and the network integration device 100 identifies different clients according to the authentication information contained in each message.
本發明之網路整合裝置100包含接收單元101、解析單元102、驗證單元103及管理單元104。The network integration device 100 of the present invention includes a receiving unit 101, a parsing unit 102, a verification unit 103, and a management unit 104.
接收單元101,負責從簡訊服務中心110接收行動通訊裝置120所發出的控制請求簡訊並記錄其對應的接收時間。當行動通訊裝置120需要進行遠端控制時,首先行動通訊裝置120可以對網路整合裝置100發送包含身份驗證資訊、發送時間及第一控制有效期限的一個控制請求簡訊,若是網路整合裝置100處於可接收狀態,則接收單元101將會接收到由簡訊服務中心110所遞送的控制請求簡訊。The receiving unit 101 is responsible for receiving the control request message sent by the mobile communication device 120 from the short message service center 110 and recording its corresponding receiving time. When the mobile communication device 120 needs to perform remote control, the mobile communication device 120 may first send a control request message including the authentication information, the sending time, and the first control expiration date to the network integration device 100, if the network integration device 100 In the receivable state, the receiving unit 101 will receive the control request message delivered by the short message service center 110.
行動通訊裝置120在發送控制請求簡訊時,可以自行輸入使用者名稱及密碼、掃拭指紋產生生物特徵或是以行動通訊裝置120當中原先即已存在的憑證資料(如:SIM卡、憑證檔案…等)來產生身份驗證資料,然後將身份驗證資料按照預先設定的簡訊輸入格式加入到控制請求簡訊中。依據驗證需求的不同,身份驗證資料也可以是前述幾種資料的任意組合,例如:同時採用使用者名稱及密碼以及生物特徵等,藉此來提高身份驗證的安全層級。When transmitting the control request message, the mobile communication device 120 can input the user name and password, scan the fingerprint to generate the biometric feature, or use the original voucher data in the mobile communication device 120 (eg, SIM card, voucher file... Etc.) to generate authentication data, and then add the authentication data to the control request message in accordance with a preset SMS input format. Depending on the verification requirements, the authentication data can also be any combination of the above-mentioned data, for example, using the user name and password and biometrics at the same time, thereby improving the security level of the authentication.
除此之外,控制請求簡訊中的第一控制有效期限,指的是一個事先預測需要用來進行遠端控制的時間範圍,可以是使用者需要發送控制命令時自系統提供的控制請求的類別中選取後自動產生的,例如:執行「資料提取」控制命令的控制有效期限系統預設為5分鐘,則當使用者選取「資料提取」的控制命令時,系統將會自動產生控制有效期限5分鐘,然後匯入到控制請求簡訊中。除了由系統根據使用者選擇的控制請求類別自動產生外,第一控制有效期限也可以是由使用者透過預先設定的簡訊輸入格式自行輸入產生的。例如:提供一個簡訊輸入欄位,讓使用者得以在該欄位中自行輸入控制有效期限。In addition, the first control expiration date in the control request message refers to a time range that is predicted in advance to be used for remote control, and may be a category of control requests provided by the system when the user needs to send a control command. Automatically generated after the selection, for example, the control validity period of the "data extraction" control command is preset to 5 minutes. When the user selects the "data extraction" control command, the system will automatically generate the control validity period. Minutes, then import into the control request message. In addition to being automatically generated by the system according to the control request category selected by the user, the first control expiration date may also be generated by the user inputting through a preset SMS input format. For example, provide a newsletter input field that allows the user to enter the control expiration date in the field.
當行動通訊裝置120發送控制請求簡訊時,行動通訊裝置120中的系統將會自動把發送時間加入到控制請求簡訊中。接著,當簡訊服務中心110順利將控制請求簡訊發送到網路整合裝置100當中時,接收單元101將會記錄接收到控制請求簡訊的接收時間,而所接收到的控制請求簡訊中將會包含身份驗證資訊、發送時間及第一控制有效期限。When the mobile communication device 120 sends a control request message, the system in the mobile communication device 120 will automatically add the transmission time to the control request message. Then, when the short message service center 110 smoothly sends the control request message to the network integration device 100, the receiving unit 101 records the reception time of receiving the control request message, and the received control request message will include the identity. Verification information, delivery time, and first control expiration date.
接收模組101除了接收控制請求簡訊外,也用以於身份驗證資訊被驗證為合法時,持續接收行動通訊裝置120所傳送的至少一控制命令簡訊。In addition to receiving the control request message, the receiving module 101 is also configured to continuously receive at least one control command message transmitted by the mobile communication device 120 when the authentication information is verified as legitimate.
解析單元102,負責解析出控制請求簡訊所包含的身份驗證資訊、發送時間及第一控制有效期限,此外,當控制命令簡訊包含合法的控制驗證碼時,也就是控制命令簡訊中的控制驗證碼與網路整合裝置110當中所記錄的控制驗證碼相符時,解析單元102將會解析控制命令簡訊中的控制操作。解析簡訊時,解析單元102可以依據OPC(OLE for Process Control,程序控制的物件鏈結及嵌入)通訊協議轉換格式進行簡訊的解析,由於OPC為本發明所屬領域中的習知通訊協議,其根據各種資料封包的格式有不同的定義方式,在此則不針對OPC的詳細規格加以贅述。The parsing unit 102 is configured to parse the identity verification information, the sending time, and the first control expiration date included in the control request message, and further, when the control command message includes a legal control verification code, that is, the control verification code in the control command message. When the control verification code recorded in the network integration device 110 matches, the parsing unit 102 will parse the control operation in the control command message. When parsing the short message, the parsing unit 102 can perform the parsing of the short message according to the OPC (OLE for Process Control) protocol conversion format. Since OPC is a conventional communication protocol in the field to which the present invention pertains, The format of various data packets has different definitions, and the detailed specifications of OPC are not described here.
驗證單元103,負責根據身份驗證資訊進行驗證以確認身份驗證資訊是否合法,驗證時,可以依據使用者名稱及密碼、生物特徵及憑證資料等或其任意組合的資料型別採用不同的驗證比對。The verification unit 103 is responsible for verifying according to the authentication information to confirm whether the authentication information is legal. When verifying, the verification may be performed according to the user name and password, the biometrics and the voucher data, or any combination of the data types. .
當行動通訊裝置120傳送的身份驗證資訊被驗證單元103驗證為合法時,驗證單元103更用以根據身份驗證資訊產生唯一且不重複的一個控制驗證碼並記錄下來。相反地,當驗證單元103驗證出身份驗證資訊為非法時,驗證單元103將會記錄非法的控制請求簡訊的內容及接收時間,以供日後產生警示報告,藉此供網路整合裝置100的管理者可以查看警示報告並進行系統維修或監控。When the authentication information transmitted by the mobile communication device 120 is verified as valid by the verification unit 103, the verification unit 103 is further configured to generate and record a unique control code that is unique and not repeated according to the identity verification information. Conversely, when the verification unit 103 verifies that the authentication information is illegal, the verification unit 103 records the content of the illegal control request message and the receiving time for later generation of the warning report, thereby being managed by the network integration device 100. You can view the warning report and perform system maintenance or monitoring.
當驗證單元103產生控制驗證碼並將控制驗證碼記錄下來之後,接著驗證單元103將會根據控制請求簡訊的接收時間及發送時間計算出一個延遲時間差,並以第一控制有效期限扣除延遲時間差產生第二控制有效期限及判斷第二控制有效期限是否大於零,當驗證單元103確認第二控制有效期限大於零時,將會觸發管理單元104啟動計時。After the verification unit 103 generates the control verification code and records the control verification code, the verification unit 103 then calculates a delay time difference according to the reception time and the transmission time of the control request short message, and deducts the delay time difference by the first control validity period. The second control expiration date and determining whether the second control expiration date is greater than zero, when the verification unit 103 confirms that the second control expiration date is greater than zero, the management unit 104 is triggered to start timing.
當第二控制有效期限大於零時,表示使用者所請求的控制期間經由簡訊服務中心110的儲存轉發機制遞送後還有剩餘時間,行動通訊裝置120的使用者尚可在此剩餘時間內發出控制命令簡訊,因此此時驗證單元103將會觸發管理單元104執行下一步的處理。相反地,當第二控制有效期限不大於零時,表示控制請求簡訊在抵達網路整合裝置100之前已經超過可以進行遠端控制的時間範圍,此時驗證單元103將會觸發管理單元104產生一個控制失敗簡訊,並透過簡訊服務中心110遞送控制失敗簡訊至行動通訊裝置120中,以提示行動通訊裝置120端控制請求已被駁回。When the second control expiration date is greater than zero, it means that there is remaining time after the control period requested by the user is delivered through the store-and-forward mechanism of the short message service center 110, and the user of the mobile communication device 120 can still issue control during the remaining time. The message is commanded, so at this time the verification unit 103 will trigger the management unit 104 to perform the next processing. Conversely, when the second control expiration date is not greater than zero, it indicates that the control request message has exceeded the time range in which remote control can be performed before reaching the network integration device 100, and the verification unit 103 will trigger the management unit 104 to generate one. The failed communication message is controlled and a control failure message is delivered to the mobile communication device 120 through the short message service center 110 to prompt the mobile communication device 120 to control the request has been rejected.
管理單元104,負責於驗證單元103確認第二控制有效期限大於零時,產生包含控制驗證碼的請求許可簡訊,並透過簡訊服務中心110遞送至行動通訊裝置120,接著啟動計時。同樣地,管理單元104封裝請求許可簡訊時,也可以依據OPC(OLE for Process Control,程序控制的物件鏈結及嵌入)通訊協議轉換格式進行簡訊的解析,在此則不針對OPC的詳細規格加以贅述。The management unit 104 is responsible for generating the request permission message including the control verification code when the verification unit 103 confirms that the second control expiration date is greater than zero, and delivers the request permission message to the mobile communication device 120 through the short message service center 110, and then starts timing. Similarly, when the management unit 104 encapsulates the request permission briefing, the OPC (OLE for Process Control, program-controlled object link and embedding) communication protocol conversion format can also be used for parsing the short message, and the detailed specification of the OPC is not used here. Narration.
當計時未達第二控制有效期限時,管理單元104將會持續接收行動通訊裝置120所傳送的至少一控制命令簡訊,若驗證單元103確認該制中存在合法控制驗證碼,管理單元104將根據解析單元102解析出來的控制命令觸發網路整合裝置100連接的輸入/輸出設備131~133執行對應的控制操作;相反地,當計時達第二控制有效期限時,管理單元104則不執行任何動作。需要特別說明的是,網路整合裝置100可以透過串列埠或是乙太網路通訊埠連接至少一個輸入/輸出設備131~133,所述的各個輸入/輸出設備可以是具有獨立運算功能的主機,如:個人電腦、大型主機電腦…等,也可以是單純執行輸出的裝置,如:印表機、廠房機組…等。When the timing is less than the second control expiration date, the management unit 104 will continue to receive at least one control command message transmitted by the mobile communication device 120. If the verification unit 103 confirms that there is a legal control verification code in the system, the management unit 104 will perform the analysis according to the analysis. The control command parsed by the unit 102 triggers the input/output devices 131-133 connected to the network integration device 100 to perform corresponding control operations; conversely, when the timing is up to the second control expiration date, the management unit 104 does not perform any action. It should be particularly noted that the network integration device 100 can connect at least one input/output device 131-133 through a serial port or an Ethernet communication port, and the respective input/output devices can be independent computing functions. Hosts, such as personal computers, mainframe computers, etc., can also be devices that simply perform output, such as printers, plant units, etc.
除此之外,管理單元104也負責根據控制操作的執行結果產生回報簡訊並傳回至行動通訊裝置120,藉此提示行動通訊裝置120端的使用者執行是否成功。In addition, the management unit 104 is also responsible for generating a return message according to the execution result of the control operation and transmitting it back to the mobile communication device 120, thereby prompting the user of the mobile communication device 120 to perform successfully.
接下來,請參考「第2圖」,為本發明以簡訊進行遠端控制的方法的流程圖,將用以說明本發明的實施流程。Next, please refer to "FIG. 2", which is a flowchart of a method for remote control by short message in the present invention, which will be used to explain the implementation process of the present invention.
首先,網路整合裝置從簡訊服務中心接收自行動通訊裝置所發出的包含有身份驗證資訊、發送時間及第一控制有效期限的控制請求簡訊(步驟210)。First, the network integration device receives, from the short message service center, a control request message sent from the mobile communication device including the authentication information, the transmission time, and the first control expiration date (step 210).
行動通訊裝置在發送控制請求簡訊時,可以自行輸入使用者名稱及密碼、掃拭指紋產生生物特徵或是以行動通訊裝置當中原先即已存在的憑證資料(如:SIM卡、憑證檔案…等)來產生身份驗證資料,然後將身份驗證資料按照預先設定的簡訊輸入格式加入到控制請求簡訊中。依據驗證需求的不同,身份驗證資料也可以是前述幾種資料的任意組合,例如:同時採用使用者名稱及密碼以及生物特徵等,藉此來提高身份驗證的安全層級。When transmitting the control request message, the mobile communication device may input the user name and password, scan the fingerprint to generate the biometric feature, or use the original document information (such as SIM card, voucher file, etc.) in the mobile communication device. To generate authentication data, and then add the authentication data to the control request message in accordance with a preset SMS input format. Depending on the verification requirements, the authentication data can also be any combination of the above-mentioned data, for example, using the user name and password and biometrics at the same time, thereby improving the security level of the authentication.
除此之外,控制請求簡訊中的第一控制有效期限,指的是一個事先預測需要用來進行遠端控制的時間範圍,可以是使用者需要發送控制命令時自系統提供的控制請求的類別中選取後自動產生的,例如:執行「遠端機器操作」的控制命令其控制有效期限系統預設為20分鐘,則當使用者選取資料提取的控制命令時,系統將會自動產生控制有效期限20分鐘,然後匯入到控制請求簡訊中。此外,第一控制有效期限也可以是由使用者透過預先設定的簡訊輸入格式自行輸入產生的。例如:提供一個簡訊輸入欄位,讓使用者得以在該欄位中自行輸入控制有效期限。In addition, the first control expiration date in the control request message refers to a time range that is predicted in advance to be used for remote control, and may be a category of control requests provided by the system when the user needs to send a control command. If it is automatically selected after the selection, for example, the control command of the "remote machine operation" is executed, and the control validity period is preset to 20 minutes. When the user selects the control command for data extraction, the system will automatically generate the control validity period. 20 minutes, then import into the control request message. In addition, the first control expiration date may also be generated by the user by self-input through a preset SMS input format. For example, provide a newsletter input field that allows the user to enter the control expiration date in the field.
當行動通訊裝置發送控制請求簡訊時,系統將會自動把發送時間加入到控制請求簡訊中,此時被傳送至網路整合裝置的控制請求簡訊將會包含身份驗證資訊、發送時間及第一控制有效期限,當成功的透過簡訊服務中心遞送出控制請求簡訊至網路整合裝置時,網路整合裝置將會記錄接收到控制請求簡訊的時間(步驟220)。When the mobile communication device sends a control request message, the system will automatically add the sending time to the control request message, and the control request message transmitted to the network integration device will contain the authentication information, the sending time and the first control. The expiration date, when the control request message is successfully delivered to the network integration device through the SMS service center, the network integration device will record the time when the control request message is received (step 220).
接著,網路整合裝置將會根據身份驗證資訊進行驗證,當確認身份驗證資訊為合法時,根據身份驗證資訊產生唯一且不重複的控制驗證碼並記錄於網路整合裝置中(步驟230)。Then, the network integration device will perform verification according to the authentication information. When the authentication information is confirmed to be legal, a unique and non-repetitive control verification code is generated according to the authentication information and recorded in the network integration device (step 230).
網路整合裝置可以依據實際應用時所採用的身份驗證資訊格式以不同的方式進行驗證,例如:依據使用者名稱及密碼、比對生物特徵是否符合用戶資料庫中預先已經建立的資料,或是根據憑證比對演算判斷行動通訊裝置所傳送的憑證資料是否符合規格等,在此僅針對身份驗證資料的用途加以說明,並非用以限定實際應用時所採用的身份驗證資料格式及驗證方法。The network integration device can be verified in different manners according to the authentication information format used in the actual application, for example, according to the user name and password, whether the biometrics match the pre-established data in the user database, or According to the voucher comparison calculation, it is judged whether the voucher data transmitted by the mobile communication device meets the specifications, etc., and only the purpose of the identity verification data is described herein, and is not used to define the identity verification data format and verification method used in actual application.
若是行動通訊裝置所發出的身份驗證資訊無法通過認證,則此時網路整合裝置將會把行動通訊裝置的使用者歸類為非法的控制命令發佈者,網路整合裝置將會記錄對應的控制請求簡訊的內容及接收時間然後產生警示報告,以供日後網路整合裝置的管理者可以進行安全性的檢查及瞭解異常事件的發生狀況。If the authentication information sent by the mobile communication device cannot be authenticated, then the network integration device will classify the user of the mobile communication device as an illegal control command issuer, and the network integration device will record the corresponding control. Requesting the content of the newsletter and the time of receipt and then generating a warning report for the administrator of the network integration device to perform security checks and understand the occurrence of abnormal events.
當網路整合裝置產生了唯一且不重複的控制驗證碼後,網路整合裝置接著將會根據接收時間及發送時間計算出延遲時間差,並將第一控制有效期限扣除延遲時間差以產生第二控制有效期限(步驟240)。After the network integration device generates a unique and non-repeating control verification code, the network integration device will then calculate the delay time difference according to the reception time and the transmission time, and subtract the delay time difference from the first control expiration date to generate the second control. Expiration date (step 240).
需要特別說明的是,第一控制有效期限與第二控制有效期限的差異在於,第一控制有效期限係為行動通訊裝置所發出,為行動通訊裝置需要進行遠端控制的時間範圍,第二控制有效期限則為經過簡訊服務中心遞送簡訊過後實際送達網路整合裝置,並在網路整合裝置上實際開始計時的控制有效期限。It should be particularly noted that the difference between the first control expiration date and the second control expiration date is that the first control expiration date is sent by the mobile communication device, and the time range in which the mobile communication device needs to perform remote control, the second control The expiration date is the effective period of control that is actually delivered to the network integration device after the SMS service center delivers the newsletter and actually starts timing on the network integration device.
由於控制請求簡訊透過簡訊服務中心進行遞送時,網路整合裝置可能出現暫時無法接收的情況,因而使得控制請求簡訊在簡訊服務中心暫存了一段時間,因此當控制請求簡訊抵達網路整合裝置時,必須先對控制請求簡訊當中的第一控制有效期限進行比對。網路整合裝置首先將會根據控制請求簡訊的發送時間及接收時間計算出一個延遲時間差,然後以第一控制有效期限扣除延遲時間差產生第二控制有效期限,當第二控制有效期限大於零時,網路整合裝置透過簡訊服務中心遞送包含控制驗證碼的請求許可簡訊至行動通訊裝置並啟動計時(步驟250)。Since the control request message is delivered through the SMS service center, the network integration device may temporarily be unable to receive, so that the control request message is temporarily stored in the SMS service center for a certain period of time, so when the control request message arrives at the network integration device, The first control expiration date in the control request message must be compared first. The network integration device first calculates a delay time difference according to the sending time and the receiving time of the control request message, and then deducts the delay time difference by the first control expiration date to generate a second control expiration date. When the second control expiration date is greater than zero, The network integration device delivers the request permission message containing the control verification code to the mobile communication device through the short message service center and starts timing (step 250).
值得一提的是,若是第二控制有效期限不大於零,表示控制請求簡訊在抵達網路整合裝置之前已經超過可以進行遠端控制的時間範圍,此時網路整合裝置將會產生一個控制失敗簡訊,並透過簡訊服務中心遞送控制失敗簡訊至行動通訊裝置中,藉此以提示使用者發生控制失敗的狀況。It is worth mentioning that if the second control expiration date is not greater than zero, it means that the control request SMS has exceeded the time range for remote control before reaching the network integration device, and the network integration device will generate a control failure. The newsletter sends a control failure message to the mobile communication device through the newsletter service center, thereby prompting the user to have a control failure condition.
網路整合裝置啟動計時後,將會接收行動通訊裝置所傳送的控制命令簡訊(步驟260),並持續判斷網路整合裝置是否計時達第二控制有效期限(步驟270),當計時未達第二控制有效期限時,網路整合裝置將會判斷所接收的控制命令簡訊中是否存在合法控制驗證碼,若存在合法的控制驗證碼,則解析控制命令簡訊並執行對應控制操作(步驟280a),若是計時達第二控制有效期限,則網路整合裝置則不執行任何動作(步驟280b)。After the network integration device starts timing, it will receive the control command message transmitted by the mobile communication device (step 260), and continuously determine whether the network integration device is timed to the second control expiration date (step 270), when the timing is not up to the first When the effective period is controlled, the network integration device determines whether there is a legal control verification code in the received control command message, and if there is a legal control verification code, parses the control command message and performs a corresponding control operation (step 280a), if When the timing is up to the second control expiration date, the network integration device does not perform any action (step 280b).
需要特別說明的是,網路整合裝置可以透過串列埠或乙太網路通訊埠與至少一個輸入/輸出設備相連接,其中各個輸入/輸出設備可以是具有獨立運算功能的主機,如:個人電腦、大型電腦主機…等,也可以是單純執行輸出的裝置,如:印表機、廠房機組…等,因此當網路整合裝置在計時未達第二控制有效期限時,行動通訊裝置端的使用者可以持續發出含有控制驗證碼的控制命令簡訊,網路整合裝置解析後,將會觸發對應的輸入/輸出設備執行資料I/O或是控制I/O等。當輸入/輸出設備執行了對應的控制操作後,可以由將執行結果回報給網路整合裝置,接著再由網路整合裝置產生回報簡訊,然後再傳送回行動通訊裝置,藉此以提示行動通訊裝置端的使用者遠端控制的執行結果。It should be specially noted that the network integration device can be connected to at least one input/output device through a serial port or an Ethernet communication device, wherein each input/output device can be a host with independent computing functions, such as: Computers, large computer mainframes, etc., can also be simple output devices, such as printers, plant units, etc., so when the network integration device does not reach the second control expiration date, the user of the mobile communication device The control command message containing the control verification code can be continuously sent out, and the network integration device will trigger the corresponding input/output device to perform data I/O or control I/O. After the input/output device performs the corresponding control operation, the execution result can be reported back to the network integration device, and then the network integration device generates the return message, and then transmits it back to the mobile communication device, thereby prompting the mobile communication. The execution result of the remote control of the user at the device end.
除此之外,控制請求簡訊、請求許可簡訊、控制命令簡訊、控制失敗簡訊及回報簡訊等簡訊在產生時及解析時,可以根據OPC(OLE for Process Control,程序控制的物件鏈結及嵌入)通訊協議轉換格式進行簡訊的封裝及解析,由於OPC為本發明所屬領域中的習知通訊協議,在此則不針對OPC的詳細規格加以贅述。除此之外,簡訊也可以利用其他的格式進行解析/封裝,由於簡訊格式的設定為本發明所屬領域具通常知識者所能輕易思及的變更,本發明於此則不一一列舉說明。In addition, control brief messages, request permission newsletters, control command newsletters, control failure newsletters, and return newsletters can be generated and parsed according to OPC (OLE for Process Control, program controlled object chaining and embedding). The communication protocol conversion format performs encapsulation and parsing of the short message. Since OPC is a conventional communication protocol in the field to which the present invention pertains, detailed descriptions of the OPC are not described herein. In addition, the short message can also be parsed/encapsulated by other formats. Since the setting of the short message format is a change that can be easily thought of by those skilled in the art, the present invention does not enumerate them here.
接下來,將以行動通訊裝置透過簡訊對遠端廠房機組進行遠端控制的過程做為一實施例來說明本發明的實施方式。Next, an embodiment in which the mobile communication device remotely controls the remote plant unit through the short message will be described as an embodiment to explain the embodiment of the present invention.
請先參考「第3A圖」,為本發明實施例的架構示意圖,其係由行動通訊裝置300、簡訊服務中心310及遠端廠房320中的網路整合裝置322及至少一機組組成,其中行動通訊裝置300係透過SMS(short message service)簡訊對遠端廠房320的機組進行遠端控制。Please refer to FIG. 3A, which is a schematic structural diagram of an embodiment of the present invention, which is composed of a mobile communication device 300, a short message service center 310, and a network integration device 322 in a remote factory 320, and at least one unit. The communication device 300 remotely controls the unit of the remote plant 320 through an SMS (short message service) message.
於本實施例所述的行動通訊裝置300可以是任何可以透過GSM、GPRS、UMTS、HSDPA、HSUPA、CDMA、WCDMA或Wimax等方式與簡訊服務中心310連接並透過SMS方式進行簡訊的傳送/接收的裝置,如:手機、PDA、平板電腦…等。The mobile communication device 300 in this embodiment may be any transmission/reception that can be connected to the short message service center 310 through GSM, GPRS, UMTS, HSDPA, HSUPA, CDMA, WCDMA or Wimax and SMS. Devices, such as: mobile phones, PDAs, tablets, etc.
於本實施例中,遠端廠房320係透過網路整合裝置322接收經由簡訊服務中心310所遞送的簡訊,經由身份驗證及控制命令解析後,將會觸發與網路整合裝置322相連的機組執行對應的控制操作。網路整合裝置322於遠端廠房320端與至少一機組可以透過串列埠或是乙太網路通訊埠相連,其中所述的至少一機組為遠端廠房320的輸入/輸出設備,可以執行資料I/O或是控制I/O。In this embodiment, the remote plant 320 receives the SMS delivered via the SMS service center 322 via the network integration device 322, and after being parsed by the authentication and control commands, triggers the execution of the unit connected to the network integration device 322. Corresponding control operations. The network integration device 322 can be connected to at least one unit at the remote plant 320 end through a serial port or an Ethernet communication port. The at least one unit is an input/output device of the remote plant 320 and can be executed. Data I/O or control I/O.
由於以SMS簡訊進行遠端控制時,簡訊服務中心310將視網路整合裝置322的接收狀況決定是否暫存或重發,因此SMS簡訊抵達網路整合裝置322時,需要針對控制有效期限進行核對,藉此以避免遠端控制時因控制命令錯過正確執行時間卻被執行而導致重大危害。When the remote control is performed by the SMS message, the short message service center 310 determines whether to temporarily store or retransmit the network integration device 322. Therefore, when the SMS message arrives at the network integration device 322, it needs to check the control validity period. In order to avoid the remote control, the control command misses the correct execution time but is executed to cause a major hazard.
接著,請同時參考「第3A圖」及「第3B圖」,將說明本實施例中行動通訊裝置300如何透過SMS與網路整合裝置322之間進行遠端控制。Next, please refer to "3A" and "3B" at the same time, and how the mobile communication device 300 in the present embodiment performs remote control between the SMS and the network integration device 322 will be described.
假設行動通訊裝置300目前欲對遠端廠房320的第一機組324進行遠端控制,使第一機組324可以執行一個指定工作,則首先行動通訊裝置300將傳送一個包含有身份驗證資訊、發送時間及第一控制有效期限的控制請求簡訊到網路整合裝置322,其中,控制請求簡訊係由簡訊服務中心310進行遞送的。Assuming that the mobile communication device 300 currently intends to remotely control the first unit 324 of the remote plant 320 so that the first unit 324 can perform a designated operation, the mobile communication device 300 will first transmit an authentication information and transmission time. And the control request brief message of the first control expiration date to the network integration device 322, wherein the control request message is delivered by the short message service center 310.
假設於本實施例中,身份驗證資訊為使用者名稱及密碼,使用者設定了第一控制有效期限為Tb ,則當行動通訊裝置300發出控制請求簡訊時,同時也會將發送時間Ta 加入到控制請求簡訊中。It is assumed that in the embodiment, the authentication information is the user name and password, and the user sets the first control expiration date to T b , and when the mobile communication device 300 issues the control request message, the time T a will also be transmitted. Join the control request message.
接著,網路整合裝置322接收控制請求簡訊並記錄接收時間Tc ,並根據使用者名稱及密碼驗證行動通訊裝置300端的使用者是否為合法的控制命令發佈者,當為合法的控制命令發佈者時,網路整合裝置322將會根據身份驗證資訊產生唯一且不重複的控制驗證碼並記錄於網路整合裝置322中。若是驗證後為非法的控制命令發佈者,網路整合裝置322將會記錄控制請求簡訊的內容及發生時間然後產生警示報告,以供日後網路整合裝置的管理者可以進行安全性的檢查及瞭解異常事件的發生狀況。Next, the network integration device 322 receives the control request message and records the reception time T c , and verifies whether the user of the mobile communication device 300 is a legitimate control command issuer according to the user name and password, and is a legitimate control command issuer. At this time, the network integration device 322 will generate a unique and non-repeating control verification code based on the authentication information and record it in the network integration device 322. If it is an illegal control command issuer after verification, the network integration device 322 will record the content of the control request message and the time of occurrence and then generate a warning report for the administrator of the network integration device to perform security check and understanding. The occurrence of an abnormal event.
接著,網路整合裝置322根據接收時間Tc 及發送時間Ta 計算出延遲時間差(Tc -Ta ),並將第一控制有效期限扣除延遲時間差以產生第二控制有效期限Tb ’,亦即Tb ’=Tb -(Tc -Ta )。當第二控制有效期限Tb ’大於零時,表示行動通訊裝置300尚有可以連續發出控制命令的剩餘時間,此時網路整合裝置322將會以第二控制有效期限Tb ’為控制驗證碼的控制有效期限,接著透過簡訊服務中心遞送包含控制驗證碼的請求許可簡訊至行動通訊裝置,並啟動計時。若是第二控制有效期限Tb ’不大於零,表示控制請求簡訊可能因簡訊服務中心310的暫存時間過久,錯過了正常應抵達網路整合裝置322的時間,此時網路整合裝置322將會產生控制失敗簡訊,並傳回到行動通訊裝置300中。Next, the network integration device 322 calculates a delay time difference (T c -T a ) according to the reception time T c and the transmission time T a , and subtracts the delay time difference from the first control expiration date to generate a second control expiration date T b ', That is, T b '=T b -(T c -T a ). When the second control expiration date T b ' is greater than zero, it indicates that the mobile communication device 300 has a remaining time that the control command can be continuously issued, and the network integration device 322 will verify the control with the second control expiration date T b ' The code is controlled for the expiration date, and then the request permission message containing the control verification code is delivered to the mobile communication device through the short message service center, and the timing is started. If the second control expiration date T b ' is not greater than zero, it indicates that the control request message may be missed due to the temporary storage time of the short message service center 310, and the network integration device 322 is normally missed. A control failure message will be generated and passed back to the mobile communication device 300.
當行動通訊裝置300接收到包含控制驗證碼的請求許可簡訊時,可再對網路整合裝置322發出包含同一個控制驗證碼的控制命令簡訊以對遠端廠房320的第一機組324發出控制命令。When the mobile communication device 300 receives the request permission message including the control verification code, the network integration device 322 may send a control command message containing the same control verification code to issue a control command to the first unit 324 of the remote plant 320. .
網路整合裝置322將會持續接收行動通訊裝置所傳送的包含控制驗證碼的控制命令簡訊,在第二控制有效期限Tb ’間,網路整合裝置322將會解析控制命令簡訊並觸發第一機組324執行對應的控制操作,當超過了第二控制有效期限Tb ’後,即使網路整合裝置322接收到控制命令簡訊,將不會執行任何動作。The network integration device 322 will continue to receive the control command message transmitted by the mobile communication device and include the control verification code. During the second control expiration period T b ', the network integration device 322 will parse the control command message and trigger the first message. The unit 324 performs a corresponding control operation. When the second control expiration date T b ' is exceeded, even if the network integration device 322 receives the control command message, no action will be performed.
最後,當第一機組324執行了對應的控制操作後,可以將執行結果回報給網路整合裝置322,接著再由網路整合裝置322產生回報簡訊,然後再傳送回行動通訊裝置300,藉此以提示行動通訊裝置300端的使用者遠端控制的執行結果。Finally, after the first unit 324 performs the corresponding control operation, the execution result can be reported back to the network integration device 322, and then the network integration device 322 generates the return message and then transmits it back to the mobile communication device 300. The result of the remote control of the user at the end of the mobile communication device 300 is prompted.
綜上所述,可知本發明與先前技術之間的差異在於本發明行動通訊裝置透過簡訊進行遠端控制時,根據身份驗證資訊驗證行動通訊裝置是否為合法的控制命令發佈者,當為合法控制命令發佈者時則產生控制驗證碼,並以行動通訊裝置所發出的第一控制有效期限扣除簡訊因儲存轉發機制所消耗的時間作為對應控制驗證碼的第二控制有效期限,供行動通訊裝置於第二有效期限內進行遠端控制,藉由此一技術手段可以避免在遠端控制時因控制命令錯過正確執行時間卻被執行而導致重大危害,進而提升以簡訊進行遠端控制的效能。In summary, it can be seen that the difference between the present invention and the prior art is that when the mobile communication device of the present invention performs remote control through the short message, it is verified whether the mobile communication device is a legitimate control command issuer according to the identity verification information, and is legally controlled. When the commander issues the command, a control verification code is generated, and the time consumed by the storage and forwarding mechanism of the short message is deducted from the first control expiration date issued by the mobile communication device as the second control expiration date of the corresponding control verification code, for the mobile communication device to The remote control is performed within the second effective period, and the technical means can avoid the significant harm caused by the execution of the control command missed the correct execution time during the remote control, thereby improving the performance of the remote control by the short message.
雖然本發明所揭露之實施方式如上,惟所述之內容並非用以直接限定本發明之專利保護範圍。任何本發明所屬技術領域中具有通常知識者,在不脫離本發明所揭露之精神和範圍的前提下,可以在實施的形式上及細節上作些許之更動。本發明之專利保護範圍,仍須以所附之申請專利範圍所界定者為準。While the embodiments of the present invention have been described above, the above description is not intended to limit the scope of the invention. Any changes in the form and details of the embodiments may be made without departing from the spirit and scope of the invention. The scope of the invention is to be determined by the scope of the appended claims.
100...網路整合裝置100. . . Network integration device
101...接收單元101. . . Receiving unit
102...解析單元102. . . Parsing unit
103...驗證單元103. . . Verification unit
104...管理單元104. . . Management unit
110...簡訊服務中心110. . . Newsletter service center
120...行動通訊裝置120. . . Mobile communication device
131...輸入/輸出設備131. . . Input/output device
132...輸入/輸出設備132. . . Input/output device
133...輸入/輸出設備133. . . Input/output device
300...行動通訊裝置300. . . Mobile communication device
310...簡訊服務中心310. . . Newsletter service center
320...遠端廠房320. . . Remote plant
322...網路整合裝置322. . . Network integration device
324...第一機組324. . . First unit
步驟210 網路整合裝置從簡訊服務中心接收自行動通訊裝置所發出的包含有身份驗證資訊、發送時間及第一控制有效期限的控制請求簡訊Step 210: The network integration device receives, from the short message service center, a control request message sent by the mobile communication device, including the authentication information, the sending time, and the first control expiration date.
步驟220 網路整合裝置記錄接收到控制請求簡訊的接收時間Step 220: The network integration device records the receiving time of receiving the control request message
步驟230 網路整合裝置根據身份驗證資訊進行驗證,當確認身份驗證資訊為合法時,根據身份驗證資訊產生唯一且不重複的控制驗證碼並記錄於網路整合裝置中Step 230: The network integration device performs verification according to the authentication information, and when the authentication information is confirmed to be legal, generates a unique and non-repetitive control verification code according to the authentication information and records in the network integration device.
步驟240 網路整合裝置根據接收時間及發送時間計算出延遲時間差,並將第一控制有效期限扣除延遲時間差以產生第二控制有效期限Step 240: The network integration device calculates a delay time difference according to the receiving time and the sending time, and subtracts the delay time difference from the first control expiration date to generate a second control expiration date.
步驟250 當第二控制有效期限大於零時,網路整合裝置透過簡訊服務中心遞送包含控制驗證碼的請求許可簡訊至行動通訊裝置並啟動計時Step 250: When the second control expiration date is greater than zero, the network integration device delivers the request permission brief message including the control verification code to the mobile communication device through the short message service center and starts timing
步驟260 接收行動通訊裝置所傳送的控制命令簡訊Step 260: Receive a control command message transmitted by the mobile communication device
步驟270 網路整合裝置是否計時達第二控制有效期限Step 270: Does the network integration device count up to the second control expiration date?
步驟280a 網路整合裝置判斷控制命令簡訊中存在合法控制驗證碼時解析控制命令簡訊並執行對應控制操作Step 280a: The network integration device determines that the control command message is parsed and the corresponding control operation is performed when there is a legal control verification code in the control command message.
步驟280b 不執行任何動作Step 280b does not perform any action
第1圖為透過簡訊以本發明之網路整合裝置進行遠端控制的架構圖。FIG. 1 is an architectural diagram of remote control by the network integration device of the present invention through a short message.
第2圖為本發明以簡訊進行遠端控制的方法的流程圖。Figure 2 is a flow chart of a method for remote control by short message in the present invention.
第3A圖為本發明實施例的架構示意圖。FIG. 3A is a schematic structural diagram of an embodiment of the present invention.
第3B圖為本發明實施例的資料流示意圖。FIG. 3B is a schematic diagram of data flow according to an embodiment of the present invention.
步驟210 網路整合裝置從簡訊服務中心接收自行動通訊裝置所發出的包含有身份驗證資訊、發送時間及第一控制有效期限的控制請求簡訊Step 210: The network integration device receives, from the short message service center, a control request message sent by the mobile communication device, including the authentication information, the sending time, and the first control expiration date.
步驟220 網路整合裝置記錄接收到控制請求簡訊的接收時間Step 220: The network integration device records the receiving time of receiving the control request message
步驟230 網路整合裝置根據身份驗證資訊進行驗證,當確認身份驗證資訊為合法時,根據身份驗證資訊產生唯一且不重複的控制驗證碼並記錄於網路整合裝置中Step 230: The network integration device performs verification according to the authentication information, and when the authentication information is confirmed to be legal, generates a unique and non-repetitive control verification code according to the authentication information and records in the network integration device.
步驟240 網路整合裝置根據接收時間及發送時間計算出延遲時間差,並將第一控制有效期限扣除延遲時間差以產生第二控制有效期限Step 240: The network integration device calculates a delay time difference according to the receiving time and the sending time, and subtracts the delay time difference from the first control expiration date to generate a second control expiration date.
步驟250 當第二控制有效期限大於零時,網路整合裝置透過簡訊服務中心遞送包含控制驗證碼的請求許可簡訊至行動通訊裝置並啟動計時Step 250: When the second control expiration date is greater than zero, the network integration device delivers the request permission brief message including the control verification code to the mobile communication device through the short message service center and starts timing
步驟260 接收行動通訊裝置所傳送的控制命令簡訊Step 260: Receive a control command message transmitted by the mobile communication device
步驟270 網路整合裝置是否計時達第二控制有效期限Step 270: Does the network integration device count up to the second control expiration date?
步驟280a 網路整合裝置判斷控制命令簡訊中存在合法控制驗證碼時解析控制命令簡訊並執行對應控制操作Step 280a: The network integration device determines that the control command message is parsed and the corresponding control operation is performed when there is a legal control verification code in the control command message.
步驟280b 不執行任何動作Step 280b does not perform any action
Claims (18)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW100113663A TWI461021B (en) | 2011-04-20 | 2011-04-20 | Method and integrated routing device for controlling remote systems through short messages |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW100113663A TWI461021B (en) | 2011-04-20 | 2011-04-20 | Method and integrated routing device for controlling remote systems through short messages |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201244414A TW201244414A (en) | 2012-11-01 |
TWI461021B true TWI461021B (en) | 2014-11-11 |
Family
ID=48094052
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW100113663A TWI461021B (en) | 2011-04-20 | 2011-04-20 | Method and integrated routing device for controlling remote systems through short messages |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI461021B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWM250261U (en) * | 2004-02-06 | 2004-11-11 | Mitac Int Corp | Sensitive network message monitoring system |
US7010268B2 (en) * | 2002-08-20 | 2006-03-07 | Lite-On Technology Corp. | Far end remote control method and system by short message and bluetooth function operation |
TWM291040U (en) * | 2005-12-02 | 2006-05-21 | Bellwin Information Co Ltd | Remote power supply control device |
TW200812359A (en) * | 2006-08-18 | 2008-03-01 | E Ten Information Sys Co Ltd | System and method to filter the message of time-effective activity |
US7437151B2 (en) * | 2003-12-18 | 2008-10-14 | Electronics And Telecommunications Research Institute | Remote control instructions generating system and remote control instructions processing system using bluetooth, and processing method thereof |
US7761898B2 (en) * | 2003-03-07 | 2010-07-20 | Siemens Enterprise Communications, Inc. | System and method for e-mail control of an integrated communications center |
US7890957B2 (en) * | 2006-09-08 | 2011-02-15 | Easyonme, Inc. | Remote management of an electronic presence |
-
2011
- 2011-04-20 TW TW100113663A patent/TWI461021B/en active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7010268B2 (en) * | 2002-08-20 | 2006-03-07 | Lite-On Technology Corp. | Far end remote control method and system by short message and bluetooth function operation |
US7761898B2 (en) * | 2003-03-07 | 2010-07-20 | Siemens Enterprise Communications, Inc. | System and method for e-mail control of an integrated communications center |
US7437151B2 (en) * | 2003-12-18 | 2008-10-14 | Electronics And Telecommunications Research Institute | Remote control instructions generating system and remote control instructions processing system using bluetooth, and processing method thereof |
TWM250261U (en) * | 2004-02-06 | 2004-11-11 | Mitac Int Corp | Sensitive network message monitoring system |
TWM291040U (en) * | 2005-12-02 | 2006-05-21 | Bellwin Information Co Ltd | Remote power supply control device |
TW200812359A (en) * | 2006-08-18 | 2008-03-01 | E Ten Information Sys Co Ltd | System and method to filter the message of time-effective activity |
US7890957B2 (en) * | 2006-09-08 | 2011-02-15 | Easyonme, Inc. | Remote management of an electronic presence |
Also Published As
Publication number | Publication date |
---|---|
TW201244414A (en) | 2012-11-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8869258B2 (en) | Facilitating token request troubleshooting | |
CN109815684B (en) | Identity authentication method, system, server and storage medium | |
CN112333201A (en) | Upper-layer application requests micro-service authentication optimization system through gateway | |
WO2014082555A1 (en) | Login method, device and open platform system | |
WO2014040479A1 (en) | User identity authenticating method and device for preventing malicious harassment | |
WO2016045484A1 (en) | Remote control method and terminal | |
CN107241329B (en) | Account login processing method and device | |
CN113225351B (en) | Request processing method and device, storage medium and electronic equipment | |
CN114745431B (en) | Non-invasive authority authentication method, system, medium and equipment based on side car technology | |
WO2015003610A1 (en) | Method, device, and system for remote control | |
TWI579795B (en) | Method for the certification of electronic mail delivery | |
WO2012174830A1 (en) | Method and device for sending scheduled short message | |
US9430638B2 (en) | Authentication method, authentication apparatus and authentication device | |
CN112087475B (en) | Message pushing method and device for cloud platform component application and message server | |
JP2009245268A (en) | Business management system | |
US8818432B2 (en) | Method and integrated routing device for controlling remote systems via short messages | |
KR102072134B1 (en) | Message transmission apparatus, message server and message receipt appratus | |
TWI539784B (en) | Dynamically adjust the method of cloud certificate status verification | |
US20150085636A1 (en) | Network traffic control via sms text messaging | |
TWI461021B (en) | Method and integrated routing device for controlling remote systems through short messages | |
CN110012032B (en) | User authentication method and device | |
CN108924149B (en) | Token-based identity validity verification method and system | |
CN116015824A (en) | Unified authentication method, equipment and medium for platform | |
CN106453119A (en) | Authentication control method and device | |
CN102761845B (en) | Method for carrying out remote control by using short message, and network integration device |