Data information security encryption method and system for charging piles

By building a secure communication channel and blockchain network, and using hash encoding and slice encryption technology to process charging pile data, the problem of insufficient security of charging pile data information is solved, and efficient data protection and transmission security is achieved.

CN118316743BActive Publication Date: 2025-01-03RNL TECH(SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410744967.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2025-01-03
Estimated Expiration
2044-06-11

AI Technical Summary

Technical Problem

The security issues of charging pile data information include challenges in user privacy protection and data transmission security, and traditional encryption methods are inefficient and insufficient security.

Method used

By obtaining user basic information and vehicle communication protocol data, a secure communication channel is built, and a multi-dimensional information encoding matrix is ​​generated using hash encoding, data chunking and slice encryption technology, and distributed storage is combined with blockchain network to ensure data confidentiality and integrity.

Benefits of technology

It improves the security and resistance to attacks, enhances the complexity and difficulty in decryption of data, ensures decentralized storage and backup of data, prevents data loss and tampering, and improves the system's anti-attack ability and fault tolerance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118316743B_ABST
    Figure CN118316743B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of data encryption, and in particular to a data information security encryption method and system for a charging pile. The method comprises the following steps: obtaining user basic information and vehicle communication protocol data; constructing a secure communication channel based on the vehicle communication protocol data; encapsulating user basic information to generate an information data packet; performing hash coding processing on the information data packet to obtain a multi-dimensional information coding matrix; performing data block processing on the multi-dimensional information coding matrix to obtain multiple information matrix blocks; performing slice encryption on multiple information matrix blocks to obtain a slice encryption matrix; obtaining charging pile node data; constructing a decentralized network based on the charging pile node data to construct a blockchain network; obtaining an encryption matrix coding package based on the slice encryption matrix; performing pre-distortion compensation processing on the encryption matrix coding package to obtain a distortion compensation coding package. The present invention realizes efficient and secure information security encryption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data encryption, and in particular to a method and system for securely encrypting data information of a charging pile. Background Art

[0002] In today's society, with the popularization of electric vehicles and the construction of charging infrastructure, charging piles, as important charging equipment, play a vital role in cities and transportation. However, with this comes the security of charging pile data information, including challenges in user privacy protection and data transmission security. Traditional encryption methods often have problems such as low efficiency and insufficient security. Therefore, an intelligent charging pile data information security encryption method is needed to meet these challenges. Summary of the invention

[0003] In order to solve the above technical problems, the present invention proposes a data information security encryption method and system for a charging pile to solve at least one of the above technical problems.

[0004] To achieve the above object, the present invention provides a method for securely encrypting data information of a charging pile, comprising the following steps:

[0005] Step S1: Obtain basic user information and vehicle communication protocol data; build a secure communication channel based on the vehicle communication protocol data;

[0006] Step S2: encapsulate the user's basic information to generate an information data packet; perform hash coding on the information data packet to obtain a multi-dimensional information coding matrix;

[0007] Step S3: performing data block processing on the multidimensional information coding matrix to obtain a plurality of information matrix blocks; performing slicing encryption on the plurality of information matrix blocks to obtain a slicing encryption matrix;

[0008] Step S4: Obtain charging pile node data; construct a decentralized network based on the charging pile node data to build a blockchain network;

[0009] Step S5: obtaining an encrypted matrix coding package based on the slice encryption matrix; performing pre-distortion compensation processing on the encrypted matrix coding package to obtain a distortion compensation coding package; and performing distributed storage of the distortion compensation coding package using a blockchain network based on a secure communication channel to construct an encrypted coding blockchain network and complete the secure encryption operation.

[0010] By acquiring basic user information and vehicle communication protocol data, the present invention can establish effective communication between the system and the user and the vehicle, and construct a secure communication channel to ensure confidentiality and integrity during data transmission, and prevent information from being stolen or tampered with. Data encapsulation and hash coding processing can format and convert basic user information to make it suitable for subsequent processing and encryption operations. Generating a multidimensional information coding matrix can provide a higher level of data security, increase the complexity and difficulty of decryption of the data, and data block processing can divide the multidimensional information coding matrix into multiple smaller information matrix blocks for subsequent processing and transmission. Slice encryption can perform independent encryption operations on each information matrix block, thereby increasing data security and anti-attack performance. Acquiring charging pile node data can obtain the real-time status and operation information of the charging pile, and provide basic data for subsequent secure encryption. The construction of a decentralized network can increase the distribution and reliability of data, and improve the system's anti-attack capability and fault tolerance. The use of encrypted matrix coding packages and pre-distortion compensation processing can further enhance data security and anti-attack performance. The construction of a distributed storage and encrypted coding blockchain network can ensure decentralized storage and backup of data, and prevent data loss and tampering.

[0011] Preferably, step S1 comprises the following steps:

[0012] Step S11: when the charging pile interface is connected to the vehicle, basic user information and vehicle communication protocol data are obtained;

[0013] Step S12: performing communication bandwidth analysis based on the vehicle communication protocol data to obtain communication bandwidth data;

[0014] Step S13: Calculate the communication bandwidth data for time delay to obtain communication delay data;

[0015] Step S14: dividing the timing window based on the communication delay data to generate a plurality of time slot units;

[0016] Step S15: dynamically allocating time slots to multiple time slot units to generate dynamic time slot allocation data;

[0017] Step S16: Use the dynamic time slot allocation data to perform channel frequency division multiplexing on the vehicle communication protocol data to build a secure communication channel.

[0018] The present invention can be used for identity authentication and personalized services by obtaining basic user information, and the vehicle communication protocol data can be obtained to understand the vehicle charging connection protocol, providing basic data for subsequent analysis and security encryption. By analyzing the vehicle communication protocol data, the communication requirements and bandwidth requirements between the vehicle and the charging pile can be understood, and the communication bandwidth data obtained can provide a reference basis for subsequent communication delay calculation and time slot allocation. The communication delay between the vehicle and the charging pile can be estimated through delay calculation, thereby evaluating the communication performance and response time. The communication delay data obtained can provide basic information for subsequent timing window division and time slot allocation. The communication delay data can be obtained through timing window division. It can be divided into multiple time slot units to facilitate subsequent time slot allocation and communication processing. Generating multiple time slot units can provide more flexible communication time periods to meet different communication needs and optimize communication efficiency. Dynamic time slot allocation can flexibly allocate communication time slots according to real-time communication needs and priorities, and make the most of communication resources. Generating dynamic time slot allocation data can provide specific time slot allocation plans for subsequent communication channel construction. Through channel frequency division multiplexing processing, vehicle communication protocol data can be allocated to different time slots and frequencies to avoid communication conflicts and interference. Building a secure communication channel can ensure the confidentiality, integrity and reliability of communications and prevent data leakage and illegal access.

[0019] Preferably, the specific steps of step S2 are:

[0020] Step S21: standardizing the basic information of the user to obtain standardized user information;

[0021] Step S22: encapsulating the standardized user information to generate an information data packet;

[0022] Step S23: performing hash coding processing on the information data packet to obtain user information coding data;

[0023] Step S24: Serializing the user information encoded data to generate a hash code sequence;

[0024] Step S25: Perform multi-dimensional matrix space mapping on the hash code sequence to obtain a multi-dimensional information coding matrix.

[0025] The present invention can unify information formats and representations by standardizing user information, eliminate information inconsistencies, and improve the accuracy and efficiency of data processing. The standardized user information is convenient for subsequent data encapsulation, encoding and encryption processing, and enhances data security and reliability. Data encapsulation organizes standardized user information into an independent data packet, which is convenient for transmission and storage. The information data packet can contain user information and encoded and encrypted data generated in subsequent steps, providing convenience for integrating and managing data. Hash coding processing can map the information data packet to encoded data of a fixed length to protect the privacy and security of user information. User information encoded data is irreversible, and even if leaked, it is difficult to restore the original user information, which increases the confidentiality of the information. Serialization processing converts user information encoded data into a linear sequence, which is convenient for transmission and storage. The hash coding sequence can retain the order and structure of the user information coding, and provide a data basis for subsequent multi-dimensional matrix space mapping. Multi-dimensional matrix space mapping maps the hash coding sequence into a multi-dimensional space, which increases the complexity of the information and the degree of difficulty in cracking. The multi-dimensional information coding matrix can provide stronger data security, making it difficult for unauthorized users to obtain the original user information.

[0026] Preferably, the specific steps of step S3 are:

[0027] Step S31: performing data block processing on the multi-dimensional information coding matrix to obtain a plurality of information matrix blocks;

[0028] Step S32: generating multiple random keys based on the information matrix block;

[0029] Step S33: Use a random key to slice and encrypt the information matrix block to obtain a slice encryption matrix.

[0030] The present invention divides a multidimensional information coding matrix into multiple smaller information matrix blocks through data block processing, which is convenient for subsequent encryption processing and transmission. The block processing of information matrix blocks can increase the security of data. Even if one of the blocks is cracked, it is difficult to obtain the complete original information. Generating multiple random keys can increase the strength and complexity of encryption and improve data security. Each information matrix block is encrypted with an independent random key. Even if one of the keys is cracked, it will not affect the security of other information matrix blocks. Slice encryption divides each information matrix block into smaller slices and uses corresponding random keys for encryption processing. The generation of slice encryption matrix increases the dispersion and obfuscation of data, improves data security and the ability to resist cracking.

[0031] Preferably, the slice encryption in step S33 is specifically as follows:

[0032] Slicing the multiple information matrix blocks to obtain multiple information matrix slices;

[0033] Take the first information matrix slice, perform symmetric encryption with the first random key, and obtain the first symmetric encryption matrix slice;

[0034] Take the second information matrix slice, and perform symmetric encryption with the second random key to obtain a second symmetric encryption matrix slice;

[0035] Repeat the above operation until all information matrix slices are encrypted;

[0036] All symmetric encryption matrix slices are obfuscated and synthesized to obtain a slice encryption matrix.

[0037] The present invention divides multiple information matrix blocks into smaller information matrix slices through slicing processing, thereby increasing the dispersion and obfuscation of data and improving data security. Symmetric encryption uses the same key for encryption and decryption, thereby ensuring the confidentiality and integrity of data. Symmetric encryption is performed on the first information matrix slice, thereby increasing the confidentiality of data and making it difficult for unauthorized users to obtain original information. Symmetric encryption is performed on the second information matrix slice, thereby further increasing the confidentiality of data and the difficulty of cracking. Symmetric encryption is performed repeatedly on each information matrix slice, thereby ensuring the independence and integrity of each slice. Information matrix slices are encrypted one by one, thereby enhancing the confidentiality of data and making it more difficult to crack the entire slice encryption matrix. All symmetric encryption matrix slices are confused to form a synthetic slice encryption matrix, thereby increasing the complexity of data and the difficulty of cracking. The generation of the slice encryption matrix retains the order and structure of each slice and provides data integrity and consistency.

[0038] Preferably, the specific steps of step S4 are:

[0039] Step S41: Obtain charging pile node data;

[0040] Step S42: Perform smart contract analysis on charging pile node data to generate smart contract logic;

[0041] Step S43: performing contract integration editing based on smart contract logic to generate a smart contract;

[0042] Step S44: Decentralize the charging pile node data through smart contracts to build a blockchain network.

[0043] The present invention can obtain key information such as the real-time status, energy consumption, and transaction records of the charging piles by acquiring the charging pile node data. The acquisition of the charging pile node data provides basic data for subsequent smart contract analysis and encryption. The smart contract analysis performs in-depth logical analysis and processing on the charging pile node data, extracts key information and operation rules, and the generated smart contract logic can be used for subsequent contract integration editing and smart contract generation. The contract integration editing converts the smart contract logic into executable smart contract code, including data processing, authority control, transaction rules, etc. The generated smart contract can be used to securely encrypt and verify the charging pile node data through the blockchain network. The decentralized network construction based on the smart contract can realize distributed storage and transaction verification of data, improve the security and credibility of the charging pile data, and construct a blockchain network to protect the integrity of the data and prevent tampering, and provide a tamper-proof data history record.

[0044] In this specification, a data information security encryption system for a charging pile is provided, which is used to execute the data information security encryption method for the charging pile as described above, including:

[0045] The communication module is used to obtain basic user information and vehicle communication protocol data; and to build a secure communication channel based on the vehicle communication protocol data;

[0046] The hash coding module is used to encapsulate the basic information of the user and generate an information data packet; the information data packet is hash-coded to obtain a multi-dimensional information coding matrix;

[0047] The slicing encryption module is used to perform data block processing on the multi-dimensional information coding matrix to obtain multiple information matrix blocks; and to perform slicing encryption on the multiple information matrix blocks to obtain a slicing encryption matrix;

[0048] The blockchain network module is used to obtain charging pile node data; a decentralized network is constructed based on the charging pile node data to build a blockchain network;

[0049] The distortion compensation module is used to obtain an encrypted matrix code package based on the slice encryption matrix; perform pre-distortion compensation processing on the encrypted matrix code package to obtain a distortion compensated code package; and use the blockchain network to distribute the distortion compensated code package based on a secure communication channel to build an encrypted code blockchain network and complete the secure encryption operation.

[0050] The present invention obtains user basic information and vehicle communication protocol data through a communication module, provides necessary input for subsequent data encryption, and constructs a secure communication channel to ensure the security and integrity of data during transmission, prevent data leakage and tampering, encapsulates user basic information to generate an information data packet, and ensures the integrity and readability of the data. Hash coding processing can encrypt the information data packet to generate a multi-dimensional information coding matrix, increase the security and complexity of the data, perform data block processing on the multi-dimensional information coding matrix, divide the data into multiple information matrix blocks, and improve the processing efficiency and security of the data. Slice encryption encrypts each information matrix block to generate a slice encryption matrix, protects the privacy and confidentiality of the data, obtains charging pile node data and constructs a decentralized network to form a blockchain network, and provides a secure storage and transmission environment. The establishment of the blockchain network ensures the reliability and integrity of the data and prevents data tampering and loss. An encrypted matrix coding package is obtained based on the slice encryption matrix to ensure the integrity and accuracy of the data, pre-distortion compensation processing is performed, and the encrypted matrix coding package is corrected and restored to improve the reliability and operability of the data. The blockchain network is used for distributed storage to ensure the security and reliability of the distortion compensation coding package. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1 A schematic diagram of the steps of a method for securely encrypting data information of a charging pile according to the present invention;

[0052] Figure 2 Detailed implementation flow chart of step S1;

[0053] Figure 3 Detailed implementation flow chart of step S2;

[0054] Figure 4 Detailed implementation flow chart of step S3. DETAILED DESCRIPTION

[0055] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0056] The present application example provides a data information security encryption method and system for a charging pile. The execution subject of the data information security encryption method and system for the charging pile includes but is not limited to: mechanical equipment, data processing platform, cloud server node, network upload device, etc. equipped with the system can be regarded as the general computing node of the present application, and the data processing platform includes but is not limited to: at least one of an audio and image management system, an information management system, and a cloud data management system.

