Information security protection method and system for energy power transaction platform

By employing zero-knowledge proofs, blockchain technology, and dual homomorphic encryption in the energy and electricity trading platform, the data security and reliability issues in traditional platforms have been resolved, achieving user privacy protection, transaction legality, and data immutability, thereby enhancing the system's security and credibility.

CN118965399AActive Publication Date: 2024-11-15STATE GRID HEBEI ELECTRIC POWER CO LTD +2

Patent Information

Application Number
CN202411106429.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-13
Publication Date
2024-11-15
Estimated Expiration
2044-08-13

AI Technical Summary

Technical Problem

Traditional energy and electricity trading platforms have complex network structures that increase the attack surface, complex data transmission paths, and difficulty in ensuring the integrity and confidentiality of transaction data. Furthermore, the reliability of identity authentication and access control is insufficient, leading to a high risk of data leakage and unauthorized access.

Method used

Zero-knowledge proof is used to verify the pseudonym data of the user's identity. The data is stored in a distributed consortium blockchain using blockchain technology and subjected to double homomorphic encryption (Paillier semi-homomorphic encryption and BGV full homomorphic encryption). Combined with the Shamir secret sharing mechanism and the BGLS short group signature algorithm, the secure distribution of keys and the trusted storage and decryption of data are achieved.

Benefits of technology

To ensure user privacy protection, enhance anonymity, prevent data tampering, reduce transaction conflicts, improve the legality and reliability of transactions, achieve data immutability and transparency, enhance key security and protection capabilities, and ensure data integrity and trustworthiness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118965399A_ABST
    Figure CN118965399A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of information security, in particular to an information security protection method and system for an energy power transaction platform. The method comprises the following steps: acquiring real identity data of a user, and performing zero-knowledge proof verification by using the real identity data of the user and an energy power transaction platform so as to obtain identity pseudonym data of the user; the method comprises the following steps: acquiring user power transaction data based on user identity pseudonym data, performing transaction conflict detection and arbitration, storing evidence on a distributed alliance chain based on a block chain technology, and performing dual homomorphic encryption to generate ciphertext data, the first homomorphic encryption of the dual homomorphic encryption being Paillier semi-homomorphic encryption, the second homomorphic encryption of the dual homomorphic encryption being Paillier semi-homomorphic encryption, and the third homomorphic encryption of the dual homomorphic encryption being Paillier semi-homomorphic encryption; the second homomorphic encryption is BGV full homomorphic encryption. Through zero-knowledge proof, the user can prove the legality of the own identity to the transaction platform on the premise of not leaking the real identity, so that the privacy protection of the user is enhanced, and the identity authentication security is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information security technology, and in particular to an information security protection method and system for an energy power trading platform. Background Art

[0002] The energy and power trading platform is a complex system that allows power suppliers and consumers to trade power through market mechanisms. This is an important part of the power market system. It plays an important role in building an effective competitive market structure and market system and forming a mechanism in which energy prices are mainly determined by the market. The spot market includes the day-ahead power market and the real-time power market, which are responsible for the immediate sale and purchase of power to ensure the real-time balance of the power system. In contrast to the spot market, medium- and long-term transactions involve wholesale power transactions for multiple years, years, seasons, months, weeks, and multiple days. This trading method provides stability and predictability for market participants, helps power companies to formulate long-term production plans, and provides long-term price expectations for power users. Market participants include power generation companies, power grid companies, and power users. Power generation companies are suppliers, power grid companies are responsible for the transmission and distribution of power, and power users participate in market transactions according to their own needs.

[0003] However, the information security protection methods of traditional energy and power trading platforms often have the following problems: First, energy and power trading platforms usually involve multiple participants, including power plants, transmission companies, distribution companies and consumers. This complex network structure makes the data transmission path complicated, increasing the attack surface and potential security vulnerabilities. Secondly, the integrity and confidentiality of transaction data are crucial. Once the data is tampered with or leaked, it will have a serious impact on the fairness of the transaction and the interests of the participants. In addition, ensuring that only authorized users can access the trading platform and related data is an important security requirement. Complex identity authentication and access control mechanisms require high reliability and security to prevent unauthorized access and data leakage. Summary of the invention

[0004] Based on this, it is necessary for the present invention to provide an information security protection method and system for an energy and power trading platform to solve at least one of the above-mentioned technical problems.

[0005] To achieve the above purpose, an information security protection method for an energy power trading platform includes the following steps:

[0006] Step S1: Obtain the user's real identity data, and use the user's real identity data to perform zero-knowledge proof verification with the energy and power trading platform to obtain the user's pseudonym identity data;

[0007] Step S2: Based on the user identity pseudonym data, the user power transaction data is obtained and transaction conflict detection and arbitration are performed, the evidence is stored on a distributed alliance chain based on blockchain technology, and double homomorphic encryption is performed to generate ciphertext data, wherein the first homomorphic encryption of the double homomorphic encryption is Paillier semi-homomorphic encryption, and the second homomorphic encryption is BGV full homomorphic encryption;

[0008] Step S3: Share the private key of Paillier semi-homomorphic encryption with each trusted institution in a hierarchical manner through the Shamir secret sharing mechanism to generate an incomplete key set; use the BGLS short group signature algorithm to sign the ciphertext data to obtain the group signature data;

[0009] Step S4: Verify the ciphertext data according to the group signature data to obtain the verification result data; when the verification result data shows that the verification is successful, decrypt the ciphertext data according to the incomplete key set to obtain the plaintext data; when the verification result data shows that the verification fails, trace the source and repair the vulnerability.

[0010] The present invention uses zero-knowledge proof verification, and users do not need to reveal their real identity information, thereby protecting the privacy of users; by obtaining user identity pseudonym data, users can participate in the transaction process as anonymous identities, thereby enhancing the anonymity of users. Through double homomorphic encryption, the user's transaction data is protected during storage and calculation, thereby protecting the user's data privacy; through the detection and arbitration of user transaction data, the legality and reliability of transactions can be ensured, the occurrence of transaction conflicts can be reduced, and effective solutions can be provided; the distributed alliance chain based on blockchain technology can provide credible data evidence, ensuring the immutability and transparency of transaction data. The private key is shared hierarchically to multiple trusted institutions through the Shamir secret sharing mechanism, thereby enhancing the security and protection capabilities of the key; the ciphertext data is signed using the BGLS short group signature algorithm, thereby ensuring the validity and verifiability of the signature, and realizing multi-party collaborative verification. By verifying the group signature data, the integrity and credibility of the ciphertext data can be ensured, and data tampering and forgery can be effectively prevented; when the verification result shows that the verification is successful, the ciphertext data is decrypted using the incomplete key set to obtain the plaintext data, providing a basis for subsequent data analysis and application; when the verification result shows that the verification fails, the source of the security vulnerability is traced and repaired to improve the security and reliability of the system. In summary, the above steps include privacy protection, anonymity, data privacy protection, transaction conflict detection and arbitration, data storage, key security, group signature mechanism, data integrity and credibility, data decryption, and security vulnerability repair. These effects help protect user privacy, ensure data security, improve transaction reliability, and increase the transparency and credibility of the system.

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

[0012] Step S11: Obtain the user's real identity data;

[0013] Step S12: Verify the authenticity of the user's real identity data through a third-party authentication agency, and generate a unique user ID and authentication credential data for the verified user's real identity data;

[0014] Step S13: using the authentication credential data as a commitment to conduct identity authentication with the energy and power trading platform based on zero-knowledge proof without revealing the unique user ID, thereby obtaining identity authentication result data;

[0015] Step S14: After determining that the identity authentication result data is a valid identity, an anonymous identity identifier is generated for the user and stored in conjunction with the unique user ID, thereby obtaining user identity pseudonym data.

[0016] The present invention can ensure the accuracy and credibility of the subsequent verification and authentication process by obtaining the real identity data of the user; the real identity data of the user is verified by a third-party certification body, which increases the credibility and authority of the identity authentication; generating a unique user ID can ensure that each user has a unique identification in the system, which is convenient for subsequent identity authentication and transaction processing. By using zero-knowledge proof, the user does not need to disclose the unique user ID, while ensuring the accuracy of identity authentication and protecting the privacy of the user; through identity authentication based on zero-knowledge proof, the accuracy and credibility of the verification result can be ensured. By generating an anonymous identity identifier, the user can participate in the transaction process as an anonymous identity, which enhances the anonymity of the user; the anonymous identity identifier is bound and stored with the unique user ID, which ensures the correlation between the anonymous identity and the real identity, and facilitates subsequent data processing and tracking. In summary, the above steps include data accuracy, trusted identity authentication, unique user ID generation, privacy protection, identity authentication accuracy, anonymity, and data correlation. These effects help to ensure the accuracy and privacy protection of user identity, and realize trusted identity authentication and anonymous transactions in the energy and power trading platform.

[0017] Preferably, step S2 comprises the following steps:

[0018] Step S21: extracting the transaction records submitted by the user according to the user identity pseudonym data through the energy power trading platform, thereby obtaining the user power trading data, wherein the user power trading data includes the user pseudonym data, transaction sequence number data, power grid operator data, user power consumption data, transaction amount data and transaction time data;

[0019] Step S22: Detecting transaction conflicts on the user's power transaction data and conducting arbitration to obtain conflict-free transaction data;

[0020] Step S23: Upload the conflict-free transaction data to the distributed alliance chain based on blockchain technology and store it, thereby generating transaction evidence data;

[0021] Step S24: using the Paillier semi-homomorphic encryption algorithm to perform a first homomorphic encryption on the conflict-free transaction data, thereby obtaining semi-homomorphic encrypted ciphertext data;

[0022] Step S25: Perform a second homomorphic encryption on the semi-homomorphic encrypted ciphertext data using the BGV fully homomorphic encryption algorithm, thereby obtaining fully homomorphic encrypted ciphertext data;

[0023] Step S26: Bind and package the Paillier semi-homomorphic encrypted public key, the BGV fully homomorphic encrypted public key, and the fully homomorphic encrypted ciphertext data to obtain the ciphertext data.

