The network topology of connecting things: Defence of IoT graph in the smart city