Towards the maintenance principles of cyber-physical systems