[0024] The present invention extracts user power transaction data according to user identity pseudonym data, thereby ensuring the accuracy and integrity of data extraction. By detecting user power transaction data, potential transaction conflicts can be discovered in a timely manner to ensure the legitimacy and reliability of transactions; through the arbitration process, transaction conflicts are resolved to ensure the consistency and credibility of transaction data. By uploading transaction data to a distributed alliance chain based on blockchain technology for evidence storage, the immutability and transparency of transaction data are ensured, and the credibility and traceability of data are improved. By semi-homomorphic encryption, conflict-free transaction data is encrypted to protect the privacy and confidentiality of transaction data. By fully homomorphic encryption, ciphertext data is further encrypted to enhance the security and protection capabilities of data. By binding and packaging the semi-homomorphic encrypted public key, the fully homomorphic encrypted public key and the ciphertext data, the integrity and consistency of the relevant data are ensured. In summary, the above steps include data extraction accuracy, transaction conflict detection and arbitration, data evidence storage, data privacy protection, data security and data integration, etc. These effects help to protect the privacy and security of transaction data, ensure the legitimacy and credibility of transactions, and provide traceable transaction evidence storage.

[0025] Preferably, step S22 includes the following steps:

[0026] Step S221: Compare the user pseudonym data and the transaction sequence number data. When the same user initiates two transactions with different sequence numbers but identical other fields, it is determined to be a transaction double payment conflict.

[0027] Step S222: Compare the transaction time data and the transaction sequence number data. If there is a transaction with an earlier timestamp but a later sequence number, or a transaction with the same timestamp but a different sequence number, it is determined to be a transaction sequence conflict.

[0028] Step S223: comparing the user's electricity consumption data and transaction amount data, if there is a mismatch between the electricity consumption and the transaction amount, or if the transaction is extracted in an irregular manner according to the preset validity conditions, it is determined as a transaction validity conflict;

[0029] Step S224: removing any duplicate payment transactions from the user power transaction data with double payment conflicts, thereby obtaining non-duplicate transaction data;

[0030] Step S225: adjusting and sorting the non-duplicate transaction data with transaction sequence conflicts based on the sequence numbers of the timestamps, and removing the transactions with the same timestamps but different sequence numbers, thereby obtaining transaction data with no sequence conflicts;

[0031] Step S226: Eliminate the transaction data without order conflicts that have transaction validity conflicts, and give invalid reminders to the user, thereby obtaining conflict-free transaction data.

[0032] By comparing the user pseudonym data and the transaction sequence number data, the present invention can timely detect two transactions initiated by the same user with different sequence numbers but completely identical other fields, thereby avoiding repeated payments and inconsistent transactions. By comparing the transaction time data and the transaction sequence number data, transactions with a time stamp first but a sequence number later or transactions with the same time stamp but different sequence numbers can be detected to ensure the order and consistency of transactions. By comparing the user's electricity consumption data and the transaction amount data, it can be detected whether the electricity quantity matches the transaction amount, and the transaction is extracted as non-compliant according to the preset validity conditions to ensure the validity and compliance of the transaction. By eliminating any repeated payment transaction in the transaction double payment conflict, the consistency and accuracy of the transaction data are ensured. By adjusting the sorting based on the sequence number of the timestamp, the transaction data is ensured to be arranged in the correct order to avoid the situation of transaction order conflict. By eliminating transactions with transaction validity conflicts and sending invalid reminders to users, the validity and standardization of the transaction data are ensured, and the credibility and compliance of the transaction are improved. In summary, the above steps include transaction consistency, transaction sequence and transaction validity. These effects help to reduce transaction conflicts, ensure the consistency, sequence and validity of transaction data, and improve the accuracy and reliability of transaction processing.

[0033] Preferably, step S23 includes the following steps:

[0034] Step S231: performing a hash operation on the non-conflicting transaction data to generate transaction digital fingerprint data;

[0035] Step S232: Packing the transaction digital fingerprint data into a transaction, and generating a new transaction data block on the alliance chain through a consensus algorithm;

[0036] Step S233: broadcast the transaction data block to the nodes in the alliance through the P2P network and add it to the blockchain, thereby obtaining the alliance chain update data;

[0037] Step S234: Generate transaction evidence data corresponding to the new transaction data block based on the alliance chain update data.

[0038] The transaction digital fingerprint generated by the present invention through hash operation can be used to verify the integrity of transaction data and ensure that the data has not been tampered with during transmission and storage. The transaction digital fingerprint data is packaged as a transaction and a new data block is generated on the alliance chain to ensure the consistency and credibility of the transaction data. All alliance chain nodes will reach a consensus and accept the transaction. The transaction data block is broadcast through the P2P network to ensure that all alliance chain nodes can obtain and synchronize transaction data in a timely manner, thereby realizing data distribution and update. The transaction evidence data corresponding to the new transaction data block is generated according to the alliance chain update data to ensure the immutability and transparency of the transaction data and provide traceable transaction evidence. In summary, the above steps include data integrity, data consistency, data distribution and synchronization, and data evidence. These effects help to ensure the integrity, consistency and credibility of transaction data, ensure the security and traceability of transaction data, and realize the data update and evidence storage process on the alliance chain.

[0039] Preferably, step S3 comprises the following steps:

[0040] Step S31: Split the Paillier semi-homomorphic encrypted private key into several sub-keys through threshold sharing technology, thereby obtaining an incomplete key set;

[0041] Step S32: constructing a group consisting of energy suppliers, energy operators, energy dispatch centers and user representatives, thereby obtaining a group member list;

[0042] Step S33: sharing the incomplete key set hierarchically with each trusted third party institution through the Shamir secret sharing mechanism; distributing the incomplete key set to group members in the group member list through the trusted third party institution;

[0043] Step S34: The ciphertext data is signed by a third party using the BGLS short group signature algorithm to obtain group signature data.

[0044] The present invention divides the private key by threshold sharing technology, which can improve the security of the key. Even if part of the key is leaked, the complete private key cannot be restored. Constructing a group and obtaining a list of group members helps to establish a collaborative relationship between various roles in the energy supply chain and promote information sharing and decision-making cooperation. Through the Shamir secret sharing mechanism, the incomplete key set is shared hierarchically with a trusted third-party organization to ensure the safe management and distribution of the key. At the same time, the incomplete key set is distributed to group members to ensure that group members have the key share required for decryption. Through the BGLS short group signature algorithm, the ciphertext data can be signed to ensure the integrity and authenticity of the data. The group signature data can be used to verify the source and integrity of the data and ensure the credibility and non-tamperability of the transaction data. In summary, the above steps include key security, organizational collaboration, key management and security, and data signing and verification. These effects help to ensure the security and management of encryption keys, promote collaboration and information sharing between various roles in the energy supply chain, ensure the integrity and credibility of the data, and provide verifiable data sources and non-tamperability.

[0045] Preferably, step S4 comprises the following steps:

[0046] Step S41: transmitting the group signature data and the ciphertext data to the members in the group member list;

[0047] Step S42: Perform BGLS signature verification on the ciphertext data according to the group signature data, thereby obtaining preliminary verification Boolean data;

[0048] Step S43: extracting the signer from the group signature data, and judging the legitimacy of the signer's identity information according to a preset whitelist of trusted institutions, thereby obtaining identity verification Boolean data;

[0049] Step S44: extract the timestamp of the group signature data and compare it with the current time to determine whether it has exceeded the validity period, thereby obtaining time verification Boolean data;

[0050] Step S45: Generate verification result data according to the preliminary verification Boolean data, the identity verification Boolean data and the time verification Boolean data; wherein when any one of the preliminary verification Boolean data, the identity verification Boolean data and the time verification Boolean data is displayed as False, the verification result data indicates that the signature is invalid, otherwise the verification result data indicates that the signature is valid;

[0051] Step S46: If the verification result data shows that the signature is valid, the ciphertext data is decrypted according to the incomplete key set to obtain the plaintext data;

[0052] Step S47: If the verification result data shows that the signature is invalid, back-propagation-based tracing processing is performed based on the group signature data, ciphertext data, user power transaction data, and transaction evidence data, and the vulnerability is repaired.

[0053] The present invention realizes data distribution and sharing by transmitting group signature data and ciphertext data to group members, ensures that relevant data can reach each member, and provides necessary data for subsequent verification and decryption. Through BGLS signature verification, the ciphertext data is verified to ensure the integrity and authenticity of the data and prevent the data from being tampered with or forged during transmission. Through signer extraction and trusted institution whitelist, the identity of the signer in the group signature data is verified to ensure the legitimacy and credibility of the signer and prevent forged signatures. Through timestamp extraction and comparison with the current time, it is judged whether the group signature data exceeds the validity period to ensure the timeliness of the signature data and prevent the use of expired signature data. The final verification result data is generated according to the Boolean data of preliminary verification, identity authentication and timeliness verification, clearly indicating the validity of the signature, and providing accurate results for subsequent operations. When the verification result data shows that the signature is valid, the ciphertext data is decrypted according to the incomplete key set to obtain the original plaintext data to ensure the readability and availability of the data. When the verification result data shows that the signature is invalid, the traceability based on back propagation is performed according to the relevant data to trace the cause of the invalid signature, and the corresponding vulnerability repair is performed to improve the security and reliability of the system. In summary, the above steps include data transmission, data integrity verification, identity verification, timeliness verification, signature verification results, data decryption, security traceability and vulnerability repair, etc. These effects help ensure the integrity, authenticity and timeliness of data, verify the validity of signatures, and perform necessary data decryption and security traceability processing to improve the security and credibility of the system.

[0054] Preferably, step S46 includes the following steps:

[0055] Step S461: When the verification result data shows that the signature is valid, incomplete keys are collected according to the group member list to obtain an incomplete key set;

[0056] Step S462: Reconstruct the Paillier encrypted complete private key of the incomplete key set using the Shamir secret recovery mechanism, thereby obtaining the Paillier encrypted complete key;

[0057] Step S463: Use the BGV fully homomorphic encryption key to perform a first decryption on the ciphertext data to obtain Paillier encrypted data;

[0058] Step S464: Use the Paillier encryption complete key to perform a second decryption on the Paillier encrypted data to obtain the plaintext data.

[0059] The present invention shows that the signature is valid according to the verification result data, indicating that the group members have valid key shares. By collecting the key shares in the group member list, the complete incomplete key set can be restored to provide the necessary key for subsequent decryption. Using the Shamir secret recovery mechanism, the complete Paillier encryption private key can be reconstructed based on the incomplete key set to ensure the integrity and security of the key and provide the necessary key for subsequent decryption. Using the BGV fully homomorphic encryption key, the ciphertext data is first decrypted and converted into Paillier encrypted data to provide necessary data preparation for subsequent decryption. Using the Paillier encryption complete key, the Paillier encrypted data is second-decrypted and restored to plaintext data to ensure the readability and availability of the data. In summary, the above steps include key recovery, key integrity and security, data decryption, etc. These effects help to recover the complete key based on the key shares of the group members to ensure the integrity and security of the key. At the same time, multiple decryption operations are performed on the ciphertext data to convert it into plaintext data to provide readability and availability.

