A rotating shaft mechanism, applied to a foldable mobile terminal, wherein the rotating shaft mechanism comprises: a main shaft assembly; a swing arm assembly, comprising at least one connecting rod group and at least one swing arm group, wherein each connecting rod group comprises two connecting rods (14a, 14b) that are respectively disposed on two sides of the main shaft assembly and that are rotatably connected to the main shaft assembly; each swing arm group comprises two swing arms (13a, 13b) respectively disposed on the two sides of the main shaft assembly, and each swing arm (13a, 13b) is rotatably connected to the main shaft assembly; an axis around which each swing arm (13a, 13b) rotates and an axis around which a connecting rod (14a, 14b) located on a same side of the main shaft assembly rotates are different axes, and each are parallel to a length direction of the main shaft assembly; and each swing arm (13a, 13b) is slidably connected to and is configured to rotate relative to at least one connecting rod (14a, 14b) located on a same side of the main shaft assembly; and a support assembly, comprising two support plates (12a, 12b) respectively disposed on the two sides of the main shaft assembly, wherein each support plate (12a, 12b) is rotatably connected to a swing arm (13a, 13b) located on a same side of the main shaft assembly, is slidably connected to and is configured to rotate relative to a connecting rod (14a, 14b) located on the same side of the main shaft assembly; wherein an axis around which each support plate (12a, 12b) is rotatably connected to a swing arm (13a, 13b) located on a same side of the main shaft assembly is parallel to the length direction of the main shaft assembly, wherein when the two swing arms (13a, 13b) located on the two sides of the main shaft assembly rotate to a first position in directions towards each other, the two connecting rods (13a, 13b) drive the two support plates (12a, 12b) to rotate to a second position in directions towards each other, and the two support plates (12a, 12b) and the main shaft assembly enclose folding space for accommodating a flexible display of the foldable mobile terminal. a main shaft assembly; a swing arm assembly, comprising at least one connecting rod group and at least one swing arm group, wherein each connecting rod group comprises two connecting rods (14a, 14b) that are respectively disposed on two sides of the main shaft assembly and that are rotatably connected to the main shaft assembly; each swing arm group comprises two swing arms (13a, 13b) respectively disposed on the two sides of the main shaft assembly, and each swing arm (13a, 13b) is rotatably connected to the main shaft assembly; an axis around which each swing arm (13a, 13b) rotates and an axis around which a connecting rod (14a, 14b) located on a same side of the main shaft assembly rotates are different axes, and each are parallel to a length direction of the main shaft assembly; and each swing arm (13a, 13b) is slidably connected to and is configured to rotate relative to at least one connecting rod (14a, 14b) located on a same side of the main shaft assembly; and a support assembly, comprising two support plates (12a, 12b) respectively disposed on the two sides of the main shaft assembly, wherein each support plate (12a, 12b) is rotatably connected to a swing arm (13a, 13b) located on a same side of the main shaft assembly, is slidably connected to and is configured to rotate relative to a connecting rod (14a, 14b) located on the same side of the main shaft assembly; wherein an axis around which each support plate (12a, 12b) is rotatably connected to a swing arm (13a, 13b) located on a same side of the main shaft assembly is parallel to the length direction of the main shaft assembly, wherein when the two swing arms (13a, 13b) located on the two sides of the main shaft assembly rotate to a first position in directions towards each other, the two connecting rods (13a, 13b) drive the two support plates (12a, 12b) to rotate to a second position in directions towards each other, and the two support plates (12a, 12b) and the main shaft assembly enclose folding space for accommodating a flexible display of the foldable mobile terminal.