Block chain-based power retail transaction information processing method and system
Through the use of blockchain -based transaction information processing methods in the power retail market, the existing service model is solved, and the existing service model cannot meet the needs of users' diversity, realizing efficient, safe and transparent power transactions, and improving the healthy development of the market.
Patent Information
- Application Number
- CN202411571975.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-06
- Publication Date
- 2025-01-28
AI Technical Summary
The existing power retail service model and products cannot fully meet the specific needs of different users, resulting in insufficient service efficiency and customer experience for power sales companies, affecting the healthy development of the power retail market.
Adopting blockchain -based power retail transaction information processing methods, through the establishment of a distributed blockchain network, deploying smart contracts, the core data, matching and settlement transactions of transaction information to obtain and storage transaction information, the decentralization, transparency and transparency of power transactions are realized Safety.
It improves the efficiency and security of power transactions, meets the diversity and demand diversity of power retail, reduces transaction costs and time costs, enhances transparency and credibility of transactions, and reduces the possibility of fraud and disputes.
Smart Images

Figure CN119379289A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of power retail technology, and in particular to a method and system for processing power retail transaction information based on blockchain. Background Art
[0002] Electricity retail refers to the general term for electricity trading activities conducted by power sales companies and small and medium-sized terminal power users (hereinafter referred to as "general users"). In the reform of the power market, power retail trading is an important link. It involves direct transactions between power sales companies and retail users, and does not involve the ownership of power network facilities. However, power sales companies must have certain funds and metering methods. After approval, they can purchase electricity from the power market and directly retail electricity to users. This trading model breaks the traditional way of purchasing electricity from the State Grid, providing users with more choices and more flexible services.
[0003] At present, retail power users in the electricity spot market are characterized by small scale, large number, wide industry distribution, and diverse electricity demand. Due to the lack of accurate portraits of general industrial and commercial users, power sales companies often need to spend a lot of time to understand the actual situation of users when facing user consultations. It is also difficult to provide accurate and effective policy information or electricity usage suggestions for various users when providing guidance. As a result, the existing service models and products of power sales companies cannot fully meet the specific needs of different users. In addition, the deficiencies of power sales companies in service efficiency and customer experience have led to a decline in user satisfaction, affecting the healthy development of the power retail market. To this end, we propose a blockchain-based power retail transaction information processing method and system. Summary of the invention
[0004] The purpose of the present invention is to provide a blockchain-based electricity retail transaction information processing method and system, which has the advantages of electricity retail diversity and high information processing efficiency and safety and reliability, and solves the problem that existing service models and products cannot fully meet the specific needs of different users, and the deficiencies of power sales companies in service efficiency and customer experience lead to a decline in user satisfaction, affecting the healthy development of the electricity retail market.
[0005] To achieve the above object, the present invention provides the following technical solution: a method for processing electricity retail transaction information based on blockchain, the method comprising:
[0006] Step S10: Establishing a distributed blockchain network, with nodes including electricity suppliers, retailers, consumers, and possible regulators;
[0007] Step S20: deploying an automatically executed smart contract on the blockchain to define transaction rules and conditions;
[0008] Step S30: Obtain transaction information, extract core data from the transaction information, and store the core data in the regional chain through smart contracts;
[0009] Step S40: Generate a smart contract. After the electricity seller and the electricity buyer are successfully matched, the electricity seller will send a request to the blockchain to lock the electricity ownership key of the electricity sold;
[0010] Step S50: After the current round of trading expires, the smart contract sends the updated electricity ownership keys to the electricity buyer. After receiving these keys, the electricity buyer can use the purchased electricity.
[0011] Preferably, the step S10 includes:
[0012] Step S11: Based on comprehensive node distribution data and basic customer demand data, a smart electricity consumption platform based on the integration of edge computing and blockchain is constructed. The platform should include a specific technical architecture of the cloud, edge nodes, and edge blockchains, which can achieve collaboration, security, trust, and data sharing, and meet lean electricity management needs such as high real-time electricity fee calculation and electricity consumption inspection;
[0013] Step S12: After the platform is built, the specific business logic in the electricity consumption platform is sorted out, such as intelligent fee control, multi-party electricity fee reconciliation, and smart substations, and corresponding design solutions and implementation processes are proposed. In addition, the decentralized, open, transparent, and tamper-proof characteristics of blockchain technology are used to build a distributed infrastructure to support distributed transactions in electricity retail.
[0014] Step S13: Ensure the security and privacy of all transactions and data, use encryption algorithms and distributed ledger technology to enhance the security of the system, and in order to improve the efficiency and response speed of the system, it is necessary to optimize the data storage and retrieval mechanism, and use advanced network technology and algorithms to reduce transaction confirmation time and improve processing capabilities;
[0015] Step S14: It is necessary to cooperate with the government and relevant agencies to identify regulatory agencies and ensure the legality and compliance of the system. At the same time, it is necessary to continue to tackle core technologies and explore the application and innovation of blockchain in electricity retail;
[0016] Preferably, the step S20 includes:
[0017] Step S21: define the structure, variables, functions and access control of the contract to ensure that the specific requirements of electricity retail transactions are met for writing smart contracts;
[0018] Step S22: Integrate the rule engine supported by the decision management platform, such as IBM Operational DecisionManager, to support the implementation of the smart contract decision logic, and insert the smart contract into the distributed transaction system of Hyperledger Fabric to form a technical trust model that conforms to the blockchain;
[0019] Step S23: Before deploying the smart contract to the mainnet, it should be fully tested on the testnet to ensure that it is correctly executed according to the predetermined rules and conditions;
[0020] Preferably, the step S30 includes:
[0021] Step S31: define a smart contract containing all transaction-related data, such as the transaction initiator, recipient, transaction amount, timestamp, etc., for processing electricity retail transactions, and write a function in the smart contract to extract the core data of the transaction information including the transaction amount, time, and location, while ensuring that the data is verifiable for future audits or investigations;
[0022] Step S32: By calling the blockchain API in the smart contract, the extracted core data is stored on the blockchain, ensuring that the data is stored in a secure way to prevent unauthorized access and tampering. At the same time, logic is added to verify the validity of the transaction, such as checking whether the transaction initiator has sufficient funds to complete the transaction. Once the transaction is verified, it is recorded on the blockchain;
[0023] Step S33: When the transaction is recorded on the blockchain, relevant parties, such as the transaction initiator, recipient, and regulator, may be notified by sending emails, text messages, or other notification methods. At the same time, transactions on the blockchain are regularly monitored to ensure the integrity and security of the data. If any abnormalities or potential security issues are found, they will be investigated and resolved in a timely manner;
[0024] Preferably, the step S40 includes:
[0025] Step S41: The consumer declares electricity demand through a smart meter or other device;
[0026] Step S42: The retailer negotiates electricity prices with consumers based on market demand and supply conditions;
[0027] Step S43: Once an agreement is reached, the smart contract automatically executes the transaction, and the electricity party will send a request to the blockchain to lock the electricity ownership key of the sold electricity;
[0028] Preferably, the step S50 includes:
[0029] Step S51: ensuring the security and privacy of transaction data;
[0030] Step S52: Ensure that all nodes in the blockchain network agree on the validity of the transaction;
[0031] Step S53: After ensuring that the transaction funds are collected correctly, the smart contract sends the updated electricity ownership keys to the electricity buyer. After receiving these keys, the electricity buyer can use the purchased electricity.
[0032] In order to better implement the above method, a blockchain-based power retail transaction information processing system is also proposed, which includes a blockchain construction module, a legal and regulatory monitoring module, a smart contract formulation module, a contract optimization module, a transaction information acquisition module, a smart contract matching generation module, and a transaction settlement module;
[0033] The blockchain building module is used to establish a distributed blockchain network, the nodes of which include electricity suppliers, retailers, consumers and possible regulators;
[0034] The legal and regulatory monitoring module is used to formulate more complete laws and regulations, regulate the operation of the power market, and rely on blockchain technology to reliably record information on all business links of green power transactions, and provide green power transaction declaration, transaction result viewing, settlement result viewing and confirmation services for transaction entities;
[0035] The smart contract formulation module is used to automatically execute smart contracts deployed on the blockchain to define transaction rules and conditions;
[0036] The contract optimization module is used to study technologies such as multi-level caching, built-in contracts, hierarchical partition consensus, etc., optimize the consensus algorithm, effectively improve processing performance, meet the high-concurrency business needs of future power transactions, and study hybrid storage technologies suitable for real-time interaction of massive data to achieve rapid and efficient development of trading business. At the same time, explore decentralized trading models and study blockchain governance technologies suitable for power transactions. In the process of combining centralized trading rules and trading organizations with decentralized blockchain technology, explore innovative, flexible and autonomous trading models on the premise of ensuring the unification of trading rules and processes;
[0037] The transaction information acquisition module is used to acquire transaction information, extract core data from the transaction information, and store the core data in the regional chain through smart contracts;
[0038] The smart contract matching generation module is used to generate a smart contract. After the electricity seller and the electricity buyer are successfully matched, the electricity seller will send a request to the blockchain to lock the electricity ownership key of the sold electricity;
[0039] The transaction settlement module is used for sending the updated electricity ownership key to the electricity buyer after the current round of transaction time expires. After receiving these keys, the electricity buyer can use the purchased electricity.
[0040] Compared with the prior art, the present invention has the following beneficial effects:
[0041] The present invention improves the efficiency and security of the power trading process by utilizing the decentralization and high security characteristics of blockchain and combining it with smart contracts. By deploying automatically executed smart contracts on the blockchain to define trading rules and conditions, it can set a variety of trading rules and adjustments in a targeted manner according to the characteristics of small scale, large number, wide industry distribution and diverse electricity demand of retail power users in the power spot market, thereby meeting the situation of power retail diversity and demand diversity. By combining the reliability coefficient with the smart contract through the contract optimization module, it can effectively improve transaction efficiency and reduce the risk of being attacked. At the same time, it optimizes the transaction process, reduces unnecessary intermediate links, and directly trades with suppliers or customers, thereby reducing transaction costs and time costs and improving transaction efficiency. By removing unnecessary middlemen or agents, it can simplify the transaction process, reduce information transmission delays, enhance the transparency and credibility of transactions, reduce the possibility of fraud and disputes, and effectively improve the efficiency of blockchain-based power retail transaction information services. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 It is a schematic diagram of the process of the present invention;
[0043] Figure 2 Schematic diagram of the system structure of the present invention. DETAILED DESCRIPTION
[0044] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only 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 ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0045] See also Figure 1-Figure 2 As shown, the present invention provides a technical solution: a method for processing power retail transaction information based on blockchain, the method comprising:
[0046] Step S10: Establishing a distributed blockchain network, with nodes including electricity suppliers, retailers, consumers, and possible regulators;
[0047] Step S20: deploying an automatically executed smart contract on the blockchain to define transaction rules and conditions;
[0048] Step S30: Obtain transaction information, extract core data from the transaction information, and store the core data in the regional chain through smart contracts;
[0049] Step S40: Generate a smart contract. After the electricity seller and the electricity buyer are successfully matched, the electricity seller will send a request to the blockchain to lock the electricity ownership key of the electricity sold;
[0050] Step S50: After the current round of trading expires, the smart contract sends the updated electricity ownership keys to the electricity buyer. After receiving these keys, the electricity buyer can use the purchased electricity.
[0051] Wherein, the step S10 includes:
[0052] Step S11: Based on comprehensive node distribution data and basic customer demand data, a smart electricity consumption platform based on the integration of edge computing and blockchain is constructed. The platform should include a specific technical architecture of the cloud, edge nodes, and edge blockchains, which can achieve collaboration, security, trust, and data sharing, and meet lean electricity management needs such as high real-time electricity fee calculation and electricity consumption inspection;
[0053] Step S12: After the platform is built, the specific business logic in the electricity consumption platform is sorted out, such as intelligent fee control, multi-party electricity fee reconciliation, and smart substations, and corresponding design solutions and implementation processes are proposed. In addition, the decentralized, open, transparent, and tamper-proof characteristics of blockchain technology are used to build a distributed infrastructure to support distributed transactions in electricity retail.
[0054] Step S13: Ensure the security and privacy of all transactions and data, use encryption algorithms and distributed ledger technology to enhance the security of the system, and in order to improve the efficiency and response speed of the system, it is necessary to optimize the data storage and retrieval mechanism, and use advanced network technology and algorithms to reduce transaction confirmation time and improve processing capabilities;
[0055] Step S14: It is necessary to cooperate with the government and relevant agencies to identify regulatory agencies and ensure the legality and compliance of the system. At the same time, it is necessary to continue to tackle core technologies and explore the application and innovation of blockchain in electricity retail;
[0056] Wherein, the step S20 includes:
[0057] Step S21: define the structure, variables, functions and access control of the contract to ensure that the specific requirements of electricity retail transactions are met for writing smart contracts;
[0058] Step S22: Integrate the rule engine supported by the decision management platform, such as IBM Operational DecisionManager, to support the implementation of the smart contract decision logic, and insert the smart contract into the distributed transaction system of Hyperledger Fabric to form a technical trust model that conforms to the blockchain;
[0059] Step S23: Before deploying the smart contract to the mainnet, it should be fully tested on the testnet to ensure that it is correctly executed according to the predetermined rules and conditions;
[0060] Wherein, the step S30 includes:
[0061] Step S31: define a smart contract containing all transaction-related data, such as the transaction initiator, recipient, transaction amount, timestamp, etc., for processing electricity retail transactions, and write a function in the smart contract to extract the core data of the transaction information including the transaction amount, time, and location, while ensuring that the data is verifiable for future audits or investigations;
[0062] Step S32: By calling the blockchain API in the smart contract, the extracted core data is stored on the blockchain, ensuring that the data is stored in a secure way to prevent unauthorized access and tampering. At the same time, logic is added to verify the validity of the transaction, such as checking whether the transaction initiator has sufficient funds to complete the transaction. Once the transaction is verified, it is recorded on the blockchain;
[0063] Step S33: When the transaction is recorded on the blockchain, relevant parties, such as the transaction initiator, recipient, and regulator, may be notified by sending emails, text messages, or other notification methods. At the same time, transactions on the blockchain are regularly monitored to ensure the integrity and security of the data. If any abnormalities or potential security issues are found, they will be investigated and resolved in a timely manner;
[0064] Wherein, the step S40 includes:
[0065] Step S41: The consumer declares electricity demand through a smart meter or other device;
[0066] Step S42: The retailer negotiates electricity prices with consumers based on market demand and supply conditions;
[0067] Step S43: Once an agreement is reached, the smart contract automatically executes the transaction, and the electricity party will send a request to the blockchain to lock the electricity ownership key of the sold electricity;
[0068] Wherein, the step S50 includes:
[0069] Step S51: ensuring the security and privacy of transaction data;
[0070] Step S52: Ensure that all nodes in the blockchain network agree on the validity of the transaction;
[0071] Step S53: After ensuring that the transaction funds are collected correctly, the smart contract sends the updated electricity ownership keys to the electricity buyer. After receiving these keys, the electricity buyer can use the purchased electricity.
[0072] In order to better implement the above method, a blockchain-based power retail transaction information processing system is also proposed, which includes a blockchain construction module, a legal and regulatory monitoring module, a smart contract formulation module, a contract optimization module, a transaction information acquisition module, a smart contract matching generation module, and a transaction settlement module;
[0073] The blockchain building module is used to establish a distributed blockchain network, the nodes of which include electricity suppliers, retailers, consumers and possible regulators;
[0074] The legal and regulatory monitoring module is used to formulate more complete laws and regulations, regulate the operation of the power market, and rely on blockchain technology to reliably record information on all business links of green power transactions, and provide green power transaction declaration, transaction result viewing, settlement result viewing and confirmation services for transaction entities;
[0075] The smart contract formulation module is used to automatically execute smart contracts deployed on the blockchain to define transaction rules and conditions;
[0076] The contract optimization module is used to study technologies such as multi-level caching, built-in contracts, hierarchical partition consensus, etc., optimize the consensus algorithm, effectively improve processing performance, meet the high-concurrency business needs of future power transactions, and study hybrid storage technologies suitable for real-time interaction of massive data to achieve rapid and efficient development of trading business. At the same time, explore decentralized trading models and study blockchain governance technologies suitable for power transactions. In the process of combining centralized trading rules and trading organizations with decentralized blockchain technology, explore innovative, flexible and autonomous trading models on the premise of ensuring the unification of trading rules and processes;
[0077] The transaction information acquisition module is used to acquire transaction information, extract core data from the transaction information, and store the core data in the regional chain through smart contracts;
[0078] The smart contract matching generation module is used to generate a smart contract. After the electricity seller and the electricity buyer are successfully matched, the electricity seller will send a request to the blockchain to lock the electricity ownership key of the sold electricity;
[0079] The transaction settlement module is used for sending the updated electricity ownership key to the electricity buyer after the current round of transaction time expires. After receiving these keys, the electricity buyer can use the purchased electricity.
[0080] Additionally, in order to provide a concise description of exemplary embodiments, all features of an actual embodiment (ie, those features that are not relevant to the best mode presently contemplated for carrying out the invention or those that are not relevant to implementing the invention) may not be described.
[0081] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention, rather than to limit the scope of protection of the present invention. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the essence and scope of the technical solution of the present invention.
Claims
1. A method for processing electricity retail transaction information based on blockchain, characterized in that: The method comprises: Step S10: Establishing a distributed blockchain network, with nodes including electricity suppliers, retailers, consumers, and possible regulators; Step S20: deploying an automatically executed smart contract on the blockchain to define transaction rules and conditions; Step S30: Obtain transaction information, extract core data from the transaction information, and store the core data in the regional chain through smart contracts; Step S40: Generate a smart contract. After the electricity seller and the electricity buyer are successfully matched, the electricity seller will send a request to the blockchain to lock the electricity ownership key of the electricity sold; Step S50: After the current round of trading expires, the smart contract sends the updated electricity ownership keys to the electricity buyer. After receiving these keys, the electricity buyer can use the purchased electricity. The step S10 comprises: Step S11: Based on comprehensive node distribution data and basic customer demand data, a smart electricity consumption platform based on the integration of edge computing and blockchain is constructed. The platform should include a specific technical architecture of the cloud, edge nodes, and edge blockchains, which can achieve collaboration, security, trust, and data sharing, and meet lean electricity management needs such as high real-time electricity fee calculation and electricity consumption inspection; Step S12: After the platform is built, the specific business logic in the electricity consumption platform is sorted out, such as intelligent fee control, multi-party electricity fee reconciliation, and smart substations, and corresponding design solutions and implementation processes are proposed. In addition, the decentralized, open, transparent, and tamper-proof characteristics of blockchain technology are used to build a distributed infrastructure to support distributed transactions in electricity retail. Step S13: Ensure the security and privacy of all transactions and data, use encryption algorithms and distributed ledger technology to enhance the security of the system, and in order to improve the efficiency and response speed of the system, it is necessary to optimize the data storage and retrieval mechanism, and use advanced network technology and algorithms to reduce transaction confirmation time and improve processing capabilities; Step S14: It is necessary to cooperate with the government and relevant agencies to identify regulatory agencies and ensure the legality and compliance of the system. At the same time, it is necessary to continue to tackle core technologies and explore the application and innovation of blockchain in electricity retail; The step S20 comprises: Step S21: define the structure, variables, functions and access control of the contract to ensure that the specific requirements of electricity retail transactions are met for writing smart contracts; Step S22: Integrate the rule engine supported by the decision management platform to support the implementation of the smart contract decision logic, and insert the smart contract into the distributed transaction system of Hyperledger Fabric to form a technical trust model that conforms to the blockchain; Step S23: Before deploying the smart contract to the mainnet, it should be fully tested on the testnet to ensure that it is correctly executed according to the predetermined rules and conditions; The step S30 comprises: Step S31: define a smart contract containing all transaction-related data for processing electricity retail transactions, and write a function in the smart contract to extract the core data of the transaction information including the amount, time, and location of the transaction, while ensuring that the data is verifiable for future audits or investigations; Step S32: The extracted core data is stored on the blockchain by calling the blockchain API in the smart contract, ensuring that the data is stored in a secure way to prevent unauthorized access and tampering, and at the same time, adding logic to verify the validity of the transaction; Step S33: When the transaction is recorded on the blockchain, the relevant parties may be notified by sending emails, text messages or other notification methods. At the same time, the transactions on the blockchain are regularly monitored to ensure the integrity and security of the data. If any abnormalities or potential security issues are found, they will be investigated and resolved in a timely manner; The step S40 comprises: Step S41: The consumer declares electricity demand through a smart meter or other device; Step S42: The retailer negotiates electricity prices with consumers based on market demand and supply conditions; Step S43: Once an agreement is reached, the smart contract automatically executes the transaction, and the electricity party will send a request to the blockchain to lock the electricity ownership key of the sold electricity; The step S50 comprises: Step S51: ensuring the security and privacy of transaction data; Step S52: Ensure that all nodes in the blockchain network agree on the validity of the transaction; Step S53: After ensuring that the transaction funds are collected correctly, the smart contract sends the updated electricity ownership keys to the electricity buyer. After receiving these keys, the electricity buyer can use the purchased electricity.
2. According to the power retail transaction information processing method based on blockchain of claim 1, the power retail transaction information processing system is characterized by: The system includes a blockchain construction module, a legal and regulatory monitoring module, a smart contract formulation module, a contract optimization module, a transaction information acquisition module, a smart contract matching generation module, and a transaction settlement module; The blockchain building module is used to establish a distributed blockchain network, the nodes of which include electricity suppliers, retailers, consumers and possible regulators; The legal and regulatory monitoring module is used to formulate more complete laws and regulations, regulate the operation of the power market, and rely on blockchain technology to reliably record information on all business links of green power transactions, and provide green power transaction declaration, transaction result viewing, settlement result viewing and confirmation services for transaction entities; The smart contract formulation module is used to automatically execute smart contracts deployed on the blockchain to define transaction rules and conditions; The contract optimization module is used to study technologies such as multi-level caching, built-in contracts, hierarchical partition consensus, etc., optimize the consensus algorithm, effectively improve processing performance, meet the high-concurrency business needs of future power transactions, and study hybrid storage technologies suitable for real-time interaction of massive data to achieve rapid and efficient development of trading business. At the same time, explore decentralized trading models and study blockchain governance technologies suitable for power transactions. In the process of combining centralized trading rules and trading organizations with decentralized blockchain technology, explore innovative, flexible and autonomous trading models on the premise of ensuring the unification of trading rules and processes; The transaction information acquisition module is used to acquire transaction information, extract core data from the transaction information, and store the core data in the regional chain through smart contracts; The smart contract matching generation module is used to generate a smart contract. After the electricity seller and the electricity buyer are successfully matched, the electricity seller will send a request to the blockchain to lock the electricity ownership key of the sold electricity; The transaction settlement module is used for sending the updated electricity ownership key to the electricity buyer after the current round of transaction time expires. After receiving these keys, the electricity buyer can use the purchased electricity.
Citation Information
Cited By
Electric power spot market electricity charge settlement system and method fused with block chain technology
CN120875953A