← Back to News

A Guide to Data Security Law Compliance: A Full Analysis of the Xinchuang Path for Government AI Systems

As the Data Security Law marks its fifth anniversary in force, xinchuang (domestic IT innovation) has moved from policy advocacy to mandatory implementation, and government AI systems built for digital government now face a dual hard constraint of "compliance plus domestic substitution." This article systematically reviews the core provisions of the Data Security Law, the compliance risk points of government AI, and the pathway to xinchuang adaptation, and offers an actionable implementation checklist — in one sentence: government AI must adopt a three-in-one model of "security compliance as the bottom line, xinchuang substitution as the path, and data governance as the foundation."

I. Policy Context: How the Data Security Law Is Redefining the Compliance Baseline for Government AI

The Data Security Law of the People's Republic of China took effect on September 1, 2021, marking the elevation of data security to the level of a national strategy. By 2026, as the supporting rules of the Regulations on the Administration of Network Data Security continue to take effect and the data classification and grading protection system is rolled out in full, government AI systems have moved beyond the question of "whether to build" and entered a stock-governance phase defined by "whether it is compliant."

The biggest difference between government AI and traditional IT systems is this: model training and inference require large-scale government data, and government data is precisely where the "important data" and "core data" subject to the strictest oversight under the Data Security Law are concentrated. Once sensitive data such as population, household registration, real estate, and public credit records enters an AI training pipeline, every stage — collection, storage, use, sharing, and cross-border transfer — is subject to strict legal constraints. For government departments at all levels, compliance is no longer paperwork filed away by the legal department, but a hard precondition running through the entire lifecycle of AI projects, from initiation and tendering to acceptance.

Source: Article 32 of the Data Security Law of the People's Republic of China (effective September 1, 2021): Any organization or individual collecting data shall do so in a lawful and legitimate manner, and shall not obtain data by theft or other illegal means; where laws or administrative regulations prescribe the purpose and scope for collecting and using data, data shall be collected and used within the purpose and scope prescribed by such laws and administrative regulations.

II. Provision-by-Provision Analysis: Five Compliance Thresholds Government AI Must Cross

Mapping the provisions of the Data Security Law onto the lifecycle of government AI systems yields five compliance thresholds that must be crossed:

Compliance thresholdLegal basisRequirements for government AI deployment
Data classification and gradingArticle 21 of the Data Security LawEstablish a government data catalog, distinguish general, important, and core data, and grant tiered authorization for AI training corpora
Data security reviewArticle 24 of the Data Security LawAI data activities involving national security must pass a national security review
Cross-border data transfer managementArticle 36 of the Data Security LawGovernment data is in principle prohibited from being transferred abroad; large model training must be deployed locally
Data security assessmentArticle 30 of the Data Security LawProcessors of important data must conduct regular risk assessments and submit reports
Emergency response plans and handlingArticle 29 of the Data Security LawEstablish an emergency response mechanism for data security incidents, with AI systems incorporated into the monitoring and early-warning system

Among these five thresholds, the one with the deepest impact on government AI is "cross-border data transfer management." Virtually all government data falls into the category of prohibited or strictly restricted cross-border transfer, which directly determines that government large models must follow a localized, private deployment path — and this is also the logical starting point that makes the xinchuang path viable. In practice, a provincial government cloud platform consolidated all large model inference into a local xinchuang computing power cluster, eliminating cross-border data transfer risk at the source while satisfying national security review and classified protection requirements, and the project passed acceptance smoothly.

Source: Article 36 of the Data Security Law of the People's Republic of China: The security management of outbound transfer of important data collected and generated by operators of critical information infrastructure in the course of their operations within the territory of the People's Republic of China shall be governed by the provisions of the Cybersecurity Law of the People's Republic of China; measures for the security management of outbound transfer of important data collected and generated by other data processors in the course of their operations within the territory of the People's Republic of China shall be formulated by the national cyberspace administration in conjunction with the relevant departments of the State Council.

III. The Xinchuang Path: A Localization Implementation Methodology from "Usable" to "Good to Use"

