Notes on China from a Computer Scientist

Laura Edelson
Assistant Professor of Computer Science at Northeastern University

The goal of this project is to explain both how China has built such an effective system for controlling the flow of information on the internet and why its leaders are willing to go to such lengths to do so. I’m a computer scientist, so the technical side of this enterprise seemed relatively straightforward, but I initially found myself quite puzzled at the rationale behind China’s censorship as a whole. Like a lot of folks with degrees in the sciences, during college I was required to take exactly one history class (I chose Modern European History) and I knew little about China before beginning this project. However, as I learned more about the country’s political system and how the Chinese Communist Party (CCP) has held onto power, its approach to online censorship felt less perplexing.

Still, many of the CCP’s online and offline actions simply didn’t make sense to me at first. Why did the government expend so much effort stamping out pornography? Why did it censor archeological scholarship? Why would it ban a group like Falun Gong, whose members seemed only to be doing something that looked like yoga?

Working on this project led me to seek answers to these kinds of questions—both through my own reading on Chinese history and politics, and in conversation with my co-author, Jessica Batke. Eventually, China’s vast censorship system began to feel more coherent and easier to comprehend.

If I had such questions along the way, I assume many of my colleagues in the computer science field may find they have similar ones. Thus, what follows are some short notes on features of China’s politics and society that I found particularly useful as background knowledge to help understand why the system we call Locknet looks the way it does. —Laura Edelson

Chaos

Chinese officials and ordinary people who support or justify Party-state efforts to clamp down on activism or speech often refer to the fear the country’s leaders and many citizens harbor of chaos (luan). The concern is that if people can express themselves freely, extreme positions might find favor with the public and lead to widespread questioning of the status quo. Protests and conflict could ensue, causing social, political, and economic collapse—chaos.

The Chinese people did experience repeated political upheaval in the century before the Chinese Communist Party, under Mao Zedong, finally cemented its rule in 1949. In its waning years, the Qing, China’s last imperial dynasty, faced an almost uninterrupted succession of threats, which included the Taiping Rebellion (1850-1864), the Second Opium War (1856-1860), the First Sino-Japanese War (1894-1895), the Boxer Rebellion (1900-1901), and the 1911 Revolution. This last one brought down the Qing dynasty, ending more than 2,000 years of imperial rule in China. The following decades would see geographic fragmentation, the rise of warlords, invasion and colonization by Japan, and then civil war.

When the Communists finally took power, waves of political campaigns continued to roil the country. In the decade before Mao’s death, his Cultural Revolution unleashed a period of violence and terror still fresh in the minds of many people of Xi Jinping’s generation.
So when Party leaders ruthlessly suppressed student and worker protests in Tiananmen Square in 1989, there was an obvious narrative for the Party to adopt: The bloody crackdown was necessary because had the protests been allowed to go on unchecked, the country would once again slide into chaos.

Since then, the fear of chaos has been a powerful justification for the Party-state’s iron-fisted control of the internet, news media, religious organizations, and civil society actors (even if censorship has ensured that many young people don’t even know about the Tiananmen massacre). The narrative has proven wildly successful: Many ordinary Chinese people who might want unfettered access to the global internet, open news media, and the freedom to choose their own religion and way of life cite the fear of chaos as a legitimate reason for the government to maintain its monopoly on information.

Why Are China’s Leaders Afraid of Large Public Gatherings?

Chinese Communist Party leaders have little tolerance for large-scale public gatherings that the government does not control. Part of this undoubtedly owes to their Marxist-Leninist orientation. Part may derive from earlier homegrown Chinese political thought emphasizing the benefits of social hierarchies, orthodoxy, and respect for rulers. And part might come from a view of China’s history in which, over millennia—as elsewhere in the world—monarchs and emperors were often toppled by popular rebellions led by dissatisfied subjects who came to view their rulers’ dominion over them as illegitimate. China’s leaders are highly attuned to anything that threatens their legitimacy, or their power and the spoils that come with it.

China’s leaders may also simply believe protests endanger society. Like Xi Jinping himself, they may have come of age during the tumultuous and traumatic decade of the Cultural Revolution when mass demonstrations instigated by Mao took on a violent life of their own, ransacking institutions and norms, tearing at the social fabric with tragic and often deadly consequences.

