CN113225368B - Block chain transaction method and device, electronic equipment and storage medium - Google Patents

Block chain transaction method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113225368B
CN113225368B CN202110165866.8A CN202110165866A CN113225368B CN 113225368 B CN113225368 B CN 113225368B CN 202110165866 A CN202110165866 A CN 202110165866A CN 113225368 B CN113225368 B CN 113225368B
Authority
CN
China
Prior art keywords
blockchain
blockchain transaction
identifier
transaction
current
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.)
Active
Application number
CN202110165866.8A
Other languages
Chinese (zh)
Other versions
CN113225368A (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.)
Wuhan Zhuoer Information Technology Co ltd
Original Assignee
Wuhan Zhuoer Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Zhuoer Information Technology Co ltd filed Critical Wuhan Zhuoer Information Technology Co ltd
Priority to CN202110165866.8A priority Critical patent/CN113225368B/en
Publication of CN113225368A publication Critical patent/CN113225368A/en
Application granted granted Critical
Publication of CN113225368B publication Critical patent/CN113225368B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/0643Hash functions, e.g. MD5, SHA, HMAC or f9 MAC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Abstract

The invention provides a block chain transaction method, a block chain transaction device, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring a service request of a user, wherein the service request comprises a current blockchain transaction identifier and a service task identifier to which the current blockchain transaction belongs, and one service task generates a plurality of blockchain transactions; searching the execution sequence of all blockchain transactions corresponding to the service task identifier and the current blockchain transaction identifier in a alliance chain network according to the service task identifier and the current blockchain transaction identifier; and executing all blockchain transactions according to the execution sequence from the current blockchain transaction. The invention aims at different business tasks and different current blockchain transactions, generates different transaction sequences for a plurality of blockchain transactions according to the intelligent contract, and ensures the safety of the blockchain transactions.

Description

