CN114416870A - Trade and transportation integrated service system based on block chain, and data sharing method and device - Google Patents

Trade and transportation integrated service system based on block chain, and data sharing method and device Download PDF

Info

Publication number
CN114416870A
CN114416870A CN202111670367.0A CN202111670367A CN114416870A CN 114416870 A CN114416870 A CN 114416870A CN 202111670367 A CN202111670367 A CN 202111670367A CN 114416870 A CN114416870 A CN 114416870A
Authority
CN
China
Prior art keywords
data
block
node
target data
intelligent contract
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111670367.0A
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.)
China West Certificate Authority Co ltd
Aisino Corp
Original Assignee
China West Certificate Authority Co ltd
Aisino Corp
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 China West Certificate Authority Co ltd, Aisino Corp filed Critical China West Certificate Authority Co ltd
Priority to CN202111670367.0A priority Critical patent/CN114416870A/en
Publication of CN114416870A publication Critical patent/CN114416870A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • 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/23Updating
    • 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/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • G06Q20/065Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Finance (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Marketing (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Development Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Human Resources & Organizations (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Technology Law (AREA)
  • Computing Systems (AREA)

Abstract

In the system consisting of a first block chain node and a second block chain node, the first block chain node packs the block chain node and the second block chain node into block data to be shared to the determined second block chain node, and links the block data to the last block data recorded locally to carry out data uplink, thereby realizing the data sharing of each participant in the trade and transportation business chain.

Description

Trade and transportation integrated service system based on block chain, and data sharing method and device
Technical Field
The invention relates to the technical field of block chains, in particular to a trade and transportation integrated service system based on a block chain, a data sharing method and a data sharing device.
Background
In a current Liquefied Natural Gas (LNG) trade transportation business chain, trade data, logistics data, customs and inspection department supervision data, warehousing data, payment settlement financial data and the like are in a splitting state, and data cannot be shared in real time and efficiently circulated, so that business cooperation efficiency is low, the transportation period of goods is prolonged, cost is increased, and risks are increased.
Therefore, how to implement data sharing of each participant in the trade business chain becomes an urgent technical problem to be solved.
Disclosure of Invention
The invention provides a trade and transportation integrated service system, a data sharing method, a trade and transportation integrated service device, trade and transportation integrated service equipment and a trade and transportation integrated service medium based on a block chain, which are used for solving the problems in the prior art.
The invention provides a trade and transportation integrated service system based on a block chain, which comprises: a first blockchain node and a second blockchain node;
the first block link node is used for acquiring target data to be shared; packaging the target data into block data to be shared to a determined second block chain node, and connecting the block data to the last block data of the local record for data uplink;
and the second block link node is configured to acquire the shared block data and link the block data to a data uplink after the last block data recorded locally.
Further, the first block link node is specifically configured to use, as the second block link node, the block link point corresponding to the data type of the target data according to the data type of the target data and a correspondence between a pre-stored data type and a block link point.
Further, the first block chain node is specifically configured to determine, according to the target data and a contract condition of each first intelligent contract that is pre-stored and performs area sharing, a target first intelligent contract in each first intelligent contract for which the target data meets the contract condition; and determining the block link point corresponding to the target first intelligent contract as the second block link node according to the block link node corresponding to each first intelligent contract.
Further, the first block chain node is further configured to determine a pre-authorized block chain link point as the second block chain node if the target data is encrypted target data;
and the second block chain node is further configured to receive a query request for block data corresponding to the encrypted target data, and decrypt and display the encrypted target data according to a key carried in the query request.
Further, the first block link node is further configured to perform fund clearing based on the fund clearing path according to the target data and a contract condition of a second intelligent contract for fund clearing saved in advance, if the target data meets the contract condition in the second intelligent contract, according to the fund clearing path correspondingly saved in the second intelligent contract.
Accordingly, the present invention provides a data sharing method, comprising:
acquiring target data to be shared;
packaging the target data into block data to be shared to a determined second block chain node;
and linking the block data after the last block data of the local record for data uplink.
Further, the determining of the second block link point includes:
and taking the block chain link point corresponding to the data type of the target data as the second block chain node according to the data type of the target data and the corresponding relation between the pre-stored data type and the block chain link point.
Further, the determining of the second block link point includes:
determining a target first intelligent contract in each first intelligent contract, wherein the target data of each first intelligent contract meets contract conditions, according to the target data and the contract conditions of each first intelligent contract which is saved in advance and is subjected to regional sharing; and determining the block link point corresponding to the target first intelligent contract as the second block link node according to the block link node corresponding to each first intelligent contract.
Further, the determining of the second block link point includes:
and if the target data is the encrypted target data, determining a pre-authorized block link point as the second block link node.
Further, the method further comprises:
and according to the target data and contract conditions of a second intelligent contract for pre-stored fund clearance, if the target data meets the contract conditions in the second intelligent contract, performing fund clearance according to a fund clearance path correspondingly stored by the second intelligent contract and based on the fund clearance path.
Accordingly, the present invention provides a data sharing apparatus, said apparatus comprising:
the acquisition module is used for acquiring target data to be shared;
the sharing module is used for packaging the target data into block data to be shared to the determined second block chain node;
and the uplink module is used for connecting the block data to carry out data uplink after the last block data of the local record.
Further, the apparatus further comprises:
and the determining module is used for taking the block chain link point corresponding to the data type of the target data as the second block chain node according to the data type of the target data and the corresponding relation between the pre-stored data type and the block chain link point.
Further, the apparatus further comprises:
the determining module is used for determining a target first intelligent contract in each first intelligent contract, wherein the target data of each first intelligent contract meets contract conditions, according to the target data and the contract conditions of each first intelligent contract which is saved in advance and is subjected to regional sharing; and determining the block link point corresponding to the target first intelligent contract as the second block link node according to the block link node corresponding to each first intelligent contract.
Further, the apparatus further comprises:
and the determining module is used for determining a pre-authorized block link point as the second block link node if the target data is the encrypted target data.
Further, the apparatus further comprises:
and the processing module is used for carrying out fund clearing according to the target data and contract conditions of a second intelligent contract for pre-saved fund clearing, and if the target data meets the contract conditions in the second intelligent contract, carrying out fund clearing based on the fund clearing path according to the fund clearing path correspondingly saved in the second intelligent contract.
Accordingly, the present invention provides an electronic device comprising a processor and a memory, the memory being arranged to store program instructions, the processor being arranged to carry out the steps of any of the above-described data sharing methods when executing a computer program stored in the memory.
Accordingly, the present invention provides a computer readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of any of the above-mentioned data sharing methods.
The invention provides a block chain-based trade and transportation integrated service system, a data sharing method, a device, equipment and a medium, wherein the system comprises the following components: a first blockchain node and a second blockchain node; the first block link node is used for acquiring target data to be shared; packaging the target data into block data to be shared to a determined second block chain node, and connecting the block data to the last block data of the local record for data uplink; and the second block link node is configured to acquire the shared block data and link the block data to a data uplink after the last block data recorded locally. In the system composed of the first block chain node and the second block chain node, the first block chain node packs the block chain node and the second block chain node into block data to be shared to the determined second block chain node, and the block data is linked to the last block data recorded locally for data chaining, so that the data sharing of each participant in the trade service chain is realized.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic structural diagram of a data sharing system according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a data sharing system according to an embodiment of the present invention;
fig. 3 is a network architecture diagram of a trade and transportation integrated service platform according to an embodiment of the present invention;
fig. 4 is a process diagram of a data sharing method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a data sharing device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, 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.
In order to realize data sharing of each participant in a trade business chain, the embodiment of the invention provides a block chain-based trade integrated service system.
Example 1:
fig. 1 is a schematic structural diagram of a block chain-based trade transportation integrated service system according to an embodiment of the present invention, where the system 100 includes: a first blockchain node 101 and a second blockchain node 102;
the first block link node 101 is configured to acquire target data to be shared; packaging the target data into block data to be shared to a determined second block chain node, and connecting the block data to the last block data of the local record for data uplink;
the second blockchain node 102 is configured to obtain the shared block data, and link the block data after the last block data recorded locally for data uplink.
The data sharing system 100 may be a Peer-To-Peer (Peer To Peer, P2P) blockchain system composed of a plurality of blockchain nodes. P2P is an application layer Protocol running on top of the Transmission Control Protocol (TCP), and the blockchain nodes in a blockchain system can be equal to each other, and there is no central blockchain node in the system, so each blockchain node can randomly connect to other blockchain nodes.
In the block chain system, a preset database can be configured inside each block chain link point, each block chain node maintains a common account book in the block chain system through the preset database, and the preset database inside the block chain link points can store block data in the block chain system; the block data includes a block header and a block body, the block header includes information such as a hash value of a previous block, a hash value of a current block, a block height of the current block, a timestamp, and the like, and the block body includes transaction data, such as transaction data generated by processing a transaction by a block link node in a blockchain system.
In this embodiment of the present invention, the data sharing system 100 may include a plurality of blockchain nodes, where the first blockchain node 101 is any blockchain node in the blockchain system, and a blockchain node in the data sharing system 100 may be a blockchain node that is independently served by a server, or a blockchain node that is served by a tax disk and a connection server thereof, and specifically, this is not limited in this embodiment of the present invention.
The first blockchain node 101 obtains target data to be shared, specifically, the first blockchain node 101 receives input target data to be shared, or the first blockchain node 101 receives target data to be shared sent by other devices.
The target data may be data submitted by a terminal device into the trade and transportation business chain of the first block chain node 101, and the target data may be any one of trade data, logistics data, supervision data, warehousing data and financial data; the target data may also be data submitted to the first blockchain node 101 based on a client in the terminal device. The trade data comprises contract invoices and transaction data, the logistics data comprises logistics bills, payment certificates, delivery lists, cargo positions and the like, the supervision data comprises export quality inspection certificates, export customs reports and the like, the storage data comprises departure bills, shipping bills, entry bills and the like, and the financial data comprises insurance certificates, payment tax refunds, insurance benefits and the like.
After the first blockchain node 101 acquires target data to be shared, in order to implement data sharing, a second blockchain node 102 that is to receive the target data is predetermined, and the target data is packed into blockchain data and shared to the second blockchain node 102. Specifically, the first blockchain node 101 may share the block data in a broadcast manner, or may share the block data in a network transmission manner.
To avoid data tampering, in the embodiment of the present invention, the first blockchain node 101 connects the block data after the last block data recorded locally, so as to implement data chaining of the shared block data.
The second blockchain node 102 acquires the block data sent by the first blockchain node 101, and adds the block data after the last block data recorded locally. The second blockchain node 102 may be all blockchain nodes except the first blockchain node 101, or may be a part of blockchain nodes except the first blockchain node 101.
The trade and transportation integrated service system based on the block chain in the embodiment of the invention comprises: a first blockchain node and a second blockchain node; the first block link node is used for acquiring target data to be shared; packaging the target data into block data to be shared to a determined second block chain node, and connecting the block data to the last block data of the local record for data uplink; and the second block link node is configured to acquire the shared block data and link the block data to a data uplink after the last block data recorded locally. In the system composed of the first block chain node and the second block chain node, the first block chain node packs the block chain node and the second block chain node into block data to be shared to the determined second block chain node, and the block data is linked to the last block data recorded locally for data chaining, so that the data sharing of each participant in the trade service chain is realized.
Example 2:
in order to determine the second blockchain node, on the basis of the above embodiment, in an embodiment of the present invention, the first blockchain node 101 is specifically configured to use, as the second blockchain node 102, a blockchain point corresponding to the data type of the target data according to the data type of the target data and a correspondence between a pre-stored data type and a blockchain point.
In order to determine the second block chain node, in the embodiment of the present invention, the first block chain node 101 pre-stores a corresponding relationship between a data type and a block chain link point, where the data type includes trade data, logistics data, supervision data, warehousing data, and financial data, for example, the logistics data, the warehousing data, the supervision data correspond to all block chain nodes except the first block chain node 101, and the trade data and the financial data correspond to part of the block chain link points except the first block chain node 101.
According to the corresponding relationship between the data type and the block link point and the data type of the target data, the block link point corresponding to the data type of the target data is determined, and the block link point is determined as the second block link node 102.
Example 3:
in order to determine the second blockchain node, on the basis of the foregoing embodiments, in an embodiment of the present invention, the first blockchain node 101 is specifically configured to determine, according to the target data and a contract condition of each first intelligent contract that is pre-saved and performs region sharing, a target first intelligent contract in each first intelligent contract where the target data meets the contract condition; and determining the block link point corresponding to the target first intelligent contract as the second block link node 102 according to the block link node corresponding to each first intelligent contract.
In order to determine the second blockchain node, in the embodiment of the present invention, the first blockchain node 101 prestores a contract condition of each first intelligent contract for performing the area sharing, where the contract condition may be that data includes a preset keyword, or that the data is of a preset type, or that the data includes a preset pattern. Each first intelligent contract is used for realizing regional sharing of data, and regional sharing means that data is not shared to all blockchain nodes in the blockchain system any more, but is shared to part of blockchain nodes in the blockchain system.
And determining the target first intelligent contract when the target data meets the contract conditions according to the target data and the contract conditions of each first intelligent contract. For example, a target first intelligent contract when the target data is a purchase contract and the target data satisfies the contract condition is determined to be data containing keywords "dollars", "euros", and "rmb".
Since the first intelligent contracts are contracts for realizing data region sharing, each first intelligent contract corresponds to a block chain node, and the block chain node corresponding to each first intelligent contract is a part of the block chain nodes except the first block chain node 101. And determining the block link point corresponding to the target first intelligent contract as the second block chain node 102 according to the block link point corresponding to each first intelligent contract.
Example 4:
in order to ensure data security, on the basis of the foregoing embodiments, in an embodiment of the present invention, the first blockchain node 101 is further configured to determine a pre-authorized blockchain link point as the second blockchain node 102 if the target data is encrypted target data;
the second blockchain node 102 is further configured to receive a query request for the blockdata corresponding to the encrypted target data, and decrypt and display the encrypted target data according to a key carried in the query request.
In order to ensure data security, in the embodiment of the present invention, a preset authorized blockchain node is stored in the first blockchain node 101, and if the received target data is encrypted target data, a pre-authorized blockchain link point is determined as the second blockchain node 102. The encrypted target data may be data encrypted by adopting a symmetric encryption method, or data encrypted by adopting an asymmetric encryption method.
And the second blockchain node 102 is configured to receive the block data corresponding to the encrypted target data, store the block data after the last block data recorded locally, and display the encrypted target data after an authorized second blockchain node 102 receives a query request for the block data corresponding to the encrypted target data in order to ensure data security.
In order to display the encrypted target data, the query request carries the key of the encrypted target data, the encrypted target data is decrypted according to the key carried in the query request, and the decrypted target data is displayed. Specifically, the decrypted target data is displayed on the display screen connected to the second blockchain node 102.
Example 5:
in order to implement the fund clearing, on the basis of the foregoing embodiments, in an embodiment of the present invention, the first block chain node 101 is further configured to perform the fund clearing based on a fund clearing path corresponding to a second intelligent contract stored according to the target data and a contract condition of the second intelligent contract stored in advance, if the target data meets the contract condition in the second intelligent contract, and the second intelligent contract.
In order to implement the fund clearance, in the embodiment of the present invention, the first blockchain node 101 stores in advance a second intelligent contract, where the second intelligent contract is a computer protocol for implementing the fund clearance, and determines that the fund clearance is required if the target data satisfies a contract condition of the second intelligent contract, according to the target data and the contract condition of the second intelligent contract.
And the second intelligent contract correspondingly saves the fund clearing path and carries out fund clearing based on the fund clearing path. The fund clearing path comprises an account number from which the fund is transferred out, a clearing amount and an account number to which the fund is transferred, and electronic data related to the amount of the fund contained in the account number is updated according to the account number from which the fund is transferred out, the clearing amount and the account number to which the fund is transferred.
Example 6:
fig. 2 is a schematic structural diagram of a data sharing system provided in an embodiment of the present invention, where the data sharing system includes a supervisory node, a logistics node, a financial node, an agent node, and a trade node; the supervision nodes comprise tax bureau nodes and customs and inspection and quarantine nodes, the logistics nodes comprise port service nodes, shipping service nodes and other logistics nodes, the financial nodes comprise insurance nodes and bank nodes, the agent nodes comprise agent service nodes, and the trade nodes comprise cross-border trade service platform nodes.
The supply and demand parties sign an LNG (liquefied Natural gas) purchasing contract through the cross-border trading platform, a cross-border trading service platform node corresponding to the cross-border trading platform receives the purchasing contract, the electronic invoice and the goods information, and links the purchasing contract, the electronic invoice and the goods information to perform data sharing;
the supplier entrusts the goods generation company to transport the LNG goods, the agent service node submits application and passes the examination to the customs, the inspection and quarantine node and the port service node on the chain, the related cost is paid and an electronic bill of lading is obtained, the goods are transported to the inspection and quarantine department, the customs and the inspection and quarantine node receive the inspection qualified certificate and link up to complete customs declaration, and the goods are transported to the port to be boxed and handed over to the ship generation company.
The method comprises the steps that an agent service node corresponding to a shipping company receives and links up information such as a delivery bill, a quality inspection qualification certificate, a certificate of origin, an export customs declaration form, a cargo manifest, a ship renting contract and the like, a shipping service node corresponding to the shipping company receives and links up information such as the cargo manifest information and ship position information, and an agent service node corresponding to the shipping company receives and links up information such as entry documents, port manifest, import customs declaration form and the like in the customs clearance process.
And the customs and inspection and quarantine nodes receive and chain up the inspection information, and other logistics nodes receive and chain up the waybill information and the cargo position information in the cargo transportation process of the freight company.
The method comprises the steps that a tax office node receives related certificate information chaining of payment or withdrawal of taxes, a insurance node receives insurance policy information chaining and shares the insurance policy information locally, the problem of cargo loss and damage occurs and audits on the insurance policy information chaining, and a bank node receives business process information in a premium claim process and chains the insurance policy information; and receiving the chain of the certificate information of services such as payment of tax refund, insurance claim payment and the like.
Fig. 3 is a network architecture diagram of a trade transportation integrated service platform according to an embodiment of the present invention, and as shown in fig. 3, a layered architecture divides software into a plurality of layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the system is divided into three layers, an application layer, a service layer and a support layer from top to bottom.
1) An application layer:
the application in the application layer in the embodiment of the invention comprises transaction service, warehousing service, transportation service and financial insurance service, wherein the transaction service comprises order management, contract signing, contract management, online payment, goods management, online delivery, physical transportation and the like; the warehousing service comprises online warehouse selection, warehouse management, warehouse entry and exit management, inventory management, goods state inquiry and stock certificate management; the transportation service comprises logistics tracking and position query; financial insurance services include payment settlement and insurance services.
2) And (3) a service layer:
the service layer comprises user management, data storage, data sharing, tracing and identity authentication.
3) A support layer:
the supporting layer comprises a block chain core layer, Internet of things equipment and a warehousing management system.
The block chain core layer comprises a visual operation and maintenance management layer, an efficient consensus mechanism, a cryptographic technology layer, privacy protection layer, a distributed account book layer, an intelligent contract layer and a cross-chain protocol layer;
the Internet of things equipment comprises video monitoring equipment, intelligent positioning equipment, an intelligent forklift, a temperature and humidity sensor, an intelligent tray, an electronic fence and an intelligent entrance guard.
The warehouse management system comprises warehouse entry management, warehouse exit management, inventory adjustment, batch management, warehouse moving management and warehouse receipt management.
Example 6:
fig. 4 is a schematic process diagram of a data sharing method according to an embodiment of the present invention, where the process includes the following steps:
s401: and acquiring target data to be shared.
The first block chain node is any block chain node in the data sharing system, and the block chain link point in the data sharing system may be a block chain node which is independently served by a server, or a block chain node which is served by a tax disk and a connection server thereof.
The first block link point obtains target data to be shared, specifically, the first block link point receives input target data to be shared, or the first block link point receives target data to be shared sent by other devices.
The target data can be data submitted by the terminal device to the trade and transportation business chain of the first block chain node, and the target data can be any one of trade data, logistics data, supervision data, warehousing data and financial data; the target data may also be data submitted to the first blockchain node 101 based on a client in the terminal device.
S402: and packaging the target data into block data to be shared to the determined second block chain node.
After the first block link point acquires target data to be shared, in order to realize data sharing, a second block link node of the target data to be received is predetermined, and the target data is packaged into block data and shared to the second block link node. Specifically, the first block link node may share the block data in a broadcast manner, or in a network transmission manner.
S403: and linking the block data after the last block data of the local record for data uplink.
To avoid data tampering, in the embodiment of the present invention, the first blockchain node 101 connects the block data after the last block data recorded locally, so as to implement data chaining of the shared block data.
In the method of the embodiment of the invention, after receiving the target data value to be shared, the first block chain node packs the target data into block data and sends the block data to the determined second block chain node, and connects the block data behind the last block data recorded locally, thereby realizing data sharing.
For determining a second blockchain node, the second blockchain node determining process comprises:
and taking the block chain link point corresponding to the data type of the target data as the second block chain node according to the data type of the target data and the corresponding relation between the pre-stored data type and the block chain link point.
In order to determine the second block chain node, in an embodiment of the present invention, the first block chain node stores in advance a correspondence between a data type and the block chain node, where the data type includes trade data, logistics data, regulatory data, warehousing data, and financial data, for example, the logistics data, the warehousing data, the regulatory data correspond to all block chain nodes except the first block chain node, and the trade data and the financial data correspond to some block chain nodes except the first block chain node. And determining the block link point corresponding to the data type of the target data according to the corresponding relation between the data type and the block link point and the data type of the target data, and determining the block link point as a second block link node.
For determining a second blockchain node, the second blockchain node determining process comprises:
determining a target first intelligent contract in each first intelligent contract, wherein the target data of each first intelligent contract meets contract conditions, according to the target data and the contract conditions of each first intelligent contract which is saved in advance and is subjected to regional sharing; and determining the block link point corresponding to the target first intelligent contract as the second block link node according to the block link node corresponding to each first intelligent contract.
In order to determine the second blockchain node, in the embodiment of the present invention, the first blockchain node prestores a contract condition of each first intelligent contract for performing region sharing, where the contract condition may be that data includes a preset keyword, may also be that the data is of a preset type, and may also be that the data includes a preset pattern. Each first intelligent contract is used for realizing regional sharing of data, and regional sharing means that data is not shared to all blockchain nodes in the blockchain system any more, but is shared to part of blockchain nodes in the blockchain system.
And determining the target first intelligent contract when the target data meets the contract conditions according to the target data and the contract conditions of each first intelligent contract. For example, a target first intelligent contract when the target data is a purchase contract and the target data satisfies the contract condition is determined to be data containing keywords "dollars", "euros", and "rmb".
Each first intelligent contract corresponds to a block chain node, and the block chain node corresponding to each first intelligent contract is a part of the block chain nodes except the first block chain node. And determining the block link point corresponding to the target first intelligent contract as the second block chain node according to the block link point corresponding to each first intelligent contract.
For determining a second blockchain node, the second blockchain node determining process comprises:
and if the target data is the encrypted target data, determining a pre-authorized block link point as the second block link node.
In order to determine the second block link node and ensure data security, in the embodiment of the present invention, a preset authorized block link node is stored in the first block link node, and if the received target data is encrypted target data, the preset authorized block link node is determined as the second block link node. The encrypted target data may be data encrypted by adopting a symmetric encryption method, or data encrypted by adopting an asymmetric encryption method.
To effect the clearing of funds, the method further comprises:
and according to the target data and contract conditions of a second intelligent contract for pre-stored fund clearance, if the target data meets the contract conditions in the second intelligent contract, performing fund clearance according to a fund clearance path correspondingly stored by the second intelligent contract and based on the fund clearance path.
In order to implement the fund clearance, in the embodiment of the invention, the first block chain node is stored with a second intelligent contract in advance, the second intelligent contract is a computer protocol for implementing the fund clearance, and according to the target data and the contract conditions of the second intelligent contract, if the target data meets the contract conditions of the second intelligent contract, the fund clearance is determined to be needed.
And the second intelligent contract correspondingly saves the fund clearing path and carries out fund clearing based on the fund clearing path. The fund clearing path comprises an account number from which the fund is transferred out, a clearing amount and an account number to which the fund is transferred, and electronic data related to the amount of the fund contained in the account number is updated according to the account number from which the fund is transferred out, the clearing amount and the account number to which the fund is transferred.
Example 7:
fig. 5 is a schematic structural diagram of a data sharing device according to an embodiment of the present invention, and on the basis of the foregoing embodiment, the embodiment of the present invention provides a data sharing device, where the device includes:
an obtaining module 501, configured to receive target data to be shared;
a sharing module 502, configured to package the target data into block data and share the block data with the determined second block chain node;
an uplink module 503, configured to link the block data to the last block data of the local record for data uplink.
Further, the apparatus further comprises:
and the determining module is used for taking the block chain link point corresponding to the data type of the target data as the second block chain node according to the data type of the target data and the corresponding relation between the pre-stored data type and the block chain link point.
Further, the apparatus further comprises:
the determining module is used for determining a target first intelligent contract in each first intelligent contract, wherein the target data of each first intelligent contract meets contract conditions, according to the target data and the contract conditions of each first intelligent contract which is saved in advance and is subjected to regional sharing; and determining the block link point corresponding to the target first intelligent contract as the second block link node according to the block link node corresponding to each first intelligent contract.
Further, the apparatus further comprises:
and the determining module is used for determining a pre-authorized block link point as the second block link node if the target data is the encrypted target data.
Further, the apparatus further comprises:
and the processing module is used for carrying out fund clearing according to the target data and contract conditions of a second intelligent contract for pre-saved fund clearing, and if the target data meets the contract conditions in the second intelligent contract, carrying out fund clearing based on the fund clearing path according to the fund clearing path correspondingly saved in the second intelligent contract.
Example 8:
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and on the basis of the foregoing embodiments, an electronic device according to an embodiment of the present invention is further provided, where the electronic device includes a processor 601, a communication interface 602, a memory 603, and a communication bus 604, where the processor 601, the communication interface 602, and the memory 603 complete communication therebetween through the communication bus 604;
the memory 603 has stored therein a computer program which, when executed by the processor 601, causes the processor 601 to perform the steps of:
acquiring target data to be shared;
packaging the target data into block data to be shared to a determined second block chain node;
and linking the block data after the last block data of the local record for data uplink.
Further, the processor 601 determines the second block link point by:
and taking the block chain link point corresponding to the data type of the target data as the second block chain node according to the data type of the target data and the corresponding relation between the pre-stored data type and the block chain link point.
Further, the processor 601 determines the second block link point by:
determining a target first intelligent contract in each first intelligent contract, wherein the target data of each first intelligent contract meets contract conditions, according to the target data and the contract conditions of each first intelligent contract which is saved in advance and is subjected to regional sharing; and determining the block link point corresponding to the target first intelligent contract as the second block link node according to the block link node corresponding to each first intelligent contract.
Further, the processor 601 determines the second block link point by:
and if the target data is the encrypted target data, determining a pre-authorized block link point as the second block link node.
Further, the processor 601 is further configured to perform fund clearing according to the target data and contract conditions of a second intelligent contract for fund clearing saved in advance, and if the target data meets the contract conditions in the second intelligent contract, perform fund clearing based on a fund clearing path corresponding to the second intelligent contract according to the saved fund clearing path.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface 602 is used for communication between the above-described electronic apparatus and other apparatuses.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a central processing unit, a Network Processor (NP), and the like; but may also be a Digital instruction processor (DSP), an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like.
Example 10:
on the basis of the foregoing embodiments, an embodiment of the present invention further provides a computer-readable storage medium, which stores a computer program, where the computer program is executed by a processor to perform the following steps:
acquiring target data to be shared;
packaging the target data into block data to be shared to a determined second block chain node;
and linking the block data after the last block data of the local record for data uplink. Further, the determining of the second block link point includes:
and taking the block chain link point corresponding to the data type of the target data as the second block chain node according to the data type of the target data and the corresponding relation between the pre-stored data type and the block chain link point.
Further, the determining of the second block link point includes:
determining a target first intelligent contract in each first intelligent contract, wherein the target data of each first intelligent contract meets contract conditions, according to the target data and the contract conditions of each first intelligent contract which is saved in advance and is subjected to regional sharing; and determining the block link point corresponding to the target first intelligent contract as the second block link node according to the block link node corresponding to each first intelligent contract.
Further, the determining of the second block link point includes:
and if the target data is the encrypted target data, determining a pre-authorized block link point as the second block link node.
Further, the method further comprises:
and according to the target data and contract conditions of a second intelligent contract for pre-stored fund clearance, if the target data meets the contract conditions in the second intelligent contract, performing fund clearance according to a fund clearance path correspondingly stored by the second intelligent contract and based on the fund clearance path.
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 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 processor, 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.
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 intended to include such modifications and variations as well.

