02-05-2023 дата публикации
Номер: CN116049231A
Принадлежит:
The invention discloses an industrial real-time data caching method and device. The method comprises the steps that first bit number data, collected at a first collection moment, of a target measurement point position are obtained, and the first bit number data comprise a first time label, a first quality code and a first data value; if the first collection moment is the initial collection moment, the first bit number data is directly written into a target cache region special for the target measurement point, data variables are updated according to the first bit number data, and the data variables comprise a front value variable, a time difference variable and a cache pointer; and if the first acquisition moment is not the initial acquisition moment, acquiring a data variable, determining to-be-cached second bit number data according to the data variable and the first bit number data, compressing and writing the second bit number data into the target cache region, and updating the data ...
Подробнее