By · Last updated 2026-04-25

返回博客GDPR 与合规

GDPR AI 工作流中的令牌映射

客户姓名在 AI 处理前已匿名化,AI 的回复中包含匿名令牌。最终发送给客户的回复必须还原真实姓名——而非令牌占位符。

April 25, 20268 分钟阅读
token mapping AIGDPR customer service AIauto-decryptsession-based anonymizationAI workflow pseudonymization

GDPR AI 工作流中的令牌映射

2026 年更新版

你的团队使用 AI 起草客户回复。客户来信,其姓名在 AI 读取前已完成匿名化。AI 起草的回复中含有占位符,客服人员必须手动将其替换回真实姓名。每天处理 200 条交互,这一成本迅速积累。

基于会话的令牌映射解决了这个问题——它自动还原真实姓名。

没有令牌映射会怎样

匿名化步骤生成一个令牌:「Maria Schmidt」变为 [CUSTOMER_1]。Claude 起草的回复是:「尊敬的 [CUSTOMER_1],我们为延误致以诚挚歉意。」

客服人员现在必须在发送前将 [CUSTOMER_1] 替换为「Maria Schmidt」。在规模化场景下,这一步骤抵消了 AI 辅助的全部意义,成为一项挥之不去的重复劳动。

会话令牌的工作机制

会话存储一张查找表:[CUSTOMER_1] → 「Maria Schmidt」。Claude 返回草稿后,自动解密层读取该表并还原姓名。客服人员看到的是「尊敬的 Maria Schmidt」——已经正确,无需任何手动操作。GDPR 保护在后台静默运行。

会话一致性的重要性

令牌表必须在整个会话中保持一致。如果「Maria Schmidt」在初始投诉中出现,在后续跟进中再次出现,两处必须都映射到 [CUSTOMER_1]。否则,Claude 可能将两者视为不同的人,导致回复前后矛盾。

一个人在一次会话中只对应一个令牌,Claude 才能正确理解对话的完整脉络。

合规设计内置于 GDPR

GDPR 第 4(5) 条将假名化定义为降低风险的技术手段。EDPB 2022 年指南提出了一项核心要求:密钥必须与假名化数据分开保存。

会话令牌表满足这一要求。查找表保存在浏览器本地,从不传输给 Claude。会话结束后随即销毁。没有任何个人数据到达外部服务器,第 46 条数据跨境传输问题也因此不会产生。

保险理赔:一个具体案例

一家德国保险公司处理客户投诉邮件,每封邮件包含姓名、保单号和理赔金额。

AI 处理前,Chrome 扩展程序MCP 服务器对三个字段全部匿名化。Claude 看到的是 [CUSTOMER_1][POLICY_2024-08847][AMOUNT_1],并据此起草回复。

随后,自动解密层还原三个字段。理赔专员看到草稿中的真实姓名和保单号,审核后直接发送,无需替换任何占位符。

GDPR 结果:发送至 Claude 美国服务器的数据不含任何个人信息,客户的真实姓名和保单号始终留在德国专员的浏览器中。

完整闭环需要的三个组件

无缝工作流需要三个组件协同运作:

**1. 一致的令牌。**每个实体在一次会话中始终对应同一个令牌。

**2. 本地查找表。**存储于会话中,不发送给 AI。

**3. 输出时自动解密。**在客服人员看到草稿前,已将表应用于 AI 输出。

缺少任何一个,客服人员就需要手动替换令牌;三者齐备,工作流自动运转,GDPR 合规全程保持。

结语

这一方案形成了 AI 辅助客服工作的完整闭环。匿名化在数据到达 AI 之前完成保护,自动解密将真实姓名还原到回复中,客服人员在每个环节都看到正确的姓名,GDPR 合规贯穿始终。

参考来源

准备好保护您的数据了吗?

开始使用 285 种实体类型在 48 种语言中匿名化 PII。

About this page

We update this page when our platform or the law changes.

Read our founder note for how we work.

Each change shows up in the timestamp at the top.

Related reading

We follow these rules

  • GDPR (EU 2016/679).
  • ISO/IEC 27001:2022.
  • NIS2 (EU 2022/2555).
  • HIPAA safe harbor under 45 CFR § 164.514(b)(2).

Our promise

We do not sell your data.

We do not train models on your text.

We store your files in Germany.

You can delete your account at any time.

You own your work.

Where we run

Our servers live in Falkenstein, Germany.

We use Hetzner. They hold ISO 27001 certification.

All data stays in the EU.

Backups run every day.

Need help?

Email support@anonym.legal.

We reply within one business day.

How we test

We run a full check suite on every release.

Each surface gets its own sweep script and report.

Human reviewers spot-check the output each week.

We track recall and precision on a labelled set.

Bad runs block the deploy.

What we never do

  • We never sell your information to third parties.
  • We never train models on what you upload.
  • We never keep your work after you delete it.
  • We never share keys with any outside firm.
  • We never run ads inside the product.

Plans in plain words

We sell credits, not seats.

One credit covers one short job.

Long jobs use a few credits each.

You can top up at any time.

Unused credits roll over each month.

Read the plans page for current rates.

Who built this

A small team of engineers and lawyers built this.

We ship from Europe and work in the open.

Our founder note spells out why we started.

Where to start

How the parts fit

A browser add-on cleans text inside Chrome.

A Word plug-in handles drafts in Office.

A small desktop tool works on whole folders.

An agent protocol link feeds large models safely.

All four share one core engine and one rule set.

Words from our team

We started this work after a lunch about cookies.

One friend kept getting odd ads on her phone.

We asked why a court file leaked through a draft.

We sketched the first build on a napkin that week.

By month three we had a tiny demo for a friend.

She used it on her first case the next day.

Common questions we hear

Can the tool read scanned PDFs? Yes, with OCR.

Does it work on long files? Yes, in small chunks.

Can I roll my own rule set? Yes, save it as a preset.

Does it run offline? The desktop build runs offline.

Do you keep my files? No, the cloud build wipes after each run.

Will it learn from my work? No, we never train on inputs.

A short tour of the workflow

Upload a file or paste a snippet of prose.

Pick the entities you want gone from the draft.

Choose a method: replace, mask, hash, encrypt, or redact.

Press run and watch the side panel show each hit.

Skim the result and tweak any rule that misfired.

Save the cleaned file or send it to a teammate.