Claims (13)

1. A block chain based trade and transportation integrated service system, the system comprising: a first blockchain node and a second blockchain node;
the first block link node is used for acquiring target data to be shared; packaging the target data into block data to be shared to a determined second block chain node, and connecting the block data to the last block data of the local record for data uplink;
and the second block link node is configured to acquire the shared block data and link the block data to a data uplink after the last block data recorded locally.
2. The system according to claim 1, wherein the first blockchain node is specifically configured to use a blockchain node corresponding to the data type of the target data as the second blockchain node according to the data type of the target data and a correspondence between a pre-stored data type and a blockchain node.
3. The system according to claim 1, wherein the first blockchain node is specifically configured to determine, according to the target data and a contract condition of each first intelligent contract that is pre-saved for performing the region sharing, a target first intelligent contract in each first intelligent contract for which the target data meets the contract condition; and determining the block link point corresponding to the target first intelligent contract as the second block link node according to the block link node corresponding to each first intelligent contract.
4. The system according to claim 1, wherein the first blockchain node is further configured to determine a pre-authorized blockchain node as the second blockchain node if the target data is encrypted target data;
and the second block chain node is further configured to receive a query request for block data corresponding to the encrypted target data, and decrypt and display the encrypted target data according to a key carried in the query request.
5. The system according to claim 1, wherein the first blockchain node is further configured to perform fund clearing based on the fund clearing path according to the target data and a contract condition of a second intelligent contract for fund clearing saved in advance, if the target data meets the contract condition in the second intelligent contract, according to the fund clearing path saved corresponding to the second intelligent contract.
6. A data sharing method applied to a first blockchain node, the method comprising:
acquiring target data to be shared;
packaging the target data into block data to be shared to a determined second block chain node;
and linking the block data after the last block data of the local record for data uplink.
7. The method of claim 6, wherein the determining of the second block link point comprises:
and taking the block chain link point corresponding to the data type of the target data as the second block chain node according to the data type of the target data and the corresponding relation between the pre-stored data type and the block chain link point.
8. The method of claim 6, wherein the determining of the second block link point comprises:
determining a target first intelligent contract in each first intelligent contract, wherein the target data of each first intelligent contract meets contract conditions, according to the target data and the contract conditions of each first intelligent contract which is saved in advance and is subjected to regional sharing; and determining the block link point corresponding to the target first intelligent contract as the second block link node according to the block link node corresponding to each first intelligent contract.
9. The method of claim 6, wherein the determining of the second block link point comprises:
and if the target data is the encrypted target data, determining a pre-authorized block link point as the second block link node.
10. The method of claim 6, further comprising:
and according to the target data and contract conditions of a second intelligent contract for pre-stored fund clearance, if the target data meets the contract conditions in the second intelligent contract, performing fund clearance according to a fund clearance path correspondingly stored by the second intelligent contract and based on the fund clearance path.
11. A data sharing apparatus, the apparatus comprising:
the acquisition module is used for acquiring target data to be shared;
the sharing module is used for packaging the target data into block data to be shared to the determined second block chain node;
and the uplink module is used for connecting the block data to carry out data uplink after the last block data of the local record.
12. An electronic device, characterized in that the electronic device comprises a processor and a memory for storing a computer program, the processor being adapted to carry out the steps of the method according to any of claims 6-10 when executing the computer program stored in the memory.
13. A computer-readable storage medium, characterized in that it stores a computer program which, when being executed by a processor, carries out the steps of the method according to any one of claims 6-10.
CN202111670367.0A 2021-12-31 2021-12-31 Trade and transportation integrated service system based on block chain, and data sharing method and device Pending CN114416870A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111670367.0A CN114416870A (en) 2021-12-31 2021-12-31 Trade and transportation integrated service system based on block chain, and data sharing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111670367.0A CN114416870A (en) 2021-12-31 2021-12-31 Trade and transportation integrated service system based on block chain, and data sharing method and device

