By flexibly grouping and using sensor nodes to achieve maximum multiplexing of sensor resources, the flexibility and scalability of sensor networks can be achieved simultaneously. The virtual sensor network (Virtual Sensor Networks, VSN) is used to solve the multiplexing problem of the underlying physical equipment of the sensor network. This solution can save part of the cost and realize the reuse of underlying physical resources.