Instigating or organizing “illegal gatherings, protests, or demonstrations” is punishable by 10-15 days of detention. However, thousands of people across China stage protests every year, over issues both large and small. Authorities take actions to repress nearly a third of these demonstrations, according to research done by Freedom House in 2024. When members of the spiritual group Falun Gong appeared en masse, peacefully protesting outside the Zhongnanhai leadership compound in Beijing in 1999, the crackdown came swift and hard. Still, the threat of official repercussions does not deter people, who continue to speak out against economic injustices, government wrongdoing, and many other issues. In 2022, amid COVID lockdowns, the largest protests in decades swept across major Chinese cities. People filled the streets holding blank sheets of paper to symbolize all of the critiques of the country’s leaders that they could not openly write or speak, in what would come to be called the “White Paper Protests.” The powerful show of force brought about predictable detentions and punishments, but also soon after, a major turnaround in the country’s response to COVID.

The Chinese Communist Party

No political party in any one country has ever maintained ruling authority for longer than the Chinese Communist Party. The CCP is the world’s largest political party, with over 99 million members. It is woven into and directs the functions of the state in a much deeper way than political parties do in many democracies.

Xi Jinping is the General Secretary of the CCP, in addition to serving as President of China and Chairman of the Central Military Commission. China’s military, the People’s Liberation Army, is an arm of the CCP, not of the government of China, and reports up through Party channels. Political scientists thus frequently refer to China’s form of government as a “Party-state,” where the organs, processes, and personnel of the Party dominate the functions of the state, even as each has its own set of bureaucratic structures. While the Party has always directed government organs, Xi Jinping has amplified its control of areas of government in which technocrats had more autonomy under previous leaders.

Most Chinese government jobs, especially at higher levels, require CCP membership. Moreover, Party membership also confers status and privilege in many professional spheres. Generally, members do not play an active role in Party governance, but the CCP may occasionally require them to participate in education programs. All Party members are subject to Party discipline, which means they can be punished/demoted/purged for publicly diverging from Party policy.

Socialism with Chinese Characteristics

The Chinese Communist Party may be China’s ruling party, but thinking of China as a purely Communist country does not result in a full or accurate picture of the Party’s ideology or how it is practiced. In particular, China’s blend of communist propaganda with some aspects of market economics might seem awkward or contradictory to outsiders. In fact, the Party’s own moniker for its ideology, “socialism with Chinese characteristics,” blends together a variety of different philosophies and traditions, including Marxist-Lenism, Mao Zedong thought, and Confucianism. These can be emphasized and deployed to fit the Party’s needs at any given moment.

After the death of Mao Zedong in 1976, China’s leadership began to abandon some of the country’s more traditionally Marxist policies—such as collectivization of land and the banning of private enterprise—that Mao had imposed during the three and a half decades following the founding of the People’s Republic of China in 1949.

In the 1980s, China’s next “paramount leader,” Deng Xiaoping, known for emphasizing pragmatism rather than ideological purity, used the term “socialism with Chinese characteristics” to describe an ideological framework that allowed the Party to run a market economy, combining state-owned enterprises with private businesses while maintaining absolute political control.

The Marxist theoretical justification for this is that China is in the “primary stage of socialism,” a transitional period where capitalist methods can be used to develop the productive forces necessary for eventual full socialism.

This model has allowed China to maintain political continuity while achieving rapid economic growth since the 1980s. In 2025, Xi Jinping continues to invoke the phrase, using it in his own signature contribution to CCP ideology, “Xi Jinping Thought on Socialism with Chinese Characteristics for a New Era.”

Core Socialist Values

Drawing on traditions from both imperial China and Marxist-Leninism, China’s current leaders seek to define morality for the country’s citizens.

At the Chinese Communist Party’s National Congress in 2012, the year it was announced that Xi Jinping would replace Hu Jintao as General Secretary, the Party also launched a campaign to promote what it called “core socialist values,” a set of 12 officially approved virtues for citizens to live by, broken out by category: national, social, and individual.

National values were listed first in an official announcement of the campaign in 2013—with “prosperity” taking pride of place—while individual values brought up the rear. “Freedom” was categorized as a social value, appearing to emphasize its status as something to be forged collectively rather than aspired to individually.