[0057] See also Figures 1 to 4The present invention provides a method for securely encrypting data information of a charging pile, and the method for securely encrypting data information of a charging pile comprises the following steps:

[0058] Step S1: Obtain basic user information and vehicle communication protocol data; build a secure communication channel based on the vehicle communication protocol data;

[0059] Step S2: encapsulate the user's basic information to generate an information data packet; perform hash coding on the information data packet to obtain a multi-dimensional information coding matrix;

[0060] Step S3: performing data block processing on the multidimensional information coding matrix to obtain a plurality of information matrix blocks; performing slicing encryption on the plurality of information matrix blocks to obtain a slicing encryption matrix;

[0061] Step S4: Obtain charging pile node data; construct a decentralized network based on the charging pile node data to build a blockchain network;

[0062] Step S5: obtaining an encrypted matrix coding package based on the slice encryption matrix; performing pre-distortion compensation processing on the encrypted matrix coding package to obtain a distortion compensation coding package; and performing distributed storage of the distortion compensation coding package using a blockchain network based on a secure communication channel to construct an encrypted coding blockchain network and complete the secure encryption operation.

[0063] By acquiring basic user information and vehicle communication protocol data, the present invention can establish effective communication between the system and the user and the vehicle, and construct a secure communication channel to ensure confidentiality and integrity during data transmission, and prevent information from being stolen or tampered with. Data encapsulation and hash coding processing can format and convert basic user information to make it suitable for subsequent processing and encryption operations. Generating a multidimensional information coding matrix can provide a higher level of data security, increase the complexity and difficulty of decryption of the data, and data block processing can divide the multidimensional information coding matrix into multiple smaller information matrix blocks for subsequent processing and transmission. Slice encryption can perform independent encryption operations on each information matrix block, thereby increasing data security and anti-attack performance. Acquiring charging pile node data can obtain the real-time status and operation information of the charging pile, and provide basic data for subsequent secure encryption. The construction of a decentralized network can increase the distribution and reliability of data, and improve the system's anti-attack capability and fault tolerance. The use of encrypted matrix coding packages and pre-distortion compensation processing can further enhance data security and anti-attack performance. The construction of a distributed storage and encrypted coding blockchain network can ensure decentralized storage and backup of data, and prevent data loss and tampering.

