A rotating shaft mechanism, applied to a foldable mobile terminal, wherein the rotating shaft mechanism comprises: a primary shaft component; a swing arm component, comprising at least one connection rod group and at least one swing arm group, wherein each connection rod group comprises two connection rods (14a, 14b) that are correspondingly disposed on two sides of the primary shaft component and that are rotatably connected to the primary shaft component; each swing arm group comprises swing arms (13a, 13b) that are separately disposed on the two sides of the primary shaft component, and each swing arm (13a, 13b) is rotatably connected to the primary shaft component; an axis around which each swing arm rotates and an axis around which a connection rod rotates are different and are both parallel to a length direction of the primary shaft component; and each swing arm (13a, 13b) is slidably connected to and can rotate relative to at least one connection rod (14a, 14b) located on the same side; a support component, comprising support plates (12a, 12b) correspondingly disposed on the two sides of the primary shaft component, wherein each support plate (12a, 12b) is rotatably connected to a swing arm (13a, 13b) located on the same side, and is slidably connected to and can rotate relative to a connection rod (14a, 14b) located on the same side; or each support plate (12a, 12b) is rotatably connected to the primary shaft component, and is slidably connected to and can rotate relative to a swing arm (13a, 13b) located on the same side; an axis around which the support plate (12a, 12b) is rotatably connected to the swing arm (13a, 13b) or rotatably connected to the primary shaft component is parallel to the length direction of the primary shaft component; and a position limiting mechanism, configured to limit relative sliding positions of the swing arm (13a, 13b) and the connection rod (14a, 14b), wherein when the swing arms (13a, 13b) on the two sides of the primary shaft component rotate toward each other to a first position, corresponding connection rods (14a, 14b) or the swing arms (13a, 13b) drive the two support plates (12a, 12b) to rotate toward each other to a second position, so that the support plates (12a, 12b) and the primary shaft component encircle to form folded space that accommodates a flexible display of the mobile terminal. a primary shaft component; a swing arm component, comprising at least one connection rod group and at least one swing arm group, wherein each connection rod group comprises two connection rods (14a, 14b) that are correspondingly disposed on two sides of the primary shaft component and that are rotatably connected to the primary shaft component; each swing arm group comprises swing arms (13a, 13b) that are separately disposed on the two sides of the primary shaft component, and each swing arm (13a, 13b) is rotatably connected to the primary shaft component; an axis around which each swing arm rotates and an axis around which a connection rod rotates are different and are both parallel to a length direction of the primary shaft component; and each swing arm (13a, 13b) is slidably connected to and can rotate relative to at least one connection rod (14a, 14b) located on the same side; a support component, comprising support plates (12a, 12b) correspondingly disposed on the two sides of the primary shaft component, wherein each support plate (12a, 12b) is rotatably connected to a swing arm (13a, 13b) located on the same side, and is slidably connected to and can rotate relative to a connection rod (14a, 14b) located on the same side; or each support plate (12a, 12b) is rotatably connected to the primary shaft component, and is slidably connected to and can rotate relative to a swing arm (13a, 13b) located on the same side; an axis around which the support plate (12a, 12b) is rotatably connected to the swing arm (13a, 13b) or rotatably connected to the primary shaft component is parallel to the length direction of the primary shaft component; and a position limiting mechanism, configured to limit relative sliding positions of the swing arm (13a, 13b) and the connection rod (14a, 14b), wherein when the swing arms (13a, 13b) on the two sides of the primary shaft component rotate toward each other to a first position, corresponding connection rods (14a, 14b) or the swing arms (13a, 13b) drive the two support plates (12a, 12b) to rotate toward each other to a second position, so that the support plates (12a, 12b) and the primary shaft component encircle to form folded space that accommodates a flexible display of the mobile terminal.