Blockchain trusted data transmission method, device and equipment

Through the blockchain trusted data transmission method, the data application party directly requests and receives trusted data from the data generator, generates and stores transaction credentials, solves the financial risk problem caused by false data on the third-party platform, realizes the trusted transmission and identification of data, and improves the security and efficiency of financial services.

CN115801268BActive Publication Date: 2025-09-16CHENGDU PRIME STARK TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211329862.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-27
Publication Date
2025-09-16
Estimated Expiration
2042-10-27

AI Technical Summary

Technical Problem

In the existing technology, business data obtained through third-party platforms contains false information, which increases the business risks of financial institutions and makes it impossible to effectively control financial risks.

Method used

Using the blockchain trusted data transmission method, the data application party sends data request information directly to the data generator through the blockchain network. The data generator retrieves the target data from the local trusted database and generates transaction credentials, which are stored in the blockchain to ensure the trusted transmission and authentication of the data.

Benefits of technology

It realizes the trusted transmission of data, ensures the authenticity and integrity of received data, reduces the risk of data tampering and loss, and improves the credibility and efficiency of financial services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115801268B_ABST
    Figure CN115801268B_ABST
Patent Text Reader

Abstract

The present invention belongs to the field of blockchain technology, solves the technical problem in the prior art that business data obtained by data application parties through third-party platforms contains false information, which leads to increased business risks, and provides a method, device and equipment for transmitting trusted data on a blockchain. The method includes: obtaining data request information from a data application party; traversing a local trusted database according to the data request information to obtain target data corresponding to the data request information; transmitting the target data to a data application party according to the data request information, and publishing the generated first transaction voucher corresponding to the transaction information of the data request information to the blockchain; the present invention publishes business data on the blockchain network through a data provider, and the data application party directly obtains the original data of the business data through the blockchain, eliminating the business data from being modified during transmission and ensuring the credibility of the business data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of blockchain technology, and in particular to a method, device, and apparatus for transmitting trusted blockchain data. Background Art

[0002] This year, with the development of Internet technology, large Internet institutions have further deepened their business cooperation with various industries by leveraging their advantages in customer numbers. In the financial field, large Internet institutions (third-party platforms) conduct financial business by sharing data with traditional financial institutions, such as joint loans and loan assistance models in which commercial banks in mainstream financial businesses cooperate with third-party platforms.

[0003] In existing technologies, since data comes from data collected by various parties on third-party non-trusted platforms, some platforms package and tamper with the data provided to financial institutions for their own interests. Financial institutions lending or designing financial products based on false data will increase financial risks, making the risks of financial institutions uncontrollable and causing major losses. Summary of the Invention

[0004] In view of this, the embodiments of the present invention provide a method, device and equipment for transmitting trusted blockchain data, which are used to solve the technical problem in the prior art that business data obtained by data application parties through third-party platforms contains false information, resulting in increased business risks.

[0005] The technical solution adopted in the present invention is:

[0006] The present invention provides a method for transmitting blockchain trusted data, the method comprising:

[0007] Obtain data request information from the data application party;

[0008] Traversing the local trusted database according to the data request information to obtain target data corresponding to the data request information;

[0009] The target data is transmitted to the data application party according to the data request information, and the first transaction voucher corresponding to the transaction information of the data request information is generated and published to the blockchain.

[0010] Preferably, the data request information of the data application party is obtained including:

[0011] Obtaining a first data certificate on the blockchain corresponding to the original data of the data request information;

[0012] Generate the data request information based on the first data credential, and establish a target point-to-point channel for data transmission between the data generator and the data user based on the blockchain trusted node;

[0013] The data request information is sent to a data generator based on the target point-to-point channel.

[0014] Preferably, the first data voucher includes a first hash value of the original data, and obtaining the first data voucher corresponding to the original data of the data request information on the blockchain includes:

[0015] Obtain real-time data generated by the business platform and the data structure of each data set;

[0016] Verifying the real-time data according to the data structure to obtain the original data and storing it in the trusted database;

[0017] Generate a corresponding first hash value based on the original data, and publish the first hash value of the original data to the blockchain;

[0018] The data set is a collection of data of the same type, and each piece of data in the same data set has the same data structure.

[0019] Preferably, the real-time data collection includes: SDK tracking, Internet of Things collector, and database collector actively collecting real-time data from the business platform.

[0020] Preferably, transmitting the target data to the data application party according to the data request information, and publishing the generated first transaction voucher corresponding to the transaction information of the data request information to the blockchain includes:

[0021] Obtaining identity verification information of the data request information;

[0022] Based on the verification pass information of the identity verification information, the target data is sent to the data application party using the blockchain point-to-point channel;

[0023] Generate the first transaction voucher based on the data request information and the target data and publish it to the blockchain.

[0024] Preferably, the identity verification information for obtaining the data request information includes:

[0025] Obtaining the first identity information of the data request information and the second identity information pre-stored on the blockchain;

[0026] Obtaining first verification information according to the first identity information and the second identity information;

[0027] Obtaining the identity verification information according to the first verification information and the data information of the target data corresponding to the data request information, and sending the identity verification information to the data application party;

[0028] The identity verification information includes authorization information and second summary information of the target data.

[0029] Preferably, the method further comprises:

[0030] Obtaining actual application data received by the data application party and the first data certificate pre-stored on the blockchain;

[0031] Generate a second hash value according to the actual application data;

[0032] Comparing the first hash value and the second hash value of the first data credential to obtain trustworthy verification information of the target data;

[0033] Based on the trusted verification information and the data request information, a second transaction voucher is generated and published to the blockchain.

