A NewHierarchical Trusted ModelforWireless Sensor Networks