Charging pile OTA upgrading system and method based on block chain

By introducing blockchain and smart contracts into the charging pile OTA upgrade system, data security and reliability issues in the charging pile OTA upgrade technology are solved, and higher security and reliability are achieved.

CN119556953AInactive Publication Date: 2025-03-04SHANDONG INSPUR ULTRA HD INTELLIGENT TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411707462.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-27
Publication Date
2025-03-04
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing OTA upgrade technology of charging piles is vulnerable to cyber attacks and data tampering, and cannot fully guarantee the data security and reliability during the upgrade process.

Method used

The blockchain-based charging pile OTA upgrade system is adopted, and the hash value and related information of the upgrade package is stored through the blockchain network, and the smart contract is used to automate the upgrade process to ensure the integrity of the upgrade package and the transparency of the verification process.

Benefits of technology

Through the immutability of blockchain and the automation of smart contracts, the security and reliability of OTA upgrades are improved, and the risk of single-point failure of servers and data tampering in traditional technologies is avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119556953A_ABST
    Figure CN119556953A_ABST
Patent Text Reader

Abstract

The invention discloses a charging pile OTA upgrading system based on a block chain, which comprises a block chain network, charging pile equipment, an upgrading management server and an intelligent contract module, and is characterized in that the block chain network is composed of a plurality of nodes, in a system initialization stage, the permission and role of each node need to be configured, and the permission and role of each node need to be configured; the upgrade management server has the authority of issuing an upgrade package, and the charging pile equipment has the authority of requesting and verifying the upgrade package; the account book content stored in the block chain network comprises an upgrade package hash value, a version number, upgrade package release time, an upgrade package downloading address, release node information, a consensus verification record, an upgrade result record and an intelligent contract execution record; according to the method, the upgrade package is ensured not to be tampered in the transmission and storage process by utilizing the tampering resistance of the block chain, so that the security of OTA upgrade is improved, the problem of single-point failure of a server in traditional OTA upgrade is avoided through the decentration characteristic of the block chain, and the reliability and the anti-attack ability of the system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of remote upgrade of charging piles, and in particular to a charging pile OTA upgrade system and method based on blockchain. Background Art

[0002] With the popularity of electric vehicles, charging piles are an important infrastructure for charging electric vehicles, and their reliability and safety are of vital importance. Traditional OTA upgrades rely on centralized servers to distribute and verify upgrade packages, which poses security risks such as data tampering and server single point failure. Blockchain technology, due to its decentralization, immutability and high transparency, has become an ideal choice to solve these problems.

[0003] In the charging pile industry, upgrading the firmware or software of the charging pile is crucial to fixing vulnerabilities, improving functions and enhancing security. However, the existing OTA upgrade technology is vulnerable to cyber attacks and data tampering, and cannot fully guarantee data security and reliability during the upgrade process. Therefore, a new technical solution is urgently needed to solve these problems. Summary of the invention

[0004] In view of the defects in the prior art, the present invention provides a charging pile OTA upgrade system and method based on blockchain to solve the existing problems.

[0005] The present invention is implemented through the following technical scheme: a charging pile OTA upgrade system based on blockchain, including: a blockchain network, a charging pile device, an upgrade management server, and a smart contract module, characterized in that: the blockchain network is composed of multiple nodes, and during the system initialization phase, it is necessary to configure the permissions and roles of each node, the upgrade management server has the authority to publish upgrade packages, and the charging pile device has the authority to request and verify upgrade packages; the account book content stored in the blockchain network includes: upgrade package hash value, version number, upgrade package release time, upgrade package download address, release node information, consensus verification record, upgrade result record, and smart contract execution record.

[0006] Preferably, the charging pile equipment types include: public charging pile, private charging pile, and fast charging pile.

[0007] Preferably, the upgrade management server is responsible for managing and publishing upgrade packages for charging piles. The server generates upgrade packages for charging pile devices, which contain new firmware, software updates, and security patches. To ensure the integrity and authenticity of the upgrade packages, the server calculates the hash value of the generated upgrade package. The hash value of the upgrade package is a unique identifier generated by performing a hash operation on the upgrade package using an encrypted hash algorithm such as SHA-256. After the upgrade package is generated, the server records the hash value and other relevant information of the upgrade package on the blockchain, and all nodes in the blockchain network verify and record this information.

