Movatterモバイル変換


[0]ホーム

URL:


CN114240614A - Blockchain-based financial business testing method, device, and electronic equipment - Google Patents

Blockchain-based financial business testing method, device, and electronic equipment
Download PDF

Info

Publication number
CN114240614A
CN114240614ACN202111437352.XACN202111437352ACN114240614ACN 114240614 ACN114240614 ACN 114240614ACN 202111437352 ACN202111437352 ACN 202111437352ACN 114240614 ACN114240614 ACN 114240614A
Authority
CN
China
Prior art keywords
node
business
service
test
authority
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.)
Granted
Application number
CN202111437352.XA
Other languages
Chinese (zh)
Other versions
CN114240614B (en
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 ICBCfiledCriticalIndustrial and Commercial Bank of China Ltd ICBC
Priority to CN202111437352.XApriorityCriticalpatent/CN114240614B/en
Publication of CN114240614ApublicationCriticalpatent/CN114240614A/en
Application grantedgrantedCritical
Publication of CN114240614BpublicationCriticalpatent/CN114240614B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The invention discloses a financial service testing method based on a block chain, a device thereof and electronic equipment, and relates to the technical field of block chains, wherein the testing method comprises the following steps: receiving a service test request of a second alliance chain node in the alliance chain network, completing service interaction with the second alliance chain node based on a pre-deployed intelligent contract and a test service message under the condition that the node authority of the second alliance chain node is matched with the authority table of the first alliance chain node to obtain a contract execution result, broadcasting service information containing the contract execution result into the alliance chain network, and completing service test. The invention solves the technical problems of low safety and high cost in the joint test of financial services in the related technology.

Description

Financial service testing method and device based on block chain and electronic equipment
Technical Field
The invention relates to the technical field of block chains, in particular to a financial service testing method based on a block chain, a device and electronic equipment thereof.
Background
At present, a development test network in a financial institution, a third-party company and a card organization are not communicated, and for scenes related to application of the third-party company and joint test of the card organization, a firewall needs to be opened by both parties and a VPN channel needs to be applied, or the third-party company and the card organization need to work on site in a development place in the financial institution to perform joint test, the application procedure is complex, higher labor and material cost needs to be invested, and the difficulty is increased for verifying an end-to-end simulation production scene.
In the related art, in financial service tests, for example, in bank installment service tests, scenes that a third party company needs to be connected to a production environment to acquire data or authenticate often occur, for example, an identity authentication system performs identity card networking verification, a personal credit investigation system, a personal credit comprehensive scoring system and the like, network interconnection is simply opened, and a risk of production data leakage exists.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a block chain-based financial business testing method, a block chain-based financial business testing device and electronic equipment, which are used for at least solving the technical problems of low safety and high cost in the process of performing financial business combined testing in the related technology.
According to an aspect of the embodiments of the present invention, there is provided a method for testing financial services based on a blockchain, which is applied to a first alliance-chain node interfacing with a certain service processing system, where a plurality of alliance-chain nodes form an alliance-chain network, and the method includes: receiving a service test request of a second alliance chain node in the alliance chain network, wherein the service test request at least comprises: testing service messages and node permissions; under the condition that the node authority of the second alliance link node is matched with the authority table of the first alliance link node, based on a pre-deployed intelligent contract and the test service message, completing service interaction with the second alliance link node to obtain a contract execution result; and broadcasting the service information containing the contract execution result to the alliance chain network to complete the service test.
Optionally, the step of completing service interaction with the second federation link node based on a pre-deployed intelligent contract and the test service packet to obtain a contract execution result includes: invoking the intelligent contract upon confirming that the second federation chain node has permission to access the first federation chain node; acquiring a consensus mechanism type in the intelligent contract and a consensus algorithm corresponding to the consensus mechanism type; and executing the consensus algorithm, and finishing service interaction with the second union link node to obtain a contract execution result.
Optionally, after receiving a service test request of a second federation chain node in the federation chain network, the method further includes: checking the message data in the test service message by adopting a preset service interaction rule to obtain an account checking result; and broadcasting the business information containing the financial checking result to each alliance chain of the alliance chain network.
Optionally, the step of checking the message data in the test service message by using a preset service interaction rule to obtain an account checking result includes: and under the condition that the service interaction rule is an installment service rule, automatically checking the loan information in the test service message and the account information of each subject account by adopting the installment service rule to obtain an account checking result.
Optionally, after obtaining the result of the accounting check, the method further includes: acquiring service information for service interaction between the first alliance link node and the second alliance link node; adding a timestamp to the service information; broadcasting the service information added with the timestamp to a plurality of alliance chain nodes in the alliance chain network.
Optionally, a first alliance link node of the service processing system initiates an alliance link entry application, wherein after receiving the alliance link entry application, the alliance link network allocates a device identifier and a node authority to the first alliance link node, and the device identifier is encrypted and stored in a local memory of the service processing system; receiving the device identification and the node authority distributed by the alliance chain network; encrypting the node authority, and registering the encrypted node authority in an authority management table; broadcasting the rights management table to each federation chain node of the federation chain network.
Optionally, the type of the smart contract comprises: and using the service contract, the service risk level contract and the service authorization contract of the test service message.
Optionally, the types of the service processing system include: the system comprises an installment payment service system, a merchant account processing system, a payment platform account processing system, an identity information checking system, a credit investigation system and a third party credit granting scoring system.
According to another aspect of the embodiments of the present invention, there is also provided a financial service testing apparatus based on a blockchain, where the apparatus is applied to a first alliance-chain node interfacing with a certain service processing system, and a plurality of alliance-chain nodes form an alliance-chain network, where the alliance-chain node includes: an intelligent contract management unit, wherein a contract execution module in the intelligent contract management unit is used for executing the following method: receiving a service test request of a second alliance chain node in the alliance chain network, wherein the service test request at least comprises: testing service messages and node permissions; under the condition that the node authority of the second alliance link node is matched with the authority table of the first alliance link node, based on a pre-deployed intelligent contract and the test service message, completing service interaction with the second alliance link node to obtain a contract execution result; and broadcasting the service information containing the contract execution result to the alliance chain network to complete the service test.
Optionally, the contract execution module includes: and the accounting checking module is used for automatically checking the debit and credit information in the test service message and the account information of each subject account by adopting a preset installment service rule to obtain an accounting checking result.
Optionally, the intelligent contract management unit further comprises: the contract construction module is used for setting a consensus mechanism type; a contract deployment module that deploys a consensus algorithm corresponding to the consensus mechanism type, wherein the consensus algorithm is one of: a byzantine fault tolerance mechanism, or a hybrid of a share authorization attestation mechanism and a byzantine fault tolerance mechanism.
Optionally, the intelligent contract management unit further comprises: the authority management module is used for managing an authority management table of a first alliance link node of the service processing system, and the encrypted node authority of each alliance link node is stored in the authority management table; and the local memory stores the encrypted equipment identifier of each service processing system.
Optionally, the intelligent contract management unit further comprises: and the broadcasting module is used for acquiring service information for service interaction between the first alliance link node and the second alliance link node, adding a timestamp to the service information, and broadcasting the service information added with the timestamp to a plurality of alliance link nodes in the alliance link network.
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, and when the computer program runs, the apparatus where the computer-readable storage medium is located is controlled to execute any one of the above methods for testing financial services based on a block chain.
According to another aspect of embodiments of the present invention, there is also provided an electronic device, including one or more processors and a memory, where the memory is used for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors are enabled to implement any one of the above-mentioned financial service testing methods based on a blockchain.
In the disclosure, a service test request of a second alliance chain node in an alliance chain network is received, under the condition that the node authority of the second alliance chain node is matched with the authority table of the first alliance chain node, service interaction is completed with the second alliance chain node based on a pre-deployed intelligent contract and a test service message, a contract execution result is obtained, and service information containing the contract execution result is broadcasted to the alliance chain network to complete service test. In the application, the business processing systems participating in the financial business test can form the alliance chain network through the business processing systems, so that the systems can be mutually communicated, and the business test is carried out in the alliance chain network based on the pre-deployed intelligent contract, so that the problems of complicated application procedures and consumption of manpower and material resources costs of a financial institution and a third party in the business test process are solved, the risk of leakage of production data in the joint test process is reduced, the test safety is improved, and the technical problems of low safety and high cost in the related technology during the joint test of the financial business are solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow chart of an alternative blockchain-based financial transaction testing method according to an embodiment of the invention;
FIG. 2 is a schematic diagram of an alternative blockchain-based financial transaction testing system architecture according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an alternative application system node apparatus according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an optional intelligent contract management module according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an alternative financial transaction testing apparatus according to an embodiment of the present invention;
FIG. 6 is a flow diagram of an alternative blockchain-based financial institution system and third-party system co-testing in accordance with embodiments of the present invention;
FIG. 7 is a diagram of an alternative transaction message management specification, according to an embodiment of the present invention;
fig. 8 is a block diagram of a hardware structure of an electronic device (or a mobile device) for implementing a method for testing financial services based on a blockchain according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
To facilitate understanding of the invention by those skilled in the art, some terms or nouns referred to in the embodiments of the invention are explained below:
the block chain system: the distributed accounting system is a decentralized distributed accounting system, blocks are related by a cryptography method, and the distributed accounting system has the characteristics of openness, transparency, no tampering, traceability and the like, and can effectively ensure the authenticity of transactions.
It should be noted that the block chain based financial service testing method and apparatus thereof in the present disclosure may be used in the block chain technical field for testing financial services, and may also be used in any field except the block chain technical field for testing financial services.
It should be noted that, the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for presentation, analyzed data, etc.) referred to in the present disclosure are information and data authorized by the user or sufficiently authorized by each party.
The following embodiments of the present invention may be applied to various systems/applications/devices for testing financial transactions, including but not limited to: installment payment service, loan service, etc. The invention can conveniently realize the identity authentication of transaction participants by utilizing the identity identification of the block chain, further realize the transaction authorization of equipment or users, has higher trust degree on joining nodes based on the alliance chain in which a plurality of mechanisms participate together, can realize the data sharing among the mechanisms and the like, provides the financial service testing method based on the area chain, can effectively communicate all joint testing parties, solves the problems of complicated application procedures and labor cost consumption of joint testing of the financial mechanism and a third party in the testing process, reduces the risk of production data leakage in the joint testing process, and can also realize the automatic account checking function.
Example one
In accordance with an embodiment of the present invention, there is provided a blockchain-based financial transaction testing method embodiment, it is noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be performed in an order different than that described herein.
The financial service testing method based on the block chain provided by the embodiment of the invention can be applied to a first alliance chain node which is in butt joint with a certain service processing system, and a plurality of alliance chain nodes form an alliance chain network.
Fig. 1 is a flowchart of an alternative method for testing financial services based on a blockchain according to an embodiment of the present invention, as shown in fig. 1, the method includes the following steps:
step S101, receiving a service test request of a second alliance chain node in the alliance chain network, wherein the service test request at least comprises the following steps: and testing the service message and the node authority.
And step S102, under the condition that the node authority of the second alliance link node is matched with the authority table of the first alliance link node, completing service interaction with the second alliance link node based on a pre-deployed intelligent contract and a test service message to obtain a contract execution result.
Step S103, broadcasting the service information containing the contract execution result to the alliance chain network to complete the service test.
Through the steps, the service test request of the second alliance chain node in the alliance chain network can be received, under the condition that the node authority of the second alliance chain node is matched with the authority table of the first alliance chain node, service interaction with the second alliance chain node is completed based on the pre-deployed intelligent contract and the test service message, a contract execution result is obtained, and the service information containing the contract execution result is broadcasted to the alliance chain network to complete service test. In the embodiment of the invention, the business processing systems participating in the financial business test form the alliance chain network, so that the systems can be mutually communicated, and the business test is carried out in the alliance chain network based on the pre-deployed intelligent contract, so that the problems of complicated application procedures and manpower and material cost consumption of a financial institution and a third party in the business test process are solved, the risk of production data leakage in the joint test process is reduced, the test safety is improved, and the technical problems of low safety and high cost in the related technology in the process of carrying out the financial business joint test are solved.
The following will explain the embodiments of the present invention in detail with reference to the above steps.
Fig. 2 is a schematic diagram of an alternative architecture of a block chain-based financial transaction testing system according to an embodiment of the present invention, which performs a financial transaction test through a federation chain consisting of block link points 1-N characterized by application system node devices 1-N, as shown in fig. 2. Fig. 3 is a schematic diagram of an alternative application system node apparatus according to an embodiment of the present invention, and as shown in fig. 3, the application system node apparatus includes: the system comprises an encryption and decryption module, an intelligent contract module, a broadcast module, a permission management table and a test result display module, wherein a service processing system is accessed into a alliance chain through an application system node device, and the types of the service processing system include but are not limited to: the system comprises an installment payment service system, a merchant account processing system, a payment platform account processing system, an identity information checking system, a credit investigation system, a third party credit granting scoring system and the like.
In the embodiment of the invention, a plurality of alliance link nodes form an alliance link network (the network can be a wide area network or a local area network and the like).
Optionally, a first alliance link node of the service processing system initiates an alliance link entry application, wherein after receiving the alliance link entry application, an alliance link network allocates an equipment identifier and a node authority to the first alliance link node, and the equipment identifier is encrypted and stored in a local memory of the service processing system; receiving equipment identification and node authority distributed by a alliance chain network; encrypting the node authority, and registering the encrypted node authority in an authority management table; and broadcasting the authority management table to each alliance chain node of the alliance chain network.
In the embodiment of the present invention, any service processing system needs to access to a federation chain through an application system node device, the application system node device can join the federation chain after applying for the application (that is, a first federation link node of the service processing system needs to initiate a federation link access application to join the federation chain), each node of the access chain (that is, each first federation link node) has a unique device identifier (in this embodiment, a digital ID is used as a device identifier for illustration, but not limited to the digital ID, and may also be a MAC address or a digital character string, etc.), and is used for device verification and authorization when a transaction is initiated, and all device identifiers and authority ranges (that is, node authorities) that can be accessed by the device exist in an authority management table of each node (that is, after the federation link network receives the federation link access application, allocates the device identifier and the node authority for the first federation link node, the device identifier is encrypted and stored in the local memory of the service processing system).
Since some application system nodes (i.e. first alliance link nodes) directly access the alliance link in the production environment, for example, a user identity networking check system, a credit investigation system and other heavy data systems, there is a risk of data leakage and tampering, and user operation permissions (i.e. node permissions) need to be strictly controlled, after receiving the device identifier and the node permissions allocated by the alliance link network, the node permissions are encrypted, the encrypted node permissions are registered in the permission management table, and the permission management table is broadcast to all the alliance link nodes of the alliance link network.
Step S101, receiving a service test request of a second alliance chain node in the alliance chain network, wherein the service test request at least comprises the following steps: and testing the service message and the node authority.
In the embodiment of the present invention, each service processing system that needs to participate in the test may be accessed to the alliance chain network, so that each service processing system corresponds to one alliance chain node, and when receiving a service test request of a second alliance chain node in the alliance chain network, the alliance chain network may be used to perform a service test.
The service test request comprises: testing service messages, node permissions and the like, wherein the testing service messages need to be encrypted through an encryption and decryption module before being uploaded to a alliance-link network, and encryption algorithms used by the encryption and decryption module include but are not limited to: encryption algorithms such as DES, 3DES, SM9, etc., in this embodiment, the SM9 is taken as an example for detailed description, the SM9 algorithm is based on a 256-bit BN elliptic curve, a prime field Fp and a finite field Fp2 are used, a bilinear pair uses R-ate, and curve parameters mainly include: elliptic curve equation: y2 ═ x3+ b, equation parameter b, parameter t, base domain feature q, order N of the group, cofactor cf, generator P1 of group 1 ═ xp1, yp1, generator P2 of group 2 ═ xp2, yp 2.
The specific process is as follows:
the key using the SM9 algorithm may be generated by KGC (key generation center), and mainly includes an encryption master key pair of KGC and a private key of a user, and the data encryption master key pair: the private key is a random number in the range of [1, N-1 ]; the public key is a multiple point of a base point P1 of the G1 group, the multiple being the private key.
The public and private keys of the master key pair are used in different scenes, wherein the master private key is only used for inquiring the private key of the user; the master public key is published by KGC and used on the chain. The inquiry user private key is generated by KGC and comprises a signature private key and an encryption private key; signature private key: is a multiple of the base point P1 of the G1 group, and the signature private key is only used in the digital signature; encrypting a private key: which is a multiple of the base point P2 of the G2 group, the encrypted private key is used as the private key in key unsealing, decryption, and key exchange. The KGC generates the user's private key using the master private key and the user identity (hereinafter ID, sent to the group through the database-assisted device).
The encryption process is as follows: let the production data to be encrypted be M, menl be the bit length of M, K1_ len be the bit length of block cipher algorithm K1, and K2_ len be the bit length of key K2 in function MAC (K2, Z), encryption master public key Ppub-e, identifier hid, and query user ID.
The operation is as follows:
(1) calculating element QB ═ H1(ID | | hid, N) ] P1+ Ppub-e in group G1;
(2) generating a random number r in the range of [1, N-1 ];
(3) calculating an element C1 ═ r ] QB in the group G1, and converting the data type of C1 into a bit string;
(4) calculating the element g ═ e in group Gr (Ppub-e, P2);
(5) calculating the power of the opening r of the element w which is g in the Gr, and converting the data type of w into a bit string;
(6) and (3) classifying and calculating according to a plaintext encryption method: if the plaintext encryption method is based on a key-derived sequential cipher algorithm, calculating an integer klen + mlen + K2_ len, then calculating K KDF (C1| | w | | | ID, klen), making K1 be the leftmost menl bit of K, K2 be the remaining K2_ len bits, if K1 is a full 0-bit string, returning to 2 for re-execution, otherwise calculating C2 as the exclusive or of M and K1; if the method for encrypting the plaintext is based on a key-derived block cipher algorithm, calculating an integer klen ═ K1_ len + K2_ len, then calculating K ═ KDF (C1| | | w | | | ID, klen), making K1 be the leftmost K1_ len bit of K, and K2 be the remaining K2_ len bit, if K1 is an all-0 bit string, returning to 2 for re-execution, otherwise calculating C2 ═ Enc (K1, M);
(7) calculating C3 ═ MAC (K2, C2);
(8) and outputting the ciphertext C-1C 2C 3.
The decryption process is as follows: let mlen be the bit length of C2 in ciphertext C ═ C1| | | C2| | C3, K1_ len be the bit length of key K1 in the block cipher algorithm, and K2_ len be the bit length of key K2 in function MAC (K2, Z).
(1) Extracting a bit string C1 from C, converting the data type of C1 into a point on an elliptic curve, and verifying whether C1 is in G1 or not, and if not, then reporting an error and exiting;
(2) calculating an element w '═ e (C1, deg) in the group Gr, and converting the data type of w' into a bit string;
(3) and (3) classifying and calculating according to a plaintext encryption method:
1) if the plaintext encryption method is based on a key derivation function sequential cryptographic algorithm, calculating an integer klen + menl + K2_ len, and then calculating K '═ KDF (C1| | w' | ID, klen), making K1 'be the leftmost mlen bit of K', and K2 'be the remaining K2_ len bits, if K1' is an all-0 bit string, an error is reported and quit, otherwise, M 'is calculated as an exclusive or of C2 and K1';
2) if the plaintext encryption method is based on the key derivation function block cipher algorithm, the integer klen ═ K1_ len + K2_ len is calculated, and then K ═ KDF (C1| | | w | | | ID, klen) is calculated, let K1 ' be the leftmost K1_ len bit of K ', and K2 ' be the remaining K2_ len bit, if K1 ' is a full 0-bit string, an error is reported and quit is performed, otherwise, M ═ Dec is calculated (K1 ', C2).
(4) Calculating u-MAC (K2', C2), taking out bit string C3 from C, if u is not equal to C3, then reporting error and exiting;
(5) the plaintext M' is output.
After the message data is encrypted, the message data encrypted by the public key is sent to the chain, the key for decryption is stored in the corresponding application system node device, and the user decrypts the encrypted message data by the obtained private key.
For the node authority, before uploading to the alliance-link network, encryption needs to be performed through an encryption/decryption module, and the node authority needs to be attached to the test service message and uploaded to the alliance-link network together with the test service message.
Optionally, after receiving a service test request of a second federation chain node in the federation chain network, the method further includes: checking message data in the test service message by adopting a preset service interaction rule to obtain an account checking result; and broadcasting the business information containing the financial checking result to each alliance chain of the alliance chain network.
In the embodiment of the present invention, a business interaction rule, for example, "basic principle of accounting" may be preset: borrowing must have a loan, and borrowing must be equal; trial balance of occurrence (vertical): the sum of the generation amount of the borrowers of all accounts in the current period is equal to the sum of the generation amount of the lenders of all accounts in the current period; balance trial balance (horizontal): the initial balance sum of the same subject account and the current generation amount sum of the same subject account are the current end balance sum of the same subject account, based on the set business interaction rule, the message data (for example, the loan amount and the balance of each subject account) in the test business message is checked to obtain the account checking result, and the business information of the account checking result can be broadcasted to each alliance chain of the alliance chain network to realize the consistency of the account information of each node on the alliance chain and prevent falsification.
Optionally, the step of checking the message data in the test service message by using a preset service interaction rule to obtain an account checking result includes: and under the condition that the service interaction rule is an installment service rule, automatically checking the loan information in the test service message and the account information of each subject account by adopting the installment service rule to obtain an account checking result.
In the embodiment of the present invention, if the business interaction rule is an installment business rule (i.e., "basic principle of accounting), the debit amount (i.e., debit and credit information) and the balance of each account (i.e., account information of each account) in the test business message may be automatically checked, and the transaction result and the accounting check result are displayed in the test result display module in real time.
Optionally, after obtaining the result of the accounting check, the method further includes: acquiring service information for service interaction between the first alliance link node and the second alliance link node; adding a timestamp on the service information; broadcasting the time-stamped service information to a plurality of federation chain nodes in the federation chain network.
In the embodiment of the present invention, when any node initiates a transaction operation, the broadcast module may add a non-falsifiable timestamp to each record (that is, may add a timestamp to the obtained service information), and perform network notification (that is, broadcast the service information to which the timestamp is added to a plurality of federation chain nodes in a federation chain network), verify authenticity of the transaction, where the bottom layer of the entire block chain network (that is, the federation chain network) is a federation chain, and based on a Fabric data synchronization mechanism, consistency of the ledger information of each federation chain node in the federation chain may be achieved, and falsification is prevented.
And step S102, under the condition that the node authority of the second alliance link node is matched with the authority table of the first alliance link node, completing service interaction with the second alliance link node based on a pre-deployed intelligent contract and a test service message to obtain a contract execution result.
Fig. 4 is a schematic diagram of an alternative intelligent contract management module according to an embodiment of the invention, and as shown in fig. 4, the intelligent contract management module includes: the contract deploying system comprises a contract constructing module, a contract deploying module and a contract executing module.
In the embodiment of the present invention, the type of the consensus mechanism, the response condition, and the response rule may be preset by the contract construction module (i.e. the intelligent contract is deployed in advance), where the type of the intelligent contract includes but is not limited to: the main body (namely a business processing system) participating in the transaction participates in the consensus verification of the alliance chain through the corresponding alliance chain node, the consensus node only acquires the transaction result and transaction terminal information and does not acquire all account book data, the user identity authentication data and personal credit score data leakage of the consensus node is prevented, and after the consensus verification is completed, business interaction with the second alliance chain node can be completed based on the pre-deployed intelligent contract and test business message, and a contract execution result is obtained.
Optionally, the step of completing service interaction with the second federation link node based on the pre-deployed intelligent contract and test service packet to obtain a contract execution result includes: calling an intelligent contract under the condition that the second alliance chain node is confirmed to have the authority of accessing the first alliance chain node; acquiring a consensus mechanism type in an intelligent contract and a consensus algorithm corresponding to the consensus mechanism type; and executing a consensus algorithm, and finishing service interaction with the second union link node to obtain a contract execution result.
In the embodiment of the present invention, a consensus algorithm corresponding to a consensus mechanism type (that is, obtaining the consensus mechanism type in the intelligent contract and the consensus algorithm corresponding to the consensus mechanism type) may be deployed through a contract deployment module, where the consensus algorithm includes, but is not limited to: in order to reduce the transaction cost and reduce the energy consumption in the consensus algorithm process, a POA (Proof of activity) consensus algorithm may also be selected, and the type of the consensus mechanism may also be customized according to the actual situation, which is not limited herein.
The embodiment is described in detail by taking a byzantine fault tolerance mechanism PBFT as an example, and in the case of adopting the byzantine fault tolerance mechanism PBFT, the system limits the damage possibly caused by a failed client through access control, audits the client and prevents the client from initiating an operation that is not authorized to be executed, and meanwhile, the service can provide an operation to change the access authority of one client, because the algorithm ensures that the authority revocation operation can be observed by all clients, the method can provide a strong mechanism for recovering from the attack of the failed client.
In addition, after the intelligent contract is generated, the diffusion can be distributed through a P2P (peer-to-peer network) network and stored in a federation chain.
In the embodiment of the present invention, when a request for a message (i.e., a test service message) sent by a federation chain node is received, it may be checked whether its authority is matched with an authority table of the node (i.e., a first federation chain node), if not, the transaction is rejected, if so, it is determined whether the node has the authority to access the node, if not, the transaction is rejected, if so, the second federation chain node has the authority to access the first federation chain node, the intelligent contract is invoked through the contract execution module, the type of the consensus mechanism in the intelligent contract is obtained (i.e., the type of the consensus mechanism in the intelligent contract and the consensus algorithm corresponding to the type of the consensus mechanism are obtained), the corresponding consensus algorithm is executed, and service interaction is completed with the second federation chain node, so as to obtain a contract execution result.
Optionally, the types of smart contracts include: and using a service contract, a service risk level contract and a service authorization contract of the test service message.
Step S103, broadcasting the service information containing the contract execution result to the alliance chain network to complete the service test.
In the embodiment of the present invention, the contract execution result may be broadcast in the alliance-link network through the broadcasting module (i.e. service information including the contract execution result is broadcast to the alliance-link network), and the service test is completed.
According to the embodiment of the invention, the business processing systems participating in the financial business test form the alliance chain network, so that the systems can be mutually communicated, and the business test is carried out in the alliance chain network based on the pre-deployed intelligent contract, so that the problems of complicated application procedures and manpower and material cost consumption of a financial institution and a third party in the business test process are solved, the risk of production data leakage in the joint test process is reduced, the test safety is improved, and the automatic account checking function of the account in the alliance chain network can be realized.
Example two
Fig. 5 is a schematic diagram of an alternative financial transaction testing apparatus according to an embodiment of the present invention, as shown in fig. 5, the testing apparatus includes: an intelligent contract management unit, wherein the intelligent contract management unit comprises: the system comprises a contract execution module, an accounting check module, a contract construction module, a contract deployment module, a permission management module, a local memory and a broadcast module.
The embodiment of the invention is applied to a first alliance link node which is in butt joint with a certain service processing system, a plurality of alliance link nodes form an alliance link network, and the alliance link node comprises: the intelligent contract management unit is used for executing the following method by a contract execution module in the intelligent contract management unit: receiving a service test request of a second alliance chain node in the alliance chain network, wherein the service test request at least comprises the following steps: testing service messages and node permissions; under the condition that the node authority of the second alliance link node is matched with the authority table of the first alliance link node, service interaction is completed with the second alliance link node based on a pre-deployed intelligent contract and a test service message, and a contract execution result is obtained; and broadcasting the service information containing the contract execution result to the alliance chain network to complete the service test.
Optionally, the contract execution module includes: and the accounting checking module is used for automatically checking the debit and credit information in the test service message and the account information of each subject account by adopting a preset installment service rule to obtain an accounting checking result.
Optionally, the intelligent contract management unit further includes: the contract construction module is used for setting a consensus mechanism type; the contract deployment module is used for deploying a consensus algorithm corresponding to the type of the consensus mechanism, wherein the consensus algorithm is one of the following algorithms: a byzantine fault tolerance mechanism, or a hybrid of a share authorization attestation mechanism and a byzantine fault tolerance mechanism.
In the embodiment of the present invention, the contract construction module in the intelligent contract management unit is configured to set a consensus mechanism type, preset response conditions, and preset response rules, including but not limited to: the transaction message specification contract, the transaction risk level contract, the transaction authorization contract and the like are participated in the consensus verification of the alliance chain by a main body (a business processing system) participating in the transaction through a corresponding alliance chain node, the consensus node only acquires the transaction result and the transaction terminal information and does not acquire all the account book data, and the user identity authentication data and the personal credit scoring data leakage of the consensus node is prevented.
A contract signing module in the intelligent contract management unit, for deploying consensus algorithms corresponding to the consensus mechanism types, wherein the consensus algorithms include, but are not limited to: a mixed mechanism of a Byzantine Fault tolerance mechanism PBFT (actual Byzantine Fault permission), a share authorization certification mechanism dpos (delayed Proof of stop), and PBFT, in order to reduce the transaction cost and reduce the energy consumption in the consensus algorithm process, a POA consensus algorithm may also be selected, and the type of the consensus mechanism may also be customized according to the actual situation, which is not limited herein.
The embodiment is described in detail by taking a byzantine fault tolerance mechanism PBFT as an example, and in the case of adopting the byzantine fault tolerance mechanism PBFT, the system limits the damage possibly caused by a failed client through access control, audits the client and prevents the client from initiating an operation that is not authorized to be executed, and meanwhile, the service can provide an operation to change the access authority of one client, because the algorithm ensures that the authority revocation operation can be observed by all clients, the method can provide a strong mechanism for recovering from the attack of the failed client.
In addition, after the intelligent contract is generated, the diffusion can be issued through the P2P network and stored in the federation chain.
And a contract execution module in the intelligent contract management unit calls the intelligent contract to acquire the consensus mechanism type in the intelligent contract and executes a corresponding consensus algorithm. When receiving a message request (namely a service test request) sent by a alliance link node, a contract execution module firstly checks whether the authority of the contract execution module is matched with the authority table of the node, if not, the contract execution module refuses the transaction, if so, the contract execution module judges whether the authority of the contract execution module is matched with the authority table of the node, if not, the contract execution module judges whether the contract execution module has the authority of accessing the node, if not, the contract execution module refuses the transaction, and if so, a service processing system is called, and a contract execution result is returned to a requesting party.
The specific execution method of the contract execution module is as follows: receiving a service test request of a second alliance chain node in the alliance chain network, wherein the service test request at least comprises the following steps: testing service messages and node permissions; under the condition that the node authority of the second alliance link node is matched with the authority table of the first alliance link node, service interaction is completed with the second alliance link node based on a pre-deployed intelligent contract and a test service message, and a contract execution result is obtained; and broadcasting the service information containing the contract execution result to the alliance chain network to complete the service test.
And, the contract execution module includes: the accounting checking module adopts a preset installment service rule to automatically check the debit and credit information in the test service message and the account information of each subject account to obtain an accounting checking result, wherein the installment service rule can be set as the following rule:
borrowing must have a loan, and borrowing must be equal; trial balance of occurrence (vertical): the sum of the generation amount of the borrowers of all accounts in the current period is equal to the sum of the generation amount of the lenders of all accounts in the current period; balance trial balance (horizontal): the initial balance of the same subject account is added and the current generation amount of the same subject account is added, namely the current end balance of the same subject account is added.
And based on the set installment service rule, automatically checking the loan information in the test service message and the account information of each subject account to obtain an account checking result.
Optionally, the intelligent contract management unit further includes: the authority management module is used for managing an authority management table of a first alliance link node of the service processing system, and node authority of each encrypted alliance link node is stored in the authority management table; and the local memory stores the encrypted equipment identification of each service processing system.
In the embodiment of the invention, the authority management module in the intelligent contract management unit is used for authority control of the alliance chain nodes, access and exit control of the nodes in the alliance chain network is realized, and the operable range of the user on each member node is defined. In this embodiment, after a node applies for joining a federation chain, each node in the joining chain has a unique digital ID as a device identifier, and is used for device verification and authorization when a transaction is initiated, all device identifiers and an authority range accessible by the device exist in an authority management table of each node, and during the transaction, an access authority of the node is attached to a transaction message, only when the authority message of a sending node is matched with the authority message of a receiving node, a party allows the sending node to access the receiving node, and otherwise, the receiving node rejects a response.
Because some application system nodes directly access the alliance chain in a production environment, for example, a user identity networking check system, a credit investigation system and other heavy-point data systems, the risk of data leakage and tampering exists, the operation authority of a user needs to be strictly controlled, an authority management table needs to be encrypted and then stored in each node of the alliance chain, and when the authority management table is read, the node is decrypted by using a private key of the node.
Optionally, the intelligent contract management unit further includes: and the broadcasting module is used for acquiring service information for service interaction between the first alliance link node and the second alliance link node, adding a timestamp to the service information, and broadcasting the service information added with the timestamp to a plurality of alliance link nodes in the alliance link network.
In the embodiment of the invention, the broadcasting module in the intelligent contract management unit can broadcast a new authority list in a alliance chain when a new node is added or an old node is withdrawn, the receiving node updates the authority list of each node, and meanwhile, when any node initiates a transaction operation, the module adds a non-falsifiable timestamp to each record and notifies and verifies the authenticity of the transaction through the whole network.
According to the embodiment of the invention, the financial business testing device based on the block chain is adopted for business testing, so that the problems of complicated application procedure and manpower and material cost consumption of a financial institution and a third party in a business testing process are solved, the risk of production data leakage in the joint testing process is reduced, the testing safety is improved, and the function of automatically checking accounts in a alliance chain network can be realized.
EXAMPLE III
Fig. 6 is a flowchart of an alternative block chain-based financial institution system and third-party system joint test according to an embodiment of the present invention, as shown in fig. 6, the specific steps are as follows:
s601, the application system node device initiates an alliance link access application, assigns a unique digital ID as an equipment identifier, assigns an authority and registers an authority table, the digital ID is accessed to the alliance link before the initial release for registration and generation, and then is encrypted by an encryption and decryption module and stored in the local application system node to be used as an identity certificate of the node.
S602, the authority of the newly added node is set in the authority list, the encryption is carried out through the encryption and decryption module, the new authority list is broadcasted in the alliance chain, and the authority list of each node is updated by the receiving node.
S603, the application system node device initiates a transaction request, and according to the preset rights management specification C300, as shown in fig. 7, the rights management specification C300 includes: the user inquires an application division principle C310, a user inquiry data volume principle C320 and the like, uses a private key, calls an encryption and decryption module to decrypt, firstly checks whether the authority of the user is matched with the authority table of the node, refuses the transaction if the authority of the user is not matched with the authority table of the node, judges whether the user has the authority of accessing the node if the authority of the user is matched with the authority table of the node, refuses the transaction if the authority of the user is not matched with the authority table of the node, calls a service processing system if the authority of the user is not matched with the authority table of the node, and calls the encryption and decryption module to encrypt the contract execution result.
S604, meanwhile, according to the pre-set staging transaction specification C400, as shown in fig. 7, the staging transaction specification C400 includes: the deposit institution C410, the accounting data C420 and the like automatically check the debit amount in the transaction message and the balance of each account according to the basic principle of accounting checking, and display the transaction result and the accounting checking result in the test result display module in real time.
And S605, adding a non-tampable time stamp to each record by the broadcasting module, notifying and verifying the authenticity of the transaction through the whole network, and recording the transaction information into a alliance chain.
According to the embodiment of the invention, the financial business is tested by the block chain-based financial institution system and third-party system joint test method, so that the problems of complicated application procedure and manpower and material cost consumption of the financial institution and the third-party joint test in the business test process are solved, the risk of production data leakage in the joint test process is reduced, the test safety is improved, and the function of automatically checking accounts in a alliance chain network can be realized.
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, and when the computer program runs, the apparatus where the computer-readable storage medium is located is controlled to execute any one of the above methods for testing financial services based on a block chain.
According to another aspect of embodiments of the present invention, there is also provided an electronic device, including one or more processors and a memory 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 implement the blockchain-based financial transaction testing method of any one of the above.
Fig. 8 is a block diagram of a hardware structure of an electronic device (or a mobile device) for implementing a method for testing financial services based on a blockchain according to an embodiment of the present invention. As shown in fig. 8, the electronic device may include one or more (shown as 102a, 102b, … …, 102 n) processors 102 (the processors 102 may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), andmemory 104 for storing data. Besides, the method can also comprise the following steps: a display, an input/output interface (I/O interface), a Universal Serial Bus (USB) port (which may be included as one of the ports of the I/O interface), a network interface, a keyboard, a power supply, and/or a camera. It will be understood by those skilled in the art that the structure shown in fig. 8 is only an illustration and is not intended to limit the structure of the electronic device. For example, the electronic device may also include more or fewer components than shown in FIG. 8, or have a different configuration than shown in FIG. 8.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (11)

Translated fromChinese
1.一种基于区块链的金融业务测试方法,其特征在于,应用于与某一业务处理系统对接的第一联盟链节点,多个所述联盟链节点组成联盟链网络,包括:1. A blockchain-based financial business testing method, characterized in that, applied to the first consortium chain node docked with a certain business processing system, and a plurality of described consortium chain nodes form a consortium chain network, including:接收所述联盟链网络中第二联盟链节点的业务测试请求,其中,所述业务测试请求至少包括:测试业务报文和节点权限;Receive a service test request from the second consortium chain node in the consortium chain network, wherein the service test request at least includes: a test service message and node authority;在所述第二联盟链节点的节点权限与所述第一联盟链节点的权限表匹配的情况下,基于预先部署的智能合约和所述测试业务报文,与所述第二联盟链节点完成业务交互,得到合约执行结果;In the case that the node authority of the second alliance chain node matches the authority table of the first alliance chain node, based on the pre-deployed smart contract and the test service message, complete with the second alliance chain node Business interaction, get the contract execution result;将包含所述合约执行结果的业务信息广播至所述联盟链网络中,完成业务测试。Broadcast the business information including the contract execution result to the alliance chain network to complete the business test.2.根据权利要求1所述的金融业务测试方法,其特征在于,基于预先部署的智能合约和所述测试业务报文,与所述第二联盟链节点完成业务交互,得到合约执行结果的步骤,包括:2. The financial service testing method according to claim 1, characterized in that, based on a pre-deployed smart contract and the test service message, complete service interaction with the second consortium chain node, and obtain the step of contract execution result ,include:在确认所述第二联盟链节点拥有访问所述第一联盟链节点的权限的情况下,调用所述智能合约;In the case of confirming that the second consortium chain node has the permission to access the first consortium chain node, call the smart contract;获取所述智能合约中的共识机制类型以及与所述共识机制类型对应的共识算法;Obtain the consensus mechanism type in the smart contract and the consensus algorithm corresponding to the consensus mechanism type;执行所述共识算法,与所述第二联盟链节点完成业务交互,得到合约执行结果。Execute the consensus algorithm, complete business interaction with the second alliance chain node, and obtain the contract execution result.3.根据权利要求1所述的金融业务测试方法,其特征在于,在接收所述联盟链网络中第二联盟链节点的业务测试请求之后,还包括:3. financial business testing method according to claim 1, is characterized in that, after receiving the business test request of the second consortium chain node in described consortium chain network, also comprises:采用预先设置的业务交互规则,对所述测试业务报文中的报文数据进行核对,得到账务核对结果;Using pre-set business interaction rules, the message data in the test service message is checked to obtain an accounting check result;将包含所述账务核对结果的业务信息广播至所述联盟链网络的各联盟链中。Broadcasting the business information including the account check result to each consortium chain of the consortium chain network.4.根据权利要求3所述的金融业务测试方法,其特征在于,采用预先设置的业务交互规则,对所述测试业务报文中的报文数据进行核对,得到账务核对结果的步骤,包括:4. The method for testing financial services according to claim 3, wherein the pre-set business interaction rules are used to check the message data in the test service message, and the step of obtaining an account check result, comprising: :在所述业务交互规则为分期付款业务规则的情况下,采用所述分期付款业务规则对所述测试业务报文中的借贷信息和各科目账户的账户信息进行自动核对,得到账务核对结果。In the case that the business interaction rule is an installment payment business rule, the loan information in the test business message and the account information of each subject account are automatically checked by using the installment payment business rule, and an account checking result is obtained.5.根据权利要求3所述的金融业务测试方法,其特征在于,在得到账务核对结果之后,还包括:5. financial business testing method according to claim 3, is characterized in that, after obtaining account checking result, also comprises:获取所述第一联盟链节点与所述第二联盟链节点之间进行业务交互的业务信息;Obtain business information for business interaction between the first consortium chain node and the second consortium chain node;在所述业务信息上添加时间戳;adding a time stamp to the business information;将添加所述时间戳的业务信息广播至所述联盟链网络中的多个联盟链节点。Broadcasting the time stamped service information to a plurality of consortium chain nodes in the consortium chain network.6.根据权利要求1所述的金融业务测试方法,其特征在于,还包括:6. financial business testing method according to claim 1, is characterized in that, also comprises:所述业务处理系统的第一联盟链节点发起联盟链接入申请,其中,所述联盟链网络在接收到所述联盟链接入申请后,为所述第一联盟链节点分配设备标识和节点权限,所述设备标识经过加密后保存在所述业务处理系统的本地内存中;The first consortium chain node of the business processing system initiates a consortium link joining application, wherein after receiving the consortium link joining application, the consortium chain network allocates a device identifier and node authority to the first consortium chain node, The device identification is encrypted and stored in the local memory of the business processing system;接收所述联盟链网络分配的所述设备标识和所述节点权限;receiving the device identification and the node authority assigned by the alliance chain network;对所述节点权限进行加密,并将加密后的所述节点权限登记在权限管理表中;Encrypting the node authority, and registering the encrypted node authority in the authority management table;向所述联盟链网络的各联盟链节点广播所述权限管理表。The permission management table is broadcast to each consortium chain node of the consortium chain network.7.根据权利要求1至6中任意一项所述的金融业务测试方法,其特征在于,所述智能合约的类型包括:使用所述测试业务报文的业务合约、业务风险等级合约、业务授权合约。7. The financial business testing method according to any one of claims 1 to 6, wherein the type of the smart contract comprises: a business contract, a business risk level contract, a business authorization using the test business message contract.8.根据权利要求1至6中任意一项所述的金融业务测试方法,其特征在于,所述业务处理系统的类型包括:分期付款业务系统、商户帐务处理系统、支付平台帐务处理系统、身份信息核查系统、征信系统、第三方授信评分系统。8. The financial business testing method according to any one of claims 1 to 6, wherein the types of the business processing system include: installment payment business system, merchant account processing system, payment platform account processing system , identity information verification system, credit reporting system, third-party credit scoring system.9.一种基于区块链的金融业务测试装置,其特征在于,应用于与某一业务处理系统对接的第一联盟链节点,多个所述联盟链节点组成联盟链网络,所述联盟链节点包括:9. A blockchain-based financial service testing device, characterized in that it is applied to a first consortium chain node that is docked with a certain business processing system, and a plurality of said consortium chain nodes form a consortium chain network, and said consortium chain Nodes include:智能合约管理单元,所述智能合约管理单元中的合约执行模块用于执行如下方法:接收所述联盟链网络中第二联盟链节点的业务测试请求,其中,所述业务测试请求至少包括:测试业务报文和节点权限;在所述第二联盟链节点的节点权限与所述第一联盟链节点的权限表匹配的情况下,基于预先部署的智能合约和所述测试业务报文,与所述第二联盟链节点完成业务交互,得到合约执行结果;将包含所述合约执行结果的业务信息广播至所述联盟链网络中,完成业务测试。A smart contract management unit, the contract execution module in the smart contract management unit is configured to execute the following method: receiving a service test request from the second consortium chain node in the consortium chain network, wherein the service test request at least includes: testing business message and node authority; in the case that the node authority of the second alliance chain node matches the authority table of the first alliance chain node, based on the pre-deployed smart contract and the test service message, and all The second consortium chain node completes the business interaction and obtains the contract execution result; broadcasts the business information including the contract execution result to the consortium chain network to complete the business test.10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质包括存储的计算机程序,其中,在所述计算机程序运行时控制所述计算机可读存储介质所在设备执行权利要求1至8中任意一项所述的基于区块链的金融业务测试方法。10. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored computer program, wherein, when the computer program runs, the device where the computer-readable storage medium is located is controlled to execute claim 1 The blockchain-based financial business testing method described in any one of to 8.11.一种电子设备,其特征在于,包括一个或多个处理器和存储器,所述存储器用于存储一个或多个程序,其中,当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现权利要求1至8中任意一项所述的基于区块链的金融业务测试方法。11. An electronic device, characterized by comprising one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by the one or more programs When executed by the processor, the one or more processors are made to implement the blockchain-based financial business testing method according to any one of claims 1 to 8.
CN202111437352.XA2021-11-292021-11-29 Financial business testing method and device based on blockchain, and electronic equipmentActiveCN114240614B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202111437352.XACN114240614B (en)2021-11-292021-11-29 Financial business testing method and device based on blockchain, and electronic equipment

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202111437352.XACN114240614B (en)2021-11-292021-11-29 Financial business testing method and device based on blockchain, and electronic equipment

Publications (2)

Publication NumberPublication Date
CN114240614Atrue CN114240614A (en)2022-03-25
CN114240614B CN114240614B (en)2025-03-11

Family

ID=80751927

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202111437352.XAActiveCN114240614B (en)2021-11-292021-11-29 Financial business testing method and device based on blockchain, and electronic equipment

Country Status (1)

CountryLink
CN (1)CN114240614B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114928617A (en)*2022-06-152022-08-19中国电信股份有限公司Private network subscription data management method, device, equipment and medium
CN114943539A (en)*2022-06-082022-08-26中国银行股份有限公司Method and device for processing automatic renewal transaction
CN115987557A (en)*2022-11-282023-04-18深圳海智创科技有限公司 An inter-cluster calling method, device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107025602A (en)*2017-02-242017-08-08杭州象链网络技术有限公司A kind of financial asset transaction system construction method based on alliance's chain
CN107341702A (en)*2017-03-082017-11-10阿里巴巴集团控股有限公司A kind of method and device of business processing
CN110390524A (en)*2019-07-312019-10-29中国工商银行股份有限公司Work data processing method, device, electronic equipment and storage medium in block chain
CN111383120A (en)*2020-05-292020-07-07支付宝(杭州)信息技术有限公司Asset management method and device based on block chain and electronic equipment
CN112583802A (en)*2020-12-032021-03-30重庆新致金服信息技术有限公司Data sharing platform system and equipment based on block chain and data sharing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107025602A (en)*2017-02-242017-08-08杭州象链网络技术有限公司A kind of financial asset transaction system construction method based on alliance's chain
CN107341702A (en)*2017-03-082017-11-10阿里巴巴集团控股有限公司A kind of method and device of business processing
CN110390524A (en)*2019-07-312019-10-29中国工商银行股份有限公司Work data processing method, device, electronic equipment and storage medium in block chain
CN111383120A (en)*2020-05-292020-07-07支付宝(杭州)信息技术有限公司Asset management method and device based on block chain and electronic equipment
CN112583802A (en)*2020-12-032021-03-30重庆新致金服信息技术有限公司Data sharing platform system and equipment based on block chain and data sharing method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114943539A (en)*2022-06-082022-08-26中国银行股份有限公司Method and device for processing automatic renewal transaction
CN114928617A (en)*2022-06-152022-08-19中国电信股份有限公司Private network subscription data management method, device, equipment and medium
CN114928617B (en)*2022-06-152023-07-21中国电信股份有限公司Private network subscription data management method, device, equipment and medium
CN115987557A (en)*2022-11-282023-04-18深圳海智创科技有限公司 An inter-cluster calling method, device, computer equipment and storage medium

Also Published As

Publication numberPublication date
CN114240614B (en)2025-03-11

Similar Documents

PublicationPublication DateTitle
Das et al.Securing interim payments in construction projects through a blockchain-based framework
EP3777013B1 (en)Computer implemented method and system for transferring access to a digital asset
TWI840358B (en)Computer-implemented systems and methods for using a blockchain to perform an atomic swap
CN110769035B (en)Block chain asset issuing method, platform, service node and storage medium
Hardjono et al.Cloud-based commissioning of constrained devices using permissioned blockchains
Balfe et al.Trusted computing: Providing security for peer-to-peer networks
CN109741068B (en)Online banking cross-row signing method, device and system
CN109617699B (en) A key generation method, blockchain network service platform and storage medium
WO2019080933A1 (en)Block chain transaction privacy protection method and system
EP1989855B1 (en)A system and method for establishing a secure group of entities in a computer network
CN114329529A (en)Asset data management method and system based on block chain
CN112418860A (en) A block chain efficient management architecture and working method based on cross-chain technology
CN114240614B (en) Financial business testing method and device based on blockchain, and electronic equipment
CN110572262A (en)Block chain alliance chain construction method, device and system
Wang et al.Achieving secure and flexible m-services through tickets
IslamA privacy-preserving transparent central bank digital currency system based on consortium blockchain and unspent transaction outputs
CN114565386A (en) Blockchain custody transaction method and system for multi-party collaborative privacy protection
CN111106930B (en)Block chain network construction method and device and block chain network system
CN111523892B (en) A method and device for cross-chain transaction of blockchain
CN115688191A (en)Block chain-based electronic signature system and method
Huang et al.P2ofe: privacy-preserving optimistic fair exchange of digital signatures
Fan et al.Blockchain-based distributed banking for permissioned and accountable financial transaction processing
Chenli et al.Fairtrade: Efficient atomic exchange-based fair exchange protocol for digital data trading
CN115396096B (en) Encryption and decryption method and protection system for secret files based on national secret algorithm
CN115526629A (en)Receipt transaction method and device based on block chain network and identity authentication device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp