TW202001557A - Data correcting system and method and data correcting device thereof - Google Patents

Data correcting system and method and data correcting device thereof Download PDF

Info

Publication number
TW202001557A
TW202001557A TW107121363A TW107121363A TW202001557A TW 202001557 A TW202001557 A TW 202001557A TW 107121363 A TW107121363 A TW 107121363A TW 107121363 A TW107121363 A TW 107121363A TW 202001557 A TW202001557 A TW 202001557A
Authority
TW
Taiwan
Prior art keywords
data
cyclic redundancy
redundancy check
repair
solar energy
Prior art date
Application number
TW107121363A
Other languages
Chinese (zh)
Other versions
TWI697771B (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 TW107121363A priority Critical patent/TWI697771B/en
Priority to CN201811034538.9A priority patent/CN109150404B/en
Publication of TW202001557A publication Critical patent/TW202001557A/en
Application granted granted Critical
Publication of TWI697771B publication Critical patent/TWI697771B/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

A data correcting system is disclosed. The data correcting system includes a solar energy module array, a data correcting device, and a solar energy data collector. The solar energy module array transmits a solar energy data. The data correcting device receives the solar energy data and determines whether the solar energy data passes a noise filtering algorithm. If yes, a filtered data is generated. The data correcting device determines whether the filtered data pass a cyclic redundancy check (CRC) examination. If not, the filtered data is corrected according to a data correcting algorithm to generate a corrected data. The data correcting device performs the CRC examination for the corrected data. If the corrected data passes the CRC examination, it is regarded that the data correcting is complete. The solar energy data collector receives the corrected data.

Description

資料修補系統、方法及其資料修補裝置Data repair system, method and data repair device

本發明是有關於一種資料修補系統、方法及其資料修補裝置,且特別是有關於一種使用於太陽能模組陣列之資料修補系統、方法及其資料修補裝置。The present invention relates to a data repair system, method and data repair device, and in particular to a data repair system, method and data repair device used in a solar module array.

自動控制系統常常需要透過通訊方式,來取得設備的資料或進行監控設備的動作。最常使用於自動控制系統之通訊協定係為Modbus通訊協定。然而,於監控系統中,通訊品質的好壞往往決定了整體監控系統的穩定程度。降低通訊異常將有助於降低設備的響應時間及增加系統資料的即時性。太陽能案場因為通訊距離較長,故使用RS485線材及Modbus通訊協定作資料查詢及狀態監控。太陽能案場常因佈線規劃不佳,使得設備本身或環境因素產生線路干擾,而在資料通訊過程中產生雜訊而通訊失敗,導致資料蒐集不齊全,無法獲得即時與正確的資料。因此,如何有效地將受雜訊干擾的資料修補復原,並通知使用者太陽能案場的佈線可能有問題,實乃目前業界所致力的方向之一。The automatic control system often needs to obtain the data of the equipment or carry out the monitoring equipment through communication. The communication protocol most commonly used in automatic control systems is the Modbus communication protocol. However, in the monitoring system, the quality of communication often determines the stability of the overall monitoring system. Reducing communication anomalies will help reduce the response time of the device and increase the immediacy of system data. Because of the long communication distance, the solar case uses RS485 wire and Modbus communication protocol for data query and status monitoring. In the solar case, poor wiring planning often leads to line interference caused by the equipment itself or environmental factors. However, noise is generated during data communication and communication fails, resulting in incomplete data collection and failure to obtain real-time and correct data. Therefore, how to effectively repair and recover the data interfered by noise, and notify the user that there may be problems with the wiring of the solar case, is actually one of the directions the industry is committed to.

本發明係有關於一種資料修補系統、方法及其資料修補裝置。藉由資料修補裝置執行過濾雜訊演算法,可以讓來自太陽能模組陣列之太陽能資料的雜訊被過濾。而藉由資料修補裝置執行資料修補演算法,使得太陽能資料因線路或環境干擾所導致的資料錯誤可以得到修復。如此,可以提升通訊品質,改善系統的穩定程度。並且可以獲得即時與正確的資料,以增加系統之資料的即時性。The invention relates to a data repairing system, method and data repairing device. The noise filtering algorithm from the solar module array can be filtered by the data patching device executing the noise filtering algorithm. The data repairing algorithm is executed by the data repairing device, so that the data errors caused by the line or environmental interference of the solar energy data can be repaired. In this way, the communication quality can be improved and the stability of the system can be improved. And can obtain real-time and correct data to increase the real-time nature of the system's data.

根據本發明之第一方面,提出一種資料修補系統,包括一太陽能模組陣列、一資料修補裝置、以及一太陽能資料收集器。太陽能模組陣列用以傳送一太陽能資料。資料修補裝置用以接收太陽能資料,並判斷太陽能資料是否通過一過濾雜訊演算法。若此資料修補裝置判斷此太陽能資料通過此過濾雜訊演算法,則產生一過濾資料。資料修補裝置判斷此過濾資料是否通過一循環冗餘校驗(cyclic redundancy check,CRC)檢查。若資料修補裝置判斷過濾資料不通過循環冗餘校驗檢查,則以一資料修補演算法修補此過濾資料,以產生一修補資料。資料修補裝置將修補資料進行循環冗餘校驗檢查。若修補資料通過此循環冗餘校驗檢查,則視為完成資料修補。而太陽能資料收集器則是用以接收此修補資料。According to the first aspect of the present invention, a data repair system is proposed, which includes a solar module array, a data repair device, and a solar data collector. The solar module array is used to transmit a solar energy data. The data patching device is used to receive solar energy data and determine whether the solar energy data passes a filtering noise algorithm. If the data patching device determines that the solar data passes the filtering noise algorithm, a filtered data is generated. The data repairing device judges whether the filtered data passes a cyclic redundancy check (CRC) check. If the data repairing device determines that the filtered data does not pass the cyclic redundancy check, it repairs the filtered data with a data repair algorithm to generate a repaired data. The data repairing device performs cyclic redundancy check on the repaired data. If the repaired data passes this cyclic redundancy check check, it is deemed that the repaired data is completed. The solar data collector is used to receive the patch data.

根據本發明之第二方面,提出一種資料修補方法,包括以下步驟。接收一太陽能資料,並判斷太陽能資料是否通過一過濾雜訊演算法。若判斷太陽能資料通過過濾雜訊演算法,則產生一過濾資料,並判斷過濾資料是否通過一循環冗餘校驗檢查。若判斷過濾資料不通過循環冗餘校驗檢查,則以一資料修補演算法修補過濾資料,以產生一修補資料。將修補資料進行循環冗餘校驗檢查。若修補資料通過循環冗餘校驗檢查,則視為完成資料修補。傳送修補資料至一太陽能資料收集器。According to the second aspect of the present invention, a data repair method is proposed, including the following steps. Receive a solar energy data, and determine whether the solar energy data passes a filtering noise algorithm. If it is judged that the solar energy data passes the filtering noise algorithm, a filtering data is generated, and it is judged whether the filtering data passes a cyclic redundancy check check. If it is judged that the filtered data does not pass the cyclic redundancy check check, the filtered data is repaired with a data repair algorithm to generate a repaired data. Check the patch data for cyclic redundancy check. If the repaired data passes the cyclic redundancy check, it is deemed that the repaired data is completed. Send repair data to a solar energy data collector.

根據本發明之第三方面,提出一種資料修補裝置,包括一收發單元及一處理單元。收發單元用以接收一太陽能模組陣列傳送之一太陽能資料。處理單元則是用以判斷太陽能資料是否通過一過濾雜訊演算法,若處理單元判斷太陽能資料通過過濾雜訊演算法,則產生一過濾資料。處理單元更判斷過濾資料是否通過一循環冗餘校驗檢查。若處理單元判斷過濾資料不通過循環冗餘校驗檢查,則以一資料修補演算法修補過濾資料,以產生一修補資料。處理單元將修補資料進行循環冗餘校驗檢查。若修補資料通過循環冗餘校驗檢查,則視為完成資料修補。According to a third aspect of the present invention, a data repair device is provided, which includes a transceiver unit and a processing unit. The transceiver unit is used to receive solar energy data transmitted by a solar module array. The processing unit is used to determine whether the solar energy data passes a noise filtering algorithm. If the processing unit determines that the solar energy data passes the noise filtering algorithm, a filtering data is generated. The processing unit further determines whether the filtered data passes a cyclic redundancy check. If the processing unit judges that the filtered data does not pass the cyclic redundancy check check, it repairs the filtered data with a data repair algorithm to generate a repaired data. The processing unit performs cyclic redundancy check on the repaired data. If the repaired data passes the cyclic redundancy check, it is deemed that the repaired data is completed.

為了對本發明之上述及其他方面有更佳的瞭解,下文特舉實施例,並配合所附圖式詳細說明如下:In order to have a better understanding of the above and other aspects of the present invention, the following examples are specifically described in conjunction with the accompanying drawings as follows:

請參照第1圖,其繪示乃依照本發明一較佳實施例之一種資料修補系統的方塊圖。資料修補系統100包括一太陽能模組陣列102、一資料修補裝置104、及一太陽能資料收集器106。太陽能模組陣列102係用以傳送一太陽能資料SD。資料修補裝置104係用以接收太陽能資料SD,並判斷太陽能資料SD是否通過一過濾雜訊演算法。若資料修補裝置104判斷太陽能資料SD通過過濾雜訊演算法,則產生一過濾資料FD。資料修補裝置104並判斷過濾資料FD是否通過一循環冗餘校驗(cyclic redundancy check,CRC)檢查。若資料修補裝置104判斷過濾資料FD不通過此循環冗餘校驗檢查,則以一資料修補演算法修補過濾資料FD,以產生一修補資料MD。資料修補裝置104將修補資料MD進行循環冗餘校驗檢查。若修補資料MD通過循環冗餘校驗檢查,則視為完成資料修補。太陽能資料收集器106則是用以接收此修補資料MD。Please refer to FIG. 1, which illustrates a block diagram of a data repair system according to a preferred embodiment of the present invention. The data repair system 100 includes a solar module array 102, a data repair device 104, and a solar data collector 106. The solar module array 102 is used to transmit a solar data SD. The data repairing device 104 is used to receive the solar data SD and determine whether the solar data SD passes a filtering noise algorithm. If the data patching device 104 determines that the solar data SD passes the filtering noise algorithm, a filtering data FD is generated. The data repairing device 104 determines whether the filtered data FD has passed a cyclic redundancy check (CRC) check. If the data repairing device 104 determines that the filtering data FD does not pass the cyclic redundancy check, it repairs the filtering data FD with a data repairing algorithm to generate a repairing data MD. The data repairing device 104 performs a cyclic redundancy check on the repaired data MD. If the repaired data MD passes the cyclic redundancy check, it is deemed that the repaired data is completed. The solar energy data collector 106 is used to receive the patch data MD.

藉由資料修補裝置104執行過濾雜訊演算法,可以讓來自太陽能模組陣列102之太陽能資料SD的雜訊被過濾。而藉由資料修補裝置104執行資料修補演算法,使得太陽能資料SD因線路或環境干擾所導致的資料錯誤可以得到修復。如此,可以提升通訊品質,改善系統的穩定程度。並且可以獲得即時與正確的資料,以增加系統之資料的即時性。By performing the noise filtering algorithm by the data patching device 104, the noise from the solar data SD of the solar module array 102 can be filtered. The data repairing device 104 executes the data repairing algorithm, so that the data errors caused by the line or environment interference of the solar data SD can be repaired. In this way, the communication quality can be improved and the stability of the system can be improved. And can obtain real-time and correct data to increase the real-time nature of the system's data.

其中,當資料修補裝置104判斷太陽能資料SD無法通過上述之過濾雜訊演算法,則發出一無法過濾警示訊息Alrt1至一雲端伺服器108。雲端伺服器108再將此無法過濾警示訊息Alrt1傳送至一太陽能監控系統110。太陽能監控系統110例如可藉由一顯示器或一行動裝置來顯示對應至無法過濾警示訊息Alrt1的信號,例如是提醒訊息(例如是一個警示訊息)、提醒聲響、或提醒用光訊號,以讓使用者得知太陽能資料SD因為雜訊過多無法濾除,故無法通過上述之過濾雜訊演算法。藉由此無法過濾警示訊息Alrt1,使用者將可得知太陽能模組陣列102可能有佈線規劃不佳,或太陽能模組本身有問題,或是因為環境因素而產生線路干擾,而在資料傳送過程中產生雜訊而通訊失敗。因此,此無法過濾警示訊息Alrt1將可提醒使用者太陽能模組陣列102的佈線或設備可能有問題,而需進行檢查。When the data patching device 104 determines that the solar data SD cannot pass the above-mentioned noise filtering algorithm, it sends an unfilterable warning message Alrt1 to a cloud server 108. The cloud server 108 then sends the unfilterable warning message Alrt1 to a solar energy monitoring system 110. The solar monitoring system 110 may display a signal corresponding to the unfilterable warning message Alrt1, such as a reminder message (such as a warning message), a reminder sound, or a reminder light signal, for example, by a display or a mobile device, so as to be used It is learned that the solar data SD cannot be filtered due to too much noise, so it cannot pass the above mentioned noise filtering algorithm. By failing to filter the warning message Alrt1, the user will know that the solar module array 102 may have poor wiring planning, or the solar module itself has problems, or line interference due to environmental factors, and the data transmission process Noisy and communication fails. Therefore, the unfilterable warning message Alrt1 will remind the user that the wiring or equipment of the solar module array 102 may be defective and need to be checked.

若修補資料MD無法通過循環冗餘校驗檢查,則資料修補裝置104發出無法修補警示訊息Alrt2至雲端伺服器108。雲端伺服器108再將此無法過濾警示訊息Alrt2傳送至太陽能監控系統110,以讓使用者得知太陽能資料SD資料有誤且無法修補。藉由此無法修補警示訊息Alrt2,使用者將可得知太陽能模組陣列102本身或是傳送資料之線路可能有問題,而在資料傳送過程中產生資料錯誤。因此,此無法修補警示訊息Alrt2將可提醒使用者太陽能模組陣列102的佈線或設備可能有問題,而需進行檢查。If the patched data MD fails the cyclic redundancy check, the data patching device 104 sends a warning message Alrt2 to the cloud server 108. The cloud server 108 then sends this unfilterable warning message Alrt2 to the solar energy monitoring system 110 to let the user know that the solar energy SD data is wrong and cannot be repaired. By failing to repair the warning message Alrt2, the user will know that there may be a problem with the solar module array 102 itself or the data transmission line, and data errors occur during the data transmission process. Therefore, the unrepairable warning message Alrt2 will remind the user that the wiring or equipment of the solar module array 102 may be defective and need to be checked.

太陽能資料收集器106更用以發出一資料取得命令Rqst,使資料修補裝置104通知太陽能模組陣列102回傳對應此資料取得命令Rqst的太陽能資料SD。太陽能資料收集器106例如可以在太陽能監控系統110的控制之下,於使用者希望瞭解太陽能模組陣列102的狀態時,發出此資料取得命令Rqst,以要求太陽能模組陣列102回傳對應此資料取得命令Rqst的太陽能資料SD。The solar data collector 106 is further used to issue a data acquisition command Rqst, so that the data repairing device 104 notifies the solar module array 102 to return the solar data SD corresponding to the data acquisition command Rqst. The solar data collector 106 may be under the control of the solar monitoring system 110, for example, when the user wants to know the status of the solar module array 102, issue this data acquisition command Rqst to request the solar module array 102 to return the corresponding data Obtain the solar data SD of the order Rqst.

茲將上述之資料修補系統100進一步說明如下。請參照第2圖,其繪示乃依照本發明較佳實施例之資料修補系統100的詳細結構之一例的方塊圖。資料修補裝置104例如包括一收發單元202及一處理單元204。收發單元202用以接收太陽能模組陣列102傳送之太陽能資料SD。處理單元204則是用以判斷太陽能資料SD是否通過過濾雜訊演算法。若處理單元204判斷太陽能資料SD通過過濾雜訊演算法,則處理單元204產生過濾資料FD。處理單元204並判斷過濾資料FD是否通過循環冗餘校驗檢查。若處理單元204判斷過濾資料FD不通過循環冗餘校驗檢查,則以資料修補演算法修補過濾資料FD,以產生修補資料MD。處理單元204將修補資料MD進行循環冗餘校驗檢查。若修補資料MD通過循環冗餘校驗檢查,則視為完成資料修補。The above-mentioned data repair system 100 is further described as follows. Please refer to FIG. 2, which is a block diagram showing an example of the detailed structure of the data repair system 100 according to the preferred embodiment of the present invention. The data repairing device 104 includes, for example, a transceiver unit 202 and a processing unit 204. The transceiver unit 202 is used to receive solar data SD transmitted by the solar module array 102. The processing unit 204 is used to determine whether the solar data SD passes the noise filtering algorithm. If the processing unit 204 determines that the solar data SD passes the filtering noise algorithm, the processing unit 204 generates filtered data FD. The processing unit 204 also determines whether the filtered data FD passes the cyclic redundancy check. If the processing unit 204 determines that the filter data FD does not pass the cyclic redundancy check check, it uses the data repair algorithm to repair the filter data FD to generate the repair data MD. The processing unit 204 performs a cyclic redundancy check on the patch data MD. If the repaired data MD passes the cyclic redundancy check, it is deemed that the repaired data is completed.

當處理單元204判斷太陽能資料SD無法通過過濾雜訊演算法,則處理單元204發出無法過濾警示訊息Alrt1至雲端伺服器108。若處理單元204判斷修補資料MD無法通過循環冗餘校驗檢查,則處理單元204發出無法修補警示訊息Alrt2至雲端伺服器108。When the processing unit 204 determines that the solar energy data SD cannot pass the noise filtering algorithm, the processing unit 204 sends an unfilterable warning message Alrt1 to the cloud server 108. If the processing unit 204 determines that the repaired data MD cannot pass the cyclic redundancy check, the processing unit 204 sends a repair failure warning message Alrt2 to the cloud server 108.

上述之處理單元例如是可以執行程式碼的處理器或中央處理器(CPU),或其他具有控制、處理、運算功能的硬體或韌體。而收發單元則例如為可以接受或發送訊號的硬體或電路。The aforementioned processing unit is, for example, a processor or a central processing unit (CPU) that can execute program code, or other hardware or firmware with control, processing, and arithmetic functions. The transceiver unit is, for example, hardware or a circuit that can receive or send signals.

資料修補裝置104更包括一警示裝置206,用以於處理單元204發出無法過濾警示訊息Alrt1或無法修補警示訊息Alrt2時,發出一警示提醒信號。此警示提醒信號可為一光信號及一聲音信號二者至少其中之一。例如,警示裝置206可以是一發光二極體(Light Emitting Diode, LED)燈,上述之光信號例如為某種顏色之LED燈點亮時所發出的光線,以提醒使用者注意。此光信號也可以是某種頻率的閃光信號。警示裝置206例如也可以是一警鈴,而上述之聲音信號則可以例如是警鈴聲,以提醒使用者注意。The data repairing device 104 further includes a warning device 206 for sending a warning reminder signal when the processing unit 204 sends out the unfilterable warning message Alrt1 or the unable to repair the warning message Alrt2. The warning reminder signal may be at least one of an optical signal and an audio signal. For example, the warning device 206 may be a light emitting diode (Light Emitting Diode, LED) lamp. The above-mentioned light signal is, for example, light emitted when an LED lamp of a certain color is lit to remind the user of attention. This optical signal may also be a flash signal of a certain frequency. The warning device 206 may also be an alarm bell, for example, and the aforementioned sound signal may be an alarm bell, for example, to alert the user.

太陽能模組陣列102、資料修補裝置104、及太陽能資料收集器106例如是透過RS485串口(serial port)來彼此通信。於太陽能模組陣列102中,每個太陽能模組亦可各自包含一個逆變器(Inverter)或者分別與一個逆變器電性連接,以將太陽能模組所產生的直流(DC)訊號轉為交流(AC)訊號。資料修補裝置104及太陽能資料收集器106例如是透過網路路由器(未繪示)來將資料傳送至雲端伺服器108。The solar module array 102, the data repairing device 104, and the solar data collector 106 communicate with each other through, for example, an RS485 serial port. In the solar module array 102, each solar module may also include an inverter (Inverter) or be electrically connected to an inverter to convert the direct current (DC) signal generated by the solar module into Exchange (AC) signal. The data repairing device 104 and the solar energy data collector 106 transmit the data to the cloud server 108 via a network router (not shown), for example.

茲將資料修補系統100所使用之資料修補方法進一步說明如下。請參照第3A圖,其繪示乃依照本發明一較佳實施例之一種資料修補方法的流程圖。本實施例之資料修補方法包括以下步驟。首先,於步驟302,接收太陽能資料SD。接著,進入步驟304,判斷此太陽能資料SD是否通過過濾雜訊演算法。於步驟304中,若判斷太陽能資料SD通過過濾雜訊演算法,則進入步驟306,產生過濾資料FD。而當判斷太陽能資料SD無法通過此過濾雜訊演算法時,則進入步驟316,發出無法過濾警示訊息Alrt1至雲端伺服器108。The data repair method used by the data repair system 100 is further described as follows. Please refer to FIG. 3A, which illustrates a flowchart of a data repair method according to a preferred embodiment of the present invention. The data repair method of this embodiment includes the following steps. First, in step 302, receive solar data SD. Next, proceed to step 304 to determine whether the solar data SD passes the noise filtering algorithm. In step 304, if it is determined that the solar energy data SD passes the noise filtering algorithm, then step 306 is entered to generate the filtering data FD. When it is judged that the solar energy data SD cannot pass the filtering noise algorithm, step 316 is entered, and an unfilterable warning message Alrt1 is sent to the cloud server 108.

於步驟306之後,接著執行步驟308,判斷過濾資料FD是否通過循環冗餘校驗檢查。於步驟308中,若判斷過濾資料FD不通過循環冗餘校驗檢查,則進入步驟310,以資料修補演算法修補過濾資料FD,以產生修補資料MD。然後,執行步驟312,將此修補資料MD進行循環冗餘校驗檢查。After step 306, step 308 is executed to determine whether the filtered data FD passes the cyclic redundancy check. In step 308, if it is determined that the filtering data FD does not pass the cyclic redundancy check check, step 310 is entered, and the filtering data FD is repaired with a data repair algorithm to generate repair data MD. Then, step 312 is executed to perform a cyclic redundancy check on the patch data MD.

於步驟312中,若修補資料MD通過循環冗餘校驗檢查,則進入步驟314,視為完成資料修補,並傳送此修補資料MD至太陽能資料收集器106。於步驟312中,若修補資料MD無法通過此循環冗餘校驗檢查,則進入步驟318,發出無法修補警示訊息Alrt2至雲端伺服器108。In step 312, if the repair data MD passes the cyclic redundancy check, then step 314 is considered to be the completion of data repair, and the repair data MD is sent to the solar data collector 106. In step 312, if the patch data MD fails the cyclic redundancy check check, step 318 is entered, and a patch failure warning message Alrt2 is sent to the cloud server 108.

茲將上述之過濾雜訊演算法進一步說明如下。請參照第4圖,其繪示乃依照本發明較佳實施例之資料修補裝置104所執行之過濾雜訊演算法之一例的示意圖。資料修補裝置104於接收太陽能資料SD後,藉由過濾雜訊演算法以找出太陽能資料SD的一標頭部分402,並根據標頭部分402擷取太陽能資料SD的一資料部分404及一循環冗餘校驗碼部分406,藉此過濾雜訊。The noise filtering algorithm described above is further described below. Please refer to FIG. 4, which is a schematic diagram of an example of a noise filtering algorithm executed by the data repair device 104 according to the preferred embodiment of the present invention. After receiving the solar data SD, the data patching device 104 uses a noise filtering algorithm to find a header portion 402 of the solar data SD, and extracts a data portion 404 and a loop of the solar data SD according to the header portion 402 Redundancy check code section 406, thereby filtering noise.

更進一步來說,過濾雜訊演算法例如是依照太陽能資料收集器106所發出之資料取得命令Rqst的內容值,來找出太陽能資料SD的標頭部分402。以Modbus通訊協定為例,如第4圖所示,資料取得命令Rqst的第[0]個位元組定義了從屬裝置之位址(Slave address),假設其十六進位之內容值例如為01,代表此資料取得命令Rqst係為對應至太陽能模組陣列102中,位址為01之太陽能模組或太陽能模組的逆變器。資料取得命令Rqst的第[1]個位元組定義了此資料取得命令Rqst所對應的功能(Function),假設其十六進位之內容值例如為03,代表此資料取得命令Rqst係為針對內容值03所對應的功能。Furthermore, the noise filtering algorithm is, for example, based on the content value of the data acquisition command Rqst issued by the solar energy data collector 106 to find the header portion 402 of the solar energy data SD. Taking Modbus communication protocol as an example, as shown in Figure 4, the [0] byte of the data acquisition command Rqst defines the slave address of the slave device, assuming that its hexadecimal content value is 01, for example Means that the data acquisition command Rqst corresponds to the solar module or the inverter of the solar module at the address 01 in the solar module array 102. The [1]th byte of the data acquisition command Rqst defines the function corresponding to this data acquisition command Rqst. Assuming that its hexadecimal content value is, for example, 03, it means that this data acquisition command Rqst is for content. The value 03 corresponds to the function.

於太陽能資料收集器106發出資料取得命令Rqst之後,資料修補裝置104係通知太陽能模組陣列102回傳對應此資料取得命令Rqst的太陽能資料SD,如第4圖所示。太陽能資料SD的第[0]個位元組定義了從屬裝置之位址,假設其十六進位之內容值例如為01,代表此太陽能資料SD係為對應至太陽能模組陣列102中,位址為01之太陽能模組或太陽能模組的逆變器。太陽能資料SD的第[1]個位元組定義了此太陽能資料SD所對應的功能,假設其十六進位之內容值例如為03,代表此太陽能資料SD係為針對內容值03所對應的功能。After the solar data collector 106 issues the data acquisition command Rqst, the data repair device 104 notifies the solar module array 102 to return the solar data SD corresponding to the data acquisition command Rqst, as shown in FIG. 4. The [0]th byte of the solar data SD defines the address of the slave device, assuming that the hexadecimal content value is, for example, 01, which means that the solar data SD corresponds to the solar module array 102, the address It is the solar module of 01 or the inverter of solar module. The [1]th byte of the solar data SD defines the function corresponding to the solar data SD. Assuming that the hexadecimal content value is 03, for example, this solar data SD is a function corresponding to the content value 03 .

於本實施例之過濾雜訊演算法中,例如是依照太陽能資料收集器106所發出之資料取得命令Rqst的第[0]個位元組之內容值01與第[1]個位元組內容值03,來找出太陽能資料SD的標頭部分402,亦即是太陽能資料SD的第[0]個位元組與第[1]個位元組。也就是,本實施例之過濾雜訊演算法係從包含有太陽能資料SD的一串資料中,找到內容值為01與03的部分,來找出太陽能資料SD的標頭部分402。接著,從內容值為01與03的位元組之後的下一個位元組(亦即是太陽能資料SD的第[2]個位元組)可以得知,資料部分的位元組個數為04,意指接下來的四個位元組皆為資料位元組,而得到資料部分404。而資料部分404接下來的兩個位元組則為循環冗餘校驗碼,而可得到循環冗餘校驗碼部分406。如此,即可得到太陽能資料SD的完整資料。這樣一來,即可得知包含有太陽能資料SD的一串資料中,於標頭部分402前面的部分係為雜訊,且於循環冗餘校驗碼部分406之後的部分亦為雜訊,過濾雜訊演算法可將這些雜訊濾除,而得到太陽能資料SD。In the noise filtering algorithm of this embodiment, for example, according to the data acquisition command Rqst issued by the solar data collector 106, the content value of the [0]th byte of the value 01 and the content of the [1]th byte A value of 03 is used to find the header portion 402 of the solar data SD, that is, the [0]th byte and the [1]th byte of the solar data SD. That is, the noise filtering algorithm of the present embodiment finds the content values of 01 and 03 from a series of data containing solar data SD to find the header part 402 of the solar data SD. Then, from the next byte after the content values of 01 and 03 (that is, the [2]th byte of solar data SD), we can know that the number of bytes in the data part is 04, meaning that the next four bytes are all data bytes, and the data portion 404 is obtained. The next two bytes of the data section 404 are cyclic redundancy check codes, and the cyclic redundancy check code section 406 can be obtained. In this way, you can get the complete data of solar data SD. In this way, it can be known that in a string of data containing solar energy data SD, the part before the header part 402 is noise, and the part after the cyclic redundancy check code part 406 is also noise, The noise filtering algorithm can filter these noises to obtain solar data SD.

若資料修補裝置104無法依照上述方法,根據資料取得命令Rqst的第[0]個位元組之內容值01與第[1]個位元組內容值03,來找出太陽能資料SD的標頭部分402的話,則 則資料修補裝置104亦無法根據標頭部分402擷取太陽能資料SD的資料部分404及循環冗餘校驗碼部分406,而無法過濾雜訊。此時,資料修補裝置104判斷太陽能資料SD無法通過上述之過濾雜訊演算法,而將會發出無法過濾警示訊息Alrt1至雲端伺服器108。If the data patching device 104 cannot follow the above method, find the header of the solar data SD according to the content value 01 of the [0]th byte of the data acquisition command Rqst and the content value 03 of the [1]th byte In the case of part 402, the data repair device 104 cannot also extract the data part 404 and the cyclic redundancy check code part 406 of the solar data SD according to the header part 402, and cannot filter noise. At this time, the data patching device 104 determines that the solar data SD cannot pass the above-mentioned noise filtering algorithm, and will send a warning message Alrt1 to the cloud server 108.

茲將上述之資料修補演算法進一步說明如下。請同時參考第3B圖,其繪示乃第3A圖中步驟310的詳細流程圖。如第3B圖之流程圖所示,資料修補演算法包含一標頭比對法320、一資料比對法322及一循環冗餘校驗比對法324。請參照第5至7圖,其中第5圖繪示依照本發明較佳實施例之資料修補裝置所執行之資料修補演算法之標頭比對法之一例的示意圖;第6圖繪示依照本發明較佳實施例之資料修補裝置所執行之資料修補演算法之資料比對法之一例的示意圖;第7圖繪示依照本發明較佳實施例之資料修補裝置所執行之資料修補演算法之循環冗餘校驗比對法之一例的示意圖。The above data patching algorithm is further explained below. Please also refer to FIG. 3B, which is a detailed flowchart of step 310 in FIG. 3A. As shown in the flowchart of FIG. 3B, the data patching algorithm includes a header comparison method 320, a data comparison method 322, and a cyclic redundancy check comparison method 324. Please refer to FIGS. 5 to 7, wherein FIG. 5 shows a schematic diagram of an example of the header comparison method of the data repair algorithm executed by the data repair device according to the preferred embodiment of the present invention; FIG. 6 shows A schematic diagram of an example of the data comparison method of the data repair algorithm executed by the data repair device of the preferred embodiment of the invention; FIG. 7 shows the data repair algorithm executed by the data repair device according to the preferred embodiment of the present invention; A schematic diagram of an example of a cyclic redundancy check comparison method.

如第3B圖之步驟320所示,標頭比對法將此太陽能資料SD(亦即是將太陽能資料SD藉由過濾雜訊演算法過濾雜訊號所得到的過濾資料FD)的一標頭部分與多個已知標頭進行比對,並標示出此些已知標頭中的至少一正確標頭,此至少一正確標頭對應到至少一第一已知資料,如第3B圖之步驟326所示。以第5圖所示之資料DX為例,標頭比對法係將資料DX的標頭部分(位元組索引值為[0]至[2]的內容值01、03及14)分別與一正確資料表之的資料D1至資料D10的多個已知標頭進行比對(位元組索引值為[0]至[2]的內容值),並找出與DX的標頭部分中的至少一個位元組之內容值相同的至少一正確標頭。於第5圖的例子中,資料D1至資料D10的標頭的位元組索引值為[0]與[1]的內容值為01與03(如粗線框線所框示),其係與資料DX的標頭部分的位元組索引值為[0]與[1]的內容值01與03相同。資料D1至資料D10的標頭的位元組索引值為[0]至[2]內容值的三個位元組中,只要有一個位元組的內容值與資料DX之對應的標頭部分的位元組之內容值相同,即可被選為正確標頭。於本例中,所得到之至少一正確標頭例如是資料D1至資料D10的標頭。這些標頭係對應到多個第一已知資料,亦即是資料D1至資料D10。其中,上述之正確資料表例如是記錄了最近10筆成功傳輸的正確資料D1至D10。As shown in step 320 of FIG. 3B, the header comparison method uses a header portion of the solar data SD (that is, the filtered data FD obtained by filtering the solar data SD through the noise filtering algorithm) Compare with multiple known headers, and mark at least one correct header among the known headers. The at least one correct header corresponds to at least one first known data, as shown in step 3B 326 shown. Taking the data DX shown in Figure 5 as an example, the header comparison method compares the header part of the data DX (the byte index values [0] to [2] content values 01, 03, and 14) with A plurality of known headers of data D1 to data D10 of a correct data table are compared (byte index values are the content values of [0] to [2]), and are found in the header part of DX At least one correct header with the same content value of at least one byte of. In the example of FIG. 5, the content index values of the headers of the data D1 to D10 are [0] and [1], and the content values are 01 and 03 (as indicated by the thick border). The byte index values of the header part of the data DX are the same as the content values 01 and 03 of [0] and [1]. In the three bytes of the content value of the header of data D1 to data D10 [0] to [2] content value, as long as there is a content value of one byte corresponding to the header portion of data DX The content value of the byte is the same, and it can be selected as the correct header. In this example, the at least one correct header obtained is, for example, the header of data D1 to data D10. These headers correspond to multiple first known data, namely data D1 to data D10. The above-mentioned correct data table records, for example, the correct data D1 to D10 of the last 10 successful transmissions.

如第3B圖之步驟322所示,資料比對法將太陽能資料SD(或過濾資料FD)的一資料部分與多個已知資料組進行比對,並標示出此些已知資料組中的至少一正確資料組,此至少一正確資料組對應到至少一第二已知資料,如第3B圖之步驟328所示。以第6圖所示之資料DX為例,資料比對法係將資料DX的資料部分(位元組索引值為[3]至[6]的內容值FF、FF、FA、0A)分別與正確資料表之資料D1至資料D10的多個已知資料組進行比對(位元組索引值為[3]至[6]的內容值),並找出與DX的資料部分中的至少一個位元組之內容值相同的至少一正確資料組。於第6圖的例子中,資料D2之位元組索引值為[6]的內容值0A與資料DX的資料部分的位元組索引值為[6]的內容值0A相同,而資料D5之位元組索引值為[4]的內容值FF與資料DX的資料部分的位元組索引值為[4]的內容值FF相同,如粗線框線所框示。故資料D2之資料組與資料D5之資料組被選為正確資料組。於本例中,所得到之至少一正確資料組例如是資料D2與資料D5的資料組。這些資料組係對應到多個第二已知資料,亦即是資料D2與資料D5。As shown in step 322 of FIG. 3B, the data comparison method compares a data portion of solar data SD (or filtered data FD) with a plurality of known data sets, and marks the data in these known data sets. At least one correct data set. The at least one correct data set corresponds to at least one second known data, as shown in step 328 of FIG. 3B. Taking the data DX shown in Figure 6 as an example, the data comparison method compares the data portion of the data DX (the content values FF, FF, FA, and 0A of the byte index values [3] to [6]) with Compare multiple known data groups from data D1 to data D10 of the correct data table (byte index values are the content values of [3] to [6]) and find at least one of the data parts of DX At least one correct data set with the same content value of bytes. In the example of Figure 6, the content value 0A of the data index value of the data D2 is [6] and the content value 0A of the data index value of the data portion of the data DX is the same, and the content value 0A of the data D5 The content value FF with a byte index value of [4] is the same as the content value FF with a byte index value of [4] in the data portion of the data DX, as indicated by the thick line. Therefore, the data group of data D2 and the data group of data D5 are selected as the correct data group. In this example, the at least one correct data set obtained is, for example, the data set of data D2 and data D5. These data groups correspond to multiple second known data, namely data D2 and data D5.

如第3B圖之步驟324所示,循環冗餘校驗比對法將太陽能資料SD(或過濾資料FD)的一循環冗餘校驗碼部分與多個已知循環冗餘校驗碼進行比對,並標示出此些已知循環冗餘校驗碼中的至少一正確循環冗餘校驗碼,此至少一正確循環冗餘校驗碼對應到至少一第三已知資料,如第3B圖之步驟330所示。以第7圖所示之資料DX為例,循環冗餘校驗比對法係將資料DX的循環冗餘校驗碼部分(位元組索引值為[7]至[8]的內容值CB與FF)分別與正確資料表之資料D1至資料D10的多個已知循環冗餘校驗碼進行比對(位元組索引值為[7]至[8]的內容值),並找出與DX的循環冗餘校驗碼部分中的至少一個位元組之內容值相同的至少一正確循環冗餘校驗碼。於第7圖的例子中,資料D5之位元組索引值為[7]的內容值CB與資料DX的循環冗餘校驗碼部分的位元組索引值為[7]的內容值CB相同,如粗線框線所框示,故資料D5之循環冗餘校驗碼被選為正確循環冗餘校驗碼。於本例中,所得到之至少一正確循環冗餘校驗碼例如是資料D5的循環冗餘校驗碼。此至少一正確循環冗餘校驗碼係對應到至少一個第三已知資料,亦即是資料D5。As shown in step 324 of FIG. 3B, the cyclic redundancy check comparison method compares a cyclic redundancy check code portion of solar data SD (or filtered data FD) with a plurality of known cyclic redundancy check codes Yes, and mark at least one correct cyclic redundancy check code among the known cyclic redundancy check codes, the at least one correct cyclic redundancy check code corresponds to at least one third known data, such as the 3B Figure 330 shows. Taking the data DX shown in Figure 7 as an example, the cyclic redundancy check comparison method divides the content of the cyclic redundancy check code of the data DX (the byte index value is [7] to [8] content value CB And FF) are compared with multiple known cyclic redundancy check codes of data D1 to D10 of the correct data table (byte index values are the content values of [7] to [8]), and find out At least one correct cyclic redundancy check code having the same content value as at least one byte in the cyclic redundancy check code portion of DX. In the example in Figure 7, the content value CB of the data index value of the data D5 is [7] and the content value CB of the data index value of the cyclic redundancy check part of the data DX is [7] , As indicated by the thick line, the cyclic redundancy check code of data D5 is selected as the correct cyclic redundancy check code. In this example, the obtained at least one correct cyclic redundancy check code is, for example, the cyclic redundancy check code of data D5. The at least one correct cyclic redundancy check code corresponds to at least one third known data, that is, data D5.

資料修補裝置104或資料修補裝置104的處理單元204依據此至少一第一已知資料、此至少一第二已知資料及此至少一第三已知資料以比對出重複次數最高者作為此修補資料MD,並且判斷是否可以得到此修補資料MD,如第3B圖之步驟332所示。由第5圖至第7圖的例子可知,至少一第一已知資料包括資料D1至D10,至少一第二已知資料包括資料D2與D5,而至少一第三已知資料則包括資料D5。其中,重複次數最高者係為資料D5,因此資料D5係作為上述之修補資料MD,如於第3B圖之步驟332所示。According to the at least one first known data, the at least one second known data, and the at least one third known data, the data repairing device 104 or the processing unit 204 of the data repairing device 104 compares the highest number of repetitions as this Repair the data MD, and determine whether the repair data MD can be obtained, as shown in step 332 of FIG. 3B. It can be seen from the examples in FIGS. 5 to 7 that at least one first known data includes data D1 to D10, at least one second known data includes data D2 and D5, and at least one third known data includes data D5 . Among them, the one with the highest number of repetitions is the data D5, so the data D5 is used as the aforementioned repair data MD, as shown in step 332 in FIG.

於第3B圖之步驟332之產生修補資料MD並判斷修補資料MD是否產生的步驟中,若已得到此修補資料MD,例如是上例中的資料D5,則進入步驟312,將此修補資料MD(亦即是資料D5)進行循環冗餘校驗檢查。例如是將資料D5的標頭(位元組索引值為[0]至[2]的內容值)與資料組(位元組索引值為[3]至[6]的內容值)進行循環冗餘校驗之一特定運算,以得到二個位元組的循環冗餘校驗碼,再與資料D5的循環冗餘校驗碼的二個位元組相較。若相同,則代表此修補資料MD(亦即是資料D5)通過循環冗餘校驗檢查。In the step of generating the repair data MD and determining whether the repair data MD is generated in step 332 of FIG. 3B, if the repair data MD has been obtained, for example, the data D5 in the above example, then step 312 is entered to modify the repair data MD (That is, data D5) Check the cyclic redundancy check. For example, the header of the data D5 (the content value of the byte index value [0] to [2]) and the data group (the content value of the byte index value [3] to [6]) are cyclically redundant One specific operation of the residual check to obtain a two-byte cyclic redundancy check code, which is then compared with the two-byte cyclic redundancy check code of data D5. If they are the same, it means that the patch data MD (that is, data D5) has passed the cyclic redundancy check.

於第3B圖之步驟332之產生修補資料MD並判斷修補資料MD是否產生的步驟中,若無法得到此修補資料MD,則進入步驟318,由資料修補裝置104或資料修補裝置104之處理單元204發出無法修補警示訊息Alrt2至雲端伺服器108。In the step of generating the repair data MD and determining whether the repair data MD is generated in step 332 in FIG. An unrepairable warning message Alrt2 is sent to the cloud server 108.

於另一實施例中,亦可以於得到至少一第一已知資料、至少一第二已知資料、及至少一第三已知資料時,就先進行循環冗餘校驗檢查。再將通過循環冗餘校驗檢查的至少一第一已知資料、至少一第二已知資料、及至少一第三已知資料中找出相同者以作為修補完成的正確資料。In another embodiment, when at least one first known data, at least one second known data, and at least one third known data are obtained, a cyclic redundancy check may be performed first. Then, at least one first known data, at least one second known data, and at least one third known data that have passed the cyclic redundancy check are found to be the same as the correct data after the repair is completed.

於更另一實施中,資料修補裝置104可以更具有一錯誤計數器。於比對上述之至少一第一已知資料、至少一第二已知資料、及至少一第三已知資料,並判斷是否有相同的資料之後,同時將此錯誤計數器的計數值加1。當錯誤計數器的計數值大於一臨界值時,則資料修補裝置104發送一錯誤過多警示訊息至雲端伺服器108以傳送至太陽能監控系統110來提醒使用者。In still another implementation, the data patching device 104 may further have an error counter. After comparing the above-mentioned at least one first known data, at least one second known data, and at least one third known data, and judging whether there is the same data, the count value of the error counter is also increased by 1. When the count value of the error counter is greater than a critical value, the data patching device 104 sends an excessive error warning message to the cloud server 108 for transmission to the solar energy monitoring system 110 to alert the user.

本發明實施例藉由資料修補裝置執行過濾雜訊演算法,可以讓來自太陽能模組陣列之太陽能資料的雜訊被過濾。而藉由資料修補裝置執行資料修補演算法,使得太陽能資料因線路或環境干擾所導致的資料錯誤可以得到修復。如此,可以提升通訊品質,改善系統的穩定程度。並且可以獲得即時與正確的資料,以增加系統之資料的即時性。In the embodiment of the present invention, the noise filtering algorithm from the solar module array can be filtered by the data patching device executing the noise filtering algorithm. The data repairing algorithm is executed by the data repairing device, so that the data errors caused by the line or environmental interference of the solar energy data can be repaired. In this way, the communication quality can be improved and the stability of the system can be improved. And can obtain real-time and correct data to increase the real-time nature of the system's data.

而且,當資料修補裝置判斷太陽能資料無法通過上述之過濾雜訊演算法,則發出一無法過濾警示訊息至雲端伺服器,並傳送至太陽能監控系統以提醒使用者。若修補資料無法通過循環冗餘校驗檢查,則資料修補裝置發出無法修補警示訊息至雲端伺服器,並傳送至太陽能監控系統,以讓使用者得知太陽能資料有誤且無法修補。當使用者收到警示訊息之後,使用者將可得知太陽能模組陣列本身或是傳送資料之線路可能有問題,而儘早掌握時效進行檢查。Moreover, when the data patching device judges that the solar energy data cannot pass the above-mentioned filtering noise algorithm, it sends an unfilterable warning message to the cloud server and sends it to the solar energy monitoring system to remind the user. If the repaired data cannot pass the cyclic redundancy check check, the data repairing device sends a repair failure warning message to the cloud server and sends it to the solar monitoring system to let the user know that the solar data is wrong and cannot be repaired. After the user receives the warning message, the user will know that there may be a problem with the solar module array itself or the data transmission line, and grasp the time limit as soon as possible to check.

綜上所述,雖然本發明已以實施例揭露如上,然其並非用以限定本發明。本發明所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作各種之更動與潤飾。因此,本發明之保護範圍當視後附之申請專利範圍所界定者為準。In summary, although the present invention has been disclosed as above with examples, it is not intended to limit the present invention. Those with ordinary knowledge in the technical field to which the present invention belongs can make various modifications and retouching without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention shall be deemed as defined by the scope of the attached patent application.

100‧‧‧資料修補系統102‧‧‧太陽能模組陣列104‧‧‧資料修補裝置106‧‧‧太陽能資料收集器108‧‧‧雲端伺服器110‧‧‧太陽能監控系統202‧‧‧收發單元204‧‧‧處理單元206‧‧‧警示裝置302~332‧‧‧流程步驟100‧‧‧Data repair system 102‧‧‧Solar module array 104‧‧‧Data repair device 106‧‧‧Solar data collector 108‧‧‧Cloud server 110‧‧‧Solar monitoring system 202‧‧‧Transceive unit 204‧‧‧ processing unit 206‧‧‧ warning device 302~332‧‧‧ flow steps

第1圖繪示依照本發明一較佳實施例之一種資料修補系統的方塊圖。 第2圖繪示依照本發明較佳實施例之資料修補系統的詳細結構之一例的方塊圖。 第3A圖繪示乃依照本發明一較佳實施例之一種資料修補方法的流程圖。 第3B圖繪示乃第3A圖中步驟310的詳細流程圖。 第4圖繪示依照本發明較佳實施例之資料修補裝置所執行之過濾雜訊演算法之一例的示意圖。 第5圖繪示依照本發明較佳實施例之資料修補裝置所執行之資料修補演算法之標頭比對法之一例的示意圖。 第6圖繪示依照本發明較佳實施例之資料修補裝置所執行之資料修補演算法之資料比對法之一例的示意圖。 第7圖繪示依照本發明較佳實施例之資料修補裝置所執行之資料修補演算法之循環冗餘校驗比對法之一例的示意圖。FIG. 1 shows a block diagram of a data repair system according to a preferred embodiment of the present invention. FIG. 2 is a block diagram showing an example of a detailed structure of a data repair system according to a preferred embodiment of the present invention. FIG. 3A shows a flowchart of a data repair method according to a preferred embodiment of the present invention. FIG. 3B shows a detailed flowchart of step 310 in FIG. 3A. FIG. 4 is a schematic diagram showing an example of a noise filtering algorithm executed by the data repairing device according to the preferred embodiment of the present invention. FIG. 5 is a schematic diagram showing an example of a header comparison method of a data repair algorithm executed by a data repair device according to a preferred embodiment of the present invention. FIG. 6 is a schematic diagram showing an example of a data comparison method of a data repair algorithm executed by a data repair device according to a preferred embodiment of the present invention. 7 is a schematic diagram showing an example of a cyclic redundancy check comparison method of a data repair algorithm executed by a data repair device according to a preferred embodiment of the present invention.

302~332‧‧‧流程步驟 302~332‧‧‧Process steps

Claims (20)

一種資料修補系統,包括: 一太陽能模組陣列,用以傳送一太陽能資料; 一資料修補裝置,用以接收該太陽能資料,並判斷該太陽能資料是否通過一過濾雜訊演算法,若該資料修補裝置判斷該太陽能資料通過該過濾雜訊演算法,則產生一過濾資料,該資料修補裝置判斷該過濾資料是否通過一循環冗餘校驗(cyclic redundancy check,CRC)檢查,若該資料修補裝置判斷該過濾資料不通過該循環冗餘校驗檢查,則以一資料修補演算法修補該過濾資料,以產生一修補資料,該資料修補裝置將該修補資料進行該循環冗餘校驗檢查,若該修補資料通過該循環冗餘校驗檢查,則視為完成資料修補;以及 一太陽能資料收集器,用以接收該修補資料。A data repair system, including: a solar module array for transmitting a solar data; a data repair device for receiving the solar data and determining whether the solar data passes a filtering noise algorithm, if the data is repaired The device determines that the solar data passes the filtering noise algorithm, and generates a filtered data. The data repair device determines whether the filtered data passes a cyclic redundancy check (CRC) check. If the data repair device determines If the filtered data does not pass the cyclic redundancy check check, the filtered data is patched with a data patching algorithm to generate a patched data, and the data patching device performs the cyclic redundancy check check on the patched data. If the repair data passes the cyclic redundancy check, it is regarded as completing the data repair; and a solar energy data collector is used to receive the repair data. 如申請專利範圍第1項所述之資料修補系統,其中當該資料修補裝置判斷該太陽能資料無法通過該過濾雜訊演算法,則發出一無法過濾警示訊息至一雲端伺服器。For example, in the data repair system described in item 1 of the patent application scope, when the data repair device determines that the solar energy data cannot pass the noise filtering algorithm, it sends a warning message that cannot be filtered to a cloud server. 如申請專利範圍第1項所述資料修補系統,其中若該修補資料無法通過該循環冗餘校驗檢查,則該資料修補裝置發出一無法修補警示訊息至一雲端伺服器。As described in item 1 of the patent application scope, if the repaired data fails the cyclic redundancy check, the data repairing device sends a repair failure warning message to a cloud server. 如申請專利範圍第1項所述之資料修補系統,其中該太陽能資料收集器更用以發出一資料取得命令,使該資料修補裝置通知該太陽能模組陣列回傳對應該資料取得命令的該太陽能資料; 其中,該資料修補裝置接收該太陽能資料後,藉由該過濾雜訊演算法以找出該太陽能資料的一標頭部分,並根據該標頭部分擷取該太陽能資料的一資料部分及一循環冗餘校驗碼部分,藉此過濾雜訊。The data repair system as described in item 1 of the patent application scope, wherein the solar energy data collector is further used to issue a data acquisition command, so that the data repair device notifies the solar module array to return the solar energy corresponding to the data acquisition command Data; wherein, after receiving the solar energy data, the data repair device uses the filtering noise algorithm to find a header portion of the solar energy data, and extracts a data portion of the solar energy data according to the header portion and A cyclic redundancy check code part, thereby filtering noise. 如申請專利範圍第1項所述之資料修補系統,其中該資料修補演算法包含一標頭比對法、一資料比對法及一循環冗餘校驗比對法。The data repair system as described in item 1 of the patent application scope, wherein the data repair algorithm includes a header comparison method, a data comparison method and a cyclic redundancy check comparison method. 如申請專利範圍第5項所述之資料修補系統,其中該標頭比對法將該太陽能資料的一標頭部分與複數個已知標頭進行比對,並標示出該些已知標頭中的至少一正確標頭,該至少一正確標頭對應到至少一第一已知資料; 其中該資料比對法將該太陽能資料的一資料部分與複數個已知資料組進行比對,並標示出該些已知資料組中的至少一正確資料組,該至少一正確資料組對應到至少一第二已知資料; 其中該循環冗餘校驗比對法將該太陽能資料的一循環冗餘校驗碼部分與複數個已知循環冗餘校驗碼進行比對,並標示出該些已知循環冗餘校驗碼中的至少一正確循環冗餘校驗碼,該至少一正確循環冗餘校驗碼對應到至少一第三已知資料。The data repair system as described in item 5 of the patent application scope, wherein the header comparison method compares a header portion of the solar data with a plurality of known headers, and marks the known headers At least one correct header in the at least one correct header corresponding to at least one first known data; wherein the data comparison method compares a data portion of the solar energy data with a plurality of known data sets, and Mark at least one correct data group among the known data groups, the at least one correct data group corresponding to at least one second known data; wherein the cyclic redundancy check comparison method compares a cyclic redundancy of the solar data The residual check code part is compared with a plurality of known cyclic redundancy check codes, and at least one correct cyclic redundancy check code among the known cyclic redundancy check codes is marked, and the at least one correct cycle The redundancy check code corresponds to at least one third known data. 如申請專利範圍第6項所述之資料修補系統,其中該資料修補裝置依據該至少一第一已知資料、該至少一第二已知資料及該至少一第三已知資料以比對出重複次數最高者作為該修補資料。The data repair system as described in item 6 of the patent application scope, wherein the data repair device is compared based on the at least one first known data, the at least one second known data, and the at least one third known data The one with the highest number of repetitions is used as the patching material. 一種資料修補方法,包括: 接收一太陽能資料,並判斷該太陽能資料是否通過一過濾雜訊演算法; 若判斷該太陽能資料通過該過濾雜訊演算法,則產生一過濾資料,並判斷該過濾資料是否通過一循環冗餘校驗檢查; 若判斷該過濾資料不通過該循環冗餘校驗檢查,則以一資料修補演算法修補該過濾資料,以產生一修補資料,將該修補資料進行該循環冗餘校驗檢查; 若該修補資料通過該循環冗餘校驗檢查,則視為完成資料修補;以及 傳送該修補資料至一太陽能資料收集器。A data repairing method includes: receiving a solar energy data and determining whether the solar energy data passes a filtering noise algorithm; if it is determined that the solar energy data passes the filtering noise algorithm, a filtering data is generated and the filtering data is determined Whether it passes a cyclic redundancy check check; if it is judged that the filtered data does not pass the cyclic redundancy check check, then the filter data is patched with a data patching algorithm to generate a patched data, and the patched data is subjected to the loop Redundancy check; if the repair data passes the cyclic redundancy check, it is considered to complete the data repair; and send the repair data to a solar energy data collector. 如申請專利範圍第8項所述之資料修補方法,更包括: 當判斷該太陽能資料無法通過該過濾雜訊演算法時,發出一無法過濾警示訊息至一雲端伺服器。The data repair method as described in item 8 of the patent application scope further includes: when it is judged that the solar energy data cannot pass the noise filtering algorithm, a warning message that cannot be filtered is sent to a cloud server. 如申請專利範圍第8項所述資料修補方法,更包括: 若該修補資料無法通過該循環冗餘校驗檢查,則發出一無法修補警示訊息至一雲端伺服器。The method for repairing data as described in item 8 of the scope of the patent application further includes: If the repaired data fails the cyclic redundancy check check, a warning message of unable to repair is sent to a cloud server. 如申請專利範圍第8項所述之資料修補方法,更包括: 藉由該太陽能資料收集器發出一資料取得命令,使一資料修補裝置通知一太陽能模組陣列回傳對應該資料取得命令的該太陽能資料; 其中,該資料修補裝置接收該太陽能資料後,藉由該過濾雜訊演算法以找出該太陽能資料的一標頭部分,並根據該標頭部分擷取該太陽能資料的一資料部分及一循環冗餘校驗碼部分,藉此過濾雜訊。The data repair method as described in item 8 of the patent application scope further includes: a data acquisition command is issued by the solar data collector, so that a data repair device notifies a solar module array to return the data corresponding to the data acquisition command Solar energy data; wherein, after receiving the solar energy data, the data repair device uses the filtering noise algorithm to find a header portion of the solar energy data, and extracts a data portion of the solar energy data according to the header portion And a cyclic redundancy check code part, thereby filtering noise. 如申請專利範圍第8項所述之資料修補方法,其中該資料修補演算法包含一標頭比對法、一資料比對法及一循環冗餘校驗比對法。The data repair method as described in item 8 of the patent application scope, wherein the data repair algorithm includes a header comparison method, a data comparison method and a cyclic redundancy check comparison method. 如申請專利範圍第12項所述之資料修補方法,其中該標頭比對法將該太陽能資料的一標頭部分與複數個已知標頭進行比對,並標示出該些已知標頭中的至少一正確標頭,該至少一正確標頭對應到至少一第一已知資料; 其中該資料比對法將該太陽能資料的一資料部分與複數個已知資料組進行比對,並標示出該些已知資料組中的至少一正確資料組,該至少一正確資料組對應到至少一第二已知資料; 其中該循環冗餘校驗比對法將該太陽能資料的一循環冗餘校驗碼部分與複數個已知循環冗餘校驗碼進行比對,並標示出該些已知循環冗餘校驗碼中的至少一正確循環冗餘校驗碼,該至少一正確循環冗餘校驗碼對應到至少一第三已知資料。The data repair method as described in item 12 of the patent application scope, wherein the header comparison method compares a header portion of the solar energy data with a plurality of known headers, and marks the known headers At least one correct header in the at least one correct header corresponding to at least one first known data; wherein the data comparison method compares a data portion of the solar energy data with a plurality of known data sets, and Mark at least one correct data group among the known data groups, the at least one correct data group corresponding to at least one second known data; wherein the cyclic redundancy check comparison method compares a cyclic redundancy of the solar data The residual check code part is compared with a plurality of known cyclic redundancy check codes, and at least one correct cyclic redundancy check code among the known cyclic redundancy check codes is marked, and the at least one correct cycle The redundancy check code corresponds to at least one third known data. 如申請專利範圍第13項所述之資料修補系統,其中該資料修補裝置依據該至少一第一已知資料、該至少一第二已知資料及該至少一第三已知資料以比對出重複次數最高者作為該修補資料。The data repair system as described in item 13 of the patent application scope, wherein the data repair device is compared based on the at least one first known data, the at least one second known data, and the at least one third known data The one with the highest number of repetitions is used as the patching material. 一種資料修補裝置,包括: 一收發單元,用以接收一太陽能模組陣列傳送之一太陽能資料;以及 一處理單元,用以判斷該太陽能資料是否通過一過濾雜訊演算法,若該處理單元判斷該太陽能資料通過該過濾雜訊演算法,則產生一過濾資料,該處理單元判斷該過濾資料是否通過一循環冗餘校驗檢查,若該處理單元判斷該過濾資料不通過該循環冗餘校驗檢查,則以一資料修補演算法修補該過濾資料,以產生一修補資料,該處理單元將該修補資料進行該循環冗餘校驗檢查,若該修補資料通過該循環冗餘校驗檢查,則視為完成資料修補。A data repairing device includes: a transceiver unit for receiving solar energy data transmitted by a solar module array; and a processing unit for determining whether the solar energy data passes a filtering noise algorithm if the processing unit determines The solar data passes through the filtering noise algorithm to generate a filtering data. The processing unit determines whether the filtering data passes a cyclic redundancy check. If the processing unit determines that the filtering data does not pass the cyclic redundancy check Check, the filter data is patched with a data patching algorithm to generate a patched data, the processing unit performs the cyclic redundancy check check on the patched data, if the patched data passes the cyclic redundancy check check, then It is regarded as the completion of data repair. 如申請專利範圍第15項所述之資料修補裝置,其中當該處理單元判斷該太陽能資料無法通過該過濾雜訊演算法,則該處理單元發出一無法過濾警示訊息至一雲端伺服器; 其中,若該處理單元判斷該修補資料無法通過該循環冗餘校驗檢查,則該處理單元發出一無法修補警示訊息至該雲端伺服器。For example, in the data repair device described in item 15 of the patent application scope, when the processing unit determines that the solar energy data cannot pass the filtering noise algorithm, the processing unit sends an unfilterable warning message to a cloud server; wherein, If the processing unit determines that the repaired data cannot pass the cyclic redundancy check, the processing unit sends a repair failure warning message to the cloud server. 如申請專利範圍第16項所述資料修補裝置,更包括一警示裝置,用以於該處理單元發出該無法過濾警示訊息或該無法修補警示訊息時,發出一警示提醒信號,該警示提醒信號為一光信號及一聲音信號二者至少其中之一。As described in item 16 of the patent application, the data repairing device further includes a warning device for sending out a warning reminder signal when the processing unit issues the unfilterable warning message or the unrepairable warning message, the warning reminder signal is At least one of an optical signal and an audio signal. 如申請專利範圍第15項所述之資料修補裝置,其中,該處理單元接收該太陽能資料後,藉由該過濾雜訊演算法以找出該太陽能資料的一標頭部分,並根據該標頭部分擷取該太陽能資料的一資料部分及一循環冗餘校驗碼部分,藉此過濾雜訊。The data repair device as described in item 15 of the patent application scope, wherein, after receiving the solar energy data, the processing unit uses the filtering noise algorithm to find a header portion of the solar energy data, and according to the header Partly extract a data part and a cyclic redundancy check code part of the solar energy data, thereby filtering noise. 如申請專利範圍第15項所述之資料修補裝置,其中該資料修補演算法包含一標頭比對法、一資料比對法及一循環冗餘校驗比對法。The data repair device as described in item 15 of the patent application scope, wherein the data repair algorithm includes a header comparison method, a data comparison method and a cyclic redundancy check comparison method. 如申請專利範圍第19項所述之資料修補裝置,其中該標頭比對法將該太陽能資料的一標頭部分與複數個已知標頭進行比對,並標示出該些已知標頭中的至少一正確標頭,該至少一正確標頭對應到至少一第一已知資料; 其中該資料比對法將該太陽能資料的一資料部分與複數個已知資料組進行比對,並標示出該些已知資料組中的至少一正確資料組,該至少一正確資料組對應到至少一第二已知資料; 其中該循環冗餘校驗比對法將該太陽能資料的一循環冗餘校驗碼部分與複數個已知循環冗餘校驗碼進行比對,並標示出該些已知循環冗餘校驗碼中的至少一正確循環冗餘校驗碼,該至少一正確循環冗餘校驗碼對應到至少一第三已知資料; 其中該處理單元依據該至少一第一已知資料、該至少一第二已知資料及該至少一第三已知資料以比對出重複次數最高者作為該修補資料。The data repair device as described in item 19 of the patent application scope, wherein the header comparison method compares a header portion of the solar energy data with a plurality of known headers, and marks the known headers At least one correct header in the at least one correct header corresponding to at least one first known data; wherein the data comparison method compares a data portion of the solar energy data with a plurality of known data sets, and Mark at least one correct data group among the known data groups, the at least one correct data group corresponding to at least one second known data; wherein the cyclic redundancy check comparison method compares a cyclic redundancy of the solar data The residual check code part is compared with a plurality of known cyclic redundancy check codes, and at least one correct cyclic redundancy check code among the known cyclic redundancy check codes is marked, and the at least one correct cycle The redundancy check code corresponds to at least one third known data; wherein the processing unit compares the at least one first known data, the at least one second known data and the at least one third known data The one with the highest number of repetitions is used as the patching material.
TW107121363A 2018-06-21 2018-06-21 Data correcting system and method and data correcting device thereof TWI697771B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW107121363A TWI697771B (en) 2018-06-21 2018-06-21 Data correcting system and method and data correcting device thereof
CN201811034538.9A CN109150404B (en) 2018-06-21 2018-09-05 Data patching system, method and data patching device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107121363A TWI697771B (en) 2018-06-21 2018-06-21 Data correcting system and method and data correcting device thereof

Publications (2)

Publication Number Publication Date
TW202001557A true TW202001557A (en) 2020-01-01
TWI697771B TWI697771B (en) 2020-07-01

Family

ID=64827269

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107121363A TWI697771B (en) 2018-06-21 2018-06-21 Data correcting system and method and data correcting device thereof

Country Status (2)

Country Link
CN (1) CN109150404B (en)
TW (1) TWI697771B (en)

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0326366D0 (en) * 2003-11-12 2003-12-17 Koninkl Philips Electronics Nv Communication method,system and device
AR051245A1 (en) * 2004-11-24 2006-12-27 Qualcomm Inc SYSTEMS AND METHODS TO IMPLEMENT THE CHECKING OF CYCLING REDUNDANCE
JP4513725B2 (en) * 2005-11-09 2010-07-28 ソニー株式会社 Packet transmission apparatus, communication system, and program
CN101602370A (en) * 2009-04-27 2009-12-16 上海大陆信息服务有限公司 Failure data acquisition and automatic error correction method for fast railway train
DE202009016164U1 (en) * 2009-11-26 2010-03-04 Carlo Gavazzi Services Ag Control device for photovoltaic modules
CN102104463B (en) * 2009-12-22 2013-08-07 中兴通讯股份有限公司 Data message request retransmission method and device
US20120263252A1 (en) * 2011-04-12 2012-10-18 Texas Instruments Incorporated Systems and Methods of Power Line Transmission of Solar Panel Data
FR3003417B1 (en) * 2013-03-15 2015-04-17 Mersen France Sb Sas SYSTEM AND METHOD FOR LOW-RATE CARRIER CURRENT COMMUNICATION
CN103763067B (en) * 2014-01-28 2017-11-10 天地融科技股份有限公司 A kind of communication data packet error checking and correction method and apparatus
BR112017014096A2 (en) * 2014-12-31 2018-03-06 Qualcomm Incorporated systems and methods for retrieving information from redundancy version packages
CN106126367B (en) * 2016-06-28 2019-09-20 湖北锐世数字医学影像科技有限公司 A kind of self checking method and system of file

Also Published As

Publication number Publication date
TWI697771B (en) 2020-07-01
CN109150404A (en) 2019-01-04
CN109150404B (en) 2021-11-16

Similar Documents

Publication Publication Date Title
US7845016B2 (en) Methods and apparatus for verifying modules from approved vendors
EP2952062B1 (en) Requesting information from lighting devices
CN104021054A (en) Server fault visual detecting and processing method and system and programmable chip
CN105450472A (en) Method and device for automatically acquiring states of physical components of servers
US11615217B2 (en) Configuration update method for LED display screen, receiver card, LED display module, and LED display screen
CN104951421A (en) Automatic numbering and type recognition method and device for serial bus communication devices
CN117693097B (en) Dimming control system and method suitable for high-power light source
US20200099575A1 (en) Device and method for failover
WO2014169869A1 (en) Alarm processing method and alarm system
TWI697771B (en) Data correcting system and method and data correcting device thereof
CN107765117B (en) A kind of test device and method of optical module self-healing
WO2020010906A1 (en) Method and device for operating system (os) batch installation, and network device
CN106936510B (en) Method for adjusting optical power, network equipment and network management equipment
US9692635B2 (en) Identifying port misconnections on a network device
CN103840879B (en) A kind of optical fiber office is to recognition methods, device and system
CN108449426A (en) A kind of internet of things net controller and data center's communication means and system
CN108828469B (en) Street lamp fault diagnosis circuit and diagnosis method thereof
CN106937466A (en) A kind of SCM Based street lamp fault detection, intelligent alarm control module
CN111931012A (en) Data model self-adaption method and device based on fault management subsystem
KR20120071928A (en) Apparatus and method for lighting control
CN110601914B (en) Method and system for monitoring survival state of server
CN111901952B (en) Combination lamps and lanterns based on DMX agreement
KR101459573B1 (en) Luminaire with Data Transmission Packet
US6768276B2 (en) Set-up device for on-line photo-electric localization
CN111082999A (en) Self-induction self-rescue PDU (Power distribution Unit) of network equipment and self-induction self-rescue method thereof