Publications (1)

Publication Number Publication Date
CN114416870A true CN114416870A (en) 2022-04-29

Family

ID=81271023

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111670367.0A Pending CN114416870A (en) 2021-12-31 2021-12-31 Trade and transportation integrated service system based on block chain, and data sharing method and device

Country Status (1)

Country Link
CN (1) CN114416870A (en)

Similar Documents

Publication Publication Date Title
CN108053321B (en) Method and device for realizing supply chain financing
US20210390549A1 (en) Systems and methods for building blockchains for verifying assets for smart contracts
KR20200013206A (en) Freight booking system and method based on blockchains
CA3108389C (en) Intelligent electronic commerce system, and method and device for implementing same
US20210342844A1 (en) Methods, apparatuses, and devices for verifying authenticity of cross-border transactions
CN112258100B (en) Method for financing replacement purchase logistics based on blockchain and storage medium
CN111260459B (en) Method for packaging loan based on blockchain and computer readable storage medium
CN110738575A (en) Guarantee financing method and device based on block chain architecture
CN106663272A (en) Electronic transaction certificate management system
CN112258101A (en) Logistics financing processing method and storage medium based on block chain payment
CN113674080A (en) Block chain-based dynamic movable property pledge financing method, equipment and storage medium
CN114493430A (en) Logistics distribution system and method based on big data
CN117408592A (en) Block chain-based multi-mode intermodal one-system logistics tracing method and system
KR102054251B1 (en) Distribution information management apparatus for import and export
KR102035209B1 (en) Distribution information management apparatus of shiplping company/ delivery company for import and export
CN112258102A (en) Block chain-based logistics financing processing method and medium for pad-collection payment
CN111325496A (en) Logistics management method and device based on block chain
CN114416870A (en) Trade and transportation integrated service system based on block chain, and data sharing method and device
TWM565353U (en) Credit management system based on distributed ledger
CN113850596A (en) Block chain-based spot material escort financing method, device, equipment and storage medium
CN113850597A (en) Block chain-based warehouse sheet pledge logistics financing method, device, equipment and medium
CN113850595A (en) Export back-to-back insurance financing method and device based on block chain and electronic equipment
CN113837857A (en) Option trading method and system for order to be settled based on block chain
CN113674098A (en) Non-standard warehouse receipt pledge financing method, device and equipment based on block chain
CN112862468A (en) Export tax refunding and financing method, equipment and medium based on block chain

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination