Patent ID: 7983207

Claim:
A routing method in a wireless sensor network environment, wherein said wireless sensor network environment comprises a plurality of mobile nodes, at least a gateway, and a management unit, and said routing method comprises: said management unit being aware of a relationship between a MAC address of said mobile node and an unique ID code and providing an unique ID code for each said mobile node, and maintaining a tree structure network topology and corresponding relationship between said MAC address and said unique ID code in a database, and transmitting an address distribution response message to said mobile node for downlink routing paths; after said mobile node receives said unique ID code, said mobile node broadcasting a beacon frame periodically to inform other nearby mobile nodes of the existence of said mobile node; each said mobile node maintaining a neighbor table for nearby nodes, randomly selecting a nearby node with a lower depth as a relay node, sending a packet to said relay node, and inserting said unique ID code of said mobile node into a header of said packet; and when said relay node receives said packet, randomly selecting a node closest to said management unit based on its said neighbor table, sending said packet to said closest node, and said packet being transmitted to said management unit through zero or a plurality of said relay nodes.