National Values

  • Prosperity
  • Democracy (which, when used by China’s leadership means something very different from how it is defined in liberal democracies)
  • Civility
  • Harmony

Social Values

  • Freedom
  • Equality
  • Justice
  • Rule of law

Individual Values

  • Patriotism
  • Dedication
  • Integrity
  • Friendliness

Ever since 2012, the core socialist values have been heavily promoted on billboards, and integrated into school curricula and government policy frameworks. The visual language of the propaganda campaigns has used motifs and design themes based on traditional Chinese culture, and gone alongside government efforts to instill pride in Chinese culture, revive aspects of Confucianism, and stamp out “historical nihilism,” which is Party speak for negative views of the Party’s history.

Why Does the Party-State Need Moral Authority?

The Chinese Communist Party aspires to define what is morally good and bad for China’s citizens.

When the Chinese Communist Party came to power after winning a civil war against the Nationalists in 1949, it began a project to remake Chinese culture and society in accordance with its ideology, to build what its leaders called “the new China.” As is often the case in revolutionary contexts, this meant destroying and outlawing institutions, customs, and belief systems that had shaped society in the past, in “the old China.” This process swept up traditional belief systems, including Confucianism, Buddhism, and Taoism, various forms of folk religion, Christianity, which had proliferated in the centuries following its introduction by Jesuits in the 17th century, among many other sources of values and morality. During the Cultural Revolution, a campaign against the “four olds” (old ideas, old customs, old culture, old habits) led to a frenzied campaign of destruction of temples, works of art, books, music, and many human lives.

In their place, the institutions and pieties of Maoism formed a kind of state religion, complemented by a cult of personality around Mao himself.

After Mao’s death and in the period of Reform and Opening, new beliefs (and some old ones) began to emerge. Libraries at newly reopened universities stocked volumes of Western philosophy, economic theory, and literature. But with this liberalization came worries about what might fill what was often referred to as the “moral vacuum” that had been left after Maoist orthodoxy had been somewhat abandoned. The Party still endeavors to lead and shape norms and behavior from above, a paternalistic stance that has roots in both Marxist-Leninism and traditional Chinese thought.

The effort to retain ultimate moral authority can also explain why the Party-state permits just five approved religions within China, and then only under government supervision, and why it has increased restrictions on foreign NGOs and their counterparts in Chinese civil society.

How Does the Party Justify its Rule?

The Chinese Communist Party has always claimed to represent “the People.” Its military arm is called the People’s Liberation Army, and after the Communists formally took power in 1949, China’s official name was changed to the People’s Republic of China. But there are few ways for ordinary people to participate in China’s governance and political process, unless they join the Communist Party. There are no popular elections for the most powerful offices (like the Presidency), the primacy of the Communist Party is written into the constitution, and there are few ways for citizens to hold the government accountable.

Many people alive today have endured disasters caused by policies and campaigns of the Party-state. The 1958-1962 Great Leap Forward caused one of the world’s deadliest famines with estimated death tolls of between 15 million and 55 million. During the Cultural Revolution, the economy ground to a halt, universities were shuttered, tens of millions of innocent people were persecuted, and between 500,00 to 2 million people were killed. In 1989, the People’s Liberation Army gunned down thousands of unarmed civilians who had been protesting for democratization in Tiananmen Square.

Yet the Party has managed to stay in power. One reason is that dissent is assiduously suppressed. Another important factor is “performance legitimacy,” that is the idea that leaders deserve to rule as long as they are effectively providing public goods and meeting the needs of the people they govern. Over the past four decades, China has experienced a spectacular increase in the average standard of living. The economy has grown at an astounding pace and the country’s influence in global affairs has soared. China’s population has watched farmland sprout skyscrapers, Chinese athletes pile up mountains of Olympic medals, high-speed trains criss-cross the country. The Party-state trumpets these kinds of achievements, while railing against anything it claims could disrupt the country’s march toward growing strength and wealth. It also works hard to suppress news of instances where official performance has been less than stellar.

What is Document 9?