[0034] The present invention also provides a blockchain trusted data transmission device, comprising:

[0035] Data acquisition module: used to obtain data request information from data application parties;

[0036] Data processing module: used to traverse the local trusted database according to the data request information to obtain the target data corresponding to the data request information;

[0037] Data transmission module: used to transmit the target data to the data application party according to the data request information, and publish the generated first transaction certificate corresponding to this data request transaction to the blockchain.

[0038] The present invention also provides an electronic device, comprising: at least one processor, at least one memory, and computer program instructions stored in the memory, wherein when the computer program instructions are executed by the processor, any one of the above-mentioned methods is implemented.

[0039] The present invention further provides a medium having computer program instructions stored thereon, which implement any of the above methods when the computer program instructions are executed by a processor.

[0040] In summary, the beneficial effects of the present invention are as follows:

[0041] The blockchain trusted data transmission method, device and equipment provided by the present invention include: a data application party sends data request information to a data generator, and the data generator directly retrieves the trusted data corresponding to the data request information from a local trusted database and sends it to the data application party, thereby ensuring that the sent original data is trusted data. At the same time, the data generator generates a first transaction voucher based on the actual transaction corresponding to this data request, and then stores it in the blockchain. It can serve as a transaction evidence of this transaction and is beneficial for the data application party to perform trusted authentication on the received target data, confirm whether the received target data has been tampered with, missing, etc., and realize trusted data transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work, and these are all within the scope of protection of the present invention.

[0043] Figure 1 Schematic diagram of the process of transmitting trusted data on the blockchain in Example 1 of the present invention;

[0044] Figure 2 This is a flowchart of a blockchain-based trusted data supervision method in Example 2 of the present invention;

[0045] Figure 3 This is a schematic diagram of the structure of the device for transmitting trusted blockchain data in Example 3 of the present invention;

[0046] Figure 4 This is a schematic diagram of the structure of the device for transmitting trusted blockchain data in Example 4 of the present invention;

[0047] Figure 5 This is a schematic diagram of the structure of an electronic device in Example 5 of the present invention. DETAILED DESCRIPTION

[0048] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. It should be noted that, in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. In the description of the present invention, it should be understood that the orientation or position relationship indicated by the terms "center", "upper", "lower", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like is based on the orientation or position relationship shown in the drawings, and is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operate in a specific orientation, and therefore cannot be understood as limiting the present invention. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further limitations, elements defined by the phrase "comprising..." do not preclude the presence of other identical elements in the process, method, article, or apparatus comprising the elements. The various features of the present invention and its embodiments may be combined with each other if there is no conflict, and all are within the scope of protection of the present invention.

[0049] Example 1

[0050] To facilitate understanding of this article, here is a brief description of the blockchain network structure involved in this article. First, the blockchain operator configures a trusted data node for each new institution joining the blockchain network. The internal systems of each institutional member in the blockchain network are connected to the blockchain network through the trusted data node. Each institutional member in the blockchain network publishes business requests and receives business information published by other nodes on the blockchain through its own trusted data node. To facilitate the description in this article, when an institutional member needs business data from other institutions in the blockchain network, the trusted data node of the institution is recorded as the data application node, and the institution is recorded as the data application party; the business data provider is recorded as the data generator, and the trusted data node of the data generator is recorded as the data generation node.

[0051] Trusted data: original data collected by the data generation organization;

[0052] Trusted data transmission: The data received by the data application organization is the data transmission process corresponding to the original data collected by the data generation organization;

[0053] Trusted data storage: The data generated by the data provider's business system is collected in real time to the trusted data node of the data generation organization. The trusted data node will store the collected raw data locally and broadcast the hash value of the trusted data to the blockchain for data consensus. This overall process is called trusted data storage.

[0054] P2P, short for peer-to-peer (P2P), also known as peer-to-peer technology, is an internet system that relies on a user base to exchange information without a central server. Unlike centralized networks with a central server, each user in a P2P network functions as both a node and a server.

[0055] See Figure 1 , Figure 1 In Embodiment 1 of the present invention, a method for transmitting trusted data on a blockchain is provided, the method comprising:

[0056] S10: Obtain data request information from the data application party;

[0057] Specifically, the data generator collects trusted data and stores it in the data generation node, and uploads the first data certificate corresponding to the collected trusted data to the chain, so that each institutional member on the blockchain knows what data the data generator has. The first data certificate includes the first hash value corresponding to the trusted data and the first summary information of the trusted data. It should be understood that the first data certificate can be used to know what type of data or partial data information the trusted data is. For example, the detailed information of the wealth management product released by the wealth management subsidiary A of Bank A includes: release time, subscription method, redemption method, subscription conditions, subscription amount and other detailed information, but the first data certificate data on the blockchain can only know the name of the wealth management product, release time, and hash value corresponding to the detailed information. The first hash value of the first data certificate is used to compare with the actual hash value generated by the target data received by the subsequent data application party, so as to determine whether the target data received by the data application party is credible. Among them, uploading the first data certificate to the chain means broadcasting the first data certificate corresponding to the trusted data to the blockchain; when the data application party needs certain data, it sends data request information to the corresponding data generator, and the data request information includes the identity information of the data application party, the type of data requested, the amount of data, the required time, etc.; in short, the request data corresponding to the data request information is consistent or partially consistent with the data recorded in a data certificate pre-existing on the blockchain; in order to ensure that the information is not obtained by a third party, preferably, the data application party directly sends the data request information to the data application node through the point-to-point channel of the blockchain network, or the data request information can be encrypted and then uploaded to the data generation node. It should be noted that the data application party can also send data request information to the data generator through other means such as instant messaging apps and emails. There is no specific limitation on how the data application party sends the data request information to the data generator.