[0064] In the embodiment of the present invention, refer to Figure 1, is a schematic flow chart of the steps of a method for securely encrypting data information of a charging pile according to the present invention. In this example, the steps of the method for securely encrypting data information of a charging pile include:

[0065] Step S1: Obtain basic user information and vehicle communication protocol data; build a secure communication channel based on the vehicle communication protocol data;

[0066] In this embodiment, after obtaining user authorization, when the charging pile interface is connected to the vehicle, the user's basic information and vehicle communication protocol data are obtained, and the system can query the front-end interface or the background database to obtain the user's basic information. Obtain vehicle communication protocol data, including vehicle charging requests and communication protocols. These data are usually sent to the server or cloud by the on-board equipment through the vehicle communication protocol. After obtaining the user's basic information and vehicle communication protocol data, the system needs to establish a secure communication channel to ensure that the data is not eavesdropped, tampered with or forged during transmission. In order to build a secure communication channel, technical means such as encrypted transmission, digital signatures, and identity authentication can be used to ensure the security of the communication process. Specifically, the SSL / TLS protocol can be used for data encryption transmission, digital certificates can be used to authenticate the identity of both parties to the communication, and the data can be digitally signed and verified to ensure the integrity of the data.

[0067] Step S2: encapsulate the user's basic information to generate an information data packet; perform hash coding on the information data packet to obtain a multi-dimensional information coding matrix;

