Block chain-based power core data traceability system

By using blockchain and ECC encryption algorithms in the power data traceability system, the problem of poor transmission security is solved, decentralized storage and secure transmission of data are realized, data integrity and traceability are ensured, and data processing is improved efficiency.

CN118944922APending Publication Date: 2024-11-12GANSU ELECTRIC POWER INFORMATION COMM +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410971355.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-19
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

In the prior art, the transmission security of power data traceability is poor and is easily breached and caused by information data leakage.

Method used

Adopt a blockchain-based power core data traceability system, including data acquisition module, data verification module, data encryption module, blockchain node and user module, and encrypt data using ECC encryption algorithm and provide it through blockchain nodes. Decentralized data storage and transmission ensures data security and traceability.

Benefits of technology

It improves the security and stability of data, ensures that the data is not cracked and leaked during transmission, and records are difficult to tamper with. The data source and change process can be clearly traced, improving data processing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118944922A_ABST
    Figure CN118944922A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of power field security data management, and particularly discloses a blockchain-based power core data traceability system, which comprises a data acquisition module, a data checking module, a data encryption module, a blockchain node, a data storage module and a user module, the data acquisition module is used for acquiring data from a data source; the data checking module is used for checking and checking the data acquired by the data acquisition module to ensure that the required data is not missing; the data encryption module is used for carrying out encryption processing on data before uploading and downlink; the block chain node is used for providing a network endpoint for data transmission; the data storage module is used for storing data of the block chain nodes; and the user module extracts data in the blockchain node, and can query the content according to the keyword and trace the query content. The data processing efficiency is improved, the security of data transmission is ensured, and the data is prevented from being cracked and leaked in the transmission process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power field safety data management, and in particular to a power core data tracing system based on blockchain. Background Art

[0002] At present, traditional data traceability systems generally store data in a centralized manner. The traceability information is vulnerable to internal and external attacks and tampering, and there are problems such as single point failures, which threaten the security of the data.

[0003] In the existing technology, blockchain is a decentralized trust management data structure that has developed with the Bitcoin system. The decentralized mechanism of blockchain can effectively improve the centralized state of data storage. Its characteristics such as trust creation based on cryptography, difficulty in tampering and traceability of data provide a safe and reliable environment for data tracing.

[0004] However, in the existing technology, the transmission security of data tracing is poor and it is easy to be cracked by brute force, resulting in information data leakage. Summary of the invention

[0005] The purpose of the present invention is to provide a blockchain-based power core data traceability system, which aims to solve the technical problems in the prior art that data traceability has poor transmission security and is easily cracked by brute force, resulting in information data leakage.

[0006] To achieve the above-mentioned purpose, the present invention adopts a blockchain-based power core data traceability system, which includes a data acquisition module, a data verification module, a data encryption module, a blockchain node, a data storage module and a user module;

[0007] The data acquisition module is used to obtain data from a data source;

[0008] The data checking module is used to check the data acquired by the data acquisition module to ensure that the required data is not missing;

[0009] The data encryption module is used to encrypt data before uploading and before downloading;

[0010] The blockchain node is used to provide a network endpoint for data transmission;

[0011] The data storage module is used to store the data of the blockchain node;

[0012] The user module extracts data from the blockchain node, and can search for content based on keywords and trace the source of the searched content.

[0013] Among them, the user module includes a user login module, a data query module and an identity verification module. The user login module is used to verify the user identity, the data query module is used to perform keyword query and trace the data, and the identity verification module is used to verify the query authority of the current user and protect the data of the blockchain node.

[0014] The data encryption module uses an ECC encryption algorithm to encrypt data, and the encryption and decryption process of the ECC encryption algorithm follows the principle of reversible query.

[0015] The encryption algorithm of the data encryption module includes the following steps:

[0016] Select the elliptic curve;

[0017] Choose a base point and randomly select an integer as the private key;

[0018] Calculate the public key through the private key and the base point;

[0019] Select a random number r as the random number in the encryption process;

[0020] Encrypt plaintext using random numbers.

[0021] In the step of selecting an elliptic curve, an elliptic curve E is selected, and the equation of the elliptic curve is: 2 =x 3 +ax+b(mod q), and satisfies 4a 3 +27b 2 ≠0(mod q), ensuring that the curve has no singular points.

[0022] In the step of selecting a base point, a point G is selected on the elliptic curve E as the base point, the order n of the base point G is a large prime number, and there exists a smallest positive integer n such that nG=O, where O is the unit element on the elliptic curve.

[0023] The private key is k, and k<n.

[0024] The calculation formula of the public key is P=kG.

[0025] In the step of encrypting the plaintext, the point R=rG is calculated, the encrypted plaintext is M, which is converted into a point on the elliptic curve E, and S=rP+M is calculated, where P is the public key of the recipient, and the encrypted ciphertext is (R, S).

[0026] The beneficial effects of the blockchain-based power core data traceability system of the present invention are as follows: the power core data is traced by blockchain, which can achieve the effect of decentralization and improve data security. The use of the blockchain node improves the stability and security of the system, and the data on the blockchain node is difficult to tamper with once recorded. It remains transparent and has strong traceability throughout the entire process of generation, transmission, storage and access. Each data change will be recorded in detail with a timestamp, so that the source, flow and change process of the data can be clearly traced, improving data processing efficiency. The transmitted data is encrypted when uploading and downloading data to ensure the security of data transmission and prevent data from being cracked and leaked during transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0028] Figure 1 It is a system structure diagram of a blockchain-based power core data traceability system of the present invention.

[0029] 1-data collection module, 2-data verification module, 3-data encryption module, 4-blockchain node, 5-data storage module, 6-user module, 7-user login module, 8-data query module, 9-identity verification module. DETAILED DESCRIPTION

[0030] See also Figure 1 , the present invention provides a blockchain-based power core data traceability system, including a data acquisition module 1, a data verification module 2, a data encryption module 3, a blockchain node 4, a data storage module 5 and a user module 6;

[0031] The data acquisition module 1 is used to obtain data from a data source;

[0032] The data checking module 2 is used to check the data acquired by the data acquisition module 1 to ensure that the required data is not missing;

[0033] The data encryption module 3 is used to encrypt data before uploading and before downloading;

[0034] The blockchain node 4 is used to provide a network endpoint for data transmission;

[0035] The data storage module 5 is used to store the data of the blockchain node 4;

[0036] The user module 6 extracts the data in the blockchain node 4, and can search for content based on keywords and trace the source of the searched content.

[0037] Furthermore, the user module 6 includes a user login module 7, a data query module 8 and an identity verification module 9. The user login module 7 is used to verify the user identity, the data query module 8 is used to perform keyword query and traceability on the data, and the identity verification module 9 is used to verify the query authority of the current user and protect the data of the blockchain node 4.

[0038] Furthermore, the data encryption module 3 uses an ECC encryption algorithm to encrypt data, and the encryption and decryption process of the ECC encryption algorithm follows the principle of reversible query.

[0039] Furthermore, the encryption algorithm of the data encryption module 3 includes the following steps:

[0040] Select the elliptic curve;

[0041] Choose a base point and randomly select an integer as the private key;

[0042] Calculate the public key through the private key and the base point;

[0043] Select a random number r as the random number in the encryption process;

[0044] Encrypt plaintext using random numbers.

[0045] Furthermore, in the step of selecting an elliptic curve, an elliptic curve E is selected, and the elliptic curve equation is: 2 =x 3 +ax+b(mod q), and satisfies 4a 3 +27b 2 ≠0(mod q), ensuring that the curve has no singular points.

[0046] Furthermore, in the step of selecting a base point, a point G is selected on the elliptic curve E as a base point, the order n of the base point G is a large prime number, and there exists a smallest positive integer n such that nG=O, where O is the identity element on the elliptic curve.

[0047] Furthermore, the private key is k, and k<n.

[0048] Furthermore, the calculation formula of the public key is P=kG.

[0049] Furthermore, in the step of encrypting the plaintext, the point R=rG is calculated, the encrypted plaintext is M, which is converted into a point on the elliptic curve E, and S=rP+M is calculated, where P is the public key of the recipient, and the encrypted ciphertext is (R, S).

[0050] Furthermore, the data query module 8 includes a query entry, a query processing logic, a data tracing engine, a result display module and an optimization module;

[0051] The query entry is used for the user to input query conditions to perform keyword query on the data;

[0052] The query processing logic is used to parse the query conditions input by the user, and retrieve corresponding data from the blockchain node 4 and the data storage module 5 according to the query conditions;

[0053] The data tracing engine is responsible for tracking the source and flow of data. It tracks all intermediate links from the generation of data to the current state according to the data ID or other characters in the query results. The data tracing engine needs to maintain a complete data supply chain to facilitate the rapid location of the source and flow path of data when needed.

[0054] The result display module visually presents the data query results to the user in the form of text, icons, tables and traceability diagrams;

[0055] The optimization module is used to improve the query efficiency of data tracing and improve the response speed of tracing queries.

[0056] Furthermore, the identity verification module 9 includes a user authentication module, a role management module, a permission management module and permission verification logic;

[0057] The user authentication module is used to verify the user's identity information to confirm the accuracy of the user's identity;

[0058] The role management module is used to define and manage different roles in the system, and allows system administrators to create, modify and delete roles, and assign corresponding permissions to each role;

[0059] The permission management module is used to define and manage various permissions in the system, including read, write and delete operations, and provide an efficient query and comparison mechanism;

[0060] The permission checking logic determines whether the user's permission is met based on the user's identity, role, and requested operation or resource. If the permission request is met, the operation or access is performed; otherwise, the user request is rejected.

[0061] In this embodiment, data is collected by the data acquisition module 1, and the data collected in the data acquisition module 1 is processed and checked by the data verification module 2 to ensure that the required data is not missing, and to check whether the data is the data content required by the system, and the required data is encrypted by the encryption module and transmitted to the blockchain node 4, and the data storage module 5 stores the data. When tracing the data, the user login module 7 is used to log in, and the query keywords are input into the data query module 8, and the identity verification module 9 verifies and identifies the query content and user authority, and transmits the relevant query content within the user authority to the blockchain node 4 and the data storage module 5 for query. The query result is directly encrypted by the data storage module 5 and transmitted back to the user module 6, and the query result is displayed by the result display module;

[0062] The use of blockchain to trace the core power data can achieve the effect of decentralization and improve data security. The use of the blockchain node 4 improves the stability and security of the system. Once the data on the blockchain node 4 is recorded, it is difficult to tamper with. It remains transparent and traceable throughout the entire process of generation, transmission, storage and access. Each data change will be recorded in detail with a timestamp, so that the source, flow and change process of the data can be clearly traced, improving data processing efficiency. The transmitted data is encrypted when uploading and downloading data to ensure the security of data transmission and prevent data from being cracked and leaked during transmission.

[0063] What is disclosed above is only a preferred embodiment of the present invention, and it certainly cannot be used to limit the scope of rights of the present invention. Ordinary technicians in this field can understand that all or part of the processes of the above embodiment and equivalent changes made according to the claims of the present invention still fall within the scope of the invention.

Claims

1. A blockchain-based power core data traceability system, characterized in that: It includes data collection module, data verification module, data encryption module, blockchain node, data storage module and user module; The data acquisition module is used to obtain data from a data source; The data checking module is used to check the data acquired by the data acquisition module to ensure that the required data is not missing; The data encryption module is used to encrypt data before uploading and before downloading; The blockchain node is used to provide a network endpoint for data transmission; The data storage module is used to store the data of the blockchain node; The user module extracts data from the blockchain node, and can search for content based on keywords and trace the source of the searched content.

2. The power core data traceability system based on blockchain as claimed in claim 1, characterized in that: The user module includes a user login module, a data query module and an identity verification module. The user login module is used to verify the user identity, the data query module is used to perform keyword query and traceability on the data, and the identity verification module is used to verify the query authority of the current user and protect the data of the blockchain node.

3. The power core data traceability system based on blockchain as claimed in claim 1, characterized in that: The data encryption module uses the ECC encryption algorithm to encrypt data, and the encryption and decryption process of the ECC encryption algorithm follows the principle of reversible query.

4. The power core data traceability system based on blockchain as claimed in claim 3 is characterized in that: The encryption algorithm of the data encryption module includes the following steps: Select the elliptic curve; Choose a base point and randomly select an integer as the private key; Calculate the public key through the private key and the base point; Select a random number r as the random number in the encryption process; Encrypt plaintext using random numbers.

5. The power core data traceability system based on blockchain as claimed in claim 4 is characterized in that: In the step of selecting an elliptic curve, select an elliptic curve E, the equation of the elliptic curve is: 2 =x 3 +ax+b(modq), and satisfies 4a 3 +27b 2 ≠0(mod q), ensuring that the curve has no singular points.

6. The power core data traceability system based on blockchain as claimed in claim 5, characterized in that: In the step of selecting a base point, a point G is selected on the elliptic curve E as the base point. The order n of the base point G is a large prime number. There exists a smallest positive integer n such that nG=O, where O is the identity element on the elliptic curve.

7. The power core data traceability system based on blockchain as claimed in claim 6 is characterized in that: The private key is k, and k<n.

8. The power core data traceability system based on blockchain as claimed in claim 7 is characterized in that: The calculation formula of the public key is P=kG.

9. The power core data traceability system based on blockchain as claimed in claim 8, characterized in that: In the step of encrypting the plaintext, the point R=rG is calculated, the encrypted plaintext is M, which is converted into a point on the elliptic curve E, and S=rP+M is calculated, where P is the public key of the recipient, and the encrypted ciphertext is (R, S).