[0060] Preferably, step S47 includes the following steps:

[0061] Step S471: When the verification result data shows that the signature is invalid, the group signature data, the ciphertext data, the user power transaction data and the transaction evidence data are arranged in the order of the transaction occurrence time, thereby forming transaction track node data;

[0062] Step S472: When the preliminary verification Boolean data is False, the transaction track node data set is subjected to data consistency check, and inconsistent data nodes are marked, thereby obtaining abnormal node data;

[0063] Step S473: using the back propagation mechanism to track the operation nodes or participants that cause the data anomaly, and auditing the abnormal node data, thereby obtaining auxiliary forensic data;

[0064] Step S474: Perform root cause analysis based on the auxiliary forensic data, and formulate vulnerability repair plans and measures based on the analysis results;

[0065] Step S475: When the identity verification Boolean data is False, the group signature data is traced for the identity of the signer, and the risk analysis of each link of the signature authority source and the authorization process is performed, and the person responsible is determined based on the analysis results;

[0066] Step S476: When the validity verification Boolean data is False, the rationality of the timestamp of the group signature data is judged. If it is reasonable, the transmission delay is evaluated to strengthen the signature usage cycle management.

[0067] The present invention arranges the relevant data in the chronological order of the transaction to form transaction track node data, which is convenient for subsequent data consistency verification and abnormal node tracking. The transaction track node data set is verified to ensure the consistency of the data, mark the inconsistent data nodes, help identify data anomalies and problems, and provide a basis for subsequent abnormal node tracking and evidence collection. Through the back propagation mechanism, the operation nodes or participants that cause data anomalies are tracked, audited, and auxiliary evidence data is obtained, which helps to understand the causes and processes of data anomalies and provide a basis for subsequent root cause analysis and vulnerability repair. According to the auxiliary evidence data, the root cause analysis of the abnormal nodes is carried out to determine the causes of the data anomalies, and corresponding vulnerability repair plans and measures are formulated to improve the security and reliability of the system. The group signature data with the identity verification result of False is traced to the signer identity, the risks of each link are analyzed, and the possible responsible persons are determined, which helps to investigate the responsibility and improve the identity verification mechanism of the system. The group signature data with the time verification result of False is judged for the rationality of the timestamp, the transmission delay is evaluated, the management of the signature use cycle is strengthened, and the timeliness and reliability of the signature data are ensured. In summary, the above steps include data collation, data consistency verification, abnormal node tracking and auditing, root cause analysis, vulnerability repair, identity tracing and risk analysis, and timestamp rationality judgment and cycle management. These effects help identify data anomalies and problems, trace the causes and processes that lead to data anomalies, formulate corresponding vulnerability repair plans and measures, improve identity authentication mechanisms, and strengthen the management of signature usage cycles to improve the security, reliability and credibility of the system.

[0068] The present invention also provides an information security protection system for an energy and power trading platform, which is used for the information security protection method for the energy and power trading platform. The information security protection system for the energy and power trading platform includes:

[0069] The user identity authentication module is used to obtain the user's real identity data and use the user's real identity data to perform zero-knowledge proof verification with the energy and power trading platform to obtain the user's pseudonym identity data;

[0070] The transaction data processing module is used to obtain the user's power transaction data based on the user's identity pseudonym data and perform transaction conflict detection and arbitration, store the data on a distributed alliance chain based on blockchain technology, and perform double homomorphic encryption to generate ciphertext data, wherein the first homomorphic encryption of the double homomorphic encryption is Paillier semi-homomorphic encryption, and the second homomorphic encryption is BGV full homomorphic encryption;

[0071] The key management and signature module is used to share the private key of Paillier semi-homomorphic encryption with each trusted institution in a hierarchical manner through the Shamir secret sharing mechanism to generate an incomplete key set; the ciphertext data is signed using the BGLS short group signature algorithm to obtain the group signature data;

[0072] The ciphertext verification and decryption module is used to verify the ciphertext data according to the group signature data to obtain the verification result data; when the verification result data shows that the verification is successful, the ciphertext data is decrypted according to the incomplete key set to obtain the plaintext data; when the verification result data shows that the verification fails, the source is traced and the vulnerability is repaired.

[0073] The present invention can ensure the authenticity and privacy protection of the user's identity by obtaining the user's real identity data and verifying it with the energy and power trading platform using zero-knowledge proof verification, and obtain the user's identity pseudonym data to provide accurate identity identification for subsequent transaction data processing. Based on the user's identity pseudonym data, the user's power transaction data is obtained, and transaction conflicts are detected and arbitrated to ensure the legality and reliability of the transaction and avoid potential conflicts and disputes. The transaction data is stored on a distributed alliance chain based on blockchain technology to ensure the immutability and traceability of the transaction data and improve the credibility and security of the transaction data. The transaction data is encrypted using dual homomorphic encryption, namely Paillier semi-homomorphic encryption and BGV fully homomorphic encryption, to protect the privacy and confidentiality of the data, while realizing calculations and operations in an encrypted state, and providing necessary security support for subsequent group signatures and decryption. By sharing the private key of the Paillier semi-homomorphic encryption to each trusted institution in a hierarchical manner through the Shamir secret sharing mechanism, an incomplete key set is generated to achieve secure distribution and management of the key, and to ensure the confidentiality and reliability of the key. The BGLS short group signature algorithm is used to sign the ciphertext data to obtain the group signature data, realize the authentication and integrity protection of the data, and ensure the credibility and traceability of the data in a non-trusted environment. The ciphertext data is verified according to the group signature data, and the information of successful or failed verification is obtained through the verification result data to ensure the integrity and credibility of the data, and timely discover potential data anomalies and loopholes. When the verification result data shows that the verification is successful, the ciphertext data is decrypted according to the incomplete key set to obtain the plaintext data, ensure the readability and availability of the data, and provide accurate transaction information. In summary, the above steps include user identity authentication and privacy protection, transaction conflict detection and arbitration, evidence storage and anti-tampering, dual homomorphic encryption, key management and secure distribution, group signature generation, data verification and ciphertext decryption, etc. These effects help to ensure the authenticity and privacy protection of user identity, ensure the legality and reliability of transactions, improve the credibility and security of data, and realize data encryption, authentication and decryption to ensure the integrity, readability and availability of data. BRIEF DESCRIPTION OF THE DRAWINGS

[0074] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments thereof made with reference to the following drawings:

[0075] Figure 1 A schematic diagram of the steps of the information security protection method for the energy and power trading platform of the present invention;

[0076] Figure 2 for Figure 1 Detailed step flow diagram of step S1;

[0077] Figure 3 for Figure 1 Detailed step flow chart of step S2 in FIG. DETAILED DESCRIPTION

[0078] The following is a clear and complete description of the technical method of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by technicians in this field without creative work are within the scope of protection of the present invention.

[0079] In addition, the accompanying drawings are only schematic illustrations of the present invention and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. The functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor methods and / or microcontroller methods.

[0080] It should be understood that, although the terms "first", "second", etc. may be used herein to describe various units, these units should not be limited by these terms. These terms are used only to distinguish one unit from another unit. For example, without departing from the scope of the exemplary embodiments, the first unit may be referred to as the second unit, and similarly the second unit may be referred to as the first unit. The term "and / or" used herein includes any and all combinations of one or more of the listed associated items.

[0081] To achieve this, please refer to Figures 1 to 3 The present invention provides an information security protection method for an energy and power trading platform, the method comprising the following steps:

[0082] Step S1: Obtain the user's real identity data, and use the user's real identity data to perform zero-knowledge proof verification with the energy and power trading platform to obtain the user's pseudonym identity data;

[0083] Step S2: Based on the user identity pseudonym data, the user power transaction data is obtained and transaction conflict detection and arbitration are performed, the evidence is stored on a distributed alliance chain based on blockchain technology, and double homomorphic encryption is performed to generate ciphertext data, wherein the first homomorphic encryption of the double homomorphic encryption is Paillier semi-homomorphic encryption, and the second homomorphic encryption is BGV full homomorphic encryption;

[0084] Step S3: Share the private key of Paillier semi-homomorphic encryption with each trusted institution in a hierarchical manner through the Shamir secret sharing mechanism to generate an incomplete key set; use the BGLS short group signature algorithm to sign the ciphertext data to obtain the group signature data;

[0085] Step S4: Verify the ciphertext data according to the group signature data to obtain the verification result data; when the verification result data shows that the verification is successful, decrypt the ciphertext data according to the incomplete key set to obtain the plaintext data; when the verification result data shows that the verification fails, trace the source and repair the vulnerability.

[0086] In the embodiment of the present invention, reference Figure 1 The above is a schematic flow chart of the steps of an information security protection method for an energy and power trading platform of the present invention. In this example, the information security protection method for the energy and power trading platform includes the following steps:

[0087] Step S1: Obtain the user's real identity data, and use the user's real identity data to perform zero-knowledge proof verification with the energy and power trading platform to obtain the user's pseudonym identity data;

[0088] In the embodiment of the present invention, the user provides the energy and power trading platform with his or her real identity data, such as name, ID number, etc.; the user uses a zero-knowledge proof protocol (such as the Schnorr protocol) to interact with the energy and power trading platform to verify the validity of his or her real identity data without directly disclosing the identity data itself; after successful verification, the energy and power trading platform generates and assigns to the user an identity pseudonym data for anonymous identification of subsequent transactions.

[0089] Step S2: Based on the user identity pseudonym data, the user power transaction data is obtained and transaction conflict detection and arbitration are performed, the evidence is stored on a distributed alliance chain based on blockchain technology, and double homomorphic encryption is performed to generate ciphertext data, wherein the first homomorphic encryption of the double homomorphic encryption is Paillier semi-homomorphic encryption, and the second homomorphic encryption is BGV full homomorphic encryption;

[0090] The embodiment of the present invention uses the user's identity pseudonym data as an identifier to obtain the user's power trading data in an energy power trading platform or a related data source; applies a transaction conflict detection algorithm to detect and arbitrate the user's power trading data to ensure the legality and reliability of the transaction; stores the transaction data on a distributed alliance chain based on blockchain technology, and performs double homomorphic encryption on the transaction data, wherein Paillier semi-homomorphic encryption is used for the first layer of encryption, and then BGV fully homomorphic encryption is used for the second layer of encryption to generate ciphertext data.

[0091] Step S3: Share the private key of Paillier semi-homomorphic encryption with each trusted institution in a hierarchical manner through the Shamir secret sharing mechanism to generate an incomplete key set; use the BGLS short group signature algorithm to sign the ciphertext data to obtain the group signature data;

