A driving mechanism for curtain cord winding reels, comprising: at least one driving module, each of the at least one driving module comprises a base, a power member assembled in the base, and a middle shaft connected to the power member by drive connection and mounted to two sides of the base with first and second ends, wherein the second end of the middle shaft extends out of the side of the base, an end surface of the first end defines a first shaft hole, the second end forms a first axis; characterized in that the driving mechanism further comprises first and second transition shafts (2, 3) respectively mounted to two sides of the at least one driving module and connectable to the cord winding reels by drive connection, wherein the first and second transition shafts (2, 3) are respectively connected to the first and second ends of the middle shaft, an end of the first transition shaft connected to the middle shaft forms a second axis, an end of the second transition shaft connected to the middle shaft defines a second shaft hole, cross sections of the first shaft hole and the second axis are matched with one another, and cross sections of the second shaft hole and the first axis, are matched with one another, and the cross sections are non-circular; and the sides of the base form two end covers to define two limit spaces together with the base, to limit the translation of the first transition shaft and the second transition shaft, the end covers define through holes through which the first transition shaft and the second transition shaft respectively extend out of the corresponding limit spaces, ends of the first transition shaft and the second transition shaft located in the corresponding limit spaces form rings, and outer diameters of the rings are greater than inner diameters of the through holes. at least one driving module, each of the at least one driving module comprises a base, a power member assembled in the base, and a middle shaft connected to the power member by drive connection and mounted to two sides of the base with first and second ends, wherein the second end of the middle shaft extends out of the side of the base, an end surface of the first end defines a first shaft hole, the second end forms a first axis; characterized in that the driving mechanism further comprises first and second transition shafts (2, 3) respectively mounted to two sides of the at least one driving module and connectable to the cord winding reels by drive connection, wherein the first and second transition shafts (2, 3) are respectively connected to the first and second ends of the middle shaft, an end of the first transition shaft connected to the middle shaft forms a second axis, an end of the second transition shaft connected to the middle shaft defines a second shaft hole, cross sections of the first shaft hole and the second axis are matched with one another, and cross sections of the second shaft hole and the first axis, are matched with one another, and the cross sections are non-circular; and the sides of the base form two end covers to define two limit spaces together with the base, to limit the translation of the first transition shaft and the second transition shaft, the end covers define through holes through which the first transition shaft and the second transition shaft respectively extend out of the corresponding limit spaces, ends of the first transition shaft and the second transition shaft located in the corresponding limit spaces form rings, and outer diameters of the rings are greater than inner diameters of the through holes.