The speed with which popular protest swept aside long-lasting authoritarian regimes in Tunisia and then Egypt was enough to unnerve autocrats everywhere. In Asia they have watched the tide of heightened democratic aspiration wash across the Middle East and wondered how far it would go.

Even in China, the government, ostensibly so confident of the correctness of the path it has chosen, has been wary of the memories events in Cairo might evoke, and of the hopes it might rekindle.

The most complete Asian despotisms — Myanmar and North Korea — may feel immune to people power. They can rely on their isolation, and on the sheer ruthlessness of their repression.

In Central Asian autocracies, closer in geography, culture and religion to the Middle East, the resonance of the recent revolutions may yet be louder. But it is in China that domestic parallels with recent events, above all in Cairo, are on most people's minds.

Recollections of the Tiananmen protests were one reason China's censors at first worked so assiduously to curtail discussion of the unrest in Egypt.

The script was so familiar to those who had been in Beijing in 1989: the huge demonstrations; the mood of elated mass solidarity and rediscovered patriotism; the camping-out in the capital's main square; the slogans against corruption and arbitrary rule; the belief that the army had sided with the people; even the appearance of plain-clothes thugs in support of the regime. This time, however, the story had a happy ending, or at least a climactic, optimistic victory.

The Chinese press has indeed covered Hosni Mubarak's downfall prominently, while noting, in the words of one newspaper, that "Egypt has won a battle, but not the war". "Any political changes will be meaningless", argued the China Daily, "if the country falls prey to chaos in the end." Others, however, have drawn a different conclusion from the events that led to a revolution. An editorial on the website of Caixin, a media group, began: "Autocracy manufactures turbulence; democracy brews peace."

Satisfaction

China's own autocrats may feel, however, that for at least three reasons they can shrug off comparisons with Egypt and Tunisia. First is China's record of three decades of stunning economic growth. A survey by the Pew Research Centre last year suggested 87 per cent of Chinese were satisfied with "the way things were going" in their country.

Second, even if they were not, no obvious hate figure exists to blame: China's is a dictatorship of a party, not an individual. No long-serving despot is clinging tenaciously to power. In 2002 the Communist Party had its first-ever orderly leadership transition, and has promised another for 2012.

Third is the efficiency of its extensive internal-security apparatus and armed forces. They were ready to shoot protesters to quell unrest among ethnic Uighurs in Urumqi in Xinjiang in 2009. But even in 1989 the army did not prove wholly reliable — at least one general disobeyed orders to join the advance into Beijing.

A confident Communist Party would not have devoted so much effort to patrolling the internet to prevent surfers drawing parallels at home with events overseas.

Inflation, which raged in the late 1980s before the Tiananmen protests, is picking up again. The middle classes, often the locomotive of political change, are growing fast. Widespread graduate unemployment among their young is gnawing away at the hopes of those who should be the most optimistic about China's future. And every year sees tens of thousands of protests, many over land grabs by local authorities.

The latest people-power revolts pose two particular difficulties for China's ideologues. First, they cannot be blamed on the usual suspects, external ‘black hands' — typically American. Rather, they have been in part anti-American rebellions.

Second, the revolts have lacked both clear ideological aims and coherent organising parties. China's secret police are good at nipping political movements in the bud, but they might struggle to contain a microblog, text-message or social-network revolution.

Their efforts to filter news from the Middle East were only partially successful. That may be why they find the news is so unsettling — because the Chinese people might see it not as a recollection of a nightmarish past, but as a vision of a hopeful future.