Rock memory and intelligent computing of the excavation process in rock