A distributed physical architecture and data-based scheduling method for smart factory based on intelligent agents