Though the Party is famously opaque, sometimes outsiders are able to pierce the veil and catch glimpses of the ideological framework that shapes its governance. Shortly after Xi Jinping came to power in 2013, the Chinese Communist Party circulated Document 9, or as it later came to be known, the “Seven Don’t Speaks.” This internal communique provided a window into the Party’s preoccupations, urging cadres to guard against seven “false ideological trends”:

  1. “Promoting Western constitutional democracy”
  2. “Promoting ‘universal values,’” such as “freedom, democracy, and human rights”
  3. “Promoting civil society”
  4. “Promoting neoliberalism,” such as “complete privatization”
  5. “Promoting the West’s idea of journalism, challenging China’s principle that the media and publishing system should be subject to Party discipline,” rather than “freedom of the press”
  6. “Promoting historical nihilism,” such as “claiming that the revolution led by the Chinese Communist Party resulted only in destruction; denying the historical inevitability in China’s choice of the Socialist road, calling it the wrong path”
  7. “Questioning Reform and Opening and the socialist nature of socialism with Chinese characteristics.”

The document warned that such “mistaken views and ideas” often made their way into China via cyberspace: “They penetrate China through the Internet and underground channels and they are disseminated on domestic Internet forums, blogs, and microblogs,” the communique explained. “If we allow any of these ideas to spread, they will disturb people’s existing consensus on important issues like which flag to raise, which road to take, which goals to pursue, etc., and this will disrupt our nation’s stable progress on reform and development.”

Document 9 has proven to be an ideological roadmap for Xi Jinping’s decade-plus rule. Xi has overseen a clampdown on the press, civil society, academia, and entrepreneurs, eliminating spaces for heterodoxy.

How Does China’s Government Control Private Companies?

China’s government has many ways beyond law or coercion to encourage or compel compliance with its demands. Many major companies in China are state-owned enterprises. However, the Chinese government has strategic investments even in many non-state-owned companies. Such investments, colloquially known as “golden shares,” come with more corporate governance rights (in the form of board seats and other lines of communication) than those available to other investors. Golden shares give the Party-state a formal line of authority in the affairs of corporations.

Yet, the CCP has a means of exerting influence even in firms without golden shares: Party cells. Large companies are required to house official CCP cells, populated by employees who are Party members and are tasked with acting as liaisons between the company and the Party. Even many foreign companies must also establish Party cells when they set up shop in China.

Law Constrains the People, Not the Government

Many people living in liberal democracies assume that, no matter the party or individuals in control of the government, law can serve as a backstop against unjust treatment at the hands of authorities. This assumption doesn’t hold in China.

China does not have an independent judiciary. Mechanisms that provide checks and balances are highly limited. Legal avenues for citizens seeking redress for government abuse tend to be narrow, and it is virtually impossible for ordinary people to use the law to challenge senior Chinese leaders.

Party leaders clearly know that their unchecked rule has created its own set of governance problems and have made selective efforts to strengthen the rule of law, some far more robust than others.

But, as Chinese political scientists Zheng Yongnian and Shan Wei have written,

. . . the Chinese concept of the “rule of law” is unlike that of the West. . . [which] was developed in the context of Western liberalism as a means to restrain the arbitrary actions of power-holders. The key point is that there should be no individuals or political organisations above the law.

In Chinese official discourse, the ‘rule of law’ is often used interchangeably with the “rule by law” or “ruling the country according to law” (yifa zhiguo). In this sense, law is, “Conceived and operates as an instrument with which to uphold the Socialist political order and perpetuate Party domination” and is, “Used to carry out and consolidate institutional, primarily economic, changes according to predetermined policy.”

Why Is China Open About its Censorship?

China’s leaders do not hide that they conduct online surveillance and censorship. They have established an entire bureaucracy and promulgated many regulations devoted to internet censorship, all of which are well-known in China. This remains true even though they often conceal the individual instances of censorship through the use of covert censorship tactics.

The government’s commitment to censorship is so overt that in 2006 one city even created cartoon mascots for their censorship efforts: The internet police in the southern city of Shenzhen debuted Jingjing and Chacha, named for the characters that make up the word jingcha (警察), police. These two served as the friendly faces of the city’s internet police, which were responsible for maintaining a “healthy” online environment. They exemplified China’s effort to get its citizens to self-censor, sometimes in very blatant ways, by reminding them that the government was always watching their online activities.

Though they have ditched the cutesy mascots, authorities have found other ways to communicate to citizens that their online activities are under surveillance, including periodic announcements of punishments levied against both individuals and corporations.

