Online Time Series Segmentation Method implemented based on the paper "An adaptive algorithm for Online Time Series Segmentation with Error Bound Guarantee"