Block chain transaction method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of blockchain transactions, and in particular, to a blockchain transaction method and apparatus, an electronic device, and a storage medium.
Background
In the block chain transaction process, one service task generates a plurality of block chain transactions, and for the same service task, the service task is completed only when all the block chain transactions generated by the service task are executed.
The security of the blockchain transaction may be related to the property security or data security of the user, and therefore, it is important how to improve the security during the blockchain transaction.
Disclosure of Invention
The present invention provides a method, apparatus, electronic device and storage medium for blockchain transactions that overcomes or at least partially solves the above mentioned problems.
According to a first aspect of the present invention, there is provided a blockchain transaction method, comprising:
acquiring a service request of a user, wherein the service request comprises a current blockchain transaction identifier and a service task identifier to which the current blockchain transaction belongs, and one service task generates a plurality of blockchain transactions;
searching the execution sequence of all blockchain transactions corresponding to the service task identifier and the current blockchain transaction identifier in a alliance chain network according to the service task identifier and the current blockchain transaction identifier;
and executing all blockchain transactions according to the execution sequence from the current blockchain transaction.
On the basis of the technical scheme, the invention can also provide the following improvement.
Optionally, before the step of searching, according to the service task identifier and the current blockchain transaction identifier, an execution sequence of all blockchain transactions corresponding to the service task identifier and the current blockchain transaction identifier in a federation chain network, the method further includes:
and for any blockchain transaction, generating an execution sequence of all blockchain transactions corresponding to the current blockchain transaction according to an intelligent contract corresponding to the business task to which the any blockchain transaction belongs, wherein all blockchain transactions are generated by the business task to which the any blockchain transaction belongs.
Optionally, for any blockchain transaction, after generating an execution sequence of all blockchain transactions corresponding to the current blockchain transaction according to an intelligent contract corresponding to a business task to which the any blockchain transaction belongs, the method further includes:
and storing the corresponding relation among each business task, each blockchain transaction, the business task identifier, the blockchain transaction identifier and the execution sequence of all blockchain transactions in the alliance chain network.
Optionally, before storing the corresponding relationship between each service task, each blockchain transaction, and the execution sequence of the service task identifier, the blockchain transaction identifier, and all blockchain transactions in the alliance-chain network, the method further includes:
and encrypting the execution sequence of all blockchain transactions corresponding to the current blockchain transaction and the current blockchain transaction data according to the encryption key corresponding to the business task to which the current blockchain transaction belongs, and storing the encrypted execution sequence and the encrypted current blockchain data in the alliance chain network.
Optionally, the searching, according to the service task identifier and the current blockchain transaction identifier, an execution sequence of all blockchain transactions corresponding to the service task identifier and the current blockchain transaction identifier in a federation chain network further includes:
aiming at the business tasks stored in the alliance chain network, for each blockchain transaction generated by the same business task, providing a corresponding query service port, and exposing the query service port to a query client.
Optionally, the searching, according to the service task identifier and the current blockchain transaction identifier, an execution sequence of all blockchain transactions corresponding to the service task identifier and the current blockchain transaction identifier in a federation chain network includes:
finding a corresponding query service interface according to a service task identifier and a block chain transaction identifier carried in a service request of a user, and calling the query service interface;
when the inquiry client monitors that an inquiry service interface is called, extracting the current blockchain transaction corresponding to the inquiry service port and a transaction log thereof from the alliance chain network, wherein the transaction log stores execution sequences of all blockchain transactions.
According to a second aspect of the present invention, there is provided a blockchain transaction apparatus, comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a service request of a user, the service request comprises a current blockchain transaction identifier and a service task identifier to which the current blockchain transaction belongs, and one service task generates a plurality of blockchain transactions;
the searching module is used for searching the execution sequence of all block chain transactions corresponding to the service task identifier and the current block chain transaction identifier in a alliance chain network according to the service task identifier and the current block chain transaction identifier;
and the execution module is used for executing all blockchain transactions from the current blockchain transaction according to the execution sequence.
Optionally, the method further includes:
and the generating module is used for generating an execution sequence of all blockchain transactions corresponding to the current blockchain transaction according to the intelligent contract corresponding to the business task to which any blockchain transaction belongs, wherein all blockchain transactions are generated by the business task to which any blockchain transaction belongs.
According to a third aspect of the present invention, there is provided an electronic device comprising a memory, a processor for implementing the steps of a blockchain transaction method when executing a computer management class program stored in the memory.
According to a fourth aspect of the present invention, there is provided a computer readable storage medium having stored thereon a computer management class program, which when executed by a processor implements the steps of a blockchain transaction method.
According to the block chain transaction method, the block chain transaction device, the electronic equipment and the storage medium, aiming at different business tasks and different current block chain transactions, different transaction sequences are generated for a plurality of block chain transactions according to intelligent contracts, and the safety of the block chain transactions is guaranteed.
Drawings
Fig. 1 is a flowchart of a block chain transaction method based on a federation chain network according to the present invention;
fig. 2 is a schematic structural diagram of a block chain transaction system based on a federation chain network according to the present invention;
fig. 3 is a schematic structural diagram of a block chain transaction system based on a federation chain network according to the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to the present invention;
FIG. 5 is a schematic diagram of a computer storage medium according to the present invention.
Detailed Description
The following detailed description of embodiments of the present invention is provided in connection with the accompanying drawings and examples. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
Fig. 1 is a flowchart of a block chain transaction method based on a federation chain network provided in the present invention, as shown in fig. 1, the method includes: 101. acquiring a service request of a user, wherein the service request comprises a current blockchain transaction identifier and a service task identifier to which the current blockchain transaction belongs, and one service task generates a plurality of blockchain transactions; 102. searching the execution sequence of all blockchain transactions corresponding to the service task identifier and the current blockchain transaction identifier in a alliance chain network according to the service task identifier and the current blockchain transaction identifier; 103. and executing all blockchain transactions according to the execution sequence from the current blockchain transaction.
It can be understood that, when a user wants to perform a transaction of a certain service, a service request may be initiated, where the service request includes a current blockchain transaction identifier and a service task identifier to which the current blockchain transaction belongs. It should be noted that one service task may generate multiple blockchain transactions, and after multiple blockchain transactions belonging to the same service task are jointly transacted, the corresponding service task is executed.
In order to ensure the safety of the block chain transaction, the execution sequence of all block chain transactions which finish the same service task is different from different current block chain transactions. And executing all blockchain transactions of the same business task from the current blockchain transaction according to the execution sequence, and finishing the business task.
The invention aims at different business tasks and different current blockchain transactions, generates different transaction sequences for a plurality of blockchain transactions according to the intelligent contract, and ensures the safety of the blockchain transactions.
In a possible embodiment, before searching, in a alliance-link network, an execution sequence of all blockchain transactions corresponding to a service task identifier and a current blockchain transaction identifier according to the service task identifier and the current blockchain transaction identifier, the method further includes: for any blockchain transaction, generating an execution sequence of all blockchain transactions corresponding to the current blockchain transaction according to an intelligent contract corresponding to a business task to which any blockchain transaction belongs, wherein all blockchain transactions are generated by the business task to which any blockchain transaction belongs.
It can be understood that different service tasks correspond to different intelligent contracts, when a service task identifier in a user service request is received, the corresponding intelligent contract is found, and the execution sequence of all blockchain transactions of the same service task is generated according to the current blockchain transaction identifier by using the corresponding intelligent contract. The intelligent contracts are related to business tasks, and the intelligent contracts corresponding to different business tasks are different.
In the invention, each business task, each block chain transaction and the corresponding relation of the business task identifier, the block chain transaction identifier and the execution sequence of all block chain transactions are stored in the alliance chain network.
It can be understood that all business tasks involved in the blockchain transaction process, all blockchain transactions, and the execution sequence of the business task identifier, the blockchain transaction identifier and all blockchain transactions generated by the intelligent contract are correspondingly stored in the alliance-chain network.
In a possible embodiment mode, before the execution sequence of all blockchain transactions generated by the intelligent contract and the data of each blockchain transaction are stored in the alliance-chain network, the data needs to be encrypted to ensure the security of the data. Specifically, according to an encryption key corresponding to a service task to which the current blockchain transaction belongs (different services correspond to different encryption keys), the execution sequence of all blockchain transactions corresponding to the current blockchain transaction and the current blockchain transaction data are encrypted, and the encrypted execution sequence and the encrypted current blockchain data are stored in the alliance chain network.
In a possible embodiment, according to a service task identifier and a current blockchain transaction identifier, searching an execution sequence of all blockchain transactions corresponding to the service task identifier and the current blockchain transaction identifier in a federation chain network, before further including: aiming at the business tasks stored in the alliance chain network, for each blockchain transaction generated by the same business task, providing a corresponding query service port, and exposing the query service port to a query client.
It can be understood that, in order to facilitate user query, the present invention provides a corresponding query service interface for each blockchain transaction of each service task in the alliance chain network, that is, a query service interface is correspondingly provided for one service task identifier and one blockchain transaction identifier, and all query service interfaces are exposed to the query client, so that the query client can query the corresponding service task identifier and blockchain transaction identifier.
In a possible embodiment, searching, in a alliance-link network, an execution sequence of all blockchain transactions corresponding to a service task identifier and a current blockchain transaction identifier according to the service task identifier and the current blockchain transaction identifier includes: finding a corresponding query service interface according to a service task identifier and a block chain transaction identifier carried in a service request of a user, and calling the query service interface; when the inquiry client monitors that an inquiry service interface is called, extracting the current blockchain transaction corresponding to the inquiry service port and a transaction log thereof from the alliance chain network, wherein the transaction log stores execution sequences of all blockchain transactions.
It can be understood that, according to the service task identifier and the blockchain transaction identifier carried in the service request of the user, the corresponding query service interface is found, and the query service interface is called. When the inquiry service interface is called, the inquiry client can monitor, at this time, the inquiry client extracts the current block chain transaction corresponding to the inquiry service interface from the alliance chain network and obtains a transaction log of the current block chain transaction, wherein the transaction log stores execution sequences of all block chain transactions generated by the same corresponding service task. The execution sequence and the current blockchain transaction data are encrypted data, a decryption key of the corresponding encryption key can be obtained from the alliance chain network, and the execution sequence and the current blockchain transaction data are decrypted by using the corresponding decryption key. And starting from the current blockchain transaction, executing all blockchain transactions in sequence to complete the transaction execution of the corresponding service task.
Fig. 2 is a structural diagram of a block chain transaction system based on a federation chain network provided in the present invention, and as shown in fig. 2, a block chain transaction system based on a federation chain network includes: an obtaining module 201, a searching module 202 and an executing module 203, wherein:
an obtaining module 201, configured to obtain a service request of a user, where the service request includes a current blockchain transaction identifier and a service task identifier to which the current blockchain transaction belongs, and one service task generates multiple blockchain transactions;
a searching module 202, configured to search, according to the service task identifier and the current blockchain transaction identifier, an execution sequence of all blockchain transactions corresponding to the service task identifier and the current blockchain transaction identifier in a alliance-link network;
the execution module 203 is configured to execute all blockchain transactions from the current blockchain transaction according to the execution sequence.
Referring to fig. 3, the block chain transaction system based on the alliance chain network further includes a generating module 204, where the generating module 204 is configured to generate, for any block chain transaction, an execution sequence of all block chain transactions corresponding to the current block chain transaction according to an intelligent contract corresponding to a business task to which the any block chain transaction belongs, where the all block chain transactions are generated by the business task to which the any block chain transaction belongs.
It can be understood that the block chain transaction system based on the alliance chain network provided by the present invention corresponds to the block chain transaction method based on the alliance chain network provided by the foregoing embodiments, and the related technical features of the block chain transaction system based on the alliance chain network may refer to the related technical features of the block chain transaction method based on the alliance chain network, and the description thereof is not repeated here.
Referring to fig. 4, fig. 4 is a schematic view of an embodiment of an electronic device provided in the present invention. As shown in fig. 4, the present invention provides an electronic device, which includes a memory 410, a processor 420, and a computer program 411 stored in the memory 420 and running on the processor 420, wherein the processor 420 executes the computer program 411 to implement the following steps: acquiring a service request of a user, wherein the service request comprises a current blockchain transaction identifier and a service task identifier to which the current blockchain transaction belongs, and one service task generates a plurality of blockchain transactions; searching the execution sequence of all blockchain transactions corresponding to the service task identifier and the current blockchain transaction identifier in a alliance chain network according to the service task identifier and the current blockchain transaction identifier; and executing all blockchain transactions according to the execution sequence from the current blockchain transaction.
Referring to fig. 5, fig. 5 is a schematic diagram of an embodiment of a computer-readable storage medium according to the present invention. As shown in fig. 5, the present embodiment provides a computer-readable storage medium 500 having a computer program 511 stored thereon, the computer program 511 implementing the following steps when executed by a processor: acquiring a service request of a user, wherein the service request comprises a current blockchain transaction identifier and a service task identifier to which the current blockchain transaction belongs, and one service task generates a plurality of blockchain transactions; searching the execution sequence of all blockchain transactions corresponding to the service task identifier and the current blockchain transaction identifier in a alliance chain network according to the service task identifier and the current blockchain transaction identifier; and executing all blockchain transactions according to the execution sequence from the current blockchain transaction.
According to the block chain transaction method, device, electronic equipment and storage medium based on the alliance chain network, aiming at different business tasks and different current block chain transactions, different transaction sequences are generated for a plurality of block chain transactions according to intelligent contracts, and the safety of the block chain transactions is guaranteed.
It should be noted that, in the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to relevant descriptions of other embodiments for parts that are not described in detail in a certain embodiment.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include such modifications and variations.

