This invention provides a method, apparatus,
computer device, and storage medium for storing
sensing data, relating to the field of data storage technology. The method includes: calculating the environmental state similarity between adjacent acquisition times based on environmental state vectors at each
acquisition time; aggregating and storing storage entries corresponding to consecutively occurring identical environmental states at each
acquisition time based on a comparison of the environmental state similarity between adjacent acquisition times and a dynamic threshold, forming storage records; calculating the current
storage record density and the environmental state change frequency of each
storage record based on the storage records, and then generating a hierarchical storage strategy through preset storage rules; and performing hierarchical storage of the environmental state vectors and storage records based on the hierarchical storage strategy. The technical solution provided by this invention effectively removes spatiotemporal repetition information when storing
sensing data, saves storage space for edge devices, improves
data processing efficiency, and extends hardware lifespan.