Being Invited to Tea

In the late 1990s, as state media organizations were losing government subsidies and forced to make products that were appealing to viewers and readers, some Chinese news media organizations began to push against strict censorship and publish investigative stories. During the next decade, the internet was adding millions and then tens of millions of new users every year. In 2003, blogging took off, and some journalists began publishing even more daring work on their own blogs. They were joined by ordinary people, some of whom began to identify as “citizen journalists.”

The authorities soon realized that they had a problem, as Party malfeasance, bad governance, corruption, and other social problems began to be exposed by journalists, legal activists, NGO workers, and bloggers. The police and secret police (officers from the Ministry of State Security) started using one of their frequent strategies for trouble-makers: inviting them to tea for a chat, at a local police station or sometimes at restaurants or other public venues.

Journalists, writers, and a broad range of people whose work the government might take issue with can be invited to these “tea drinking sessions.” What happens during them varies widely, depending on the identity of the offender, the nature of the offense, and the political exigencies of the moment (i.e., sometimes the authorities decide they need to make a political point and deal out harsh consequences for relatively minor offenses). There may not be any tea. But the person “invited to tea” is left with no doubt that they are under scrutiny, and that things could get very much worse if they do not heed the message.

In 2024, the Ministry of State Security even published a guide to “10 cups of tea,” a list of of 10 vaguely worded misdeeds that could result in offenders’ being invited to tea:

  • Endangering national security
  • Committing or assisting espionage
  • Failing to take precautions against espionage
  • Violating the terms of construction project permits involving national security matters
  • Refusing to cooperate in an espionage investigation
  • Illegally acquiring or holding state secrets
  • Illegally producing, selling, holding, or using espionage devices
  • Leaking state secrets related to counter-espionage and intelligence works
  • Violating deportation orders
  • Committing acts endangering national security other than espionage.

The Media’s “Surname Is the Party”

China’s Party-state has always maintained control over the news media. The commercialization of news outlets and rise of the internet, however, threatened the Party’s hold on one centralized narrative.
After Xi Jinping took power, he reasserted the Party’s dominance over the news media, including online news media. When Xi visited the official Xinhua News Agency, People’s Daily, and the state-owned nationwide broadcaster CCTV in 2016, the TV station put up a sign that read “CCTV’s surname is ‘The Party.’” At a symposium later that day, Xi gave a speech in which he said that “The fundamental issue of the Party’s media work is to strictly adhere to the Party’s leadership,” and that, “All news media run by the Party must work to speak for the Party’s will and its propositions and protect the Party’s authority and unity. They should enhance their awareness to align their ideology, political thinking and deeds to those of the CPC Central Committee and help fashion the Party’s theories and policies into conscious action by the general public while providing spiritual enrichment to the people.”

Xi’s insistence on tight control of the major national media and news organization has been matched by a crackdown on independent and critical media, and on social media, which despite strict censorship was quite lively from the late 1990s until Xi came to power in 2012.

When (And Why) Are China’s Leaders Willing to Accept Economic Pain to Enforce China’s Information Regime?

Given that the growing prosperity of China’s citizens remains a key source of the CCP’s popular legitimacy, Party leaders would seem to have an incentive to limit the information control system’s negative effects on the country’s economy. Blocking flows of information or money that occur online between Chinese business people, scholars, and online sales companies and their counterparts or customers in other countries could jeopardize the country’s economic growth.
And yet, China’s leaders have demonstrated a willingness to shut down online exchanges, even if they are economically beneficial, in response to perceived threats. This suggests a willingness to sometimes put political considerations before economic considerations.

The Chinese government could theoretically sever its internet entirely from the larger global network, making it nearly impossible for undesirable foreign information to make it into the country. Yet doing so would also cut off Chinese businesses from foreign markets and likely provoke a widespread outcry. There has only been one time that leaders have proven willing to impose this kind of internet shutdown on a large scale: In 2009, after days of bloody confrontation between ethnic Uyghur and Han citizens on the streets of Urumqi, the government cut off the entire Xinjiang Uyghur Autonomous Region from any online services other than those provided by regional authorities—and maintained the blockade for 10 months. Most other censorship measures the government employs are less heavy-handed and more flexible, and better able to balance the trade-offs between economic and political dangers.