A winding roller for driving a bobbin to rotate, for a spinning station of a textile machine, wherein the winding roller comprises a fixed shaft, a bearing mounted on the fixed shaft, a drum casing, end caps at both ends of the drum casing, a motor stator fixed on the fixed shaft, a rotor disposed on an inner wall of the drum casing at a position corresponding to the motor stator, the rotor being a driving magnetic ring along a circumference of the inner wall of the drum casing, and a driving circuit board of a coil of the motor stator being located outside the drum casing, the drum casing is disposed to sleeve the bearing, wherein the drum casing is closed at both ends by the end caps, characterized in that the rotor being composed of N-pole and S-pole magnetic strips arranged at intervals along the circumference of the inner wall of the drum casing, the fixed shaft comprises a middle section in a middle thereof, and cut-out sections extending from the middle section to both sides with surfaces partially cut off along a longitudinal direction of the fixed shaft; an inner race of the bearing is disposed to sleeve the cut-out section of the fixed shaft, whereby a gap is formed between the inner race of the bearing and the fixed shaft so that a lead of the motor stator runs out, the end cap of the winding roller motor is disposed to sleeve the cut-out section of the fixed shaft, a seal is disposed between the shaft sleeve section of the end cap and the fixed shaft, the seal is provided with an opening, and the lead connected to the coil of the motor stator runs through the opening on the seal to be in connection with the driving circuit board of the coil of the motor stator. a textile machine, wherein the winding roller comprises a fixed shaft, a bearing mounted on the fixed shaft, a drum casing, end caps at both ends of the drum casing, a motor stator fixed on the fixed shaft, a rotor disposed on an inner wall of the drum casing at a position corresponding to the motor stator, the rotor being a driving magnetic ring along a circumference of the inner wall of the drum casing, and a driving circuit board of a coil of the motor stator being located outside the drum casing, the drum casing is disposed to sleeve the bearing, wherein the drum casing is closed at both ends by the end caps, characterized in that the rotor being composed of N-pole and S-pole magnetic strips arranged at intervals along the circumference of the inner wall of the drum casing, the fixed shaft comprises a middle section in a middle thereof, and cut-out sections extending from the middle section to both sides with surfaces partially cut off along a longitudinal direction of the fixed shaft; an inner race of the bearing is disposed to sleeve the cut-out section of the fixed shaft, whereby a gap is formed between the inner race of the bearing and the fixed shaft so that a lead of the motor stator runs out, the end cap of the winding roller motor is disposed to sleeve the cut-out section of the fixed shaft, a seal is disposed between the shaft sleeve section of the end cap and the fixed shaft, the seal is provided with an opening, and the lead connected to the coil of the motor stator runs through the opening on the seal to be in connection with the driving circuit board of the coil of the motor stator.