CN114971911A - Block chain-based security off-site trading method, system, device and equipment - Google Patents

Block chain-based security off-site trading method, system, device and equipment Download PDF

Info

Publication number
CN114971911A
CN114971911A CN202210649385.9A CN202210649385A CN114971911A CN 114971911 A CN114971911 A CN 114971911A CN 202210649385 A CN202210649385 A CN 202210649385A CN 114971911 A CN114971911 A CN 114971911A
Authority
CN
China
Prior art keywords
security
trading
contract
account
transaction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210649385.9A
Other languages
Chinese (zh)
Inventor
彭智
郭鑫
冯嘉诚
温启智
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202210649385.9A priority Critical patent/CN114971911A/en
Publication of CN114971911A publication Critical patent/CN114971911A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/02Banking, e.g. interest calculation or account maintenance

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Bioethics (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The disclosure provides a block chain-based stock off-site trading method, a block chain-based stock off-site trading device, stock off-site trading equipment, stock off-site trading storage media and a stock off-site trading program product, and relates to the field of block chains. The method is used for a stock company end and comprises the following steps: receiving a trading request initiated by a client, wherein the trading request comprises a security trading instruction; calling a corresponding first intelligent contract on a block chain network based on the transaction request so as to enable a bank end to transfer funds according to an execution result of the first intelligent contract; wherein the execution results include results of executing the security off-line trading rules on the blockchain network, the bank end configured to: obtaining the execution result from the blockchain network; and if the execution result meets the preset condition, executing fund transfer according to the security trading instruction. The present disclosure also provides a block chain based stock off-site trading method, apparatus, device, storage medium and program product for bank terminals.

Description

Block chain-based security off-site trading method, system, device and equipment
Technical Field
The present disclosure relates to the field of blockchain, and more particularly, to a blockchain-based stock off-board trading method, system, apparatus, device, medium, and program product.
Background
In the process of off-site trading of securities, a security company is responsible for the off-site trading business of the securities of customers, and the trading and settlement funds of the customers are stored in full into a designated commercial bank engaged in the trading and settlement fund storage business by adopting a third party storage and management mode, and are managed by independent users on the behalf of the customers.
In the related art, a third party depository is responsible for the flow of funds and may not be obligated or capable of reviewing the authenticity and legitimacy of the securities company project. A security company may be tempted to steal funds by trading. Therefore, there is still a risk that the securities company privately appropriates the customer funds when trading off-site in the current regulatory mode.
Disclosure of Invention
In view of the foregoing, the present disclosure provides a blockchain-based security offsite trading method, system, apparatus, device, medium, and program product that can prevent the appropriation of customer funds
In one aspect of the disclosed embodiments, there is provided a block chain-based stock off-site trading method for a stock company side, including: receiving a trading request initiated by a client, wherein the trading request comprises a security trading instruction; calling a corresponding first intelligent contract on a block chain network based on the trading request so as to enable a bank end to transfer funds according to an execution result of the first intelligent contract, wherein the first intelligent contract comprises a security off-site trading rule predetermined between the client and a security company; wherein the execution results include results of executing the security off-line trading rules on the blockchain network, the bank end configured to: obtaining the execution result from the blockchain network; and if the execution result meets the preset condition, executing fund transfer according to the security trading instruction.
According to an embodiment of the present disclosure, before invoking a corresponding first intelligent contract on a blockchain network based on the transaction request, the method further includes: determining N intelligent contracts corresponding to N security off-site trading products, wherein N is an integer greater than or equal to 1; submitting the N intelligent contracts to the bank end for auditing; and under the condition that the audit is passed, deploying the N intelligent contracts to the blockchain network.
According to an embodiment of the present disclosure, said deploying said N smart contracts to said blockchain network comprises: initiating a smart contract deployment transaction, broadcasting the N smart contracts to the blockchain network; wherein the blockchain network comprises M consensus nodes, M being an integer greater than or equal to 1, the blockchain network being configured to: and storing the N intelligent contracts into a block chain under the condition that the verification results of the M consensus nodes accord with a consensus mechanism.
According to an embodiment of the present disclosure, before invoking a corresponding first intelligent contract on a blockchain network based on the transaction request, the method further includes: determining the security off-line trading rules according to the security off-line trading products selected by the customer; and signing the first intelligent contract in the N intelligent contracts with the client according to the security off-site trading rule.
According to an embodiment of the present disclosure, the security offsite trading rule includes an automatic execution condition of the first smart contract, the method further comprising: and calling a first intelligent contract on the block chain network under the condition that the automatic execution condition is met.
According to an embodiment of the present disclosure, the stock company opens a stock management summary account at the bank end and a dedicated transaction account associated with the customer, the customer opens a personal account at the bank end, the stock transaction instruction includes a stock purchase instruction, and the method further includes: executing the security purchase instruction according to the purchase fund of the customer received by the deposit and management general account; before the deposit and management summary account receives the purchase fund, the bank end executes fund transfer according to the security trading instruction, and the fund transfer comprises the following steps: if the execution result meets the preset condition, transferring the purchase fund in the personal account to the special transaction account; and transferring the purchase funds in the dedicated transaction account to the depository summary account.
According to an embodiment of the present disclosure, the security trading instructions further include security redemption instructions, the method further comprising: executing the security redemption instructions to cause the inventory exchange account to receive redemption funds of the customer; wherein, the bank end executes fund transfer according to the securities trading instruction and comprises the following steps: if the execution result meets a preset condition, transferring the redeemed funds in the deposit and management summary account to the special transaction account; and transferring the redeemed funds in the dedicated transaction account to the personal account.
According to an embodiment of the present disclosure, the invoking a corresponding first intelligent contract on a blockchain network based on the transaction request includes: generating a contract invocation transaction request based on the transaction request; performing transaction signature on the contract invocation transaction request; broadcasting the signed contract invocation transaction request to the blockchain network to invoke the first intelligent contract.
Another aspect of the embodiments of the present disclosure provides a block chain-based stock off-site trading method for a bank terminal, including: acquiring an execution result of a first intelligent contract on a block chain network, wherein the first intelligent contract comprises a security off-line trading rule predetermined between a client and a security company, and the execution result comprises a result of executing the security off-line trading rule on the block chain network; if the execution result meets the preset condition, fund transfer is executed according to the security trading instruction; wherein the trading request initiated by the customer includes the stock trading instruction, and before the bank end receives the execution result, the stock company end is configured to execute the following operations: receiving the transaction request; invoking a first intelligent contract on the blockchain network based on the transaction request.
According to an embodiment of the present disclosure, the stock company opens a stock management summary account at the bank end and a dedicated transaction account associated with the customer, the customer opens a personal account at the bank end, the stock transaction instruction includes a stock purchase instruction, and the executing a fund transfer instruction includes: if the execution result meets a preset condition, transferring the purchase fund in the personal account to the special transaction account; and allocating the purchase funds in the special transaction account to the deposit and management summary account so that the security company end executes the security purchase instruction according to the purchase funds of the customer received by the deposit and management summary account.
According to an embodiment of the present disclosure, the security trading instructions further include security redemption instructions, the security company end is configured to execute the security redemption instructions to cause the inventory exchange account to receive redemption funds of the customer, the executing funds transfer instructions further include: if the execution result meets a preset condition, transferring the redeemed funds in the deposit and management summary account to the special transaction account; and transferring the redeemed funds in the dedicated transaction account to the personal account.
Another aspect of the disclosed embodiments provides a block chain-based security off-board trading system, comprising: the system comprises a security company unit, a contract calling unit and a contract calling unit, wherein the security company unit is used for receiving a trading request initiated by a client and generating a contract calling request based on the trading request, and the trading request comprises a security trading instruction; the intelligent contract management unit is used for receiving the contract calling request and calling a first intelligent contract to a blockchain network based on the contract calling request, wherein the first intelligent contract comprises a security off-line trading rule predetermined between the client and a security company; a blockchain network to execute the first intelligent contract to obtain an execution result, wherein the execution result includes a result of executing the security offsite trading rule on the blockchain network; and the bank unit is used for acquiring the execution result from the block chain network, and executing fund transfer according to the security trading instruction if the execution result meets a preset condition.
Another aspect of the disclosed embodiments provides a block chain-based stock off-site trading device for stock companies, including: the system comprises a request receiving module, a transaction processing module and a processing module, wherein the request receiving module is used for receiving a transaction request initiated by a client, and the transaction request comprises a security transaction instruction; a contract calling module, configured to call, based on the transaction request, a corresponding first intelligent contract on a block chain network, so that a bank executes fund transfer according to the security transaction instruction according to an execution result of the first intelligent contract, where the first intelligent contract includes a security off-site transaction rule predetermined between the customer and a security company; wherein the execution results include results of executing the security off-line trading rules on the blockchain network, the bank end configured to: obtaining the execution result from the blockchain network; and if the execution result meets the preset condition, executing fund transfer according to the security trading instruction.
Another aspect of the disclosed embodiments provides a block chain-based security off-site trading device for bank terminals, including: the result acquisition module is used for acquiring an execution result of a first intelligent contract on a blockchain network, wherein the first intelligent contract comprises a security off-site trading rule predetermined between a client and a security company, and the execution result comprises a result of executing the security off-site trading rule on the blockchain network; the fund transfer module is used for executing fund transfer according to the security trading instruction if the execution result meets the preset condition; wherein the trading request initiated by the customer includes the stock trading instruction, and before the bank end receives the execution result, the stock company end is configured to execute the following operations: receiving the transaction request; invoking a first intelligent contract on the blockchain network based on the transaction request.
Another aspect of the disclosed embodiments provides an electronic device, including: one or more processors; a storage device to store one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method as described above.
Yet another aspect of the embodiments of the present disclosure provides a computer-readable storage medium having stored thereon executable instructions, which when executed by a processor, cause the processor to perform the method as described above.
Yet another aspect of the disclosed embodiments provides a computer program product comprising a computer program that when executed by a processor implements the method as described above.
One or more of the above embodiments have the following advantageous effects: the security company end can receive a trading request initiated by a client and call a corresponding first intelligent contract on the block chain network, so that the bank end executes fund transfer according to the security trading instruction under the condition that the execution result meets the preset condition. Therefore, based on the block chain technology, the fund transfer is executed by intelligent contracts on the fund flow execution chain under the condition of meeting the security off-site trading rules signed by the clients and the security companies, so that the contract execution results are mutually identified and mutually trusted across the institutions, the funds of the clients can be prevented from being used to a certain extent, and effective fund supervision is realized.
Drawings
The foregoing and other objects, features and advantages of the disclosure will be apparent from the following description of embodiments of the disclosure, which proceeds with reference to the accompanying drawings, in which:
fig. 1 schematically illustrates an architectural schematic of a blockchain based security offsite trading system according to an embodiment of the present disclosure;
FIG. 2 schematically illustrates a block diagram of an intelligent contract management unit according to an embodiment of the present disclosure;
fig. 3 schematically illustrates a flow chart of a security off-line trading method for a security company end according to an embodiment of the present disclosure;
FIG. 4 schematically illustrates a flow diagram for deploying a smart contract, according to an embodiment of the disclosure;
FIG. 5 schematically illustrates a flow diagram for signing an intelligent contract according to an embodiment of the disclosure;
FIG. 6 schematically illustrates a flow diagram for invoking an intelligent contract, according to an embodiment of the disclosure;
FIG. 7 schematically illustrates a flow chart of an off-board transaction of a security in accordance with an embodiment of the present disclosure;
FIG. 8 schematically illustrates a flow chart of a method for off-line trading of securities at a bank end, in accordance with an embodiment of the present disclosure;
fig. 9 schematically shows a block diagram of a security off-board trading device for a security company end according to an embodiment of the present disclosure;
fig. 10 schematically illustrates a block diagram of a security off-board trading device for bank ends, in accordance with an embodiment of the present disclosure; and
fig. 11 schematically illustrates a block diagram of an electronic device adapted to implement a method of off-line trading of securities, in accordance with an embodiment of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
In the technical scheme of the disclosure, before the personal information of the client is obtained or collected, the authorization or the consent of the client is obtained. The collection, storage, use, processing, transmission, provision, disclosure, application and other processes of the personal information of the related clients all conform to the regulations of related laws and regulations, and necessary security measures are taken without violating the customs of the public order.
At present, the online open account investment field of the security company manages the money, and the risk of privately moving the client fund exists. In addition, the traditional mode of docking and monitoring an account and paying a deposit is difficult to realize the fund freezing or retaining function quickly, so that the problems of high transaction cost and low settlement efficiency are caused.
Embodiments of the present disclosure provide a block chain based security off-board trading method, system, apparatus, device, medium, and program product. The security company end can receive a trading request initiated by a client and call a corresponding first intelligent contract on the block chain network, so that the bank end executes fund transfer according to the security trading instruction under the condition that the execution result meets the preset condition. Therefore, based on the block chain technology, the fund transfer is executed by intelligent contracts on the fund flow execution chain under the condition of meeting the security off-site trading rules signed by the clients and the security companies, so that the contract execution results are mutually identified and mutually trusted across the institutions, the funds of the clients can be prevented from being used to a certain extent, and effective fund supervision is realized. In addition, mutual trust among cooperative mechanisms related to stock off-site trading is promoted, the automation degree is improved, the payment settlement efficiency is greatly optimized, and the programmability and the intellectualization of a payment scene are accelerated.
Fig. 1 schematically shows an architectural schematic of a blockchain based security offsite trading system 100 according to an embodiment of the present disclosure.
As shown in fig. 1, the security off-board trading system 100 according to this embodiment may include a security company unit 110, an intelligent contract management unit 120, a blockchain network 130, and a banking unit 140. The banking unit 140 may further include, among other things, an accounting processing system 141. The blockchain network 130 may be implemented based on federation chain technology, and securities companies and banks may be nodes of the blockchain network 130.
The blockchain network 130 provides data services such as intelligent contract trusted storage, transaction verification, multi-party consensus and the like for each participating organization, decentralized file storage is adopted, a plurality of service nodes are deployed, all the service nodes are responsible for receiving and forwarding information, the service nodes of the blockchain network adopt consensus algorithms (such as algorithms of POW workload certification, POS right of stock certification, DPOS authorized right of stock certification, PBFT practical Byzantine fault tolerance, Proof of Participation and the like) as consensus mechanisms to realize transaction consensus, and each bookkeeping node is deployed according to preset rules, completes rule judgment and executes corresponding processing.
In some embodiments, a service node may include a contract issuance control unit, a contract key generation unit, a contract information query unit, and a contract transaction consensus unit. The contract issuing control unit is used for controlling the contract issuing uplink and supporting the issuing of a single contract and a batch contract, and the consistency of contract codes and contract texts is ensured. The contract key generation unit configures all symmetric keys and contract identifications of the contracts based on a homomorphic encryption algorithm to generate contract private keys and corresponding contract public keys. The contract credible storage unit is used for storing the encrypted contract codes and the contract code identifications and is used for finishing the whole set of intelligent contract registration function. The contract information inquiry unit is responsible for inquiring contract content and state according to conditions and controlling an inquiry range. The contract transaction consensus unit is responsible for carrying out service logic verification on the intelligent contract execution result to ensure contract consistency, and by adopting the method, consensus chaining is achieved by sequencing nodes, generating blocks and broadcasting the blocks to all the nodes.
In some embodiments, the intelligent contract management unit 120 isolates the blockchain network 130 from the accounting system 141 as a conduit for the bank unit 140 to communicate with the blockchain network 130. The intelligent contract management unit 120 may be configured to receive a transaction request, a contract execution request, and a contract verification request submitted by an organization such as a bank, and internally implement logic processing such as user information management, access and export management, contract configuration management, and contract operation management.
FIG. 2 schematically illustrates a block diagram of an intelligent contract management unit 120 according to an embodiment of the present disclosure.
As shown in fig. 2, the intelligent contract management system 120 includes an access-out unit 121, a user information management unit 122, a contract configuration auditing unit 123, a contract operating unit 124, and a contract repository 125.
The access and exit unit 121 is responsible for interfacing each participating entity and verifying the validity of data.
The user information management unit 122 is responsible for managing user roles and differentiating execution and audit authorities. And when the roles are maintained, different functional modules and menus of system management, developers, business audit, merchants, users, monitoring centers, verification centers and the like are respectively selected for maintenance.
The contract configuration auditing unit 123 is responsible for providing functions of contract template creation, contract template auditing, contract parameter configuration, contract template inquiry, parameter contract submission and the like, wherein the contract template content comprises industry, contract name, contract description, amount, starting time and ending time and the like. The developer queries the contract template according to the industry selected by the securities products, the start date and the end date, and submits the contract template to the intelligent contract platform configuration center for checking after the checking is correct. The securities company selects different contract templates according to marketing requirements, and customizes the off-site investment financing product by configuring personalized parameters.
The contract operation management unit 124 includes functional modules such as a contract loader and a service condition trigger, and provides services such as contract signing, contract execution or termination, contract condition registration and contract release for the client. The customer can conveniently select different contract products through the co-construction APP, the partner APP, the personal mobile phone bank, the WeChat applet, the public number, the enterprise internet bank and the like, sign an investment and financing product contract with a merchant (a security company or a third-party platform), and make the procurement and redemption of financing products according to the contract agreement mode. If the intelligent contract expires, the system automatically sets the contract state to be terminated, and the control client cannot execute contract consumption.
The contract loader is responsible for monitoring an external intelligent contract calling request, pulling the intelligent contract statement from the intelligent contract warehouse according to the intelligent contract ID in the request, after the intelligent contract statement is verified, pulling a corresponding contract execution body and loading, and transmitting required service data.
The business condition trigger provides various events triggered by external credible data, such as timing events, stock price rising and falling events and other events containing business logic. And monitoring events in a batch scanning mode, and driving a specified intelligent contract to execute according to the agreement during registration.
According to an embodiment of the present disclosure, the security company unit 110 is configured to receive a trading request initiated by a customer, and generate a contract invoking request based on the trading request, wherein the trading request includes a security trading instruction. The intelligent contract management unit 120 is configured to receive a contract invocation request and invoke a first intelligent contract to the blockchain network based on the contract invocation request, wherein the first intelligent contract includes a security offline trading rule predetermined between a client and a security company. The blockchain network 130 is used to execute the first intelligent contract to obtain an execution result, wherein the execution result includes a result of executing the security offsite trading rules on the blockchain network. The banking unit 140 is configured to obtain an execution result from the blockchain network, and execute fund transfer according to the security transaction instruction if the execution result meets a preset condition. The banking unit 140 may perform money transfers through the accounting processing system.
According to the embodiment of the disclosure, a relatively mutually trusted and traceable intelligent contract service platform can be established among all participating mechanisms through the security off-site trading system, so that the contract execution result is mutually trusted across mechanisms, a solution scheme of cross-field and cross-mechanism scenes is output, and a perfect intelligent contract service ecology is established.
The block chain-based stock off-board trading method according to the embodiment of the present disclosure will be described in detail below with reference to fig. 3 to 8 based on the description of fig. 1 and 2.
Fig. 3 schematically illustrates a flow chart of a security off-line trading method for a security company end according to an embodiment of the present disclosure.
As shown in fig. 3, the security off-line trading method of this embodiment includes operations S310 to S320.
In operation S310, a trading request initiated by a customer is received, wherein the trading request includes a stock trading instruction.
Illustratively, a customer can select a financial product to buy or sell through a co-construction APP, a partner APP, a personal mobile phone bank, a WeChat applet, a public number, an enterprise internet bank and other channels.
In operation S320, a corresponding first intelligent contract on the blockchain network is invoked based on the trading request, so that the bank end performs fund transfer according to an execution result of the first intelligent contract, wherein the first intelligent contract includes a security off-site trading rule predetermined between the customer and the security company. Wherein the execution result comprises a result of executing the security off-line trading rule on the blockchain network, and the bank end is configured to perform the following operations: and acquiring an execution result from the blockchain network. And if the execution result meets the preset condition, executing fund transfer according to the securities trading instruction.
For example, the predetermined condition may be that the consensus mechanism of the blockchain network is satisfied, and the first intelligent contract performs successful result chaining.
Illustratively, a smart contract is a piece of executable code that corresponds to rules of a business contract and is a technical means provided for securing a business contract, such as executing, in reality in the form of service terms established by a merchant (stock company) to serve a customer. By loading intelligent contracts into the fund transaction process, the fund flow direction and timeliness can be contracted when purchasing field physical and financial products, and a mandatory mechanism is provided for contract execution.
According to the embodiment of the disclosure, based on a block chain technology, fund transfer is executed by intelligent contracts on a fund flow execution chain under the condition of meeting the security off-site trading rules signed by customers and security companies, so that contract execution results are mutually identified and mutually trusted across mechanisms, the funds of the customers can be prevented from being stolen to a certain extent, and effective fund supervision is realized. In addition, mutual trust among cooperative mechanisms related to stock off-site trading is promoted, the automation degree is improved, the payment settlement efficiency is greatly optimized, and the programmability and the intellectualization of a payment scene are accelerated.
Further description is provided below in terms of contract deployment, contract signing, contract triggering, and contract execution result accounting.
FIG. 4 schematically illustrates a flow diagram for deploying a smart contract, according to an embodiment of the disclosure.
As shown in fig. 4, the deployment intelligence contract of this embodiment may be executed before operation S220, and specifically may include operations S410 to S430.
In operation S410, N smart contracts corresponding to N security off-board trading products are determined, N being an integer greater than or equal to 1.
In operation S420, the N intelligent contracts are submitted to the bank for auditing.
Illustratively, first, a contract developer may create N security offsite investment financing contracts and submit the audits at the contract configuration auditing unit 123, and contract contents may be formulated according to the security offsite trade products, such as information including industry, contract name, contract description, amount, start and end time, and the like. Then, the bank auditor selects the contract for auditing. After the audit is passed, the contracts are uploaded to a contract repository 125, ensuring that the contract codes are consistent with the contract text.
In operation S430, in the case that the audit passes, the N intelligent contracts are deployed to the blockchain network.
In some embodiments, the contracts that are audited past may be deployed directly. In other embodiments, the N security offsite investment financing contracts may be contract templates. After the template checking is passed, the security company can log in the contract configuration checking unit 123 according to the role of the merchant, select a security off-site investment financing contract template from the contract warehouse 125 to configure personalized parameters, select industry, start and end dates to query the contract template, and also support inputting the number of the merchant for query. Parameters are then uploaded to the contract repository 125 via the contract configuration auditing unit 123, and contract code is issued to the blockchain network via the access pick-up unit 121.
According to the embodiment of the disclosure, if the audit is not passed, the system is not deployed to the block chain network, so that the waste of resources due to the deployment of unqualified intelligent contract content can be avoided, and even the situation that the execution of unqualified contracts causes capital loss and the like can be avoided. Therefore, the consistency and the legality of the intelligent contract content can be improved and the fund supervision effect can be enhanced through the audit of the bank end before the contract is deployed.
According to an embodiment of the present disclosure, deploying N smart contracts to a blockchain network comprises: and initiating an intelligent contract deployment transaction, and broadcasting the N intelligent contracts to the blockchain network. Wherein the blockchain network includes M consensus nodes, M being an integer greater than or equal to 1, the blockchain network configured to: and storing the N intelligent contracts into the block chain under the condition that the verification results of the M consensus nodes meet the deployment consensus condition.
Illustratively, the M consensus nodes may perform transaction consensus according to any one of the consensus mechanisms, such as POW workload certification, POS stock certification, DPOS authorized stock certification, PBFT pragmatine fault tolerance and Proof of Participation, and link up after achieving consensus.
FIG. 5 schematically illustrates a flow diagram for signing an intelligent contract according to an embodiment of the disclosure.
As shown in fig. 5, signing an intelligent contract according to this embodiment may be performed before operation S220, and specifically may include operations S510 to S520.
In operation S510, a security off-line trading rule is determined according to a security off-line trading product selected by a customer.
In operation S520, a first intelligent contract of the N intelligent contracts is signed with the customer according to the stock off-site trading rules.
Illustratively, a client selects different contract products through a co-construction APP, a partner APP, a personal mobile phone bank, a WeChat applet, a public number, an enterprise internet bank and the like, completes contract signing in a contract operation unit 121, downloads specified contract data from a contract warehouse 125, signs an intelligent contract of the product with a security company, and invests for financing and consumption in a contract signing manner.
For example, a client enters into an investment financing product agreement at a security company, and determines the fund flow direction of the client, the transaction rule of the corresponding product, the transaction category, the time efficiency and the like to obtain the security off-site transaction rule. In addition, the rules for stock off-site trading may also include rules such as customer information, product information, trading accounts, and trigger conditions.
Illustratively, for example, N smart contracts correspond to N contract IDs. And selecting a corresponding contract ID as a first intelligent contract to sign according to the security product selected by the client. In some examples, after a customer successfully subscribes, the subscribed intelligent contracts may be linked up for storage.
In some embodiments, personalization parameters in the rules of the stock off-line trading may be stored down-chain after the customer has successfully signed. The method has the effect that if the number of clients is large, the operation pressure of the block chain network can be reduced. In this embodiment, referring to operations 410-430, first, the securities company side may submit N intelligent contract templates to the bank side for review. And then, after the auditing is passed, configuring N intelligent contract templates according to the personalized parameters of each product and chaining. The intelligent contract in this step has partially common stock trading rules with multiple customers, such as product category, product trading rules or contract start-stop time. Then, after the customer signs the first intelligent contract, the chain down parameter can be transmitted in when being called, and the related variable of the first intelligent contract is assigned, thereby forming the securities off-site trading rule matched with the signed customer.
According to an embodiment of the present disclosure, the security offsite trading rule includes an automatic execution condition of the first smart contract, the method further comprising: and in the case of meeting the automatic execution condition, calling a first intelligent contract on the blockchain network.
Illustratively, the contract operating unit 124 may store business data (e.g., personalization parameters in rules of stock off-site trading after a successful contract is made by a customer), register contract enforcement conditions (e.g., timing, quota) with business condition triggers when a contract is made, and initiate intelligent contract execution flow by the business condition triggers according to the timing conditions or business conditions. The method has the advantages that the manpower control can be eliminated, and the execution efficiency is improved.
In other embodiments, contract triggering may also be triggered by a user initiating a transaction request, such as operation S210. When a user initiates a trading request at the securities company APP or an external event meeting expectations occurs, the corresponding contract code is pulled by the contract loader call blockchain network 130 and the contract execution is driven, in compliance with the conditional convention at registration.
FIG. 6 schematically illustrates a flow diagram for invoking an intelligent contract, according to an embodiment of the disclosure.
As shown in fig. 6, invoking the corresponding first intelligent contract on the blockchain network based on the transaction request in operation S210 includes operations S610 to S630.
In operation S610, a contract invocation transaction request is generated based on the transaction request.
Transaction signature for contract Call transaction request two in operation S620
In operation S630, the signed contract invocation transaction request is broadcast to the blockchain network to invoke the first intelligent contract.
In some embodiments, referring to FIG. 1, a securities company may send signed contract invocation transaction requests to the intelligent contract management unit 120 for processing and broadcast by the intelligent contract management unit 120.
In other embodiments, the securities company may act as a node of the blockchain network 130 and interact directly with the blockchain network 130 without going through the intelligent contract management unit 120, such as broadcasting a contract invocation transaction request.
According to the embodiment of the disclosure, based on a block chain technology, a data access authorization and encryption mechanism is constructed by using a block chain distributed storage technology and symmetric and asymmetric encryption algorithms, and the requirements of data privacy protection and visible range control of different clients of a multi-participating organization are further met on the basis of ensuring the security requirement of a file storage system.
In embodiments where the securities company interacts directly with the blockchain network 130, first, a contract caller (the securities company) creates a contract call trade request (tx1), the contract trade content may include a contract ID, a contract method name, contract method input parameters, and the like. The contract invocation transaction request (tx1) is then transaction signed. Then, the contract is created and called to trade the request (tx1) to broadcast all over the network.
Illustratively, after the accounting node in blockchain network 120 receives the contract invocation transaction (tx1), the contract invocation check signature of the contract invocation transaction is verified to be valid and legitimate. And (4) carrying out block packing on the contract calling transaction (tx1) which passes the verification and storing the contract calling transaction into a contract queue, and discarding the contract calling transaction if the contract calling transaction (tx1) does not pass the verification. Then, the virtual machine of the node calls out and executes a contract (such as a first intelligent contract) corresponding to the contract calling transaction request (tx1) from the contract queue, generates a contract execution result, creates a contract execution result transaction (tx2) according to the contract execution result, signs and broadcasts the contract execution result transaction. After the consensus mechanism is verified in the blockchain network 120, the contract return result transaction (tx2) is stored in the queue to be packaged, and meanwhile, the intelligent contract information of the block is updated and the block is broadcasted to trigger the execution of the accounting operation.
In some embodiments, during the course of verifying whether the consensus mechanism is satisfied, the block chain network 120 may perform the same operations as the accounting node, perform signature verification on the contract invocation transaction request (tx1), and obtain a signature broadcast after the contract execution result transaction (tx 2).
In another embodiment, the consensus node reads the contract execution result transaction tx2 from the received transaction request message (which may be broadcast by the accounting node), the transaction request message including the issue call flag, the contract bytecode array, and the required computing resources. If the issuing calling mark is issuing, the unique identification of the target contract is empty, the unique identification is given to the target contract, and the transaction request message is verified. And carrying out consensus processing on the transaction request message with the verification result of passing by using a contract transaction consensus unit, and generating an information summary according to a contract byte code array by using a hash algorithm. And matching the information abstract with a pre-stored white list information abstract list to generate a verification result. The intelligent contract byte arrays to be issued are subjected to white list management in the form of information digests generated by a Hash algorithm in advance.
Fig. 7 schematically illustrates a flow chart of an off-line transaction of securities, in accordance with an embodiment of the present disclosure.
As shown in fig. 7, a stock and management summary account and a special transaction account (such as a special financing account) associated with a customer are opened by a security company at a bank side, and the customer has an individual account opened at the bank side. The special transaction account is specially used for the investment, financing and other transactions initiated by the payment and receipt customer and is bound with the three-party deposit and management summary account.
According to the embodiment of the disclosure, when the client initiates the transaction request, the client fund does not need to be deducted in advance. After the purchase transaction request is confirmed, the bank finishes fund deduction from the client's personal account to the special financing account according to the investment financing application submitted by the security company (mark I in figure 7), loads an intelligent contract to freeze the fund, transfers the fund to the bound three-party deposit and management total account in a timing or real-time manner according to the supervision requirement to finish fund collection (mark II in figure 7). Finally, the securities company transfers funds from the three-party depository account to the product account (item (c) in fig. 7). Accordingly, after the redemption transaction request is confirmed, the three-party deposit and management account of the security company receives the redemption funds from the product account (marked with the value of r in fig. 7), and loads the intelligent contract to perform fund freezing, and transfers the redemption funds from the three-party deposit and management total account to the bound patent financing account (marked with the value of fifthly in fig. 7) in a timed or real-time manner. Finally, the redeemed funds are transferred from the patent financing account to the customer's personal account (symbol (c) in fig. 7).
Illustratively, the security trading instructions in the customer-initiated trading request include security purchase instructions and/or security redemption instructions. For example, a transaction request includes the purchase or redemption of multiple products.
It is understood that the customer is able to operate to bind or unbind financial accounts. Under the three-party storage and management system, after signing the related agreement book, the client can apply to bind the personal account for investment and financial transaction. In addition, the customer is allowed to unbind the personal account. When the customer applies for unbinding, the customer prompts that the product redeeming money can only be transferred to the customer account, and the fund cannot be realized before the account is not bound.
According to the embodiment of the disclosure, when the security trading instruction is a security purchasing instruction, the bank terminal executes fund transfer according to the security trading instruction, including: and if the execution result meets the preset condition, transferring the purchase fund in the personal account to the special transaction account. And allocating the purchase funds in the dedicated transaction account to the deposit and summary account. And the security company end executes the security purchase instruction according to the purchase fund of the customer received by the deposit and management summary account.
The underwriting/procurement process is further described below by steps 1 through 7.
Step 1, on day T, a client logs in a security company APP and selects an off-site financing product to be invested. The system automatically matches the customer's sales appropriateness, such as a mismatch, but the customer is still insisting on purchasing, needs to sign a product or service agreement, and electronically sign.
And 2, the customer pays by using the bound personal account.
And 3, receiving a customer subscription or subscription instruction by the security company OTC system, and calling a first intelligent contract. In some embodiments, the underwriting or buyout instruction may also be sent to the bank in real-time. The bank may determine whether funds are to be transferred based on the subscription or extension instruction and the result of the execution of the first intelligent contract.
And 4, transferring the fund from the personal account to a special financing account by the bank according to the subscription or purchase-applying instruction and the execution result of the intelligent contract on the block chain network, and then gathering the fund to a three-party deposit and management gathering account in real time. Meanwhile, the fund of the security company is deposited into a client fund account (the client account of the security company) and then a product with the same amount as the original value is written for accepting purchase payment. It can be seen that the entire fund processing is governed by the intelligent contract.
And 5, receiving a fund processing result returned by the bank by the security company OTC system, setting the order state of the customer as successful if the result is successful, and otherwise, setting the order state of the customer as failed.
And 6, at the end of T days, the security company sends the daily subscription or subscription detail to a fund manager for confirmation.
And 7, receiving the confirmation result of the fund manager by the OTC system of the daily security company T + N (N ═ 1), and drawing the fund into the product account of the delivery and receipt counter party according to the clearing result of the legal person.
According to an embodiment of the disclosure, when the security trading order is a security redemption order, the security company side executes the security redemption order, so that the deposit and management assembly account receives the redemption funds of the customer. Wherein, bank end carries out fund transfer according to the securities trade instruction and includes: and if the execution result meets the preset condition, transferring the redeeming funds in the deposit and management summary account to the special transaction account. And transferring the redemption funds in the dedicated transaction account to the individual account.
The redemption flow is further described below by steps 1 through 4.
Step 1, on T days, a customer logs in a security company APP and selects an off-site financial product to be redeemed.
And step 2, on the day of T + N (N ═ 1), the three-party deposit management summary account of the security company receives the redemption.
And 3, transferring the redeemed money from the three-party deposit and management summary account to the special financial account in real time by the bank according to the redeemed instruction and the execution result of the intelligent contract on the block chain network. The system firstly records the increased product to be redeemed for collection in the deposit and control fund account of the three parties of the customer, and then records the reduction and the like to take out the payment amount. The intelligent contract can be called to execute when the customer redeems, and the bank transfers the redeemed money to the three-party deposit management and summary account.
And 4, transferring the redeeming money in the special financing account into the bound individual account in real time.
According to an embodiment of the present disclosure, a security company uses a dedicated financial account to complete a two-way settlement of funds with a customer and a counterparty. Through the constraint of the intelligent contract, the fund of the special financial account of the client is controlled to be communicated with the bound three-party summary deposit account, so that the fund of the client can be effectively prevented from being moved.
Fig. 8 schematically illustrates a flow chart of a method for stock off-line trading at a bank end, in accordance with an embodiment of the present disclosure.
As shown in fig. 8, the security off-line trading method of this embodiment includes operations S810 to S820.
In operation S810, an execution result of a first intelligent contract on the blockchain network is obtained, wherein the first intelligent contract includes a security offline trading rule predetermined between a customer and a security company, and the execution result includes a result of executing the security offline trading rule on the blockchain network. The client initiates a transaction request, which comprises a fund transfer instruction, and before the bank end receives the execution result, the security company end is configured to execute the following operations: a transaction request is received. A first intelligent contract on the blockchain network is invoked based on the transaction request.
Illustratively, the execution result may be obtained by means of event listening. The snooping mechanism may be based on a log that is written to the transaction log if an event is triggered by the smart contract. If the external application subscribes to the event, the application can monitor the event in time after the event occurs in the log, and further acquire log information.
In operation S820, if the execution result meets the preset condition, fund transfer is performed according to the security transaction instruction.
According to the embodiment of the disclosure, based on a block chain technology, fund transfer is executed by intelligent contracts on a fund flow execution chain under the condition of meeting the security off-site trading rules signed by customers and security companies, so that contract execution results are mutually identified and mutually trusted across mechanisms, the funds of the customers can be prevented from being stolen to a certain extent, and effective fund supervision is realized. In addition, mutual trust among cooperative mechanisms related to stock off-site trading is promoted, the automation degree is improved, the payment settlement efficiency is greatly optimized, and the programmability and the intellectualization of a payment scene are accelerated.
Based on the block chain-based security off-site trading method, the disclosure also provides a security off-site trading device for a security company end and a security off-site trading device for a bank end. This will be described below in conjunction with fig. 9 and 10.
Fig. 9 schematically shows a block diagram of a security off-board trading device 900 for a security company end according to an embodiment of the present disclosure.
As shown in fig. 9, the security off-board trading device 900 for the security company side of this embodiment includes a request receiving module 910 and a contract invoking module 920.
The request receiving module 910 may perform operation S310 for receiving a trading request initiated by a customer, wherein the trading request includes a stock trading instruction.
The contract invoking module 920 may perform operation S320 for invoking a corresponding first intelligent contract on the blockchain network based on the trading request, so that the bank executes fund transfer according to the security trading instruction according to the execution result of the first intelligent contract, where the first intelligent contract includes a predetermined security off-line trading rule between the customer and the security company. Wherein the execution result comprises a result of executing the security off-line trading rule on the blockchain network, and the bank end is configured to perform the following operations: and acquiring an execution result from the blockchain network. And if the execution result meets the preset condition, executing fund transfer according to the securities trading instruction.
According to an embodiment of the present disclosure, the contract invocation module 920 may be further configured to invoke a first intelligent contract on the blockchain network if an auto-execute condition in the securities off-line trading rule is met.
According to the embodiment of the present disclosure, the contract invoking module 920 may further perform operations S610 to S630, which are not described herein again.
According to an embodiment of the present disclosure, the security off-board trading device 900 may further include a contract deployment module configured to perform operations S410-S430, and further configured to initiate an intelligent contract deployment trade, broadcasting N intelligent contracts to the blockchain network. Wherein the blockchain network includes M consensus nodes, M being an integer greater than or equal to 1, the blockchain network configured to: and storing the N intelligent contracts into the block chain under the condition that the verification results of the M consensus nodes conform to a consensus mechanism.
According to an embodiment of the present disclosure, the stock off-site trading device 900 may further include a contract signing module, which is configured to perform operations S510 to S520, which are not described herein.
According to an embodiment of the present disclosure, the security off-board trading device 900 may further include a security purchase module for executing a security purchase instruction based on customer purchase funds received by the inventory exchange ledger. Wherein, bank end carries out fund transfer according to the securities trade instruction and includes: and if the execution result meets the preset condition, transferring the purchase fund in the personal account to the special transaction account. And allocating the purchase funds in the dedicated transaction account to the deposit and summary account.
According to an embodiment of the present disclosure, the security off-board trading device 900 may further include a security redemption module for executing a security redemption instruction to cause the inventory exchange account to receive redeemed funds of the customer. Wherein, bank end carries out fund transfer according to the securities trade instruction and includes: if the execution result meets the preset condition, the redemption funds in the deposit and management summary account are transferred to the special transaction account. And transferring the redemption funds in the dedicated transaction account to the individual account.
Fig. 10 schematically shows a block diagram of a security off-board trading device 1000 for bank ends according to an embodiment of the present disclosure.
As shown in fig. 10, the stock off-line trading device 1000 for bank side of this embodiment includes a result acquiring module 1010 and a contract invoking module 1020.
The result obtaining module 1010 may perform operation S810 for obtaining an execution result of a first intelligent contract on the blockchain network, wherein the first intelligent contract includes a security offline trading rule predetermined between the customer and the security company, and the execution result includes a result of executing the security offline trading rule on the blockchain network. Wherein, the trade request initiated by the client includes a stock exchange instruction, and before the bank end receives the execution result, the stock company end is configured to execute the following operations: a transaction request is received. A first intelligent contract on the blockchain network is invoked based on the transaction request.
The fund transfer module 1020 may perform operation S820 for performing fund transfer according to the security trading instruction if the execution result meets a preset condition.
It should be noted that the implementation, solved technical problems, implemented functions, and achieved technical effects of each module/unit/subunit and the like in the apparatus part embodiment are respectively the same as or similar to the implementation, solved technical problems, implemented functions, and achieved technical effects of each corresponding step in the method part embodiment, and are not described herein again.
According to an embodiment of the present disclosure, any of the modules in the security off-board trading device 900 or the security off-board trading device 1000 may be combined into one module to be implemented, or any one of the modules may be split into a plurality of modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of the other modules and implemented in one module.
According to an embodiment of the present disclosure, at least one module in the security off-board exchange device 900 or the security off-board exchange device 1000 may be implemented at least partially as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in hardware or firmware in any other reasonable manner of integrating or packaging a circuit, or in any one of or a suitable combination of software, hardware, and firmware. Alternatively, at least one module of the security off-board trading device 900 or the security off-board trading device 1000 may be at least partially implemented as a computer program module, which, when executed, may perform a corresponding function.
Fig. 11 schematically illustrates a block diagram of an electronic device adapted to implement a method of off-line trading of securities, in accordance with an embodiment of the present disclosure.
As shown in fig. 11, an electronic device 1100 according to an embodiment of the present disclosure includes a processor 1101, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)1102 or a program loaded from a storage section 1108 into a Random Access Memory (RAM) 1103. The processor 1101 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or related chip sets and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), among others. The processor 1101 may also include on-board memory for caching purposes. The processor 1101 may comprise a single processing unit or a plurality of processing units for performing the different actions of the method flows according to the embodiments of the present disclosure.
In the RAM 1103, various programs and data necessary for the operation of the electronic device 1100 are stored. The processor 1101, the ROM 1102, and the RAM 1103 are connected to each other by a bus 1104. The processor 1101 performs various operations of the method flow according to the embodiments of the present disclosure by executing programs in the ROM 1102 and/or the RAM 1103. It is to be noted that the programs may also be stored in one or more memories other than the ROM 1102 and the RAM 1103. The processor 1101 may also perform various operations of the method flows according to the embodiments of the present disclosure by executing programs stored in the one or more memories.
Electronic device 1100 may also include input/output (I/O) interface 1105, input/output (I/O) interface 1105 also connected to bus 1104, according to an embodiment of the present disclosure. Electronic device 1100 may also include one or more of the following components connected to I/O interface 1105: an input section 1106 including a keyboard, mouse, etc. Including an output portion 1107 such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), or the like, as well as a speaker or the like. A storage section 1108 including a hard disk and the like. And a communication section 1109 including a network interface card such as a LAN card, a modem, or the like. The communication section 1109 performs communication processing via a network such as the internet. A driver 1110 is also connected to the I/O interface 1105 as necessary. A removable medium 1111, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like, is installed on the drive 1110 as necessary, so that a computer program read out therefrom is installed into the storage section 1108 as necessary.
The present disclosure also provides a computer-readable storage medium, which may be contained in the apparatus/device/system described in the above embodiments; or may exist separately and not be assembled into the device/apparatus/system. The computer-readable storage medium carries one or more programs which, when executed, implement the method according to an embodiment of the disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example but is not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. For example, according to embodiments of the present disclosure, a computer-readable storage medium may include the ROM 1102 and/or the RAM 1103 and/or one or more memories other than the ROM 1102 and the RAM 1103 described above.
Embodiments of the present disclosure also include a computer program product comprising a computer program containing program code for performing the method illustrated in the flow chart. When the computer program product runs in a computer system, the program code is used for causing the computer system to realize the method provided by the embodiment of the disclosure.
The computer program performs the above-described functions defined in the system/apparatus of the embodiments of the present disclosure when executed by the processor 1101. The systems, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
In one embodiment, the computer program may be hosted on a tangible storage medium such as an optical storage device, a magnetic storage device, or the like. In another embodiment, the computer program may also be transmitted in the form of a signal on a network medium, distributed, downloaded and installed via the communication part 1109, and/or installed from the removable medium 1111. The computer program containing program code may be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
In such an embodiment, the computer program may be downloaded and installed from a network through the communication portion 1109 and/or installed from the removable medium 1111. The computer program, when executed by the processor 1101, performs the above-described functions defined in the system of the embodiment of the present disclosure. The systems, devices, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
In accordance with embodiments of the present disclosure, program code for executing computer programs provided by embodiments of the present disclosure may be written in any combination of one or more programming languages, and in particular, these computer programs may be implemented using high level procedural and/or object oriented programming languages, and/or assembly/machine languages. The programming language includes, but is not limited to, programming languages such as Java, C + +, python, the "C" language, or the like. The program code may execute entirely on the client computing device, partly on the client device, partly on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the client computing device over any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., over the internet using an internet service provider).
The embodiments of the present disclosure have been described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described separately above, this does not mean that the measures in the embodiments cannot be used in advantageous combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be devised by those skilled in the art without departing from the scope of the present disclosure, and such alternatives and modifications are intended to be within the scope of the present disclosure.

Claims (17)

1. A block chain-based security off-site trading method is used for a security company end and comprises the following steps:
receiving a trading request initiated by a client, wherein the trading request comprises a security trading instruction;
calling a corresponding first intelligent contract on a block chain network based on the trading request so as to enable a bank end to transfer funds according to an execution result of the first intelligent contract, wherein the first intelligent contract comprises a stock off-site trading rule predetermined between the customer and a stock company;
wherein the execution results include results of executing the security off-line trading rules on the blockchain network, the bank end configured to:
obtaining the execution result from the blockchain network;
and if the execution result meets the preset condition, executing fund transfer according to the security trading instruction.
2. The method of claim 1, wherein prior to invoking a corresponding first smart contract on a blockchain network based on the transaction request, further comprising:
determining N intelligent contracts corresponding to N security off-site trading products, wherein N is an integer greater than or equal to 1;
submitting the N intelligent contracts to the bank end for auditing;
and under the condition that the audit is passed, deploying the N intelligent contracts to the blockchain network.
3. The method of claim 2, wherein the deploying the N smart contracts to the blockchain network comprises:
initiating a smart contract deployment transaction, broadcasting the N smart contracts to the blockchain network;
wherein the blockchain network comprises M consensus nodes, M being an integer greater than or equal to 1, the blockchain network being configured to: and storing the N intelligent contracts into a block chain under the condition that the verification results of the M consensus nodes accord with a consensus mechanism.
4. The method of claim 2, wherein prior to invoking the corresponding first smart contract on a blockchain network based on the transaction request, further comprising:
determining the security off-line trading rules according to the security off-line trading products selected by the customer;
and signing the first intelligent contract in the N intelligent contracts with the client according to the security off-site trading rule.
5. The method of claim 4, wherein the security offsite trading rules include automatic execution conditions for the first smart contract, the method further comprising:
and calling a first intelligent contract on the block chain network under the condition that the automatic execution condition is met.
6. The method of claim 1, wherein the security company opens a depository aggregation account at the bank end and a dedicated trading account associated with the customer who has opened a personal account at the bank end, the security trading instructions including security purchase instructions, the method further comprising:
executing the security purchase instruction according to the purchase fund of the customer received by the deposit and management general account;
before the deposit and management general account receives the purchase fund of the customer, the bank terminal executes fund transfer according to the security trading instruction, and the fund transfer comprises the following steps:
if the execution result meets the preset condition, transferring the purchase fund in the personal account to the special transaction account; and
transferring the purchase funds in the dedicated transaction account to the depository summary account.
7. The method according to any one of claims 1 or 6, wherein the security trading instructions further include security redemption instructions, the method further comprising:
executing the security redemption instructions to cause the inventory exchange account to receive redemption funds of the customer;
wherein, the bank end executes fund transfer according to the securities trading instruction and comprises the following steps:
if the execution result meets a preset condition, transferring the redeemed funds in the deposit and management summary account to the special transaction account; and
transferring the redeemed funds in the dedicated transaction account to the individual account.
8. The method of claim 1, wherein said invoking a corresponding first smart contract on a blockchain network based on the transaction request comprises:
generating a contract invocation transaction request based on the transaction request;
performing transaction signature on the contract invocation transaction request;
broadcasting the signed contract invocation transaction request to the blockchain network to invoke the first intelligent contract.
9. A block chain-based security off-site trading method is used for a bank terminal and comprises the following steps:
acquiring an execution result of a first intelligent contract on a block chain network, wherein the first intelligent contract comprises a security off-line trading rule predetermined between a client and a security company, and the execution result comprises a result of executing the security off-line trading rule on the block chain network;
if the execution result meets the preset condition, executing fund transfer according to the securities trading instruction;
wherein the trading request initiated by the customer includes the stock trading instruction, and before the bank end receives the execution result, the stock company end is configured to execute the following operations:
receiving the transaction request;
invoking a first intelligent contract on the blockchain network based on the transaction request.
10. The method of claim 9, wherein the security company opens a depository summary account at the bank end and a dedicated transaction account associated with the customer, the customer having an individual account at the bank end, the security transaction instructions including security purchase instructions, the executing funds transfer instructions comprising:
if the execution result meets the preset condition, transferring the purchase fund in the personal account to the special transaction account; and
and allocating the purchase funds in the special transaction account to the deposit and management summary account so that the security company end executes the security purchase instruction according to the purchase funds of the customer received by the deposit and management summary account.
11. The method according to any one of claims 9 or 10, wherein the security trading instructions further include security redemption instructions, the security company end being configured to execute the security redemption instructions causing the inventory exchange account to receive redemption funds of the customer, the executing funds transfer instructions further comprising:
if the execution result meets a preset condition, transferring the redeemed funds in the deposit and management summary account to the special transaction account; and
transferring the redeemed funds in the dedicated transaction account to the individual account.
12. A blockchain-based security off-board trading system, comprising:
the system comprises a security company unit, a contract calling unit and a contract calling unit, wherein the security company unit is used for receiving a trading request initiated by a client and generating a contract calling request based on the trading request, and the trading request comprises a security trading instruction;
the intelligent contract management unit is used for receiving the contract calling request and calling a first intelligent contract to a block chain network based on the contract calling request, wherein the first intelligent contract comprises a security off-line trading rule predetermined between the client and a security company;
a blockchain network to execute the first intelligent contract to obtain an execution result, wherein the execution result includes a result of executing the security offsite trading rule on the blockchain network;
and the bank unit is used for acquiring the execution result from the block chain network, and executing fund transfer according to the security trading instruction if the execution result meets a preset condition.
13. An off-site securities exchange device based on block chains, which is used at the securities company end and comprises:
the system comprises a request receiving module, a transaction processing module and a processing module, wherein the request receiving module is used for receiving a transaction request initiated by a client, and the transaction request comprises a security transaction instruction;
a contract calling module, configured to call, based on the transaction request, a corresponding first intelligent contract on a block chain network, so that a bank executes fund transfer according to the security transaction instruction according to an execution result of the first intelligent contract, where the first intelligent contract includes a security off-site transaction rule predetermined between the customer and a security company;
wherein the execution results include results of executing the security off-line trading rules on the blockchain network, the bank end configured to:
obtaining the execution result from the blockchain network;
and if the execution result meets the preset condition, executing fund transfer according to the security trading instruction.
14. A block chain based security off-site transaction device for bank terminals, comprising:
the result acquisition module is used for acquiring an execution result of a first intelligent contract on a blockchain network, wherein the first intelligent contract comprises a security off-site trading rule predetermined between a client and a security company, and the execution result comprises a result of executing the security off-site trading rule on the blockchain network;
the fund transfer module is used for executing fund transfer according to the security trading instruction if the execution result meets the preset condition;
wherein the trading request initiated by the customer includes the stock trading instruction, and before the bank end receives the execution result, the stock company end is configured to execute the following operations:
receiving the transaction request;
invoking a first intelligent contract on the blockchain network based on the transaction request.
15. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method of any of claims 1-11.
16. A computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to perform the method of any one of claims 1 to 11.
17. A computer program product comprising a computer program which, when executed by a processor, implements a method according to any one of claims 1 to 11.
CN202210649385.9A 2022-06-08 2022-06-08 Block chain-based security off-site trading method, system, device and equipment Pending CN114971911A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210649385.9A CN114971911A (en) 2022-06-08 2022-06-08 Block chain-based security off-site trading method, system, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210649385.9A CN114971911A (en) 2022-06-08 2022-06-08 Block chain-based security off-site trading method, system, device and equipment

