充电桩 · 智能地锁 · 光储充一体化 接口规范、测试工具、数据模拟、智能化测算 —— 能力准备阶段,非真实业务运营
{
"connectorId": 1,
"idTag": "用户卡号/手机号",
"chargingProfile": {
"chargingProfileId": 1,
"stackLevel": 0,
"chargingProfilePurpose": "TxProfile",
"chargingProfileKind": "Absolute",
"chargingSchedule": {
"duration": 3600,
"chargingRateUnit": "W",
"chargingSchedulePeriod": [{"startPeriod": 0, "limit": 7000}]
}
}
}
{
"transactionId": 12345
}
// 充电桩响应
{
"status": "Accepted",
"transactionId": 12345,
"idTagInfo": {
"status": "Accepted",
"expiryDate": "2026-12-31T23:59:59Z"
}
}
{
"cmd": "unlock",
"lock_id": "LOCK_001",
"user_id": "USER_123",
"booking_id": "BOOK_456",
"timestamp": 1694736000,
"signature": "md5_hash"
}
// 地锁响应 Topic: /lock/{lock_id}/status
{
"lock_id": "LOCK_001",
"status": "unlocked",
"result": "success",
"timestamp": 1694736001
}
{
"cmd": "lock",
"lock_id": "LOCK_001",
"reason": "vehicle_left",
"timestamp": 1694739600,
"signature": "md5_hash"
}
// 地磁+地锁联动防占用
{
"cmd": "check_occupancy",
"lock_id": "LOCK_001",
"magnetic_status": "occupied",
"lock_status": "unlocked",
"alert": "possible_occupation",
"action": "auto_lock_after_60s"
}