Disclosed is a layered time comparative
clock synchronized method in the
wireless sensor network, which belongs to the
wireless network technology field. The method comprises the following steps: step one, the network initialization is started, and the network is layered from a basic
station / a coordinator according to the
signal intensity and the device category; step two, the whole network is divided into outer
clock source synchronization and inner
clock source synchronization, the nodes are synchronized by adopting the
timestamp comparative method, and the upper-level nodes and the lower-level nodes respectively take the outer clock source synchronization and the inner clock source synchronization; step three, the
synchronizing cycle and the
clock drift parameter are regulated according to previous synchronization effects; step four, the old
timestamp is automatically discarded. Compared with prior art, the method can better correspond with the accuracy of the
wireless sensor
network time synchronization method, and has the advantages of low cost and
solidity.