CN113763185A - Data processing method and device for cash investment based on block chain - Google Patents
Data processing method and device for cash investment based on block chain Download PDFInfo
- Publication number
- CN113763185A CN113763185A CN202111061365.1A CN202111061365A CN113763185A CN 113763185 A CN113763185 A CN 113763185A CN 202111061365 A CN202111061365 A CN 202111061365A CN 113763185 A CN113763185 A CN 113763185A
- Authority
- CN
- China
- Prior art keywords
- execution
- information
- block
- key
- contract
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 24
- 238000000034 method Methods 0.000 claims abstract description 127
- 230000008569 process Effects 0.000 claims abstract description 114
- 238000012856 packing Methods 0.000 claims abstract description 6
- 230000007246 mechanism Effects 0.000 claims description 30
- 238000012545 processing Methods 0.000 claims description 23
- 238000004590 computer program Methods 0.000 claims description 12
- 238000004806 packaging method and process Methods 0.000 claims description 3
- 238000012550 audit Methods 0.000 description 20
- 238000010586 diagram Methods 0.000 description 14
- 238000012546 transfer Methods 0.000 description 12
- 238000007789 sealing Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 9
- 230000001960 triggered effect Effects 0.000 description 9
- 230000009471 action Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 7
- 238000012800 visualization Methods 0.000 description 6
- 238000004422 calculation algorithm Methods 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 4
- 230000000007 visual effect Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000012790 confirmation Methods 0.000 description 3
- 230000008520 organization Effects 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 238000012795 verification Methods 0.000 description 3
- 238000007726 management method Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000001105 regulatory effect Effects 0.000 description 2
- 230000032683 aging Effects 0.000 description 1
- 238000013475 authorization Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000001276 controlling effect Effects 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000007730 finishing process Methods 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000010977 jade Substances 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012797 qualification Methods 0.000 description 1
- 238000010200 validation analysis Methods 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/06—Asset management; Financial planning or analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
- G06F16/2365—Ensuring data consistency and integrity
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- General Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Development Economics (AREA)
- Databases & Information Systems (AREA)
- Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Marketing (AREA)
- Economics (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Technology Law (AREA)
- General Health & Medical Sciences (AREA)
- Bioethics (AREA)
- Entrepreneurship & Innovation (AREA)
- Game Theory and Decision Science (AREA)
- Human Resources & Organizations (AREA)
- Operations Research (AREA)
- Computing Systems (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The embodiment of the specification provides a data processing method and device for cash investment based on a block chain. In the data processing method, key execution points in the cash investment execution process are determined, the cash investment execution process comprises a contract signing stage, an enterprise approval stage and a contract execution stage, all the stages are sequentially executed according to the execution sequence of the cash investment, and all the key execution points in each stage are sequentially executed according to the appointed execution sequence of the stage; when the execution at each key execution point is completed, acquiring the execution information generated at the key execution node; packing the acquired execution information into a first block, wherein the first block comprises a first hash value corresponding to the execution information, and the first hash value is generated based on the execution information; and recording the first block on the block chain.
Description
Technical Field
The embodiment of the specification relates to the technical field of block chains, in particular to a data processing method and device for cash investment based on the block chains.
Background
The cash investment is different from the common investment, is an investment mode for enterprises to buy banks or financial institutions to manage money by using idle money, and main products comprise current storage, regular deposit, fixed-life deposit, notice deposit, large-volume deposit list, intelligent deposit, structural deposit and cash management products.
At present, when an enterprise invests cash, the enterprise mainly carries out offline operation. For example, an enterprise may contact a financial institution offline and consult with a counterparty for an investment product to determine quote information for the investment product. The enterprise then enters an offline contract with the financial institution and begins to execute the contract. After the cash investment is completed, the enterprise archives the contract, the water flow and other data in the whole process of the cash investment, an auditing department inside the enterprise checks and audits the whole process of the cash investment, and in addition, an external auditing and supervising organization also checks and audits the whole process of the cash investment to ensure compliance and disclose.
Disclosure of Invention
In view of the foregoing, the present specification provides a data processing method and apparatus for cash investment based on a blockchain. According to the technical scheme provided by the embodiment of the specification, the execution information of each key execution point in the cash investment execution process is linked, so that the source tracing management of the whole life cycle of the cash investment execution process is realized.
According to an aspect of an embodiment of the present specification, there is provided a data processing method for cash investment based on a blockchain, including: determining key execution points in a cash investment execution process, wherein the cash investment execution process comprises a contract signing stage, an enterprise approval stage and a contract execution stage, all the stages are sequentially executed according to the execution sequence of the cash investment, and all the key execution points in each stage are sequentially executed according to the appointed execution sequence of the stage; when the execution at each key execution point is completed, acquiring the execution information generated at the key execution node; packing the acquired execution information into a first block, wherein the first block comprises a first hash value corresponding to the execution information, and the first hash value is generated based on the execution information; and recording the first block on a block chain.
According to another aspect of embodiments herein, there is also provided a data processing apparatus for cash investment based on a blockchain, including: a key execution point determination unit configured to determine key execution points in a cash investment execution process, wherein the cash investment execution process comprises a contract signing stage, an enterprise approval stage and a contract execution stage, the stages are sequentially executed according to the execution sequence of the cash investment, and the key execution points in each stage are sequentially executed according to the designated execution sequence of the stage; an execution information acquisition unit configured to acquire execution information generated at each key execution point when execution is completed at the key execution node; a block generation unit configured to pack the acquired execution information into a first block, the first block including a first hash value corresponding to the execution information, the first hash value being generated based on the execution information; and a block recording unit configured to record the first block on a block chain.
According to another aspect of embodiments herein, there is also provided an electronic device, including: at least one processor, a memory coupled to the at least one processor, and a computer program stored on the memory, the at least one processor executing the computer program to implement any of the above-described blockchain-based data processing methods for cash investments.
According to another aspect of embodiments herein, there is also provided a computer-readable storage medium storing a computer program which, when executed by a processor, implements the block chain-based data processing method for cash investment as described above.
According to another aspect of embodiments herein, there is also provided a computer program product comprising a computer program which, when executed by a processor, implements the method for block chain based data processing for cash investment as described in any one of the above.
Drawings
A further understanding of the nature and advantages of the contents of the embodiments of the present specification may be realized by reference to the following drawings. In the drawings, similar components or features may have the same reference numerals.
FIG. 1 illustrates a schematic diagram of an example environment, according to embodiments of the present description.
Fig. 2 shows an architectural schematic diagram of one example of a blockchain network according to an embodiment of the present specification.
Fig. 3 shows a flowchart of one example of a data processing method for cash investment based on a blockchain according to an embodiment of the present specification.
Fig. 4 is a schematic diagram illustrating an example of a consensus process of an embodiment of the present specification.
Fig. 5 is a diagram illustrating an example of formats of a pre-preparation message, a preparation message, and an acknowledgement message in a consensus process of an embodiment of the present specification.
Fig. 6 is a block diagram illustrating an example of a data processing apparatus for cash investment based on a block chain according to an embodiment of the present specification.
Fig. 7 shows a block diagram of an electronic device for implementing a data processing method for cash investment based on a blockchain according to an embodiment of the present specification.
Detailed Description
The subject matter described herein will be discussed with reference to example embodiments. It should be understood that these embodiments are discussed only to enable those skilled in the art to better understand and thereby implement the subject matter described herein, and are not intended to limit the scope, applicability, or examples set forth in the claims. Changes may be made in the function and arrangement of elements discussed without departing from the scope of the embodiments of the disclosure. Various examples may omit, substitute, or add various procedures or components as needed. In addition, features described with respect to some examples may also be combined in other examples.
As used herein, the term "include" and its variants mean open-ended terms in the sense of "including, but not limited to. The term "based on" means "based at least in part on". The terms "one embodiment" and "an embodiment" mean "at least one embodiment". The term "another embodiment" means "at least one other embodiment". The terms "first," "second," and the like may refer to different or the same object. Other definitions, whether explicit or implicit, may be included below. The definition of a term is consistent throughout the specification unless the context clearly dictates otherwise.
As used herein, a "counterparty" is an object of a business or corporation that makes a cash investment and may include a financial institution, a bank, or the like.
The block chain is a distributed shared account book and a database, and has the characteristics of decentralization, no tampering, trace retention, backtracking, openness and transparency and the like. The data on the block chain is stored in the form of data blocks, and the data blocks are connected in time sequence to form a chain data structure. Each block in the chain of blocks is linked to the previous block by an included cryptographic hash, and each block further includes a timestamp, a cryptographic hash, and one or more transactions. The individual transactions in the block form a Merkle tree by hashing. In a Merkle tree, the lowest leaf node contains the underlying data, each intermediate node is a hash of its child node, the root node is a hash of its child node, representing the root of the Merkle tree, and the root node of the Merkle tree stores hash values representing all the data in the Merkle tree. When verifying whether a hash value is a transaction stored in the Merkle tree, quick verification can be performed by determining whether the hash value is consistent with the structure of the Merkle tree.
A blockchain network is a decentralized point-to-point network consisting of multiple computing nodes for managing, updating, and maintaining one or more blockchain structures. The types of blockchain networks may include public blockchain networks, private blockchain networks, and alliance blockchain networks, depending on the degree of openness of the nodes in the blockchain network.
The public blockchain network is a public network of participating entities, thousands of entities can cooperate in the public blockchain network, each entity operates at least one node in the public blockchain network, and accordingly, the consensus process in the public blockchain network is also completed by each node. In the consensus process, a node participating in the consensus signs a block to indicate that the node acknowledges the consensus for the block, and then the block that completed the consensus is added to the block chain of the block chain network. In addition, the public blockchain network supports public transactions, and the public transactions are shared among all nodes in the public blockchain network and are stored in the global blockchain after being identified by all the nodes. A global blockchain refers to a blockchain that is replicated across all nodes. Consensus in a blockchain network is supported by a consensus mechanism, which is an algorithm for blockchain transactions to achieve distributed consensus, which may include: proof of work (POW), proof of rights (POS), and proof of authority (POA).
The private block chain network only aims at a specific entity, and the read-write permission of each node in the private block chain network is strictly controlled. In addition, the threshold for joining the private blockchain network is high, and it needs to be allowed to join the private blockchain network to become one of the nodes, based on which, the private blockchain network is also commonly referred to as an allowed network, which limits who is allowed to participate in the network and the participation level in the network, for example, some nodes may participate in the uplink process of all transactions, and some nodes may only participate in the uplink process of a designated part of transactions. Various types of access control mechanisms may be used in private blockchain networks, such as voting of adding new entities by existing participants, regulatory agency control permissions, and the like.
The participating entities in the federated blockchain network are also private and may be considered private networks of participating entities. A federated blockchain network may be composed of several entities, each of which operates at least one node in the federated blockchain network. The consensus process in the federated coalition blockchain network is performed by authorized nodes, which may be all or part of the nodes in the federated coalition blockchain network, each of which signs a block to be uplinked to indicate a consensus acknowledgement for that block, which is then added to the blockchain.
FIG. 1 illustrates a schematic diagram of an example environment 100, according to embodiments of the present description. As shown in fig. 1, the example environment 100 allows entities to participate in a blockchain network 102. The blockchain network 102 may be, for example, a public, private, or alliance chain blockchain network. The example environment 100 may include computing devices 104, 106, 108, 110, 112 and a network 114. In an embodiment, the Network 114 may include a Local Area Network (LAN), Wide Area Network (WAN), the internet, or a combination thereof, and is connected to websites, user devices (e.g., computing devices), and backend systems. In an embodiment, the computing devices 104, 106, 108, 110, 112 may access the network 114 through wired and/or wireless communication.
In some cases, the computing devices 106, 108 may be nodes of a cloud computing system (not shown), or each computing device 106, 108 may be a separate cloud computing system, including multiple computers interconnected by a network and operating as a distributed processing system.
In an embodiment, the computing devices 104-108 may run any suitable computing system that enables them to act as nodes in the blockchain network 102. For example, the computing devices 104-108 may include, but are not limited to, servers, desktop computers, laptops, tablet computing devices, and smartphones. In an embodiment, the computing devices 104-108 can be affiliated with a related entity and used to implement a corresponding service, which can be used to manage transactions between an entity or entities, for example.
In one embodiment, the computing devices 104-108 respectively store a blockchain ledger corresponding to the blockchain network 102. The computing device 104 may be (or include) a web server for providing browser functionality that may provide visualization information related to the blockchain network 102 based on the network 114. In some cases, the computing device 104 may not participate in the blockchain verification, but rather monitor the blockchain network 102 to determine when other nodes (e.g., which may include the computing device 106 and 108) agree, and generate a corresponding blockchain visualization user interface accordingly.
In an embodiment, computing devices 110 and 112 may be client devices connected to blockchain network 102. For example, computing device 110 may be a terminal device at a medical facility platform and computing device 112 may be a terminal device at an advertising administration platform. Computing devices 110 and 112 may include, but are not limited to, servers, desktop computers, laptops, tablet computing devices, and smartphones.
In an embodiment, computing device 104 may receive a request initiated by a client device (e.g., computing device 110 or computing device 112) for a blockchain visualization user interface. In some cases, the nodes of the blockchain network 102 may also act as client devices, such that a user of the computing device 108 may send the request to the computing device 104 using a browser running on the computing device 108.
In response to the request, computing device 104 may generate a blockchain visualization user interface (e.g., a web page) based on the stored blockchain ledger and send the generated blockchain visualization user interface to the requesting client device. If blockchain network 102 is a private type or a federated type blockchain network, the request for the blockchain visual user interface may include user authorization information, which may be verified by computing device 104 before generating and sending the blockchain visual user interface to the requesting client device, and the corresponding blockchain visual user interface returned after verification.
The blockchain visualization user interface may be displayed on the client device (e.g., as may be displayed in user interface 116 shown in fig. 1). When the blockchain ledger is updated, the display content of the user interface 116 may be updated accordingly. Further, user interaction with user interface 116 may result in requests to other user interfaces, such as a search results page that displays a block list, block details, transaction list, transaction details, account list, account details, contract list, contract details, or results of a user conducting a search of the block chain network, and so forth.
Fig. 2 shows an architectural schematic diagram of one example of a blockchain network according to an embodiment of the present specification.
As shown in fig. 2, enterprise node 220 is a blockchain link point in blockchain network 214 or a component thereof, and enterprise node 220 may be a node constructed by an enterprise. The enterprise may uplink data through enterprise node 220. Enterprise node 220 included in the blockchain network shown in fig. 2 is merely one example. In another example, the enterprise side is communicatively connected with a blockchain link point in the blockchain network 214. In this example, the enterprise sends the data to be uplinked to the block-link node of the communication connection, and the block-link node then uplinks the data to be uplinked to the block-link node for storage. This can prevent stored data from being deleted or tampered.
Further, blockchain network 214 may also include counterparty nodes 240, which counterparty nodes 240 may be constructed by counterparties. Counterparty node 240 may act as a consensus node in blockchain network 214, performing consensus operations with other consensus nodes. The counterparty node 240 included in the blockchain network 214 shown in fig. 2 is merely an example, and in this specification embodiment, the counterparty node 240 may not be included in the blockchain network 214.
In addition, blockchain network 214 may also include audit authority nodes 260, audit authority nodes 260 may be constructed by audit authorities, which may include enterprise internal audit departments and external audit authorities, which may include accounting firms, regulatory agencies, and the like. The audit authority node 260 may act as a consensus node in the blockchain network 214 to perform consensus operations with other consensus nodes. Audit authority node 260 included in blockchain network 214 is shown in fig. 2 as an example only, and in this specification embodiment audit authority node 260 may not be included in blockchain network 214.
In one example, the blockchain network in the embodiments of the present specification may be a federation chain network, the federation chain network may be built on one platform, and an operator of the platform (hereinafter referred to as a platform side) may manage the federation chain network. For example, the platform side may control the joining and leaving of nodes in a federated link network. In one example, the platform side may control the joining and exiting of nodes according to a preset node constraint mechanism. According to a node joining mechanism in the node constraint mechanism, a request device can send a joining request to a platform side to apply for joining the alliance chain network, the platform side can respond to the joining request to audit the request device, the audited content can include qualification, financial statement information, action information and the like of enterprises, and the request device which is approved is added into the alliance chain network to become a node. For the node exit mechanism in the node constraint mechanism, the device requesting to exit may be a node in the federation chain network, the device may send an exit request to the platform side to apply for exiting the federation chain network, and the platform side may perform a corresponding exit operation in response to the exit request, for example, logout of a valid certificate of the device, and broadcast a message that the device exits the federation chain network to other nodes in the federation chain network.
The alliance chain network constructed by the platform side can be provided for a third-party enterprise, and the third-party enterprise can request the platform side to carry out cash investment business processing in the alliance chain network. For example, the third-party enterprise and the counterparty act as nodes in the alliance chain network, cash investment is conducted in the alliance chain network, and related information in the cash investment process is linked to the alliance chain for storage, so that authenticity and traceability of the information in the cash investment process are guaranteed.
Fig. 3 shows a flow diagram of one example 300 of a data processing method for cash investment based on blockchains in accordance with an embodiment of the present description.
The data processing method illustrated in fig. 3 may be performed by an enterprise end that invests in cash and, in one example, may be performed by an enterprise node when the enterprise node of an enterprise construct is located in a blockchain network.
As shown in fig. 3, at 310, key enforcement points in the execution of the cash investment may be determined.
In the embodiments of the present specification, the process of the cash investment may include a pre-process, an execution process, and a post-process. The early stage process is used for determining a counterparty, an investment product, quotation information and the like, the execution process is a process for executing the specific operation of the cash investment, and the post-arrangement process is used for auditing and checking the cash investment after the cash investment is finished.
The cash investment execution process can comprise a contract signing phase, an enterprise approval phase and a contract execution phase, and each phase in the cash investment execution process can be executed in sequence according to the execution sequence of the cash investment. In one example, the contract signing phase, the enterprise approval phase, and the contract execution phase are performed in sequential order. The signing operation of the investment contract is firstly executed in a contract signing stage, then the enterprise carries out internal examination and approval or filing on the signed contract, and enters a contract execution stage after the internal examination and approval of the enterprise is passed, and the signed investment contract is executed in the contract execution stage.
The stages of the cash investment execution process may be interlinked, and the interlinked stages are executed in sequence. The two adjacent phases are mutually influenced, in one example, in the two adjacent phases, the later phase depends on the former phase, namely, the former phase is completed, and the later phase starts to execute again.
The key execution points in the cash investment execution process can comprise a plurality of key execution points, each key execution point can belong to one part of the cash investment execution process, and the key execution points can be presented in the modes of equipment, departments, different levels of auditors and the like. For example, the key execution point is an operation performed by the signing device, after the enterprise and the counterparty determine the contract content in the contract signing stage, the representatives of both parties respectively sign on the signing device, and the signing device can acquire the contract and the corresponding signature. For another example, the key execution point is an operation executed by a legal department, and in the enterprise approval phase after the contract is signed, one of the links is that the legal department audits the signed contract to ensure the compliance of the contract. For another example, the key execution point is an operation executed by auditors at different levels, and in the enterprise approval stage, the corresponding business department needs to approve the business related to the contract step by step, for example, the business department sequentially approves according to the sequence of the project group leader, the department manager, and the leader of the supervisor.
At each critical execution point, a corresponding operation may be performed. The operation executed at each key execution point may be an indispensable necessary operation in the cash investment execution process, and the execution information correspondingly generated by the operation executed at each key execution point may be indispensable necessary information in the cash investment execution process, for example, may be a trigger condition for triggering the next key execution point to perform an operation. In one example, for a key execution point in the cash investment execution process, when the cash investment execution process lacks an operation and/or corresponding execution information of the key execution point, a trigger condition for a next key execution point to be executed is lacked, so that the next key execution point to be executed cannot be triggered to continue to be executed, and further the cash investment execution process cannot continue to be executed.
For each stage in the cash investment execution process, a plurality of key execution points can be included, and the key execution points are executed in sequence according to the designated execution sequence of the stage.
Each key execution point can play a role in starting and stopping in the execution process of the stage, and adjacent key execution points are mutually connected, namely, in two adjacent key execution points, the last key execution point finishes execution, and the next key execution point restarts execution.
Each critical execution point is indispensable in the phase, and all critical execution points in the phase may constitute the complete execution process of the phase. When a key execution point is absent in a stage, since the missing key execution point can join the previous key execution point and the next key execution point, when the key execution point is absent, the previous key execution point and the next key execution point cannot join, so that the execution process of the stage is incomplete.
In two consecutive phases, the last critical execution point in the previous phase may indicate that the phase is finished, and the first critical execution point in the next phase may indicate that the phase is started. In one example, the last key execution point in the previous stage and the first key execution point in the next stage may be mutually connected, and the last key execution point may trigger the first key execution point to start execution, that is, when the execution at the last key execution point is completed, the first key execution point may be triggered to start execution, that is, the next stage is entered.
At 320, upon completion of execution at each critical execution point, execution information generated at the critical execution point may be obtained.
In embodiments of the present description, the cash investment execution process may be monitored in real time to determine the progress of the cash investment execution process. The cash investment execution process may be monitored by monitoring each critical execution point in the cash investment execution process to determine an execution status at each critical execution point, which may include an unexecuted status, an executing status, and an executed status.
At each key execution point, corresponding execution information can be generated in the execution process, and the execution information at each key execution point can reflect the execution content at the key execution point. The execution process at each key execution point may include one or more operation actions, and each operation action may generate corresponding operation content. Based on this, the execution information may include at least one of action information of the operation, content information of the operation, and the like. The action information of an operation may be used to characterize a specific operation, e.g., an operation at a critical execution point is a signature operation, and the generated action information may be used to characterize the signature operation. The content information of the operation may be used to characterize the content of the object generated during or at the end of the execution of the operation, e.g. a signing operation at a key execution point, the generated being an electronic signature, the content information of the signing operation then comprising the electronic signature.
In one example, when execution of each critical execution point is completed, execution information generated at the critical execution point may be obtained in real time, so that execution information at each critical execution point may be subsequently uplinked in real time.
For the contract signing phase, the key execution points may include the business party, the transaction counter-party, and the operations that generate the complete contract. The signing and sealing operation is executed on the contract at the key execution point of the enterprise side, and the generated execution information can comprise the operation information of signing and sealing of the enterprise side, the signature data of the enterprise side and the sealing data of the enterprise side. The signing and sealing operation is executed on the contract at the key execution point of the counterparty side, and the generated execution information can comprise the operation information of signing and sealing of the enterprise side, the signature data of the enterprise side and the sealing data of the enterprise side. Further, at the operation of generating the complete contract, the complete contract may be generated via signing and sealing of both the business and the counterparty, and the generated execution information may include the contract at this time.
The enterprise approval stage can include an approval process formed by each approval party according to a preset approval sequence, and the approval parties perform approval in sequence according to the approval sequence. Two adjacent approval parties are mutually connected, and the approval operation of the latter approval party depends on the approval operation of the former approval party. And for two adjacent approval parties, after the former approval party approves the approval, the approval process reaches the next approval party for approval, and if the former approval party does not approve, the approval process is stopped, and the approval is not passed.
Each approver can be a key execution point, and at each approver, approvers and signatures for confirming the identity of the approvers can be provided, wherein the approvers include agreement and disagreement. Based on this, at each approver, the generated execution information includes: the examining and approving party carries out the operation information of examination and approval, the examination and approval opinions of the examining and approving party, signature and the like.
For the contract execution phase, during contract execution for cash investments, money transfers to a counterparty, interest charges from a counterparty, and the like may be included. Key points of performance during the contract performance phase may include money transfer operations, interest collection operations, and the like. At the money transfer operation, the generated fulfillment information may include: the operation information of the enterprise for remitting money, the money amount of the remittance, the information of the payee, the remittance time and the like. At the interest charging operation, the generated execution information may include: the enterprise collects the operation information of interest, the amount of interest, the time of interest collection and the like.
At 330, the acquired execution information is packaged into a first chunk.
In this embodiment, the execution information packed into the first block may include execution information at one key execution point, and may also include execution information at a plurality of key execution points. When packing the execution information at the plurality of key execution points into the first chunk, the plurality of key execution points may be key execution points that are sequentially executed in series. In one example, the performance information for packaging into the first block includes performance information at all critical performance points in the cash investment performance process, such that the performance information in the first block may be used to characterize the entire cash investment performance process.
In an embodiment of the present specification, the first block may include a first hash value corresponding to the execution information. The first hash value may be generated based on the execution information. In another example, the first hash value may be generated based on the execution information and key execution point information corresponding to the execution information.
In one example, the obtained execution information may be packed into a first chunk based on a data amount of the execution information and a capacity of the chunk. The first block may include one or more blocks, and when the first block includes a plurality of blocks, the acquired execution information is divided into a plurality of pieces, and each piece of execution information is packed into one block. The number of execution information divided is identical to the number of corresponding blocks.
In this example, when the data amount of the execution information is not larger than the capacity of the block, the execution information may be packed into one block as the first block. When the data amount of the execution information is larger than the capacity of the block, the execution information can be divided according to the capacity of the block, and the data amount of each divided execution information is not larger than the capacity of the block. Then packing each piece of execution information into a block, wherein all the obtained blocks are the first blocks.
Before storing into the block, the execution information needs to be subjected to hash calculation processing. In one example, the obtained execution information may be hashed to obtain a corresponding first hash value.
Hash calculation is a process of converting an input of an arbitrary length into a first hash value of a fixed length. After the execution information is subjected to the hash calculation, even if the execution information is slightly changed, a completely different first hash value is obtained. The first hash value is typically generated by hashing the execution information using a hash function. Examples of hash functions include, but are not limited to, Secure Hash Algorithm (SHA) -256, which outputs a 256-bit first hash value.
A plurality of pieces of execution information may be hashed and stored in a chunk. For example, two pieces of execution information are hashed to obtain two hash values, and then the two obtained hash values are hashed again to obtain another hash value. This process is repeated until a single hash value is obtained for all the execution information to be stored in the block. This hash value is called a Merkle root hash and is stored at the head of the chunk. Any change in the execution information causes a change in its hash value, and ultimately a change in the Merkle root hash value.
In one example, the first block may further include key execution point information corresponding to the execution information, where the key execution point information is used to characterize the key execution point and may include identification information of the key execution point. For example, if the key execution point is a financial department, the key execution point information may be identification information of the financial department. For another example, the key execution point is a department manager, and the key execution information at this time may be identification information such as employee codes of the department manager.
In this example, by correspondingly packaging the key execution point information and the execution information into the first block, it is convenient to determine the key execution point corresponding to each execution information, and further, it is convenient to audit and check each execution information according to the execution sequence of the key execution points.
In another example, the first chunk may also include execution information, such that execution information at various key execution points is also recorded on the chunk chain. The execution information recorded on the blockchain cannot be tampered, so that the execution information of each key execution point in the cash investment process can be directly obtained from the blockchain when the cash investment is audited, and the execution information obtained from the blockchain is credible and can be directly used as audit data.
In another example, the first tile may further include a generation time of the execution information, which may be used to calculate an execution time at the corresponding critical execution node. In one example, the generation time of the execution information may be determined as the execution time at the corresponding key execution node, and in this example, the generation time of the execution information in the first block may be used to determine the execution sequence of the corresponding key execution nodes, which is the execution process sequence of the cash investment, so as to facilitate auditing the execution process of the cash investment.
At 340, the first block is recorded on the block chain.
In one example, a first block may be broadcast to a consensus node in a blockchain network for a consensus process, and the first block may be recorded on the blockchain after the consensus node achieves consensus.
Fig. 4 is a schematic diagram illustrating an example of a consensus process of an embodiment of the present specification. In this specification, the first hash value and the key enforcement point information may be considered as transaction data in a blockchain. In the example of FIG. 4, the enterprise node acts as the master node (i.e., accounting node, hereinafter referred to as master node R0) for the blockchain network.
The master node R0 broadcasts the packaged tiles to all consensus nodes in the blockchain network for consensus processing, for example, the master node R0 broadcasts the packaged tiles to the backup nodes R1, R2, and R3 for consensus processing. Note that the consensus process is shown as including 4 network nodes R0, R1, R2, and R3 for illustrative purposes only, and the consensus process may include any suitable number of network nodes.
In the embodiments of the present specification, the consensus process may be implemented using PoW (workload certification algorithm), PoS (equity certification algorithm), PBFT (practical byzantine fault-tolerant algorithm), and the like. The following description will be made by taking the PBFT consensus process as an example.
As shown in fig. 4, the procedure of the PBFT consensus process includes: a Pre-preparation phase (Pre-preparation) 410, a preparation phase (preparation) 420, and a validation phase (Commit) 430.
Specifically, at 410, the master node R0 packages the execution information to be recorded into the blockchain into a message m, then generates a Pre-preparation message Pre-preparation, and sends (e.g., broadcasts) the Pre-preparation message Pre-preparation to the backup nodes R1, R2, and R3 within a given time interval. The Pre-prepare message Pre-prepare indicates that master node R0 is initiating the consensus process.
In an embodiment of the present specification, as shown in fig. 5, the format of the Pre-preparation message Pre-preparation may be: < PRE-PREPARE, epoch, seq, D (m), signature-p >, m, j >. Here, "PRE-PREPARE" denotes a protocol identification of the PRE-prepared message, "epoch" denotes an age of R0 as a master node, "seq" denotes a proposal number of a proposal of required consensus (i.e., adding the block to the block chain 216), "d (m)" denotes a digest of a request message set, "signature-p" denotes a signature of R0, "m" denotes a specific content of the request message (i.e., a specific content of each piece of authentication information in the block), and "j" denotes a node identification of R0. Here, d (m) is obtained by performing a hash calculation on each authentication information set in the block.
In the preparation stage 420, for each backup node (R1, R2, or R3), after receiving the Pre-preparation message Pre-preparation and detecting that the Pre-preparation message Pre-preparation is legitimate, the Pre-preparation message Pre-preparation may be stored in a local log, and a preparation message preparation for responding to the Pre-preparation message Pre-preparation may be generated and then broadcast to other nodes. The Prepare message Prepare indicates that the backup node has received the Pre-Prepare message Pre-Prepare from the primary node and is sending a reply in response to the Pre-Prepare message Pre-Prepare.
Accordingly, each backup node will also receive the prepare message Pre-prepare sent by the other backup nodes. Taking backup node R1 as an example, after receiving the Prepare message Pre-Prepare sent by master node R0, backup node R1 broadcasts the generated Prepare message Pre-Prepare to master node R0, backup nodes R2, and R3. Accordingly, backup node R1 also receives Prepare message Prepare sent by primary node R0, backup nodes R2 and R3.
In this description, the Prepare message Prepare broadcast by the backup node may be used to indicate the consensus commitment made by the backup node during the Prepare phase 420.
In this specification, as shown in fig. 5, the format of the preparation message Prepare may be: < PREPARE, epoch, seq, D (m), i, signature-i >. Here, "PREPARE" denotes a protocol identification of the preparation message PREPARE, "i" denotes a node identification of the node that transmitted the preparation message PREPARE, and "signature-i" denotes a signature of the node that transmitted the preparation message PREPARE. The meaning of "epoch", "seq", and "d (m)" in the preparation message Prepare is the same as that of "epoch", "seq", and "d (m)" in the above-described preparation message Pre-Prepare.
In the acknowledgement phase 430, when a network node receives a sufficient number of preparation messages Prepare from other network nodes, the network node determines that consensus has been reached. For example, if the primary node R0 or backup nodes R1, R2, or R3 receive qurum (e.g., 2f +1, where f represents the number of failed network nodes) Prepare messages Prepare, it is determined that consensus is achieved between the network nodes. The master node R0 or the backup node R1, R2 or R3 then broadcasts an acknowledgement message Commit to the other nodes.
In this specification, as shown in fig. 5, the format of the acknowledgment message Commit may be: < COMMIT, epoch, seq, D (m), p, signature-p >. Wherein "COMMIT" represents a protocol identification of the acknowledgment message COMMIT, "p" represents a node identification of a node that transmits the acknowledgment message COMMIT, and "signature-p" represents a signature of the node that transmits the acknowledgment message COMMIT. The meaning of "epoch", "seq" and "d (m)" in the acknowledgment message Commit is the same as that of "epoch", "seq" and "d (m)" in the aforementioned Pre-preparation message Pre-preparation.
In this description, a node sends a confirmation message Commit and stores the confirmation message Commit in a local log to represent consensus commitments made by the node during the confirmation phase 430.
After reaching consensus for the initiated proposal as above, the master node records the block into the blockchain, thereby completing the recording of the first block into the blockchain.
In addition, before the transaction data is packaged into the first block, the acquired execution information can be encrypted, so that the execution information is prevented from being known by other common identification nodes to cause information leakage. Accordingly, in this case, the encrypted execution information is used to calculate the first hash value of the execution information. When the block stores the execution information, the execution information which is encrypted is also stored in the block. Further, it is noted that the encryption of the execution information may include encrypting all of the execution information included in the cash investment execution process, or encrypting a part of the execution information included in the cash investment execution process.
Examples of encryption methods for the execution information include, but are not limited to, symmetric encryption, asymmetric encryption, homomorphic encryption, and the like. Symmetric encryption may use a single key to encrypt (generate ciphertext from plaintext) and decrypt (generate plaintext from ciphertext) the execution information. In symmetric encryption, multiple nodes may have the same key, and thus each node may encrypt/decrypt the execution information.
Asymmetric encryption may use a key pair to encrypt the execution information. Specifically, the enterprise node 220 may encrypt the execution information using a public key of a public/private key pair of the enterprise side, then digitally sign the encrypted execution information using a private key of the public/private key pair at the enterprise node 220, send the digitally signed encrypted data to a consensus node in the block chain, decrypt and verify the encrypted data using the public key of the public/private key pair of the enterprise node 220 by the consensus node, and record the decrypted data on the block chain after the consensus node achieves consensus.
As described herein, the blockchain network 214 is provided in the form of a peer-to-peer network that includes a plurality of blockchain nodes that are each used to persist a blockchain 216 (also referred to as a blockchain ledger 216) formed by blockchain data. Only one blockchain 216 is shown in fig. 2, but there may be multiple blockchains 216 or copies thereof in the blockchain network, e.g., one blockchain 216 or copy thereof may be maintained for each blockchain link point.
It is further noted that the embodiment described in fig. 3 is implemented in a block chain recording manner based on the consensus protocol. In other embodiments of the present specification, the block chain record may be implemented without the need of consensus processing, for example, a trusted account book without the need of consensus processing.
In one example of an embodiment of the present specification, a blockchain network may have a first intelligent contract deployed therein that may be used to perform a contract signing operation in a contract signing phase.
The first intelligent contract may be triggered upon entering the contract signing phase. The first intelligent contract may have a business recorded therein, and when the first intelligent contract is triggered, the business and a counterparty of the business may be determined. Then, the contract content negotiated between the enterprise and the counterparty can be acquired and distributed to the enterprise and counterparty. And after the enterprise and the counterparty determine that the contract content is correct, signing and sealing are carried out to complete contract signing.
In addition, the first intelligent contract may further include a data collection function, the first intelligent contract may collect performance information of the enterprise and the counterparty, and the performance information may include: signing operation information and sealing operation information executed by the enterprise side, signing operation information and sealing operation information executed by the counterparty side, and signing data and sealing data generated by the enterprise side and the counterparty side. The collected performance information may be packed into a first block and then uplink.
In another example, a blockchain network may have a second intelligent contract deployed therein that may be used to perform an approval process during an enterprise approval phase.
The second intelligent contract may be triggered after the contract signing phase is completed. The second intelligent contract can record an approval process of enterprise approval, the approval process can be formed by a plurality of approving parties according to a preset approval sequence, and all the approving parties perform approval in sequence according to the approval sequence.
The second intelligent contract can be connected with each approving party in the approving process, the approving progress of each approving party is monitored, and accordingly each approving party can call the second intelligent contract. When a second intelligent contract is triggered, an approval process is started, firstly, a first approval party in the approval process carries out approval operation, the first approval party calls a second intelligent contract to record the approval content of the first approval party and the approval passing opinion in the second intelligent contract, when the approval passing opinion of the first approval party is recorded in the second intelligent contract, the approval process can be pushed to a second approval party, the second approval party continues to carry out approval, and the process is analogized until the approval process is finished or stopped.
By intelligently contracting the contract signing stage and the enterprise approval stage, the contract signing stage and the enterprise approval stage can be automatically executed according to the pre-deployed intelligent contract without human participation, and the objectivity of the contract signing stage and the enterprise approval stage is improved, so that the non-compliance condition in the contract signing stage and the enterprise approval stage can be avoided.
In one example of an embodiment of the present specification, after the contract signing phase is completed, the contracts signed by the contract signing phase may be recorded on the blockchain. The enterprise node constructed by the enterprise is used as a node in the blockchain network, and can acquire the uplink contract from the blockchain.
In the contract execution phase, the business and counterparty execute the contract according to the contract content. In a cash investment, the primary operations include money transfer operations and interest collection operations. Throughout the cash investment process, multiple money transfer operations and multiple interest collection operations may be included, with each money transfer operation and each interest collection operation being identified as a designated key execution point. The performance corresponding to each designated key performance point may be recorded in the contract, such as what the money transfer amount was for the money transfer operation at the designated time, and correspondingly what the interest could be collected.
The execution information generated by the designated key execution point for the money transfer operation can comprise operation information of money transfer performed by the enterprise, money transfer amount, money transfer time, money receiver information, money sender information and the like. Upon completion of execution of the specified key execution point, execution information generated by the specified key execution point may be acquired.
For a specific key execution point for interest charging, the execution information generated by the specific key execution point may include the amount of interest charged, the time of interest charging, and the like, and the execution information generated by the specific key execution point may be acquired when the execution of the specific key execution point is completed.
Then, for the two kinds of execution information, the obtained execution information may be compared with the content corresponding to the specified key execution point in the contract recorded on the blockchain to determine whether the actual execution information of the contract execution stage is consistent with the corresponding contract content. Under the condition that the comparison is inconsistent, the comparison information can be fed back to the enterprise, so that the enterprise can adjust the contract execution strategy in time when the deviation occurs between the contract execution and the contract content, and the consistency with the contract content is ensured.
In one example of the embodiments of the present specification, in the cash investment, a preliminary process of the cash investment for determining a counterparty, an investment product, a product offer, and the like needs to be performed before the cash investment execution process. The early stages of the cash investment include at least a counterparty and investment product determination process and a quote inquiry process.
In the course of determining the counterparty and the investment product, the counterparty making the cash investment can be determined according to the counterparty admission mechanism of the enterprise for the counterparty, and the investment product making the cash investment can be determined according to the investment product admission mechanism for the investment product. The counterparty admission mechanism and the investment product admission mechanism may be enterprise-defined.
The counterparty admission mechanism can be set according to indexes such as the rating, the scale, the capital abundance ratio and the like of the counterparty, and a financial institution conforming to the counterparty admission mechanism can be determined as the counterparty. When the determined counterparties include a plurality of counterparties, a counterparty for making a cash investment can be further determined from the plurality of counterparties, and the determination can include determining a financial institution with the best comprehensive performance of indexes of counterparty admission mechanisms in the plurality of counterparties as a counterparty for making a cash investment.
The admission mechanism of the investment product can be set according to the indexes of profitability, risk, fluidity and the like of the investment product, and the investment product which accords with the admission mechanism of the investment product can be determined as the investment product of cash investment. When a plurality of determined investment products are included, the investment products for cash investment can be further determined from the plurality of investment products, and the determining can include determining the investment product with the best comprehensive performance of indexes of admission mechanisms of the investment products in the plurality of investment products as the investment product for cash investment.
In the counterparty and investment product determination process, the generated prior information may include the determined counterparty, the investment product, the basis for determining the counterparty, the basis for determining the investment product, and the like.
In the process of inquiring quotation, the enterprise and the counterparty communicate the quotation of the investment product, and the communicated quotation information can comprise the amount, the period, the interest rate and the like of the investment. The specific investment information of the investment product of the cash investment is selected through communication between the enterprise and the counterparty.
In the course of determining counterparties and investment products, the generated prior information may include quotation information such as investment amount, term, interest rate, etc., and selection operation information for the quotation information.
For the early stage process of the cash investment, the prior information generated in the early stage process of the cash investment can be packaged into a second block, and then the second block is recorded on the block chain. The second tile may include a second hash value corresponding to the prior information, the second hash value being generated based on the prior information.
In one example, the second block and the first block may be the same block, and the execution information in the execution process of the cash investment and the prior information in the prior process are packed in the same block. In another example, the second block and the first block may be different blocks, in this example, for the prior information generated in the previous process, uplink may be performed in real time after the prior information is acquired; for the execution information in the execution process, uplink can be carried out in real time.
In one example, a third intelligent contract may be deployed in the blockchain network, which may be formed from admission mechanisms for cash investments, which may include counterparty admission mechanisms for counterparties and/or investment product admission mechanisms for investment products.
When the admission mechanism of the cash investment comprises a trading opponent admission mechanism, the determination rule of the trading opponent can be set according to various indexes of the rating, the scale, the capital abundance rate and the like of the trading opponent in the trading opponent admission mechanism, such as the rating is higher than 2A and the capital abundance rate is higher than 8%. When the admission mechanism of the cash investment includes an admission mechanism of the investment product, the determination rule of the investment product can be set according to various indexes such as profitability, risk and liquidity in the admission mechanism of the investment product. For example, an investment product with higher profit, lower risk, and greater liquidity may be determined as the investment product for the cash investment.
When the process of determining the counterparty and the investment product is entered, the third intelligent contract can be triggered, so that the determination operation of the counterparty and the determination operation of the investment product can be automatically executed, the manual participation operation can be avoided, and the transparency of the cash investment operation is improved.
In another example, a fourth intelligent contract may be deployed in a blockchain network, which may be used for quote inquiry operations performed by the enterprise with counterparties in the early stages of a cash investment.
The fourth intelligent contract may be triggered after the counterparty and investment product determination process is complete, i.e., after the counterparty and investment product are determined. After determining the trading counterparty and the investment product, the fourth intelligent contract may record the determined trading counterparty and investment product. After the fourth intelligent contract is triggered, the enterprise carries out quotation inquiring operation with the transaction opponents recorded by the fourth intelligent contract.
In the process of inquiring quotation, the fourth intelligent contract can be used for recording quotation information of the enterprise and a counterparty and also recording operation information of the enterprise and the counterparty for selecting the quotation information. The recorded quote information and the selection operation information may be used as prior information in the early stage of the cash investment.
In one example of the embodiments of the present specification, in the cash investment process, after the early process and the execution process of the cash investment, a post-process finishing process may be further included.
In the post-arrangement process, an auditing mechanism can audit the early-stage process and the execution process of the cash investment. In an application scenario of the alliance chain network, the audit mechanism node can be used as an consensus node in the alliance chain network to participate in consensus. The auditing agency node can also obtain the related information of the cash investment from the block chain. When an auditing organization needs to audit the cash investment, the prior information and the execution information of the cash investment can be obtained from the block chain, and the prior information and the execution information can reflect the complete early-stage process and the execution process of the cash investment. Based on the method, the obtained prior information and the execution information are audited, which is equivalent to the early process and the execution process of the cash investment, so that the integrity of the audit of the cash investment is ensured. The audit organization obtains the prior information and the execution information of the cash investment from the block chain, and based on the non-tamper property of the block chain, the authenticity of the execution information and the prior information is ensured, thereby ensuring the correctness of the audit work.
In one example, the alliance-link network may be constructed by a platform side, the platform side may be in communication connection with each node in the alliance-link network, and the platform side may further obtain information related to each node, for example, the platform side may obtain cash investment requirement information of an enterprise node.
The platform side may have a function of pushing cash investment recommendation information to the enterprise node, and the cash investment recommendation information may include recommended counterparties, investment products, terms, amounts, earnings, and the like. Specifically, the platform side may determine cash investment recommendation information provided to the enterprise node according to the cash investment requirement of the enterprise node, and then push the determined cash investment recommendation information to the enterprise node.
In addition, in the early stage of cash investment, the counterparty, the investment product and the quotation information can be determined according to the cash investment demand information of the enterprise node. Different enterprise nodes can be different in expression mode aiming at the cash investment demand information, and based on the expression mode, the platform side can carry out standardized processing on the cash investment demand information of the enterprise nodes. Specifically, the platform side may extract key information from the cash investment requirement information of the enterprise node, and the extracted key information may be used to characterize feature information for a counterparty, an investment product and a quote, such as a grade and a scale of the counterparty, an aging rate and a term of the investment product, and the like. The cash investment requirement information of the enterprise nodes is standardized, so that the requirements of the enterprise can be determined more accurately, and the cash investment can be performed more accurately.
Fig. 6 shows a block diagram of an example of a data processing apparatus 600 for cash investment based on a blockchain according to an embodiment of the present description.
The data processing apparatus 600 shown in fig. 6 may be applied to an enterprise side. In one example, data processing apparatus 600 may be applied to an enterprise node of an enterprise build.
As shown in fig. 6, the data processing apparatus 600 may include a key execution point determination unit 610, an execution information acquisition unit 620, a tile generation unit 630, and a tile recording unit 640.
A key execution point determination unit 610 configured to determine key execution points in a cash investment execution process, the cash investment execution process including a contract signing phase, an enterprise approval phase and a contract execution phase, the phases being executed in sequence according to an execution order of the cash investment, the key execution points in each phase being executed in sequence according to a designated execution order of the phase.
An execution information acquisition unit 620 configured to acquire execution information generated at each key execution node when execution is completed at the key execution node.
A block generating unit 630 configured to pack the acquired execution information into a first block, where the first block includes a first hash value corresponding to the execution information, and the first hash value is generated based on the execution information.
A block recording unit 640 configured to record the first block on the block chain.
In one example, the tile recording unit 640 may be further configured to: broadcasting the first block to a consensus node in a block chain network for consensus processing; and recording the first block on the block chain after the consensus node achieves the consensus.
In one example, the block chain has recorded thereon the contract signed by the contract signing phase. The data processing apparatus 600 may further include: the device comprises an execution information acquisition unit, an information comparison unit and a feedback unit.
An execution information acquisition unit configured to acquire, in the contract execution phase, execution information generated by the specified key execution point when execution of the specified key execution point in the contract execution phase is completed. An information comparison unit configured to compare the acquired execution information with the content corresponding to the specified key execution point in the contract. A feedback unit configured to feed back the comparison information.
In one example, the block generating unit 630 may be further configured to package the prior information generated in the early process of the cash investment into a second block, the prior information including the determined counterparty, the investment product and the offer information, the second block including a second hash value corresponding to the prior information, the second hash value being generated based on the prior information. The block recording unit 640 may be further configured to record the second block on the block chain.
In one example, the federation chain network is built by a platform side for controlling the joining and leaving of nodes in the federation chain network. The data processing apparatus 600 may further include a recommendation information acquisition unit, which may be configured to acquire cash investment recommendation information provided by the platform side according to the cash investment demand of the enterprise node.
Embodiments of a data processing method and apparatus for cash investment based on blockchain according to embodiments of the present specification are described above with reference to fig. 1 to 6.
The data processing apparatus for cash investment based on block chains of the embodiments of the present specification may be implemented in hardware, or may be implemented in software, or a combination of hardware and software. The software implementation is taken as an example, and is formed by reading corresponding computer program instructions in the storage into the memory for operation through the processor of the device where the software implementation is located as a logical means. In the embodiments of the present specification, the data processing apparatus for cash investment based on the block chain may be implemented by an electronic device, for example.
Fig. 7 illustrates a block diagram of an electronic device 700 for implementing a data processing method for cash investment based on a blockchain in an embodiment of the present description.
As shown in fig. 7, electronic device 700 may include at least one processor 710, storage (e.g., non-volatile storage) 720, memory 730, and communication interface 740, and at least one processor 710, storage 720, memory 730, and communication interface 740 are connected together via a bus 750. The at least one processor 710 executes at least one computer-readable instruction (i.e., the elements described above as being implemented in software) stored or encoded in memory.
In one embodiment, computer-executable instructions are stored in the memory that, when executed, cause the at least one processor 710 to: determining key execution points in the cash investment execution process, wherein the cash investment execution process comprises a contract signing stage, an enterprise approval stage and a contract execution stage, all the stages are sequentially executed according to the execution sequence of the cash investment, and all the key execution points in each stage are sequentially executed according to the designated execution sequence of the stage; when the execution at each key execution point is completed, acquiring the execution information generated at the key execution node; packing the acquired execution information into a first block, wherein the first block comprises a first hash value corresponding to the execution information, and the first hash value is generated based on the execution information; and recording the first block on the block chain.
It should be appreciated that the computer-executable instructions stored in the memory, when executed, cause the at least one processor 710 to perform the various operations and functions described above in connection with fig. 1-6 in the various embodiments of the present description.
According to one embodiment, a program product, such as a machine-readable medium, is provided. A machine-readable medium may have instructions (i.e., elements described above as being implemented in software) that, when executed by a machine, cause the machine to perform various operations and functions described above in connection with fig. 1-6 in the various embodiments of the present specification.
Specifically, a system or apparatus may be provided which is provided with a readable storage medium on which software program code implementing the functions of any of the above embodiments is stored, and causes a computer or processor of the system or apparatus to read out and execute instructions stored in the readable storage medium.
In this case, the program code itself read from the readable medium can realize the functions of any of the above-described embodiments, and thus the machine-readable code and the readable storage medium storing the machine-readable code form part of the present invention.
Computer program code required for the operation of various portions of the present specification may be written in any one or more programming languages, including an object oriented programming language such as Java, Scala, Smalltalk, Eiffel, JADE, Emerald, C + +, C #, VB, NET, Python, and the like, a conventional programming language such as C, Visual Basic 2003, Perl, COBOL 2002, PHP, and ABAP, a dynamic programming language such as Python, Ruby, and Groovy, or other programming languages. The program code may execute on the user's computer, or on the user's computer as a stand-alone software package, or partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any network format, such as a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet), or in a cloud computing environment, or as a service, such as a software as a service (SaaS).
Examples of the readable storage medium include floppy disks, hard disks, magneto-optical disks, optical disks (e.g., CD-ROMs, CD-R, CD-RWs, DVD-ROMs, DVD-RAMs, DVD-RWs), magnetic tapes, nonvolatile memory cards, and ROMs. Alternatively, the program code may be downloaded from a server computer or from the cloud via a communications network.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
Not all steps and elements in the above flows and system structure diagrams are necessary, and some steps or elements may be omitted according to actual needs. The execution order of the steps is not fixed, and can be determined as required. The apparatus structures described in the above embodiments may be physical structures or logical structures, that is, some units may be implemented by the same physical entity, or some units may be implemented by a plurality of physical entities, or some units may be implemented by some components in a plurality of independent devices.
The term "exemplary" used throughout this specification means "serving as an example, instance, or illustration," and does not mean "preferred" or "advantageous" over other embodiments. The detailed description includes specific details for the purpose of providing an understanding of the described technology. However, the techniques may be practiced without these specific details. In some instances, well-known structures and devices are shown in block diagram form in order to avoid obscuring the concepts of the described embodiments.
Although the embodiments of the present disclosure have been described in detail with reference to the accompanying drawings, the embodiments of the present disclosure are not limited to the specific details of the embodiments, and various simple modifications may be made to the technical solutions of the embodiments of the present disclosure within the technical spirit of the embodiments of the present disclosure, and all of them fall within the scope of the embodiments of the present disclosure.
The previous description of the disclosure is provided to enable any person skilled in the art to make or use the disclosure. Various modifications to the disclosure will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other variations without departing from the scope of the disclosure. Thus, the description is not intended to be limited to the examples and designs described herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (12)
1. A data processing method for cash investments based on blockchains, comprising:
determining key execution points in a cash investment execution process, wherein the cash investment execution process comprises a contract signing stage, an enterprise approval stage and a contract execution stage, all the stages are sequentially executed according to the execution sequence of the cash investment, and all the key execution points in each stage are sequentially executed according to the appointed execution sequence of the stage;
when the execution at each key execution point is completed, acquiring the execution information generated at the key execution node;
packing the acquired execution information into a first block, wherein the first block comprises a first hash value corresponding to the execution information, and the first hash value is generated based on the execution information; and
recording the first block on a block chain.
2. The data processing method of claim 1, wherein recording the first chunk on a chunk chain comprises:
broadcasting the first block to a consensus node in a block chain network for consensus processing; and
after the consensus node achieves consensus, recording the first block on a block chain.
3. The data processing method of claim 1, wherein the first block further comprises at least one of: the execution information, the key execution point information corresponding to the execution information and the generation time of the execution information.
4. The data processing method of claim 1, wherein the intelligent contracts deployed in the blockchain network include at least one of:
a first intelligent contract for performing contract signing operations in the contract signing phase;
a second intelligent contract for performing an approval process during the enterprise approval phase;
a third intelligent contract formed by a counterparty admission mechanism for cash investment and/or an admission mechanism for investment products; and
a fourth intelligent contract for making a bid-asking operation with a counterparty during an early stage of the cash investment.
5. The data processing method according to claim 1, wherein a contract signed by the contract signing stage is recorded on the blockchain,
the method further comprises the following steps:
in the contract execution phase, when the execution of a specified key execution point in the contract execution phase is completed, acquiring the execution information generated by the specified key execution point;
comparing the acquired execution information with the content corresponding to the specified key execution point in the contract; and
and feeding back comparison information.
6. The data processing method of claim 1, further comprising:
packaging advance information generated in an earlier stage process of cash investment into a second block, wherein the advance information comprises a determined transaction opponent, an investment product and quotation information, the second block comprises a second hash value corresponding to the advance information, and the second hash value is generated based on the advance information; and
recording the second block on the block chain.
7. The data processing method of claim 1, wherein the data processing method is performed by an enterprise node in a federated link network,
the alliance chain network further comprises a transaction counter-party node constructed by a transaction counter-party and an auditing node constructed by an auditing agency.
8. The data processing method of claim 7, wherein the federation chain network is built by a platform side for controlling joining and leaving of nodes in the federation chain network,
the method further comprises the following steps:
and obtaining the cash investment recommendation information provided by the platform side according to the cash investment requirement of the enterprise node.
9. A data processing apparatus for cash investments based on blockchains, comprising:
a key execution point determination unit configured to determine key execution points in a cash investment execution process, wherein the cash investment execution process comprises a contract signing stage, an enterprise approval stage and a contract execution stage, the stages are sequentially executed according to the execution sequence of the cash investment, and the key execution points in each stage are sequentially executed according to the designated execution sequence of the stage;
an execution information acquisition unit configured to acquire execution information generated at each key execution point when execution is completed at the key execution node;
a block generation unit configured to pack the acquired execution information into a first block, the first block including a first hash value corresponding to the execution information, the first hash value being generated based on the execution information; and
a block recording unit configured to record the first block on a block chain.
10. An electronic device, comprising: at least one processor, a memory coupled with the at least one processor, and a computer program stored on the memory, the at least one processor executing the computer program to implement the method of any of claims 1-8.
11. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-8.
12. A computer program product comprising a computer program which, when executed by a processor, implements the method of any one of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111061365.1A CN113763185A (en) | 2021-09-10 | 2021-09-10 | Data processing method and device for cash investment based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111061365.1A CN113763185A (en) | 2021-09-10 | 2021-09-10 | Data processing method and device for cash investment based on block chain |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113763185A true CN113763185A (en) | 2021-12-07 |
Family
ID=78794799
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111061365.1A Pending CN113763185A (en) | 2021-09-10 | 2021-09-10 | Data processing method and device for cash investment based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113763185A (en) |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20090003530A (en) * | 2007-06-14 | 2009-01-12 | 이정일 | A method and system of investment linked with purchasing goods using internet |
CN107292735A (en) * | 2017-05-27 | 2017-10-24 | 唐盛(北京)物联技术有限公司 | A kind of mortgage finance method and system based on block chain technology |
CN107578337A (en) * | 2017-08-28 | 2018-01-12 | 杭州云象网络技术有限公司 | A kind of intelligence based on block chain intelligence contract technology, which is thrown, cares for product trustship method |
WO2018111295A1 (en) * | 2016-12-16 | 2018-06-21 | Hitachi, Ltd. | Blockchain monitoring and management |
CN108513669A (en) * | 2017-12-29 | 2018-09-07 | 深圳前海达闼云端智能科技有限公司 | Crowd funding information processing method and device based on block chain, storage medium and electronic equipment |
CN109377338A (en) * | 2018-10-17 | 2019-02-22 | 中链科技有限公司 | Financial product processing method and processing device based on block chain |
CN109509078A (en) * | 2018-09-19 | 2019-03-22 | 平安科技(深圳)有限公司 | Debt-credit operation method, system, server and storage medium based on block chain |
CN109903164A (en) * | 2019-01-03 | 2019-06-18 | 广州斯拜若科技有限公司 | Private equity funds automation monitoring and managing method and system based on block chain |
CN111340628A (en) * | 2020-03-13 | 2020-06-26 | 普洛斯科技(重庆)有限公司 | Asset information management method and device based on block chain |
CN111353893A (en) * | 2020-04-24 | 2020-06-30 | 支付宝(杭州)信息技术有限公司 | Transaction data processing method and device based on block chain |
CN112215710A (en) * | 2020-09-27 | 2021-01-12 | 泰康保险集团股份有限公司 | Annuity data processing method, block chain system, medium and electronic device |
TW202109429A (en) * | 2019-07-19 | 2021-03-01 | 南韓商卡沙韓國股份有限公司 | Method for investment based on blockchain and apparatus for using the method |
-
2021
- 2021-09-10 CN CN202111061365.1A patent/CN113763185A/en active Pending
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20090003530A (en) * | 2007-06-14 | 2009-01-12 | 이정일 | A method and system of investment linked with purchasing goods using internet |
WO2018111295A1 (en) * | 2016-12-16 | 2018-06-21 | Hitachi, Ltd. | Blockchain monitoring and management |
CN107292735A (en) * | 2017-05-27 | 2017-10-24 | 唐盛(北京)物联技术有限公司 | A kind of mortgage finance method and system based on block chain technology |
CN107578337A (en) * | 2017-08-28 | 2018-01-12 | 杭州云象网络技术有限公司 | A kind of intelligence based on block chain intelligence contract technology, which is thrown, cares for product trustship method |
CN108513669A (en) * | 2017-12-29 | 2018-09-07 | 深圳前海达闼云端智能科技有限公司 | Crowd funding information processing method and device based on block chain, storage medium and electronic equipment |
CN109509078A (en) * | 2018-09-19 | 2019-03-22 | 平安科技(深圳)有限公司 | Debt-credit operation method, system, server and storage medium based on block chain |
WO2020056975A1 (en) * | 2018-09-19 | 2020-03-26 | 平安科技(深圳)有限公司 | Loan operation method and system based on blockchain, server and storage medium |
CN109377338A (en) * | 2018-10-17 | 2019-02-22 | 中链科技有限公司 | Financial product processing method and processing device based on block chain |
CN109903164A (en) * | 2019-01-03 | 2019-06-18 | 广州斯拜若科技有限公司 | Private equity funds automation monitoring and managing method and system based on block chain |
TW202109429A (en) * | 2019-07-19 | 2021-03-01 | 南韓商卡沙韓國股份有限公司 | Method for investment based on blockchain and apparatus for using the method |
CN111340628A (en) * | 2020-03-13 | 2020-06-26 | 普洛斯科技(重庆)有限公司 | Asset information management method and device based on block chain |
CN111353893A (en) * | 2020-04-24 | 2020-06-30 | 支付宝(杭州)信息技术有限公司 | Transaction data processing method and device based on block chain |
CN112215710A (en) * | 2020-09-27 | 2021-01-12 | 泰康保险集团股份有限公司 | Annuity data processing method, block chain system, medium and electronic device |
Non-Patent Citations (4)
Title |
---|
付一夫;: "区块链如何赋能对资管行业的穿透式监管?", 金融经济, no. 07, 2 April 2019 (2019-04-02) * |
张文越;: "资产证券化中区块链技术的应用探索、问题挑战与监管对策", 科技与金融, no. 04, 9 April 2020 (2020-04-09) * |
滕耘: "区块链供应链金融规范管理与风险管控", 31 August 2020, 中国商业出版社, pages: 13 - 17 * |
胡笑梅等: "管理信息***", 31 March 2021, 机械工业出版社, pages: 185 - 189 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10615979B1 (en) | Replication-related protocols for decentralized networks | |
US11227282B2 (en) | Time-bounded activity chains with multiple authenticated agent participation bound by distributed single-source-of-truth networks that can enforce automated value transfer | |
Estevam et al. | Accurate and decentralized timestamping using smart contracts on the Ethereum blockchain | |
CN110728494B (en) | Real estate business handling method, real property information system and device | |
CN114282926A (en) | Cryptographic method and system for secure extraction of data from blockchains | |
CN110704531B (en) | Block chain-based electricity consumption client credit management method and system | |
CN111798209A (en) | Engineering project management method based on block chain, electronic equipment and storage medium | |
CN111160998B (en) | Comment data processing method and device based on block chain and comment system | |
CN112163954B (en) | Transaction method and device based on block chain | |
CN110599348B (en) | Method, device, equipment and storage medium for stock right incentive | |
CN115619404B (en) | Block chain-based enterprise associated transaction business cooperative processing method | |
CN111353893A (en) | Transaction data processing method and device based on block chain | |
CN113987080A (en) | Block chain excitation method and device based on reputation consensus and related products | |
Tkachuk et al. | Towards efficient privacy and trust in decentralized blockchain-based peer-to-peer renewable energy marketplace | |
CN110751351A (en) | Signing method of electric power material supply electronic document based on block chain deposit certificate | |
CN110727734B (en) | Credit information synchronization method based on blockchain and credit joint rewarding and punishing system | |
US11245528B1 (en) | Protocols for decentralized networks | |
CN111897770A (en) | Method and system for initiating litigation request | |
CN110619223A (en) | Block chain-based safe sharing method for credit data in personal credit investigation system | |
Vakilinia et al. | An incentive-compatible mechanism for decentralized storage network | |
CN111583041A (en) | Block chain-based bond issue data storage and verification processing method and device | |
CN113037827B (en) | Voting method based on block chain, self-organization management method and computer equipment | |
Zhang et al. | FutureText: A blockchain-based contract signing prototype with security and convenience | |
CN114650289B (en) | Method and device for block chain consensus | |
CN115099800A (en) | Block chain based method and device for transferring poor asset data |
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 |