[0058] S11: traverse the local trusted database according to the data request information to obtain target data corresponding to the data request information;

[0059] S12: The target data is transmitted to the data application party according to the data request information, and the generated first transaction voucher corresponding to the transaction information of the data request information is published to the blockchain.

[0060] Specifically, after receiving the data request information, the data generation node parses it to determine the data content requested by the data application node, then traverses the local trusted database to retrieve the target data, and transmits the target data to the data application party. The data generator generates the first transaction voucher for this data request transaction based on the target data actually sent to the data application party, and uploads the first transaction voucher to the chain; it can be understood that the data generation node uploads the transaction information of this transaction to the blockchain storage, which is convenient for later query of the specific information of this transaction.

[0061] In one embodiment, the S10 includes:

[0062] S101: Obtain a first data certificate corresponding to the original data of the data request information on the blockchain;

[0063] Specifically, the data generator generates a corresponding first data certificate based on the stored trusted data and stores the first data certificate on the blockchain network. The first data certificate includes at least a first hash value corresponding to the trusted data. In addition, the first data certificate may also include the first summary information of the trusted data, the address information of the data generation node, and other basic information that facilitates the data application party to understand and request the target data.

[0064] S102: Generate the data request information based on the first data credential, and establish a target point-to-point channel for data transmission between the data generator and the data user based on the blockchain trusted node;

[0065] S103: Sending the data request information to the data generator based on the target point-to-point channel.

[0066] Specifically, the data application party finds the first data certificate corresponding to the application data required by the data application party based on the data certificate of each trusted data stored on the blockchain network, determines the data generation node of the corresponding data generator through the identity information of the first data certificate, and sends data request information to the data generation node of the data generator based on the point-to-point channel on the blockchain. The data generation node conducts authorization review on the data request information, and if the authorization is passed, sends the target data to the data application party based on the target point-to-point channel of the blockchain.

[0067] In one embodiment, the first data credential includes a first hash value of the original data, and S101 includes:

[0068] S1011: Acquire real-time data generated by the business platform and the data structure of each data set;

[0069] S1012: Verify the real-time data according to the data structure to obtain the original data and store it in the trusted database;

[0070] S1012: Generate a corresponding first hash value based on the original data, and publish the first hash value of the original data to the blockchain;

[0071] The data set is a collection of data of the same type, and each piece of data in the same data set has the same data structure.

[0072] Specifically, data generators categorize real-time data collected from various business platforms into datasets to facilitate the classified storage, retrieval, and use of data of the same type. Data generation nodes generate corresponding first data vouchers for the raw data to be stored and publish them to the blockchain. These first data vouchers include the first hash value and first summary information corresponding to the raw data. This allows data users to understand the trusted data and later verify the credibility of the actual application data they receive. For example, consider dataset A, which specifies a data structure with the following fields: Field Name: Name, Age; Field Type: Character; Field Length: No more than 5 characters. Data in dataset A includes data such as: Data 1: Name: Zhang San, Age: 50; Data 2: Name: Li Si, Age: 23; Data 3: Name: Wang Wu, Age: 37, etc.

[0073] In one embodiment, the real-time data collection includes: SDK tracking, Internet of Things collector, and database collector actively collecting real-time data from the business platform.

[0074] Specifically, during the data collection phase, the trusted data warehouse actively collects real-time data from the business platform by using SDK tracking and IoT tools in the data provider's business system, ensuring that real and unmodified business data is stored in the trusted data warehouse.

[0075] In one embodiment, the S12 includes:

[0076] S121: Obtain identity verification information of the data request information;

[0077] S122: Based on the verification pass information of the identity verification information, the target data is sent to the data application party using the blockchain point-to-point channel;

[0078] S123: Generate the first transaction voucher based on the data request information and the target data and publish it to the blockchain.

[0079] Specifically, when the data generation node receives the data request information, it performs identity verification on the data application party corresponding to the data request information. If the identity verification passes, the target data is sent to the data application party using the blockchain point-to-point channel. The identity authentication method includes but is not limited to obtaining a certificate representing the identity information pre-stored on the blockchain or confirming through other communication methods, such as: email communication, telephone communication, mark recognition (time, symbol), etc.

[0080] In one embodiment, the S121 includes:

[0081] S1211: Obtain the first identity information of the data request information and the second identity information pre-stored on the blockchain;

[0082] S1212: Obtain first verification information based on the first identity information and the second identity information;

[0083] S1213: Obtain the identity verification information according to the first verification information and the data information of the target data corresponding to the data request information, and send the identity verification information to the data application party;

[0084] The identity verification information includes authorization information and second summary information of the target data.

[0085] Specifically, the blockchain is a decentralized or weakly centralized network, so that any trusted data node in the blockchain network can directly establish a point-to-point channel with other trusted data nodes to transmit business data. In order to avoid feasible data nodes from sending data request information that exceeds their own authority to other trusted data nodes, the data generator, after receiving the data request information sent by the data application party, authenticates the data application party, including identity authenticity verification and identity authority verification, and uses the first verification information to determine whether the data corresponding to the data request information meets the authority requirements, and sends the data within the authorized scope of all the data corresponding to the data request information as target data to the data application party. The second summary information is different from the first summary information. The second summary information includes: the number of target data items, transmission time, data size, authority authorization information, etc., that is, the second summary information is mainly used to describe the actual information of this data request.

[0086] In one embodiment, after receiving the data request information, the data generation node performs authorization verification on the data request information. After the authorization verification passes, the data generation node sends the target data corresponding to the data request information to the data application party.

