Text this: Safety design of IoT operating system based on linear temporal logic