On Scheduling Policy for Multi-process Cyber-Physical System with Edge Computing