The invention relates to a
production line control method and device, a
production line,
computer equipment, a computer readable storage medium and a
computer program product, and the method comprises the steps: obtaining the working state of a
robot and the working states of more than two
machine tools, determining the working demands of the
robot according to the state of a workpiece and the working state of each
machine tool, and based on the working state of the
robot and the working requirement of the robot, the robot is controlled to complete workpiece
machining on the
production line. The production line comprises a robot and more than two
machine tools which are used for collaborative production. Analysis is conducted by combining the workpiece state and the working states of the multiple machine tools, the situation of the production line is accurately detected, the working requirements of the robot are obtained, corresponding workpiece
machining is completed, all the requirements on the production line can be planned and executed as a whole, the
idle time of the machine tools and the robot is shortened, and the production efficiency of the production line is improved.