[0092] The embodiment of the present invention generates the private key required by the Paillier semi-homomorphic encryption algorithm; uses the Shamir secret sharing mechanism to divide the private key into multiple parts and distributes them to trusted institutions to generate an incomplete key set. The BGLS short group signature algorithm is used to sign the ciphertext data to generate group signature data.

[0093] Step S4: Verify the ciphertext data according to the group signature data to obtain the verification result data; when the verification result data shows that the verification is successful, decrypt the ciphertext data according to the incomplete key set to obtain the plaintext data; when the verification result data shows that the verification fails, trace the source and repair the vulnerability.

[0094] The embodiment of the present invention uses group signature data to verify the integrity and authenticity of the ciphertext data. The verification result can display information of successful verification or failed verification; when the verification result shows successful verification, the ciphertext data is decrypted using part of the private key in the incomplete key set to obtain plaintext data. The decrypted plaintext data can be used for further analysis and use; when the verification result shows failed verification, it is necessary to perform source tracing to find out the cause of the verification failure and perform vulnerability repair to ensure the security and reliability of the system.

[0095] The present invention uses zero-knowledge proof verification, and users do not need to reveal their real identity information, thereby protecting the privacy of users; by obtaining user identity pseudonym data, users can participate in the transaction process as anonymous identities, thereby enhancing the anonymity of users. Through double homomorphic encryption, the user's transaction data is protected during storage and calculation, thereby protecting the user's data privacy; through the detection and arbitration of user transaction data, the legality and reliability of transactions can be ensured, the occurrence of transaction conflicts can be reduced, and effective solutions can be provided; the distributed alliance chain based on blockchain technology can provide credible data evidence, ensuring the immutability and transparency of transaction data. The private key is shared hierarchically to multiple trusted institutions through the Shamir secret sharing mechanism, thereby enhancing the security and protection capabilities of the key; the ciphertext data is signed using the BGLS short group signature algorithm, thereby ensuring the validity and verifiability of the signature, and realizing multi-party collaborative verification. By verifying the group signature data, the integrity and credibility of the ciphertext data can be ensured, and data tampering and forgery can be effectively prevented; when the verification result shows that the verification is successful, the ciphertext data is decrypted using the incomplete key set to obtain the plaintext data, providing a basis for subsequent data analysis and application; when the verification result shows that the verification fails, the source of the security vulnerability is traced and repaired to improve the security and reliability of the system. In summary, the above steps include privacy protection, anonymity, data privacy protection, transaction conflict detection and arbitration, data storage, key security, group signature mechanism, data integrity and credibility, data decryption, and security vulnerability repair. These effects help protect user privacy, ensure data security, improve transaction reliability, and increase the transparency and credibility of the system.

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

[0097] Step S11: Obtain the user's real identity data;

[0098] Step S12: Verify the authenticity of the user's real identity data through a third-party authentication agency, and generate a unique user ID and authentication credential data for the verified user's real identity data;

[0099] Step S13: using the authentication credential data as a commitment to conduct identity authentication with the energy and power trading platform based on zero-knowledge proof without revealing the unique user ID, thereby obtaining identity authentication result data;

[0100] Step S14: After determining that the identity authentication result data is a valid identity, an anonymous identity identifier is generated for the user and stored in conjunction with the unique user ID, thereby obtaining user identity pseudonym data.

[0101] As an embodiment of the present invention, refer to Figure 2 As shown, Figure 1Detailed step flow diagram of step S1 in the embodiment of the present invention, step S1 includes the following steps:

[0102] Step S11: Obtain the user's real identity data;

[0103] In the embodiment of the present invention, the user provides his / her real identity data to the user information collection system.

[0104] Step S12: Verify the authenticity of the user's real identity data through a third-party authentication agency, and generate a unique user ID and authentication credential data for the verified user's real identity data;

[0105] In the embodiment of the present invention, the user submits his or her real identity data to a third-party authentication agency; the third-party authentication agency verifies the real identity data provided by the user, and may verify the data by verifying the validity of the identity card information, consistency with public records, etc.; after passing the authenticity verification, the third-party authentication agency generates a unique user ID and corresponding authentication credential data, including the unique user ID and other relevant authentication information.

[0106] Step S13: using the authentication credential data as a commitment to conduct identity authentication with the energy and power trading platform based on zero-knowledge proof without revealing the unique user ID, thereby obtaining identity authentication result data;

[0107] In the embodiment of the present invention, the user submits the authentication credential data to the energy and power trading platform; using the zero-knowledge proof protocol (such as the Schnorr protocol), the energy and power trading platform interacts with the user to verify the validity of the authentication credential data without directly disclosing the value of the unique user ID; after successful verification, the energy and power trading platform generates identity authentication result data, indicating that the user's identity authentication is successful.

[0108] Step S14: After determining that the identity authentication result data is a valid identity, an anonymous identity identifier is generated for the user and stored in conjunction with the unique user ID, thereby obtaining user identity pseudonym data.

[0109] The energy and power trading platform of the embodiment of the present invention uses an anonymous identity identifier generation algorithm to generate an anonymous identity identifier for a user; binds the generated anonymous identity identifier to the user's unique user ID, and stores the binding relationship in a data storage system for subsequent use.

[0110] The present invention can ensure the accuracy and credibility of the subsequent verification and authentication process by obtaining the real identity data of the user; the real identity data of the user is verified by a third-party certification body, which increases the credibility and authority of the identity authentication; generating a unique user ID can ensure that each user has a unique identification in the system, which is convenient for subsequent identity authentication and transaction processing. By using zero-knowledge proof, the user does not need to disclose the unique user ID, while ensuring the accuracy of identity authentication and protecting the privacy of the user; through identity authentication based on zero-knowledge proof, the accuracy and credibility of the verification result can be ensured. By generating an anonymous identity identifier, the user can participate in the transaction process as an anonymous identity, which enhances the anonymity of the user; the anonymous identity identifier is bound and stored with the unique user ID, which ensures the correlation between the anonymous identity and the real identity, and facilitates subsequent data processing and tracking. In summary, the above steps include data accuracy, trusted identity authentication, unique user ID generation, privacy protection, identity authentication accuracy, anonymity, and data correlation. These effects help to ensure the accuracy and privacy protection of user identity, and realize trusted identity authentication and anonymous transactions in the energy and power trading platform.

[0111] Preferably, step S2 comprises the following steps:

[0112] Step S21: extracting the transaction records submitted by the user according to the user identity pseudonym data through the energy power trading platform, thereby obtaining the user power trading data, wherein the user power trading data includes the user pseudonym data, transaction sequence number data, power grid operator data, user power consumption data, transaction amount data and transaction time data;

[0113] Step S22: Detecting transaction conflicts on the user's power transaction data and conducting arbitration to obtain conflict-free transaction data;

[0114] Step S23: Upload the conflict-free transaction data to the distributed alliance chain based on blockchain technology and store it, thereby generating transaction evidence data;

[0115] Step S24: using the Paillier semi-homomorphic encryption algorithm to perform a first homomorphic encryption on the conflict-free transaction data, thereby obtaining semi-homomorphic encrypted ciphertext data;

[0116] Step S25: Perform a second homomorphic encryption on the semi-homomorphic encrypted ciphertext data using the BGV fully homomorphic encryption algorithm, thereby obtaining fully homomorphic encrypted ciphertext data;

[0117] Step S26: Bind and package the Paillier semi-homomorphic encrypted public key, the BGV fully homomorphic encrypted public key, and the fully homomorphic encrypted ciphertext data to obtain the ciphertext data.

[0118] As an embodiment of the present invention, refer to Figure 3 As shown, Figure 1 Detailed step flow diagram of step S2 in the embodiment of the present invention, step S2 includes the following steps:

[0119] Step S21: extracting the transaction records submitted by the user according to the user identity pseudonym data through the energy power trading platform, thereby obtaining the user power trading data, wherein the user power trading data includes the user pseudonym data, transaction sequence number data, power grid operator data, user power consumption data, transaction amount data and transaction time data;

[0120] The embodiment of the present invention obtains the user's anonymous identity identifier by decrypting the user's identity pseudonym data; obtains the unique identifier of the transaction by decrypting the serial number data in the transaction record; extracts the grid operator information in the transaction record to identify the grid operator that executes the transaction; decrypts the power consumption data in the transaction record to obtain the user's power consumption information; decrypts the amount data in the transaction record to obtain the transaction amount information; extracts the timestamp in the transaction record to indicate the time when the transaction occurred. The extracted user power transaction data is stored in the data storage system for subsequent use.

[0121] Step S22: Detecting transaction conflicts on the user's power transaction data and conducting arbitration to obtain conflict-free transaction data;

[0122] The embodiment of the present invention uses a conflict detection algorithm to detect user power transaction data to find possible transaction conflicts. Conflicts may include the following situations: checking whether there is the same transaction sequence number data; checking whether there are transactions by the same user and at the same time; checking whether the transaction data meets the prescribed restrictions, such as the transaction amount exceeds the limit, etc. When a transaction conflict is found, an arbitration mechanism is used to resolve the conflict, such as selecting one of the transactions as a valid transaction, or making an arbitration decision according to specific rules. After arbitration processing, conflict-free transaction data is obtained.

[0123] Step S23: Upload the conflict-free transaction data to the distributed alliance chain based on blockchain technology and store it, thereby generating transaction evidence data;

[0124] The embodiment of the present invention uses a proof algorithm to process non-conflicting transaction data and generate corresponding transaction proof data. This may include hashing the transaction data, generating a unique proof identifier, and binding the transaction data and the proof identifier together. The generated transaction proof data is uploaded to a distributed alliance chain based on blockchain technology. This can be operated through a smart contract for transaction proof to ensure the security and non-tamperability of the data.

[0125] Step S24: using the Paillier semi-homomorphic encryption algorithm to perform a first homomorphic encryption on the conflict-free transaction data, thereby obtaining semi-homomorphic encrypted ciphertext data;

[0126] The embodiment of the present invention uses the Paillier semi-homomorphic encryption algorithm to encrypt conflict-free transaction data. This may include the following operations: generating a Paillier public key and a private key for encryption and decryption; encrypting the user's power transaction data using the Paillier public key to obtain Paillier semi-homomorphic encrypted ciphertext data. In this way, only the entity holding the private key can decrypt and obtain the plaintext data.

[0127] Step S25: Perform a second homomorphic encryption on the semi-homomorphic encrypted ciphertext data using the BGV fully homomorphic encryption algorithm, thereby obtaining fully homomorphic encrypted ciphertext data;

[0128] The embodiment of the present invention uses the BGV fully homomorphic encryption algorithm to encrypt the Paillier semi-homomorphic encrypted ciphertext data to obtain the BGV fully homomorphic encrypted ciphertext data. The BGV algorithm provides stronger computing capabilities, allowing complex computing operations to be performed on the ciphertext domain without decryption.

[0129] Step S26: Bind and package the Paillier semi-homomorphic encrypted public key, the BGV fully homomorphic encrypted public key, and the fully homomorphic encrypted ciphertext data to obtain the ciphertext data.

[0130] The embodiment of the present invention uses a data packaging tool to bind and package the public key of Paillier semi-homomorphic encryption, the public key of BGV fully homomorphic encryption, and the fully homomorphic encrypted ciphertext data to obtain the final ciphertext data. This can ensure that all necessary encrypted data are stored or transmitted together for subsequent processing and use.

[0131] The present invention extracts user power transaction data according to user identity pseudonym data, thereby ensuring the accuracy and integrity of data extraction. By detecting user power transaction data, potential transaction conflicts can be discovered in a timely manner to ensure the legitimacy and reliability of transactions; through the arbitration process, transaction conflicts are resolved to ensure the consistency and credibility of transaction data. By uploading transaction data to a distributed alliance chain based on blockchain technology for evidence storage, the immutability and transparency of transaction data are ensured, and the credibility and traceability of data are improved. By semi-homomorphic encryption, conflict-free transaction data is encrypted to protect the privacy and confidentiality of transaction data. By fully homomorphic encryption, ciphertext data is further encrypted to enhance the security and protection capabilities of data. By binding and packaging the semi-homomorphic encrypted public key, the fully homomorphic encrypted public key and the ciphertext data, the integrity and consistency of the relevant data are ensured. In summary, the above steps include data extraction accuracy, transaction conflict detection and arbitration, data evidence storage, data privacy protection, data security and data integration, etc. These effects help to protect the privacy and security of transaction data, ensure the legitimacy and credibility of transactions, and provide traceable transaction evidence storage.

[0132] Preferably, step S22 comprises the following steps:

[0133] Step S221: Compare the user pseudonym data and the transaction sequence number data. When the same user initiates two transactions with different sequence numbers but identical other fields, it is determined to be a transaction double payment conflict.

[0134] The embodiment of the present invention uses a data comparison algorithm to compare the user pseudonym data and the transaction serial number data in the user's power transaction data; when it is found that the same user has initiated two transactions with different serial numbers but completely identical other fields, it is determined to be a transaction double payment conflict; the conflict detection result is recorded in a data storage system, and the relevant transaction is marked as a double payment conflict.

[0135] Step S222: Compare the transaction time data and the transaction sequence number data. If there is a transaction with an earlier timestamp but a later sequence number, or a transaction with the same timestamp but a different sequence number, it is determined to be a transaction sequence conflict.

[0136] The embodiment of the present invention uses a data comparison algorithm to compare the transaction time data and transaction serial number data in the user's power transaction data; when there is a transaction with an earlier timestamp but a later serial number, or a transaction with the same timestamp but a different serial number, it is determined to be a transaction order conflict; the conflict detection result is recorded in a data storage system, and the relevant transactions are marked as order conflicts.

[0137] Step S223: comparing the user's electricity consumption data and transaction amount data, if there is a mismatch between the electricity consumption and the transaction amount, or if the transaction is extracted in an irregular manner according to the preset validity conditions, it is determined as a transaction validity conflict;

[0138] The embodiment of the present invention uses a data comparison algorithm to compare user electricity consumption data and transaction amount data in user electricity transaction data; checks the validity of the transaction according to preset validity conditions, including whether the electricity consumption and the transaction amount match and other specified validity conditions; records the conflict detection results in a data storage system, and marks the relevant transactions as validity conflicts.

[0139] Step S224: removing any duplicate payment transactions from the user power transaction data with double payment conflicts, thereby obtaining non-duplicate transaction data;

[0140] According to the conflict resolution strategy, the embodiment of the present invention selects one of the conflicting transactions in the transaction double payment conflict as a valid transaction and retains it, while marking other conflicting transactions as invalid; updates the transaction status in the data storage system and marks valid and invalid transactions.

[0141] Step S225: adjusting and sorting the non-duplicate transaction data with transaction sequence conflicts based on the sequence numbers of the timestamps, and removing the transactions with the same timestamps but different sequence numbers, thereby obtaining transaction data with no sequence conflicts;

[0142] The embodiment of the present invention uses a sorting algorithm to sort non-duplicate transaction data based on timestamps to ensure that transactions are arranged in chronological order; checks the sorted transactions, and if there are transactions with the same timestamp but different sequence numbers, removes the conflicting transactions and retains only one valid transaction; updates the transaction status in the data storage system and marks valid and invalid transactions.

[0143] Step S226: Eliminate the transaction data without sequence conflicts that have transaction validity conflicts, and give invalid reminders to the user, thereby obtaining conflict-free transaction data.

[0144] The embodiment of the present invention resolves transaction validity conflicts in non-sequence conflict transaction data according to a conflict resolution strategy, eliminates invalid transactions, and retains valid transactions; sends reminders to relevant users to notify them that certain transactions initiated by them are marked as invalid; updates the transaction status in the data storage system to mark valid and invalid transactions.

[0145] By comparing the user pseudonym data and the transaction sequence number data, the present invention can timely detect two transactions initiated by the same user with different sequence numbers but completely identical other fields, thereby avoiding repeated payments and inconsistent transactions. By comparing the transaction time data and the transaction sequence number data, transactions with a time stamp first but a sequence number later or transactions with the same time stamp but different sequence numbers can be detected to ensure the order and consistency of transactions. By comparing the user's electricity consumption data and the transaction amount data, it can be detected whether the electricity quantity matches the transaction amount, and the transaction is extracted as non-compliant according to the preset validity conditions to ensure the validity and compliance of the transaction. By eliminating any repeated payment transaction in the transaction double payment conflict, the consistency and accuracy of the transaction data are ensured. By adjusting the sorting based on the sequence number of the timestamp, the transaction data is ensured to be arranged in the correct order to avoid the situation of transaction order conflict. By eliminating transactions with transaction validity conflicts and sending invalid reminders to users, the validity and standardization of the transaction data are ensured, and the credibility and compliance of the transaction are improved. In summary, the above steps include transaction consistency, transaction sequence and transaction validity. These effects help to reduce transaction conflicts, ensure the consistency, sequence and validity of transaction data, and improve the accuracy and reliability of transaction processing.

[0146] Preferably, step S23 includes the following steps:

[0147] Step S231: performing a hash operation on the non-conflicting transaction data to generate transaction digital fingerprint data;

[0148] The embodiment of the present invention prepares conflict-free transaction data; uses a hash algorithm to operate each transaction data to generate a unique digital fingerprint; and stores the generated transaction digital fingerprint data in a data storage system.

[0149] Step S232: Packing the transaction digital fingerprint data into a transaction, and generating a new transaction data block on the alliance chain through a consensus algorithm;

[0150] The embodiment of the present invention selects a certain number of fingerprints from the stored transaction digital fingerprint data to form a new transaction data block; uses a packaging algorithm to package the selected transaction digital fingerprint data into a new transaction data block; verifies the nodes on the alliance chain through a consensus algorithm to ensure the validity of the new data block; and stores the generated new transaction data block in a data storage system.

[0151] Step S233: broadcast the transaction data block to the nodes in the alliance through the P2P network and add it to the blockchain, thereby obtaining the alliance chain update data;

[0152] The embodiment of the present invention uses a P2P network to broadcast the generated transaction data block to the nodes on the alliance chain; the nodes that receive the data block verify it and add it to the blockchain of the alliance chain, updating the transaction data; and the transaction data on the alliance chain is updated in the data storage system.

[0153] Step S234: Generate transaction evidence data corresponding to the new transaction data block based on the alliance chain update data.

[0154] The embodiment of the present invention uses an evidence storage algorithm to generate transaction evidence data corresponding to a new transaction data block according to the alliance chain update data; and stores the generated transaction evidence data in a data storage system.

[0155] The transaction digital fingerprint generated by the present invention through hash operation can be used to verify the integrity of transaction data and ensure that the data has not been tampered with during transmission and storage. The transaction digital fingerprint data is packaged as a transaction and a new data block is generated on the alliance chain to ensure the consistency and credibility of the transaction data. All alliance chain nodes will reach a consensus and accept the transaction. The transaction data block is broadcast through the P2P network to ensure that all alliance chain nodes can obtain and synchronize transaction data in a timely manner, thereby realizing data distribution and update. The transaction evidence data corresponding to the new transaction data block is generated according to the alliance chain update data to ensure the immutability and transparency of the transaction data and provide traceable transaction evidence. In summary, the above steps include data integrity, data consistency, data distribution and synchronization, and data evidence. These effects help to ensure the integrity, consistency and credibility of transaction data, ensure the security and traceability of transaction data, and realize the data update and evidence storage process on the alliance chain.

[0156] Preferably, step S3 comprises the following steps:

[0157] Step S31: Split the Paillier semi-homomorphic encrypted private key into several sub-keys through threshold sharing technology, thereby obtaining an incomplete key set;

[0158] The embodiment of the present invention uses the Paillier encryption algorithm to generate a public key and a private key; the Paillier semi-homomorphic encrypted private key is divided into a plurality of sub-keys using a threshold sharing technology, each sub-key is held by a different party; an incomplete key set is obtained, in which each sub-key contains only part of the private key information.

[0159] Step S32: constructing a group consisting of energy suppliers, energy operators, energy dispatch centers and user representatives, thereby obtaining a group member list;

[0160] The embodiment of the present invention creates a group consisting of an energy supplier, an energy operator, an energy dispatching center and user representatives on a group building platform; and generates a list of group members, including the identities and related information of the members.

[0161] Step S33: sharing the incomplete key set hierarchically with each trusted third party institution through the Shamir secret sharing mechanism; distributing the incomplete key set to group members in the group member list through the trusted third party institution;

[0162] The embodiment of the present invention uses the Shamir secret sharing mechanism to divide the incomplete key set into multiple parts, and distributes these partial keys to different trusted third-party organizations; the trusted third-party organization distributes the partial keys it holds to group members in the group member list to ensure that each member obtains partial keys.

[0163] Step S34: The ciphertext data is signed by a third party using the BGLS short group signature algorithm to obtain group signature data.

[0164] In the embodiment of the present invention, a third-party organization collects ciphertext data decrypted by group members using private keys, and uses the BGLS short group signature algorithm to sign the ciphertext data to generate group signature data.

