CN116976543A - Power data management platform system based on block chain technology and design method - Google Patents

Power data management platform system based on block chain technology and design method Download PDF

Info

Publication number
CN116976543A
CN116976543A CN202310932167.0A CN202310932167A CN116976543A CN 116976543 A CN116976543 A CN 116976543A CN 202310932167 A CN202310932167 A CN 202310932167A CN 116976543 A CN116976543 A CN 116976543A
Authority
CN
China
Prior art keywords
data
transaction
chain
module
layer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310932167.0A
Other languages
Chinese (zh)
Inventor
李心达
尹菀婷
颜拥
王英
宋容嘉
黎依琳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jiaotong University
State Grid Energy Research Institute Co Ltd
Electric Power Research Institute of State Grid Zhejiang Electric Power Co Ltd
Original Assignee
Beijing Jiaotong University
State Grid Energy Research Institute Co Ltd
Electric Power Research Institute of State Grid Zhejiang Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jiaotong University, State Grid Energy Research Institute Co Ltd, Electric Power Research Institute of State Grid Zhejiang Electric Power Co Ltd filed Critical Beijing Jiaotong University
Priority to CN202310932167.0A priority Critical patent/CN116976543A/en
Publication of CN116976543A publication Critical patent/CN116976543A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/24Object-oriented
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Economics (AREA)
  • Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Bioethics (AREA)
  • Tourism & Hospitality (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • Game Theory and Decision Science (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Medical Informatics (AREA)
  • Databases & Information Systems (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Educational Administration (AREA)
  • Development Economics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application relates to the technical field of power enterprise management systems, in particular to a power data management platform system based on a block chain technology and a design method thereof, wherein the platform technical architecture comprises an infrastructure layer, a power data layer, a contract layer, a service layer and a business layer; the transaction processing architecture comprises a blockchain platform and a client, and adopts an isomorphic multiple-chain parallel transaction processing architecture. Based on the block chain, the data assets are packaged into data objects capable of being uplinked, the uniqueness of the assets is ensured through a unique coding mechanism, and the right is ensured for each data asset, so that privacy prompt safety is protected; the subnet chains are linearly increased, so that the damage to the ecological stability of the blockchain caused by excessive increase of the number of the chains is avoided; the purposes of dividing the transaction, selecting the transaction fee, reducing the waiting time of the user and improving the overall transaction processing speed of the network are achieved through the isomorphic multi-chain form, and the aim of improving the throughput while ensuring the consistency is achieved.

Description

Power data management platform system based on block chain technology and design method
Technical Field
The application relates to the technical field of power enterprise management systems, in particular to a power data management platform based on a block chain technology and a design method thereof.
Background
The contents of problems found by the inventor and problems analyzed in the background art should not necessarily be regarded as prior art.
The electric power system participates in a plurality of subjects, and has the power resource management departments, scientific research institutions, power related enterprises and the like. The data management platform of each power enterprise at present basically takes the power resource management department as a center, and establishes the power data management platform, thereby being beneficial to grasping the power operation condition. Or the data management platform for internal and external communication is established by taking the power enterprise as the center, and information support is provided for the development decision of the enterprise. While the centralized data management platform adopts a centralized management system to improve the throughput, the centralized data management platform also brings some risks, such as stability, privacy, security and other problems.
In particular, in terms of stability, centralized data management platforms often suffer from single point failure problems; in terms of privacy, the power data of individual users and corporate enterprises need to be kept secret at any time, but in the case of centralization, the data still exist to be shared with others; in terms of security, the sensitive information in the enterprise needs to be able to trace the source of the sensitive information completely, and related record data such as distributed, read, inquired and the like are also stored so as to prevent malicious tampering.
In addition, most of the existing works consider a single blockchain and present efficient algorithms for transactions under a single blockchain. However, when a transaction needs to access multiple blockchains, problems can arise, including how to guarantee data consistency, efficient concurrency control algorithms, and so on.
Disclosure of Invention
Based on the business problem, the application constructs the electric power alliance block chain by taking the electric power resource management departments, scientific research institutions, electric power related enterprises and the like as alliance chain participation nodes, realizes the digital application scene of electric power data under a block chain platform, and solves the problem of the electric power enterprises in managing data assets in the background technology.
Under the condition that the existing scheme considers a single blockchain, the application is designed to optimize the transaction processing under the multi-link environment, so as to achieve the aim of improving the throughput while ensuring the consistency.
To achieve the above object, a first aspect of the present application provides a power data management platform system based on a blockchain technology.
A power data management platform system based on a blockchain technology comprises an infrastructure layer, a power data layer, a contract layer, a service layer and a service layer; the transaction processing architecture comprises a blockchain platform and a client, and adopts an isomorphic multiple-chain parallel transaction processing architecture.
Specifically, the infrastructure layer comprises hardware facilities, provides a basic data storage environment and forwarding and computing capabilities of data;
the power data layer provides data storage, data forwarding and computing services by using an infrastructure layer;
the contract layer comprises a plurality of intelligent contracts and provides contract support for the service layer, wherein the support comprises: user registration, identity authentication, selling and purchasing, and tracing;
the service layer is interacted with the contract layer, and provides background management service based on a flash framework, and the background management service comprises a database plug-in, a login plug-in, a form plug-in and an administrator plug-in;
the business layer faces the user, provides services such as information certification authority, information verification, information examination, history tracing and supervision, and realizes the general functions of exchanging and sharing information seen by the user, inquiring and searching the user, and the like.
Specifically, the client includes: the system comprises an account private key management module, a transaction data management module and a load balancing decision module; the account private key management module is responsible for generating and locally storing an account private key; the transaction data management module comprises transaction data sending and transaction data monitoring functions; the load balancing decision module is responsible for periodically inquiring the latest state of the local account to the data service module of each subnet chain and updating the local account information.
The blockchain platform includes: the system comprises a subnet transaction processing module, a network partition module and a data service module; the subnet chain network transaction processing module is responsible for receiving in-chain transactions sent by a client and processing the in-chain transactions and then feeding back the in-chain transactions, and comprises a transaction checking module, an in-subnet transaction processing array module and a multi-type transaction processing module; the network partition module is used for partitioning things, and each subnet chain is provided with a unique network identifier and grows linearly; the data service module provides complete account state information and chain information for upper-layer application by tracking state change on the chain.
The second aspect of the present application provides a method for designing a power data management platform based on a blockchain technique, comprising the steps of:
s1: a blockchain-based data management platform functional architecture is designed, wherein the architecture comprises data release, data circulation transaction, data transfer function, data right confirmation and data right control and supervision function.
S2: the data management platform technical architecture based on the block chain is designed and mainly comprises an infrastructure layer, a power data layer, a contract layer, a service layer and a service layer.
S3: a blockchain-based data management platform transaction architecture is designed. Through isomorphic multi-chain mode, the purposes of splitting the transaction, selecting the transaction fee, reducing the waiting time of the user and improving the overall transaction processing rate of the network are achieved.
The beneficial effects of the application are as follows:
(1) The data assets are packaged into data objects capable of being uplinked based on the blockchain, the uniqueness of the assets is ensured through a unique coding mechanism, and the right is ensured for each data asset. Merging and splitting of data assets can occur in the circulation process, and the blockchain technology can ensure the continuity and traceability of rights. When the data source side and the processing side finish the actions of uplink, right confirmation, pricing, splitting and transaction through various assets by the blockchain technology, the uniqueness of the data assets can ensure that the data assets cannot be copied and tampered, so that the value of the data assets can be guaranteed, and privacy prompt safety can be protected.
(2) Each sub-network chain is provided with a unique network identifier, when the sub-network chain is increased to meet the ecological requirement of the block chain, the sub-network chain is linearly increased when the number of the chains needs to be determined to be increased, and the damage to the ecological stability of the block chain caused by the excessive number of the chains is avoided.
(3) The purposes of dividing the transaction, selecting the transaction fee, reducing the waiting time of the user and improving the overall transaction processing speed of the network are achieved through the isomorphic multi-chain form, and the aim of improving the throughput while ensuring the consistency is achieved.
Drawings
FIG. 1 is a block chain based data management platform architecture;
FIG. 2 is a homogeneous multi-chain parallel transaction architecture;
FIG. 3 load balancing module execution;
fig. 4 is a diagram of a subnet chain transaction module architecture.
Detailed Description
The following detailed description of embodiments of the present application will be given with reference to the accompanying drawings and examples, by which the implementation process of how the present application can be applied to solve the technical problems and achieve the technical effects can be fully understood and implemented.
Example 1
The first embodiment of the application provides a power data management platform system based on a blockchain technology, wherein the platform technology architecture comprises an infrastructure layer, a power data layer, a contract layer, a service layer and a service layer; the transaction processing architecture comprises a blockchain platform and a client, and adopts an isomorphic multiple-chain parallel transaction processing architecture.
For platform system technology architecture:
the blockchain-based power blockchain data management platform architecture includes an infrastructure layer, a power data layer, a contract layer, a service layer, and a business layer.
Within the infrastructure layer, the system uses hardware facilities including dedicated devices, routers, and servers, which provide the underlying data storage environment for it, as well as forwarding and computing capabilities for the data.
Within the power data layer, the system uses hardware facilities including dedicated devices, routers, and servers, which provide the underlying data storage environment for it, as well as forwarding and computing capabilities for the data.
The contract layer is a power data asset transition contract layer, hereinafter also referred to as contract layer. Within the contract layer, the smart contract is to implement a plurality of functions including identity authentication.
1) Registering: in the registration process, a user to be registered needs to provide detailed organization information or personal information as an important basis for later-stage identity authentication; even if registration is successful, the user can only perform basic query functions.
2) Identity authentication: the user creates an account on the chain in the website and triggers the identity authentication management function, namely, the user can perform related transaction operation after passing verification confirmation of the verification node.
3) After successful identity authentication of the selling and purchasing users, the selling, sharing and transferring requests of the electric power data can be directly initiated, and the sellers can determine different prices and transferring conditions according to the electric power data access period and the data range. After the request is successful, waiting for the buyer to purchase; once the buyer is successful in purchasing, the buyer has the access right of the additional condition (access period, access range) for the part of the power data, and accesses the seller database from the website special interface through the returned secret key to acquire the data; after the buyer successfully purchases the data, the buyer can give the access right of the data to other users, and once the giving is successful, the original buyer does not have the access right any more and cannot access the data.
4) Tracing: the data assets can be combined and split in the circulation process, when the data owners share data, the intelligent contracts are utilized to attach own digital signatures, so that other people can conveniently verify whether the data content is originally issued by the data owners, the content is consistent with the version when signed, and the data content is not modified by any person. When the data source side and the processing side finish the actions of uplink, right confirmation, pricing, splitting and transaction through various assets by the blockchain technology, the uniqueness of the data assets can ensure that the data assets cannot be copied and tampered, and therefore the value of the data assets can be guaranteed.
The service layer and the business layer provide services such as information certification confirmation, information verification, information examination, history tracing and supervision through interaction with the intelligent contract. The general functions of exchanging and sharing information, inquiring and searching the user and the like are realized.
For transaction architecture:
the client comprises an account private key management module, a transaction data management module and a load balancing decision module; the account private key management module is responsible for generating and locally storing an account private key; the transaction data management module comprises transaction data sending and transaction data monitoring functions; the load balancing decision module is responsible for periodically inquiring the latest state of the local account to the data service module of each subnet chain and updating the local account information.
The block chain platform comprises a subnet transaction processing module, a network partition module and a data service module; the subnet chain network transaction processing module is responsible for receiving in-chain transactions sent by a client and processing the in-chain transactions and then feeding back the in-chain transactions, wherein the in-chain transactions comprise a transaction checking module, an in-subnet transaction processing array module and a multi-type transaction processing module; the network partition module is used for dividing the things into blocks, and each subnet chain is provided with a unique network identifier and grows linearly; the data service module provides complete account state information and chain information for the upper layer application by tracking state change on the chain.
The data assets are packaged into data objects capable of being uplinked based on the blockchain, the uniqueness of the assets is ensured through a unique coding mechanism, and the right is ensured for each data asset. Merging and splitting of data assets can occur in the circulation process, and the blockchain technology can ensure the continuity and traceability of rights. When the data source side and the processing side finish the actions of uplink, right confirmation, pricing, splitting and transaction through various assets by the blockchain technology, the uniqueness of the data assets can ensure that the data assets cannot be copied and tampered, so that the value of the data assets can be guaranteed, and privacy prompt safety can be protected.
Example 2
A second embodiment of the present application provides a method for designing a power data management platform based on a blockchain, and the present application will be further described with reference to the accompanying drawings and specific embodiments.
Referring to fig. 1-4, a power data management scheme based on blockchain technology includes the steps of:
s1: the functional architecture of the data management platform based on the block chain is designed.
The electric power block chain data management platform mainly adopts a alliance chain network architecture, namely, each admittance organization participating in the management platform can be allowed to join the alliance chain after being checked, and each organization respectively has a block chain node without a central node. All the participants share the whole data management platform through the whole alliance chain system, and the functions of releasing and storing the power data, trading and circulating the power data among organizations, transferring the power data and the like are realized through the data management platform, so that the use requirements of all the participants on the related power data are met.
The block chain data management platform has five main functions, namely data release, data circulation transaction, data transfer function, data right confirmation and data right control and supervision function.
(1) And (3) data release: each company block chain data management platform participant collects power data information in the local district and then distributes the data on a data management platform based on the block chain system.
(2) Data flow transaction: on a company blockchain data management platform based on a alliance chain, cross-department sharing circulation of data can be realized, and transaction of electric power data in the management platform is realized.
(3) Data transfer: after the two-party mechanism achieves a transfer agreement on certain electric power data, the original access right owner of the electric power data sends the own access right to the receiver in a transaction mode.
Unlike purchasing data from the original owner of the data in a data flow transaction, the original access owner will not hold the access to the data and will be transferred to the new purchaser. Meanwhile, after transfer, the node of the original publisher of the data can update the access right holder information of the data in real time according to the information on the chain, so that the data information can be checked only by the owner of the current access right.
(4) Data validation: the data generated on the blockchain network is provided with asset value after the data is authorized, and the circulation and the transaction of the data asset can be realized on the blockchain network.
The data can be validated, a data valuation model needs to be established, data are priced, and safe transaction circulation is facilitated. Blockchains are just the best technical vehicle for data capitalization. The biggest problem faced by data assets is unclear ownership, having the characteristics of "see through, copy, etc., which is the most essential distinction between data assets and ordinary merchandise. Blockchain technology enables data to be an asset, the most basic of which is that it can be validated. Unlike traditional internet data, the blockchain network can copy and distribute at will, can uniquely identify data assets, is not tamperable, can trace back, and can obtain consensus on the whole network in a decentralization manner. The blockchain encapsulates the data assets into data objects that can be uplinked, ensures asset uniqueness by a unique coding mechanism, and validates each data asset. Merging and splitting of data assets can occur in the circulation process, and the blockchain technology can ensure the continuity and traceability of rights. When the data source side and the processing side finish the actions of uplink, right confirmation, pricing, splitting and transaction through various assets by the blockchain technology, the uniqueness of the data assets can ensure that the data assets cannot be copied and tampered, and therefore the value of the data assets can be guaranteed.
(5) Data authority control and supervision: and managing rights of each organization participating node to join the alliance chain network, issue data, view and application of the data and the like.
S2: a data management platform technical architecture based on block chains is designed.
The electric power block chain data management platform frame composition based on the block chain is shown in fig. 1, an electric power resource management department, a scientific research unit, an electric power related enterprise and the like are used as participation nodes, an electric power alliance block chain is constructed through the block chain data management platform, and a digital application scene of electric power data under the block chain platform is realized.
The blockchain-based power blockchain data management platform architecture includes an infrastructure layer, a power data layer, a contract layer, a service layer, and a business layer.
Within the infrastructure layer, the system uses hardware facilities including dedicated devices, routers, and servers, which provide the underlying data storage environment for it, as well as forwarding and computing capabilities for the data.
Referring to fig. 1, a further four-layer architecture is shown.
Within the power data layer, the system uses hardware facilities including dedicated devices, routers, and servers, which provide the underlying data storage environment for it, as well as forwarding and computing capabilities for the data.
The contract layer is a power data asset transition contract layer, hereinafter also referred to as contract layer. Within the contract layer, the smart contract is to implement a plurality of functions including identity authentication. .
1) Registering: in the registration process, a user to be registered needs to provide detailed organization information or personal information as an important basis for later-stage identity authentication; even if registration is successful, the user can only perform basic query functions.
2) Identity authentication: the user creates an account on the chain in the website and triggers the identity authentication management function, namely, the user can perform related transaction operation after passing verification confirmation of the verification node.
3) After successful identity authentication of the selling and purchasing users, the selling, sharing and transferring requests of the electric power data can be directly initiated, and the sellers can determine different prices and transferring conditions according to the electric power data access period and the data range. After the request is successful, waiting for the buyer to purchase; once the buyer is successful in purchasing, the buyer has the access right of the additional condition (access period, access range) for the part of the power data, and accesses the seller database from the website special interface through the returned secret key to acquire the data; after the buyer successfully purchases the data, the buyer can give the access right of the data to other users, and once the giving is successful, the original buyer does not have the access right any more and cannot access the data.
4) Tracing: the data assets can be combined and split in the circulation process, when the data owners share data, the intelligent contracts are utilized to attach own digital signatures, so that other people can conveniently verify whether the data content is originally issued by the data owners, the content is consistent with the version when signed, and the data content is not modified by any person. When the data source side and the processing side finish the actions of uplink, right confirmation, pricing, splitting and transaction through various assets by the blockchain technology, the uniqueness of the data assets can ensure that the data assets cannot be copied and tampered, and therefore the value of the data assets can be guaranteed.
The service layer and the business layer provide services such as information certification confirmation, information verification, information examination, history tracing and supervision through interaction with the intelligent contract. The general functions of exchanging and sharing information, inquiring and searching the user and the like are realized.
S3: a blockchain-based data management platform transaction architecture is designed.
The data management platform transaction architecture takes the form of multiple chains in parallel.
The isomorphic multi-chain parallel transaction processing architecture consists of a blockchain platform and a client.
The client manages account information, periodically acquires the full-network latest state of the local account, and acquires the load information of the full-network blockchain when the transaction needs to be sent. The new transaction directly sent by the user is called as a logic transaction, the client divides the logic transaction into actual transactions through the decision of the load balancing module, and the actual transactions are sent to the transaction processing module of the corresponding subnet chain for parallel processing.
The blockchain platform is composed of a plurality of subnet chains, and each subnet chain has a globally unique network identification. Each subnet chain only needs to be responsible for transaction processing in the subnet, and the consensus process is independently completed.
The actual transaction processing process uses an atomic hash time lock contract built in a subnet, and the intelligent contract is automatically deployed when a chain is started so as to ensure the atomicity of one logic transaction when the logic transaction is executed on a plurality of subnet chains after being divided into a plurality of actual transactions. Meanwhile, assume that the quantifiable asset in each subnet chain is 1:1 to simplify the description of the architecture. In theory, the corresponding relation can be converted by adding other functional modules into the equivalent relation.
Referring to fig. 2, the subnet chain is composed of a plurality of nodes, and in the illustration, a "subnet transaction processing module", "a" network partition module "and a" data service module "are functional modules included in each node in the corresponding blockchain.
In the application, the client sends the transaction to the subnet chain transaction processing module, which means that the client sends the actual transaction generated by processing the logic transaction in the local transaction processing module to the nodes in each subnet chain, and the subnet transaction processing module of each node running the local program processes the corresponding transaction.
The detailed design of the client and blockchain platform (i.e., the subnet chain) is described in detail below.
(1) Client design
The client side mainly comprises three modules, namely account private key management, transaction data management and load balancing decision.
1) The account private key management module is responsible for generating and locally storing account private keys. Meanwhile, an Elliptic Curve Digital Signature Algorithm (ECDSA) and a Keccak-256 algorithm are used for obtaining the account address corresponding to the private key. Each user may have a different account, which may have assets on different chains.
2) The transaction data management module has the main functions of: the transaction data transmission module and the transaction data monitoring module. Wherein the transaction data transmission module may handle types of transactions including, but not limited to, multi-chain unidirectional transfers, compatible with DApp-type applications (i.e., stateful-type application transactions), aggregation and dispersion of assets (multi-chain bi-directional transfers), and the like.
3) The load balancing decision module is responsible for periodically inquiring the latest state of the local account to the data service module of each subnet chain and updating the local account information. Meanwhile, state information of the subnet chain needs to be maintained, including but not limited to current load, congestion degree, transaction fee, account registration condition and the like of the subnet chain, better transaction division decision is provided for a transaction processing module according to the demand of user transfer by combining on-chain information, user experience is optimized, and the purposes of transaction splitting, transaction fee selection, reduction of user waiting time and improvement of overall transaction processing rate of the network are achieved.
The inputs to the load balancing module include: the account balance of the transaction sender on each subnet chain, the transaction amount, the transaction fee and the throughput of the transaction pool in each subnet chain, the asset amount reserved on the subnet chain with the balance by the user, the transfer total of the current logic transaction, and the transaction completion time expected by the user. It should be noted that these inputs are currently proposed as parameters required by the decision process in the current case, and the parameters can be increased and decreased later according to the requirements. The load balancing module applies the inputs, runs an algorithm to obtain a plurality of combined schemes which can simultaneously meet the conditions of user expected time and payment cost, and returns the transaction splitting strategy with the minimum cost to the transaction data sending module. The execution process diagram of the load balancing module is shown in fig. 3.
(2) Blockchain platform design
The blockchain platform, namely the subnet chain, is responsible for receiving and executing related transactions of account state change in the specific network, maintaining the latest state of the account in the specific network, and providing the latest account state information in the network space for the upper layer application. In the normal operation process of the system, a 'subnet transaction processing module' of the subnet chain receives transactions sent by a client according to a network division rule, calls different function functions aiming at different transaction types, and completes a consensus process in each subnet. Wherein the supported transaction types correspond to the supported transaction types in the client, including but not limited to multi-chain unidirectional transfers, compatible with DApp-type applications, aggregation and dispersion of multi-chain assets. The data service module monitors the latest state of the subnet chain in real time, updates the internal storage and provides an on-chain state query interface for the upper layer application.
1) Subnet transaction processing module
The subnet transaction processing module of the subnet chain receives the subnet transaction sent by the client. First, the basic information of the transaction (type of transaction, whether source account assets are sufficient, whether there is a "double attack" etc.) is checked. If the check is passed, the transaction is added to a local transaction pool (a cache structure of the transaction to be executed), and the transaction is selected and packaged. If the check is not passed, a message of "transaction execution failure" is returned to the client, and the transaction is discarded, and the architecture is shown in fig. 4.
The transaction verification module only receives transaction types supported by the current system, and the verification information comprises the transaction types, whether source address balances are sufficient and the like. If the check is passed, the transaction is added to the processing array of the corresponding transaction type, and a transaction receipt message is returned to the client transaction processing module. If the test is not passed, a transaction error message is returned to the client transaction processing module. The subnet transaction processing array stores the transaction to be processed on the corresponding subnet chain, and the transaction processing array is packed according to the transaction fee selection.
The multi-type transaction processing module is responsible for processing different types of transactions, each type of transaction is also different in consideration of the processing process due to different functionalities, and the processing process is respectively described in a sub-functional module of 'multi-chain unidirectional transfer', 'DApp application compatibility', 'aggregation and dispersion of assets', and it is noted that the functions represent a relatively general class of functions, and if other business requirements exist, other functional modules can be deployed in an increased mode, so that the expandability of the system is realized.
2) Network partition module
The application uses a relatively simple and efficient network division rule, and can support the extension of the subnet chain according to the requirement. Unlike prior art transactions that are partitioned by user address space, each subnet chain in the architecture has a unique network identifier (id) that grows strictly linearly. When a client builds a new transaction, the transaction is sent to multiple sub-network chains according to the client's load balancing module, so it is entirely up to the client on which chain the transaction is executed. The slicing module of the blockchain platform is mainly responsible for the management of the subnet chain, including numbering the chain, adding a new chain and the like. When existing blockchain systems have reached saturation, increasing the subnet chains in order to meet the ecological needs of the blockchain requires a determination to increase the number of chains. Because upgrades to the system require community consensus, the decision rule to increase the number of chains is critical. If the number of chains is excessively small, it is necessary to consider the relationship between the benefit and the cost for achieving consensus. If the number of the links is increased too much, the ecological stability of the blockchain can be damaged, the application does not limit the specific number, and the subnetwork links can be increased linearly according to specific business and application scene settings at the later stage, thereby providing stability.
When the system is started, N subnet chains are assumed to be started at the same time, and the initial asset on the subnet chains is 0; blocks are continuously generated while the native asset is released.
Each application provider can deploy an application on a target subnet chain according to the requirement of the application, wherein the requirement of the application refers to the funds circulation degree required by the application provider when the application is expected to run, and the funds circulation degree comprises real-time flowing speed of assets and total amount of assets in the subnet chain, and the aim is that the application has enough assets to run efficiently. The release of the application can improve the activity of the blockchain ecology and increase the circulation of the asset. The speed of asset distribution is determined, when the asset circulation speed required by the application is far greater than the distribution speed, the conditions of overheating application, overweight load and unsmooth asset circulation can be generated on the subnet chain, so that the side effects of chain congestion, transaction fee increase, user experience reduction and the like are caused, and at the moment, a new subnet chain needs to be added to share the load of the original subnet chain. When the new chain is started, a freezing period is needed to meet the asset requirements of the application, so that the amount of assets in the new chain is at least not less than the requirements of the application to be shared. When the freezing period is over, the application provider decides whether to deploy the application according to the state of the original link, and migrates the business of the original subnet link, wherein the migration refers to the fact that the user performs the business in the application of the new subnet link, as in the application using the original subnet link.
3) Data service module
The subnet chain data service module provides complete account state information, chain information and the like for upper-layer applications by tracking state changes on the chain. Transactions are specifically handled in the sub-functional modules of "multi-chain unidirectional transfer", "DApp-like application compatibility", "aggregation and dispersion of assets". The core content contained in the transaction data is transaction behavior initiated by a sender to a receiver, and a typical data structure contained in the transaction data is as follows: "source address a", "destination address B", "transfer amount V", "transaction number N", "transaction Input", "transaction type", "other". The address is the last 160 bits (20 bytes) of the hash value obtained by the public key through the Keccak-256 algorithm in the asymmetric key technology.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (9)

1. A power data management platform system based on a block chain technology is characterized in that,
the platform technical architecture comprises an infrastructure layer, a power data layer, a contract layer, a service layer and a service layer;
the transaction processing architecture comprises a blockchain platform and a client, and adopts an isomorphic multiple-chain parallel transaction processing architecture.
2. The blockchain technology-based power data management platform system of claim 1,
the infrastructure layer comprises hardware facilities, provides a basic data storage environment and forwarding and computing capabilities of data;
the power data layer provides data storage, data forwarding and computing services by using an infrastructure layer;
the contract layer comprises a plurality of intelligent contracts and provides contract support for the service layer, wherein the support comprises: user registration, identity authentication, selling and purchasing, and tracing;
the service layer is interacted with the contract layer, and provides background management service based on a flash framework, and the background management service comprises a database plug-in, a login plug-in, a form plug-in and an administrator plug-in;
the business layer faces the user, provides services such as information certification authority, information verification, information examination, history tracing and supervision, and realizes the general functions of exchanging and sharing information seen by the user, inquiring and searching the user, and the like.
3. The blockchain technology-based power data management platform system of claim 2,
the client comprises: the system comprises an account private key management module, a transaction data management module and a load balancing decision module; the account private key management module is responsible for generating and locally storing an account private key; the transaction data management module comprises transaction data sending and transaction data monitoring functions; the load balancing decision module is responsible for periodically inquiring the latest state of the local account to the data service module of each subnet chain and updating the local account information;
the blockchain platform includes: the system comprises a subnet transaction processing module, a network partition module and a data service module; the subnet chain network transaction processing module is responsible for receiving in-chain transactions sent by a client and processing the in-chain transactions and then feeding back the in-chain transactions, and comprises a transaction checking module, an in-subnet transaction processing array module and a multi-type transaction processing module; the network partition module is used for partitioning things, and each subnet chain is provided with a unique network identifier and grows linearly; the data service module provides complete account state information and chain information for upper-layer application by tracking state change on the chain.
4. The design method of the power data management platform based on the blockchain technology is characterized by comprising the following steps of:
step one: designing a block chain-based data management platform functional architecture, wherein the functional architecture comprises data release, data circulation transaction, data transfer, data right confirmation and data right control and supervision functions;
step two: designing a data management platform technical architecture based on a block chain, wherein the technical architecture comprises an infrastructure layer, a power data layer, a contract layer, a service layer and a service layer;
step three: the method comprises the steps of designing a data management platform transaction processing framework based on a blockchain, wherein the platform transaction processing framework consists of a blockchain platform and a client, and adopts an isomorphic multiple-chain parallel transaction processing framework.
5. The method for designing a power data management platform based on blockchain technology as in claim 4, wherein in the first step,
and (3) data release: each participant collects the power data information in the district and distributes the data on the power data management platform;
data flow transaction: the data cross departments share and circulate in the power data management platform, so that the transaction of the power data in the management platform is realized;
data transfer: after two participants reach a transfer agreement on certain electric power data, an original access right owner of the electric power data sends own access right to a receiver in a transaction mode, and meanwhile, the two parties transfer tokens;
data validation: defining a relationship for data generated on a blockchain network, forming an asset value of the data, so as to facilitate the circulation and transaction of the data asset on the blockchain network;
data authority control and supervision: and managing authority of each participant node to join the alliance chain network, issue data, view and application of the data and the like.
6. The method for designing a power data management platform based on blockchain technology as in claim 5, wherein in the second step,
the infrastructure layer comprises hardware facilities, provides a basic data storage environment and forwarding and computing capabilities of data;
the power data layer provides data storage, data forwarding and computing services by using an infrastructure layer;
the contract layer comprises a plurality of intelligent contracts and provides contract support for the service layer, wherein the support comprises: user registration, identity authentication, selling and purchasing, and tracing;
the service layer is interacted with the contract layer, and provides background management service based on a flash framework, and the background management service comprises a database plug-in, a login plug-in, a form plug-in and an administrator plug-in;
the business layer faces the user, provides services such as information certification authority, information verification, information examination, history tracing and supervision, and realizes the general functions of exchanging and sharing information seen by the user, inquiring and searching the user, and the like.
7. The method for designing a power data management platform based on blockchain technology as in claim 6, wherein in the third step,
the client comprises: the system comprises an account private key management module, a transaction data management module and a load balancing decision module;
the blockchain platform includes: the system comprises a subnet transaction processing module, a network partitioning module and a data service module.
8. The blockchain technology-based power data management platform design method of claim 7, wherein the account private key management module is responsible for generating and locally storing an account private key; the transaction data management module comprises transaction data sending and transaction data monitoring functions; the load balancing decision module is responsible for periodically inquiring the latest state of the local account to the data service module of each subnet chain and updating the local account information.
9. The method for designing a power data management platform based on blockchain technology as in claim 7,
the subnet chain network transaction processing module is responsible for receiving in-chain transactions sent by a client and processing the in-chain transactions and then feeding back the in-chain transactions, and comprises a transaction checking module, an in-subnet transaction processing array module and a multi-type transaction processing module;
the network partition module is used for partitioning things, and each subnet chain is provided with a unique network identifier and grows linearly;
the data service module provides complete account state information and chain information for upper-layer application by tracking state change on the chain.
CN202310932167.0A 2023-07-27 2023-07-27 Power data management platform system based on block chain technology and design method Pending CN116976543A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310932167.0A CN116976543A (en) 2023-07-27 2023-07-27 Power data management platform system based on block chain technology and design method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310932167.0A CN116976543A (en) 2023-07-27 2023-07-27 Power data management platform system based on block chain technology and design method

Publications (1)

Publication Number Publication Date
CN116976543A true CN116976543A (en) 2023-10-31

Family

ID=88479032

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310932167.0A Pending CN116976543A (en) 2023-07-27 2023-07-27 Power data management platform system based on block chain technology and design method

Country Status (1)

Country Link
CN (1) CN116976543A (en)

Similar Documents

Publication Publication Date Title
Kwon et al. Cosmos whitepaper
US20220271915A1 (en) Advanced non-fungible token blockchain architecture
US11341121B2 (en) Peer partitioning
Kaur et al. Scalability in blockchain: Challenges and solutions
US11853291B2 (en) Privacy preserving architecture for permissioned blockchains
EP4318362A1 (en) Blockchain-based data processing method, apparatus and device, and storage medium
JP2021533448A (en) Systems and methods to support SQL-based rich queries in hyperlegger fabric blockchain
CN112005264A (en) Blockchain implementing cross-chain transactions
US11263059B2 (en) Load leveler
US20200226546A1 (en) Global optimizer for supply chain
US11316385B2 (en) Wireless energy transfer
CN112231741B (en) Data processing method, device, medium and electronic equipment based on block chain system
WO2021004058A1 (en) Blockchain-based data processing method and device
US11888981B2 (en) Privacy preserving auditable accounts
CN116150260A (en) Data processing method, device, medium and electronic equipment of block chain system
Ohashi et al. Token-based sharing control for IPFS
WO2019199205A1 (en) Method of scaling a distributed information system
CN112988852B (en) Block chain-based data management method, device and medium
CN116976543A (en) Power data management platform system based on block chain technology and design method
CN116233139A (en) Data processing method, device, medium and electronic equipment of block chain system
CN116997895A (en) Reducing transaction aborts in an execution ordering validation blockchain model
CN116894727A (en) Data processing method and device based on block chain and related equipment
KR20190010157A (en) System and method for e-commerce using distributed sharing ledger with peer-to-peer network
CN116126480A (en) Cross-region block chain processing method and device for transaction, intelligent equipment, medium and product
Yang et al. DCAB: An Effective Data Collection and Analysis Service for Blockchain

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination