CN104735036B - A kind of data earth-filling method and device - Google Patents
A kind of data earth-filling method and device Download PDFInfo
- Publication number
- CN104735036B CN104735036B CN201310722326.0A CN201310722326A CN104735036B CN 104735036 B CN104735036 B CN 104735036B CN 201310722326 A CN201310722326 A CN 201310722326A CN 104735036 B CN104735036 B CN 104735036B
- Authority
- CN
- China
- Prior art keywords
- data
- acquisition
- receiver
- moment
- file
- 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
Links
Abstract
The present invention provides a kind of data earth-filling method and device, which includes: that the data file including including loss data is obtained from data collection terminal;The end point and starting point for search loss of data in the data file of acquisition by comparing the value at the acquisition moment and data of data receiver and the data of data collection terminal, so that the data between the starting point and end point of the loss of data in the data file that will acquire are determined as the range of the loss data of data receiver;The data in the range of data are lost determined by extracting;By the loss of data part of extracted data filling to data receiver.
Description
Technical field
The present invention relates to data communication technology fields, and in particular, to data backfill technology.
Background technique
Data backfill herein specifically refers to, and records data collected in data collection terminal and by data collected
In the case where being sent to data receiver, in the data communication between data receiver and data collection terminal is due to certain reason
When disconnected, data receiver is it is possible that the phenomenon that loss of data, therefore, the number between data receiver and data collection terminal
After communication recovery, need to be obtained during data communication is interrupted according to data collection terminal recorded data not by data receiver
The data received, the backfill of Lai Jinhang data are terminated, so that complete reception data be presented in data receiver.
In the prior art, usually data backfill is carried out by such method, that is, acquire in data receiver and data
After data communication between end is restored, when data receiver finds loss of data, obtaining from data collection terminal includes losing number
According to data file inside, then, by data receiver in data communication break before finally receive data acquisition when
It carves (hereinafter will be referred to as the starting point of loss of data) and the acquisition moment of each data in the data file of acquisition is compared
Compared with, and acquisition moment of data that data receiver is initially received after data communication recovery (hereinafter will be referred to as
The end point of loss of data) it is compared with the acquisition moment of each data in the data file obtained, thus the number that will acquire
It is determined as losing number according to data of the acquisition moment between the starting point of loss of data and the end point of loss of data in file
According to range, and the data within the scope of this are extracted, the lost part for receiving data are filled up, thus in data receiver
Complete reception data are presented.
But it was found by the inventors of the present invention that in the data earth-filling method of the above-mentioned prior art, only by comparing data
The acquisition moment lose the range of data and unreliable to determine, for example, when clock the rising in loss of data of data collection terminal
When being calibrated or adjust (that is, change) between initial point and the end point of loss of data, then in data collection terminal recorded data
In file, it is understood that there may be the data at identical acquisition moment, in this case, if only comparing the acquisition moment of data, possible nothing
Method determines that the range for losing data or the identified range for losing data may be incorrect.
Fig. 1 shows the example of the data received before and after data receiver breaks in data communication.Wherein, the first row table
The acquisition moment of registration evidence, the second row to fifth line are indicated in corresponding data acquisition time data collection terminal respectively in channel
The collected data of CH1 to CH4.As shown in Figure 1, the data that data receiver finally receives before breaking in data communication
Acquiring the moment is [13:20:01], and the acquisition moment for the data being initially received after data communication recovery is [13:20:06].
Fig. 2 shows an examples of the data file comprising losing data that data collection terminal is recorded.Such as Fig. 2 institute
Show, the data that the acquisition moment is [13:20:00]-[13:20:07] are had recorded in the data file.
In this case, when data receiver finds loss of data, obtaining number using the data earth-filling method of the prior art
The data file comprising losing data recorded according to collection terminal, it is last before then data receiver breaks in data communication
The acquisition moment [13:20:01] of the data received is compared with the data acquisition moment in the data file, and will count
In the acquisition moment [13:20:06] of data and the data file being initially received after data communication recovery according to receiving end
The data acquisition moment is compared, so that it is determined that the range of the loss data during data receiver breaks in the communications.Fig. 3 is shown
Utilize the range for the loss data that the data earth-filling method data file according to Fig.2, of the prior art determines.Such as Fig. 3 institute
Show, the identified range for losing data is to acquire the data that the moment is [13:20:02]-[13:20:05].
Fig. 4 shows another example for the data file comprising losing data that data collection terminal is recorded.Such as Fig. 4 institute
Show, in the data file, since data collection terminal has carried out clock alignment, accordingly, there exist identical data acquisition the moment [13:
20:01]-[13:20:03]。
In this case, using the data earth-filling method of the prior art, before data receiver breaks in data communication
When the acquisition moment [13:20:01] of the data finally received is compared with the data acquisition moment in the data file, by
There are two acquisitions moment [13:20:01] in data file, therefore, it is impossible to determine the starting point of loss of data, or institute is really
The starting point of fixed loss of data may be incorrect.
Fig. 5 shows the loss number determined using the data earth-filling method data file according to Fig.4, of the prior art
According to range an example.As shown in figure 5, the identified range for losing data is clearly incorrect.
Thus, it is desirable to provide more reliable, the accurate data earth-filling method of one kind and device.
Summary of the invention
In consideration of it, the object of the present invention is to provide a kind of data earth-filling method and devices, even if in data collection terminal logical
Believe that clock synchronization clock has carried out in the case where calibrating or adjusting during interrupting, it also can be reliable, accurately true using the data earth-filling method
Surely the range of data is lost.
To achieve the above object, according to an aspect of the present invention, a kind of data earth-filling method is provided, for acquiring in data
In the case that end records data collected and data collected are sent to data receiver, in data receiver and data
After data communication between collection terminal is interrupted and restored over time, during data receiver breaks in data communication
In the case where losing data, obtained during data communication is interrupted according to data collection terminal recorded data not by data receiver
The data received, the backfill of Lai Jinhang data are terminated, so that complete reception data are presented in data receiver, this method comprises:
The data file including losing data is obtained from data collection terminal;It is last before data receiver is broken in data communication
The acquisition moment of the data received is compared with the acquisition moment of each data in the data file of acquisition, and by data
Each data in the acquisition moment for the data that receiving end is initially received after data communication recovery and the data file of acquisition
The acquisition moment is compared;It is inscribed when the acquisition of the data finally received before data receiver is broken in data communication
Before acquisition moment and data receiver in the data of at least one channel and the data file of acquisition break in data communication
The data of the acquisition moment identical respective channels of the data finally received are compared, thus in the data file that will acquire
With data receiver in data communication break before finally receive data acquisition when inscribe described at least one letter
The acquisition moment of the data of the identical respective channels of the data in road is determined as the starting point of loss of data;By data receiver in number
According to the data being initially received after communication recovery acquisition when the data file of the data of at least one channel and acquisition inscribed
In acquisition moment of data for being initially received after data communication recovery of acquisition moment and data receiver it is identical corresponding
The data of channel are compared, thus in the data file that will acquire and data receiver data communication recovery after connect at first
The acquisition moment of the data of the identical respective channels of the data at least one channel inscribed when the acquisition of the data received
It is determined as the end point of loss of data;The acquisition moment in the data file that will acquire loses in the starting point of loss of data with data
Data between the end point of mistake are determined as losing the range of data;Data in the range of identified loss data are extracted
Out, the data finally received before data receiver breaks in data communication and data receiver are filled up in data communication
Between the data being initially received after recovery, so that complete reception data be presented in data receiver.
Preferably, when the acquisition moment of multiple data in the data file of acquisition and data receiver break it in the communications
Before acquisition moment of data for finally receiving it is identical when, finally received before data receiver is broken in data communication
Acquisition moment and data receiver in the data at least one channel inscribed when the acquisition of data and the data file of acquisition
The data of the acquisition moment identical respective channels of the data finally received before breaking in data communication are compared, thus
The acquisition moment of the data finally received before of breaking in data communication with data receiver in the data file that will acquire
Under acquisition moment of data of the identical respective channels of data of at least one channel be determined as the starting of loss of data
Point.
Preferably, when the acquisition moment of multiple data in the data file of acquisition and data receiver are extensive in data communication
When the acquisition moment for the data being initially received after multiple is identical, data receiver is initially received after data communication recovery
Acquisition moment and data receiver in the data at least one channel inscribed when the acquisition of data and the data file of acquisition
The data of the acquisition moment identical respective channels for the data being initially received after data communication recovery are compared, thus will
It is inscribed when the acquisition for the data that in the data file of acquisition and data receiver is initially received after data communication recovery
The acquisition moment of the data of the identical respective channels of the data of at least one channel is determined as the end point of loss of data.
Preferably, break in the communications when the acquisition moment of only one data in the data file of acquisition with data receiver
The acquisition moment of the data finally received is identical before when, in the data file that will acquire with data receiver in the communications
The identical acquisition moment at the acquisition moment of the data finally received before disconnected is determined as the starting point of loss of data.
Preferably, when in the data file of acquisition the acquisition moment of only one data and data receiver in data communication
When the acquisition moment for the data being initially received after recovery is identical, in the data file that will acquire and data receiver is in data
The identical acquisition moment at the acquisition moment for the data being initially received after communication recovery is determined as the end point of loss of data.
Preferably, at least one described channel is all channels inscribed when same data acquire.
Preferably, the acquisition moment for the data being first initially received data receiver after data communication recovery and acquisition
Data file in acquisition moment of each data be compared, and data receiver is connect at first after data communication recovery
Acquisition moment and data in the data at least one channel inscribed when the acquisition of the data received and the data file of acquisition
The data of the acquisition moment identical respective channels for the data that receiving end is initially received after data communication recovery are compared,
To first determine the end point of loss of data, then, the number finally received before data receiver is broken in data communication
According to the acquisition moment be compared with the acquisition moment of each data in the data file of acquisition, and by data receiver in number
The data at least one channel inscribed when the acquisition of the data finally received before according to communication disruption and the data text of acquisition
The acquisition moment in part is identical with the acquisition moment of data finally received before data receiver breaks in data communication
The data of respective channels are compared, so that it is determined that the starting point of loss of data.
To achieve the above object, according to another aspect of the present invention, a kind of data backfilling apparatus is also provided, in data
In the case that collection terminal records data collected and data collected is sent to data receiver, data receiver with
After data communication between data collection terminal is interrupted and restored over time, break in data communication in data receiver
In the case that period loses data, obtained during data communication is interrupted according to data collection terminal recorded data not by data
The data that receiving end receives, Lai Jinhang data backfill, so that complete reception data, the device packet be presented in data receiver
It includes: data acquisition module, for obtaining the data file including losing data from data collection terminal;Comparison module is used for
In the acquisition moment of the data finally received before data receiver is broken in data communication and the data file of acquisition
The acquisition moment of each data is compared, and the data that data receiver is initially received after data communication recovery are adopted
The collection moment is compared with the acquisition moment of each data in the data file of acquisition, and data receiver is broken in data communication
Acquisition in the data at least one channel inscribed when the acquisition of the data finally received before and the data file of acquisition
Moment respective channels identical with the acquisition moment of data finally received before data receiver breaks in data communication
Data are compared, and by data receiver data communication recovery after be initially received data acquisition when inscribe to
The data of a few channel and acquisition moment in the data file of acquisition and data receiver after data communication recovery at first
The data of the acquisition moment identical respective channels of the data received are compared;Determining module, for according to comparison module
Comparison result, the data finally received before breaking in data communication in the data file that will acquire with data receiver
Acquisition when acquisition moment of the data of the identical respective channels of data of at least one channel for inscribing be determined as data
The starting point of loss, the data that in the data file that will acquire and data receiver is initially received after data communication recovery
Acquisition when acquisition moment of the data of the identical respective channels of data of at least one channel for inscribing be determined as data
The end point of loss, so that the acquisition moment in the data file that will acquire is in the starting point of loss of data and the knot of loss of data
Data between beam spot are determined as losing the range of data;Data extraction module, for number will to be lost determined by determining module
Data in the range of extract;Module is filled up, the data filling for being extracted data extraction module to number
The data and data receiver finally received before breaking in data communication according to receiving end connect at first after data communication recovery
Between the data received, so that complete reception data be presented in data receiver.
It is last before not only data receiver breaks in data communication using data earth-filling method of the invention and device
The acquisition moment for the data that the acquisition moment of the data received and data receiver are initially received after data communication recovery
It is compared with the acquisition moment of each data in the data file of acquisition, the value of the data of respective channels will be also inscribed when acquiring
Be compared, thus even if data collection terminal in the communications break during to clock carried out calibrate or adjust in the case where, benefit
It also can range that is reliable, accurately determining loss data with the data earth-filling method.
Detailed description of the invention
The drawings are intended to provide a further understanding of the invention, constitute part of specification, and with following tool
Body embodiment is used to explain the present invention together, but is not construed as limiting the invention.In attached drawing:
Fig. 1 shows the example of the data received before and after data receiver breaks in data communication;
Fig. 2 shows an examples of the data file comprising losing data that data collection terminal is recorded;
Fig. 3 shows the loss number determined using the data earth-filling method data file according to Fig.2, of the prior art
According to range;
Fig. 4 shows another example for the data file comprising losing data that data collection terminal is recorded;
Fig. 5 shows the loss number determined using the data earth-filling method data file according to Fig.4, of the prior art
According to range an example;
Fig. 6 shows the flow chart of the data earth-filling method of embodiment according to the present invention;
Fig. 7 shows the loss data determined using the data file of data earth-filling method of the invention according to Fig.4,
Range;
Fig. 8, which is shown, connects the complete of data receiver after the data backfill in the range of loss data shown in Fig. 7
Receive data.
Specific embodiment
Specific embodiments of the present invention are described in detail below in conjunction with attached drawing.It should be understood that described herein
Specific embodiment be merely to illustrate and explain the present invention, be not intended to restrict the invention.
Embodiment 1
Fig. 6 shows the flow chart of the data earth-filling method of embodiment according to the present invention.With continued reference to Fig. 1 and Fig. 4,
Data receiver break in data communication the data that receive of front and back as shown in Figure 1, data collection terminal recorded comprising losing
In the case that the data file of data is as shown in Figure 4, using the data earth-filling method of the embodiment of the present invention, firstly, from data
Collection terminal obtains the data file including losing data as shown in Figure 4, then, data receiver is extensive in data communication
The acquisition moment at the acquisition moment [13:20:06] for the data being initially received after multiple and each data in the data file obtained
It is compared, since only one data acquires moment [13:20:06] in the data file of acquisition, the data that will acquire
Data acquisition moment [13:20:06] in file is determined as the end point of loss of data.
Although illustrating only only one data acquisition moment [13:20:06] in the data file of acquisition in the present embodiment
The case where, still, do not invent without being limited thereto.For example, when data collection terminal clock data receiver and data collection terminal it
Between data communication interrupt during by back (that is, to the past) calibrate or adjust when, if obtain data file in exist it is more
A data acquire moment [13:20:06], then at least one channel by data receiver in the case where acquiring moment [13:20:06]
Data are compared with the data for the respective channels that the acquisition moment in the data file of acquisition is [13:20:06], for example, will
Data receiver is at the acquisition moment acquired in the data of channel CH1 and the data file of acquisition under moment [13:20:06]
The data of the channel CH1 of [13:20:06] are compared, thus the data of each channel in the data file that will acquire with number
The identical acquisition moment [13:20:06] of data according to respective channels of the receiving end in the case where acquiring moment [13:20:06] is determined as
The end point of loss of data.
It is preferred here that the data and acquisition of all channels by data receiver in the case where acquiring moment [13:20:06]
Data file in the acquisition moment be that the data of respective channels of [13:20:06] are compared, thus the data text that will acquire
The data of all channels in part are identical as the data of respective channels of the data receiver in the case where acquiring moment [13:20:06]
The acquisition moment [13:20:06] be determined as the end point of loss of data.
Then, by data receiver in data communication break before finally receive data the acquisition moment [13:20:
01] it is compared with the acquisition moment of each data in the data file obtained, since there are two in the data file of acquisition
Moment [13:20:01] is acquired (that is, data communication of the clock of data collection terminal between data receiver and data collection terminal
Back calibrated or adjusted during interruption), therefore, further by data receiver in the case where acquiring moment [13:20:01] at least
The acquisition moment in the data of one channel and the data file of acquisition is that the data of the respective channels of [13:20:01] are compared
Compared with for example, the data [0.0287] of the channel CH1 by data receiver in the case where acquiring moment [13:20:01] and the data obtained
The acquisition moment in file is that the data [0.0287] of the channel CH1 of [13:20:01] and [1.1875] are compared, the implementation
In example, since the data for the channel CH1 that two acquisition moment in the data file of acquisition are [13:20:01] are different, and one
Acquire moment [13:20:01] under channel CH1 data [1.1875] be different from data receiver data acquire the moment [13:
20:01] under channel CH1 data [0.0287], and another acquisition moment [13:20:01] under channel CH1 data
[0.0287] identical as data [0.0287] of channel CH1 of the data receiver under data acquisition moment [13:20:01], because
This, the data of the channel CH1 in the data file that will acquire are that data acquisition moment [13:20:01] of [0.0287] is determined as
The starting point of loss of data.
But if two acquisition moment in the data file obtained are the data phase of the channel CH1 of [13:20:01]
Together, and the data of channel CH1 of the data receiver in the case where acquiring moment [13:20:01] are equal to, then further by data receiver
End acquire the acquisition moment in the data of channel CH2 and the data file of acquisition under moment [13:20:01] for [13:20:
01] data of channel CH2 are compared, and so on.
Certainly, it if only one data acquires the moment as [13:20:01] in the data file obtained, will acquire
Data acquisition moment [13:20:01] in data file is determined as the starting point of loss of data.
In the present embodiment, it is preferable that first determine the end point of loss of data, then determine the starting point of loss of data.This is
Because although illustrating only the starting point of loss of data and the end point of loss of data in the present embodiment positioned at identical data text
Situation in part, still, the invention is not limited thereto.In general, data collection terminal can be formed according to scheduled data partition method
Data file, therefore, the starting point of the loss of data of data receiver and the end point of loss of data are possible in data collection terminal
In different data files.In this case, for the first time from data collection terminal obtain data file when, include loss of data
The data file of end point may be formed not yet, therefore may not include in the data file obtained for the first time includes that data are lost
The data file of the end point of mistake, at this point, can not find the end of loss of data if the starting point of loss of data has first been determined
Point.It is therefore preferred that first determine the end point of loss of data, and if not finding the end point of loss of data, a period of time
Data file is obtained from data collection terminal again afterwards, until finding the end point of loss of data, at this point, the data text obtained
It necessarily include the data file of the starting point of loss of data in part, that is, the inevitable beginning that can also find loss of data
Point.
Specifically, in the starting point of the loss of data of data receiver and the end point of loss of data in data collection terminal position
In the case where in different data files, the end point of loss of data is first determined, it is then possible in acquisition by same batch
Data (that is, associated data) be formed by data file the starting point for obtaining loss of data.In general, by same a batch
Secondary data, which are formed by data file, may have certain identical attributes, for example, by being formed by with a batch of data
The possible data file identifier (that is, data file ID) having the same of data file, therefore, in the knot that loss of data has been determined
After beam spot, there can be same alike result (for example, data file ID) with the data file of the end point comprising loss of data
The starting point of loss of data is determined in data file.
Fig. 7 shows the loss data determined using the data file of data earth-filling method of the invention according to Fig.4,
Range.As shown in fig. 7, in the starting point for determining loss of data for its corresponding channel CH1's in the data file of acquisition
Data are the acquisition moment [13:20:01] of [0.0287] and in the case that the end point of loss of data are [13:20:06],
The data between the starting point of the loss of data in data file and the end point of loss of data that then will acquire are determined as losing
The range of data is clearly different from the range of the loss data determined in Fig. 5 using the data earth-filling method of the prior art.
Then, the data in the range of extracting identified loss data in the data file of acquisition, and filled up
To the loss of data part of data receiver, that is, fill up before data receiver breaks in data communication and finally receive
The number that data (that is, the data of acquisition moment for [13:20:01]) and data receiver are initially received after data communication recovery
According between (that is, the data of acquisition moment for [13:20:06]), data are completely received to present in data receiver, such as figure
Shown in 8.
Embodiment 2
The present embodiment provides a kind of data backfilling apparatus for realizing above-mentioned data earth-filling method, which includes data
It obtains module, comparison module, determining module, data extraction module and fills up module.
With continued reference to Fig. 1, Fig. 4, Fig. 6, Fig. 7 and Fig. 8, as shown in fig. 6, data acquisition module from data collection terminal for obtaining
Take the data file including losing data as shown in Figure 4.Comparison module is initially used for data receiver shown in FIG. 1
Each number in the acquisition moment [13:20:06] for the data being initially received after data communication recovery and the data file obtained
According to the acquisition moment be compared, due in the data file of acquisition only one data acquisition moment [13:20:06],
Then, by data receiver shown in FIG. 1 in data communication break before finally receive data the acquisition moment [13:20:
01] it is compared with the acquisition moment of each data in the data file obtained, since there are two in the data file of acquisition
It acquires moment [13:20:01], therefore, further at least one by data receiver in the case where acquiring moment [13:20:01] is believed
The data in road are compared with the data for the respective channels that the acquisition moment in the data file of acquisition is [13:20:01], example
Such as, the data [0.0287] of the channel CH1 by data receiver in the case where acquiring moment [13:20:01] and the data file obtained
In the acquisition moment be [13:20:01] channel CH1 data [0.0287] and [1.1875] be compared.Determining module is used
In the comparison result according to comparison module, unique data acquisition moment [13:20:06] in data file that will acquire is determined
For the end point of loss of data, and the data of the channel CH1 in the data file that will acquire are that the data of [0.0287] acquire
The acquisition moment that moment [13:20:01] is determined as in data file of the starting point of loss of data to will acquire loses in data
Data between the starting point of mistake and the end point of loss of data are determined as losing the range of data, as shown in Figure 7.Data are extracted
Module is used to extract the data in the range of loss data determined by determining module.Module is filled up for proposing data
The data and number that the data filling that modulus block is extracted finally receives before breaking in data communication to data receiver
According to receiving end between the data being initially received after data communication recovery, so that complete reception number be presented in data receiver
According to as shown in Figure 8.
Equally, although only describing the starting point of loss of data and the end point of loss of data in the present embodiment positioned at same
In data file and in the data file that obtains there is only identical with the end point of loss of data data acquire the moment and
The case where two data acquisition moment identical with the starting point of loss of data, but the invention is not restricted to this.That is, in fact,
The starting point of loss of data and the end point of loss of data can be located in different data files, can be in the data file of acquisition
There are multiple data acquisition moment identical with the end point of loss of data and one or more and loss of data starting points
Identical data acquire the moment.Moreover, there are multiple and end points or starting point of loss of data in the data file of acquisition
In the case where the identical data acquisition moment, correspondingly, the number that data receiver is initially received after data communication recovery
According to acquisition when inscribe or data receiver in data communication break before finally receive data acquisition when inscribe to
The data with multiple data identical with the end point of loss of data or starting point in the data file of acquisition of a channel less
The data for the respective channels inscribed when acquisition are compared, until the end point and data that can accurately determine loss of data are lost
Until the starting point of mistake.
It, can also be in addition, data earth-filling method and data backfilling apparatus of the invention can be realized in data receiver
Data collection terminal is realized, or can also be realized in the other equipment except data receiver with data collection terminal, as long as should
Equipment can learn that the relevant information of the disconnected data finally received before and data connect data receiver in data communication
The relevant information for the data that receiving end is initially received after data communication recovery.
It is understood that the principle that above-described embodiment is intended to be merely illustrative of the present and the exemplary implementation that uses
Example, however the present invention is not limited thereto.The embodiment of the present invention can be omitted some technical characteristics in above-mentioned technical characteristic,
Partial technical problems existing in the prior art are only solved, moreover, disclosed technical characteristic can carry out any combination.For
For one of ordinary skilled in the art, without departing from the spirit and substance in the present invention, various changes can be made
Type and improvement, these variations and modifications are also considered as protection scope of the present invention.Protection scope of the present invention is by appended claims
It limits.
Claims (10)
1. a kind of data earth-filling method, for recording data collected in data collection terminal and being sent to data collected
In the case where data receiver, data communication between data receiver and data collection terminal is interrupted and extensive over time
After multiple, in the case where data are lost during data receiver breaks in data communication, recorded according to data collection terminal
The data that data acquisition data communication is not received by data receiver during interrupting, Lai Jinhang data backfill, thus in number
Complete reception data are presented according to receiving end, this method comprises:
The data file including losing data is obtained from data collection terminal;
The data file at the acquisition moment and acquisition of the data finally received before data receiver is broken in data communication
In acquisition moment of each data be compared, and data that data receiver is initially received after data communication recovery
The acquisition moment be compared with the acquisition moment of each data in the data file of acquisition;
It is finally received before disruptions in communications when the acquisition moment of multiple data in the data file of acquisition with data receiver
When the acquisition moment of the data arrived is identical, the acquisition of the data finally received before data receiver is broken in data communication
When the data of at least one channel and the data file of acquisition inscribed in the acquisition moment and data receiver in data communication
The data of the acquisition moment identical respective channels of the data finally received before interrupting are compared, thus the number that will acquire
According to the data finally received before breaking in data communication in file with data receiver acquisition when inscribe described in extremely
The acquisition moment of the data of the identical respective channels of data of a few channel is determined as the starting point of loss of data;
When the acquisition moment of multiple data in the data file of acquisition and data receiver connect at first after data communication is restored
When the acquisition moment of the data received is identical, the acquisition for the data that data receiver is initially received after data communication recovery
When the data of at least one channel and the data file of acquisition inscribed in the acquisition moment and data receiver in data communication
The data of the acquisition moment identical respective channels for the data being initially received after recovery are compared, thus the data that will acquire
At least one described in being inscribed when the acquisition for the data that in file and data receiver is initially received after data communication recovery
The acquisition moment of the data of the identical respective channels of the data of a channel is determined as the end point of loss of data;
Number of the acquisition moment between the starting point of loss of data and the end point of loss of data in the data file that will acquire
According to the range for being determined as loss data;
Data in the range of identified loss data are extracted, data receiver is filled up and breaks it in data communication
Before the data finally received and data receiver between the data being initially received after data communication recovery, thus in data
Complete reception data are presented in receiving end.
2. data earth-filling method according to claim 1, when the acquisition of only one data in the data file of acquisition
When carving identical as the acquisition moment of data that data receiver finally receives before disruptions in communications, the data file that will acquire
In identical acquisition moment at the acquisition moment of the data finally received before disruptions in communications with data receiver be determined as
The starting point of loss of data.
3. data earth-filling method according to claim 1, when the acquisition of only one data in the data file of acquisition
When carving identical as the acquisition moment of data that data receiver is initially received after data communication recovery, the data that will acquire are literary
In part identical acquisition moment at acquisition moment of data for being initially received is true after data communication recovery with data receiver
It is set to the end point of loss of data.
4. data earth-filling method according to claim 1, wherein at least one described channel is that same data acquire the moment
Under all channels.
5. data earth-filling method according to claim 1, wherein first by data receiver data communication recovery after at first
The acquisition moment of the data received is compared with the acquisition moment of each data in the data file of acquisition, and by data
The data and acquisition at least one channel inscribed when the acquisition for the data that receiving end is initially received after data communication recovery
Data file in acquisition moment and acquisition moment of data for being initially received after data communication recovery of data receiver
The data of identical respective channels are compared, so that the end point of loss of data is first determined, then, by data receiver in number
According to the acquisition moment of each data in the acquisition moment of the data finally received before communication disruption and the data file of acquisition
Be compared, and by data receiver in data communication break before finally receive data acquisition when inscribe at least
The data of one channel and acquisition moment in the data file of acquisition and data receiver are last before breaking in data communication
The data of the acquisition moment identical respective channels of the data received are compared, so that it is determined that the starting point of loss of data.
6. a kind of data backfilling apparatus, for recording data collected in data collection terminal and being sent to data collected
In the case where data receiver, data communication between data receiver and data collection terminal is interrupted and extensive over time
After multiple, in the case where data are lost during data receiver breaks in data communication, recorded according to data collection terminal
The data that data acquisition data communication is not received by data receiver during interrupting, Lai Jinhang data backfill, thus in number
Complete reception data are presented according to receiving end, which includes:
Data acquisition module, for obtaining the data file including losing data from data collection terminal;
Comparison module, acquisition moment of data for being finally received before data receiver breaks in data communication with obtain
The acquisition moment of each data in the data file taken is compared, and by data receiver data communication recovery after at first
The acquisition moment of the data received is compared with the acquisition moment of each data in the data file of acquisition, when the number of acquisition
According to the acquisition for the data that the acquisition moment and data receiver of multiple data in file finally receive before disruptions in communications
When moment is identical, by data receiver in data communication break before finally receive data acquisition when inscribe at least one
The acquisition moment in the data of a channel and the data file of acquisition is most followed by before breaking in data communication with data receiver
The data of the acquisition moment identical respective channels of the data received are compared, and when multiple in the data file obtained
It, will when the acquisition moment of data is identical as the acquisition moment of data that data receiver is initially received after data communication recovery
The data of at least one channel inscribed when the acquisition for the data that data receiver is initially received after data communication recovery with
The acquisition for the data that acquisition moment and data receiver in the data file of acquisition are initially received after data communication recovery
The moment data of identical respective channels are compared;
Determining module, for the comparison result according to comparison module, in the data file that will acquire and data receiver is in number
The identical correspondence of data of at least one channel described in being inscribed when the acquisition of the data finally received before according to communication disruption
The acquisition moment of the data of channel is determined as the starting point of loss of data, and in the data file that will acquire and data receiver exists
The identical correspondence of data at least one channel inscribed when the acquisition for the data that data communication is initially received after restoring
The acquisition moment of the data of channel is determined as the end point of loss of data, so that the acquisition moment in the data file that will acquire exists
Data between the starting point of loss of data and the end point of loss of data are determined as losing the range of data;
Data extraction module, for extracting the data in the range of loss data determined by determining module;
Module is filled up, the data filling for being extracted data extraction module to data receiver breaks in data communication
The data finally received before and data receiver are between the data being initially received after data communication recovery, thus in number
Complete reception data are presented according to receiving end.
7. data backfilling apparatus according to claim 6, when the acquisition of only one data in the data file of acquisition
When carving identical as the acquisition moment of data that data receiver finally receives before disruptions in communications, what determining module will acquire
When the identical acquisition of acquisition moment of the data finally received before disruptions in communications with data receiver in data file
Carve the starting point for being determined as loss of data.
8. data backfilling apparatus according to claim 6, when the acquisition of only one data in the data file of acquisition
When carving identical as the acquisition moment of data that data receiver is initially received after data communication recovery, determining device be will acquire
Data file in acquisition moment of data for being initially received identical adopts after data communication recovery with data receiver
The collection moment is determined as the end point of loss of data.
9. data backfilling apparatus according to claim 6, wherein at least one described channel is that same data acquire the moment
Under all channels.
10. data backfilling apparatus according to claim 6, wherein comparison module is first by data receiver in data communication
The acquisition moment for the data being initially received after recovery is compared with the acquisition moment of each data in the data file of acquisition,
And at least one channel for inscribing data receiver in the acquisition for the data being initially received after data communication is restored
The data that acquisition moment and data receiver in data and the data file of acquisition are initially received after data communication recovery
The data of acquisition moment identical respective channels be compared, so that it is determined that module first determines the end point of loss of data, so
Afterwards, the number at the acquisition moment and acquisition for the data that comparison module finally receives before data receiver breaks in data communication
It is compared according to the acquisition moment of each data in file, and is finally received before data receiver is broken in data communication
To data acquisition when the data of at least one channel and the data file of acquisition inscribed in the acquisition moment connect with data
The data of the acquisition moment identical respective channels for the data that receiving end finally receives before breaking in data communication are compared,
So that it is determined that module determines the starting point of loss of data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310722326.0A CN104735036B (en) | 2013-12-24 | 2013-12-24 | A kind of data earth-filling method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310722326.0A CN104735036B (en) | 2013-12-24 | 2013-12-24 | A kind of data earth-filling method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104735036A CN104735036A (en) | 2015-06-24 |
CN104735036B true CN104735036B (en) | 2019-06-14 |
Family
ID=53458474
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310722326.0A Active CN104735036B (en) | 2013-12-24 | 2013-12-24 | A kind of data earth-filling method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104735036B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6540897B2 (en) * | 2016-06-30 | 2019-07-10 | 三菱電機株式会社 | Data collection server and missing data complement method |
CN110300033B (en) * | 2018-03-22 | 2023-09-26 | 华为技术有限公司 | Packet loss information recording method, network equipment and network system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1357479A2 (en) * | 2002-04-16 | 2003-10-29 | ORION ELECTRIC CO., Ltd. | Data transfer system |
CN101202908A (en) * | 2007-07-18 | 2008-06-18 | 深圳市同洲电子股份有限公司 | Method, system for complementing lose data and network system |
CN101800632A (en) * | 2009-02-09 | 2010-08-11 | 中兴通讯股份有限公司 | Lost packet compensation method and device under user datagram protocol transmission mode |
CN102662996A (en) * | 2012-03-15 | 2012-09-12 | 北京播思软件技术有限公司 | Method for rapid data classification |
CN103024401A (en) * | 2012-11-23 | 2013-04-03 | 中国电影科学技术研究所 | Method and system for reissuing data to video file |
CN103442003A (en) * | 2013-08-26 | 2013-12-11 | 北京科东电力控制系统有限责任公司 | Data acquisition backfill system for SCADA system and method thereof |
-
2013
- 2013-12-24 CN CN201310722326.0A patent/CN104735036B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1357479A2 (en) * | 2002-04-16 | 2003-10-29 | ORION ELECTRIC CO., Ltd. | Data transfer system |
CN101202908A (en) * | 2007-07-18 | 2008-06-18 | 深圳市同洲电子股份有限公司 | Method, system for complementing lose data and network system |
CN101800632A (en) * | 2009-02-09 | 2010-08-11 | 中兴通讯股份有限公司 | Lost packet compensation method and device under user datagram protocol transmission mode |
CN102662996A (en) * | 2012-03-15 | 2012-09-12 | 北京播思软件技术有限公司 | Method for rapid data classification |
CN103024401A (en) * | 2012-11-23 | 2013-04-03 | 中国电影科学技术研究所 | Method and system for reissuing data to video file |
CN103442003A (en) * | 2013-08-26 | 2013-12-11 | 北京科东电力控制系统有限责任公司 | Data acquisition backfill system for SCADA system and method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN104735036A (en) | 2015-06-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI566546B (en) | Verfahren und vorrichtung zur pruefung der korrekten funktion einer seriellen datenuebertragung | |
CN109669899B (en) | Method for adaptively adjusting serial port communication baud rate and serial port device | |
US10396921B2 (en) | Multi-lane synchronization method, synchronization apparatus and system, and computer storage medium | |
CN106598018B (en) | Controller Area Network (CAN) device and method for operating the same | |
CN109348391A (en) | Detection method, system and the microphone of microphone | |
CN104735036B (en) | A kind of data earth-filling method and device | |
US8787471B1 (en) | Alignment of DigRF4 lane | |
CN109068256A (en) | Detection method, system, microphone and the intelligent sound box of microphone | |
CN105959078B (en) | A kind of cluster method for synchronizing time, cluster and clock synchronization system | |
WO2016131404A1 (en) | New type can frame based communication method, device and system | |
CN115668855A (en) | Wireless BMS host time synchronization mechanism | |
CN104954113B (en) | Multi-channel data transmission method and system | |
CN107437971B (en) | Processing method and device of synchronous state information | |
CN104661299B (en) | The method and system that TDD system synchronizes | |
US9847809B2 (en) | Using multiple correlators to determine signal sent and frequency offset | |
CN107005959A (en) | A kind of synchronous method, apparatus and system | |
CN105281882A (en) | Method and device for realizing time synchronization | |
EP2110756A1 (en) | Data alignment system and method for double data rate input data stream | |
CN106658156A (en) | Method for acquiring display parameters of display device, display device, and terminal | |
Hartwich et al. | Introducing can xl into can networks | |
JP5301643B2 (en) | Abnormal lane detection circuit and method, deskew circuit and method | |
CN105933733A (en) | Clock synchronization method, clock synchronization device, set top box and television | |
CN109450517A (en) | RDSS communications control method and system | |
US10122552B2 (en) | Transmission and reception methods for a binary signal on a serial link | |
CN101483735A (en) | Menu setting system and setting method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |