China vows to maintain security on the Korean peninsula, as the South says another ballistic missile test by the North has failed.