[0008] Preferably, the smart contract module pre-writes a smart contract for executing the upgrade process, including creating an upgrade package, recording characteristic values, notifying devices, device verification, and executing upgrades.

[0009] A charging pile OTA upgrade method based on blockchain, characterized in that it includes the following steps: S1. Generation of upgrade package: The upgrade management server generates the upgrade package and calculates the hash value. The release time of the upgrade package records the specific timestamp of the upgrade package being released to the blockchain network. The node identifier of the upgrade package, such as the node ID and the node public key, is used to track and verify the identity of the node that released the upgrade package, ensuring the legitimacy and credibility of the source of the upgrade package. S2. Smart contract triggering: Record the hash value of the upgrade package on the blockchain to trigger the smart contract. The version number is a unique identifier for the upgrade package version, usually expressed in a combination of numbers and letters such as v1.0.0, v2.1.1, which is used to help charging pile devices identify and obtain the latest upgrade package version to avoid repeated upgrades or upgrades to old versions. S3, Notify device: The smart contract automatically notifies all relevant charging pile devices of the new upgrade package information; the download address of the upgrade package is the URL address stored in the blockchain, which is used by the charging pile device to download the upgrade package; S4, device verification: The charging pile device downloads and verifies the upgrade package according to the guidance of the smart contract to ensure that the hash value matches; S5. Execute upgrade: After verification, the smart contract authorizes the device to perform OTA upgrade; S6. Consensus verification record: The consensus verification record refers to the record of each node verifying the upgrade package information, including the verification time and verification node ID; S7. Upgrade result record: The upgrade result record refers to the result information after the charging pile device performs OTA upgrade, including whether the upgrade is successful, the upgrade time, and the device ID; S8. Smart contract execution record: The smart contract execution record contains the execution status and results of the smart contract during the upgrade process, including the contract trigger time, execution node ID, and execution results.

[0010] The beneficial effects of the present invention are as follows: the immutability of blockchain is utilized to ensure that the upgrade package is not tampered with during transmission and storage, thereby improving the security of OTA upgrades; all upgrade process information is recorded on the blockchain, which is transparent and traceable, ensuring the publicity and traceability of the entire upgrade process; through smart contracts, each step of the upgrade process can be automated and recorded, further increasing the transparency of operations; through the decentralized characteristics of blockchain, the problem of single-point failure of the server in traditional OTA upgrades is avoided, thereby improving the reliability and anti-attack capabilities of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following is a brief introduction to the drawings required for the specific embodiments or the description of the prior art. In all the drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, the elements or parts are not necessarily drawn according to the actual scale.

[0012] Figure 1 This is the overall architecture diagram of the present invention. DETAILED DESCRIPTION

[0013] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of the present invention, so the present invention is not limited by the specific embodiments disclosed below.

[0014] It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be an intermediate element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be an intermediate element at the same time.

[0015] For ease of description, spatial relative terms such as "upper," "lower," "left," and "right" may be used herein to describe the relationship of one element or feature shown in a figure relative to another element or feature. It should be understood that the spatial terms are intended to include different orientations of the device in use or operation in addition to the orientation shown in the figures. For example, if the device in the figure is inverted, elements described as being "below" other elements or features will be positioned "above" the other elements or features. Thus, the exemplary term "below" may include both upper and lower orientations.

[0016] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items.

