China: attacks possibly linked to terror groups