Revolutionizing manufacturing: A framework for Industry 4.0