A foldable module for connecting a first supporting piece and a second supporting piece of a foldable electronic device, the foldable module comprising a first connection part, a first pin, a first drive ring, and a first spring, wherein a first pin hole is disposed on the first connection part, the first pin passes through the first drive ring, the first pin hole, and the first spring, a first convex part and a first concave part are disposed between the first drive ring and the first connection part, the first convex part is located between the first spring and the first concave part, or the first concave part is located between the first spring and the first convex part, and the first convex part is embedded in the first concave part, wherein the first connection part is connectable to the first supporting piece of the foldable electronic device, and when the first supporting piece and the second supporting piece rotate relative to each other, the first connection part rotates around the first pin;and when the first connection part rotates, the first convex part is arranged to slide out of the first concave part; wherein the foldable module further comprises a second connection part, a second pin, a second drive ring, and a second spring; and a second pin hole is disposed on the second connection part, the second pin passes through the second drive ring, the second pin hole, and the second spring, a second convex part and a second concave part are disposed between the second drive ring and the second connection part, the second convex part is located between the second spring and the second concave part, or the second concave part is located between the second spring and the second convex part, and the second convex part is embedded in the second concave part, wherein the second connection part is connectable to the second supporting piece of the electronic device, and when the first supporting piece and the second supporting piece rotate relative to each other, the second connection part rotates around the second pin; and wherein the first pin and the second pin are disposed in parallel and spaced apart, a first toothed structure is disposed on the first connection part, a second toothed structure is disposed on the second connection part, and the first connection part is drivingly connected to the second connection part by the first toothed structure and the second toothed structure; and when the second connection part rotates, the second convex part is arranged to slide out of the second concave part. a first pin hole is disposed on the first connection part, the first pin passes through the first drive ring, the first pin hole, and the first spring, a first convex part and a first concave part are disposed between the first drive ring and the first connection part, the first convex part is located between the first spring and the first concave part, or the first concave part is located between the first spring and the first convex part, and the first convex part is embedded in the first concave part, wherein the first connection part is connectable to the first supporting piece of the foldable electronic device, and when the first supporting piece and the second supporting piece rotate relative to each other, the first connection part rotates around the first pin;and when the first connection part rotates, the first convex part is arranged to slide out of the first concave part; wherein the foldable module further comprises a second connection part, a second pin, a second drive ring, and a second spring; and a second pin hole is disposed on the second connection part, the second pin passes through the second drive ring, the second pin hole, and the second spring, a second convex part and a second concave part are disposed between the second drive ring and the second connection part, the second convex part is located between the second spring and the second concave part, or the second concave part is located between the second spring and the second convex part, and the second convex part is embedded in the second concave part, wherein the second connection part is connectable to the second supporting piece of the electronic device, and when the first supporting piece and the second supporting piece rotate relative to each other, the second connection part rotates around the second pin; and wherein the first pin and the second pin are disposed in parallel and spaced apart, a first toothed structure is disposed on the first connection part, a second toothed structure is disposed on the second connection part, and the first connection part is drivingly connected to the second connection part by the first toothed structure and the second toothed structure; and when the second connection part rotates, the second convex part is arranged to slide out of the second concave part.