[0087] Specifically, the connection relationship between the members of each institution joining the blockchain network is many-to-many. There are multiple nodes in the blockchain network. For the convenience of management, the platform operator will have certain rules for naming the nodes, such as arranging the nodes by numbers. The information released by any node in the blockchain will be received by other nodes or some nodes in the blockchain. When the data application node needs to send a data request to the data generation node, the receiving address is incorrect due to the close identification of each node, and it is sent to other nodes. By authenticating the data request information, abnormal business can be avoided from being executed.

[0088] In one embodiment, if the target data corresponding to the data request information defined by the first verification information is partial data of the complete data corresponding to the data request information, first receipt information corresponding to the data request information is generated based on the first verification information and sent to the data application party, and whether to send the target data to the data application party is determined according to the feedback result of the data application party; thereby avoiding data waste when the missing data is necessary data for the data application party; at the same time, by sending the first receipt information to the data application party, the problem of incomplete target data obtained by the data application party due to the lag in the system's authority management can be avoided.

[0089] In one embodiment, if the target data is partial data of the complete data, the data generator generates a reference hash value based on the target data, and compares the reference hash value with the hash value of each data voucher on the blockchain. If the same hash value exists, the data voucher corresponding to the hash value is sent to the data application party, and the data voucher is recorded as a preliminary data voucher. The data application party can determine whether to require the data generator to provide the preliminary data corresponding to the preliminary data voucher based on the first summary information corresponding to the preliminary data voucher, which can avoid sending invalid data to the data application party and avoid the data application party repeatedly receiving the same data when the preliminary data is stored. If there is no data voucher on the blockchain with a hash value that is the same as the reference hash value, the target data is sent to the data application party, thereby ensuring that the target data sent to the data application party contains new data of this category.

[0090] In one embodiment, the method further comprises:

[0091] S13: Acquire the actual application data received by the data application party and the first data certificate pre-stored on the blockchain;

[0092] S14: Generate a second hash value according to the actual application data;

[0093] S15: Compare the first hash value and the second hash value of the first data voucher to obtain trustworthy verification information of the target data;

[0094] S16: Generate a second transaction voucher based on the trusted verification information and the data request information and publish it to the blockchain.

[0095] Specifically, the data sent by the data generator and received by the data application party through the target point-to-point channel is recorded as actual application data, and a second hash value of the actual application data is generated using the hash function corresponding to the blockchain. The second hash value is compared with the first hash value in the first data voucher pre-stored on the blockchain to obtain trusted verification information of the target data received by the data application party, and the trusted verification information is combined with the data request information to obtain a second transaction voucher, which is broadcast to the blockchain storage; the later traceability of this transaction is achieved through the first transaction voucher and the second transaction voucher.

[0096] In the blockchain trusted data transmission method of the present invention, a data application party sends data request information to a data generator, and the data generator directly retrieves the trusted data corresponding to the data request information from a local trusted database and sends it to the data application party, thereby ensuring that the sent original data is trusted data. At the same time, the data generator generates a first transaction voucher based on the actual transaction corresponding to this data request, and then stores it in the blockchain. This can serve as a transaction evidence of this transaction and is beneficial for the data application party to perform trusted authentication on the received target data, confirm whether the received target data has been tampered with, missing, or other problems, and realize trusted data transmission.

[0097] Example 2

[0098] Example 2 is a specific application of the blockchain trusted data transmission method based on Example 1 in the financial field. Example 2 provides a blockchain-based trusted data supervision method. Figure 2 , the method comprising:

[0099] S20: Obtaining data request information from the data application party and data authorization information from the data supervisor for the data request information;

[0100] S21: Traversing the local database according to the data authorization information to obtain target data corresponding to the data authorization information and the data request information;

[0101] S22: The target data is transmitted to the data application party according to the address information of the data request information and / or the data authorization information, and the generated first transaction voucher corresponding to the transaction information of the data request information is published to the blockchain.

[0102] Specifically, due to the particularity of the financial field, financial regulatory agencies have strictly authorized and supervised financial data; only data authorized by regulatory agencies can be transmitted and / or applied. Each trusted node in the blockchain can establish a P2P network for data transmission, which does not meet the requirements of financial data supervision. Therefore, when a data application party needs to request application data from a data generator in the blockchain, it needs to send the data request information to the data regulator for authorization review. The data generator will only send the corresponding target data to the data application party when it receives the data authorization information and data request information, thereby realizing data supervision between the data application party and the data generator in the blockchain network; the data generator traverses the local trusted database based on the data authorization information of the data regulator to determine the target data corresponding to the data request information specified by the data authorization information. The target data includes : empty data, partial data of the complete data corresponding to the data request information, and complete data corresponding to the data request information; the data generator determines the node address information of the data application party's trusted data node based on the identity information of the data application party in the data request information and / or data authorization information, and sends the target data to the data application party; at the same time, the first transaction certificate generated by the actual transaction of the data generator corresponding to the data request information is published to the blockchain. The data application party can learn the details of this transaction based on the received target data and the first transaction certificate, such as: determining whether the received target data is consistent with the transaction data published by the first transaction certificate, or the actual authorization information of the data regulator for this data request. This method can improve the adverse effects caused by the lag in the update of permissions of various institutions in the blockchain system, help remind relevant institutions to upgrade their permissions, and improve the efficiency of financial business.

[0103] In one embodiment, the S20 includes:

[0104] S201 a: Obtain a first data certificate corresponding to the original data of the data request information on the blockchain;

