China and a grouping of Southeast Asian nations aim to finish by the middle of next year a framework for a code of conduct to ease tension in the disputed South China Sea, state media said on Wednesday.

Since 2010, China and the 10 members of the Association of Southeast Asian Nations (ASEAN) have been discussing a set of rules aimed at avoiding conflict among rival claimants in the busy waterway.

Last month, an arbitration court in the Hague ruled that China had no historic title over the South China Sea and had breached the Philippines' sovereign rights there. The decision infuriated Beijing, which dismissed the court's authority.