The invention discloses a connecting mechanism which comprises right-angle-shaped connecting assemblies. The number of the right-angle-shaped connecting assemblies is a multiple of six. Every two adjacent right-angle-shaped connecting assemblies get close to each other in an end-to-end manner and are rotationally connected. When the connecting mechanism is in an initial state, all the right-angle-shaped connecting assemblies are connected and then form an L-shaped frame structure. B means of the connecting mechanism, the structure is simple, the structural strength is high, the concept is ingenious, changes are flexible and diverse, the manufacturing cost is low, the requirement for space is low, and good market prospects are achieved; the connecting mechanism can be applied to mechanical arms complex in movement, compared with a traditional manner of multiple movable shafts and rotating structures, a mechanical connecting manner is simplified, traditional movable assemblies are repeatedly used, material consumption is low, and actions are flexible and efficient; and meanwhile rotation of all the right-angle-shaped rotating assemblies is utilized, a foundation is laid for occasions having harsh requirements for space conditions, and in addition, applicability of the connecting mechanism is greatly improved.