[0068] In this embodiment, the collected basic information of the user is encapsulated to generate an information data packet. The data encapsulation can adopt different formats and structures, such as JSON, XML or binary format. The specific selection can be determined according to actual needs and system requirements to ensure that the encapsulated data packet contains the basic information of the user and the format of the data packet has certain readability and parsability. The generated information data packet is hash coded. Hash coding is the process of converting data of any length into a hash value of fixed length. Commonly used hash algorithms include MD5, SHA-1, SHA-256, etc. After the information data packet is hash coded, a hash value is obtained. In order to obtain a multi-dimensional information coding matrix, the hash value can be split into multiple dimensions or components, each component can represent different information or features, and the split hash values ​​are combined into a multi-dimensional information coding matrix. Each component can be used as an element of the matrix and combined according to certain rules to form a multi-dimensional matrix.

[0069] Step S3: performing data block processing on the multidimensional information coding matrix to obtain a plurality of information matrix blocks; performing slicing encryption on the plurality of information matrix blocks to obtain a slicing encryption matrix;

[0070] In this embodiment, the size and method of data block division are determined according to actual needs and system design. The multidimensional matrix can be divided into blocks of equal size, or adaptively divided according to data characteristics to ensure that each information matrix block contains a portion of the original data, and the data after block division can maintain the integrity and consistency of the data. Slice encryption is performed on multiple information matrix blocks. Slice encryption is a method of slicing data and independently encrypting each fragment, which can increase data security and only need to decrypt the required slices during decryption, thereby improving data processing efficiency. For each information matrix block, a suitable encryption algorithm is selected for slice encryption. After slicing each information matrix block, a slice encryption matrix is ​​obtained. The slice encryption matrix is ​​a matrix composed of encrypted slices, and each slice corresponds to the encryption result of an information matrix block, ensuring that the slice encryption matrix can maintain the structure and association of the data so that the original data can be restored during decryption.

