The invention discloses a cable sensor network time service compensation method, device and equipment and a medium, and belongs to the technical field of network time service, and the method comprises the following steps: collecting process historical data of a
cable network actual error compensation
system, and taking error data of a
satellite second
clock and a
crystal oscillator second
clock as an
initial sample; aggregating the initial samples to obtain aggregated samples under each step size scale; constructing an error
feature vector containing an aggregation sample of the current scale and an accumulated error of the
current time point information; performing modeling on the error feature vectors by using a
Gaussian-like process regression model to obtain a
Gaussian-like process regression model of each step size scale; error
estimation values of all step size scales are generated in sequence, and a time service error
estimation value of the current moment is obtained by combining the difference error
estimation values of the lowest step size scale and the highest step size scale; and compensating the accumulated error of the
crystal oscillator
clock based on the time service error estimation value at the current moment. According to the invention, the synchronization precision and practicability are improved.