The essence of xinchuang is to build an independent and controllable technology stack across four layers: "chips — operating systems — databases and middleware — application software." Landing government AI systems on xinchuang requires completing adaptation and validation layer by layer across all four:

Technology layerTypical domestic optionsKey AI adaptation points
Chips and computeDomestic AI chips such as Ascend, Cambricon and HygonOperator library adaptation, mixed-precision training optimization, domestic inference engines
Operating systemsDomestic operating systems such as Kylin and UnionTech UOSContainer runtime compatibility, driver and firmware adaptation validation
Databases and middlewareDameng, Kingbase, TongTech and othersDomestic vector databases, compatibility re-engineering of the data access layer
AI frameworks and applicationsMindSpore, PaddlePaddleModel migration, distributed training scheduling, inference service encapsulation

The adaptation path typically proceeds in three steps. The first is "migration validation," running the model on domestic compute to pass precision alignment tests. The second is "performance tuning," using operator fusion alongside quantization and compression to bring inference latency back within the range the business can tolerate. The third is "full-stack replacement," completing the replacement of operating systems, databases, middleware and AI frameworks as a whole, and passing the Multi-Level Protection Scheme (MLPS) assessment and the commercial cryptography application security assessment to form a complete closed loop.

At the level of compute scheduling and task orchestration, the Santi Network T3N7 intelligent scheduling engine can take on heterogeneous compute orchestration for government AI clusters. When model inference tasks from multiple government departments and agencies share a single xinchuang compute pool, the engine automatically allocates compute slices according to task priority and data classification level, ensuring that tasks involving highly classified data run in dedicated isolated environments — balancing compliance isolation against resource utilization.

IV. Impact Analysis: Compliance Practices in Digital Government and Smart Public Security Scenarios

Compliance requirements are not abstract clauses; ultimately they must be grounded in concrete scenarios. Digital government and smart public security are the two scenarios where government AI is deployed most intensively, and their compliance practices are also the most representative.

In digital government scenarios, applications such as government Q&A, intelligent approvals and precision policy delivery make extensive use of public data. After a certain city's "one-stop" online government service platform introduced a large model, it embedded data classification and grading results directly into AI access control: sensitive fields are automatically masked before model input, and model output is released only after passing through a content review gate. The entire chain runs as a closed loop within the xinchuang environment, and not a single data security incident has occurred since launch.

In smart public security scenarios, applications such as facial recognition, trajectory analysis and early-warning assessment involve citizens' personal information and important data. Public security systems generally follow the "minimum necessity" principle: data never leaves the public security private network, models are trained and run inference within that private network, training corpora are de-identified and graded and annotated before being stored, and the entire usage process is traceable and auditable — satisfying the dual constraints of the Data Security Law and the Personal Information Protection Law.

The common lesson from these two scenarios is this: compliance is not an add-on to an AI project but the first input to architectural design. Wherever compliance mechanisms are built into the architecture in advance, the later remediation cost tends to be an order of magnitude lower than for projects that "go live first and catch up later."

V. Trend Outlook: Three Directions in the Evolution of Government AI Compliance, 2026—2028

Looking ahead to the next three years, government AI compliance will continue to deepen along three directions:

First, data classification and grading are moving toward automation. As standards such as the Data Classification and Grading Rules are progressively implemented, AI-assisted automated data classification and grading tools will enter government environments on a large scale, significantly reducing manual labeling costs and upgrading the timeliness of classification and grading from "annual inventory" to "real-time labeling."

Second, security evaluation of large models is becoming routine. Government large models must pass security evaluations before going live, covering dimensions such as ideological security, hallucination control, jailbreak protection, and privacy leakage. Evaluation results will gradually become a rigid threshold in government procurement and project acceptance.

Third, integrated compliance operations platforms are emerging. By integrating classification and grading, risk assessment, outbound data management, emergency response plans, and classified protection evaluation into a continuously operated compliance platform, and linking it with underlying scheduling infrastructure such as Santi Network's T3N7 intelligent scheduling engine, "compliance as operations" is achieved—allowing security policies to take effect automatically as data flows, rather than being remedied after the fact. For government departments at all levels, establishing a compliance system that integrates "institutions + technology + operations" as early as possible will put them in an advantageous position during the deepening cycle of xinchuang (domestic IT innovation) over the next three years.

