China and Pakistan strengthened bilateral strategic cooperation ties with the signing of new agreements in Beijing.