CN112381651A - Block chain cross-chain transaction method and device based on Internet of things - Google Patents

Block chain cross-chain transaction method and device based on Internet of things Download PDF

Info

Publication number
CN112381651A
CN112381651A CN202011306637.5A CN202011306637A CN112381651A CN 112381651 A CN112381651 A CN 112381651A CN 202011306637 A CN202011306637 A CN 202011306637A CN 112381651 A CN112381651 A CN 112381651A
Authority
CN
China
Prior art keywords
data
transaction
transaction request
block chain
initiator
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
CN202011306637.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.)
Nanjing University of Posts and Telecommunications
WeBank Co Ltd
Original Assignee
Nanjing University of Posts and Telecommunications
WeBank Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing University of Posts and Telecommunications, WeBank Co Ltd filed Critical Nanjing University of Posts and Telecommunications
Priority to CN202011306637.5A priority Critical patent/CN112381651A/en
Publication of CN112381651A publication Critical patent/CN112381651A/en
Priority to PCT/CN2021/128307 priority patent/WO2022105600A1/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
    • 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
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y10/00Economic sectors
    • G16Y10/45Commerce
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y30/00IoT infrastructure
    • G16Y30/10Security thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention provides a block chain cross-chain transaction method and device based on the Internet of things. Therefore, data interaction between the transaction initiator and the transaction receiver can be realized through the responsibility block chain, and the complete process of data interaction between the transaction initiator and the transaction receiver can be recorded, so that when the data privacy leakage problem occurs, the responsibility attribution of the data leakage problem can be timely and accurately determined.

Description

