A method for implementing timeslot synchronization, applied to an Optical Burst Transport Network OBTN, comprising: performing, by a master node, timeslot synchronization training of the OBTN according to a timeslot length of the OBTN; before performing, by the master node, timeslot synchronization training of the OBTN according to the timeslot length of the OBTN, the method further comprising: performing, by the master node, path detection on the OBTN to acquire a network topology structure by: respectively sending, by the master node, a first testing control frame containing node information of the master node to all slave nodes or proxy master nodes connected with the master node; after the first testing control frame is received, adding, by the slave nodes or the proxy master nodes, node information of the slave nodes or the proxy master nodes into the first testing control frame to form a path, and sending a first testing control frame added with the node information of the slave nodes or the proxy master nodes to other nodes connected with the slave nodes or the proxy master nodes after a fixed time delay; and after all first testing control frames are received, integrating, by the master node, paths in all first testing control frames to acquire the network topology structure; and selecting, by the master node, a core path from the acquired network topology structure, detecting a length of the core path or detecting a length of the core path and a length of a non-core path, and calculating the timeslot length according to the detected length, wherein the core path refers to a ring network or a chain network in which the master node is located. performing, by a master node, timeslot synchronization training of the OBTN according to a timeslot length of the OBTN; before performing, by the master node, timeslot synchronization training of the OBTN according to the timeslot length of the OBTN, the method further comprising: performing, by the master node, path detection on the OBTN to acquire a network topology structure by: respectively sending, by the master node, a first testing control frame containing node information of the master node to all slave nodes or proxy master nodes connected with the master node; after the first testing control frame is received, adding, by the slave nodes or the proxy master nodes, node information of the slave nodes or the proxy master nodes into the first testing control frame to form a path, and sending a first testing control frame added with the node information of the slave nodes or the proxy master nodes to other nodes connected with the slave nodes or the proxy master nodes after a fixed time delay; and after all first testing control frames are received, integrating, by the master node, paths in all first testing control frames to acquire the network topology structure; and selecting, by the master node, a core path from the acquired network topology structure, detecting a length of the core path or detecting a length of the core path and a length of a non-core path, and calculating the timeslot length according to the detected length, wherein the core path refers to a ring network or a chain network in which the master node is located. performing, by the master node, path detection on the OBTN to acquire a network topology structure by: respectively sending, by the master node, a first testing control frame containing node information of the master node to all slave nodes or proxy master nodes connected with the master node; after the first testing control frame is received, adding, by the slave nodes or the proxy master nodes, node information of the slave nodes or the proxy master nodes into the first testing control frame to form a path, and sending a first testing control frame added with the node information of the slave nodes or the proxy master nodes to other nodes connected with the slave nodes or the proxy master nodes after a fixed time delay; and after all first testing control frames are received, integrating, by the master node, paths in all first testing control frames to acquire the network topology structure; and respectively sending, by the master node, a first testing control frame containing node information of the master node to all slave nodes or proxy master nodes connected with the master node; after the first testing control frame is received, adding, by the slave nodes or the proxy master nodes, node information of the slave nodes or the proxy master nodes into the first testing control frame to form a path, and sending a first testing control frame added with the node information of the slave nodes or the proxy master nodes to other nodes connected with the slave nodes or the proxy master nodes after a fixed time delay; and after all first testing control frames are received, integrating, by the master node, paths in all first testing control frames to acquire the network topology structure; and selecting, by the master node, a core path from the acquired network topology structure, detecting a length of the core path or detecting a length of the core path and a length of a non-core path, and calculating the timeslot length according to the detected length, wherein the core path refers to a ring network or a chain network in which the master node is located.