[0071] Step S4: Obtain charging pile node data; construct a decentralized network based on the charging pile node data to build a blockchain network;

[0072] In this embodiment, relevant information and data of the charging pile nodes are collected. These data may include the location, status, usage, transaction records, etc. of the charging piles. The data can be obtained in a variety of ways, such as through sensors, API interfaces, or manual input, to ensure the accuracy and completeness of the charging pile node data. A portion of the charging pile nodes are selected as initial nodes. These nodes will become the starting point of the blockchain network. The initial nodes can be selected in a specific way, such as based on geographical location distribution, node trust, etc., and other charging pile nodes can be gradually added to the blockchain network. Nodes can be joined by connecting to known nodes in the network or through other node discovery mechanisms. When joining the network, nodes need to verify their own identities and comply with the consensus mechanism and rules of the network. Charging pile nodes can store their own data on the blockchain and participate in data transactions and sharing. Data transactions may include charging pile usage records, electricity transactions, etc. During the transaction process, nodes need to follow the data format and transaction rules of the blockchain network.

[0073] Step S5: obtaining an encrypted matrix code package based on the sliced ​​encryption matrix; performing pre-distortion compensation processing on the encrypted matrix code package to obtain a distortion compensation code package; performing distributed storage on the distortion compensation code package using a blockchain network based on a secure communication channel to construct an encrypted code blockchain network to complete a secure encryption operation;

[0074] In this embodiment, the slice encryption matrix is ​​converted into an encryption matrix code package, which can be achieved by converting each slice encryption matrix into a piece of coded data. The generation of the code package can use erasure code, repetition code or other coding methods to ensure that the encryption matrix code package can maintain the security and integrity of the data. The encryption matrix code package is pre-distortion compensated to reduce the distortion effect introduced in the encryption process. For example, a compression algorithm, a filter or a repair algorithm is used to ensure that the distortion-compensated code package can improve the data quality and the restoration effect after decryption. The distortion-compensated code package is broadcast to the nodes in the blockchain network. The consensus mechanism in the network ensures that the transaction is verified and confirmed. A copy of the shard transaction is stored on each node on the blockchain. Due to the decentralized nature of the blockchain, the data will be distributed on multiple nodes, which improves the security and reliability of the data.

[0075] In this embodiment, refer to Figure 2 , is a flowchart of detailed implementation steps of step S1. In this embodiment, the detailed implementation steps of step S1 include:

[0076] Step S11: when the charging pile interface is connected to the vehicle, basic user information and vehicle communication protocol data are obtained;

[0077] Step S12: performing communication bandwidth analysis based on the vehicle communication protocol data to obtain communication bandwidth data;

[0078] Step S13: Calculate the communication bandwidth data for time delay to obtain communication delay data;

[0079] Step S14: dividing the timing window based on the communication delay data to generate a plurality of time slot units;

[0080] Step S15: dynamically allocating time slots to multiple time slot units to generate dynamic time slot allocation data;

[0081] Step S16: Use the dynamic time slot allocation data to perform channel frequency division multiplexing on the vehicle communication protocol data to build a secure communication channel.

[0082] In this embodiment, the interface of the charging pile is physically connected to the corresponding interface of the vehicle to ensure that a reliable connection is established between the two. Communication protocol data is obtained from the vehicle through the connected interface. The vehicle communication protocol data includes communication data between the vehicle and the charging pile, such as vehicle status information, charging request, etc. An appropriate communication protocol is used to communicate with the vehicle, and a request is sent to obtain these data. The obtained vehicle communication protocol data is analyzed to determine the communication bandwidth requirement, which may include analyzing factors such as data packet size, communication frequency, and data transmission rate. The bandwidth data required for vehicle communication can be obtained through analysis. Based on the communication bandwidth data, the communication delay is calculated. The communication delay is related to factors such as data packet size, transmission rate, and network congestion. The communication delay data can be obtained through calculation. Based on the communication delay data, the communication time is divided into multiple time slot units. The division of the time slot units can be based on fixed time intervals or dynamically divided according to communication needs. For example, The communication time can be divided into continuous time periods, each time period being a time slot unit. Dynamic time slot allocation can be performed for multiple time slot units based on communication needs and priorities. This can include determining the communication task, communication object, time slot length, etc. of each time slot unit. Dynamic time slot allocation can take into account factors such as the number of vehicles, changes in communication needs, and real-time optimization strategies. Based on these considerations, dynamic time slot allocation data is generated. Based on the dynamic time slot allocation data, channel frequency division multiplexing is performed on the vehicle communication protocol data, which means that the vehicle communication data is allocated to different time slot units or frequencies to achieve parallel communication and improve communication efficiency. Channel frequency division multiplexing can be achieved by adjusting the communication time slots and frequency resource allocation between vehicles. On the basis of channel frequency division multiplexing, the security of communication is further enhanced. This can include security measures such as data encryption, identity authentication, and data integrity verification. Through these measures, the security and reliability of vehicle communications during transmission are ensured.