Block chain cross-chain transaction method and device based on Internet of things
Technical Field
The embodiment of the invention relates to the field of financial technology (Fintech), in particular to a block chain cross-chain transaction method and device based on the Internet of things.
Background
With the development of computer technology, more and more technologies are applied in the financial field, and the traditional financial industry is gradually changing to financial technology, but due to the requirements of the financial industry on safety and real-time performance, higher requirements are also put forward on the technologies.
At present, based on the environment of the internet of things, the data purchaser and the operator of the internet of things perform data transaction on the same data transaction platform (block chain platform). That is, under the same data transaction platform, the data purchaser initiates a data transaction request to the internet of things operator providing the data on the data transaction platform according to the data requirement, and after receiving the data transaction request, the internet of things operator agrees with the data purchaser to complete the data transaction. However, in this processing method, only the distribution of the multiple internet of things operators on the same data transaction platform is considered, and the distribution of the multiple internet of things operators on different data transaction platforms is not considered, so that if a cross-link data transaction request occurs, the cross-link data transaction cannot be completed. In addition, since the process of data interaction between the data purchaser and the internet of things operator is not recorded in this processing method, if the data privacy is revealed, the responsibility cannot be clarified.
In summary, there is a need for a blockchain cross-chain transaction method based on the internet of things, which is used for realizing data interaction between a transaction initiator and a transaction receiver and is helpful for determining responsibility when data leakage occurs.
Disclosure of Invention
The embodiment of the invention provides a block chain cross-chain transaction method and device based on the Internet of things, which are used for realizing data interaction between a transaction initiator and a transaction receiver and are beneficial to determining responsibility when data leakage occurs.
In a first aspect, an embodiment of the present invention provides an internet-of-things-based blockchain cross-chain transaction method, including:
the responsibility block chain receives a data transaction request of a transaction initiator; the data transaction request is used for acquiring data from a transaction receiver; the transaction initiator is a user registered to the responsibility block chain; the transaction receiver is a user registered to the Internet of things block chain;
the accountability block chain calls an intelligent contract to record the initiating information of the data transaction request;
the accountability blockchain triggers the transaction initiator and the transaction receiver to execute a cross-chain operation aiming at the data transaction request;
and the responsibility block chain calls the intelligent contract to record the completion information of the data transaction request after the cross-chain operation is finished.
In the technical scheme, the initiation information of the data transaction request is recorded by calling the intelligent contract based on the liability block chain, cross-chain operation aiming at the data transaction request is triggered to be executed between the transaction initiator and the transaction receiver, and the completion information of the data transaction request is recorded by calling the intelligent contract after the cross-chain operation is determined to be finished. Therefore, data interaction between the transaction initiator and the transaction receiver can be realized through the responsibility block chain, and the complete process of data interaction between the transaction initiator and the transaction receiver can be recorded, so that when the data privacy leakage problem occurs, the responsibility attribution of the data leakage problem can be timely and accurately determined.
Optionally, before the invoking of the intelligent contract by the liability blockchain records the initiation information of the data transaction request, the method further includes:
and the responsibility block chain calls the intelligent contract to determine that the data transaction request conforms to a preset format rule.
According to the technical scheme, whether the data transaction request conforms to the preset format rule or not is judged, so that the data transaction request can be conveniently and accurately processed subsequently, and the condition that the data transaction request cannot be processed can be avoided.
Optionally, the accountability blockchain triggers the transaction initiator and the transaction receiver to perform a cross-chain operation for the data transaction request, including:
the liability block chain sends the data transaction request to the transaction receiver through the intermediary; the middle person is a user in the responsibility block chain and is a user in the internet of things block chain;
the accountability blockchain triggers the transaction initiator and the transaction receiver to execute the data transaction request based on the verification of the data interface by the intermediary; the data interface is used for the transaction receiver to acquire data corresponding to the data transaction request for the user provided by the transaction initiator.
In the technical scheme, the data transaction request is sent to the transaction receiver through the middleman, and the data transaction request is triggered to be executed between the transaction initiator and the transaction receiver based on the verification of the data interface by the middleman, so that the data interaction between the transaction initiator and the transaction receiver can be realized, and the safety and the credibility of the data transaction can be ensured.
Optionally, the accountability blockchain invokes an intelligent contract to record the initiation information of the data transaction request, including:
the accountability block chain calls an intelligent contract to record the data transaction request, the corresponding first time when the data transaction request is received and a first identifier used for identifying that the data transaction request is in an unprocessed state;
calling the intelligent contract to record the completion information of the data transaction request, wherein the information comprises:
and the accountability block chain calls an intelligent contract to record the data transaction request, a corresponding second time when the data transaction request is completed and a second identifier for identifying that the data transaction request is in a completed state.
According to the technical scheme, the intelligent contract is called to record the data transaction request, the first time corresponding to the data transaction request when the data transaction request is received and the second time corresponding to the data transaction request when the data transaction request is completed, so that the complete record of the data transaction between the transaction initiator and the transaction receiver can be realized, and the responsibility attribution of the data leakage problem can be timely and accurately determined when the data privacy leakage problem occurs subsequently. In addition, the identification of the unprocessed state and the identification of the processed state of the data transaction request can enable a user to know the processed state of the data transaction request in time.
Optionally, the method further comprises:
the block chain of authority responsibility receives an access record sent by the block chain of the Internet of things; the access record is generated by the transaction initiator according to each access information of each transaction receiver to the transaction initiator.
According to the technical scheme, the access records sent by the Internet of things block chain are received, so that the responsibility attribution of the data leakage problem can be timely and accurately determined based on the access records when the data privacy leakage problem occurs in the follow-up process. In addition, the Internet of things block chain sends the access record to the authority block chain, so that the access record can be ensured not to be tampered, and the security of the access record can be ensured.
In a second aspect, an embodiment of the present invention provides an internet of things-based blockchain cross-chain transaction method, including:
the transaction receiver receives a data transaction request of the transaction initiator based on the triggering of the liability block chain; the data transaction request is used for acquiring data from a transaction receiver; the transaction initiator is a user registered to the responsibility block chain; the transaction receiver is a user registered to the Internet of things block chain; the accountability block chain is used for calling an intelligent contract to record the initiation information of the data transaction request;
the transaction receiver provides data corresponding to the data transaction request for the transaction initiator based on a preset data access rule, so that the data transaction request is completed; the accountability block chain is used for calling the intelligent contract to record the completion information of the data transaction request.
In the technical scheme, the data transaction request of the transaction initiator is received based on the triggering of the responsibility block chain, and data corresponding to the data transaction request is provided for the transaction initiator based on a preset data access rule, so that the data transaction request is completed. Therefore, data interaction between the transaction initiator and the transaction receiver can be realized through the responsibility blockchain, and the complete process of data interaction between the transaction initiator and the transaction receiver can be recorded based on the responsibility blockchain, so that when the problem of data privacy disclosure occurs, the responsibility attribution of the data disclosure problem can be timely and accurately determined. In addition, the data access authority of the transaction initiator is judged based on the preset data access rule, so that the privacy security of the data when the transaction initiator performs data access can be ensured.
Optionally, the receiving party receives a data transaction request of the transaction initiator based on the triggering of the liability block chain, where the receiving party includes:
the transaction receiving party receives the data transaction request sent by the accountability block chain through a middle person;
before providing the data corresponding to the data transaction request for the transaction initiator, the method further includes:
the transaction receiving side sends a data interface for acquiring data corresponding to the data transaction request to the middleman; the intermediary is used for triggering the transaction initiator and the transaction receiver to execute the data transaction request after the data interface is verified.
In the technical scheme, the data transaction request sent by the responsibility block chain is received by the middleman, and the data interface used for acquiring the data corresponding to the data transaction request is sent to the middleman, so that the middleman can verify the data interface, and the data transaction request is executed between the transaction initiator and the transaction receiver after the data transaction request is verified, thereby being beneficial to realizing the data interaction between the transaction initiator and the transaction receiver and ensuring the safety and credibility of data transaction.
Optionally, the providing, by the transaction receiver, data corresponding to the data transaction request for the transaction initiator based on a preset data access rule includes:
the transaction receiver determines that the transaction initiator has access right, and the data corresponding to the data transaction request is high-level privacy data, and then the transaction receiver allows the transaction initiator to access the data after determining that the transaction initiator meets preset conditions; the preset condition is that the access number in a preset time period is less than or equal to a preset threshold value.
In the technical scheme, the access of the data is limited by determining whether the transaction initiator has the access right and judging whether the data corresponding to the data transaction request is the advanced privacy data after determining that the transaction initiator has the access right, so that the privacy security of the data when the transaction initiator accesses the data can be ensured.
In a third aspect, an embodiment of the present invention provides an internet of things-based blockchain cross-chain transaction apparatus, including:
the first receiving unit is used for receiving a data transaction request of a transaction initiator; the data transaction request is used for acquiring data from a transaction receiver; the transaction initiator is a user registered to the responsibility block chain; the transaction receiver is a user registered to the Internet of things block chain;
the first processing unit is used for calling an intelligent contract to record the initiation information of the data transaction request; triggering the transaction initiator and the transaction receiver to execute a cross-chain operation aiming at the data transaction request; and after the cross-link operation is finished, calling the intelligent contract to record the completion information of the data transaction request.
Optionally, the first processing unit is further configured to:
and before the intelligent contract is called to record the initiation information of the data transaction request, the intelligent contract is called to determine that the data transaction request conforms to a preset format rule.
Optionally, the first processing unit is specifically configured to:
sending the data transaction request to the transaction receiver through the intermediary; the middle person is a user in the responsibility block chain and is a user in the internet of things block chain;
triggering the transaction initiator and the transaction receiver to execute the data transaction request based on the verification of the data interface by the intermediary; the data interface is used for the transaction receiver to acquire data corresponding to the data transaction request for the user provided by the transaction initiator.
Optionally, the first processing unit is specifically configured to:
calling an intelligent contract to record the data transaction request, the corresponding first time when the data transaction request is received and a first identifier for identifying that the data transaction request is in an unprocessed state;
the first processing unit is specifically configured to:
and calling an intelligent contract to record the data transaction request, the corresponding second time when the data transaction request is completed and a second identifier for identifying that the data transaction request is in a completed state.
Optionally, the first processing unit is further configured to:
receiving an access record sent by the Internet of things block chain; the access record is generated by the transaction initiator according to each access information of each transaction receiver to the transaction initiator.
In a fourth aspect, an embodiment of the present invention provides an internet of things-based blockchain cross-chain transaction apparatus, including:
the second receiving unit is used for receiving a data transaction request of a transaction initiator based on the triggering of the responsibility block chain; the data transaction request is used for acquiring data from a transaction receiver; the transaction initiator is a user registered to the responsibility block chain; the transaction receiver is a user registered to the Internet of things block chain; the accountability block chain is used for calling an intelligent contract to record the initiation information of the data transaction request;
the second processing unit is used for providing data corresponding to the data transaction request for the transaction initiator based on a preset data access rule so as to complete the data transaction request; the accountability block chain is used for calling the intelligent contract to record the completion information of the data transaction request.
Optionally, the second processing unit is specifically configured to:
receiving the data transaction request sent by the accountability blockchain through a middleman;
the second processing unit is specifically configured to:
before providing the data corresponding to the data transaction request for the transaction initiator, sending a data interface for acquiring the data corresponding to the data transaction request to the middleman; the intermediary is used for triggering the transaction initiator and the transaction receiver to execute the data transaction request after the data interface is verified.
Optionally, the second processing unit is specifically configured to:
determining that the transaction initiator has an access right and the data corresponding to the data transaction request is high-level privacy data, and allowing the transaction initiator to access the data after the transaction receiver determines that the transaction initiator meets a preset condition; the preset condition is that the access number in a preset time period is less than or equal to a preset threshold value.
In a fifth aspect, an embodiment of the present invention provides a computing device, including:
a memory for storing a computer program;
and the processor is used for calling the computer program stored in the memory and executing the block chain cross-chain transaction method based on the Internet of things according to the obtained program.
In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium storing a computer-executable program for causing a computer to execute a method for performing an internet-of-things-based blockchain cross-chain transaction.
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 creative efforts.
Fig. 1 is a schematic diagram of a system architecture of a cross-chain transaction according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a block chain cross-chain transaction method based on the internet of things according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a blockchain inter-chain transaction device based on the internet of things according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another block chain inter-chain transaction apparatus based on the internet of things 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 the following, some terms related to the embodiments of the present invention are first explained to facilitate understanding by those skilled in the art.
(1) FISCO BCOS: the FISCO BCOS is a financial branch of a BCOS open source platform, is based on the BCOS platform, is subjected to module upgrading and function remodeling, and is deeply customized for the financial industry.
(2) SDK (Software Development Kit ): a software development kit is a collection of development tools used by software engineers to create application software for a particular software package, software framework, hardware platform, operating system, etc., and may simply provide some files of the application program interface API for a certain programming language, but may also include complex hardware that can communicate with a certain embedded system.
(3) Pv (passer vrijgeven): PV operation is an efficient method for implementing mutual exclusion and synchronization of processes. PV operations are related to the processing of semaphores, P meaning pass and V meaning release.
(4) RSMC (Recoverable Sequence Maturity Contract, revocable sequential Maturity Contract): it is first assumed that there is one "XX payment lane" (fund pool) between the two parties to the transaction. Both parties prestore a part of funds in the 'XX payment channel', and then the funds distribution scheme after transaction is confirmed together for each transaction, and meanwhile, the funds are signed to be used as a waste version. When the transaction needs to be presented, the final transaction result is written into the blockchain network and finally confirmed.
(5) Intelligent contract: is a computer protocol intended to propagate, validate or execute contracts in an informational manner. Smart contracts allow trusted transactions to be conducted without third parties, which transactions are traceable and irreversible.
(6) ETH (Ethereum, etherhouse): is an open-source, intelligent contract-enabled, public blockchain platform that provides decentralized ethernet Virtual machines (ethernet Virtual machines) to handle point-to-point contracts through its private cryptocurrency ethernet currency.
(7) Fabric: the super ledger framework contributed by IBM. The method is realized by combining a block chain technology by utilizing the existing mature technology; it is also a modular architecture that allows pluggable implementation of various functions; has powerful container technology to carry intelligent contracts written in various mainstream languages.
(8) Responsibility block chain: when the related data demanders need to purchase from related internet of things operators or the internet of things related data collected by the operator sensors need to be shared among the internet of things operators of different organizations, the block chain is used for recording data delivery records between the internet of things operators and the related data demanders so as to determine the authority problem in the data delivery process, and the block chain is called as a responsibility block chain.
As described above, some terms related to the embodiments of the present invention are described, and the technical features related to the embodiments of the present invention are described below.
To facilitate understanding of the embodiment of the present invention, a system architecture suitable for cross-chain transaction in the embodiment of the present invention is first described by taking the system architecture shown in fig. 1 as an example. The system architecture of the cross-chain transaction can be applied to the cross-chain transaction of each blockchain platform of the internet of things (the internet of things devices are distributed on different blockchain platforms) in the environment of the internet of things, and the invention is not limited in the actual application scene. As shown in fig. 1, the system architecture may include a chain of accountability blocks 100, at least one transaction recipient (e.g., transaction recipient 111, transaction recipient 112, transaction recipient 113, etc.), and a transaction initiator 120.
The responsibility block chain 100 may include a user registration module and a log data interaction module.
(1) And the user registers and logs in the module.
A user, i.e., a transaction initiator 120 (such as a data requester), needs to register and log on the responsibility block chain 100, so that a request sent by the user can be received and processed by the responsibility block chain 100; the request can be sent without registering the login, so that the performance of the liability blockchain 100 is greatly stricken when a malicious node sends the request to the liability blockchain 100 infinitely. The process of registration and login is responsible for an intelligent contract, and a pair of public and private keys and an account address are generated for the user according to the unique identity information of the user. A data transaction request may be sent to the accountability blockchain 100 only when the user has a corresponding account address.
(2) And recording a data interaction module.
The liability block chain 100 is used to record details of data interaction between the transaction initiator 120 and the transaction receiver (such as an internet of things operator), so as to clarify liability issues generated when data privacy disclosure occurs during data interaction. The chain of responsibility blocks 100 records the receipt of the transaction initiator 120 sent the request and the corresponding time on the chain using an intelligent contract, and sets a flag (flag) in the record to false, indicating that the request was received by the chain of responsibility blocks 100 and that the request has not been successfully processed. In the data interaction process, the transaction receiving party locally records the specific details of the data communication process, and uploads the hashed file to the responsible region block chain 100 for storage, so that the file is guaranteed not to be tampered, after the request is successfully processed, the responsible region block chain 100 records the request and the corresponding time again, and sets a flag bit (flag) in the record to true, which indicates that the processing of the request by the responsible region block chain 100 is finished, and the data transaction is completed. When data privacy disclosure needs to be made clear of the responsibility problem, whose responsibility can be made clear according to the records on the responsibility block chain 100 and the local files under the chain.
The transaction receiver, such as an internet of things operator, provides the transaction initiator 120 with relevant internet of things data; or the internet of things operators of different block chain platforms share the internet of things related data collected by the sensors respectively. Wherein the transaction recipient may include an entitlement ranking module. The permission classification module can comprise two parts of whether a user has access permission to the database interface and exclusive access according to different privacy levels of data.
(1) Whether the user has access to the database interface.
The transaction receiver locally maintains and manages a user authority management table, and account information of the user and access authority of the user to a certain database are recorded in the table. According to the user authority management table of the transaction receiver, when a user needs to access the database to obtain data, the transaction receiver can firstly judge whether the user has the access authority to the database, if so, the user is allowed to access, and if not, the user can access the database only after being granted the corresponding access authority.
(2) And mutually exclusive access is carried out according to different privacy levels of the data.
And if the user has the corresponding database access authority, judging the privacy level of the accessed data. If the data is high-level privacy data, only a few users are allowed to simultaneously access the database to acquire the data, and the subsequent operation is processed by using the synchronous code block. When the small number of users accessing the data do not finish accessing, the following users needing to access the data need to wait until the small number of users accessing the data finish accessing, the synchronous code block is finished, the following users can access in sequence, and the PV access latching mechanism of the data is finished. If the data is ordinary data, the database can be accessed by a large number of users in the same time period without any operation.
When the data-related data is needed for research, analysis, report production, or the like, the transaction initiator 120, i.e., a data-demanding party, such as an individual, a traffic authority, or a government agency, initiates a transaction request for purchasing the data to a transaction receiver corresponding to the data-related data.
It should be noted that the structure shown in fig. 1 is only an example, and the embodiment of the present invention is not limited thereto.
Based on the above description, fig. 2 exemplarily shows a flow of the internet-of-things-based blockchain cross-chain transaction method according to an embodiment of the present invention, where the flow may be performed by an internet-of-things-based blockchain cross-chain transaction apparatus.
As shown in fig. 2, the process specifically includes:
in step 201, the transaction initiator sends a data transaction request to the liability block chain.
Step 202, the accountability blockchain calls an intelligent contract to record the initiation information of the data transaction request.
And step 203, the accountability block chain sends the data transaction request to a transaction receiver through the intermediary.
And step 204, the transaction receiver receives the data transaction request of the transaction initiator and provides a data interface of the database for the middleman and the transaction initiator.
Step 205, the transaction initiator accesses the database of the transaction receiver based on the verification of the data interface by the broker.
And step 206, the transaction receiver provides data corresponding to the data transaction request for the transaction initiator based on a preset data access rule.
Step 207, the transaction initiator obtains the data corresponding to the data transaction request from the database through the data interface.
And step 208, after the chain crossing operation is finished, the authority block chain calls the intelligent contract to record the completion information of the data transaction request.
In the above step 201 and step 202, after the transaction initiator sends the data transaction request to the liability block chain, the liability block chain invokes the intelligent contract to determine whether the data transaction request conforms to the preset format rule, and if the data transaction request does not conform to the preset format rule, the liability block chain rejects the data transaction request; if the data transaction request conforms to the preset format rule, the responsibility block chain calls a related function on the intelligent contract to add the data transaction request into a data transaction request queue to wait for processing. And then, invoking the initiation information of the intelligent contract record data transaction request, namely invoking the intelligent contract record data transaction request, the corresponding first time when the data transaction request is received and a first identifier for identifying that the data transaction request is in an unprocessed state. It should be noted that, the chain of authority block may also invoke the intelligent contract to record the completion information of the data transaction request, that is, invoke the intelligent contract to record the data transaction request, the corresponding second time when the data transaction request is completed, and the second identifier for identifying that the data transaction request is in a completed state. Therefore, the data transaction can be completely recorded between the transaction initiator and the transaction receiver, and the responsibility attribution of the data leakage problem can be timely and accurately determined when the data privacy leakage problem occurs subsequently. In addition, the identification of the unprocessed state and the identification of the processed state of the data transaction request can enable a user to know the processed state of the data transaction request in time. Wherein the data transaction request is used for acquiring data from a transaction receiver; the transaction initiator is a user registered to the responsibility block chain; the transaction receiver is a user registered to the Internet of things block chain.
In the above step 203 and step 204, the liability blockchain triggers the transaction initiator and the transaction receiver to perform a cross-chain operation for the data transaction request, and sends the data transaction request to the transaction receiver. The data transaction request is sent to the transaction receiver by the responsibility block chain through the intermediary, the transaction receiver provides data interfaces of the databases for the intermediary and the transaction initiator after receiving the data transaction request of the transaction initiator, so that the intermediary can verify the data interfaces, and after the data interfaces are confirmed to be verified, the transaction initiator and the transaction receiver are triggered to execute the data transaction request, which can help to realize data interaction between the transaction initiator and the transaction receiver and can ensure the safety and credibility of data transaction. The data interface is data corresponding to a data transaction request acquired by a user and provided by a transaction receiver for a transaction initiator; the middleman is a user in the responsibility block chain and is a user in the internet of things block chain.
It should be noted that, in the process of performing a cross-link operation between the transaction initiator and the transaction receiver, the responsibility block chain receives an access record sent by the internet of things block chain, which can help to accurately determine the responsibility attribution of the data leakage problem in time based on the access record when the data privacy leakage problem occurs in the following. In addition, the Internet of things block chain sends the access record to the authority block chain, so that the access record can be ensured not to be tampered, and the security of the access record can be ensured. The access record is generated by the transaction initiator according to each access information of each transaction receiver to the transaction initiator.
In the above step 205 and step 206, the transaction receiving party receives the data transaction request sent by the liability block chain through the broker, and sends a data interface for acquiring data corresponding to the data transaction request to the broker, so that after the broker verifies the data interface, the transaction initiating party is triggered to access the database of the transaction receiving party based on the message that the broker verifies the data interface. And then, providing data corresponding to the data transaction request for the transaction initiator based on a preset data access rule, thereby completing the data transaction request. That is, it is determined whether the transaction initiator has an access right, and after it is determined that the transaction initiator has an access right, it is determined whether data in a database accessed by the transaction initiator based on the data transaction request is advanced privacy data. If the accessed data in the database is the advanced privacy data, the transaction receiver allows the transaction initiator to access the data after determining that the transaction initiator meets the preset conditions; if the accessed data in the database is not the advanced privacy data, the transaction initiator can directly access the database to acquire the data corresponding to the transaction request. Therefore, data interaction between the transaction initiator and the transaction receiver can be realized through the responsibility blockchain, and the complete process of data interaction between the transaction initiator and the transaction receiver can be recorded based on the responsibility blockchain, so that when the problem of data privacy disclosure occurs, the responsibility attribution of the data disclosure problem can be timely and accurately determined. In addition, the data access authority of the transaction initiator is judged based on the preset data access rule, so that the privacy security of the data when the transaction initiator performs data access can be ensured. The preset condition is that the number of the users accessing the advanced privacy data in the preset time period is less than or equal to a preset threshold value, namely the number of the users accessing the advanced privacy data in the preset time period is less than or equal to the preset threshold value; the preset threshold may be set according to a specific application scenario, or may be set according to experience of a technician, or may be set according to a security privacy degree of the advanced privacy data, and the like, which is not limited in the embodiment of the present invention.
In step 207 and step 208, after determining that the transaction initiator has the database access right, the transaction initiator accesses the database based on the data access condition (whether the data in the accessed database is the advanced privacy data), and acquires the data corresponding to the data transaction request from the database through the data interface. And after determining that the cross-link operation is finished (namely determining that the transaction initiator acquires the data completely), calling the intelligent contract to record the completion information of the data transaction request.
The cross-chain transaction in the embodiment of the invention relates to a data transaction module, a responsibility block chain module and an authority classification module. The implementation scenario of the cross-chain transaction may include a plurality of participation chains, a responsibility block chain and related SDKs. In an actual application scenario, there may also be multiple responsibility block chains, which is not limited in the embodiment of the present invention. The responsibility block chain is realized based on a FISCO BCOS bottom-layer platform and is used for recording a data delivery process between a data demand party and an Internet of things operator, and the participation chain can be various existing heterogeneous block chains, such as Fabric, ETH and the like, and is used for representing the distributed Internet of things operator. The SDK is used to enable interaction of intelligent contracts with blockchains. Each participation chain can comprise a plurality of internet of things operator nodes and address accounts of the middleman on the participation chain; the accountability blockchain may include a number of data-requiring party nodes and address accounts for intermediaries on the accountability blockchain, with the intermediaries having trustworthiness to parties to a cross-chain transaction. The participation chain can carry out real-time cross-chain transaction with the responsibility block chain through the intermediary, and the intermediary is responsible for executing each transaction to realize real-time clearing.
In view of this, the following describes the implementation process of cross-chain transaction in the embodiment of the present invention.
Step 1: the data demander firstly needs to register on the responsibility block chain, and after the registration is completed, a pair of public and private keys and an address are generated to represent account information.
Step 2: and if the data demand party needs to purchase data from the Internet of things operator, initiating a data transaction request to the Internet of things operator through the responsibility block chain. The SDK of a certain node on the responsibility block chain processes the transmitted data transaction request as follows:
a. the format of the data transaction request is checked to determine whether the data transaction request can be decomposed into 4 parameters, namely, the data demander address, the internet of things operator address, the payment cost amount (i.e., the data transaction amount) and the required data related information. If the format of the data transaction request is not standard, rejecting the data transaction request of the data demand party; if the format of the data transaction request conforms to the specification, a related function of the intelligent contract on the liability block chain is called, and the data transaction request is added into a data transaction request queue in the intelligent contract and waits for processing.
b. And calling a related function of the intelligent contract on the responsibility block chain, wherein the related function is responsible for recording the data transaction request and the current time. This record indicates that the system has specifically received a data transaction request from a data-requiring party, and the record will include a flag, initialized to false, indicating that the request has not been successfully processed.
Step 3: and the SDK calls a related function of the intelligent contract on the responsibility block chain, and pops up and decomposes the data transaction request at the head of the queue according to the data transaction requests stored in the data transaction request queue in a first-in first-out sequence and processes the data transaction request.
Step 4: and (3) data transaction request processing, namely initiating a transfer transaction to the Internet of things operator by the data demand party, and opening a data interface storing related data information to the data demand party by the Internet of things operator. Wherein, since the data demander is on the responsibility block chain and the internet of things operator may be on a different participating chain, the process involves cross-chain operations. The cross-chain transaction operation process between the data demander and the operator of the internet of things is described below.
a. The data transaction module mainly adopts a fast lightning network cross-link technology, and a cross-link transaction channel is constructed for a data demand party and an Internet of things operator and is used for processing a cross-link transaction request. That is, cross-chain transaction requests are processed by trusted intermediaries or intermediaries, and the like.
The data transaction module mainly achieves the function that the data demand party initiates transfer transaction to the Internet of things operator, and the Internet of things operator opens a data interface with related information to the data demand party. The embodiment of the invention uses a fast lightning network cross-link protocol, the lightning network is a chain-off protocol used in the bit currency and aims to improve the throughput of the bit currency. The fast lightning network cross-link protocol can be operated on a certain block link node, an intermediary organization or a block link, and an owner executing the cross-link protocol needs to have two corresponding address accounts on two links (two links needing interconnection and intercommunication), so that the locking and releasing operation of properties or data needing to be exchanged by users on the two links is facilitated. Of course, intelligent contracts are also needed to regulate the behavior of the man-in-the-middle, preventing the man-in-the-middle from overwhelming the user's property and data. It should be noted that, in addition to the fast lightning network cross-link protocol, the embodiment of the present invention may also use other cross-link protocols, such as a side-chain protocol (equivalent to a protocol of a man-in-the-middle), and the like, which is not limited in this respect.
An important protocol RSMC in the fast lightning network cross-link protocol is described below. The RSMC is a revocable contract with sequence expiration and works on the principle of:
1. the two parties of the transaction place the agreed funds into a fund pool after proportionally distributing the agreed funds, and after mutually signing the contract, the total fund broadcast is recorded into the main chain block.
2. On the premise of not exceeding the total amount of the fund pool, the two transaction parties carry out transaction under the main chain, and the transaction times are unlimited.
3. Every transaction must be signed with a completely new contract that simply circulates through the transaction channels of both parties and does not broadcast into the backbone block.
4. When the last two parties agreement no longer to make a new transaction, ready to retrieve the respective funds, a broadcast request will be initiated by one of the parties.
5. If one party finds that the trading result is incorrect, a true and false contract verification request can be made within the effective time according to the pre-agreement condition in the trading contracts of the two parties.
6. Once the broadcast false trade contract is confirmed, all the self-sustaining funds in the fund pool by the counterfeiter will be paid out to the other party as compensation.
b. In a cross-link transaction channel constructed based on a quick lightning network cross-link technology, a data demand party and an Internet of things operator cannot perform the next transaction before the data transaction is not completed. The operator of the internet of things firstly encrypts a relevant database interface to generate an agreed hash value and transmits the hash value to the data demander (the database interface is also verified by a man-in-the-middle to be the database interface of the data required by the data demander), and the data demander and the operator of the internet of things can reach an agreement: the protocol locks the transaction amount of the data demand party, before a time T comes (T is expressed by the height of a certain block chain in the future, for example, a new block is generated in 10 minutes, the transaction is not completed in the third ten minutes, that is, 3 new blocks are generated, the data transaction is ended, T represents 3 new blocks), if the hash value of the related database interface opened by the internet of things operator for the data demand party is equal to the agreed hash value, and after the data demand party is determined to acquire the required data, the internet of things operator can acquire the corresponding transaction amount. The Internet of things operator opens a related database interface for the data demand party to enable the data demand party to subsequently acquire required data. If the internet of things operator still fails to provide a correct hash value until the time T passes (i.e. the hash value of the internet of things operator open relevant database interface is not equal to the agreed hash value), the transaction amount will be automatically defrosted and returned to the data demanding party.
Step 5: the operator of the Internet of things locally maintains and manages a user authority management table, and the table records the account information of the user and the access authority of the user to a certain database. And the data demand party starts to access the database of the Internet of things operator after determining that the middleman passes the database interface in the verification process and the data demand party passes the database interface in the verification process. When the data demand party accesses the database of the Internet of things operator, the Internet of things operator judges whether the access user (namely the data demand party) has the access authority to access the database or not based on the user authority management table and acquires data corresponding to the data transaction request. The process that the data demand party acquires the data corresponding to the data transaction request according to the database interface specifically comprises the following steps:
a. and the authority classification module judges whether the data demander has the access authority to the database according to a local user authority management table of the operator of the Internet of things. If the access right to the database exists, the data demand party is allowed to access after the transfer transaction information is received (namely, the transfer transaction of the data demand party is received by the middleman, and the Internet of things operator is informed that the database interface can be opened); if the transfer transaction information is not received (namely the transfer transaction of the data demand party is not received by the middleman, the Internet of things operator is informed not to open a database interface), the data demand party is not allowed to access; if the database has no access right, the data demander needs to be granted the corresponding access right to access the database.
b. After determining that the data demander has the authority to access the database, the authority classification module also judges the privacy level of the accessed data in the database. If the accessed data is high-level privacy data, the database only allows a small number (for example, 100 bits) of users to access simultaneously, that is, when the 100 bits of users are determined not to finish accessing, the 101 th user accessing the database needs to wait until the 101 th user can access the database after the previous 100 bits of users finish accessing, so as to ensure the privacy security when the high-level privacy data is accessed; if the accessed data is ordinary private data, the database can be accessed by a large number of users (without exceeding the upper limit of the number of the accessed users of the database) in the same time period without any operation.
c. In the process that a data demand party accesses a database to obtain data, a local Internet of things operator records the access process and time of the data demand party by using a special file, and uploads the file to a liability block chain after taking a hash abstract. The file is used for recording the detailed process of data delivery and the corresponding time, and the internet of things operator uploads the hash abstract of the file to the liability block chain to ensure that the file cannot be tampered. It should be noted that after determining that the data demander obtains the required data, the middleman sends the transfer transaction (i.e., the transaction payment amount) to the internet-of-things operator.
Step 6: after determining that the data access of the data demander is completed, the SDK calls the relevant function of the intelligent contract on the liability block chain again, records the current time and the request, and the record also contains a flag, which is true at this time, and indicates that the request has been successfully processed. Wherein the record and the prior record are a set of record data indicating that the received request has been processed to completion and that the data transaction request was successfully completed.
The above embodiment shows that the initiation information of the data transaction request is recorded by calling the intelligent contract based on the liability blockchain, the cross-chain operation for the data transaction request is executed between the transaction initiator and the transaction receiver is triggered, and the completion information of the data transaction request is recorded by calling the intelligent contract after the cross-chain operation is determined to be completed. Therefore, data interaction between the transaction initiator and the transaction receiver can be realized through the responsibility block chain, and the complete process of data interaction between the transaction initiator and the transaction receiver can be recorded, so that when the data privacy leakage problem occurs, the responsibility attribution of the data leakage problem can be timely and accurately determined.
Based on the same technical concept, fig. 3 exemplarily shows an internet-of-things-based blockchain cross-chain transaction device according to an embodiment of the present invention, which can execute a process of an internet-of-things-based blockchain cross-chain transaction method.
As shown in fig. 3, the apparatus includes:
a first receiving unit 301, configured to receive a data transaction request of a transaction initiator; the data transaction request is used for acquiring data from a transaction receiver; the transaction initiator is a user registered to the responsibility block chain; the transaction receiver is a user registered to the Internet of things block chain;
the first processing unit 302 is used for calling an intelligent contract to record the initiation information of the data transaction request; triggering the transaction initiator and the transaction receiver to execute a cross-chain operation aiming at the data transaction request; and after the cross-link operation is finished, calling the intelligent contract to record the completion information of the data transaction request.
Optionally, the first processing unit 302 is further configured to:
and before the intelligent contract is called to record the initiation information of the data transaction request, the intelligent contract is called to determine that the data transaction request conforms to a preset format rule.
Optionally, the first processing unit 302 is specifically configured to:
sending the data transaction request to the transaction receiver through the intermediary; the middle person is a user in the responsibility block chain and is a user in the internet of things block chain;
triggering the transaction initiator and the transaction receiver to execute the data transaction request based on the verification of the data interface by the intermediary; the data interface is used for the transaction receiver to acquire data corresponding to the data transaction request for the user provided by the transaction initiator.
Optionally, the first processing unit 302 is specifically configured to:
calling an intelligent contract to record the data transaction request, the corresponding first time when the data transaction request is received and a first identifier for identifying that the data transaction request is in an unprocessed state;
the first processing unit 302 is specifically configured to:
and calling an intelligent contract to record the data transaction request, the corresponding second time when the data transaction request is completed and a second identifier for identifying that the data transaction request is in a completed state.
Optionally, the first processing unit 302 is further configured to:
receiving an access record sent by the Internet of things block chain; the access record is generated by the transaction initiator according to each access information of each transaction receiver to the transaction initiator.
Based on the same technical concept, fig. 4 exemplarily shows an internet-of-things-based blockchain cross-chain transaction device according to an embodiment of the present invention, which can execute a process of an internet-of-things-based blockchain cross-chain transaction method.
As shown in fig. 4, the apparatus includes:
a second receiving unit 401, configured to receive a data transaction request of a transaction initiator based on triggering of the liability block chain; the data transaction request is used for acquiring data from a transaction receiver; the transaction initiator is a user registered to the responsibility block chain; the transaction receiver is a user registered to the Internet of things block chain; the accountability block chain is used for calling an intelligent contract to record the initiation information of the data transaction request;
a second processing unit 402, configured to provide data corresponding to the data transaction request for the transaction initiator based on a preset data access rule, so as to complete the data transaction request; the accountability block chain is used for calling the intelligent contract to record the completion information of the data transaction request.
Optionally, the second processing unit 402 is specifically configured to:
receiving the data transaction request sent by the accountability blockchain through a middleman;
the second processing unit 402 is specifically configured to:
before providing the data corresponding to the data transaction request for the transaction initiator, sending a data interface for acquiring the data corresponding to the data transaction request to the middleman; the intermediary is used for triggering the transaction initiator and the transaction receiver to execute the data transaction request after the data interface is verified.
Optionally, the second processing unit 402 is specifically configured to:
determining that the transaction initiator has an access right and the data corresponding to the data transaction request is high-level privacy data, and allowing the transaction initiator to access the data after the transaction receiver determines that the transaction initiator meets a preset condition; the preset condition is that the access number in a preset time period is less than or equal to a preset threshold value.
Based on the same technical concept, an embodiment of the present invention provides a computing device, including:
a memory for storing a computer program;
and the processor is used for calling the computer program stored in the memory and executing the block chain cross-chain transaction method based on the Internet of things according to the obtained program.
Based on the same technical concept, embodiments of the present invention provide a computer-readable storage medium storing a computer-executable program for causing a computer to execute a method for block chain cross-chain transaction based on the internet of things.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention 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 invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to the invention. 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.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present application and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (12)