[0017] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific implementation of the present invention is described in detail below in conjunction with specific embodiments: Figure 1 The present invention is implemented by the following technical solutions: a charging pile OTA upgrade system based on blockchain, including: a blockchain network, a charging pile device, an upgrade management server, and a smart contract module, characterized in that: the blockchain network is composed of multiple nodes, each of which stores a complete blockchain account book, which contains the hash values ​​and related information of all upgrade packages. The nodes jointly maintain and update the blockchain data through a consensus mechanism (such as PoW, PoS or DPoS, etc.) to ensure the immutability and consistency of the data. The decentralized characteristics of the blockchain network enable it to effectively resist single point failures and malicious attacks, providing a high degree of security and reliability; in the system initialization stage, it is necessary to configure the permissions and roles of each node, the upgrade management server has the authority to publish the upgrade package, and the charging pile device has the authority to request and verify the upgrade package; the account book content stored in the blockchain network includes: upgrade package hash value, version number, upgrade package release time, upgrade package download address, release node information, consensus verification record, upgrade result record, and smart contract execution record.

[0018] Charging pile devices that need OTA upgrades are the main application objects of this system. These devices include but are not limited to the following categories: public charging piles, private charging piles, and fast charging piles.

[0019] Public charging piles: usually deployed in public places such as shopping malls, parking lots, gas stations, etc. for electric vehicle users. Public charging piles need to be upgraded regularly to ensure efficient and safe charging services. Private charging piles: installed in private homes or companies to provide charging services for electric vehicles of individuals or units. The upgrade needs of private charging piles are mainly focused on improving charging efficiency and safety. Fast charging piles: used to charge electric vehicles in a short time, usually deployed in highway service areas, gas stations, etc. Fast charging piles need to be upgraded frequently to maintain efficient and stable charging performance.

[0020] The upgrade management server is responsible for managing and publishing upgrade packages for charging piles. The server generates upgrade packages for charging pile devices, which contain new firmware, software updates, and security patches. To ensure the integrity and authenticity of the upgrade package, the server calculates the hash value of the generated upgrade package. The hash value of the upgrade package is a unique identifier generated by hashing the upgrade package using an encrypted hash algorithm such as SHA-256 to ensure the integrity and authenticity of the upgrade package. Any tampering with the contents of the upgrade package will result in a change in the hash value. Therefore, by comparing the hash value, it is possible to verify whether the upgrade package has been tampered with. After the upgrade package is generated, the server records the hash value and other relevant information of the upgrade package on the blockchain, and all nodes in the blockchain network verify and record this information.

[0021] The smart contract module pre-writes smart contracts to execute the upgrade process, including creating upgrade packages, recording feature values, notifying devices, device verification, and executing upgrades.

[0022] A charging pile OTA upgrade method based on blockchain, characterized in that it includes the following steps: S1. Generation of upgrade package: The upgrade management server generates the upgrade package and calculates the hash value. The release time of the upgrade package records the specific timestamp of the upgrade package being released to the blockchain network. The node identifier of the upgrade package, such as the node ID and the node public key, is used to track and verify the identity of the node that released the upgrade package, ensuring the legitimacy and credibility of the source of the upgrade package. S2. Smart contract triggering: Record the hash value of the upgrade package on the blockchain to trigger the smart contract. The version number is a unique identifier for the upgrade package version, usually expressed in a combination of numbers and letters such as v1.0.0, v2.1.1, which is used to help charging pile devices identify and obtain the latest upgrade package version to avoid repeated upgrades or upgrades to old versions. S3, Notify device: The smart contract automatically notifies all relevant charging pile devices of the new upgrade package information; the download address of the upgrade package is the URL address stored in the blockchain, which is used by the charging pile device to download the upgrade package; S4, device verification: The charging pile device downloads and verifies the upgrade package according to the guidance of the smart contract to ensure that the hash value matches; S5. Execute upgrade: After verification, the smart contract authorizes the device to perform OTA upgrade; S6. Consensus verification record: The consensus verification record refers to the record of each node verifying the upgrade package information, including the verification time and verification node ID; it is used to ensure the consistency and non-tamperability of the upgrade package information in the blockchain network and improve the security and reliability of the system.

[0023] S7. Upgrade result record: The upgrade result record refers to the result information after the charging pile device performs OTA upgrade, including whether the upgrade is successful, the upgrade time, and the device ID. It is used to provide a traceability record of the upgrade process to ensure the transparency and auditability of the entire process. S8. Smart contract execution record: The smart contract execution record contains the execution status and results of the smart contract during the upgrade process, including the contract trigger time, execution node ID, and execution results. It is used to ensure the transparency and traceability of the smart contract execution process and improve the automation level and security of the upgrade process.