[0165] The present invention divides the private key by threshold sharing technology, which can improve the security of the key. Even if part of the key is leaked, the complete private key cannot be restored. Constructing a group and obtaining a list of group members helps to establish a collaborative relationship between various roles in the energy supply chain and promote information sharing and decision-making cooperation. Through the Shamir secret sharing mechanism, the incomplete key set is shared hierarchically with a trusted third-party organization to ensure the safe management and distribution of the key. At the same time, the incomplete key set is distributed to group members to ensure that group members have the key share required for decryption. Through the BGLS short group signature algorithm, the ciphertext data can be signed to ensure the integrity and authenticity of the data. The group signature data can be used to verify the source and integrity of the data and ensure the credibility and non-tamperability of the transaction data. In summary, the above steps include key security, organizational collaboration, key management and security, and data signing and verification. These effects help to ensure the security and management of encryption keys, promote collaboration and information sharing between various roles in the energy supply chain, ensure the integrity and credibility of the data, and provide verifiable data sources and non-tamperability.

[0166] Preferably, step S4 comprises the following steps:

[0167] Step S41: transmitting the group signature data and the ciphertext data to the members in the group member list;

[0168] The embodiment of the present invention uses a data transmission protocol to transmit group signature data and ciphertext data to members in the group member list, ensuring that the data is transmitted to the correct recipient.

[0169] Step S42: Perform BGLS signature verification on the ciphertext data according to the group signature data, thereby obtaining preliminary verification Boolean data;

[0170] The embodiment of the present invention uses the BGLS signature verification algorithm to perform verification based on the public key, group signature data and ciphertext data to obtain preliminary verification Boolean data for indicating the verification result.

[0171] Step S43: extracting the signer from the group signature data, and judging the legitimacy of the signer's identity information according to a preset whitelist of trusted institutions, thereby obtaining identity verification Boolean data;

[0172] The embodiment of the present invention extracts the identity information of the signer from the group signature data; performs a legality judgment on the identity information of the signer according to a preset white list of trusted institutions, and obtains identity verification Boolean data for indicating whether the identity information of the signer is legal.

[0173] Step S44: extract the timestamp of the group signature data and compare it with the current time to determine whether it has exceeded the validity period, thereby obtaining time verification Boolean data;

[0174] The embodiment of the present invention extracts timestamp information from group signature data; compares the timestamp with the current time to determine whether it has exceeded the validity period, and obtains time verification Boolean data to indicate whether the signature is within the validity period.

[0175] Step S45: Generate verification result data according to the preliminary verification Boolean data, the identity verification Boolean data and the time verification Boolean data; wherein when any one of the preliminary verification Boolean data, the identity verification Boolean data and the time verification Boolean data is displayed as False, the verification result data indicates that the signature is invalid, otherwise the verification result data indicates that the signature is valid;

[0176] The embodiment of the present invention generates verification result data according to the results of the preliminary verification Boolean data, the identity verification Boolean data and the time verification Boolean data. If any one of the preliminary verification Boolean data, the identity verification Boolean data or the time verification Boolean data is False, the validity field of the verification result data is set to False, indicating that the signature is invalid. If the preliminary verification Boolean data, the identity verification Boolean data and the time verification Boolean data are all True, the validity field of the verification result data is set to True, indicating that the signature is valid.

[0177] Step S46: If the verification result data shows that the signature is valid, the ciphertext data is decrypted according to the incomplete key set to obtain the plaintext data;

[0178] The embodiment of the present invention uses the key fragments in the incomplete key set to decrypt the ciphertext data to obtain the plaintext data. The specific decryption process depends on the encryption algorithm and scheme adopted. The steps include: obtaining enough key fragments from the incomplete key set; using the key fragments to perform a decryption operation to restore the ciphertext data to plaintext data.

[0179] Step S47: If the verification result data shows that the signature is invalid, back-propagation-based tracing processing is performed based on the group signature data, ciphertext data, user power transaction data, and transaction evidence data, and the vulnerability is repaired.

[0180] The embodiment of the present invention uses a back-propagation-based tracing algorithm to track and analyze the reasons for invalid signatures based on group signature data, ciphertext data, user power transaction data, and transaction evidence data. The specific steps include: analyzing the association between group signature data and ciphertext data to determine factors that may cause invalid signatures. Checking user power transaction data and transaction evidence data to determine whether there are potential anomalies or attack traces. Using the back-propagation algorithm to track the root cause of the problem and determine the specific reason for the invalid signature. According to the tracing results, vulnerability repair operations are performed to improve the security and effectiveness of the group signature system. The measures include: repairing discovered security vulnerabilities or weaknesses, such as patching vulnerabilities in the code, updating components, or fixing configuration problems. Updating incomplete key sets or encryption algorithms to provide stronger security. Strengthening identity authentication and access control mechanisms to ensure that only legitimate users can participate in the group signature process. Strengthening the transaction evidence mechanism to ensure the integrity and traceability of transaction records; regularly conducting security audits and risk assessments to promptly discover and repair potential vulnerabilities and security threats.

[0181] The present invention realizes data distribution and sharing by transmitting group signature data and ciphertext data to group members, ensures that relevant data can reach each member, and provides necessary data for subsequent verification and decryption. Through BGLS signature verification, the ciphertext data is verified to ensure the integrity and authenticity of the data and prevent the data from being tampered with or forged during transmission. Through signer extraction and trusted institution whitelist, the identity of the signer in the group signature data is verified to ensure the legitimacy and credibility of the signer and prevent forged signatures. Through timestamp extraction and comparison with the current time, it is judged whether the group signature data exceeds the validity period to ensure the timeliness of the signature data and prevent the use of expired signature data. The final verification result data is generated according to the Boolean data of preliminary verification, identity authentication and timeliness verification, clearly indicating the validity of the signature, and providing accurate results for subsequent operations. When the verification result data shows that the signature is valid, the ciphertext data is decrypted according to the incomplete key set to obtain the original plaintext data to ensure the readability and availability of the data. When the verification result data shows that the signature is invalid, the traceability based on back propagation is performed according to the relevant data to trace the cause of the invalid signature, and the corresponding vulnerability repair is performed to improve the security and reliability of the system. In summary, the above steps include data transmission, data integrity verification, identity verification, timeliness verification, signature verification results, data decryption, security traceability and vulnerability repair, etc. These effects help ensure the integrity, authenticity and timeliness of data, verify the validity of signatures, and perform necessary data decryption and security traceability processing to improve the security and credibility of the system.

[0182] Preferably, step S46 includes the following steps:

[0183] Step S461: When the verification result data shows that the signature is valid, incomplete keys are collected according to the group member list to obtain an incomplete key set;

[0184] The embodiment of the present invention communicates with each group member according to the group member list and obtains the incomplete key fragments contributed by each member. The specific steps include: establishing a secure communication channel with each group member; sending a request to each member to request it to provide the incomplete key fragments contributed by it; receiving and verifying the incomplete key fragments provided by each member; and combining all valid incomplete key fragments into an incomplete key set.

[0185] Step S462: Reconstruct the Paillier encrypted complete private key of the incomplete key set using the Shamir secret recovery mechanism, thereby obtaining the Paillier encrypted complete key;

[0186] The embodiment of the present invention uses the Shamir secret recovery mechanism to process the incomplete key set to recover the complete private key encrypted by Paillier. The specific steps include: determining the required threshold and the parameters of the threshold key sharing; performing secret recovery calculation using the key fragments in the incomplete key set to recover the original private key; and verifying the validity and correctness of the recovered private key.

[0187] Step S463: Use the BGV fully homomorphic encryption key to perform a first decryption on the ciphertext data to obtain Paillier encrypted data;

[0188] The embodiment of the present invention uses the private key in the BGV fully homomorphic encryption key to decrypt the ciphertext data to obtain the Paillier encrypted data. The specific steps include: decrypting the ciphertext data using the decryption algorithm in the private key; and verifying the validity and correctness of the decryption result.

[0189] Step S464: Use the Paillier encryption complete key to perform a second decryption on the Paillier encrypted data to obtain the plaintext data.

[0190] The embodiment of the present invention uses the private key in the Paillier encryption complete key to perform a decryption operation on the first decrypted Paillier encrypted data to obtain plaintext data. The specific steps include: using the decryption algorithm in the private key to decrypt the first decrypted Paillier encrypted data; and verifying the validity and correctness of the decryption result.

[0191] The present invention shows that the signature is valid according to the verification result data, indicating that the group members have valid key shares. By collecting the key shares in the group member list, the complete incomplete key set can be restored to provide the necessary key for subsequent decryption. Using the Shamir secret recovery mechanism, the complete Paillier encryption private key can be reconstructed based on the incomplete key set to ensure the integrity and security of the key and provide the necessary key for subsequent decryption. Using the BGV fully homomorphic encryption key, the ciphertext data is first decrypted and converted into Paillier encrypted data to provide necessary data preparation for subsequent decryption. Using the Paillier encryption complete key, the Paillier encrypted data is second-decrypted and restored to plaintext data to ensure the readability and availability of the data. In summary, the above steps include key recovery, key integrity and security, data decryption, etc. These effects help to recover the complete key based on the key shares of the group members to ensure the integrity and security of the key. At the same time, multiple decryption operations are performed on the ciphertext data to convert it into plaintext data to provide readability and availability.

[0192] Preferably, step S47 includes the following steps:

[0193] Step S471: When the verification result data shows that the signature is invalid, the group signature data, the ciphertext data, the user power transaction data and the transaction evidence data are arranged in the order of the transaction occurrence time, thereby forming transaction track node data;

[0194] The embodiment of the present invention arranges the group signature data, ciphertext data, user power transaction data and transaction evidence data in the order of the time when the transaction occurred to form transaction track node data. The specific steps include: sorting the relevant data in the order of the time when the transaction occurred; combining the sorted data into transaction track node data. For example, there is an electricity trading system, which contains group signature data, ciphertext data, user power transaction data and transaction evidence data. When the verification result data shows that the signature of a transaction is invalid, the group signature data, ciphertext data, user power transaction data and transaction evidence data are arranged in the order of the time when the transaction occurred according to the timestamp of the transaction to form transaction track node data. For example, transaction A occurs at time T1, transaction B occurs at time T2, and transaction C occurs at time T3, then the order of the transaction track node data is: transaction A node data, transaction B node data, transaction C node data.

[0195] Step S472: When the preliminary verification Boolean data is False, the transaction track node data set is subjected to data consistency check, and inconsistent data nodes are marked, thereby obtaining abnormal node data;

