CN109150404A - Data patching system, method and data patching device thereof - Google Patents
Data patching system, method and data patching device thereof Download PDFInfo
- Publication number
- CN109150404A CN109150404A CN201811034538.9A CN201811034538A CN109150404A CN 109150404 A CN109150404 A CN 109150404A CN 201811034538 A CN201811034538 A CN 201811034538A CN 109150404 A CN109150404 A CN 109150404A
- Authority
- CN
- China
- Prior art keywords
- data
- solar
- redundancy check
- cyclic redundancy
- repairing
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims description 44
- 125000004122 cyclic group Chemical group 0.000 claims abstract description 81
- 238000001914 filtration Methods 0.000 claims abstract description 49
- 230000008439 repair process Effects 0.000 claims abstract description 20
- 238000012986 modification Methods 0.000 claims description 115
- 230000004048 modification Effects 0.000 claims description 115
- 238000012545 processing Methods 0.000 claims description 33
- 238000007689 inspection Methods 0.000 claims description 32
- 238000002715 modification method Methods 0.000 claims description 11
- 230000005540 biological transmission Effects 0.000 claims description 4
- 230000003287 optical effect Effects 0.000 claims description 4
- 230000006854 communication Effects 0.000 description 12
- 238000004891 communication Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 11
- 238000012544 monitoring process Methods 0.000 description 11
- 230000007613 environmental effect Effects 0.000 description 5
- 238000012795 verification Methods 0.000 description 5
- 238000012546 transfer Methods 0.000 description 3
- 241001269238 Data Species 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 230000000295 complement effect Effects 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
- H04L1/0056—Systems characterized by the type of code used
- H04L1/0061—Error detection codes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols 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
Technical field
The invention relates to a kind of data modification system, method and its data modification devices, and in particular to one
Kind is used in the data modification system, method and its data modification device of solar module array.
Background technique
Automatic control system is usually needed through communication mode, to obtain the data of equipment or be monitored the dynamic of equipment
Make.The most-often used communication protocol in automatic control system is Modbus communication protocol.However, communicating product in monitoring system
The quality of matter often determines the degree of stability of integritied monitoring and controling system.When reducing communication abnormality will be helpful to reduce the response of equipment
Between and increase system data instantaneity.Solar energy case field uses RS485 wire rod and Modbus logical because communication distance is longer
Letter agreement is counted it is investigated that inquiring about condition monitoring.Solar energy case field is often because route planning is bad, so that equipment itself or environmental factor
Line-hit is generated, and generates noise and communication failure in data communication process, causes data collection incomplete, can not obtain
Immediately with correct data.Therefore, how will effectively be restored by the data modification of noise jamming, and notify user's solar energy
The wiring of case field may be problematic, is in fact one of the direction that current industry is endeavoured.
Summary of the invention
The present invention is about a kind of data modification system, method and its data modification device.It is held by data modification device
It went noise filtering algorithm, the noise of the Solar Data from solar module array can be allowed to be filtered.And by data
Repair apparatus executes data modification algorithm, so that Solar Data can be with because of the error in data caused by route or environmental disturbances
It is repaired.In this way, communication quality can be promoted, improve the degree of stability of system.And instant and correct number can be obtained
According to increase the instantaneity of system data.
According to the first aspect of the invention, a kind of data modification system, including a solar module array, a data are proposed
Repair apparatus and a Solar Data collector.Solar module array is to transmit a Solar Data.Data modification dress
It sets to receive Solar Data, and judges whether Solar Data passes through one and cross noise filtering algorithm.If this data modification fills
It sets and judges that this Solar Data crosses noise filtering algorithm by this, then generate one and cross filter data.Data modification device judges this mistake
Whether filter data passes through a cyclic redundancy check (cyclic redundancy check, CRC) inspection.If data modification device
Judged that filter data did not passed through cyclic redundancy check inspection, then this is repaired with a data modification algorithm and cross filter data, to generate
One repairing data.Repairing data is carried out cyclic redundancy check inspection by data modification device.If repairing data is superfluous by this circulation
Remaining verification checks, then is considered as and completes data modification.And Solar Data collector is then to receive this repairing data.
According to the second aspect of the invention, it proposes a kind of data modification method, includes the following steps.Receive a solar energy number
According to, and judge whether Solar Data passes through one and cross noise filtering algorithm.If judging, Solar Data passed through noise filtering calculation
Method then generates one and crosses filter data, and judged whether filter data passes through a cyclic redundancy check inspection.If judging filter data not
By cyclic redundancy check inspection, then filter data was repaired with a data modification algorithm, to generate a repairing data.It will repairing
Data carry out cyclic redundancy check inspection.If repairing data is considered as by cyclic redundancy check inspection and completes data modification.It passes
Send repairing data to a Solar Data collector.
According to the third aspect of the invention we, a kind of data modification device, including a Transmit-Receive Unit and a processing unit are proposed.
A Solar Data of the Transmit-Receive Unit to receive solar module array transmission.Processing unit is then to judge solar energy
Whether data pass through a noise filtering algorithm excessively produces if processing unit judges that Solar Data passed through noise filtering algorithm
Raw one crosses filter data.Processing unit more judged whether filter data passes through a cyclic redundancy check inspection.If processing unit judges
It crosses filter data and does not pass through cyclic redundancy check inspection, then filter data was repaired with a data modification algorithm, to generate a repairing
Data.Repairing data is carried out cyclic redundancy check inspection by processing unit.If repairing data passes through cyclic redundancy check inspection,
It is considered as and completes data modification.
Below in conjunction with the drawings and specific embodiments, the present invention will be described in detail, but not as a limitation of the invention.
Detailed description of the invention
Fig. 1 shows a kind of block diagram of data modification system according to a preferred embodiment of the present invention.
Fig. 2 shows the block diagrams of an example of the detailed construction of the data modification system according to present pre-ferred embodiments.
Fig. 3 A shows a kind of flow chart of data modification method according to a preferred embodiment of the present invention.
Fig. 3 B shows the detail flowchart of step 310 in Fig. 3 A.
Fig. 4 shows an example that noise filtering algorithm is crossed performed by the data modification device according to present pre-ferred embodiments
Schematic diagram.
Fig. 5 shows the header of data modification algorithm performed by the data modification device according to present pre-ferred embodiments
The schematic diagram of an example of Comparison Method.
Fig. 6 shows the data of data modification algorithm performed by the data modification device according to present pre-ferred embodiments
The schematic diagram of an example of Comparison Method.
Fig. 7 shows the circulation of data modification algorithm performed by the data modification device according to present pre-ferred embodiments
The schematic diagram of an example of redundancy check Comparison Method.
Wherein, appended drawing reference:
100: data modification system
102: solar module array
104: data modification device
106: Solar Data collector
108: cloud server
110: solar energy monitoring system
202: Transmit-Receive Unit
204: processing unit
206: alarming device
302~332: process step
Specific embodiment
Structural principle and working principle of the invention are described in detail with reference to the accompanying drawing:
Fig. 1 is please referred to, a kind of block diagram of data modification system according to a preferred embodiment of the present invention is shown.Data
Patch system 100 includes a solar module array 102, a data modification device 104 and a Solar Data collector 106.
Solar module array 102 is to transmit a Solar Data SD.Data modification device 104 to receive Solar Data SD,
And judge whether Solar Data SD passes through one and cross noise filtering algorithm.If data modification device 104 judges Solar Data SD
By crossing noise filtering algorithm, then generates one and cross filter data FD.Data modification device 104 simultaneously judged whether filter data FD passes through
One cyclic redundancy check (cyclic redundancy check, CRC) checks.If data modification device 104 judged filter data
FD does not pass through this cyclic redundancy check and checks, then repairs filter data FD with a data modification algorithm, to generate a repairing number
According to MD.Repairing data MD is carried out cyclic redundancy check inspection by data modification device 104.If repairing data MD passes through cyclic redundancy
Verification checks, then is considered as and completes data modification.Solar Data collector 106 is then to receive this repairing data MD.
Noise filtering algorithm was executed by data modification device 104, can be allowed from solar module array 102 too
The noise of positive energy data SD is filtered.And data modification algorithm is executed by data modification device 104, so that Solar Data
SD is because of the available reparation of error in data caused by route or environmental disturbances.In this way, communication quality can be promoted, improve system
Degree of stability.And instant and correct data can be obtained, to increase the instantaneity of system data.
Wherein, when data modification device 104 judges that Solar Data SD can not be by above-mentioned noise filtering algorithm excessively, then
Information warning Alrt1 can not be filtered to a cloud server 108 by issuing one.This can not be filtered warning again by cloud server 108
Information Alrt1 is sent to a solar energy monitoring system 110.Solar energy monitoring system 110 can for example be moved by a display or one
Dynamic device corresponds to the signal that can not extremely filter information warning Alrt1 to show, e.g. prompting message (e.g. one warning letter
Breath), remind the sound or remind use optical signal, with allow user learn Solar Data SD because noise can not excessively filter out, therefore
Noise filtering algorithm can not be crossed by above-mentioned.Information warning Alrt1 can not be filtered by this, user will be it can be seen that solar energy
Module array 102 may have that route planning is bad or solar energy module itself is problematic, or generate line because of environmental factor
Road interference, and noise and communication failure are generated in data transfer procedure.Therefore, this can not filter information warning Alrt1 can
The wiring or equipment for reminding user's solar module array 102 may be problematic, and need to be checked.
If repairing data MD can not can not repair police by cyclic redundancy check inspection, the sending of data modification device 104
Show information Alrt2 to cloud server 108.This can not be filtered information warning Alrt2 again and be sent to the sun by cloud server 108
Energy monitoring system 110, to allow user to learn, Solar Data SD data are wrong and can not repair.Warning can not be repaired by this
Information Alrt2, user by it can be seen that solar module array 102 itself or transmit data route may it is problematic, and
Error in data is generated in data transfer procedure.Therefore, this, which can not repair information warning Alrt2, can remind user's solar energy
The wiring of module array 102 or equipment may be problematic, and need to be checked.
Solar Data collector 106 more obtains order Rqst to issue a data, notifies data modification device 104
Solar module array 102 returns the Solar Data SD that this corresponding data obtain order Rqst.Solar Data collector 106
Such as the state of solar module array 102 can be wanted to know about in user under the control of solar energy monitoring system 110
When, it issues this data and obtains order Rqst, obtain order Rqst's to require solar module array 102 to return this corresponding data
Solar Data SD.
Hereby above-mentioned data modification system 100 is further described below.Referring to figure 2., show according to the present invention compared with
The block diagram of an example of the detailed construction of the data modification system 100 of good embodiment.Data modification device 104 is received for example including one
Bill member 202 and a processing unit 204.Solar Data of the Transmit-Receive Unit 202 to receive the transmission of solar module array 102
SD.Processing unit 204 is then to judge whether Solar Data SD passed through noise filtering algorithm.If processing unit 204 is sentenced
Disconnected Solar Data SD passed through noise filtering algorithm, then processing unit 204 generated filter data FD.Processing unit 204 is simultaneously sentenced
Whether the filter data FD that broke passes through cyclic redundancy check inspection.If it is superfluous that processing unit 204 judged that filter data FD did not passed through circulation
Remaining verification checks, then filter data FD is repaired with data modification algorithm, to generate repairing data MD.Processing unit 204 will be repaired
Complement carries out cyclic redundancy check inspection according to MD.If repairing data MD is considered as by cyclic redundancy check inspection and completes data
Repairing.
When processing unit 204 judges that Solar Data SD can not be by crossing noise filtering algorithm, then processing unit 204 issues
Information warning Alrt1 can not be filtered to cloud server 108.If processing unit 204 judges that repairing data MD can not pass through circulation
Redundancy check inspection, the then sending of processing unit 204 can not repair information warning Alrt2 to cloud server 108.
Above-mentioned processing unit be, for example, can execute program processor central processing unit (CPU) or other have
Control is handled, the hardware or firmware of calculation function.And Transmit-Receive Unit is then, for example, the hardware or electricity that can receive or send signal
Road.
Data modification device 104 further includes an alarming device 206, can not filter warning in the sending of processing unit 204
Information Alrt1 or when can not repair information warning Alrt2, issues a warning alert signal.This warning alert signal can be a light
Both signal and a voice signal at least one.For example, alarming device 206 can be a light emitting diode (Light
Emitting Diode, LED) lamp, above-mentioned optical signal is, for example, the light issued when the LED light of certain color is lighted, with
User is reminded to pay attention to.This optical signal is also possible to the flashing signal of certain frequency.It is alert that alarming device 206 is for example also possible to one
Bell, and above-mentioned voice signal then may, for example, be alarm bell sound, to remind user to pay attention to.
Solar module array 102, data modification device 104 and Solar Data collector 106 are, for example, to pass through
RS485 serial ports (serial port) communicates with one another.In solar module array 102, each solar energy module also can be respective
It is electrically connected comprising an inverter (Inverter) or respectively with an inverter, it will be straight caused by solar energy module
Stream (DC) signal switchs to exchange (AC) signal.Data modification device 104 and Solar Data collector 106 are, for example, to pass through network
Router (not shown) transfers data to cloud server 108.
Hereby data modification method used in data modification system 100 is further described below.A referring to figure 3. shows
Out according to a kind of flow chart of data modification method of a preferred embodiment of the present invention.The data modification method of the present embodiment includes
Following steps.Firstly, receiving Solar Data SD in step 302.Then, 304 are entered step, judges this Solar Data SD
Whether noise filtering algorithm was passed through.In step 304, if judging, Solar Data SD passed through noise filtering algorithm, into
Enter step 306, generates filter data FD.And when judging that Solar Data SD can not cross noise filtering algorithm by this, then into
Enter step 316, sending can not filter information warning Alrt1 to cloud server 108.
After step 306, step 308 is then executed, judged whether filter data FD passes through cyclic redundancy check inspection.
In step 308, if judging, filter data FD did not passed through cyclic redundancy check inspection, enters step 310, is drilled with data modification
Algorithm repaired filter data FD, to generate repairing data MD.Then, step 312 is executed, this repairing data MD recycle superfluous
Remaining verification checks.
In step 312, if repairing data MD is entered step 314, is considered as and completes number by cyclic redundancy check inspection
According to repairing, and this repairing data MD is transmitted to Solar Data collector 106.In step 312, if repairing data MD can not lead to
This cyclic redundancy check inspection is crossed, then enters step 318, sending can not repair information warning Alrt2 to cloud server 108.
Hereby above-mentioned noise filtering algorithm of crossing is further described below.Referring to figure 4., it shows according to of the invention preferable
The schematic diagram of an example of noise filtering algorithm is crossed performed by the data modification device 104 of embodiment.Data modification device 104 in
After receiving Solar Data SD, by noise filtering algorithm is crossed to find out a Header portion 402 of Solar Data SD, and according to
Header portion 402 retrieves a data portion 404 and a cyclic redundancy check code part 406 of Solar Data SD, filters whereby
Noise.
More specifically, crossing noise filtering algorithm is, for example, the data issued according to Solar Data collector 106
The contents value of order Rqst is obtained, to find out the Header portion 402 of Solar Data SD.By taking Modbus communication protocol as an example, such as
Shown in Fig. 4, [0] a byte that data obtain order Rqst defines the address (Slave address) of slave unit, it is assumed that
Its sexadesimal system contents value is, for example, 01, represents this data and obtains order Rqst to be corresponding into solar module array 102,
The inverter of solar energy module or solar energy module that address is 01.[1] a byte that data obtain order Rqst defines
This data obtains function (Function) corresponding to order Rqst, it is assumed that its sexadesimal system contents value is, for example, 03, is represented
It is for function corresponding to contents value 03 that this data, which obtains order Rqst,.
After Solar Data collector 106 issues data acquirement order Rqst, data modification device 104 notifies the sun
Energy module array 102 returns the Solar Data SD that this corresponding data obtain order Rqst, as shown in Figure 4.Solar Data SD
[0] a byte define the address of slave unit, it is assumed that its sexadesimal system contents value is, for example, 01, represents this solar energy
Data SD is corresponding into solar module array 102, the inverter of solar energy module or solar energy module that address is 01.Too
[1] a byte of positive energy data SD defines function corresponding to this Solar Data SD, it is assumed that its sexadesimal system content
Value is, for example, 03, represents this Solar Data SD as function corresponding to contents value 03.
In crossing in noise filtering algorithm for the present embodiment, the number e.g. issued according to Solar Data collector 106
According to the contents value 01 and [1] a byte content value 03 of [0] a byte for obtaining order Rqst, to find out Solar Data SD
Header portion 402, be also Solar Data SD [0] a byte and [1] a byte.It is, the present embodiment
Cross noise filtering algorithm from include Solar Data SD burst of data in, find contents value be 01 and 03 part, to look for
The Header portion 402 of sunny energy data SD.Then, from contents value be 01 and 03 byte after next byte (that is,
It is [2] a byte of Solar Data SD) it is known that the byte number of data portion is 04, it is intended that next four
Byte is all data byte, and obtains data portion 404.And 404 next two bytes of data portion are then cyclic redundancy
Check code, and cyclic redundancy check code part 406 can be obtained.In this way, the partial data of Solar Data SD can be obtained.In this way
One, it can be learnt that include in the burst of data of Solar Data SD, in the part of 402 front of Header portion be noise, and
Part after cyclic redundancy check code part 406 is also noise, these noise filterings can be obtained by crossing noise filtering algorithm
To Solar Data SD.
If data modification device 104 can not obtain [0] a byte of order Rqst according to data according to the above method
Contents value 01 and [1] a byte content value 03, if the Header portion 402 to find out Solar Data SD, then data are repaired
Data portion 404 and the cyclic redundancy check code portion of Solar Data SD can not be retrieved according to Header portion 402 by mending device 104 also
Divide 406, and noise filtering can not be crossed.At this point, data modification device 104 judges that Solar Data SD can not be made an uproar by above-mentioned filtering
Sound algorithm, and will issue can not filter information warning Alrt1 to cloud server 108.
Hereby above-mentioned data modification algorithm is further described below.It please also refer to Fig. 3 B, show in Fig. 3 A and walk
Rapid 310 detail flowchart.As shown in the flow chart of Fig. 3 B, data modification algorithm includes a header Comparison Method 320, a data
Comparison Method 322 and a cyclic redundancy check Comparison Method 324.The 5th to 7 figure is please referred to, wherein Fig. 5 is shown according to of the invention preferably real
Apply the schematic diagram of an example of the header Comparison Method of data modification algorithm performed by the data modification device of example;Fig. 6 show according to
An example of the comparing method of data modification algorithm performed by data modification device according to present pre-ferred embodiments is shown
It is intended to;The circulation that Fig. 7 shows data modification algorithm performed by the data modification device according to present pre-ferred embodiments is superfluous
The schematic diagram of an example of remaining verification Comparison Method.
As shown in the step 320 of Fig. 3 B, header Comparison Method by this Solar Data SD (be also by Solar Data SD by
By cross noise filtering algorithm cross noise filtering number it is obtained cross filter data FD) a Header portion compared with multiple known headers
It is right, and at least one correct header in these known headers is indicated, this at least one correct header has corresponded at least one first
Primary data, as shown in the step 326 of Fig. 3 B.By taking data DX shown in fig. 5 as an example, header Comparison Method is by the Header portion of data DX
(contents value 01,03 and 14 that byte index value is [0] to [2]) is respectively with the data D1 of a correct data table to data D10's
(contents value that byte index value is [0] to [2]) is compared in multiple known headers, and finds out in the Header portion with DX extremely
The identical at least one correct header of contents value of a few byte.In the example of Fig. 5, the header of data D1 to data D10
Byte index value is 01 and 03 (as thick line wire institute frame shows) for the contents value of [0] and [1], with the Header portion of data DX
Byte index value is that [0] and the contents value 01 of [1] are identical as 03.The byte index value of the header of data D1 to data D10 is [0]
Into three bytes of [2] contents value, as long as there is the byte of the contents value of byte Header portion corresponding with data DX's
Contents value it is identical, correct header can be chosen as.In this example, obtained at least one correct header be, for example, data D1 extremely
The header of data D10.These headers correspond to multiple first given datas, are also data D1 to data D10.Wherein, above-mentioned
Correct data table be, for example, to have recorded the correct data D1 to D10 of nearest 10 Successful transmissions.
As shown in the step 322 of Fig. 3 B, comparing method is by a data portion of Solar Data SD (or cross filter data FD)
Divide and be compared with multiple given data groups, and indicate at least correct data group in these given data groups, this is at least
One correct data group corresponds at least one second given data, as shown in the step 328 of Fig. 3 B.It is with data DX shown in fig. 6
Example, comparing method distinguish the data portion (contents value FF, FF, FA, 0A that byte index value is [3] to [6]) of data DX
Be compared with multiple given data groups of the data D1 of correct data table to data D10 (byte index value be [3] to [6]
Contents value), and find out the identical at least correct data group of the contents value of at least one byte in the data portion with DX.In
In the example of Fig. 6, the byte index value of data D2 is the contents value 0A of [6] and the byte index value of the data portion of data DX is
[6] contents value 0A is identical, and the byte index value of data D5 is the byte of the data portion of the contents value FF and data DX of [4]
Index value is that the contents value FF of [4] is identical, as thick line wire institute frame shows.Therefore the data group quilt of the data group of data D2 and data D5
It is selected as correct data group.In this example, an obtained at least correct data group is, for example, the data group of data D2 Yu data D5.
These data groups correspond to multiple second given datas, are also data D2 and data D5.
As shown in the step 324 of Fig. 3 B, cyclic redundancy check Comparison Method is by Solar Data SD's (or crossing filter data FD)
One cyclic redundancy check code part is compared with multiple known cyclic redundancy check code, and indicates these known cyclic redundancies
An at least correct cycles redundancy check code in check code, at least a correct cycles redundancy check code corresponds to an at least third for this
Given data, as shown in the step 330 of Fig. 3 B.By taking data DX shown in Fig. 7 as an example, cyclic redundancy check Comparison Method is by data DX
Cyclic redundancy check code part the contents value CB and FF of (byte index value be [7] to [the 8]) number with correct data table respectively
(contents value that byte index value is [7] to [8]) is compared according to multiple known cyclic redundancy check code of D1 to data D10,
And it is superfluous to find out the identical at least correct cycles of the contents value of at least one byte in cyclic redundancy check code part with DX
Remaining check code.In the example of Fig. 7, the byte index value of data D5 is the cyclic redundancy school of the contents value CB and data DX of [7]
It is identical for the contents value CB of [7] to test the byte index value of code part, if thick line wire institute frame shows, therefore the cyclic redundancy school of data D5
It tests code and is chosen as correct cycles redundancy check code.In this example, an obtained at least correct cycles redundancy check code is, for example,
The cyclic redundancy check code of data D5.At least a correct cycles redundancy check code corresponds at least one third given data for this,
It also is data D5.
The processing unit 204 of data modification device 104 or data modification device 104 is according to this at least one first datum
According to, this at least one second given data and this at least third given data to compare out number of repetition soprano as this repairing
Data MD, and judge whether available this repairing data MD, as shown in the step 332 of Fig. 3 B.By the example of Fig. 5 to Fig. 7
It is found that at least one first given data includes data D1 to D10, at least one second given data includes data D2 and D5, and is arrived
A few third given data then includes data D5.Wherein, number of repetition soprano is data D5, therefore data D5 is as above-mentioned
Repairing data MD, as shown in the step 332 in Fig. 3 B.
In the step 332 of Fig. 3 B generation repairing data MD and judge in the step of whether repairing data MD generates, if
This repairing data MD is obtained, the data D5 in e.g. upper example then enters step 312, (is also data by this repairing data MD
D5 cyclic redundancy check inspection) is carried out.E.g. by the header of the data D5 contents value of (byte index value be [0] to [2]) with
Data group (contents value that byte index value is [3] to [6]) carries out a certain operations of cyclic redundancy check, to obtain two words
The cyclic redundancy check code of section, then compared with two bytes of the cyclic redundancy check code of data D5.If they are the same, then this is represented to repair
Complement passes through cyclic redundancy check inspection according to MD (being also data D5).
In the step 332 of Fig. 3 B generation repairing data MD and judge in the step of whether repairing data MD generates, if nothing
Method obtains this repairing data MD, then enters step 318, by data modification device 104 or the processing unit of data modification device 104
204 sendings can not repair information warning Alrt2 to cloud server 108.
It, can also be in obtaining at least one first given data, at least one second given data and extremely in another embodiment
As soon as when few third given data, first carrying out cyclic redundancy check inspection.At least the one of cyclic redundancy check inspection will be passed through again
Identical person is found out in first given data, at least one second given data and at least a third given data using as having repaired
At correct data.
In more another implementation, data modification device 104 can have more an error counter.It is above-mentioned at least in comparison
One first given data, at least one second given data and at least a third given data, and judge whether there is identical data
Later, while by the count value of this error counter add 1.When the count value of error counter is greater than a critical value, then data
Repair apparatus 104 sends the excessive information warning of a mistake and is sent to solar energy monitoring system 110 to cloud server 108 to mention
Wake up user.
The embodiment of the present invention executed noise filtering algorithm by data modification device, can allow from solar energy module battle array
The noise of the Solar Data of column is filtered.And data modification algorithm is executed by data modification device, so that solar energy number
According to because of the available reparation of error in data caused by route or environmental disturbances.In this way, communication quality can be promoted, improve system
Degree of stability.And instant and correct data can be obtained, to increase the instantaneity of system data.
Moreover, then being issued when data modification device judges that Solar Data can not cross noise filtering algorithm by above-mentioned
One can not filter information warning to cloud server, and be sent to solar energy monitoring system to remind user.If repairing data
Can not be by cyclic redundancy check inspection, then the sending of data modification device can not repair information warning to cloud server, and pass
It send to solar energy monitoring system, to allow user to learn, Solar Data is wrong and can not repair.When user receives warning letter
After breath, user and slaps as early as possible by it can be seen that solar module array itself may be problematic or transmit the routes of data
Timeliness is held to be checked.
Certainly, the present invention can also have other various embodiments, without deviating from the spirit and substance of the present invention, ripe
It knows those skilled in the art and makes various corresponding changes and modifications, but these corresponding changes and change in accordance with the present invention
Shape all should fall within the scope of protection of the appended claims of the present invention.
Claims (20)
1. a kind of data modification system characterized by comprising
One solar module array, to transmit a Solar Data;
One data modification device to receive the Solar Data, and judges whether the Solar Data passes through one and cross noise filtering
Algorithm generates one and crosses filter data if the data modification device judges that the Solar Data crosses noise filtering algorithm by this,
The data modification device judge this cross filter data whether pass through a cyclic redundancy check (cyclic redundancy check,
CRC it) checks, checks if the data modification device judges that this is crossed filter data and does not pass through the cyclic redundancy check, repaired with a data
Benefit algorithm repairs this and crosses filter data, and to generate a repairing data, which carries out the circulation for the repairing data
Redundancy check inspection is considered as if the repairing data is checked by the cyclic redundancy check and completes data modification;And
One Solar Data collector, to receive the repairing data.
2. data modification system as described in claim 1, which is characterized in that wherein when the data modification device judges the sun
Energy data can not cross noise filtering algorithm by this, then information warning can not be filtered to a cloud server by issuing one.
3. data modification system as described in claim 1, which is characterized in that if wherein the repairing data can not pass through the circulation
Redundancy check inspection, then the data modification device, which issues one, can not repair information warning to a cloud server.
4. data modification system as described in claim 1, which is characterized in that wherein the Solar Data collector is more to send out
A data obtain order out, make the data modification device that the solar module array be notified to return the corresponding data and obtain order
The Solar Data;
Wherein, after which receives the Solar Data, noise filtering algorithm is crossed to find out the solar energy by this
One Header portion of data, and retrieve according to the Header portion data portion and a cyclic redundancy check of the Solar Data
Code part, crosses noise filtering whereby.
5. data modification system as described in claim 1, which is characterized in that wherein the data modification algorithm includes a header
Comparison Method, a comparing method and a cyclic redundancy check Comparison Method.
6. data modification system as claimed in claim 5, which is characterized in that wherein the header Comparison Method is by the Solar Data
A Header portion be compared with multiple known headers, and indicate at least one correct header in those known headers, should
At least one correct header corresponds at least one first given data;
Wherein one data portion of the Solar Data is compared the comparing method with multiple given data groups, and indicates
An at least correct data group in those given data groups out, an at least correct data group correspond at least one second datum
According to;
Wherein the cyclic redundancy check Comparison Method known follows a cyclic redundancy check code part of the Solar Data with multiple
Ring redundancy check code is compared, and indicates at least correct cycles redundancy check in those known cyclic redundancy check code
Code, an at least correct cycles redundancy check code correspond to an at least third given data.
7. data modification system as claimed in claim 6, which is characterized in that wherein the data modification device according to this at least one
First given data, at least one second given data and an at least third given data are to compare out number of repetition soprano
As the repairing data.
8. a kind of data modification method characterized by comprising
A Solar Data is received, and judges whether the Solar Data passes through one and cross noise filtering algorithm;
If judging, the Solar Data crosses noise filtering algorithm by this, generates one and crosses filter data, and judges that this crosses filter data
Whether a cyclic redundancy check inspection is passed through;
If judging that this is crossed filter data and does not pass through the cyclic redundancy check to check, which is repaired with a data modification algorithm
According to generate a repairing data, which is carried out the cyclic redundancy check inspection;
If the repairing data is checked by the cyclic redundancy check, it is considered as and completes data modification;And
The repairing data is transmitted to a Solar Data collector.
9. data modification method as claimed in claim 8, which is characterized in that further include:
When judging that the Solar Data can not cross noise filtering algorithm by this, information warning can not be filtered to a cloud by issuing one
Hold server.
10. data modification method as claimed in claim 8, which is characterized in that further include:
If the repairing data can not be checked by the cyclic redundancy check, sending one can not repair information warning a to cloud and take
Business device.
11. data modification method as claimed in claim 8, which is characterized in that further include:
A data are issued by the Solar Data collector and obtain order, and a data modification device is made to notify a solar energy module
Array returns the Solar Data that the corresponding data obtain order;
Wherein, after which receives the Solar Data, noise filtering algorithm is crossed to find out the solar energy by this
One Header portion of data, and retrieve according to the Header portion data portion and a cyclic redundancy check of the Solar Data
Code part, crosses noise filtering whereby.
12. data modification method as claimed in claim 8, which is characterized in that wherein the data modification algorithm includes a mark
Head Comparison Method, a comparing method and a cyclic redundancy check Comparison Method.
13. data modification method as claimed in claim 12, which is characterized in that wherein the header Comparison Method is by the solar energy number
According to a Header portion be compared with multiple known headers, and indicate at least one correct header in those known headers,
At least one correct header corresponds at least one first given data;
Wherein one data portion of the Solar Data is compared the comparing method with multiple given data groups, and indicates
An at least correct data group in those given data groups out, an at least correct data group correspond at least one second datum
According to;
Wherein the cyclic redundancy check Comparison Method known follows a cyclic redundancy check code part of the Solar Data with multiple
Ring redundancy check code is compared, and indicates at least correct cycles redundancy check in those known cyclic redundancy check code
Code, an at least correct cycles redundancy check code correspond to an at least third given data.
14. data modification system as claimed in claim 13, which is characterized in that wherein the data modification device according to this at least
One first given data, at least one second given data and an at least third given data are to compare out number of repetition highest
Person is as the repairing data.
15. a kind of data modification device characterized by comprising
One Transmit-Receive Unit, to receive a Solar Data of solar module array transmission;And
One processing unit crosses noise filtering algorithm to judge whether the Solar Data passes through one, if the processing unit judges
The Solar Data crosses noise filtering algorithm by this, then generates one and cross filter data, which judges that this is crossed filter data and is
It is no to be checked if the processing unit judges that this is crossed filter data and does not pass through the cyclic redundancy check by a cyclic redundancy check inspection,
This is then repaired with a data modification algorithm and crosses filter data, to generate a repairing data, the processing unit by the repairing data into
The row cyclic redundancy check inspection is considered as if the repairing data is checked by the cyclic redundancy check and completes data modification.
16. data modification device as claimed in claim 15, which is characterized in that wherein when the processing unit judges the solar energy
Data can not cross noise filtering algorithm by this, then the processing unit, which issues one, can not filter information warning to a cloud service
Device;
Wherein, if the processing unit judges that the repairing data can not be checked by the cyclic redundancy check, processing unit hair
Out one information warning can not be repaired to the cloud server.
17. data modification device as claimed in claim 16, which is characterized in that an alarming device is further included, in the processing
Unit issue this can not filter information warning or this when can not repair information warning, issue a warning alert signal, which mentions
Wake up signal be both an optical signal and a voice signal at least one.
18. data modification device as claimed in claim 15, which is characterized in that wherein, which receives the solar energy
After data, noise filtering algorithm is crossed by this to find out a Header portion of the Solar Data, and examine according to the Header portion
Noise filtering is crossed in one data portion of the rope Solar Data and a cyclic redundancy check code part whereby.
19. data modification device as claimed in claim 15, which is characterized in that wherein the data modification algorithm includes a mark
Head Comparison Method, a comparing method and a cyclic redundancy check Comparison Method.
20. data modification device as claimed in claim 19, which is characterized in that wherein the header Comparison Method is by the solar energy number
According to a Header portion be compared with multiple known headers, and indicate at least one correct header in those known headers,
At least one correct header corresponds at least one first given data;
Wherein one data portion of the Solar Data is compared the comparing method with multiple given data groups, and indicates
An at least correct data group in those given data groups out, an at least correct data group correspond at least one second datum
According to;
Wherein the cyclic redundancy check Comparison Method known follows a cyclic redundancy check code part of the Solar Data with multiple
Ring redundancy check code is compared, and indicates at least correct cycles redundancy check in those known cyclic redundancy check code
Code, an at least correct cycles redundancy check code correspond to an at least third given data;
Wherein the processing unit is according at least one first given data, at least one second given data and an at least third
Given data is to compare out number of repetition soprano as the repairing data.
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 true CN109150404A (en) | 2019-01-04 |
CN109150404B 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)
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)
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 |
US10530535B2 (en) * | 2014-12-31 | 2020-01-07 | Qualcomm Incorporated | Systems and methods for information recovery from redundancy version packets |
-
2018
- 2018-06-21 TW TW107121363A patent/TWI697771B/en active
- 2018-09-05 CN CN201811034538.9A patent/CN109150404B/en active Active
Patent Citations (4)
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 |
CN109150404B (en) | 2021-11-16 |
TW202001557A (en) | 2020-01-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110493042B (en) | Fault diagnosis method and device and server | |
TWI741505B (en) | Topology processing method, device and system | |
EP1654609B1 (en) | Management of large scale cabling systems | |
CN103631251B (en) | Portable instrument safeguards servicing unit, system and method | |
US7027952B2 (en) | Data transmission method for a multi-protocol handheld field maintenance tool | |
CN106464356B (en) | A kind of detection method of rogue's optical network unit, apparatus and system | |
CN106254199B (en) | Unidirectional ring network fault point positioning method, concentrator, terminal equipment and system | |
CN105258103B (en) | Full-automatic boiler intelligent alarm system for prompting and method | |
CN105991337A (en) | Alarm compression method and alarm compression device | |
CN109987120A (en) | Train communication transmission method and system | |
CN107231188B (en) | Method for rapidly identifying optical fiber link breaking point of intelligent station | |
US20050111063A1 (en) | Modular scanning system for cabling systems | |
CN105847077A (en) | Method for detecting conflict of multipath serial data, and device and equipment | |
CN103312765B (en) | The accessibility of the node of the network of checking industrial automation and control system | |
CN109150404A (en) | Data patching system, method and data patching device thereof | |
CN209746767U (en) | Intelligent monitoring and alarming system for machine room | |
US7523015B2 (en) | Field device | |
CN109412872A (en) | A kind of long-distance monitorng device for traditional equipment | |
CN205227277U (en) | Full -automatic boiler intelligence warning system | |
CN106254087A (en) | A kind of method and apparatus checking that VRRP configures | |
CN109981166A (en) | A kind of localization method and device of incorrect link optical fiber | |
CN105446857A (en) | Fault diagnosis method and system | |
CN208046617U (en) | Data transmission device and electric system | |
CN112887984B (en) | Data monitoring system and method for wireless communication | |
CN115065586B (en) | Control system fault detection and data channel switching method and device and electronic equipment |
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 |