[0024] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. These modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention, and they should all be included in the scope of the claims and specification of the present invention.

Claims

1. A charging pile OTA upgrade system based on blockchain, comprising: Blockchain network, charging pile equipment, upgrade management server, smart contract module, characterized in that: the blockchain network is composed of multiple nodes, and during the system initialization phase, the permissions and roles of each node need to be configured. The upgrade management server has the authority to publish upgrade packages, and the charging pile equipment has the authority to request and verify upgrade packages; the account book content stored in the blockchain network includes: upgrade package hash value, version number, upgrade package release time, upgrade package download address, release node information, consensus verification record, upgrade result record, and smart contract execution record.

2. A charging pile OTA upgrade system based on blockchain according to claim 1, characterized in that: The types of charging pile equipment include: public charging pile, private charging pile, and fast charging pile.

3. According to the blockchain-based charging pile OTA upgrade system of claim 1, it is characterized by: The upgrade management server is responsible for managing and publishing upgrade packages for charging piles. The server generates upgrade packages for charging pile devices, which contain new firmware, software updates, and security patches. To ensure the integrity and authenticity of the upgrade packages, the server calculates the hash value of the generated upgrade package. The hash value of the upgrade package is a unique identifier generated by performing a hash operation on the upgrade package using an encrypted hash algorithm such as SHA-256. After the upgrade package is generated, the server records the hash value and other relevant information of the upgrade package on the blockchain, and all nodes in the blockchain network verify and record this information.

4. According to a blockchain-based charging pile OTA upgrade system according to claim 1, it is characterized in that: The smart contract module is a pre-written smart contract used to execute the upgrade process, including creating an upgrade package, recording feature values, notifying devices, device verification, and executing upgrades.

5. A charging pile OTA upgrade method based on blockchain, characterized in that: The following steps are involved: S1. Generation of upgrade package: The upgrade management server generates the upgrade package and calculates the hash value. The release time of the upgrade package records the specific timestamp of the upgrade package being released to the blockchain network. The node identifier of the upgrade package, such as the node ID and the node public key, is used to track and verify the identity of the node that released the upgrade package, ensuring the legitimacy and credibility of the source of the upgrade package. S2. Smart contract triggering: Record the hash value of the upgrade package on the blockchain to trigger the smart contract; The version number is a unique identifier for the upgrade package version, usually expressed in a combination of numbers and letters, such as v1.0.0, v2.1.1, to help charging pile devices identify and obtain the latest upgrade package version to avoid repeated upgrades or upgrades to old versions; S3, Notify device: The smart contract automatically notifies all relevant charging pile devices of the new upgrade package information; the download address of the upgrade package is the URL address stored in the blockchain, which is used by the charging pile device to download the upgrade package; S4, device verification: The charging pile device downloads and verifies the upgrade package according to the guidance of the smart contract to ensure that the hash value matches; S5. Execute upgrade: After verification, the smart contract authorizes the device to perform OTA upgrade; S6. Consensus verification record: The consensus verification record refers to the record of each node verifying the upgrade package information, including the verification time and verification node ID; S7. Upgrade result record: The upgrade result record refers to the result information after the charging pile device performs OTA upgrade, including whether the upgrade is successful, the upgrade time, and the device ID; S8. Smart contract execution record: The smart contract execution record contains the execution status and results of the smart contract during the upgrade process, including the contract trigger time, execution node ID, and execution results.

Citation Information

Patent Citations

  • System and method for realizing OTA upgrade of embedded hardware based on block chain

    CN109889589A

  • Firmware updating method and program of fast charging equipment, fast charging equipment and storage medium

    CN111831308A

  • Internet of Things equipment OTA upgrading system and method based on block chain technology

    CN114925374A

  • Firmware data processing method and device, storage medium and electronic equipment

    CN116074360A