Claims (10)

1. A block chain transaction method based on a alliance chain network is characterized by comprising the following steps:
acquiring a service request of a user, wherein the service request comprises a current blockchain transaction identifier and a service task identifier to which the current blockchain transaction belongs, and one service task generates a plurality of blockchain transactions;
searching the execution sequence of all blockchain transactions corresponding to the service task identifier and the current blockchain transaction identifier in a alliance chain network according to the service task identifier and the current blockchain transaction identifier;
and executing all blockchain transactions according to the execution sequence from the current blockchain transaction.
2. The blockchain transaction method according to claim 1, wherein the step of finding an execution sequence of all blockchain transactions corresponding to the service task identifier and the current blockchain transaction identifier in a federation chain network according to the service task identifier and the current blockchain transaction identifier further comprises:
and for any blockchain transaction, generating an execution sequence of all blockchain transactions corresponding to the current blockchain transaction according to an intelligent contract corresponding to the business task to which the any blockchain transaction belongs, wherein all blockchain transactions are generated by the business task to which the any blockchain transaction belongs.
3. The blockchain transaction method according to claim 2, wherein for any blockchain transaction, after generating the execution sequence of all blockchain transactions corresponding to the current blockchain transaction according to the intelligent contract corresponding to the business task to which the any blockchain transaction belongs, the method further comprises:
and storing the corresponding relation among each business task, each blockchain transaction, the business task identifier, the blockchain transaction identifier and the execution sequence of all blockchain transactions in the alliance chain network.
4. The blockchain transaction method according to claim 3, wherein before storing the correspondence between each business task, each blockchain transaction and the business task identifier, the blockchain transaction identifier and the execution sequence of all blockchain transactions in the alliance-chain network, the method further comprises:
and encrypting the execution sequence of all blockchain transactions corresponding to the current blockchain transaction and the current blockchain transaction data according to the encryption key corresponding to the business task to which the current blockchain transaction belongs, and storing the encrypted execution sequence and the encrypted current blockchain data in the alliance chain network.
5. The blockchain transaction method according to claim 4, wherein the step of finding an execution sequence of all blockchain transactions corresponding to the service task identifier and the current blockchain transaction identifier in a alliance-chain network according to the service task identifier and the current blockchain transaction identifier further comprises:
aiming at the business tasks stored in the alliance chain network, for each blockchain transaction generated by the same business task, providing a corresponding query service port, and exposing the query service port to a query client.
6. The blockchain transaction method of claim 5, wherein the step of finding an execution sequence of all blockchain transactions corresponding to the service task identifier and the current blockchain transaction identifier in a alliance-chain network according to the service task identifier and the current blockchain transaction identifier comprises:
finding a corresponding query service interface according to a service task identifier and a block chain transaction identifier carried in a service request of a user, and calling the query service interface;
when the inquiry client monitors that an inquiry service interface is called, extracting the current blockchain transaction corresponding to the inquiry service port and a transaction log thereof from the alliance chain network, wherein the transaction log stores execution sequences of all blockchain transactions.
7. A blockchain transaction apparatus based on a federation chain network, comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a service request of a user, the service request comprises a current blockchain transaction identifier and a service task identifier to which the current blockchain transaction belongs, and one service task generates a plurality of blockchain transactions;
the searching module is used for searching the execution sequence of all block chain transactions corresponding to the service task identifier and the current block chain transaction identifier in a alliance chain network according to the service task identifier and the current block chain transaction identifier;
and the execution module is used for executing all blockchain transactions from the current blockchain transaction according to the execution sequence.
8. The blockchain transaction device of claim 7, further comprising:
and the generating module is used for generating an execution sequence of all blockchain transactions corresponding to the current blockchain transaction according to the intelligent contract corresponding to the business task to which any blockchain transaction belongs, wherein all blockchain transactions are generated by the business task to which any blockchain transaction belongs.
9. An electronic device comprising a memory, a processor for implementing the steps of the federation chain network-based blockchain transaction method of any one of claims 1 to 6 when executing a computer management class program stored in the memory.
10. A computer-readable storage medium, having stored thereon a computer management class program, which when executed by a processor, performs the steps of the federation chain network-based blockchain transaction method of any one of claims 1 to 6.
CN202110165866.8A 2021-02-07 2021-02-07 Block chain transaction method and device, electronic equipment and storage medium Active CN113225368B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110165866.8A CN113225368B (en) 2021-02-07 2021-02-07 Block chain transaction method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110165866.8A CN113225368B (en) 2021-02-07 2021-02-07 Block chain transaction method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113225368A CN113225368A (en) 2021-08-06
CN113225368B true CN113225368B (en) 2022-04-19

Family

ID=77084652

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110165866.8A Active CN113225368B (en) 2021-02-07 2021-02-07 Block chain transaction method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113225368B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113658003B (en) * 2021-08-17 2024-03-29 工银科技有限公司 Transaction method, device, equipment and storage medium based on blockchain network

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109376274A (en) * 2018-10-23 2019-02-22 杭州能链科技有限公司 Go out block method, equipment and storage medium based on block catenary system
CN109598504A (en) * 2018-10-25 2019-04-09 阿里巴巴集团控股有限公司 Transaction processing method and device, electronic equipment based on block chain
EP3493141A1 (en) * 2017-12-01 2019-06-05 Quant Network Ltd. Blockchain communications and ordering
CN110533541A (en) * 2018-05-25 2019-12-03 招商银行股份有限公司 Intelligent contract business reorganization method, equipment and computer readable storage medium
CN110569281A (en) * 2019-08-30 2019-12-13 阿里巴巴集团控股有限公司 Block chain transaction query method and system
CN110633309A (en) * 2019-08-30 2019-12-31 阿里巴巴集团控股有限公司 Block chain transaction processing method and device
CN110874266A (en) * 2019-11-20 2020-03-10 上海欧冶金融信息服务股份有限公司 Intelligent contract task instruction sequence execution method and system
CN111709748A (en) * 2020-06-11 2020-09-25 杭州溪塔科技有限公司 Transaction execution method and device with service attribute and electronic equipment
CN112087502A (en) * 2020-08-28 2020-12-15 成都质数斯达克科技有限公司 Method, device and equipment for processing request and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3493141A1 (en) * 2017-12-01 2019-06-05 Quant Network Ltd. Blockchain communications and ordering
CN110533541A (en) * 2018-05-25 2019-12-03 招商银行股份有限公司 Intelligent contract business reorganization method, equipment and computer readable storage medium
CN109376274A (en) * 2018-10-23 2019-02-22 杭州能链科技有限公司 Go out block method, equipment and storage medium based on block catenary system
CN109598504A (en) * 2018-10-25 2019-04-09 阿里巴巴集团控股有限公司 Transaction processing method and device, electronic equipment based on block chain
CN110569281A (en) * 2019-08-30 2019-12-13 阿里巴巴集团控股有限公司 Block chain transaction query method and system
CN110633309A (en) * 2019-08-30 2019-12-31 阿里巴巴集团控股有限公司 Block chain transaction processing method and device
CN110874266A (en) * 2019-11-20 2020-03-10 上海欧冶金融信息服务股份有限公司 Intelligent contract task instruction sequence execution method and system
CN111709748A (en) * 2020-06-11 2020-09-25 杭州溪塔科技有限公司 Transaction execution method and device with service attribute and electronic equipment
CN112087502A (en) * 2020-08-28 2020-12-15 成都质数斯达克科技有限公司 Method, device and equipment for processing request and storage medium