[0083] In this embodiment, refer to Figure 3 , is a flowchart of detailed implementation steps of step S2. In this embodiment, the detailed implementation steps of step S2 include:

[0084] Step S21: standardizing the basic information of the user to obtain standardized user information;

[0085] Step S22: encapsulating the standardized user information to generate an information data packet;

[0086] Step S23: performing hash coding processing on the information data packet to obtain user information coding data;

[0087] Step S24: Serializing the user information encoded data to generate a hash code sequence;

[0088] Step S25: Perform multi-dimensional matrix space mapping on the hash code sequence to obtain a multi-dimensional information coding matrix.

[0089] In this embodiment, the acquired basic user information is cleaned to remove invalid data, repair erroneous data, and ensure the consistency and integrity of the data. The cleaned basic user information is standardized to conform to a specific data format and specification. The standardized user information is encapsulated into a data packet. The encapsulation process can be designed according to system requirements and communication protocols, including determining the structure, fields and data types of the data packet. The data packet should contain sufficient information to represent the basic information of the user. The encapsulated data packet is used to generate an information data packet. The information data packet can be in binary format, JSON format, XML format, etc. The specific format depends on the requirements of the system. The information data packet is hash-coded. Hash coding is an algorithm that maps data of any length to a hash value of a fixed length. Through hash coding, Convert the information data packet into unique coded data, and serialize the user information coded data. Serialization is the process of converting a data structure or object into a linear byte sequence for use in storage or transmission. An appropriate serialization algorithm can be used to convert the user information coded data into a serialized byte sequence. Map the hash coded sequence to a multidimensional matrix space. A multidimensional matrix space is a mathematical space composed of multiple dimensions and is used to represent and process high-dimensional data. A specific mapping algorithm can be used to map the hash coded sequence to a multidimensional matrix space, such as principal component analysis (PCA) or a manifold learning algorithm (such as t-SNE). After mapping the hash coded sequence to a multidimensional matrix space, a multidimensional information coding matrix is ​​obtained, which can represent the position and relationship of multiple features or attributes of user information in a high-dimensional space.

[0090] In this embodiment, refer to Figure 4 , is a flowchart of detailed implementation steps of step S3. In this embodiment, the detailed implementation steps of step S3 include:

[0091] Step S31: performing data block processing on the multi-dimensional information coding matrix to obtain a plurality of information matrix blocks;

[0092] Step S32: generating multiple random keys based on the information matrix block;

[0093] Step S33: Use a random key to slice and encrypt the information matrix block to obtain a slice encryption matrix.

[0094] In this embodiment, the multidimensional information coding matrix is ​​subjected to data block processing. Data block processing is a process of cutting a matrix according to certain rules to form multiple sub-matrix blocks. Different block algorithms can be used, such as blocking by rows, blocking by columns, blocking by specified sizes, etc. The sub-matrix blocks obtained after data block processing are used as information matrix blocks. Each information matrix block contains a portion of data of the original multidimensional information coding matrix. A random key is generated for each information matrix block. The random key is a randomly generated key used to encrypt and decrypt data. It can be generated using a cryptographically secure pseudo-random number generator. A unique random key is generated for each information matrix block to ensure that each information matrix block has a different key. Each information matrix block is sliced ​​and encrypted using the corresponding random key. Slice encryption is an encryption method that divides data into multiple fragments and independently encrypts each fragment. A symmetric encryption algorithm (such as AES) can be used to encrypt each information matrix block. The encrypted information matrix blocks are combined together to form a slice encryption matrix. The slice encryption matrix is ​​a matrix containing multiple encrypted fragments, and each fragment corresponds to the encryption result of an information matrix block.

[0095] In this embodiment, the slice encryption described in step S33 is specifically:

[0096] Slicing the multiple information matrix blocks to obtain multiple information matrix slices;

[0097] Take the first information matrix slice, perform symmetric encryption with the first random key, and obtain the first symmetric encryption matrix slice;

[0098] Take the second information matrix slice, and perform symmetric encryption with the second random key to obtain a second symmetric encryption matrix slice;

[0099] Repeat the above operation until all information matrix slices are encrypted;

[0100] All symmetric encryption matrix slices are obfuscated and synthesized to obtain a slice encryption matrix.

[0101] In this embodiment, each information matrix block is sliced. Slicing is a process of dividing a matrix block according to certain rules to form multiple small matrix slices. Different slicing algorithms can be used, such as slicing by row, slicing by column, slicing by specified size, etc. The small matrix slices obtained after slicing are used as information matrix slices. Each information matrix slice contains a portion of data of the original information matrix block. Each information matrix slice is symmetrically encrypted using a corresponding random key. Symmetric encryption is an encryption method that uses the same key for encryption and decryption. A symmetric encryption algorithm (such as AES) can be used to encrypt each information matrix slice. For each remaining information matrix slice, a corresponding random key is used for symmetric encryption to obtain a symmetric encrypted matrix slice. The above steps are repeated until all information matrix slices are symmetric encrypted. All symmetric encrypted matrix slices are obfuscated and synthesized to form a slice encryption matrix. Obfuscated synthesis is a process of combining multiple matrix slices according to certain rules to form a mixed matrix. Different synthesis algorithms can be used, such as sequential synthesis, position synthesis, etc., to obtain an obfuscated synthesized matrix as a slice encryption matrix. The slice encryption matrix is ​​a matrix containing multiple encrypted fragments, and each fragment corresponds to the encryption result of an information matrix slice.

[0102] In this embodiment, step S4 includes the following steps:

[0103] Step S41: Obtain charging pile node data;

[0104] Step S42: Perform smart contract analysis on charging pile node data to generate smart contract logic;

[0105] Step S43: performing contract integration editing based on smart contract logic to generate a smart contract;

[0106] Step S44: Decentralize the charging pile node data through smart contracts to build a blockchain network.

[0107] In this embodiment, through each charging pile node, its relevant data is obtained. This data may include the status information of the charging pile, charging records, power consumption, etc. The charging pile node data is analyzed to determine the smart contract logic that needs to be implemented. This logic may include the charging pile billing rules, user authority management, transaction verification, etc. According to the analysis results, the data structure, function and operation process of the smart contract are designed. These designs need to consider the input and output of the charging pile node data, as well as the interaction with other smart contracts. The smart contract code is written using a smart contract programming language (such as Solidity) to implement the designed smart contract logic. Based on the existing smart contract logic, contract integration editing is performed, including combining different smart contracts together to achieve more complex functions. Smart contract editing tools (such as Truffle) are used. , Remix, etc.), open the existing smart contract code, and perform editing and integration operations. You can add new contract files, call functions of other contracts, etc. After editing, compile the contract code to generate deployable contract bytecode, and then deploy the contract bytecode to the target blockchain network for subsequent use and interaction. Deploy the generated smart contract to the selected blockchain network, including publishing the contract bytecode to the blockchain and generating a contract address. Integrate the charging pile node with the blockchain network. This can be achieved through the software or hardware adapter of the charging pile node, enabling it to communicate and interact with the blockchain network. The charging pile node data is stored through smart contracts, and the data verification and audit functions can be realized through smart contracts. The decentralized nature of the blockchain ensures the security and credibility of the data.

[0108] In this embodiment, a data information security encryption system for a charging pile is provided, which is used to execute the data information security encryption method for the charging pile as described above, including:

[0109] The communication module is used to obtain basic user information and vehicle communication protocol data; and to build a secure communication channel based on the vehicle communication protocol data;

[0110] The hash coding module is used to encapsulate the basic information of the user and generate an information data packet; the information data packet is hash-coded to obtain a multi-dimensional information coding matrix;

[0111] The slicing encryption module is used to perform data block processing on the multi-dimensional information coding matrix to obtain multiple information matrix blocks; and to perform slicing encryption on the multiple information matrix blocks to obtain a slicing encryption matrix;

[0112] The blockchain network module is used to obtain charging pile node data; a decentralized network is constructed based on the charging pile node data to build a blockchain network;

[0113] The distortion compensation module is used to obtain an encrypted matrix code package based on the slice encryption matrix; perform pre-distortion compensation processing on the encrypted matrix code package to obtain a distortion compensated code package; and use the blockchain network to distribute the distortion compensated code package based on a secure communication channel to build an encrypted code blockchain network and complete the secure encryption operation.

[0114] The present invention obtains user basic information and vehicle communication protocol data through a communication module, provides necessary input for subsequent data encryption, and constructs a secure communication channel to ensure the security and integrity of data during transmission, prevent data leakage and tampering, encapsulates user basic information to generate an information data packet, and ensures the integrity and readability of the data. Hash coding processing can encrypt the information data packet to generate a multi-dimensional information coding matrix, increase the security and complexity of the data, perform data block processing on the multi-dimensional information coding matrix, divide the data into multiple information matrix blocks, and improve the processing efficiency and security of the data. Slice encryption encrypts each information matrix block to generate a slice encryption matrix, protects the privacy and confidentiality of the data, obtains charging pile node data and constructs a decentralized network to form a blockchain network, and provides a secure storage and transmission environment. The establishment of the blockchain network ensures the reliability and integrity of the data and prevents data tampering and loss. An encrypted matrix coding package is obtained based on the slice encryption matrix to ensure the integrity and accuracy of the data, pre-distortion compensation processing is performed, and the encrypted matrix coding package is corrected and restored to improve the reliability and operability of the data. The blockchain network is used for distributed storage to ensure the security and reliability of the distortion compensation coding package.

[0115] Therefore, the embodiments should be regarded as illustrative and non-restrictive from all points, and the scope of the present invention is limited by the appended claims rather than the above description, and it is therefore intended that all changes falling within the meaning and range of equivalent elements of the application documents are included in the present invention.

[0116] The above is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features invented herein.

Claims

1. A data information security encryption method for a charging pile, characterized in that: The following steps are involved: Step S1: Obtain basic user information and vehicle communication protocol data; build a secure communication channel based on the vehicle communication protocol data; Step S2: Encapsulate the user's basic information to generate an information data packet; Performing hash coding processing on the information data packet to obtain a multi-dimensional information coding matrix; Step S3: performing data block processing on the multi-dimensional information coding matrix to obtain a plurality of information matrix blocks; Slice and encrypt multiple information matrix blocks to obtain a slice encryption matrix; Step S4: Obtain charging pile node data; construct a decentralized network based on the charging pile node data to build a blockchain network; Step S5: obtaining an encrypted matrix coding package based on the slice encryption matrix; performing pre-distortion compensation processing on the encrypted matrix coding package to obtain a distortion compensation coding package; and performing distributed storage of the distortion compensation coding package using a blockchain network based on a secure communication channel to construct an encrypted coding blockchain network and complete the secure encryption operation.

2. The method according to claim 1, characterized in that The specific steps of step S1 are: Step S11: when the charging pile interface is connected to the vehicle, basic user information and vehicle communication protocol data are obtained; Step S12: performing communication bandwidth analysis based on the vehicle communication protocol data to obtain communication bandwidth data; Step S13: Calculate the communication bandwidth data for time delay to obtain communication delay data; Step S14: dividing the timing window based on the communication delay data to generate a plurality of time slot units; Step S15: dynamically allocating time slots to multiple time slot units to generate dynamic time slot allocation data; Step S16: Use the dynamic time slot allocation data to perform channel frequency division multiplexing on the vehicle communication protocol data to build a secure communication channel.

3. The method according to claim 1, characterized in that The specific steps of step S2 are: Step S21: standardizing the basic information of the user to obtain standardized user information; Step S22: encapsulating the standardized user information to generate an information data packet; Step S23: performing hash coding processing on the information data packet to obtain user information coding data; Step S24: Serializing the user information encoded data to generate a hash code sequence; Step S25: Perform multi-dimensional matrix space mapping on the hash code sequence to obtain a multi-dimensional information coding matrix.

4. The method according to claim 1, characterized in that The specific steps of step S3 are: Step S31: performing data block processing on the multi-dimensional information coding matrix to obtain a plurality of information matrix blocks; Step S32: generating multiple random keys based on the information matrix block; Step S33: Use a random key to slice and encrypt the information matrix block to obtain a slice encryption matrix.

5. The method according to claim 4, characterized in that The slice encryption described in step S33 is specifically as follows: Slicing the multiple information matrix blocks to obtain multiple information matrix slices; Take the first information matrix slice, perform symmetric encryption with the first random key, and obtain the first symmetric encryption matrix slice; Take the second information matrix slice, and perform symmetric encryption with the second random key to obtain a second symmetric encryption matrix slice; Repeat the above operation until all information matrix slices are encrypted; All symmetric encryption matrix slices are obfuscated and synthesized to obtain a slice encryption matrix.

6. The method according to claim 1, characterized in that The specific steps of step S4 are: Step S41: Obtain charging pile node data; Step S42: Perform smart contract analysis on charging pile node data to generate smart contract logic; Step S43: performing contract integration editing based on smart contract logic to generate a smart contract; Step S44: Decentralize the charging pile node data through smart contracts to build a blockchain network.

7. A data information security encryption system for a charging pile, characterized in that: include: Communication module, used to obtain basic user information and vehicle communication protocol data; Build a secure communication channel based on vehicle communication protocol data; Hash coding module, used to encapsulate basic user information and generate information data packets; Performing hash coding processing on the information data packet to obtain a multi-dimensional information coding matrix; A slicing encryption module is used to perform data block processing on the multi-dimensional information encoding matrix to obtain multiple information matrix blocks; Slice and encrypt multiple information matrix blocks to obtain a slice encryption matrix; The blockchain network module is used to obtain charging pile node data; a decentralized network is constructed based on the charging pile node data to build a blockchain network; The distortion compensation module is used to obtain an encrypted matrix code package based on the slice encryption matrix; perform pre-distortion compensation processing on the encrypted matrix code package to obtain a distortion compensated code package; and use the blockchain network to distribute the distortion compensated code package based on a secure communication channel to build an encrypted code blockchain network and complete the secure encryption operation.

Citation Information

Patent Citations

  • Charging network operation method of charging post for electric vehicles

    CN109345714A

  • KR20200000960A