The US and China have agreed to hold regular, high-level talks on how to set standards of behaviour for cybersecurity and commercial espionage, the first diplomatic effort to defuse the tensions over what the US says is a daily barrage of computer break-ins and theft of corporate and government secrets.

The talks will begin in July. Next Friday, President Obama and President Xi Jinping of China, who took office this spring, are scheduled to hold an unusual, informal summit meeting in Rancho Mirage, California, that could set the tone for their relationship and help them confront chronic tensions like the nuclear threat from North Korea.

American officials say they do not expect the process to immediately yield a significant reduction in the daily intrusions from China. The head of the US cyber command and director of the National Security Agency, Gen. Keith B. Alexander, has said the attacks have resulted in the ?greatest transfer of wealth in history.? Hackers have stolen secrets including negotiating strategies and schematics for next-generation fighter jets and gas pipeline control systems.

Nonetheless, a senior American official involved in the negotiations to hold regular meetings said in an interview on Friday that ?we need to get some norms and rules.?

?It is a serious issue that cannot simply be swatted away with talking points,? said the official, who noted that the meetings would focus primarily on the theft of intellectual property from American companies. ?Our concerns are not limited to that, but that?s what needs urgent attention,? he added.

The Chinese government has insisted it is a victim of cyberattacks, not a perpetrator, and Chinese officials have vigorously denied the extensive evidence gathered by the Pentagon and private security experts that a unit of the People?s Liberation Army, Unit 61398 outside Shanghai, is behind many of the most sophisticated attacks on the US.

On Saturday, after defence secretary Chuck Hagel spoke of a ?growing threat of cyberintrusions? at a conference in Singapore, in comments directed at China, a Chinese general gave a tart response saying she doubted the US?s assurances that its growing military presence in Asia was not directed at China.

While cyberattacks will be a major subject of the talks in Rancho Mirage, at an estate that belonged to Walter Annenberg, the main effort will be to forge a rapport between Mr Obama and Mr Xi. American officials hope the estate, known as Sunnylands, which has played host to American presidents and foreign dignitaries dating to Richard M. Nixon, will put both men at ease.

American officials said they have been surprised by the pace at which Mr Xi, a longtime party functionary who consolidated his grip on power in March, has installed new faces in the Chinese leadership and moved to take greater control over the military, something his predecessor, Hu Jintao, never mastered.

Another main issue at the meeting will be North Korea. American officials, emerging from talks with Mr Xi and his team, believe that the new Chinese leader has less patience for North Korea and little of the sentimental attachment to its leaders that his predecessors had.

?What?s interesting here is the dog that isn?t barking,? the American official said. The Chinese, he noted, are not urging all sides to resume talks until the North Koreans agree that the objective is removing all nuclear weapons from the Korean Peninsula. ?We?re not hearing the soothing mantra of restraint,? he said.

The Chinese have also taken public steps to confront North Korea, like ordering the Bank of China to stop dealing with North Korea?s largest foreign-exchange bank.

?They?re much more open to causing pain to North Korea,? said Jeffrey A. Bader, a top China adviser to Mr Obama until 2011.

Still, during the latest round of the Korea crisis this spring, Kim Jong-un, the young and largely untested new North Korean leader, made it clear that he had no intention of ever giving up his small arsenal.

Cybersecurity issues loom large between the US and China because they go to the heart of the economic relationship between the two countries, even more so now that previous sources of friction, like China?s foreign exchange policies, have eased in the last year.

Chinese academics and industrialists say that if China is to maintain its economic growth rate of 7% or 8%, it needs a steady inflow of new technology. That could make the Chinese reluctant to cut back on the systematic theft of intellectual property.

In return, the Chinese will press the Americans on their use of cyberweapons: while there is no evidence that they have been used against Chinese targets, the sophisticated cyberattacks on Iran?s nuclear program by the US and Israel are often cited by the Chinese news media and military journals as evidence that Washington, too, uses cyberspace for strategic advantage.

The talks over hacking will start as part of the strategic and economic dialogue, an annual meeting of Chinese and US officials on a range of issues. But a new working group is being organised on the subject that will meet more frequently, officials say.