Also Published As

Publication number Publication date
CN113225368A (en) 2021-08-06

Similar Documents

Publication Publication Date Title
CN112182644B (en) Data processing method and device and electronic equipment
CN109558748B (en) Data processing method and device, electronic equipment and storage medium
TWI798550B (en) Method and device for multi-party joint risk identification
CN109067528B (en) Password operation method, work key creation method, password service platform and equipment
WO2017094009A1 (en) Securing sql based databases with cryptographic protocols
CN106251114B (en) Method and device for realizing approval in application
CN110851786A (en) Longitudinal federated learning optimization method, device, equipment and storage medium
CN111400355B (en) Data query method and device
CN107220376B (en) Data query method and device
CN111753324A (en) Private data processing method, private data computing method and applicable equipment
CN113225368B (en) Block chain transaction method and device, electronic equipment and storage medium
US9122718B2 (en) Dynamic directory control execution
CN114372291A (en) Privacy joint reasoning method, device, equipment and storage medium
JP4594078B2 (en) Personal information management system and personal information management program
CN111090616B (en) File management method, corresponding device, equipment and storage medium
CN103336918B (en) Electronic hard disk system authorization method and device
CN116800535A (en) Method and device for avoiding secret between multiple servers
CN109409111B (en) Encrypted image-oriented fuzzy search method
CN109389271B (en) Application performance management method and system
CN108829534B (en) Data problem repairing method, device, computer equipment and storage medium
CN106874270B (en) Data consistency authentication method and device
CN115599982A (en) Data query method and device of hybrid cloud
CN109241180B (en) Data synchronization method and device based on log
CN113495723A (en) Method and device for calling functional component and storage medium
CN107463374B (en) Subset model extraction method and system based on inheritance and association automatic deduction

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
GR01 Patent grant
GR01 Patent grant