An automatic cleaning machine , comprising: a travelling device for making the automatic cleaning machine travel on a floor, and a control system , wherein the automatic cleaning machine is characterized in that it further comprises a reciprocally wiping mechanism , wherein the reciprocally wiping mechanism comprises: at least one cleaning device used for being in contact with the floor; and at least one reciprocating device connected to the at least one cleaning device and comprising: a motor ; a crankshaft , driven by the motor to rotate; and at least one crank , wherein a first end of the at least one crank is connected to the crankschaft and a second end of the at least one crank is connected to the at least one cleaning device and reciprocally moves as the crankshaft rotates so as to make the at least one cleaning device reciprocally wipe the floor, the control system being coupled to the reciprocally wiping mechanism and the travelling device and used to control the reciprocally wiping mechanism and the travelling device . a travelling device for making the automatic cleaning machine travel on a floor, and a control system , wherein the automatic cleaning machine is characterized in that it further comprises a reciprocally wiping mechanism , wherein the reciprocally wiping mechanism comprises: at least one cleaning device used for being in contact with the floor; and at least one reciprocating device connected to the at least one cleaning device and comprising: a motor ; a crankshaft , driven by the motor to rotate; and at least one crank , wherein a first end of the at least one crank is connected to the crankschaft and a second end of the at least one crank is connected to the at least one cleaning device and reciprocally moves as the crankshaft rotates so as to make the at least one cleaning device reciprocally wipe the floor, the control system being coupled to the reciprocally wiping mechanism and the travelling device and used to control the reciprocally wiping mechanism and the travelling device . at least one cleaning device used for being in contact with the floor; and at least one reciprocating device connected to the at least one cleaning device and comprising: a motor ; a crankshaft , driven by the motor to rotate; and at least one crank , wherein a first end of the at least one crank is connected to the crankschaft and a second end of the at least one crank is connected to the at least one cleaning device and reciprocally moves as the crankshaft rotates so as to make the at least one cleaning device reciprocally wipe the floor, the control system being coupled to the reciprocally wiping mechanism and the travelling device and used to control the reciprocally wiping mechanism and the travelling device . a motor ; a crankshaft , driven by the motor to rotate; and at least one crank , wherein a first end of the at least one crank is connected to the crankschaft and a second end of the at least one crank is connected to the at least one cleaning device and reciprocally moves as the crankshaft rotates so as to make the at least one cleaning device reciprocally wipe the floor, the control system being coupled to the reciprocally wiping mechanism and the travelling device and used to control the reciprocally wiping mechanism and the travelling device . <EOS>