# 开放充电点协议

**开放充电点协议**（Open Charge Point Protocol，OCPP）是电动汽车充电站与管理它们的中央系统之间的一种开放式通信协议，免费公开发布，由[开放充电联盟](https://www.edgepedia.org/zh/open-charge-alliance)（Open Charge Alliance，OCA）维护。它使不同厂商的充电硬件能够与不同供应商的充电站管理系统（CSMS）实现互操作，减少对专有系统的依赖。<sup>[1](https://openchargealliance.org/protocols/open-charge-point-protocol/)</sup> 目前有三个现行版本：OCPP 1.6（2015年）、OCPP 2.0.1（2020年）和OCPP 2.1（2025年）。<sup>[1](https://openchargealliance.org/protocols/open-charge-point-protocol/)</sup>

| 关键事实 | 详情 |
|---|---|
| 起源 | 2009年由ElaadNL发起。ElaadNL是由荷兰配电系统运营商成立的非营利组织，希望以标准化方式从不同厂商采购10,000台充电站<sup>[2](https://openchargealliance.org/about-us/discover-our-history/)</sup> |
| 首个版本 | OCPP 1.0，由ElaadNL于2010年发布，从一开始即可免费获取<sup>[2](https://openchargealliance.org/about-us/discover-our-history/)</sup> |
| 现行版本 | OCPP 1.6（2015年）、OCPP 2.0.1（2020年）、OCPP 2.1（2025年）<sup>[1](https://openchargealliance.org/protocols/open-charge-point-protocol/)</sup> |
| 标准化 | OCPP 2.0.1第3版于2024年获批为IEC 63584；OCPP 2.1获批为IEC 63584-210<sup>[1](https://openchargealliance.org/protocols/open-charge-point-protocol/)</sup><sup> • </sup><sup>[3](https://openchargealliance.org/)</sup> |
| 兼容性 | OCPP 2.0.1不向后兼容OCPP 1.6；OCPP 2.1保留为2.0.1编写的应用逻辑<sup>[4](https://openchargealliance.org/ocpp-info-whitepapers/what-is-new-in-ocpp-2-0-1/)</sup><sup> • </sup><sup>[2](https://openchargealliance.org/about-us/discover-our-history/)</sup> |
| 传输方式 | 1.6J、2.0.1和2.1均采用WebSocket上的JSON；OCPP 1.6另有SOAP变体<sup>[5](https://www.techovn.com/compare/ocpp-1-6-vs-2-0-1)</sup><sup> • </sup><sup>[1](https://openchargealliance.org/protocols/open-charge-point-protocol/)</sup> |
| 管理机构 | 开放充电联盟，依据荷兰法律设立的非营利基金会，成立于2014年，拥有400多个成员<sup>[2](https://openchargealliance.org/about-us/discover-our-history/)</sup><sup> • </sup><sup>[3](https://openchargealliance.org/)</sup> |

## 历史

OCPP最初源于一个采购难题。2009年，由荷兰配电系统运营商组建的ElaadNL计划在荷兰安装10,000台充电站，并希望从多家厂商采购；由于当时不存在与充电点交换信息的标准，ElaadNL便自行制定了一个。<sup>[2](https://openchargealliance.org/about-us/discover-our-history/)</sup> 首个版本OCPP 1.0于2010年发布，此后一直可免费下载，这一选择是为了支持不断增长的电动汽车产业。<sup>[2](https://openchargealliance.org/about-us/discover-our-history/)</sup> OCPP 1.5于2012年随后发布。<sup>[2](https://openchargealliance.org/about-us/discover-our-history/)</sup>

**移交开放充电联盟。** 随着采用范围扩大，ElaadNL于2014年将OCPP移交给开放充电联盟——一个依据荷兰法律设立的非营利基金会，由爱尔兰公用事业公司ESB和当时位于美国的电动汽车充电网络初创公司Greenlots共同创立。OCA的既定使命是通过协作、教育、测试和认证，促进其标准（特别是OCPP）的开发、采用和合规。<sup>[2](https://openchargealliance.org/about-us/discover-our-history/)</sup>

OCPP 1.6于2015年问世，成为充电站与CSMS之间通信的全球事实标准。它增加了用于负载均衡的智能充电支持、本地列表管理、额外状态报告，并提供SOAP和JSON两种形式。<sup>[2](https://openchargealliance.org/about-us/discover-our-history/)</sup><sup> • </sup><sup>[1](https://openchargealliance.org/protocols/open-charge-point-protocol/)</sup> OCA于2019年启动了OCPP 1.6认证计划，由独立测试实验室执行。<sup>[2](https://openchargealliance.org/about-us/discover-our-history/)</sup>

OCPP 2.0作为2.x系列的首个版本于2018年发布；由于其全新的架构设计，与早期版本不兼容。初始实施中的现场经验被反馈到2020年发布的OCPP 2.0.1中，OCA称该版本正在取代OCPP 1.6成为行业标准。<sup>[2](https://openchargealliance.org/about-us/discover-our-history/)</sup><sup> • </sup><sup>[1](https://openchargealliance.org/protocols/open-charge-point-protocol/)</sup> 2024年10月，IEC批准OCPP为国际标准IEC 63584，OCPP 2.1于2025年随后发布。<sup>[2](https://openchargealliance.org/about-us/discover-our-history/)</sup>

## 各版本提供的功能

**OCPP 1.6** 包含1.5的功能集，外加用于负载均衡的智能充电配置文件、本地列表管理、额外状态信息，以及查询充电点时间或状态等消息请求。其规范有SOAP和JSON两种形式，而[WebSocket](https://www.edgepedia.org/zh/websocket)上的JSON变体（1.6J）是当今大多数已部署后端所使用的形式。<sup>[1](https://openchargealliance.org/protocols/open-charge-point-protocol/)</sup><sup> • </sup><sup>[5](https://www.techovn.com/compare/ocpp-1-6-vs-2-0-1)</sup>

**OCPP 2.0.1** 是对1.6的重新设计，而非增量扩展，尽管它共享许多概念和部分消息。事务处理发生了变化，支持可配置的事务开始和结束条件，并引入了新的设备模型以实现高级配置和监控。<sup>[4](https://openchargealliance.org/ocpp-info-whitepapers/what-is-new-in-ocpp-2-0-1/)</sup> 与1.6相比，它增加了设备管理功能、改进的事务处理、增强的安全性、扩展的智能充电、对[ISO 15118](https://www.edgepedia.org/zh/iso-15118)的支持，以及显示和消息支持。<sup>[1](https://openchargealliance.org/protocols/open-charge-point-protocol/)</sup> 具体的破坏性变更包括：`StartTransaction`/`StopTransaction`变为`TransactionEvent`，`GetConfiguration`/`ChangeConfiguration`变为`GetVariables`/`SetVariables`，字符串`IdTag`变为带有必填类型字段的`IdToken`对象。<sup>[6](https://ocpptools.renozix.com/learn/ocpp-16-vs-201/)</sup>

**OCPP 2.1** 在2.0.1的基础上构建，同时保持所有2.0.1应用逻辑正常运行。其新增功能针对能源集成和支付：支持ISO 15118-20的双向功率传输、双向充电功能块（V2X，允许电动汽车作为能源来源）、分布式能源资源（DER）控制功能块、改进的智能充电、扩展的事务选项（包括固定费用、固定电量和固定时间事务，以及强制重启后的恢复）、对两轮车、三轮车和电动汽车的换电支持、充电站本地成本计算，以及涵盖预付充电卡、无需预先签约的刷卡支付和安全动态二维码的新授权选项。<sup>[1](https://openchargealliance.org/protocols/open-charge-point-protocol/)</sup><sup> • </sup><sup>[7](https://openchargealliance.org/ocpp-2-1-is-now-available/)</sup>

## 安全性

安全性是各版本系列之间最鲜明的分界线。OCPP 1.6核心规范不包含安全性；TLS和安全配置文件后来通过一份单独的白皮书添加，该白皮书描述了如何以标准化方式将OCPP 2.0中引入的安全增强功能应用于OCPP 1.6-J之上，涵盖安全连接建立、安全事件与日志记录，以及安全固件更新。<sup>[8](https://www.versinetic.com/resources/tools/ocpp-migration-decision-matrix)</sup><sup> • </sup><sup>[9](https://openchargealliance.org/ocpp-info-whitepapers/ocpp-1-6-security-whitepaper-4th-edition/)</sup> OCPP 2.0.1定义了内置安全配置文件、包括更新在内的证书管理，以及签名固件。<sup>[5](https://www.techovn.com/compare/ocpp-1-6-vs-2-0-1)</sup><sup> • </sup><sup>[8](https://www.versinetic.com/resources/tools/ocpp-migration-decision-matrix)</sup>

安全研究人员已经审视了该协议的攻击面。IEEE SoutheastCon 2023上的一篇论文讨论了中间人攻击等潜在漏洞，总体攻击面是拦截认证凭据（客户或管理凭据），进而可用于收集信息或发动消息干扰、交易价格篡改等攻击。<sup>[10](https://ieeexplore.ieee.org/document/10115127/)</sup> 2022年的一份OCPP安全调查指出，只有最新的OCPP 2.0版本包含某些安全功能，并指出了未解决的安全问题和建议的研究方向。<sup>[11](https://arxiv.org/abs/2207.01950)</sup>

## 采用与认证

OCPP 1.6仍是现有充电站上部署最广泛的版本，OCA指出行业正在向OCPP 2.x迁移。<sup>[1](https://openchargealliance.org/protocols/open-charge-point-protocol/)</sup><sup> • </sup><sup>[12](https://www.ladeguide.com/en/ocpp.html)</sup> 由于1.6和2.0.1不兼容，仅实现一个版本的充电器会在资产生命周期内将运营商绑定到某一类后端，采购指南通常建议采用同时支持两者的硬件。<sup>[5](https://www.techovn.com/compare/ocpp-1-6-vs-2-0-1)</sup>

认证已成为一种政策杠杆。从2022年起，韩国将OCPP认证作为政府资助的条件，美国于2023年效仿；同年，OCA还启动了OCPP 2.0.1认证，并推出了一款能够评估2.0.1和1.6实施的新测试工具。<sup>[2](https://openchargealliance.org/about-us/discover-our-history/)</sup> OCA还发布了一款供制造商和CSMS开发者使用的测试工具，用于检查其OCPP消息是否符合规范，该工具最初于2016年开发。<sup>[2](https://openchargealliance.org/about-us/discover-our-history/)</sup>

## 实施规模

OCPP的众多可选功能使实施者能够在保持互操作性的同时，选择符合其需求的功能，前提是核心组件得到实现。OCA的一份白皮书表明，一个去除可选功能的“轻量”OCPP 2.0.1实施，其规模可与OCPP 1.6相当或仅略大，回应了2.x对资源受限设备而言过于沉重的担忧。<sup>[13](https://openchargealliance.org/wp-content/uploads/2025/03/ocpp_2_x_minimal_footprint-v14.pdf)</sup>

## 相关协议

OCPP管理充电站到后端的链路。开放充电点接口（Open Charge Point Interface，OCPI）是一种独立协议，用于充电点运营商与电动出行服务提供商之间可扩展的自动化漫游，涵盖授权、充电点信息交换、充电明细记录以及各方之间的智能充电指令。<sup>[14](https://github.com/ocpi/ocpi)</sup> OCPP还独立于车辆侧充电技术，可与CHAdeMO、CCS和GB/T配合使用。<sup>[15](https://www.youtube.com/watch?v=5G5DRQ6NtKU)</sup>

## References

1. [OCPP: Discover our open standards for future-ready EV charging, Open Charge Alliance](https://openchargealliance.org/protocols/open-charge-point-protocol/)
2. [Discover our history, Open Charge Alliance](https://openchargealliance.org/about-us/discover-our-history/)
3. [Open Charge Alliance: Connecting the EV charging industry](https://openchargealliance.org/)
4. [What is new in OCPP 2.0.1?, Open Charge Alliance](https://openchargealliance.org/ocpp-info-whitepapers/what-is-new-in-ocpp-2-0-1/)
5. [OCPP 1.6J vs OCPP 2.0.1, Tech OVN](https://www.techovn.com/compare/ocpp-1-6-vs-2-0-1)
6. [OCPP 1.6 vs 2.0.1: What Really Changed, OCPP Tools](https://ocpptools.renozix.com/learn/ocpp-16-vs-201/)
7. [OCPP 2.1 is now available!, Open Charge Alliance](https://openchargealliance.org/ocpp-2-1-is-now-available/)
8. [OCPP Migration Decision Matrix, Versinetic](https://www.versinetic.com/resources/tools/ocpp-migration-decision-matrix)
9. [OCPP 1.6 Security Whitepaper (4th edition), Open Charge Alliance](https://openchargealliance.org/ocpp-info-whitepapers/ocpp-1-6-security-whitepaper-4th-edition/)
10. [Understanding Open Charge Point Protocol, IEEE SoutheastCon 2023](https://ieeexplore.ieee.org/document/10115127/)
11. [Electric Vehicle Charging: a Survey on the Security Issues and Challenges of the Open Charge Point Protocol (OCPP), arXiv:2207.01950](https://arxiv.org/abs/2207.01950)
12. [OCPP explained: the open standard for charge points and backend, LadeGuide](https://www.ladeguide.com/en/ocpp.html)
13. [OCPP for Resource-Constrained Devices, Open Charge Alliance](https://openchargealliance.org/wp-content/uploads/2025/03/ocpp_2_x_minimal_footprint-v14.pdf)
14. [Open Charge Point Interface (OCPI), GitHub](https://github.com/ocpi/ocpi)
15. [What is OCPP?, YouTube](https://www.youtube.com/watch?v=5G5DRQ6NtKU)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 能源技术 › 交通电气化基础设施

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/open-charge-point-protocol

English original: https://www.edgepedia.org/open-charge-point-protocol
