Japan and China have agreed to strengthen confidence-building measures in a security dialogue held for the first time in nearly two years.

During the meeting in Beijing on Monday involving senior diplomats and defense officials, both sides explained each other's security policies and "frankly" discussed major challenges facing the region and the rest of the world, the Japanese government said.

The government also said Japan asked China to make its security polices more transparent.