CN109150404B - Data patching system, method and data patching device thereof - Google Patents

Data patching system, method and data patching device thereof Download PDF

Info

Publication number
CN109150404B
CN109150404B CN201811034538.9A CN201811034538A CN109150404B CN 109150404 B CN109150404 B CN 109150404B CN 201811034538 A CN201811034538 A CN 201811034538A CN 109150404 B CN109150404 B CN 109150404B
Authority
CN
China
Prior art keywords
data
solar
cyclic redundancy
redundancy check
patching
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201811034538.9A
Other languages
Chinese (zh)
Other versions
CN109150404A (en
Inventor
沈建辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
AU Optronics Corp
Original Assignee
AU Optronics Corp
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 AU Optronics Corp filed Critical AU Optronics Corp
Publication of CN109150404A publication Critical patent/CN109150404A/en
Application granted granted Critical
Publication of CN109150404B publication Critical patent/CN109150404B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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 patching system comprises a solar module array, a data patching device and a solar data collector. The solar module array is used for transmitting solar data. The data patching device is used for receiving the solar data and judging whether the solar data passes through a noise filtering algorithm. If so, generating a filtered data. The data patching device judges whether the filtered data passes a cyclic redundancy check. If not, the filtered data is patched by a data patching algorithm to generate patched data. The data patching device carries out cyclic redundancy check on the patching data. If the repair data passes the CRC check, the data repair is deemed to be completed. The solar data collector is used for receiving the patching data.

Description

Data patching system, method and data patching device thereof
Technical Field
The present invention relates to a data patch system, a data patch method and a data patch apparatus thereof, and more particularly, to a data patch system, a data patch method and a data patch apparatus thereof for a solar module array.
Background
Automatic control systems often need to acquire data from devices or monitor the operation of devices 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 the 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 the solar field has a long communication distance, RS485 wires and Modbus communication protocols are used for data inquiry and state monitoring. The solar energy scheme often causes line interference due to the equipment or environmental factors due to poor wiring planning, and communication fails due to noise generated in the data communication process, so that data collection is incomplete, and real-time and correct data cannot be obtained. Therefore, it is one of the leading directions in the industry to effectively repair and recover the data interfered by noise and inform the user of the wiring of the solar field.
Disclosure of Invention
The invention relates to a data patching system, a method and a data patching device thereof. The noise of the solar data from the solar module array can be filtered by executing the noise filtering algorithm by the data patch device. The data patching device is used for executing the data patching algorithm, so that data errors caused by the solar data due to line or environment interference can be repaired. Therefore, the communication quality can be improved, and the stability of the system can be improved. And instant and correct data can be obtained, so that the instantaneity of system data is increased.
According to a first aspect of the present invention, a data patch system is provided, which includes a solar module array, a data patch device, and a solar data collector. The solar module array is used for transmitting solar data. The data patching device is used for receiving the solar data and judging whether the solar data passes through a noise filtering algorithm. If the data patching device judges that the solar energy data passes through the filtering noise algorithm, filtering data is generated. The data patching device determines whether the filtered data passes a Cyclic Redundancy Check (CRC) check. If the data patching device judges that the filtered data does not pass the cyclic redundancy check, the filtered data is patched by a data patching algorithm to generate patched data. The data patching device carries out cyclic redundancy check on the patching data. If the repair data passes the CRC check, the data repair is deemed to be completed. The solar data collector is used for receiving the patching data.
According to a second aspect of the present invention, a data patching method is provided, which comprises the following steps. Receiving solar energy data and judging whether the solar energy data passes a noise filtering algorithm or not. If the solar energy data is judged to pass through the filtering noise algorithm, filtering data is generated, and whether the filtering data passes through a cyclic redundancy check is judged. If the filtered data does not pass the cyclic redundancy check, the filtered data is patched by a data patching algorithm to generate patched data. And carrying out cyclic redundancy check on the patching data. And if the patching data passes the cyclic redundancy check, finishing the data patching. And transmitting the patching data to a solar data collector.
According to a third aspect of the present invention, a data patch apparatus is provided, which includes a transceiver and a processing unit. The receiving and transmitting unit is used for receiving solar data transmitted by a solar module array. The processing unit is used for judging whether the solar energy data passes through a noise filtering algorithm, and if the processing unit judges that the solar energy data passes through the noise filtering algorithm, 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, the filtered data is patched by a data patching algorithm to generate patched data. The processing unit performs cyclic redundancy check on the patch data. And if the patching data passes the cyclic redundancy check, finishing the data patching.
The invention is described in detail below with reference to the drawings and specific examples, but the invention is not limited thereto.
Drawings
FIG. 1 is a block diagram of a data patching system according to a preferred embodiment of the present invention.
FIG. 2 is a block diagram illustrating an example of the detailed structure of the data patch system according to the preferred embodiment of the present invention.
FIG. 3A is a flowchart illustrating a data patching 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 illustrating an example of a noise filtering algorithm performed by the data patch apparatus according to the preferred embodiment of the invention.
FIG. 5 is a diagram illustrating an example of header comparison of a data patch algorithm executed by the data patch apparatus according to a preferred embodiment of the invention.
FIG. 6 is a diagram illustrating an example of a data comparison method of a data patch algorithm executed by the data patch apparatus according to a preferred embodiment of the present invention.
FIG. 7 is a schematic diagram illustrating an example of a cyclic redundancy check comparison method of a data patch algorithm performed by the data patch apparatus according to the preferred embodiment of the invention.
Wherein, the reference numbers:
100: data patching system
102: solar module array
104: data patching device
106: solar data collector
108: cloud server
110: solar energy monitoring system
202: transceiver unit
204: processing unit
206: warning device
302-332: procedure step
Detailed Description
The invention will be described in detail with reference to the following drawings, which are provided for illustration purposes and the like:
referring to fig. 1, a block diagram of a data patch system according to a preferred embodiment of the invention is shown. The data patch system 100 includes a solar module array 102, a data patch device 104, and a solar data collector 106. The solar module array 102 is used for transmitting a solar data SD. The data patch device 104 is used for receiving the solar data SD and determining whether the solar data SD passes a noise filtering algorithm. If the data patch apparatus 104 determines that the solar data SD passes the filtering noise algorithm, a filtered data FD is generated. The data patching device 104 determines whether the filtered data FD passes a Cyclic Redundancy Check (CRC) check. If the data patching device 104 determines that the filtered data FD does not pass the crc check, the filtered data FD is patched by a data patching algorithm to generate a patched data MD. The data patching device 104 performs a cyclic redundancy check on the patching data MD. And if the repair data MD passes the cyclic redundancy check, the data repair is considered to be finished. The solar data collector 106 is used to receive the repair data MD.
The noise of the solar data SD from the solar module array 102 can be filtered by the data patch device 104 executing a filtering noise algorithm. The data patch algorithm is executed by the data patch device 104, so that the data error of the solar data SD caused by the line or environmental interference can be repaired. Therefore, the communication quality can be improved, and the stability of the system can be improved. And instant and correct data can be obtained, so that the instantaneity of system data is increased.
When the data patch device 104 determines that the solar data SD cannot pass the filtering noise algorithm, it sends an unfiltered warning message allt 1 to a cloud server 108. The cloud server 108 then sends the non-filterable alert message allt 1 to a solar monitoring system 110. The solar monitoring system 110 may display a signal corresponding to the non-filterable warning information allt 1, such as a warning information (e.g. a warning information), a warning sound, or a warning light signal, by using a display or a mobile device, so that the user can know that the solar data SD cannot pass the above-mentioned noise filtering algorithm because the noise is too much to be filtered. By this unfiltered warning information allt 1, the user can know that the solar module array 102 may have bad wiring layout, problems with the solar modules themselves, or communication failures due to noise generated during data transmission due to line interference caused by environmental factors. Therefore, this unfiltered warning message Alrt1 will alert the user that there may be problems with the wiring or equipment of the solar module array 102 that require inspection.
If the patch data MD fails the crc check, the data patch apparatus 104 sends an unable patch warning message allt 2 to the cloud server 108. The cloud server 108 then sends the non-filterable warning information allt 2 to the solar monitoring system 110, so that the user can know that the solar data SD data is faulty and cannot be repaired. By failing to repair the warning message Alrt2, the user can know that the solar module array 102 itself or the data transmission line may have problems, which may cause data errors during data transmission. Therefore, the non-repairable warning message Alrt2 will alert the user that there may be problems with the wiring or equipment of the solar module array 102 that requires inspection.
The solar data collector 106 is further configured to issue a data obtaining command Rqst, so that the data patching device 104 notifies the solar module array 102 to return the solar data SD corresponding to the data obtaining command Rqst. The solar data collector 106, for example, under the control of the solar monitoring system 110, may issue the data obtaining command Rqst when the user wishes to know the state of the solar module array 102, so as to request the solar module array 102 to return the solar data SD corresponding to the data obtaining command Rqst.
The data patching system 100 described above is further described as follows. Referring to FIG. 2, a block diagram of an example of the detailed structure of the data patch system 100 according to the preferred embodiment of the invention is shown. The data patch apparatus 104 includes, for example, a transceiver 202 and a processing unit 204. The transceiver unit 202 is used for receiving the solar data SD transmitted by the solar module array 102. The processing unit 204 is used to determine whether the solar data SD passes through 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 the filtering data FD. The processing unit 204 determines whether the filtered data FD passes the cyclic redundancy check. If the processing unit 204 determines that the filtered data FD does not pass the crc check, the filtered data FD is patched by a data patching algorithm to generate the patched data MD. The processing unit 204 performs a cyclic redundancy check on the patch data MD. And if the repair data MD passes the cyclic redundancy check, the data repair is considered to be finished.
When the processing unit 204 determines that the solar data SD cannot pass the noise filtering algorithm, the processing unit 204 sends an unfiltered warning message allt 1 to the cloud server 108. If the processing unit 204 determines that the patch data MD fails the crc check, the processing unit 204 sends a failure to patch alert message allt 2 to the cloud server 108.
The processing unit is, for example, a processor or a Central Processing Unit (CPU) capable of executing programs, or other hardware or firmware with control, processing and operation functions. The transceiver unit is, for example, hardware or a circuit that can receive or transmit signals.
The data patch device 104 further includes an alert device 206 for sending an alert notification when the processing unit 204 sends the non-filterable alert message Alrt1 or the non-patchable alert message Alrt 2. The warning alert signal may be at least one of a light signal and a sound signal. For example, the warning device 206 may be a Light Emitting Diode (LED) lamp, and the Light signal is, for example, a Light ray emitted when the LED lamp of a certain color is turned on, so as to remind the user of the Light signal. The light signal may also be a flashing light signal of a certain frequency. The warning device 206 may be an alarm bell, and the sound signal may be an alarm bell, for example, to alert the user.
The solar module array 102, the data patching device 104, and the solar data collector 106 communicate with each other, for example, through an RS485 serial port (serial port). In the solar module array 102, each solar module may also include or be electrically connected to an Inverter (Inverter) to convert a Direct Current (DC) signal generated by the solar module into an Alternating Current (AC) signal. The data patching device 104 and the solar data collector 106 transmit data to the cloud server 108, for example, through a network router (not shown).
The data patching method used by the data patching system 100 is further described as follows. Referring to fig. 3A, a flowchart of a data patch method according to a preferred embodiment of the invention is shown. The data patch method of the embodiment includes the following steps. First, in step 302, solar data SD is received. Then, step 304 is performed to determine whether the solar data SD passes through the noise filtering algorithm. In step 304, if the solar data SD is determined to pass the noise filtering algorithm, the process proceeds to step 306 to generate filtered data FD. When it is determined that the solar data SD cannot pass the noise filtering algorithm, step 316 is performed to send an unfiltered warning message allt 1 to the cloud server 108.
After step 306, step 308 is executed to determine whether the filtered data FD passes the crc check. In step 308, if it is determined that the filtered data FD does not pass the crc check, step 310 is performed to patch the filtered data FD by a data patch algorithm to generate the patch data MD. Then, step 312 is executed to perform a cyclic redundancy check on the repair data MD.
In step 312, if the repair data MD passes the crc check, step 314 is entered to determine that the data repair is completed and the repair data MD is transmitted to the solar data collector 106. In step 312, if the repair data MD fails the crc check, step 318 is executed to send a non-repair warning message allt 2 to the cloud server 108.
The noise filtering algorithm is further described as follows. Referring to FIG. 4, a schematic diagram of an example of the noise filtering algorithm executed by the data patch apparatus 104 according to the preferred embodiment of the invention is shown. The data patching device 104, after receiving the solar data SD, finds a header portion 402 of the solar data SD by a noise filtering algorithm, and retrieves a data portion 404 and a crc portion 406 of the solar data SD according to the header portion 402, thereby filtering the noise.
More specifically, the filtering noise algorithm, for example, finds the header portion 402 of the solar data SD according to the content value of the data acquisition command Rqst issued by the solar data collector 106. Taking the Modbus communication protocol as an example, as shown in fig. 4, the [0] th byte of the data acquisition command Rqst defines the address (Slave address) of the Slave device, and assuming that the content value of the hexadecimal bit is 01, it represents that the data acquisition command Rqst corresponds to the solar module or the inverter of the solar module in the solar module array 102 with the address of 01. The [1] th byte of the data obtaining command Rqst defines a Function (Function) corresponding to the data obtaining command Rqst, and if the hexadecimal content value is 03, it represents that the data obtaining command Rqst is the Function corresponding to the content value 03.
After the solar data collector 106 issues the data obtaining command Rqst, the data patching device 104 notifies the solar module array 102 to return the solar data SD corresponding to the data obtaining command Rqst, as shown in fig. 4. Byte [0] of the solar data SD defines the address of the slave device, and assuming that the content value of the hexadecimal bit is 01, the solar data SD represents the solar module or the inverter of the solar module corresponding to the address 01 in the solar module array 102. Byte [1] of the solar data SD defines a function corresponding to the solar data SD, and if the content value of the hexadecimal bit is 03, the function corresponding to the content value 03 is represented by the solar data SD.
In the filtering noise algorithm of the present embodiment, for example, the header portion 402 of the solar data SD, i.e. the [0] byte and the [1] byte of the solar data SD, is found according to the [0] byte content value 01 and the [1] byte content value 03 of the data acquisition command Rqst issued by the solar data collector 106. That is, the filtering noise algorithm of the present embodiment finds the portions with content values 01 and 03 from a string of data including the solar data SD to find the header portion 402 of the solar data SD. Then, it can be known from the next byte (i.e., [2] th byte of the solar data SD) after the bytes with content values of 01 and 03 that the number of bytes of the data portion is 04, which means that the next four bytes are all data bytes, and the data portion 404 is obtained. The next two bytes of the data portion 404 are the crc, and a crc portion 406 is obtained. Thus, the complete data of the solar data SD can be obtained. Thus, it can be known that the part of the string of data including the solar data SD before the header part 402 is noise and the part after the crc part 406 is noise, and the noise filtering algorithm can filter the noise to obtain the solar data SD.
If the data patch apparatus 104 cannot find the header portion 402 of the solar data SD according to the [0] byte content value 01 and the [1] byte content value 03 of the data acquisition command Rqst according to the above method, the data patch apparatus 104 cannot search the data portion 404 and the crc portion 406 of the solar data SD according to the header portion 402, and cannot filter noise. At this time, the data patch apparatus 104 determines that the solar data SD cannot pass the filtering noise algorithm, and sends out the non-filtering warning information allt 1 to the cloud server 108.
The data patch algorithm is further described as follows. Please also refer to fig. 3B, which shows a detailed flowchart of step 310 in fig. 3A. As shown in the flowchart of FIG. 3B, the data patch algorithm includes a header comparison 320, a data comparison 322 and a CRC comparison 324. Referring to fig. 5 to 7, fig. 5 is a schematic diagram illustrating an example of a header comparison method of a data patch algorithm executed by the data patch apparatus according to a preferred embodiment of the invention; FIG. 6 is a diagram illustrating an example of a data comparison method of a data patch algorithm executed by the data patch apparatus according to a preferred embodiment of the present invention; FIG. 7 is a schematic diagram illustrating an example of a cyclic redundancy check comparison method of a data patch algorithm performed by the data patch apparatus according to the preferred embodiment of the invention.
As shown in step 320 of fig. 3B, the header comparison method compares a header portion of the solar data SD (i.e., the filtered data FD obtained by filtering the solar data SD by the noise-filtering algorithm to obtain the noise sign) with a plurality of known headers, and identifies at least one correct header in the known headers, wherein the at least one correct header corresponds to at least one first known data, as shown in step 326 of fig. 3B. Taking the data DX shown in fig. 5 as an example, the header matching method compares the header portion (content values 01, 03, and 14 with byte index values [0] to [2 ]) of the data DX with a plurality of known headers (content values with byte index values [0] to [2 ]) of the data D1 to data D10 of a correct data table, respectively, and finds at least one correct header that is the same as the content value of at least one byte in the header portion of the DX. In the example of FIG. 5, the byte index values of the headers of the data D1-D10 are [0] and the content values of [1] are 01 and 03 (as indicated by the bold line), which are the same as the byte index values of [0] and [1] of the header portion of the data DX, 01 and 03. Of the three bytes having the byte index values of [0] to [2] of the headers of the data D1 to D10, the correct header can be selected as long as the content value of one byte is the same as the content value of the byte of the corresponding header portion of the data DX. In this example, the at least one correct header is, for example, the headers of the data D1-D10. The headers correspond to a plurality of first known data, namely data D1-data D10. The correct data table records correct data D1-D10 that were successfully transmitted by the last 10 pens, for example.
As shown in step 322 of fig. 3B, the data comparison method compares a data portion of the solar data SD (or the filtered data FD) with a plurality of known data sets, and identifies at least one correct data set of the known data sets, where 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 fig. 6 as an example, the data comparison method compares the data portion (content values FF, FA, 0A with byte index values [3] to [6 ]) of the data DX with a plurality of known data sets of the data D1 to data D10 of the correct data table (the byte index values are the content values [3] to [6 ]), respectively, and finds at least one correct data set that is the same as the content value of at least one byte in the data portion of the DX. In the example of FIG. 6, the content value 0A with the byte index value of [6] of the data D2 is the same as the content value 0A with the byte index value of [6] of the data portion of the data DX, and the content value FF with the byte index value of [4] of the data D5 is the same as the content value FF with the byte index value of [4] of the data portion of the data DX, as outlined by the bold frame lines. The data set of data D2 and the data set of data D5 are selected as the correct data sets. In this example, the at least one correct data set is obtained as the data sets of data D2 and data D5. The data sets correspond to a plurality of second known data, namely data D2 and data D5.
As shown in step 324 of fig. 3B, the crc comparison method compares a crc portion of the solar data SD (or the filtered data FD) with a plurality of known crc codes, and marks at least one correct crc code of the known crc codes, where the at least one correct crc code corresponds to at least one third known data, as shown in step 330 of fig. 3B. Taking the data DX shown in fig. 7 as an example, the crc comparison method compares the crc portion (content values CB and FF with byte indexes [7] to [8 ]) of the data DX with a plurality of known crc of the data D1 to data D10 of the correct data table (content values with byte indexes [7] to [8 ]), respectively, and finds at least one correct crc that is the same as the content value of at least one byte in the crc portion of the data DX. In the example of FIG. 7, the content CB of the data D5 with the byte index value [7] is the same as the content CB of the cyclic redundancy check code portion of the data DX with the byte index value [7], as indicated by the bold line, so the cyclic redundancy check code of the 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 the data D5. The at least one correct crc corresponds to at least one third known data, i.e., data D5.
The data patching device 104 or the processing unit 204 of the data patching device 104 compares the data with the highest repetition number with the at least one first known data, the at least one second known data and the at least one third known data to obtain the patching data MD, and determines whether the patching data MD can be obtained, as shown in step 332 of fig. 3B. In the examples of fig. 5 to 7, the at least one first known datum includes data D1 to D10, the at least one second known datum includes data D2 and D5, and the at least one third known datum includes data D5. Since the data D5 is the data with the highest repetition number, the data D5 is used as the patch data MD, as shown in step 332 of fig. 3B.
In the step of generating the patch data MD and determining whether the patch data MD is generated in step 332 of fig. 3B, if the patch data MD is obtained, such as the data D5 in the above example, step 312 is entered, and the patch data MD (i.e. the data D5) is checked for cyclic redundancy check. For example, a specific operation of cyclic redundancy check is performed on the header (content values with byte indexes [0] to [2 ]) of the data D5 and the data set (content values with byte indexes [3] to [6 ]) to obtain two bytes of cyclic redundancy check code, which is compared with the two bytes of cyclic redundancy check code of the data D5. If the same, it means that the repair data MD (i.e. the data D5) passes the crc check.
In the step of generating the patch data MD and determining whether the patch data MD is generated in step 332 of fig. 3B, if the patch data MD cannot be obtained, step 318 is entered, and the data patch apparatus 104 or the processing unit 204 of the data patch apparatus 104 sends out the non-patch warning information allt 2 to the cloud server 108.
In another embodiment, a crc check may also be performed when obtaining at least one first known data, at least one second known data, and at least one third known data. Then, the same one of the at least one first known data, the at least one second known data and the at least one third known data passing the cyclic redundancy check is found out as the correct data after the patching is completed.
In yet another implementation, the data patch device 104 may further have an error counter. After comparing the at least one first known data, the at least one second known data, and the at least one third known data and determining whether there is the same data, the count value of the error counter is incremented by 1. When the count value of the error counter is greater than a threshold value, the data patch device 104 sends an excessive error warning message to the cloud server 108 to send to the solar monitoring system 110 to remind the user.
According to the embodiment of the invention, the data patching device executes the noise filtering algorithm, so that the noise of the solar data from the solar module array can be filtered. The data patching device is used for executing the data patching algorithm, so that data errors caused by the solar data due to line or environment interference can be repaired. Therefore, the communication quality can be improved, and the stability of the system can be improved. And instant and correct data can be obtained, so that the instantaneity of system data is increased.
And when the data patching device judges that the solar data can not pass the filtering noise algorithm, sending out a warning message which can not be filtered to the cloud server, and transmitting the warning message to the solar monitoring system to remind a user. If the repair data can not pass the cyclic redundancy check, the data repair device sends out the repair failure warning information to the cloud server and transmits the repair failure warning information to the solar monitoring system, so that a user can know that the solar data is wrong and can not be repaired. After the user receives the warning message, the user can know that the solar module array or the data transmission line has problems, and can grasp the time effectiveness as early as possible for checking.
The present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof, and it should be understood that various changes and modifications can be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (16)

1. A data patching system, comprising:
a solar module array for transmitting a solar data;
a data patching device for receiving the solar data and judging whether the solar data passes a filtering noise algorithm, if the data patching device judges that the solar data passes the filtering noise algorithm, generating filtering data, judging whether the filtering data passes a Cyclic Redundancy Check (CRC) check, if the data patching device judges that the filtering data does not pass the CRC check, patching the filtering data by a data patching algorithm to generate patching data, and if the patching data passes the CRC check, finishing data patching; and
a solar data collector for receiving the repair data;
wherein, the noise filtering algorithm comprises finding out a header part of the solar data, and searching a data part and a cyclic redundancy check code part of the solar data according to the header part, thereby filtering noise;
the data patch algorithm comprises a header comparison method, a data comparison method and a cyclic redundancy check comparison method;
the header comparison method corresponds the header part of the solar data to at least one first known data, the data comparison method corresponds the data part of the solar data to at least one second known data, and the cyclic redundancy check comparison method corresponds the cyclic redundancy check code part of the solar data to at least one third known data;
and comparing the data with the highest repetition number according to the at least one first known data, the at least one second known data and the at least one third known data to obtain the data with the highest repetition number as the repairing data.
2. The data patching system of claim 1, wherein when the data patching device determines that the solar data fails to pass the filtering noise algorithm, it sends an unfiltered warning message to a cloud server.
3. The data patching system of claim 1, wherein if the patch data fails the crc check, the data patching device sends an invalid patch alert message to a cloud server.
4. The data patching system of claim 1, wherein the solar data collector is further configured to issue a data get command, such that the data patching device notifies the solar module array to return the solar data corresponding to the data get command.
5. The data patching system of claim 1, wherein the header matching method matches the header portion of the solar data with a plurality of known headers and identifies at least one correct header in the known headers, the at least one correct header corresponding to at least one first known data;
wherein the data comparison method compares the data portion of the solar data with a plurality of known data sets and identifies at least one correct data set of the known data sets, the at least one correct data set corresponding to at least one second known data;
the cyclic redundancy check comparison method compares the cyclic redundancy check code part of the solar data with a plurality of known cyclic redundancy check codes, and marks at least one correct cyclic redundancy check code in the known cyclic redundancy check codes, wherein the at least one correct cyclic redundancy check code corresponds to at least one third known data.
6. The data patching system of claim 5, wherein the data patching device compares the data with the highest repetition number according to the at least one first known datum, the at least one second known datum and the at least one third known datum to be the patching data.
7. A method of data patching, comprising:
receiving solar energy data and judging whether the solar energy data passes a noise filtering algorithm or not;
if the solar energy data is judged to pass through the filtering noise algorithm, generating filtering data, and judging whether the filtering data passes through a cyclic redundancy check;
if the filtered data is judged not to pass the cyclic redundancy check, repairing the filtered data by a data repairing algorithm to generate repaired data, and carrying out the cyclic redundancy check on the repaired data;
if the repair data passes the cyclic redundancy check, the data repair is considered to be completed; and
transmitting the repair data to a solar data collector;
wherein, the noise filtering algorithm comprises finding out a header part of the solar data, and searching a data part and a cyclic redundancy check code part of the solar data according to the header part, thereby filtering noise;
the data patch algorithm comprises a header comparison method, a data comparison method and a cyclic redundancy check comparison method;
the header comparison method corresponds the header part of the solar data to at least one first known data, the data comparison method corresponds the data part of the solar data to at least one second known data, and the cyclic redundancy check comparison method corresponds the cyclic redundancy check code part of the solar data to at least one third known data;
and comparing the data with the highest repetition number according to the at least one first known data, the at least one second known data and the at least one third known data to obtain the data with the highest repetition number as the repairing data.
8. The data patching method of claim 7 further comprising:
when the solar data is judged to be unable to pass through the noise filtering algorithm, sending out an unable filtering warning message to a cloud server.
9. The data patching method of claim 7 further comprising:
if the repair data can not pass the cyclic redundancy check, sending out a repair failure warning message to a cloud server.
10. The data patching method of claim 7 further comprising:
the solar data collector sends out a data acquisition command, and a data patching device informs a solar module array to return the solar data corresponding to the data acquisition command.
11. The method of claim 10, wherein the header matching method matches the header portion of the solar data with a plurality of known headers and identifies at least one correct header of the known headers, the at least one correct header corresponding to at least one first known data;
wherein the data comparison method compares the data portion of the solar data with a plurality of known data sets and identifies at least one correct data set of the known data sets, the at least one correct data set corresponding to at least one second known data;
the cyclic redundancy check comparison method compares the cyclic redundancy check code part of the solar data with a plurality of known cyclic redundancy check codes, and marks at least one correct cyclic redundancy check code in the known cyclic redundancy check codes, wherein the at least one correct cyclic redundancy check code corresponds to at least one third known data.
12. The data patch method of claim 11, wherein the data patch device compares the data with the highest repetition number according to the at least one first known datum, the at least one second known datum and the at least one third known datum to obtain the patch data.
13. A data patching device, comprising:
the receiving and transmitting unit is used for receiving solar data transmitted by a solar module array; and
a processing unit for determining whether the solar data passes a filtering noise algorithm, if the processing unit determines that the solar data passes the filtering noise algorithm, generating a filtering data, and determining 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, repairing the filtering data by a data repairing algorithm to generate a repairing data, and if the repairing data passes the cyclic redundancy check, determining that the repairing data is repaired;
wherein, the noise filtering algorithm comprises finding out a header part of the solar data, and searching a data part and a cyclic redundancy check code part of the solar data according to the header part, thereby filtering noise;
the data patch algorithm comprises a header comparison method, a data comparison method and a cyclic redundancy check comparison method;
the header comparison method corresponds the header part of the solar data to at least one first known data, the data comparison method corresponds the data part of the solar data to at least one second known data, and the cyclic redundancy check comparison method corresponds the cyclic redundancy check code part of the solar data to at least one third known data;
and comparing the data with the highest repetition number according to the at least one first known data, the at least one second known data and the at least one third known data to obtain the data with the highest repetition number as the repairing data.
14. The apparatus of claim 13, wherein when the processing unit determines that the solar data fails to pass the noise filtering algorithm, the processing unit sends an unfiltered warning message to a cloud server;
if the processing unit judges that the repair data can not pass the cyclic redundancy check, the processing unit sends out a repair failure warning message to the cloud server.
15. The apparatus of claim 14, further comprising a warning device for sending a warning alert signal when the processing unit sends the non-filterable warning message or the non-repairable warning message, wherein the warning alert signal is at least one of a light signal and a sound signal.
16. The apparatus of claim 13, wherein the header matching method matches the header portion of the solar data with a plurality of known headers and identifies at least one correct header of the known headers, the at least one correct header corresponding to at least one first known data;
wherein the data comparison method compares the data portion of the solar data with a plurality of known data sets and identifies at least one correct data set of the known data sets, the at least one correct data set corresponding to at least one second known data;
the cyclic redundancy check comparison method compares the cyclic redundancy check code part of the solar data with a plurality of known cyclic redundancy check codes, and marks at least one correct cyclic redundancy check code in the known cyclic redundancy check codes, wherein the at least one correct cyclic redundancy check code corresponds to at least one third known data;
the processing unit compares the data with the highest repetition number according to the at least one first known data, the at least one second known data and the at least one third known data to obtain the data serving as the repairing data.
CN201811034538.9A 2018-06-21 2018-09-05 Data patching system, method and data patching device thereof Active CN109150404B (en)

Applications Claiming Priority (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
TW107121363 2018-06-21

Publications (2)

Publication Number Publication Date
CN109150404A CN109150404A (en) 2019-01-04
CN109150404B true CN109150404B (en) 2021-11-16

Family

ID=64827269

Family Applications (1)

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

Country Status (2)

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

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101602370A (en) * 2009-04-27 2009-12-16 上海大陆信息服务有限公司 Failure data acquisition and automatic error correction method for fast railway train
CN102104463A (en) * 2009-12-22 2011-06-22 中兴通讯股份有限公司 Data message request retransmission method and device
CN103763067A (en) * 2014-01-28 2014-04-30 天地融科技股份有限公司 Method and device for error correction and calibration of communication data packets
CN106126367A (en) * 2016-06-28 2016-11-16 湖北锐世数字医学影像科技有限公司 A kind of self checking method and system of file

Family Cites Families (7)

* 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
DE202009016164U1 (en) * 2009-11-26 2010-03-04 Carlo Gavazzi Services Ag Control device for photovoltaic modules
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
BR112017014096A2 (en) * 2014-12-31 2018-03-06 Qualcomm Incorporated systems and methods for retrieving information from redundancy version packages

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101602370A (en) * 2009-04-27 2009-12-16 上海大陆信息服务有限公司 Failure data acquisition and automatic error correction method for fast railway train
CN102104463A (en) * 2009-12-22 2011-06-22 中兴通讯股份有限公司 Data message request retransmission method and device
CN103763067A (en) * 2014-01-28 2014-04-30 天地融科技股份有限公司 Method and device for error correction and calibration of communication data packets
CN106126367A (en) * 2016-06-28 2016-11-16 湖北锐世数字医学影像科技有限公司 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
TW202001557A (en) 2020-01-01

Similar Documents

Publication Publication Date Title
TWI772963B (en) Master-slave communication system, slave position recognition method and power bank rental device
CN111343021B (en) Method, device, equipment and medium for generating network topology structure
EP0467696B1 (en) Testing a communications network for duplicate station addresses
US20150373813A1 (en) Requesting information from lighting devices
WO2015058497A1 (en) Method, device, and system for optical fiber link identification
CN104021054A (en) Server fault visual detecting and processing method and system and programmable chip
CN106713154A (en) Wireless router with auto alarm function and alarming method thereof
CN109245951B (en) Method for realizing networking monitoring of network optimization equipment based on web
CN111984477B (en) PCIe equipment signal parameter dynamic correction device and method
CN112601216B (en) Zigbee-based trusted platform alarm method and system
CN112512028A (en) Intelligent product replacement system and method based on Bluetooth Mesh network
CN109150404B (en) Data patching system, method and data patching device thereof
CN109120430A (en) A method of guaranteeing data communication reliability
CN109981404B (en) Ad hoc network structure and diagnosis method thereof
CN107765117B (en) A kind of test device and method of optical module self-healing
CN103840879B (en) A kind of optical fiber office is to recognition methods, device and system
CN110048909B (en) Network operation and maintenance method and device
CN115811491A (en) System and method for building, monitoring and managing switch test environment
CN114938601A (en) Server cabinet with automatic identification function and method
CN110286285B (en) Test equipment and test method for testing AISG (automatic identification System) electric tilt equipment
CN113009246B (en) PSE device detection device and PSE device detection method
Cisco HSSI Interface Processor (HIP)
CN111901952B (en) Combination lamps and lanterns based on DMX agreement
EP3357219A1 (en) Addressing in a system of interconnected units
CN113079040B (en) Port migration method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant