TWI785905B - System and method for recovering information when instantaneous power failure - Google Patents
System and method for recovering information when instantaneous power failure Download PDFInfo
- Publication number
- TWI785905B TWI785905B TW110144068A TW110144068A TWI785905B TW I785905 B TWI785905 B TW I785905B TW 110144068 A TW110144068 A TW 110144068A TW 110144068 A TW110144068 A TW 110144068A TW I785905 B TWI785905 B TW I785905B
- Authority
- TW
- Taiwan
- Prior art keywords
- water level
- electronic device
- field
- pressure value
- information
- Prior art date
Links
Images
Landscapes
- Selective Calling Equipment (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
- Maintenance And Management Of Digital Transmission (AREA)
- Control Of Electric Motors In General (AREA)
Abstract
Description
本發明是有關於一種瞬間斷電時的資訊回復系統及方法。The present invention relates to an information recovery system and method in case of momentary power failure.
當場域端電子裝置發生瞬間斷電,即,場域端電子裝置與(供電給場域端電子裝置的)機房端電子裝置之間的通訊瞬間斷開又瞬間回復時,將會造成場域端電子裝置的資料遺失(歸零)。在此情況下,若場域端電子裝置傳送給機房端電子裝置的資料具有連續性將會造成嚴重錯誤。基此,需要一種改良的瞬間斷電時的資訊回復系統及方法。When the field-side electronic device has a momentary power failure, that is, the communication between the field-side electronic device and the computer room-side electronic device (which supplies power to the field-side electronic device) is cut off and restored instantly, it will cause the field-side The data of the electronic device is lost (reset to zero). In this case, if the data transmitted from the electronic device at the field end to the electronic device at the computer room end is continuous, serious errors will be caused. Therefore, there is a need for an improved information recovery system and method during momentary power failure.
本發明提供一種瞬間斷電時的資訊回復系統及方法,可讓發生瞬間斷電的場域端電子裝置回復(因瞬間斷電而)遺失的資訊,以確保場域端電子裝置的正常運作。The present invention provides a system and method for recovering information during a momentary power failure, which can restore the lost information (due to the momentary power failure) of the field-end electronic device that has a momentary power failure, so as to ensure the normal operation of the field-side electronic device.
本發明的瞬間斷電時的資訊回復系統包括機房端電子裝置以及場域端電子裝置。場域端電子裝置耦接至機房端電子裝置,且包括壓力感測器,且儲存起始水位壓力值,其中響應於從場域端電子裝置接收對應於第一水位高度的第一水位高度資訊,機房端電子裝置儲存第一水位高度資訊;響應於發生瞬間斷電而遺失起始水位壓力值,場域端電子裝置傳送瞬間斷電指示至機房端電子裝置;響應於從場域端電子裝置接收瞬間斷電指示,機房端電子裝置傳送第一水位高度資訊至場域端電子裝置;響應於從機房端電子裝置接收第一水位高度資訊,場域端電子裝置利用第一水位高度資訊獲得起始水位壓力值。The information recovery system in case of momentary power failure of the present invention includes an electronic device at the machine room end and an electronic device at the field end. The field-side electronic device is coupled to the machine room-side electronic device, and includes a pressure sensor, and stores an initial water level pressure value, wherein in response to receiving first water level height information corresponding to the first water level height from the field-side electronic device , the computer room-side electronic device stores the first water level height information; in response to a momentary power failure and loses the initial water level pressure value, the field-side electronic device sends a momentary power-off instruction to the computer room-side electronic device; in response to the field-side electronic device Receiving the instantaneous power failure instruction, the computer room-side electronic device sends the first water level information to the field-side electronic device; in response to receiving the first water-level height information from the computer room-side electronic device, the field-side electronic device uses the first water level height information to obtain initial water level pressure.
本發明的瞬間斷電時的資訊回復方法包括:響應於從場域端電子裝置接收對應於第一水位高度的第一水位高度資訊,由機房端電子裝置儲存第一水位高度資訊,其中場域端電子裝置儲存起始水位壓力值;響應於發生瞬間斷電而遺失起始水位壓力值,由場域端電子裝置傳送瞬間斷電指示至機房端電子裝置;響應於從場域端電子裝置接收瞬間斷電指示,由機房端電子裝置傳送第一水位高度資訊至場域端電子裝置;以及響應於從機房端電子裝置接收第一水位高度資訊,由場域端電子裝置利用第一水位高度資訊獲得起始水位壓力值。The method for recovering information during momentary power failure of the present invention includes: in response to receiving the first water level height information corresponding to the first water level height from the field end electronic device, storing the first water level height information by the computer room end electronic device, wherein the field end The terminal electronic device stores the initial water level pressure value; in response to the momentary power failure and loses the initial water level pressure value, the field-side electronic device sends an instantaneous power-off indication to the computer room-side electronic device; in response to receiving from the field-side electronic device Instantaneous power failure indication, the computer room-side electronic device sends the first water level height information to the field-side electronic device; and in response to receiving the first water level height information from the computer room-side electronic device, the field-side electronic device utilizes the first water level height information Get the initial water level pressure value.
基於上述,本發明的瞬間斷電時的資訊回復系統及方法可在場域端電子裝置發生瞬間斷電時,由場域端電子裝置傳送瞬間斷電指示至機房端電子裝置,並且機房端電子裝置傳送(先前從場域端電子裝置接收的)水位高度資訊至場域端電子裝置,以讓場域端電子裝置獲得(回復)因瞬間斷電而遺失的資料。基此,場域端電子裝置即使發生瞬間斷電也能夠正常地運作。Based on the above, the information recovery system and method for momentary power failure of the present invention can send a momentary power failure indication to the computer room side electronic device from the field side electronic device when a momentary power failure occurs in the field side electronic device, and the computer room side electronic device The device transmits (previously received from the field-side electronic device) water level information to the field-side electronic device, so that the field-side electronic device obtains (recovers) the data lost due to momentary power failure. Based on this, the field-side electronic device can operate normally even if a momentary power failure occurs.
為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。In order to make the above-mentioned features and advantages of the present invention more comprehensible, the following specific embodiments are described in detail together with the accompanying drawings.
圖1是根據本發明的一實施例繪示的一種瞬間斷電時的資訊回復系統100的示意圖。系統100可包括機房端電子裝置110以及場域端電子裝置120。FIG. 1 is a schematic diagram of an
機房端電子裝置110及/或場域端電子裝置120例如是具有運算能力的電子裝置。機房端電子裝置110及/或場域端電子裝置120可具有輸入輸出元件(例如但不限於:顯示器、觸控螢幕、鍵盤或滑鼠)、處理單元(如:處理器但不限於此)、通訊單元(例如:各類通訊晶片、行動通訊晶片、藍芽晶片或WiFi晶片等但不限於此)及儲存單元(例如:可移動隨機存取記憶體、快閃記憶體或硬碟等但不限於此)等運行機房端電子裝置110及/或場域端電子裝置120的必要構件。The computer room-side
場域端電子裝置120包括壓力感測器121。The field end
在本實施例中,場域端電子裝置120可耦接至機房端電子裝置110。例如,場域端電子裝置120可利用銅纜耦接至機房端電子裝置110。進一步而言,機房端電子裝置110及場域端電子裝置120可具有相同的阻抗(例如,600歐姆),基此,機房端電子裝置110可使用不斷電系統利用銅纜供電給場域端電子裝置120。In this embodiment, the field-side
在一實施例中,機房端電子裝置110以及場域端電子裝置120可支援雙音多頻訊號(Dual-Tone Multi-Frequency, DTMF)。換言之,機房端電子裝置110以及場域端電子裝置120可包括雙音多頻訊號編/解碼元件。In one embodiment, the computer room-side
在本實施例中,場域端電子裝置120可儲存起始水位壓力值P
0。起始水位壓力值P
0可以是開始淹水時間點時壓力感測器121所測量到的壓力值。
In this embodiment, the field-side
圖2是根據本發明的一實施例繪示的回復起始水位壓力值的訓令圖。FIG. 2 is an instruction diagram for restoring the initial water level pressure value according to an embodiment of the present invention.
在步驟S201中,響應於通過壓力感測器121在(晚於前述開始淹水時間點的)第一時間點感測到第一壓力值P
1,場域端電子裝置120可利用第一壓力值P
1以及起始水位壓力值P
0獲得第一水位高度L
1。
In step S201, in response to the first pressure value P 1 being sensed by the
舉例來說,場域端電子裝置120可將第一壓力值P
1以及起始水位壓力值P
0代入下述公式1,以獲得第一水位高度L
1。
… (公式1)
其中P
i為壓力感測器121在特定時間點(i不等於0)感測到的壓力值,P
0為起始水位壓力值,L
i為在特定時間點i(i不等於0)的水位高度(單位為公分)。
For example, the field-end
為了方便說明,在此假設第一水位高度L 1為30.5公分。 For convenience of description, it is assumed that the first water level height L 1 is 30.5 cm.
在步驟S202中,場域端電子裝置120可傳送對應於第一水位高度L
1的第一水位高度資訊至機房端電子裝置110。
In step S202 , the field-side
如前述實施例所說明的,由於機房端電子裝置110以及場域端電子裝置120可支援雙音多頻訊號,此第一水位高度資訊可以是雙音多頻訊號。舉例來說,第一水位高度資訊可以是(對應於30.5公分的)雙音多頻訊號#30*5ck#。As described in the foregoing embodiments, since the computer room-side
詳細而言,本實施例中的水位高度資訊是用「#」代表水位高度資訊的開始與結尾,且用「*」代表水位高度中的小數點,且於第7個位置使用互斥或閘(Exclusive OR)作為校驗和(Checksum)。Specifically, the water level information in this embodiment uses "#" to represent the beginning and end of the water level information, and uses "*" to represent the decimal point in the water level, and uses a mutually exclusive OR gate at the seventh position (Exclusive OR) as a checksum (Checksum).
在步驟S203中,響應於從場域端電子裝置120接收對應於第一水位高度L
1的第一水位高度資訊(雙音多頻訊號#30*5ck#),機房端電子裝置110可儲存第一水位高度資訊。
In step S203, in response to receiving the first water level information (DTMF signal #30*5ck#) corresponding to the first water level L 1 from the field side
在步驟S204中,響應於發生瞬間斷電而遺失起始水位壓力值P
0,場域端電子裝置120可傳送瞬間斷電指示至機房端電子裝置110。
In step S204 , in response to loss of the initial water level pressure value P 0 due to a momentary power failure, the field-end
在本實施例中,瞬間斷電指示例如可以是雙音多頻訊號#3219ck#。In this embodiment, the momentary power failure indication may be, for example, a DTMF signal #3219ck#.
需說明的是,本實施例中的瞬間斷電指示需設置為與(所有可能的)水位高度資訊不同,以供機房端電子裝置110辨識。舉例來說,本實施例中的水位高度最高可以是260公分,因此瞬間斷電指示可設置為雙音多頻訊號#3219ck#,以與(所有可能的)水位高度資訊不同,來避免機房端電子裝置110誤判。It should be noted that the momentary power failure indication in this embodiment needs to be set to be different from (all possible) water level information so as to be identified by the
在步驟S205中,響應於從場域端電子裝置120接收瞬間斷電指示,機房端電子裝置110可傳送第一水位高度資訊(雙音多頻訊號#30*5ck#)至場域端電子裝置120。In step S205, in response to receiving a momentary power failure instruction from the field-side
接著,響應於從機房端電子裝置110接收第一水位高度資訊(雙音多頻訊號#30*5ck#),場域端電子裝置120可利用第一水位高度資訊獲得(回復)起始水位壓力值P
0。
Then, in response to receiving the first water level information (dual tone multi-frequency signal #30*5ck#) from the computer room-side
具體而言,在步驟S206中,響應於從機房端電子裝置110接收第一水位高度資訊(雙音多頻訊號#30*5ck#),場域端電子裝置120可利用對應於第一水位高度資訊的第一水位高度L
1(30.5公分),以及場域端電子裝置120通過壓力感測器121在(晚於前述開始淹水時間點及前述第一時間點的)當前時間點感測到的當前壓力值P
current獲得(回復)起始水位壓力值P
0,並且可儲存起始水位壓力值P
0。
Specifically, in step S206, in response to receiving the first water level information (DTMF signal #30*5ck#) from the computer room-side
詳細而言,場域端電子裝置120可將第一水位高度L
1(30.5公分)以及當前時間點所感測到的當前壓力值P
current代入公式1,以獲得(回復)起始水位壓力值P
0。
In detail, the field-end
換言之,在執行完步驟S206之後,場域端電子裝置120可成功地回復(因發生瞬間斷電而遺失的)起始水位壓力值P
0。
In other words, after step S206 is executed, the field-end
在步驟S207中,響應於通過壓力感測器121在(晚於前述開始淹水時間點、第一時間點及當前時間點的)第二時間點感測到第二壓力值P
2,場域端電子裝置120可利用第二壓力值P
2以及起始水位壓力值P
0計算在第二時間點的第二水位高度L
2。
In step S207, in response to the second pressure value P 2 sensed by the
詳細而言,場域端電子裝置120可將第二壓力值P
2以及(已回復的)起始水位壓力值P
0代入公式1,以獲得第二水位高度L
2。
In detail, the field-side
在步驟S208中,場域端電子裝置120可傳送對應於第二水位高度L
2的第二水位高度資訊至機房端電子裝置110。
In step S208 , the field-side
值得一提的是,此第二水位高度也可以是雙音多頻訊號(即,第二水位高度與第一水位高度皆為雙音多頻訊號)。假設第二水位高度L 2為32.5公分,則第二水位高度資訊可以是(對應於32.5公分的)雙音多頻訊號#32*5ck#。 It is worth mentioning that the second water level can also be a DTMF signal (that is, both the second water level and the first water level are DTMF signals). Assuming that the second water level L 2 is 32.5 cm, the second water level information may be (corresponding to 32.5 cm) DTMF signal #32*5ck#.
在步驟S209中,響應於接收第二水位高度資訊(雙音多頻訊號#32*5ck#),機房端電子裝置110可儲存第二水位高度資訊。In step S209, in response to receiving the second water level information (DTMF signal #32*5ck#), the computer room
在一實施例中,機房端電子裝置110可通訊連接至物聯網(Internet of Things,IOT)管理平台(圖未繪示)。例如,機房端電子裝置110可利用非對稱數位用戶線路(Asymmetric Digital Subscriber Line,ADSL)通訊連接至物聯網管理平台,且機房端電子裝置110可利用雙音多頻訊號編/解碼元件將前述第一水位高度資訊(步驟S203的雙音多頻訊號#30*5ck#)以及第二水位高度資訊(步驟S209的雙音多頻訊號#32*5ck#)轉換為數位碼,並通過非對稱數位用戶線路傳送至物聯網管理平台,以供使用物聯網管理平台的管理者管理。In one embodiment, the
圖3是根據本發明的一實施例繪示的一種瞬間斷電時的資訊回復方法的流程圖,其中所述方法可由系統100實施。FIG. 3 is a flowchart of a method for recovering information during a momentary power failure according to an embodiment of the present invention, wherein the method can be implemented by the
在步驟S301中,響應於從場域端電子裝置接收對應於第一水位高度的第一水位高度資訊,由機房端電子裝置儲存第一水位高度資訊,其中場域端電子裝置儲存起始水位壓力值。在步驟S302中,響應於發生瞬間斷電而遺失起始水位壓力值,由場域端電子裝置傳送瞬間斷電指示至機房端電子裝置。在步驟S303中,響應於從場域端電子裝置接收瞬間斷電指示,由機房端電子裝置傳送第一水位高度資訊至場域端電子裝置。在步驟S304中,響應於從機房端電子裝置接收第一水位高度資訊,由場域端電子裝置利用第一水位高度資訊獲得起始水位壓力值。In step S301, in response to receiving the first water level information corresponding to the first water level from the electronic device at the field end, the electronic device at the computer room end stores the first water level information, wherein the electronic device at the field end stores the initial water level pressure value. In step S302, in response to loss of the initial water level pressure value due to momentary power failure, the electronic device at the field end sends a momentary power failure instruction to the electronic device at the computer room end. In step S303, in response to receiving the momentary power failure instruction from the field-side electronic device, the computer room-side electronic device sends the first water level information to the field-side electronic device. In step S304, in response to receiving the first water level information from the computer room-side electronic device, the field-side electronic device uses the first water level height information to obtain an initial water level pressure value.
綜上所述,本發明的瞬間斷電時的資訊回復系統及方法可在場域端電子裝置發生瞬間斷電時,由場域端電子裝置傳送瞬間斷電指示至機房端電子裝置,並且機房端電子裝置傳送(先前從場域端電子裝置接收的)水位高度資訊至場域端電子裝置,以讓場域端電子裝置獲得(回復)因瞬間斷電而遺失的資料。基此,場域端電子裝置即使發生瞬間斷電也能夠正常地運作。To sum up, the information recovery system and method for momentary power failure of the present invention can send a momentary power failure indication from the field-side electronic device to the computer room-side electronic device when a momentary power-off occurs to the field-side electronic device, and the computer room The terminal electronic device transmits (previously received from the field-side electronic device) water level information to the field-side electronic device, so that the field-side electronic device obtains (recovers) the data lost due to momentary power failure. Based on this, the field-side electronic device can operate normally even if a momentary power failure occurs.
雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed above with the embodiments, it is not intended to limit the present invention. Anyone with ordinary knowledge in the technical field may make some changes and modifications without departing from the spirit and scope of the present invention. The scope of protection of the present invention should be defined by the scope of the appended patent application.
100:瞬間斷電時的資訊回復系統 110:機房端電子裝置 120:場域端電子裝置 121:壓力感測器 S201~S209、S301~S304:步驟 100: Information recovery system in case of momentary power failure 110: Computer room end electronic device 120: field end electronic device 121: Pressure sensor S201~S209, S301~S304: steps
圖1是根據本發明的一實施例繪示的一種瞬間斷電時的資訊回復系統的示意圖。 圖2是根據本發明的一實施例繪示的回復起始水位壓力值的訓令圖。 圖3是根據本發明的一實施例繪示的一種瞬間斷電時的資訊回復方法的流程圖。 FIG. 1 is a schematic diagram of an information recovery system during a momentary power failure according to an embodiment of the present invention. FIG. 2 is an instruction diagram for restoring the initial water level pressure value according to an embodiment of the present invention. FIG. 3 is a flow chart of a method for recovering information during a momentary power failure according to an embodiment of the present invention.
S301~S304:步驟 S301~S304: steps
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110144068A TWI785905B (en) | 2021-11-25 | 2021-11-25 | System and method for recovering information when instantaneous power failure |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110144068A TWI785905B (en) | 2021-11-25 | 2021-11-25 | System and method for recovering information when instantaneous power failure |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI785905B true TWI785905B (en) | 2022-12-01 |
TW202321866A TW202321866A (en) | 2023-06-01 |
Family
ID=85794789
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW110144068A TWI785905B (en) | 2021-11-25 | 2021-11-25 | System and method for recovering information when instantaneous power failure |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI785905B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109412273A (en) * | 2018-12-21 | 2019-03-01 | 重庆樱花能源科技有限公司 | A kind of base station power remote monitoring system |
CN109525809A (en) * | 2018-11-20 | 2019-03-26 | 广东电网有限责任公司 | A kind of power transmission cable line terminal open air field intelligence O&M method and system |
CN110346717A (en) * | 2019-08-28 | 2019-10-18 | 杨启蓓 | A kind of artificial intelligence high-voltage circuitbreaker on-line monitoring system and method |
-
2021
- 2021-11-25 TW TW110144068A patent/TWI785905B/en active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109525809A (en) * | 2018-11-20 | 2019-03-26 | 广东电网有限责任公司 | A kind of power transmission cable line terminal open air field intelligence O&M method and system |
CN109412273A (en) * | 2018-12-21 | 2019-03-01 | 重庆樱花能源科技有限公司 | A kind of base station power remote monitoring system |
CN110346717A (en) * | 2019-08-28 | 2019-10-18 | 杨启蓓 | A kind of artificial intelligence high-voltage circuitbreaker on-line monitoring system and method |
Also Published As
Publication number | Publication date |
---|---|
TW202321866A (en) | 2023-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109491968B (en) | File processing method, device, equipment and computer readable storage medium | |
US9461927B2 (en) | Method, device, and system for delaying packets during a network-triggered wake of a computing device | |
US20180053442A1 (en) | Share recovery system, share recovery apparatus, share recovery method, and program | |
TWI785905B (en) | System and method for recovering information when instantaneous power failure | |
JP2015076868A (en) | Abnormal state detection system | |
US9570922B2 (en) | Charging method and electronic device | |
CN112131039B (en) | Memory ECC information reporting control method, device, equipment and medium | |
US8775126B2 (en) | Mobile device and method for performing black box function | |
CN100461065C (en) | Frequency regulation method and device for clock/data restoring circuit | |
CN106527907B (en) | Screen capture processing method and device for intelligent terminal | |
CN105163336A (en) | Method and system for optimizing stability of wireless network | |
JP2002199044A (en) | Information processor and signal converting device | |
CN112202528B (en) | Communication baud rate correction method and device, electronic equipment and storage medium | |
CN113824755A (en) | Method, system and related device for processing block chain data | |
TWI757923B (en) | Pre-boot execution environment determination system and method thereof | |
KR101050623B1 (en) | Error recovery method of NAD flash memory block | |
CN110868407B (en) | Ethernet link detection method, device, electronic equipment and computer medium | |
TWI760939B (en) | Audio data processing circuit and audio data processing method | |
CN103873496A (en) | Method and device for contact-list backup | |
JP7477780B2 (en) | Communication device and error detection method | |
JP2762176B2 (en) | Terminal side network controller | |
CN101425047B (en) | Method for safely uninstalling mobile electronic appliance | |
JP2007189435A (en) | Monitoring device | |
CN113360326B (en) | Debugging log obtaining method and device | |
CN111355624B (en) | Self-adaptive equipment performance acquisition method and device |