Wireless sensor systems are primarily used for monitoring natural environments or industrial automation. The physical environment where these systems are installed is often unstable, making it difficult to replenish sensor energy immediately. Complex and harsh conditions can impact the network's structure, affecting monitoring performance. Wireless sensor systems consist of hundreds of sensors that collect data from hazardous environments and transmit information to a central system. However, due to the system's physical structure, information delays or losses may occur. This paper proposes a distance-based tree structure to address these issues in wireless sensor systems, and experimental results confirm its superior performance.