[0105] Specifically, the data generator generates a corresponding first data certificate based on the stored trusted data and stores the first data certificate on the blockchain network. The first data certificate includes at least a first hash value corresponding to the trusted data. In addition, the first data certificate may also include the first summary information of the trusted data, the address information of the data generation node, and other basic information that facilitates the data application party to understand and request the target data.

[0106] S202a: Generate the data request information according to the first data certificate, and establish a first point-to-point channel and a second point-to-point channel based on a blockchain trusted node;

[0107] S203a: Sending the data request information to the data generator using the first point-to-point channel, and sending the data authorization information to the data generator using the second point-to-point channel;

[0108] The first data credential includes a first hash value corresponding to the original data.

[0109] Specifically, the data application party finds the first data certificate corresponding to the application data required by the data application party based on the data certificate of each trusted data stored on the blockchain network, and determines the data generation node of the corresponding data generator through the identity information of the first data certificate, thereby forming the data request information of this data demand. At the same time, the trusted data nodes of the data generator and the data supervisor establish a first point-to-point channel and a second point-to-point channel, and use the first point-to-point channel to send the data request information to the data generator, and use the second point-to-point channel to send the data authorization information to the data generator. The first point-to-point channel and the second point-to-point channel can be either a point-to-point channel between the data generation node and the data application node, or a point-to-point channel between the data generation node and the data supervision node; the second point-to-point channel is a point-to-point channel between the data generation node and the data supervision node.

[0110] In one embodiment, when the first point-to-point channel and the second point-to-point channel are the same, the step S20 includes:

[0111] S201 b: Establishing the first point-to-point channel and the third point-to-point channel based on the trusted node of the blockchain;

[0112] S202b: Send the data request information to the data supervisor using the third point-to-point channel;

[0113] S203b: Generate the data authorization information according to the identity information of the data request information;

[0114] S204b: Utilize the first point-to-point channel to package the data authorization information and the data request information and send them to the data generator.

[0115] Specifically, the data application party sends the data request information to the data supervisor based on the third point-to-point channel. The data supervisor verifies the data content of the data request information and the identity authority of the data application party, thereby generating data authorization information; the data supervisor packages the data authorization information and the data request information and transmits them to the data generator through the first point-to-point channel, so as to avoid the data request information and data authorization information received by the data generator from being received at a different time, resulting in a waste of computer resources and an increase in workload due to the temporary storage of the data received by the data generator.

[0116] In one embodiment, the data supervisor sends the data authorization information to the data application party, and the data application party assembles the data request information and the data authorization information. This method can reduce the data processing volume of the data supervisor and improve the data processing efficiency of the data supervisor.

[0117] In one embodiment, the data supervisor directly assembles the data authorization information and the data request information to ensure consistency between the data authorization information and the data request information. Preferably, the first point-to-point channel is a point-to-point channel between the data generation node and the data supervision node.

[0118] In one embodiment, when the first point-to-point channel and the second point-to-point channel are different, the step S20 includes:

[0119] S201 c: Establishing the first point-to-point channel, the second point-to-point channel, and the third point-to-point channel based on the trusted node of the blockchain;

[0120] S202c: Synchronously sending the data request information to the data generator and the data supervisor based on the first point-to-point channel and the third point-to-point channel;

[0121] S203c: Generate the data authorization information according to the identity information of the data request information;

[0122] S204c: Send the data authorization information to the data generator based on the second point-to-point channel.

[0123] Specifically, after the data application party generates the data request information, it sends the data request information to the data generator and the data supervisor at the same time. The data generator can parse the data request information of the data application party at the first time, and the data supervisor will simultaneously verify the authority of the data request information, and then transmit the data authorization information directly to the data generator using the second point-to-point channel. The data generator retrieves the target data of the previously parsed data request information according to the data authorization information, and then sends the target data to the data application party.

[0124] In one embodiment, the data supervisor verifies the authority of the data application party in the data request information, and the data generator verifies the identity information of the data application party in the data request information. After the verification is passed, the data is authorized to obtain the target data of the trusted database. This method can reduce the data processing volume of the data supervisor, and at the same time facilitate business verification between the data application party and the data generator, avoid repeated identity verification, and improve business efficiency.

[0125] In one embodiment, if the data authorization information is partial authorization or authorization rejection, S21 includes:

[0126] S211: Generate data receipt information based on the data authorization information and the data request information and send it to the data application party;

[0127] S212: Generate data confirmation information based on the data receipt information and send it to the data generator;

[0128] S213: Traverse the local database according to the data confirmation information to obtain the target data defined by the data request information and the data authorization information.

[0129] Specifically, if the data authorization information is non-full authorization, that is, the target data provided to the data application party as limited by the data authorization information is only part of the complete data corresponding to the data request information, then the data generator shall first send data receipt information to the data application party before sending the target data to the data application party. The data application party shall generate a response to the data receipt information and generate corresponding data confirmation information. If it is confirmed to continue sending the target data, the data generator shall send the target data to the data application party.

[0130] In one embodiment, if the data confirmation information is to re-verify the identity information of the data application party, the target data is a null value, and the data request task is canceled.

[0131] Specifically, if the data application party confirms based on the data receipt information that it cannot obtain all the data due to the failure to update the permissions and that the necessary data is not included in the target data, and chooses to abandon the data request, the data generator will directly cancel the transaction.

[0132] In one embodiment, if the target data is non-empty data, S21 further includes:

[0133] S214: Generate a second data voucher corresponding to the target data according to the target data;

[0134] S215: Associating the second data certificate with the first data certificate and uploading them to the blockchain;

[0135] The second data credential includes a second hash value corresponding to the target data.