Frequently Asked Questions

Q1: Must government AI systems deploy large models on-premises? How can outbound data transfer be made compliant?

Yes. In principle, government data is prohibited from being transferred abroad. Under Article 36 of the Data Security Law, important data collected or generated by operators of critical information infrastructure in the course of domestic operations shall be stored within China; where it truly needs to be provided abroad, a security assessment must be conducted in accordance with the measures formulated by the national cyberspace administration together with the relevant departments of the State Council. The sensitive data involved in government AI — population, household registration, real estate and the like — all falls within the scope of prohibited or strictly restricted outbound transfer; therefore, government large models must be deployed locally and privately. Where external large model capabilities truly need to be invoked, this may only be done via API, sensitive data must not be uploaded, and clauses on data processing and security responsibilities must be specified in the service contract; where necessary, a security assessment for outbound data transfer must be completed first.

Q2: What should be done when large model inference performance degrades in a xinchuang environment?

Degraded inference performance in a xinchuang environment is a common problem, mainly stemming from gaps in the maturity of domestic chip ecosystems and the coverage of operator libraries. Countermeasures include: first, operator fusion and graph optimization, merging multiple fine-grained operators to reduce kernel launch overhead; second, quantization and compression, quantizing the model from FP16 to INT8 or even lower precision, which typically increases inference throughput by 2–4x; third, distributed inference and dynamic batching optimization to improve compute utilization; fourth, giving priority to inference frameworks that are deeply adapted to domestic chips, such as MindSpore and PaddlePaddle. In addition, heterogeneous compute orchestration tools can be used to schedule tasks into pools by data classification level, preventing high-priority tasks from being blocked by long-tail tasks. Taken together, these measures can narrow the performance gap to an acceptable range.

Q3: What specific requirements does the Data Security Law set out for data classification and grading in government AI?

Article 21 of the Data Security Law establishes the data classification and grading system, requiring all regions and departments to apply classified and graded protection to data according to its importance to economic and social development and the harm caused if it is tampered with, destroyed, leaked, or illegally obtained or used. The accompanying Data Classification and Grading Rules of 2026 further refine this: government data is generally divided into three levels — general data, important data and core data; AI training corpora must be labeled with their data level; and the use of important data and core data must be authorized and approved with a full audit trail. Applied to government AI, this means establishing a data asset catalog that specifies the source, level, scope of use and flow path of each category of corpus, and reviewing and updating it regularly to ensure that the grading results remain consistent with actual use.

Q4: Who should conduct the compliance assessment for a government AI project? What is the process?

Compliance assessment consists of three layers: "external supervision + internal self-inspection + third-party evaluation." At the external level, AI systems involving important data must undergo oversight and inspection by cyberspace administration, public security and other departments, and critical systems must pass classified protection evaluation and commercial cryptography application security assessment. At the internal level, the constructing organization should appoint a data security management officer and a dedicated team to carry out regular risk assessments and produce reports. At the third-party level, it is advisable to engage a qualified evaluation institution to conduct security testing of the large model, covering dimensions such as content safety, privacy leakage and jailbreak protection. The standard process is a four-stage closed loop: compliance pre-review at project initiation, security design review during construction, security testing before launch, and continuous monitoring during operation with an annual risk assessment.

Q5: In digital government development, how can AI Q&A systems balance public service convenience with data security?

The key lies in "desensitization first, minimal necessity, and review-based gatekeeping." First, input-side desensitization: personally identifiable information is automatically masked or replaced before entering the model. Second, permission-side convergence: following the principle of "minimal necessity," only the minimum data fields required to complete the task are exposed to the model. Third, output-side review: model responses are pushed to users only after passing through dual gates of sensitive-word filtering and manual spot checks. Fourth, traceability: all question-and-answer requests and responses are fully logged to support security audits and accountability tracing. This mechanism has been proven effective in intelligent customer service scenarios for "one-stop government services" in multiple cities, preserving the convenience of public services while keeping data leakage risks within an acceptable range.


The data in this article is updated as of 2026-08-09.