The embodiment of the invention provides a charging method, a charging pile, a vehicle and electronic equipment. The charging method is applied to a charging pile and comprises the steps that under the condition that Bluetooth connection is established between the charging pile and a vehicle, first encryption information sent by the vehicle is received, and the first encryption information comprises a first timestamp and a first random number; analyzing the first encrypted information by using the first key, and verifying whether a first time difference between the first timestamp and the second timestamp is not greater than a first set threshold; verifying whether the first random number meets a preset condition or not; and when the first time difference is not greater than a first set threshold value and the first random number satisfies a preset condition, controlling the charging switch to charge the vehicle. According to the method, the replay attack can be avoided in the process of establishing the connection between the charging pile and the vehicle.
本申请实施例提供了一种充电方法、充电桩、车辆及电子设备。该充电方法应用于充电桩,方法包括:在充电桩与车辆建立蓝牙连接的情况下,接收车辆发送的第一加密信息,第一加密信息包括第一时间戳、第一随机数;利用第一密钥解析第一加密信息,并验证第一时间戳与第二时间戳之间的第一时间差是否不大于第一设定阈值;以及验证第一随机数是否满足预设条件;在第一时间差不大于第一设定阈值,并且第一随机数满足预设条件的情况下,控制充电开关为车辆进行充电。该方法能够确保充电桩与车辆建立连接的过程中,避免遭到重放攻击。
Charging method, charging pile, vehicle and electronic equipment
一种充电方法、充电桩、车辆及电子设备
2024-05-10
Patent
Electronic Resource
Chinese
IPC: | B60L PROPULSION OF ELECTRICALLY-PROPELLED VEHICLES , Antrieb von elektrisch angetriebenen Fahrzeugen |
European Patent Office | 2021
|Heating method before charging, vehicle, charging pile and electronic equipment
European Patent Office | 2024
|Charging method, charging device, vehicle-mounted charging equipment, vehicle and charging pile
European Patent Office | 2022
|Charging pile, charging method, electronic equipment and storage medium
European Patent Office | 2023
|