[0136] Specifically, when the data confirmation information shows that the target data continues to be sent, the data generator generates a second data certificate for the target data, and associates the second data certificate with the first data certificate and uploads it to the blockchain. The second data certificate includes the second hash value of the target data actually sent this time. After receiving the actual application data, the data application party generates a corresponding third hash value and compares the third hash value with the second hash value to verify the consistency between the actual application data and the target data, and prevent data distortion caused by the target data during transmission; at the same time, a second data certificate is generated according to the target data to improve the flexibility of blockchain data tamper-proofing.

[0137] In one embodiment, it further includes:

[0138] S23: Acquire the actual application data received by the data application party and the first data voucher or the second data voucher;

[0139] S24: Generate a third hash value according to the actual application data;

[0140] S25: Compare the first hash value of the first data voucher or the second hash value of the second data voucher with the third hash value to obtain trustworthy verification information of the actual application data;

[0141] S26: Generate a second transaction voucher based on the trusted verification information and the data request information and publish it to the blockchain.

[0142] Specifically, the data sent by the data generator and received by the data application party through the point-to-point channel of the blockchain is recorded as actual application data, and the hash function corresponding to the blockchain is used to generate a third hash value of the actual application data. If the data authorization information is full authorization, the third hash value is compared with the first hash value in the first data certificate pre-existing on the blockchain; if the data authorization information is partial authorization, the third hash value is compared with the second hash value in the second data certificate pre-existing on the blockchain, so as to perform consistency verification on the actual application data and the target data, and at the same time, the trusted verification information obtained by the verification is combined with the data request information to obtain a second transaction certificate, and the second transaction certificate is broadcast to the blockchain storage; the later traceability of this transaction is realized through the first transaction certificate and the second transaction certificate.

[0143] The blockchain-based trusted data supervision method of the present invention is that when a data application party on the blockchain sends a data application request to a data generator, the data application party needs to send data request information to the data supervisor and obtain data authorization information from the data supervisor for the data request information. The data generator sends the target data corresponding to the data request information defined by the data authorization information to the data application party based on the data request information and the data authorization information, and sends the first transaction voucher corresponding to the data request information to the blockchain, thereby ensuring the credibility and supervision of financial data during the transmission process, and realizing the application and promotion of blockchain in the financial management industry.

[0144] Example 3

[0145] The present invention also provides a blockchain trusted data transmission device based on the blockchain trusted data transmission method of embodiment 1, see Figure 3 ,include:

[0146] Data acquisition module: used to obtain data request information from data application parties;

[0147] Data processing module: used to traverse the local trusted database according to the data request information to obtain the target data corresponding to the data request information;

[0148] Data transmission module: used to transmit the target data to the data application party according to the data request information, and publish the first transaction certificate corresponding to the transaction information of the data request information to the blockchain.

[0149] In one embodiment, the data acquisition module includes:

[0150] A first acquisition unit is configured to acquire a first data certificate corresponding to the original data of the data request information on the blockchain;

[0151] A data generation unit: generates the data request information according to the first data credential, and establishes a target point-to-point channel for data transmission between the data generator and the data user based on the blockchain trusted node;

[0152] Data transmission unit: sends the data request information to the data generator based on the target point-to-point channel.

[0153] In one embodiment, the first data credential includes a first hash value of the original data, and the first obtaining unit includes:

[0154] Data collection unit: obtains real-time data generated by the business platform and the data structure of each data set;

[0155] Data storage unit: verifying the real-time data according to the data structure, obtaining the original data and storing it in the trusted database;

[0156] A first processing unit is configured to generate a first hash value corresponding to the original data, and publish the first hash value of the original data to the blockchain;

[0157] The data set is a collection of data of the same type, and each piece of data in the same data set has the same data structure.

[0158] In one embodiment, the real-time data collection includes: SDK tracking, Internet of Things collector, and database collector actively collecting real-time data from the business platform.

[0159] In one embodiment, the data processing module includes:

[0160] A second acquiring unit is configured to acquire identity verification information of the data request information;

[0161] Data verification unit: based on the verification pass information of the identity verification information, sending the target data to the data application party through the blockchain point-to-point channel;

[0162] The second processing unit generates the first transaction voucher according to the data request information and the target data and publishes it to the blockchain.

[0163] In one embodiment, the second obtaining unit includes:

[0164] A third obtaining unit is configured to obtain the first identity information of the data request information and the second identity information pre-stored on the blockchain;

[0165] An information comparison unit: obtaining first verification information according to the first identity information and the second identity information;

[0166] A third processing unit: obtaining the identity verification information according to the first verification information and the data information of the target data corresponding to the data request information, and sending the identity verification information to the data application party;

[0167] The identity verification information includes authorization information and second summary information of the target data.

[0168] In one embodiment, the method further comprises:

[0169] Information comparison module: obtains the actual application data received by the data application party and the first data certificate pre-stored on the blockchain;

[0170] Data generation module: generates a second hash value according to the actual application data;

[0171] Information verification module: compares the first hash value and the second hash value of the first data certificate to obtain the trustworthy verification information of the target data;

[0172] Information publishing module: generates a second transaction voucher based on the trusted verification information and the data request information and publishes it to the blockchain.

[0173] The present invention provides a blockchain trusted data transmission device. A data application party sends data request information to a data generator. The data generator directly retrieves the trusted data corresponding to the data request information from a local trusted database and sends it to the data application party, thereby ensuring that the original data sent is trusted data. At the same time, the data generator generates a first transaction voucher based on the actual transaction corresponding to this data request, and then stores it in the blockchain. This can serve as a transaction evidence for this transaction and is also beneficial for the data application party to perform trusted authentication on the received target data, confirm whether the received target data has been tampered with, missing, or other problems, and realize trusted data transmission.