1. A block chain cross-chain transaction method based on the Internet of things is characterized by comprising the following steps:
the responsibility block chain receives a data transaction request of a transaction initiator; the data transaction request is used for acquiring data from a transaction receiver; the transaction initiator is a user registered to the responsibility block chain; the transaction receiver is a user registered to the Internet of things block chain;
the accountability block chain calls an intelligent contract to record the initiating information of the data transaction request;
the accountability blockchain triggers the transaction initiator and the transaction receiver to execute a cross-chain operation aiming at the data transaction request;
and the responsibility block chain calls the intelligent contract to record the completion information of the data transaction request after the cross-chain operation is finished.
2. The method of claim 1, wherein prior to the accountability blockchain invoking an intelligent contract to record the initiation information of the data transaction request, further comprising:
and the responsibility block chain calls the intelligent contract to determine that the data transaction request conforms to a preset format rule.
3. The method of claim 1, wherein the accountability blockchain triggers performance of a cross-chain operation between the transaction initiator and the transaction recipient for the data transaction request, comprising:
the liability block chain sends the data transaction request to the transaction receiver through the intermediary; the middle person is a user in the responsibility block chain and is a user in the internet of things block chain;
the accountability blockchain triggers the transaction initiator and the transaction receiver to execute the data transaction request based on the verification of the data interface by the intermediary; the data interface is used for the transaction receiver to acquire data corresponding to the data transaction request for the user provided by the transaction initiator.
4. The method of claim 1, wherein the accountability blockchain invokes an intelligent contract to record initiation information of the data transaction request, comprising:
the accountability block chain calls an intelligent contract to record the data transaction request, the corresponding first time when the data transaction request is received and a first identifier used for identifying that the data transaction request is in an unprocessed state;
calling the intelligent contract to record the completion information of the data transaction request, wherein the information comprises:
and the accountability block chain calls an intelligent contract to record the data transaction request, a corresponding second time when the data transaction request is completed and a second identifier for identifying that the data transaction request is in a completed state.
5. The method of any of claims 1 to 4, further comprising:
the block chain of authority responsibility receives an access record sent by the block chain of the Internet of things; the access record is generated by the transaction initiator according to each access information of each transaction receiver to the transaction initiator.
6. A block chain cross-chain transaction method based on the Internet of things is characterized by comprising the following steps:
the transaction receiver receives a data transaction request of the transaction initiator based on the triggering of the liability block chain; the data transaction request is used for acquiring data from a transaction receiver; the transaction initiator is a user registered to the responsibility block chain; the transaction receiver is a user registered to the Internet of things block chain; the accountability block chain is used for calling an intelligent contract to record the initiation information of the data transaction request;
the transaction receiver provides data corresponding to the data transaction request for the transaction initiator based on a preset data access rule, so that the data transaction request is completed; the accountability block chain is used for calling the intelligent contract to record the completion information of the data transaction request.
7. The method of claim 6, wherein the transaction recipient receiving a data transaction request of a transaction initiator based on a trigger of an accountability blockchain comprises:
the transaction receiving party receives the data transaction request sent by the accountability block chain through a middle person;
before providing the data corresponding to the data transaction request for the transaction initiator, the method further includes:
the transaction receiving side sends a data interface for acquiring data corresponding to the data transaction request to the middleman; the intermediary is used for triggering the transaction initiator and the transaction receiver to execute the data transaction request after the data interface is verified.
8. The method of claim 6, wherein the transaction receiver provides data corresponding to the data transaction request for the transaction initiator based on a preset data access rule, and the method comprises:
the transaction receiver determines that the transaction initiator has access right, and the data corresponding to the data transaction request is high-level privacy data, and then the transaction receiver allows the transaction initiator to access the data after determining that the transaction initiator meets preset conditions; the preset condition is that the access number in a preset time period is less than or equal to a preset threshold value.
9. The utility model provides a block chain cross-chain transaction device based on thing networking which characterized in that includes:
the first receiving unit is used for receiving a data transaction request of a transaction initiator; the data transaction request is used for acquiring data from a transaction receiver; the transaction initiator is a user registered to the responsibility block chain; the transaction receiver is a user registered to the Internet of things block chain;
the first processing unit is used for calling an intelligent contract to record the initiation information of the data transaction request; triggering the transaction initiator and the transaction receiver to execute a cross-chain operation aiming at the data transaction request; and after the cross-link operation is finished, calling the intelligent contract to record the completion information of the data transaction request.
10. The utility model provides a block chain cross-chain transaction device based on thing networking which characterized in that includes:
the second receiving unit is used for receiving a data transaction request of a transaction initiator based on the triggering of the responsibility block chain; the data transaction request is used for acquiring data from a transaction receiver; the transaction initiator is a user registered to the responsibility block chain; the transaction receiver is a user registered to the Internet of things block chain; the accountability block chain is used for calling an intelligent contract to record the initiation information of the data transaction request;
the second processing unit is used for providing data corresponding to the data transaction request for the transaction initiator based on a preset data access rule so as to complete the data transaction request; the accountability block chain is used for calling the intelligent contract to record the completion information of the data transaction request.
11. A computing device, comprising:
a memory for storing a computer program;
a processor for calling a computer program stored in said memory and executing the method of any one of claims 1 to 8 in accordance with the obtained program.
12. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer-executable program for causing a computer to execute the method of any one of claims 1 to 8.
CN202011306637.5A 2020-11-19 2020-11-19 Block chain cross-chain transaction method and device based on Internet of things Pending CN112381651A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011306637.5A CN112381651A (en) 2020-11-19 2020-11-19 Block chain cross-chain transaction method and device based on Internet of things
PCT/CN2021/128307 WO2022105600A1 (en) 2020-11-19 2021-11-03 Blockchain cross-chain transaction method and apparatus based on internet-of-things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011306637.5A CN112381651A (en) 2020-11-19 2020-11-19 Block chain cross-chain transaction method and device based on Internet of things

Publications (1)

Publication Number Publication Date
CN112381651A true CN112381651A (en) 2021-02-19

Family

ID=74585308

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011306637.5A Pending CN112381651A (en) 2020-11-19 2020-11-19 Block chain cross-chain transaction method and device based on Internet of things

Country Status (2)

Country Link
CN (1) CN112381651A (en)
WO (1) WO2022105600A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113656780A (en) * 2021-03-30 2021-11-16 支付宝(杭州)信息技术有限公司 Cross-link access control method and device
WO2022105600A1 (en) * 2020-11-19 2022-05-27 深圳前海微众银行股份有限公司 Blockchain cross-chain transaction method and apparatus based on internet-of-things
WO2022205966A1 (en) * 2021-03-30 2022-10-06 蚂蚁区块链科技(上海)有限公司 Cross-chain access control method and apparatus

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116523518B (en) * 2023-07-03 2023-09-15 中铱数字科技有限公司 Cross-channel data access method, system and storage medium based on blockchain

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190018887A1 (en) * 2017-04-12 2019-01-17 Vijay K. Madisetti Method and System for Tuning Blockchain Scalability, Decentralization, and Security for Fast and Low-Cost Payment and Transaction Processing
US20190311357A1 (en) * 2018-04-04 2019-10-10 Vijay Madisetti Method and System for Exchange of Value or Tokens Between Blockchain Networks
CN111445328A (en) * 2020-03-16 2020-07-24 西安交通大学 Cross-link gateway interaction system and method and supply chain data management method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112381651A (en) * 2020-11-19 2021-02-19 深圳前海微众银行股份有限公司 Block chain cross-chain transaction method and device based on Internet of things

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190018887A1 (en) * 2017-04-12 2019-01-17 Vijay K. Madisetti Method and System for Tuning Blockchain Scalability, Decentralization, and Security for Fast and Low-Cost Payment and Transaction Processing
US20190311357A1 (en) * 2018-04-04 2019-10-10 Vijay Madisetti Method and System for Exchange of Value or Tokens Between Blockchain Networks
CN111445328A (en) * 2020-03-16 2020-07-24 西安交通大学 Cross-link gateway interaction system and method and supply chain data management method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022105600A1 (en) * 2020-11-19 2022-05-27 深圳前海微众银行股份有限公司 Blockchain cross-chain transaction method and apparatus based on internet-of-things
CN113656780A (en) * 2021-03-30 2021-11-16 支付宝(杭州)信息技术有限公司 Cross-link access control method and device
WO2022205966A1 (en) * 2021-03-30 2022-10-06 蚂蚁区块链科技(上海)有限公司 Cross-chain access control method and apparatus
CN113656780B (en) * 2021-03-30 2023-12-19 支付宝(杭州)信息技术有限公司 Cross-chain access control method and device

Also Published As

Publication number Publication date
WO2022105600A1 (en) 2022-05-27

Similar Documents

Publication Publication Date Title
CN112381651A (en) Block chain cross-chain transaction method and device based on Internet of things
CN110428257B (en) Password cracking task processing method, equipment and storage medium
TWI798550B (en) Method and device for multi-party joint risk identification
CN106504094B (en) Transaction matching method and system of distributed general ledger system based on block chain technology
CN108881187A (en) A kind of across chain data transferring method and equipment suitable for permitting chain scene
CN110599147A (en) Ciphertext retrieval fair payment method and system based on block chain
CN112507363A (en) Data supervision method, device and equipment based on block chain and storage medium
CN109155731A (en) The management of password transaction
CN111797164A (en) Cross-chain transaction supervision method and system based on block chain
CN111612452A (en) Intellectual property management system and method based on block chain
CN111681105B (en) Account management method and device
CN110599175A (en) Block processing method and related equipment
CN111461881A (en) Data management method and device, computer equipment and storage medium
CN114567643A (en) Cross-block-chain data transfer method, device and related equipment
CN115277122A (en) Cross-border data flow and supervision system based on block chain
CN111817859A (en) Data sharing method, device, equipment and storage medium based on zero knowledge proof
CN112862487A (en) Digital certificate authentication method, equipment and storage medium
CN114219480A (en) Multi-channel fee-control quick payment method and system
CN108809929A (en) A kind of agrarian finance system based on block chain technology
CN116029825B (en) Block chain transaction method, device and system, electronic equipment and storage medium
CN115701078B (en) Cross-chain transaction processing method, device, electronic equipment and storage medium
CN113810185B (en) Anti-trapdoor leakage on-chain data restoration system and method
CN112926981B (en) Transaction information processing method, device and medium for block chain and electronic equipment
CN111355757B (en) Cross-chain communication method and device for block chain in supply chain field
CN116028982A (en) Processing method, device and system based on non-homogeneous general evidence

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