Publications (1)

Publication Number Publication Date
CN114971911A true CN114971911A (en) 2022-08-30

Family

ID=82961018

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210649385.9A Pending CN114971911A (en) 2022-06-08 2022-06-08 Block chain-based security off-site trading method, system, device and equipment

Country Status (1)

Country Link
CN (1) CN114971911A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115829753A (en) * 2023-02-09 2023-03-21 中国证券登记结算有限责任公司 Cross-border security business delivery method and system based on block chain

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115829753A (en) * 2023-02-09 2023-03-21 中国证券登记结算有限责任公司 Cross-border security business delivery method and system based on block chain

Similar Documents

Publication Publication Date Title
US11790350B2 (en) Methods and systems for digital reward processing
KR102309819B1 (en) The trading system and the method based on a blockchain
US11783323B1 (en) Autonomous devices
CN109544160B (en) Transaction authenticity verification method and system based on block chain and intelligent contract
CN108256859B (en) Financial product transaction consensus method, node and system based on block chain
CN108053321B (en) Method and device for realizing supply chain financing
CN103186861B (en) Electric paying method based on cloud data processing technique
CN110443701A (en) The logical card management method of one kind, supply chain financial system and electronic equipment
CN110458700A (en) The logical card generation method of one kind, supply chain financial system and electronic equipment
CN103186851A (en) Electronic payment system based on cloud data processing technology
CN111062805A (en) Supply chain financial service management platform
CN101490704A (en) Systems and methods for conducting financial transactions over a network
CA3153011A1 (en) Distributed blockchain-type implementations configured to manage tokenized digital assets and improved electronic wallets, and methods of use thereof
CN112513904B (en) Digital asset transaction control method, device, terminal equipment and storage medium
CN112232828A (en) Power grid data transaction method and system
CN112116482A (en) Financing data processing method and device based on block chain
CN116703389A (en) Prepaid card transaction method based on blockchain, prepaid card transaction device based on blockchain and electronic equipment
CN114971911A (en) Block chain-based security off-site trading method, system, device and equipment
KR20130083050A (en) Banking payment agency system using a virtual account and controlling method therefor
CN115983853A (en) Client side green electricity application service method and system based on block chain and electronic equipment
CN114565467A (en) Financial service system for bidding process
CN112686652A (en) Block chain-based digital asset transaction method, device, equipment and storage medium
CN111985918A (en) Block chain-based electronic certificate circulation management method and system and block chain platform
US20150026051A1 (en) System, method and article of manufacture for facilitating instantaneous cash deposit
CN114155106A (en) Financing method, apparatus, device, medium, and program product based on block chain

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