[0174] Example 4

[0175] The present invention also provides a blockchain-based trusted data supervision method based on Example 2, which can be found in Figure 4 ,include:

[0176] Data collection module: obtains data request information from the data application party and data authorization information from the data supervisor for the data request information;

[0177] Data screening module: traverses the local database according to the data authorization information to obtain target data corresponding to the data authorization information and the data request information;

[0178] Data feedback module: transmits the target data to the data application party according to the address information of the data request information and / or the data authorization information, and publishes the first transaction voucher corresponding to the transaction information of the data request information to the blockchain.

[0179] In one embodiment, the data acquisition module includes:

[0180] A first acquisition unit: obtaining a first data certificate corresponding to the original data of the data request information on the blockchain;

[0181] A first channel unit: generates the data request information according to the first data credential, and establishes a first point-to-point channel and a second point-to-point channel based on a blockchain trusted node;

[0182] A first transmission unit: sending the data request information to the data generator by using the first point-to-point channel, and sending the data authorization information to the data generator by using the second point-to-point channel;

[0183] The first data credential includes a first hash value corresponding to the original data.

[0184] In one embodiment, when the first point-to-point channel and the second point-to-point channel are the same, the data acquisition module includes:

[0185] Second channel unit: establishing the first point-to-point channel and the third point-to-point channel based on the trusted node of the blockchain;

[0186] A second transmission unit: sending the data request information to a data supervisor using the third point-to-point channel;

[0187] First authorization unit: generating the data authorization information according to the identity information of the data request information;

[0188] The third transmission unit is configured to use the first point-to-point channel to package the data authorization information and the data request information and send them to the data generator.

[0189] In one embodiment, the data supervisor sends the data authorization information to the data application party, and the data application party assembles the data request information and the data authorization information. This method can reduce the data processing volume of the data supervisor and improve the data processing efficiency of the data supervisor.

[0190] In one embodiment, the data supervisor directly assembles the data authorization information and the data request information to ensure consistency between the data authorization information and the data request information. Preferably, the first point-to-point channel is a point-to-point channel between the data generation node and the data supervision node.

[0191] In one embodiment, when the first point-to-point channel and the second point-to-point channel are different, the data acquisition module includes:

[0192] Third channel unit: establishing the first point-to-point channel, the second point-to-point channel and the third point-to-point channel based on the trusted node of the blockchain;

[0193] A fourth transmission unit: synchronously sending the data request information to the data generator and the data supervisor based on the first point-to-point channel and the third point-to-point channel;

[0194] Second authorization unit: generating the data authorization information according to the identity information of the data request information;

[0195] The fifth transmission unit is configured to send the data authorization information to the data generator based on the second point-to-point channel.

[0196] In one embodiment, the data supervisor verifies the authority of the data application party in the data request information, and the data generator verifies the identity information of the data application party in the data request information. After the verification is passed, the data is authorized to obtain the target data of the trusted database. This method can reduce the data processing volume of the data supervisor, and at the same time facilitate business verification between the data application party and the data generator, avoid repeated identity verification, and improve business efficiency.

[0197] In one embodiment, if the data authorization information is partial authorization or denied authorization, the data screening unit includes:

[0198] First receipt unit: generates data receipt information according to the data authorization information and the data request information and sends it to the data application party;

[0199] A first confirmation unit: generates data confirmation information according to the data receipt information and sends it to the data generator;

[0200] First data unit: traverses the local database according to the data confirmation information to obtain the target data defined by the data request information and the data authorization information.

[0201] In one embodiment, if the data confirmation information is to re-verify the identity information of the data application party, the target data is a null value, and the data request task is canceled.

[0202] In one embodiment, if the target data is non-empty data, the data screening module further includes:

[0203] A first voucher unit: generating a second data voucher corresponding to the target data according to the target data;

[0204] The first publishing unit associates the second data certificate with the first data certificate and uploads the result to the blockchain;

[0205] The second data credential includes a second hash value corresponding to the target data.

[0206] In one embodiment, it further includes:

[0207] A second credential unit is configured to obtain the actual application data received by the data application party and the first data credential or the second data credential;

[0208] A first computing unit: generating a third hash value according to the actual application data;

[0209] A first verification unit: comparing the first hash value of the first data voucher or the second hash value of the second data voucher with the third hash value to obtain trustworthy verification information of the actual application data;

[0210] Second publishing unit: generates a second transaction voucher based on the trusted verification information and the data request information and publishes it to the blockchain.

[0211] The blockchain-based trusted data supervision device of the present invention, when a data application party on the blockchain sends a data application request to a data generator, the data application party needs to send data request information to the data supervisor and obtain the data authorization information of the data supervisor for the data request information. The data generator sends the target data corresponding to the data request information defined by the data authorization information to the data application party based on the data request information and the data authorization information, and sends the first transaction certificate corresponding to the data request information to the blockchain, thereby ensuring the credibility and supervision of financial data during the transmission process, and realizing the application and promotion of blockchain in the financial management industry.

[0212] Example 5

[0213] The present invention provides an electronic device and a storage medium, such as Figure 5 As shown, the system includes at least one processor, at least one memory, and computer program instructions stored in the memory.

[0214] Specifically, the above-mentioned processor may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiment of the present invention, and the electronic device includes at least one of the following: a computer, a mobile terminal, a PC, a tablet computer, etc.

[0215] The memory can include a large capacity memory for data or instructions. For example, and not limitation, the memory can include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In suitable cases, the memory can include a removable or non-removable (or fixed) medium. In suitable cases, the memory can be inside or outside a data processing device. In a specific embodiment, the memory is a non-volatile solid-state memory. In a specific embodiment, the memory includes a read-only memory (ROM). In suitable cases, the ROM can be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM) or a flash memory or a combination of two or more of these.

[0216] The processor reads and executes computer program instructions stored in the memory to implement any one of the blockchain trusted data transmission methods and blockchain-based trusted data supervision methods in the above-mentioned embodiment mode 1.

[0217] In one example, the electronic device may further include a communication interface and a bus, wherein the processor, the memory, and the communication interface are connected via the bus and communicate with each other.

[0218] The communication interface is mainly used to implement communication between the modules, devices, units and / or equipment in the embodiments of the present invention.

[0219] Bus comprises hardware, software or both, couples the parts of electronic equipment to each other.For example, and not limitation, bus can comprise accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations.In suitable cases, bus can comprise one or more buses.Although the embodiment of the present invention describes and shows specific bus, the present invention considers any suitable bus or interconnection.

[0220] It should be understood that the present invention is not limited to the specific configurations and processes described above and illustrated in the figures. For the sake of brevity, a detailed description of known methods is omitted. In the above embodiments, several specific steps are described and illustrated as examples. However, the method of the present invention is not limited to the specific steps described and illustrated. Those skilled in the art may make various changes, modifications, and additions, or change the order of the steps after understanding the spirit of the present invention.

[0221] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), suitable firmware, a plug-in unit, a function card or the like. When implemented in software, the elements of the present invention are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium that can store or transmit information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROMs, flash memories, erasable ROMs (EROMs), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0222] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for transmitting trusted data on a blockchain, characterized in that: The method comprises: Obtaining data request information from a data application party, including: obtaining a first data voucher on the blockchain corresponding to original data of the data request information; generating the data request information based on the first data voucher, and establishing a target point-to-point channel for data transmission between the data generator and the data user based on a trusted node of the blockchain; and sending the data request information to the data generator based on the target point-to-point channel; The first data voucher includes a first hash value of the original data. Obtaining the first data voucher corresponding to the original data of the data request information on the blockchain includes: obtaining real-time data generated by the business platform and the data structure of each data set; verifying the real-time data according to the data structure to obtain the original data and storing it in a trusted database; generating a corresponding first hash value based on the original data, and publishing the first hash value of the original data to the blockchain; wherein the data set is a collection of data of the same type, and each piece of data in the same data set has the same data structure; Traversing the local trusted database according to the data request information to obtain target data corresponding to the data request information; The target data is transmitted to the data application party according to the data request information, and the first transaction voucher corresponding to the transaction information of the data request information is generated and published to the blockchain.

2. The method for transmitting blockchain trusted data according to claim 1, characterized in that: The real-time data collection includes: SDK tracking, Internet of Things collector, and database collector actively collecting real-time data from the business platform.

3. The blockchain trusted data transmission method according to claim 1, characterized in that: The transmitting the target data to the data application party according to the data request information, and publishing the generated first transaction voucher corresponding to the transaction information of the data request information to the blockchain includes: Obtaining identity verification information of the data request information; Based on the verification pass information of the identity verification information, the target data is sent to the data application party using the blockchain point-to-point channel; Generate the first transaction voucher based on the data request information and the target data and publish it to the blockchain.

4. The method for transmitting blockchain trusted data according to claim 3, characterized in that: The identity verification information for obtaining the data request information includes: Obtaining the first identity information of the data request information and the second identity information pre-stored on the blockchain; Obtaining first verification information according to the first identity information and the second identity information; Obtaining the identity verification information according to the first verification information and the data information of the target data corresponding to the data request information, and sending the identity verification information to the data application party; The identity verification information includes authorization information and second summary information of the target data.

5. The method for transmitting blockchain trusted data according to any one of claims 1 to 4, characterized in that: The method further comprises: Obtaining actual application data received by the data application party and the first data certificate pre-stored on the blockchain; Generate a second hash value according to the actual application data; Comparing the first hash value and the second hash value of the first data credential to obtain trustworthy verification information of the target data; Based on the trusted verification information and the data request information, a second transaction voucher is generated and published to the blockchain.

6. A blockchain trusted data transmission device, characterized in that: include: Data acquisition module: used to obtain data request information from a data application party, including: obtaining a first data voucher on the blockchain corresponding to the original data of the data request information; generating the data request information based on the first data voucher, and establishing a target point-to-point channel for data transmission between the data generator and the data user based on the blockchain trusted node; and sending the data request information to the data generator via the target point-to-point channel; The first data voucher includes a first hash value of the original data. Obtaining the first data voucher corresponding to the original data of the data request information on the blockchain includes: obtaining real-time data generated by the business platform and the data structure of each data set; verifying the real-time data according to the data structure to obtain the original data and storing it in a trusted database; generating a corresponding first hash value based on the original data, and publishing the first hash value of the original data to the blockchain; wherein the data set is a collection of data of the same type, and each piece of data in the same data set has the same data structure; Data processing module: used to traverse the local trusted database according to the data request information to obtain the target data corresponding to the data request information; Data transmission module: used to transmit the target data to the data application party according to the data request information, and publish the first transaction certificate corresponding to the transaction information of the data request information to the blockchain.

7. An electronic device, characterized in that: include: At least one processor, at least one memory, and computer program instructions stored in the memory, which implement the method according to any one of claims 1 to 5 when the computer program instructions are executed by the processor.

8. A storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Data asset circulation method, device and equipment based on blockchain

    CN113255005A