[0196] The embodiment of the present invention performs a data consistency check on the transaction trajectory node data set to detect whether there are inconsistent data nodes. The specific steps include: using a data consistency check algorithm to check the transaction trajectory node data set; detecting whether there are inconsistencies between data nodes; marking inconsistent data nodes for subsequent processing and analysis. For example, in an electric power trading system, a data consistency check is performed on the transaction trajectory node data set. Assuming there is a set of transaction trajectory node data, after a data consistency check, it is found that the ciphertext data of transaction A does not match the group signature data of transaction B, so the transaction A node data is marked as abnormal node data.

[0197] Step S473: using the back propagation mechanism to track the operation nodes or participants that cause the data anomaly, and auditing the abnormal node data, thereby obtaining auxiliary forensic data;

[0198] The embodiment of the present invention uses a back-propagation mechanism to track abnormal node data and find out the operating nodes or participants that cause data anomalies. The specific steps include: starting from the abnormal node, tracing the data flow in reverse; analyzing the impact of each operating node or participant on the data. Audit: Audit the abnormal node data to obtain auxiliary forensic data. The specific steps include: analyzing the source, modification history and other information of the abnormal node data; collecting other evidence or logs related to the abnormal node data; generating auxiliary forensic data, and recording the audit results and related findings. For example, through tracking, it is found that a certain operating node has made an incorrect modification to the data during the transaction execution process. Then, the abnormal node data is audited, and the operation records, permissions and other evidence of the operating node are analyzed to obtain auxiliary forensic data to further confirm the cause of the data anomaly.

[0199] Step S474: Perform root cause analysis based on the auxiliary forensic data, and formulate vulnerability repair plans and measures based on the analysis results;

[0200] The embodiment of the present invention uses a root cause analysis method to determine the root cause of the data anomaly based on the auxiliary forensic data. The specific steps include: analyzing the abnormal phenomena and related information in the auxiliary forensic data; using the root cause analysis method to infer and trace to find the root cause of the data anomaly; based on the results of the root cause analysis, formulating vulnerability repair plans and measures to repair the vulnerabilities found in the system and strengthen security protection. For example, based on the data obtained from the audit and analysis, it was found that the signature authority of a certain participant was abused, resulting in data anomalies. Root cause analysis reveals security vulnerabilities in the system or imperfections in the authorization process. Based on the results of the root cause analysis, formulate corresponding vulnerability repair plans and measures, such as repairing the problem of signature authority and strengthening the authorization process, to prevent similar data anomaly incidents from happening again.

[0201] Step S475: When the identity verification Boolean data is False, the group signature data is traced for the identity of the signer, and the risk analysis of each link of the signature authority source and the authorization process is performed, and the person responsible is determined based on the analysis results;

[0202] In the embodiment of the present invention, the real identity of the signer is determined by using a signer identity tracing method according to the situation that the identity verification Boolean data is False. The specific steps include: analyzing the signature information and related evidence in the group signature data; tracing the identity of the signer, for example, by comparing the public key or other identity information of the signer. Analysis of the source of signature authority and authorization process: analyzing the source of signature authority and the authorization process to determine the risks of each link. The specific steps include: tracing the source of signature authority, such as checking the authorization record or reviewing the relevant documents; analyzing the authorization process of signature authority to understand the operations and participants of each link; using the risk analysis method to evaluate the risk level of each link. Determining the responsible person: determining the responsible person related to the signer identity tracing and authorization process according to the analysis results. The specific steps include: determining the risky links and responsible persons according to the results of the risk analysis; investigating and verifying the relevant information to determine the specific identity of the responsible person; determining the responsible person and taking corresponding measures according to the investigation results and relevant regulations. Tracing the signer identity according to the group signature data to determine the real identity of the signer. At the same time, analyzing the source of signature authority and the authorization process, such as tracing the authorization record and reviewing the relevant documents. Using the risk analysis method to evaluate the risk level of each link and determine the existing risks. Based on the analysis results, identify the persons responsible for the signer identity tracing and authorization process, and take corresponding measures, such as repairing the authorization process, strengthening identity authentication, etc., to reduce the occurrence of similar problems.

[0203] Step S476: When the validity verification Boolean data is False, the rationality of the timestamp of the group signature data is judged. If it is reasonable, the transmission delay is evaluated to strengthen the signature usage cycle management.

[0204] The embodiment of the present invention uses a timestamp verification tool to verify the timestamp in the group signature data to ensure that it meets the predetermined timestamp format, range and accuracy requirements. Use a time synchronization tool to synchronize the time in the system to ensure the accuracy and consistency of the timestamp. Determine whether the timestamp of the group signature data is within a reasonable range, such as checking whether the timestamp is within the allowable range before and after the current time, and exclude data with abnormal timestamps. For example, for an electronic contract to be signed, the system will record the signing timestamp. The operator can use the timestamp verification tool to verify the timestamp in the signature data to ensure that it is in the correct format, reasonable range, and synchronized with the system time. If the timestamp exceeds the predetermined range or differs greatly from the system time, it indicates that there is an abnormal situation or potential risk. Transmission delay assessment: Use a network monitoring tool to monitor and record the network delay during the transmission of the signature data to obtain transmission delay related data; use a delay test tool to test the network connection and evaluate the network delay, including round-trip delay and transmission delay; analyze the transmission delay data and compare it with the preset delay threshold to determine whether the transmission delay is within an acceptable range. For example, during the voting process, the system records the voting time of each voter and transmits the signature data to the central server for verification and counting. Operators can use network monitoring tools to monitor network delays during transmission and use delay test tools to test network connections to assess transmission delays. If the transmission delay exceeds the preset delay threshold, it will affect the accuracy and timeliness of the signature data, and corresponding measures need to be taken, such as optimizing network connections or adjusting system configurations.

[0205] The present invention arranges the relevant data in the chronological order of the transaction to form transaction track node data, which is convenient for subsequent data consistency verification and abnormal node tracking. The transaction track node data set is verified to ensure the consistency of the data, mark the inconsistent data nodes, help identify data anomalies and problems, and provide a basis for subsequent abnormal node tracking and evidence collection. Through the back propagation mechanism, the operation nodes or participants that cause data anomalies are tracked, audited, and auxiliary evidence data is obtained, which helps to understand the causes and processes of data anomalies and provide a basis for subsequent root cause analysis and vulnerability repair. According to the auxiliary evidence data, the root cause analysis of the abnormal nodes is carried out to determine the causes of the data anomalies, and corresponding vulnerability repair plans and measures are formulated to improve the security and reliability of the system. The group signature data with the identity verification result of False is traced to the signer identity, the risks of each link are analyzed, and the responsible person is determined, which helps to investigate the responsibility and improve the identity verification mechanism of the system. The group signature data with the time verification result of False is judged for the rationality of the timestamp, the transmission delay is evaluated, the management of the signature use cycle is strengthened, and the timeliness and reliability of the signature data are ensured. In summary, the above steps include data collation, data consistency verification, abnormal node tracking and auditing, root cause analysis, vulnerability repair, identity tracing and risk analysis, and timestamp rationality judgment and cycle management. These effects help identify data anomalies and problems, trace the causes and processes that lead to data anomalies, formulate corresponding vulnerability repair plans and measures, improve identity authentication mechanisms, and strengthen the management of signature usage cycles to improve the security, reliability and credibility of the system.

[0206] The present invention also provides an information security protection system for an energy and power trading platform, which is used for the information security protection method for the energy and power trading platform. The information security protection system for the energy and power trading platform includes:

[0207] The user identity authentication module is used to obtain the user's real identity data and use the user's real identity data to perform zero-knowledge proof verification with the energy and power trading platform to obtain the user's pseudonym identity data;

[0208] The transaction data processing module is used to obtain the user's power transaction data based on the user's identity pseudonym data and perform transaction conflict detection and arbitration, store the data on a distributed alliance chain based on blockchain technology, and perform double homomorphic encryption to generate ciphertext data, wherein the first homomorphic encryption of the double homomorphic encryption is Paillier semi-homomorphic encryption, and the second homomorphic encryption is BGV full homomorphic encryption;

[0209] The key management and signature module is used to share the private key of Paillier semi-homomorphic encryption with each trusted institution in a hierarchical manner through the Shamir secret sharing mechanism to generate an incomplete key set; the ciphertext data is signed using the BGLS short group signature algorithm to obtain the group signature data;

[0210] The ciphertext verification and decryption module is used to verify the ciphertext data according to the group signature data to obtain the verification result data; when the verification result data shows that the verification is successful, the ciphertext data is decrypted according to the incomplete key set to obtain the plaintext data; when the verification result data shows that the verification fails, the source is traced and the vulnerability is repaired.

[0211] The present invention can ensure the authenticity and privacy protection of the user's identity by obtaining the user's real identity data and verifying it with the energy and power trading platform using zero-knowledge proof verification, and obtain the user's identity pseudonym data to provide accurate identity identification for subsequent transaction data processing. Based on the user's identity pseudonym data, the user's power transaction data is obtained, and transaction conflicts are detected and arbitrated to ensure the legality and reliability of the transaction and avoid potential conflicts and disputes. The transaction data is stored on a distributed alliance chain based on blockchain technology to ensure the immutability and traceability of the transaction data and improve the credibility and security of the transaction data. The transaction data is encrypted using dual homomorphic encryption, namely Paillier semi-homomorphic encryption and BGV fully homomorphic encryption, to protect the privacy and confidentiality of the data, while realizing calculations and operations in an encrypted state, and providing necessary security support for subsequent group signatures and decryption. By sharing the private key of the Paillier semi-homomorphic encryption to each trusted institution in a hierarchical manner through the Shamir secret sharing mechanism, an incomplete key set is generated to achieve secure distribution and management of the key, and to ensure the confidentiality and reliability of the key. The BGLS short group signature algorithm is used to sign the ciphertext data to obtain the group signature data, realize the authentication and integrity protection of the data, and ensure the credibility and traceability of the data in a non-trusted environment. The ciphertext data is verified according to the group signature data, and the information of successful or failed verification is obtained through the verification result data to ensure the integrity and credibility of the data, and timely discover potential data anomalies and loopholes. When the verification result data shows that the verification is successful, the ciphertext data is decrypted according to the incomplete key set to obtain the plaintext data, ensure the readability and availability of the data, and provide accurate transaction information. In summary, the above steps include user identity authentication and privacy protection, transaction conflict detection and arbitration, evidence storage and anti-tampering, dual homomorphic encryption, key management and secure distribution, group signature generation, data verification and ciphertext decryption, etc. These effects help to ensure the authenticity and privacy protection of user identity, ensure the legality and reliability of transactions, improve the credibility and security of data, and realize data encryption, authentication and decryption to ensure the integrity, readability and availability of data.

[0212] 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.

[0213] The above description 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 should conform to the widest scope consistent with the principles and novel features invented herein.

Claims

1. An information security protection method for an energy and power trading platform, characterized in that: The following steps are involved: Step S1: Obtain the user's real identity data, and use the user's real identity data to perform zero-knowledge proof verification with the energy and power trading platform to obtain the user's pseudonym identity data; Step S2: Based on the user identity pseudonym data, the user power transaction data is obtained and transaction conflict detection and arbitration are performed, the evidence is stored on a distributed alliance chain based on blockchain technology, and double homomorphic encryption is performed to generate ciphertext data, wherein the first homomorphic encryption of the double homomorphic encryption is Paillier semi-homomorphic encryption, and the second homomorphic encryption is BGV full homomorphic encryption; Step S3: Share the private key of Paillier semi-homomorphic encryption with each trusted institution in a hierarchical manner through the Shamir secret sharing mechanism to generate an incomplete key set; use the BGLS short group signature algorithm to sign the ciphertext data to obtain the group signature data; Step S4: verifying the ciphertext data according to the group signature data to obtain verification result data; When the verification result data shows that the verification is successful, the ciphertext data is decrypted according to the incomplete key set to obtain the plaintext data; when the verification result data shows that the verification fails, the source is traced and the vulnerability is repaired.

2. The information security protection method of the energy and power trading platform according to claim 1 is characterized in that: Step S1 includes the following steps: Step S11: Obtain the user's real identity data; Step S12: Verify the authenticity of the user's real identity data through a third-party authentication agency, and generate a unique user ID and authentication credential data for the verified user's real identity data; Step S13: using the authentication credential data as a commitment to conduct identity authentication with the energy and power trading platform based on zero-knowledge proof without revealing the unique user ID, thereby obtaining identity authentication result data; Step S14: After determining that the identity authentication result data is a valid identity, an anonymous identity identifier is generated for the user and stored in conjunction with the unique user ID, thereby obtaining user identity pseudonym data.

3. The information security protection method of the energy and power trading platform according to claim 2 is characterized in that: Step S2 includes the following steps: Step S21: extracting the transaction records submitted by the user according to the user identity pseudonym data through the energy power trading platform, thereby obtaining the user power trading data, wherein the user power trading data includes the user pseudonym data, transaction sequence number data, power grid operator data, user power consumption data, transaction amount data and transaction time data; Step S22: Detecting transaction conflicts on the user's power transaction data and conducting arbitration to obtain conflict-free transaction data; Step S23: Upload the conflict-free transaction data to the distributed alliance chain based on blockchain technology and store it, thereby generating transaction evidence data; Step S24: using the Paillier semi-homomorphic encryption algorithm to perform a first homomorphic encryption on the conflict-free transaction data, thereby obtaining semi-homomorphic encrypted ciphertext data; Step S25: Perform a second homomorphic encryption on the semi-homomorphic encrypted ciphertext data using the BGV fully homomorphic encryption algorithm, thereby obtaining fully homomorphic encrypted ciphertext data; Step S26: Bind and package the Paillier semi-homomorphic encrypted public key, the BGV fully homomorphic encrypted public key, and the fully homomorphic encrypted ciphertext data to obtain the ciphertext data.

4. The information security protection method of the energy and power trading platform according to claim 3 is characterized in that: Step S22 includes the following steps: Step S221: Compare the user pseudonym data and the transaction sequence number data. When the same user initiates two transactions with different sequence numbers but identical other fields, it is determined to be a transaction double payment conflict. Step S222: Compare the transaction time data and the transaction sequence number data. If there is a transaction with an earlier timestamp but a later sequence number, or a transaction with the same timestamp but a different sequence number, it is determined to be a transaction sequence conflict. Step S223: comparing the user's electricity consumption data and transaction amount data, if there is a mismatch between the electricity consumption and the transaction amount, or if the transaction is extracted in an irregular manner according to the preset validity conditions, it is determined as a transaction validity conflict; Step S224: removing any duplicate payment transactions from the user power transaction data with double payment conflicts, thereby obtaining non-duplicate transaction data; Step S225: adjusting and sorting the non-duplicate transaction data with transaction sequence conflicts based on the sequence numbers of the timestamps, and removing the transactions with the same timestamps but different sequence numbers, thereby obtaining transaction data with no sequence conflicts; Step S226: Eliminate the transaction data without sequence conflicts that have transaction validity conflicts, and give invalid reminders to the user, thereby obtaining conflict-free transaction data.

5. The information security protection method for the energy and power trading platform according to claim 4 is characterized in that: Step S23 includes the following steps: Step S231: performing a hash operation on the non-conflicting transaction data to generate transaction digital fingerprint data; Step S232: Packing the transaction digital fingerprint data into a transaction, and generating a new transaction data block on the alliance chain through a consensus algorithm; Step S233: broadcast the transaction data block to the nodes in the alliance through the P2P network and add it to the blockchain, thereby obtaining the alliance chain update data; Step S234: Generate transaction evidence data corresponding to the new transaction data block based on the alliance chain update data.

6. The information security protection method for the energy and power trading platform according to claim 5 is characterized in that: Step S3 includes the following steps: Step S31: Split the Paillier semi-homomorphic encrypted private key into several sub-keys through threshold sharing technology, thereby obtaining an incomplete key set; Step S32: constructing a group consisting of energy suppliers, energy operators, energy dispatch centers and user representatives, thereby obtaining a group member list; Step S33: sharing the incomplete key set hierarchically with each trusted third party institution through the Shamir secret sharing mechanism; distributing the incomplete key set to group members in the group member list through the trusted third party institution; Step S34: The ciphertext data is signed by a third party using the BGLS short group signature algorithm to obtain group signature data.

7. The information security protection method of the energy and power trading platform according to claim 6 is characterized in that: Step S4 includes the following steps: Step S41: transmitting the group signature data and the ciphertext data to the members in the group member list; Step S42: Perform BGLS signature verification on the ciphertext data according to the group signature data, thereby obtaining preliminary verification Boolean data; Step S43: extracting the signer from the group signature data, and judging the legitimacy of the signer's identity information according to a preset whitelist of trusted institutions, thereby obtaining identity verification Boolean data; Step S44: extract the timestamp of the group signature data and compare it with the current time to determine whether it has exceeded the validity period, thereby obtaining time verification Boolean data; Step S45: Generate verification result data according to the preliminary verification Boolean data, the identity verification Boolean data and the time verification Boolean data; wherein when any one of the preliminary verification Boolean data, the identity verification Boolean data and the time verification Boolean data is displayed as False, the verification result data indicates that the signature is invalid, otherwise the verification result data indicates that the signature is valid; Step S46: If the verification result data shows that the signature is valid, the ciphertext data is decrypted according to the incomplete key set to obtain the plaintext data; Step S47: If the verification result data shows that the signature is invalid, back-propagation-based tracing processing is performed based on the group signature data, ciphertext data, user power transaction data, and transaction evidence data, and the vulnerability is repaired.

8. The information security protection method for the energy and power trading platform according to claim 7 is characterized in that: Step S46 includes the following steps: Step S461: When the verification result data shows that the signature is valid, incomplete keys are collected according to the group member list to obtain an incomplete key set; Step S462: Reconstruct the Paillier encrypted complete private key of the incomplete key set using the Shamir secret recovery mechanism, thereby obtaining the Paillier encrypted complete key; Step S463: Use the BGV fully homomorphic encryption key to perform a first decryption on the ciphertext data to obtain Paillier encrypted data; Step S464: Use the Paillier encryption complete key to perform a second decryption on the Paillier encrypted data to obtain the plaintext data.

9. The information security protection method for the energy and power trading platform according to claim 8 is characterized in that: Step S47 includes the following steps: Step S471: When the verification result data shows that the signature is invalid, the group signature data, the ciphertext data, the user power transaction data and the transaction evidence data are arranged in the order of the transaction occurrence time, thereby forming transaction track node data; Step S472: When the preliminary verification Boolean data is False, the transaction track node data set is subjected to data consistency check, and inconsistent data nodes are marked, thereby obtaining abnormal node data; Step S473: using the back propagation mechanism to track the operation nodes or participants that cause the data anomaly, and auditing the abnormal node data, thereby obtaining auxiliary forensic data; Step S474: Perform root cause analysis based on the auxiliary forensic data, and formulate vulnerability repair plans and measures based on the analysis results; Step S475: When the identity verification Boolean data is False, the group signature data is traced for the identity of the signer, and the risk analysis of each link of the signature authority source and the authorization process is performed, and the person responsible is determined based on the analysis results; Step S476: When the validity verification Boolean data is False, the rationality of the timestamp of the group signature data is judged. If it is reasonable, the transmission delay is evaluated to strengthen the signature usage cycle management.

10. An information security protection system for an energy and power trading platform, characterized in that: Used to execute the information security protection method of the energy and power trading platform according to claim 1, the information security protection system of the energy and power trading platform comprises: The user identity authentication module is used to obtain the user's real identity data and use the user's real identity data to perform zero-knowledge proof verification with the energy and power trading platform to obtain the user's pseudonym identity data; The transaction data processing module is used to obtain the user's power transaction data based on the user's identity pseudonym data and perform transaction conflict detection and arbitration, store the data on a distributed alliance chain based on blockchain technology, and perform double homomorphic encryption to generate ciphertext data, wherein the first homomorphic encryption of the double homomorphic encryption is Paillier semi-homomorphic encryption, and the second homomorphic encryption is BGV full homomorphic encryption; The key management and signature module is used to share the private key of Paillier semi-homomorphic encryption with each trusted institution in a hierarchical manner through the Shamir secret sharing mechanism to generate an incomplete key set; the ciphertext data is signed using the BGLS short group signature algorithm to obtain the group signature data; The ciphertext verification and decryption module is used to verify the ciphertext data according to the group signature data to obtain the verification result data; when the verification result data shows that the verification is successful, the ciphertext data is decrypted according to the incomplete key set to obtain the plaintext data; when the verification result data shows that the verification fails, the source is traced and the vulnerability is repaired.

Citation Information

Patent Citations

  • Energy transaction privacy protection method based on block chain

    CN112257102A

  • Green power consumption authentication data processing method based on block chain and related equipment

    CN117036027A

  • Blockchain-based transaction method and apparatus, and remitter device

    US20210058230A1

Cited By

  • User data protection method for trans-provincial and trans-regional power transaction platform

    CN119648231A

  • Block chain-based accounting document cross-platform synchronization system and conflict processing method

    CN120407688A

  • Vector geographic data transaction verification method, device and equipment and storage medium

    CN122678981A