CN115187397A - Cross-system transaction state sharing method and device based on block chain - Google Patents

Cross-system transaction state sharing method and device based on block chain Download PDF

Info

Publication number
CN115187397A
CN115187397A CN202210808664.5A CN202210808664A CN115187397A CN 115187397 A CN115187397 A CN 115187397A CN 202210808664 A CN202210808664 A CN 202210808664A CN 115187397 A CN115187397 A CN 115187397A
Authority
CN
China
Prior art keywords
transaction
information
block chain
blockchain
node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210808664.5A
Other languages
Chinese (zh)
Inventor
张馨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202210808664.5A priority Critical patent/CN115187397A/en
Publication of CN115187397A publication Critical patent/CN115187397A/en
Pending legal-status Critical Current

Links

Images

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Economics (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a block chain-based cross-system transaction state sharing method and a block chain-based cross-system transaction state sharing device, wherein the block chain-based cross-system transaction state sharing method comprises the following steps: storing the transaction information in a block chain formed by different systems as nodes; updating the transaction information in the blockchain when the transaction information changes; notifying transaction change information to related nodes in the blockchain. When financial transaction occurs, after the operation of each product is finished, the transaction result information is uploaded to a block chain platform, and the platform synchronously informs related systems on the block chain to carry out verification; a real-time transaction operation result is automatically generated on the block chain, and the whole transaction link information is effectively recorded. If the transaction has problems, all products receive the notice in time to clarify the cause of the problems.

Description

Cross-system transaction state sharing method and device based on block chain
Technical Field
The application belongs to the technical field of information processing in the financial field, and particularly relates to a block chain-based cross-system transaction state sharing method and device.
Background
In the prior art, a large number of systems are used by each large bank, and the systems comprise different systems such as a transaction bus, accounting processing, transaction processing and the like. When a financial transaction occurs, the financial transaction can be completed through a plurality of systems, under the condition, when the financial transaction has a problem, a plurality of system errors possibly exist on a link, each system needs to be connected with an upstream and a downstream, error reasons are checked, the problem positioning time is slow, and the efficiency is low.
Disclosure of Invention
Aiming at the problems in the prior art, the application provides a method and a device for sharing a cross-system transaction state based on a block chain.
In order to solve at least one of the above problems, the present application provides the following technical solutions:
in a first aspect, the present application provides a block chain-based cross-system transaction state sharing method, including:
storing the transaction information in a block chain formed by different systems as nodes;
updating the transaction information in the blockchain when the transaction information changes;
notifying transaction change information to related nodes in the blockchain.
Further, when the transaction information changes, updating the transaction information in the blockchain includes:
generating a transaction flow and a transaction state corresponding to the change of the transaction information;
and uploading the transaction flow and the transaction state to the block chain.
Further, said notifying the relative nodes in the blockchain of transaction change information comprises:
determining nodes related to the transaction information according to the transaction information;
notifying the node associated therewith of transaction change information.
Further, the method for sharing the cross-system transaction state based on the block chain further comprises the following steps:
and when the information of a node in the block chain is changed, uploading the information of the node change to the block chain.
In a second aspect, the present application provides a block chain-based cross-system transaction state sharing apparatus, including:
the transaction information storage module is used for storing the transaction information in a block chain formed by taking different systems as nodes;
the transaction information updating module is used for updating the transaction information in the block chain when the transaction information is changed;
and the change information notification module is used for notifying the transaction change information to the relative nodes in the block chain.
Further, the transaction information update module includes:
the transaction flow generation unit is used for generating the transaction flow and the transaction state corresponding to the change of the transaction information;
and the transaction flow uploading unit is used for uploading the transaction flow and the transaction state to the block chain.
Further, the change information notification module includes:
the other node determining unit is used for determining nodes related to the other node according to the transaction information;
and the change information notification unit is used for notifying the transaction change information to the node related to the change information.
Further, the device for sharing the cross-system transaction state based on the blockchain further comprises:
and the change information uploading module is used for uploading the node change information to the block chain when the information of one node in the block chain is changed.
In a third aspect, the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the inter-system transaction state sharing method based on blockchain when executing the program.
In a fourth aspect, the present application provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the blockchain-based cross-system transaction state sharing method.
In a fifth aspect, the present application provides a computer program product comprising computer program/instructions which, when executed by a processor, implement the steps of the blockchain based cross-system transaction state sharing method.
As can be seen from the above description, an embodiment of the present invention provides a method and an apparatus for sharing cross-system transaction states based on a block chain, where the method includes: firstly, transaction information is stored in a block chain formed by different systems serving as nodes; then, when the transaction information changes, updating the transaction information in the blockchain; and finally, informing the relative nodes in the block chain of the transaction change information. The invention ensures the safety and authenticity of the transaction information by utilizing the block chain data transparency, non-tamper property and real-time synchronism. On the basis, a cross-system transaction state sharing platform based on a block chain is provided. Each product uploads a transaction code, a transaction identifier and transaction result information of a corresponding transaction to a block chain platform; when financial transaction occurs, after the operation of each product is finished, the transaction result information is uploaded to a block chain platform, and the platform synchronously informs related systems on the block chain to carry out verification; a real-time transaction operation result is automatically generated on the block chain, and the whole transaction link information is effectively recorded. If the transaction has problems, all products receive the notice in time to clarify the cause of the problems.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart illustrating a method for sharing transaction states across systems based on blockchains according to an embodiment of the present disclosure;
FIG. 2 is a flowchart illustrating a step 200 of a method for sharing transaction states across systems based on blockchains according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a step 300 of a method for sharing transaction states across systems based on blockchains according to an embodiment of the present invention;
fig. 4 is a second flowchart illustrating a block chain-based cross-system transaction state sharing method according to an embodiment of the present application;
fig. 5 is a third flowchart illustrating a method for sharing inter-system transaction states based on blockchains according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating a method for sharing transaction states across systems based on blockchains according to an embodiment of the present invention;
FIG. 7 is a first block diagram of a device for cross-system transaction state sharing based on blockchains according to an embodiment of the present invention;
FIG. 8 is a block diagram of the transaction information update module 20 according to an embodiment of the present invention;
FIG. 9 is a block diagram of change information notification module 30 in an embodiment of the present invention;
FIG. 10 is a block diagram of a block chain based cross-system transaction state sharing device according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of an electronic device in an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all 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 application.
According to the technical scheme, the data acquisition, storage, use, processing and the like meet relevant regulations of national laws and regulations.
When a financial transaction occurs, multiple products are passed through, and if a problem occurs in the financial transaction, multiple products on a link may be reported by mistake. When an error occurs, each system needs to contact the upstream and downstream systems of the system to analyze the cause of the problem, so that the problem positioning time is slow, and the efficiency is low. Based on this, referring to fig. 1, the method for sharing the inter-system transaction state based on the blockchain provided by the embodiment of the present invention specifically includes the following contents:
step 100: transaction information is stored in a blockchain consisting of different systems as nodes.
The block chain in step 100 is a chain of blocks. Each block holds certain information, which are linked in a chain according to a respective generated time sequence. This chain is maintained in all servers, and as long as one server can work in the entire system, the entire blockchain is secure.
Step 200: updating the transaction information in the blockchain when the transaction information changes;
and after the transaction state is changed, performing transaction state synchronization on a link system related to the transaction.
Step 300: notifying transaction change information to related nodes in the blockchain.
It is understood that step 300 may achieve the following technical effects: all systems related to the transaction link can know the transaction condition in the first time, quickly locate the problem, share the state and improve the problem processing efficiency.
As can be seen from the above description, an embodiment of the present invention provides a block chain-based cross-system transaction state sharing method, including: firstly, transaction information is stored in a block chain formed by different systems serving as nodes; then, when the transaction information changes, updating the transaction information in the blockchain; and finally, informing the relative nodes in the block chain of the transaction change information. The invention ensures the safety and authenticity of the transaction information by utilizing the block chain data transparency, non-tamper property and real-time synchronism. On the basis, a cross-system transaction state sharing platform based on a block chain is provided. Each product uploads a transaction code, a transaction identifier and transaction result information of a corresponding transaction to a block chain platform; when financial transaction occurs, after the operation of each product is finished, the transaction result information is uploaded to a block chain platform, and the platform synchronously informs related systems on the block chain to carry out verification; a real-time transaction operation result is automatically generated on the block chain, and the whole transaction link information is effectively recorded. If the transaction has problems, each product can timely receive a notice to determine the cause of the problems.
In one embodiment, referring to fig. 2, step 200 further comprises:
step 201: generating a transaction flow and a transaction state corresponding to the change of the transaction information;
specifically, a transaction pipeline is generated using a database-incremental ID method. The transaction information includes: transaction code, transaction number, transaction result, transaction system, and opponent system.
Step 202: and uploading the transaction flow and the transaction state to the block chain.
In step 201 and step 202, when a transaction occurs in a system on the blockchain, corresponding transaction data is generated, and the transaction flow and the transaction state are uploaded to the blockchain.
For step 202, the transaction pipeline and the transaction state are encrypted and uploaded to a public network side chain based on ipfs, and a data index is formed in a public chain.
In one embodiment, referring to fig. 3, step 300 further comprises:
step 301: determining nodes related to the transaction information according to the transaction information;
specifically, after the transaction information is uploaded to the platform, the platform may match the product range related to the transaction information according to the information stored in the blockchain, and generate a product list to be notified of the transaction.
Step 302: notifying the node associated therewith of transaction change information.
After the product uploads the transaction information, the platform can update the state to each related product according to the transaction information matching result.
In an embodiment, referring to fig. 4, the method for sharing the cross-system transaction state based on the blockchain further includes:
step 400: and when the information of a node in the block chain is changed, uploading the information of the node change to the block chain.
When the data of the block chain changes, the latest node state is synchronized to all systems on the transaction link.
In an embodiment, referring to fig. 5, the method for sharing the cross-system transaction state based on the blockchain further includes:
step 500: and generating a file tree according to each node in the block chain and the relationship among the nodes.
The invention can realize the following technical effects: when a financial transaction occurs, all systems related to the transaction link can know the transaction condition at the first time, quickly locate the problem, share the state and improve the problem processing efficiency.
In an embodiment, the present invention further provides an embodiment of a method for sharing a cross-system transaction state based on a blockchain, which is described with reference to fig. 6 and specifically includes the following contents.
Interpretation of terms:
block chains: is a chain formed by blocks. Each block holds certain information, which are linked in a chain according to a respective generated time sequence. This chain is maintained in all servers, and as long as one server can work in the entire system, the entire blockchain is secure.
And (3) state synchronization: in the system, after the transaction state is changed, the transaction state synchronization is carried out on the link system related to the transaction.
S1: and establishing a block chain platform.
Firstly, a block chain platform is established, the platform allows different systems to join, and the block chain manages the transaction of the system on the chain;
in addition, this step needs to be responsible for the management of the whole blockchain. The method comprises the management of data on a chain and the management of the authority of each product, different data blocks sent on the same system can be allowed, and information such as newly added nodes on the chain, the names of the defined nodes, the authority of the nodes and the like is supported.
S2: and generating transaction data.
When the system on the block chain carries out transaction, corresponding transaction data are generated, and the transaction flow and the transaction state are uploaded to the block chain.
S3: block chain data is updated.
Updating the latest transaction state after the block link receives the latest transaction state; when financial transaction is generated, the transaction information is stored into a block chain for subsequent synchronous use of cross-system transaction states.
S4: when the data of the block chain changes, the latest node state is synchronized to all systems on the transaction link.
After the product uploads the transaction information of the product to the platform, the platform can match the product range related to the transaction information according to the information stored in the block chain, and a product list which needs to be notified of the transaction is generated. After the product uploads the transaction information, the platform can update the state to each related product according to the transaction information matching result.
S5: and generating a transaction result.
The platform can generate financial transaction results in real time according to the information in the block chain and master the latest dynamic state of the transaction.
As can be seen from the above description, an embodiment of the present invention provides a block chain-based cross-system transaction state sharing method, including: firstly, transaction information is stored in a block chain formed by different systems serving as nodes; then, when the transaction information changes, updating the transaction information in the blockchain; and finally, informing the relative nodes in the block chain of the transaction change information. The invention ensures the safety and authenticity of the transaction information by utilizing the block chain data transparency, non-tamper property and real-time synchronism. On the basis, a cross-system transaction state sharing platform based on a block chain is provided. Each product uploads a transaction code, a transaction identifier and transaction result information of a corresponding transaction to a block chain platform; when financial transaction occurs, after the operation of each product is finished, the transaction result information is uploaded to a blockchain platform, and the platform synchronously informs a related system on the blockchain to carry out verification; a real-time transaction operation result is automatically generated on the block chain, and the whole transaction link information is effectively recorded. If the transaction has problems, all products receive the notice in time to clarify the cause of the problems.
Based on the same inventive concept, the embodiment of the present application further provides a device for sharing a cross-system transaction state based on a block chain, which can be used to implement the method described in the foregoing embodiment, such as the following embodiments. Because the principle of solving the problem of the inter-system transaction state sharing device based on the blockchain is similar to that of the inter-system transaction state sharing method based on the blockchain, the implementation of the inter-system transaction state sharing device based on the blockchain can be implemented by referring to the implementation of the inter-system transaction state sharing method based on the blockchain, and repeated parts are not described again. As used hereinafter, the term "unit" or "module" may be a combination of software and/or hardware that implements a predetermined function. While the system described in the embodiments below is preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.
An embodiment of the present invention provides a specific implementation manner of a block chain-based inter-system transaction state sharing device capable of implementing a block chain-based inter-system transaction state sharing method, and referring to fig. 7, the block chain-based inter-system transaction state sharing device specifically includes the following contents:
the transaction information storage module 10 is used for storing the transaction information in a block chain formed by different systems as nodes;
a transaction information updating module 20, configured to update the transaction information in the blockchain when the transaction information changes;
a change information notification module 30 for notifying the relative nodes in the blockchain of transaction change information.
Further, referring to fig. 8, the transaction information updating module 20 includes:
a transaction flow generation unit 201, configured to generate a transaction flow and a transaction state corresponding to a change of the transaction information;
a transaction pipeline uploading unit 202, configured to upload the transaction pipeline and the transaction status to the blockchain.
Further, referring to fig. 9, the change information notification module 30 includes:
the other node determining unit 301 is configured to determine a node related to the other node according to the transaction information;
a change information notification unit 302 for notifying the node related thereto of the transaction change information.
Further, referring to fig. 10, the device for sharing the cross-system transaction state based on the blockchain further includes:
a change information uploading module 40, configured to, when information of a node in the block chain changes, upload the node change information to the block chain.
As can be seen from the above description, an embodiment of the present invention provides a device for sharing a cross-system transaction state based on a blockchain, including: firstly, transaction information is stored in a block chain formed by different systems serving as nodes; then, when the transaction information is changed, updating the transaction information in the block chain; and finally, informing the relative nodes in the block chain of the transaction change information. The invention ensures the safety and authenticity of the transaction information by utilizing the block chain data transparency, non-tamper property and real-time synchronism. On the basis, a cross-system transaction state sharing platform based on a block chain is provided. Each product uploads a transaction code, a transaction identifier and transaction result information of a corresponding transaction to a block chain platform; when financial transaction occurs, after the operation of each product is finished, the transaction result information is uploaded to a block chain platform, and the platform synchronously informs related systems on the block chain to carry out verification; a real-time transaction operation result is automatically generated on the block chain, and the whole transaction link information is effectively recorded. If the transaction has problems, each product can timely receive a notice to determine the cause of the problems.
An embodiment of the present application further provides a specific implementation manner of an electronic device, which is capable of implementing all steps in the inter-system transaction state sharing method based on a blockchain in the foregoing embodiment, and referring to fig. 11, the electronic device specifically includes the following contents:
a processor (processor) 1201, a memory (memory) 1202, a communication Interface 1203, and a bus 1204;
the processor 1201, the memory 1202 and the communication interface 1203 complete communication with each other through the bus 1204; the communication interface 1203 is used for implementing information transmission between related devices such as server-side devices and client-side devices;
the processor 1201 is configured to invoke a computer program in the memory 1202, and the processor implements all the steps of the block chain based cross-system transaction state sharing method in the above embodiments when executing the computer program, for example, the processor implements the following steps when executing the computer program:
step 100: storing the transaction information in a block chain formed by different systems as nodes;
step 200: updating the transaction information in the blockchain when the transaction information changes;
step 300: notifying related nodes in the blockchain of transaction change information.
Embodiments of the present application further provide a computer-readable storage medium capable of implementing all steps in the inter-system transaction state sharing method based on a blockchain in the above embodiments, where the computer-readable storage medium stores thereon a computer program, and when the computer program is executed by a processor, the computer program implements all steps of the inter-system transaction state sharing method based on a blockchain in the above embodiments, for example, when the processor executes the computer program, the processor implements the following steps:
step 100: storing the transaction information in a block chain formed by different systems as nodes;
step 200: updating the transaction information in the blockchain when the transaction information changes;
step 300: notifying related nodes in the blockchain of transaction change information.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the hardware + program class embodiment, since it is substantially similar to the method embodiment, the description is simple, and the relevant points can be referred to the partial description of the method embodiment.
The foregoing description of specific embodiments has been presented for purposes of illustration and description. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
Although the present application provides method steps as in an embodiment or a flowchart, more or fewer steps may be included based on conventional or non-inventive labor. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. When implemented in practice, the apparatus or client products may be executed sequentially or in parallel (e.g., in the context of parallel processors or multi-threaded processing) according to the methods shown in the embodiments or figures.
For convenience of description, the above devices are described as being divided into various modules by functions, and are described separately. Of course, in implementing the embodiments of the present description, the functions of each module may be implemented in one or more software and/or hardware, or a module implementing the same function may be implemented by a combination of multiple sub-modules or sub-units, and the like. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of 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, devices or units, and may be in an electrical, mechanical or other form.
Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may therefore be considered as a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
The embodiments of this specification may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The described embodiments may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
All the embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, as for the system embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and reference may be made to the partial description of the method embodiment for relevant points. In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of an embodiment of the specification. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
The above description is only an example of the embodiments of the present disclosure, and is not intended to limit the embodiments of the present disclosure. Various modifications and alterations to the embodiments described herein will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the embodiments of the present specification should be included in the scope of the claims of the embodiments of the present specification.

Claims (11)

1. A method for sharing cross-system transaction states based on block chains is characterized by comprising the following steps:
storing the transaction information in a block chain formed by different systems as nodes;
updating the transaction information in the blockchain when the transaction information changes;
notifying related nodes in the blockchain of transaction change information.
2. The method according to claim 1, wherein the updating the transaction information in the blockchain when the transaction information changes comprises:
generating a transaction flow and a transaction state corresponding to the change of the transaction information;
and uploading the transaction flow and the transaction state to the block chain.
3. The method of claim 1, wherein the notifying the relative node in the blockchain of transaction change information comprises:
determining nodes related to the transaction information according to the transaction information;
notifying the node associated therewith of transaction change information.
4. The method for sharing transaction states across systems based on blockchains according to claim 1, further comprising:
and when the information of a node in the block chain is changed, uploading the information of the node change to the block chain.
5. A device for sharing transaction state across systems based on blockchains, comprising:
the transaction information storage module is used for storing the transaction information in a block chain formed by taking different systems as nodes;
the transaction information updating module is used for updating the transaction information in the block chain when the transaction information is changed;
and the change information notification module is used for notifying the transaction change information to the relative nodes in the block chain.
6. The device of claim 5, wherein the transaction information update module comprises:
the transaction flow generation unit is used for generating the transaction flow and the transaction state corresponding to the change of the transaction information;
and the transaction flow uploading unit is used for uploading the transaction flow and the transaction state to the block chain.
7. The device according to claim 5, wherein the change information notification module comprises:
the other node determining unit is used for determining nodes related to the other node according to the transaction information;
and the change information notification unit is used for notifying the transaction change information to the node related to the change information.
8. The device according to claim 5, further comprising:
and the change information uploading module is used for uploading the node change information to the block chain when the information of one node in the block chain is changed.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements the steps of the blockchain based cross-system transaction state sharing method of any one of claims 1 to 4.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the blockchain-based cross-system transaction state sharing method according to any one of claims 1 to 4.
11. A computer program product comprising computer program/instructions, characterized in that the computer program/instructions, when executed by a processor, implement the steps of the blockchain based cross-system transaction state sharing method of any of claims 1 to 4.
CN202210808664.5A 2022-07-11 2022-07-11 Cross-system transaction state sharing method and device based on block chain Pending CN115187397A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210808664.5A CN115187397A (en) 2022-07-11 2022-07-11 Cross-system transaction state sharing method and device based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210808664.5A CN115187397A (en) 2022-07-11 2022-07-11 Cross-system transaction state sharing method and device based on block chain

Publications (1)

Publication Number Publication Date
CN115187397A true CN115187397A (en) 2022-10-14

Family

ID=83517685

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210808664.5A Pending CN115187397A (en) 2022-07-11 2022-07-11 Cross-system transaction state sharing method and device based on block chain

Country Status (1)

Country Link
CN (1) CN115187397A (en)

Similar Documents

Publication Publication Date Title
CN109325854B (en) Block chain network, deployment method and storage medium
CN109191124B (en) Block chain network, deployment method and storage medium
CN108683539B (en) Block chain network management method, block chain network management device, block chain network management medium and electronic equipment
CN110389900B (en) Distributed database cluster testing method and device and storage medium
CN109218079B (en) Block chain network, deployment method and storage medium
CN110825420B (en) Method, device, equipment and storage medium for updating configuration parameters of distributed cluster
TWI751402B (en) Data synchronization method, distributed system, computer readable storage and retrieval media, computer equipment and distributed equipment
CN106708719B (en) Service function testing method and device
CN111080449B (en) Cross-chain transaction method of blockchain, management node and blockchain network
CN110874484A (en) Data processing method and system based on neural network and federal learning
CN109460593B (en) Block chain virtual simulation system
EP3480686B1 (en) Data processing method, cluster manager, resource manager and data processing system
CN112631846A (en) Fault drilling method and device, computer equipment and storage medium
CN113783953A (en) Industrial Internet of things network management and control method and system based on cloud edge cooperation
CN110532021A (en) The processing method and processing device of the configuration file of dcs
CN111552494B (en) Method, device, system and medium for managing container group
CN116011026B (en) Database configuration security rapid verification method, system, equipment and storage medium
CN113050971A (en) Software version management system and method based on block chain
CN115187397A (en) Cross-system transaction state sharing method and device based on block chain
CN112131177A (en) Data migration method and device, storage medium and electronic equipment
CN111897826A (en) Parameter information updating method and device, electronic equipment and readable storage medium
CN111061813A (en) Method, apparatus and computing device for data synchronization in blockchain network
WO2020025389A1 (en) Computer-implemented method and system for providing a heirarchical blockchain made up of block chains
CN114978686A (en) Digital asset chaining method and device
CN112906007A (en) Open source software vulnerability management and control method and device

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