Blockchain-based data processing method, system, electronic device and storage medium
By adopting blockchain technology in the risk control system, publishing and managing data to be shared on the shared alliance chain, the data leakage caused by third-party storage is solved, and the dual goals of data security and accountability are achieved.
Patent Information
- Application Number
- CN202011599106.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-29
- Publication Date
- 2025-01-14
- Estimated Expiration
- 2040-12-29
AI Technical Summary
When building a risk control system, there is a risk of data leakage through third-party storage institutions, and existing encrypted storage methods are difficult to effectively avoid data leakage.
Using blockchain-based data processing method, the data to be shared is published on the blockchain node through the shared alliance chain, and when receiving the use request, the original shared data is sent according to the authorization mechanism to avoid directly storing and sharing the original data. Record data sharing records in real time for accountability.
It effectively avoids the risk of data leakage, ensures data security, and records data sharing records in real time through blockchain technology, which facilitates subsequent accountability and improves the security and efficiency of data sharing.
Smart Images

Figure CN112883411B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of blockchain technology, and in particular to a blockchain-based data processing method, system, electronic device and storage medium. Background Art
[0002] As financial institutions or enterprises continue to develop their businesses, they need to control risks well to ensure the smooth progress of their businesses. Therefore, it is necessary to collect a large amount of risk control data to build a risk control system. For example, various institutions or enterprises build risk control data and improve their risk control capabilities through data sharing.
[0003] In the process of building a risk control system, data is generally stored through a third-party storage institution for data sharing. This requires a reliable regulatory agency and a third-party storage institution that all parties trust, otherwise it will easily lead to the leakage of risk control data, thereby endangering user privacy. Although the existing technology usually uses encrypted storage when storing data through a third-party storage institution to achieve data sharing, there is still a risk of shared data being leaked. Summary of the invention
[0004] In order to solve the above technical problems or at least partially solve the above technical problems, the present application provides a blockchain-based data processing method, system, electronic device and storage medium.
[0005] In a first aspect, the present application provides a data processing method based on blockchain, which is applied to blockchain nodes in a shared alliance chain, including:
[0006] Publishing shared data, wherein the data to be shared includes target shared data, wherein the target shared data is obtained by performing preset processing on the original shared data, and the target shared data has a certain corresponding relationship with the original shared data;
[0007] Receiving a request for using the data to be shared;
[0008] Sending original shared data corresponding to the data to be shared.
[0009] Optionally, the sending original shared data corresponding to the data to be shared includes:
[0010] Determine whether the user requesting the data to be shared has the audit-free authorization for the data to be shared stored in the shared alliance chain;
[0011] If available, sending the original shared data corresponding to the data to be shared to the user requesting party;
[0012] If not, receive the review request sent by the user requesting party, and if the review is passed, add the user requesting party to the data authorization list, the authorization list is published on the blockchain node in the shared alliance chain, and the user requesting party included in the data authorization list has the authorization-free permission; and send the original shared data corresponding to the data to be shared to the user requesting party.
[0013] Optionally, the method of performing preset processing on the original shared data to obtain the target shared data includes:
[0014] A hash operation is performed on the original shared data, and the processed data is used as the target shared data.
[0015] Optionally, the target shared data is blacklist data, and the sending of original shared data corresponding to the data to be shared includes:
[0016] Acquire the first blacklist data published by the user requester of the data to be shared on the node in the shared alliance chain and the second blacklist data published by the provider of the data to be shared on the node in the shared alliance chain;
[0017] Using the intersection of the first blacklist data and the second blacklist data as target blacklist data;
[0018] The original shared data corresponding to the target blacklist data is obtained, and the original shared data is sent to the use requesting party.
[0019] Optionally, the data to be shared also includes a data score, which is a score given by the user requesting party after obtaining the data of the node in the shared alliance chain.
[0020] Optionally, the data to be shared also includes data description information, and the data description information is used to describe the function of the target shared data on the blockchain node in the shared alliance chain.
[0021] Optionally, the parties to be shared in the shared alliance chain adopt a token points system, and the method further includes:
[0022] When it is detected that the requesting party obtains the original shared data sent by the provider of the shared data, the requesting party reduces the pass points by a preset amount, and the provider of the shared data increases the pass points by a preset amount.
[0023] In a second aspect, the embodiment of the present application also provides a data processing method based on blockchain, which is applied to a blockchain node in a shared alliance chain, including:
[0024] Sending a request for using the data to be shared; the data to be shared includes target shared data, the target shared data is obtained by performing preset processing on the original shared data, and the target shared data has a certain corresponding relationship with the original shared data;
[0025] Receive original shared data corresponding to the data to be shared.
[0026] Optionally, it also includes:
[0027] An audit request is sent so that after the audit request is passed, the user requesting the data to be shared is added to the data authorization list, and the authorization list is published on the blockchain node in the shared alliance chain. The user requesting party included in the data authorization list has the authorization-free permission.
[0028] In a third aspect, an embodiment of the present application further provides a data processing system based on blockchain, characterized in that the system includes a first blockchain node and a second blockchain node in a shared alliance chain;
[0029] A first blockchain node is used to publish data to be shared, wherein the data to be shared includes target shared data, wherein the target shared data is obtained by performing preset processing on original shared data, and the target shared data has a certain corresponding relationship with the original shared data;
[0030] The second blockchain node is used to send a request for using the data to be shared to the first blockchain node;
[0031] The first blockchain node is further used to receive a request to use the data to be shared, and to send original shared data corresponding to the data to be shared.
[0032] In a fourth aspect, an embodiment of the present application further provides an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
[0033] Memory, used to store computer programs;
[0034] The processor is used to implement the steps of any of the above-mentioned blockchain-based data processing methods when executing the program stored in the memory.
[0035] In a fifth aspect, an embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the blockchain-based data processing method described in any one of the above items are implemented.
[0036] The above technical solution provided by the embodiment of the present application has the following advantages compared with the prior art:
[0037] The data processing method, system, electronic device and storage medium based on blockchain provided by the embodiment of the present application establish a shared alliance chain, publish the data to be shared provided by the sharing party to the blockchain node corresponding to the shared alliance chain, and when receiving the request from the requesting party to use the data to be shared stored in the shared alliance chain, send the corresponding original shared data to the requesting party through the provider of the data to be shared. This can avoid the risk of data leakage caused by the prior art of directly storing the original data and sharing it, and can also record the data sharing records of the participants on each node in real time through blockchain technology, which can avoid data tampering and facilitate subsequent accountability. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0039] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0040] Figure 1 A flowchart of a data processing method based on blockchain provided in an embodiment of the present application;
[0041] Figure 2 Provided for the embodiments of this application Figure 1 Schematic diagram of the process of step S130;
[0042] Figure 3 Provided for the embodiments of this application Figure 1 Another flow chart of step S130;
[0043] Figure 4 A flowchart of another blockchain-based data processing method provided in an embodiment of the present application;
[0044] Figure 5 A schematic diagram of a blockchain-based data processing system provided in an embodiment of the present application;
[0045] Figure 6 Schematic diagram of the structure of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION
[0046] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0047] In order to avoid the problem of data leakage that is prone to occur in the shared data storage process in the prior art, the embodiment of the present application deploys shared data by adopting a blockchain-based approach, and the shared data is processed data, while the original data will be stored locally on the sharing party and can only be obtained through application or authorization, which can well ensure the security of the shared data; specifically, Figure 1 A data processing method based on blockchain is provided in an embodiment of the present application. The method is applied to a blockchain node in a shared alliance chain. The method may include the following steps:
[0048] Step S110: publishing the data to be shared.
[0049] The data to be shared includes target shared data, which is obtained by performing preset processing on the original shared data. The target shared data has a definite corresponding relationship with the original shared data.
[0050] The embodiment of the present application establishes a shared alliance chain, which includes blockchain nodes deployed by each party to be shared, and each blockchain node is communicatively connected.
[0051] In the embodiment provided in the present application, each participant will deploy a blockchain node respectively, and these blockchain nodes will form a shared blockchain alliance, and the blockchain nodes in the shared blockchain alliance are connected to each other. Among them, each participant can be a party to be shared with data, or can include not only the party to be shared with data but also the party to obtain the shared data.
[0052] Each party to be shared in the embodiment of the present application will publish the data to be shared on the blockchain node deployed by itself, so that other participants in the shared alliance chain can access the published data to be shared through the shared alliance chain.
[0053] It should be noted that the data to be shared that is published by the party to be shared to the corresponding node of the shared alliance chain in the embodiment of the present application is data processed by a preset processing method, rather than the original data; for example, the published data to be shared is a hash value obtained after hash processing, and its original data will be stored in the service node inside the provider of the data to be shared, so that it can be avoided that the original data will not be affected by the leakage of the data to be shared. Of course, in addition to processing the original data by hashing to obtain the target shared data in the embodiment of the present application, other methods can be used for processing as needed to ensure that the target shared data has a certain corresponding relationship with the original shared data, so that it is very convenient to find the original data stored in the service node of the party to be shared through the data to be shared.
[0054] In addition, in order to prevent the above-mentioned preset processing method from being leaked and affecting the original data corresponding to the shared data deployed in the shared alliance chain, only part of the original data, such as the name or other less important data, can be processed by preset processing to obtain the target shared data, without having to process all the original data through, for example, hashing to obtain the target data. This can further and better avoid the risk of leakage of the original data.
[0055] It should be noted that, in addition to the target shared data, the data to be shared may also include data description information, which is used to describe the functions of the target shared data on the blockchain node in the shared alliance chain. In this way, other participants can directly understand what data the target shared data contains or what functions it has through the data description information, so that other participants can better understand whether they need to obtain the target shared data. In addition, the data to be shared may also include a data score, which is the score given by the requesting party after obtaining the data of the blockchain node in the shared alliance chain. In this way, other participants can understand the excellence of the target shared data through the score. Of course, when the provider of the data to be shared shares the data for the first time, there is no user score. After other users use the shared data, if they score it, the data to be shared will store the score and share it with other users.
[0056] Step S120: receiving a use request for the shared data.
[0057] Step S130: sending original shared data corresponding to the data to be shared.
[0058] When a request from a requesting party to use the data to be shared stored in the shared alliance chain is received, the corresponding original shared data is sent to the requesting party through the provider of the data to be shared.
[0059] In an embodiment of the present application, if the requesting party is interested in the data to be shared stored in the shared alliance chain and wants to obtain the corresponding original data, the request method can send a request to the data provider through the blockchain node in the shared alliance chain. In this way, when the provider of the data to be shared receives the requesting party's request to use the data to be shared stored in the shared alliance chain, the provider will review the request. If the review is passed, the corresponding original data will be sent to the requesting party.
[0060] The data processing method based on blockchain provided in the embodiment of the present application establishes a shared alliance chain, publishes the data to be shared provided by the sharing party to the blockchain node corresponding to the shared alliance chain, and upon receiving the request from the requesting party to use the data to be shared stored in the shared alliance chain, sends the corresponding original shared data to the requesting party through the provider of the data to be shared. This can avoid the risk of data leakage caused by the prior art of directly storing and sharing the original data, and can also record the data sharing records of the participants on each blockchain node in real time through blockchain technology, which can avoid data tampering and facilitate subsequent accountability.
[0061] Among them, based on the above-mentioned embodiments of the present application, in other embodiments provided in the present application, the contributed data can also be processed in a pass point system. For example, when it is detected that the requesting party obtains the original shared data sent by the provider of the data to be shared, the requesting party will reduce the preset amount of pass points, and the provider will increase the preset amount of pass points. Among them, the pass points can be exchanged through relevant rights and interests, which can be formulated according to specific circumstances.
[0062] In addition, in the embodiment provided by the present application, the contracts of each party to be shared can be deployed to the target blockchain node by selecting the target blockchain node on the shared alliance chain. The addresses of each party to be shared on the blockchain are obtained and the addresses are synchronously recorded on the contract. The contract includes the sharing rules that each party to be shared complies with.
[0063] In order to better realize data sharing and acquisition of shared data by each participant on the shared alliance chain, in another embodiment provided in this application, based on the above embodiment provided in this application, Figure 2 As shown, the above method, step S130 may further include the following steps:
[0064] Step S131, determining whether the user requesting the data to be shared has the audit-free authorization for the data to be shared stored in the shared alliance chain;
[0065] If so, in step S132, the original shared data corresponding to the data to be shared is sent to the user requesting party;
[0066] If not, in step S133, an audit request sent by the user requesting party is received. If the audit is passed, the user requesting party is added to the data authorization list. The authorization list is published on the blockchain node in the shared alliance chain. The user requesting party included in the data authorization list has the authorization-free permission; and the original shared data corresponding to the data to be shared is sent to the user requesting party.
[0067] The embodiment provided by the present application can be authorized by review. If the user requesting party enjoys the review-free authorization, the provider of the data to be shared can directly send the corresponding original shared data to the user requesting party, avoiding the tediousness of re-reviewing it. If the user requesting party does not enjoy the review-free authorization, the user requesting party can send a review request to the provider of the data to be shared. The provider of the data to be shared will review it after receiving the review request through the blockchain node. If the review is passed, the user requesting party will be added to the data authorization list, so that the user requesting party can enjoy the convenience provided by the review-free authorization the next time it requests to obtain the data to be shared. Among them, the authorization list is published on the corresponding blockchain node in the shared alliance chain, and the user requesting party included in the data authorization list has the authorization-free authority.
[0068] Based on the above embodiment, in order to further explain how to send the corresponding original shared data to the user requesting party through the provider of the data to be shared, in another embodiment provided in the present application, the target shared data can specifically be blacklist data, such as Figure 3 As shown, step S130 may include the following steps:
[0069] Step S134, obtaining the first blacklist data published by the requesting party on the blockchain node in the shared alliance chain and the second blacklist data published by the provider of the data to be shared on the blockchain node in the shared alliance chain.
[0070] Step S135: taking the intersection of the first blacklist data and the second blacklist data as target blacklist data.
[0071] Step S136, obtaining the original shared data corresponding to the target blacklist data, and sending the original shared data to the use requesting party.
[0072] In the embodiment of the present application, the target shared data can be specifically blacklist data. For example, in many financial institutions, in order to reduce losses and avoid certain loans or investments from getting due returns, the relevant institutions or individuals who have lost their credit will be blacklisted. In the embodiment of the present application, if the amount of shared blacklist data is very large, and the blacklist data between financial institutions is inevitably repeated, in order to improve the efficiency of data sharing, and also to avoid the use of the requester after obtaining the blacklist data, the first blacklist data published by the requester on the blockchain node in the shared alliance chain and the second blacklist data published by the provider on the blockchain node in the shared alliance chain will be obtained in the embodiment of the present application. Do intersection processing, that is, the data that exists in the second blacklist data but does not exist in the first blacklist data is sent to the requester, which can well guarantee the transmission efficiency during data sharing, and can also better avoid the use of the requester after obtaining the blacklist data. Deduplication processing. In addition, cryptographic means such as homomorphic encryption can also be used to achieve secure multi-party computing without data being stored, to obtain the intersection of the blacklist data of both parties.
[0073] In addition, in the embodiment of the present application, after the service node of the requester synchronizes the data information from the blockchain node, a network connection is established with the service node of the data provider. The requester service node is used to encrypt the query list of the requester and transmit it directly to the blacklist data provider without going through the blockchain. After the provider receives the query list, it uses the Bloom filter to match the query list and then returns the calculation result. The whole process is completed off-chain, which effectively improves the transaction efficiency.
[0074] In another embodiment provided in the present application, a data processing method based on blockchain is also provided, which is applied to blockchain nodes in a shared alliance chain, such as Figure 4 As shown, the method may include the following steps:
[0075] Step S410: sending a request for using the data to be shared.
[0076] The data to be shared includes target shared data.
[0077] The target shared data is obtained by performing preset processing on the original shared data, and the target shared data has a definite corresponding relationship with the original shared data.
[0078] Step S510: receiving original shared data corresponding to the data to be shared.
[0079] The embodiment provided by the present application is the initiator of the use request of the blockchain node in the shared alliance chain corresponding to the above method, that is, after the user joins the shared alliance chain, if he needs to use the data to be shared in the shared alliance chain, he can send the use request of the data to be shared through the blockchain node in the shared alliance chain. In this way, when another blockchain node in the shared alliance chain receives the use request, it can send the original data corresponding to the data to be shared through the blockchain node in the shared alliance chain.
[0080] Among them, in the embodiment of the present application, the data to be shared that the party to be shared publishes to the corresponding node of the shared alliance chain is data processed by a preset processing method, rather than the original data; for example, the published data to be shared is a hash value obtained after hash processing, and its original data will be stored in the service node inside the provider, so that it can be avoided that the original data will not be affected after the data to be shared is leaked. Of course, in the embodiment of the present application, in addition to processing the original data by hashing to obtain the target shared data, other methods can be used for processing as needed to ensure that the target shared data has a certain corresponding relationship with the original shared data, so that the original data stored in the node of the party to be shared can be easily found through the data to be shared. For details, please refer to the above description, which will not be repeated here.
[0081] In addition, the blockchain nodes in the shared alliance chain can also send an audit request, so that after the audit request is passed, the user requesting the data to be shared will be added to the data authorization list. The authorization list is published on the blockchain node in the shared alliance chain, and the user requesting party included in the data authorization list has the authorization-free permission. In this way, the next time you need to use the data to be shared, you can use it directly without sending an audit request again; of course, as described above, you can also obtain the data to be shared through the points mechanism, etc., which will not be repeated here.
[0082] Illustratively, the above method provided in the embodiments provided in this application also provides applications in the following scenarios:
[0083] 1) Financial institution A checks the data shared by the shared alliance chain through the blockchain node, selects a piece of data with a high score, and finds out that the provider of the data is financial institution B by querying the data information; 2) Financial institution A queries whether it is included in the list of authorized institutions for the data. If it is not in the list of authorized institutions, it initiates an approval request to financial institution B; 3) After financial institution B approves the approval request, financial institution A directly sends the query list to financial institution B through the blockchain node; 4) After receiving the query list, financial institution B finds the relevant data content locally according to the hash of the data published on the chain, then performs blacklist matching, and finally returns the result to financial institution A; 5) A transaction is added to the blockchain, and the token points method of financial institutions A and B is updated.
[0084] This application introduces a scoring mechanism, where data users evaluate data based on how well the data matches their business. Data with high scores are more likely to be used, thereby obtaining token points and obtaining incentives outside the system from regulators. The scoring mechanism can effectively motivate data providers to control data quality. In terms of data security, only the hash of the data and other information are published on the chain, and the data content only exists on the service nodes within the organization, so that data can be calculated without leaving the warehouse and data leakage can be avoided. In terms of transaction efficiency, the introduction of an authorization mechanism can reduce the process in data exchange, and at the same time, the service nodes are used to directly share data, eliminating the blockchain consensus process and improving transaction efficiency.
[0085] In addition, in the embodiment of the present application, by introducing a token points strategy, the data publishing and data acquisition behaviors of the participants are associated with token points, and the token points are exchanged by financial regulatory agencies outside the system, which can greatly increase the willingness of the participants to share data. In the application of blockchain, by adopting a "decentralized" strategy, all participants have equal status. The embodiment of the present application can also audit all data usage by introducing regulatory agency participants to ensure the compliance and legal use of data and maintain the overall quality of shared data.
[0086] The data processing method based on blockchain provided in the embodiment of the present application establishes a shared alliance chain, publishes the data to be shared provided by the sharing party to the blockchain node corresponding to the shared alliance chain, and upon receiving the use request of the user requesting party for the data to be shared stored in the shared alliance chain, sends the corresponding original shared data to the user requesting party through the provider of the data to be shared. This can avoid the risk of data leakage caused by the prior art of directly storing and sharing the original data, and can also record the data sharing records of the participants on each blockchain node in real time through blockchain technology, which is convenient for subsequent accountability while avoiding data tampering. And through the relevant authorization mechanism, it is convenient for the user requesting party to obtain the shared data in a timely and convenient manner, and by sending the blacklist intersection data, the sharing efficiency of the shared data can be guaranteed.
[0087] In addition, the present application provides a data processing system based on blockchain, such as Figure 5 As shown, the system includes the system including a first blockchain node 10 and a second blockchain node 20 in a shared alliance chain:
[0088] A first blockchain node 10 is used to publish data to be shared, wherein the data to be shared includes target shared data, wherein the target shared data is obtained by performing preset processing on the original shared data, and the target shared data has a certain corresponding relationship with the original shared data;
[0089] The second blockchain node 20 is used to send a use request of the to-be-shared data to the first blockchain node;
[0090] The first blockchain node 10 is further used to receive a request to use the data to be shared, and send original shared data corresponding to the data to be shared.
[0091] Optionally, the second blockchain node is further used to send a review request;
[0092] The first blockchain node is also used for:
[0093] Determine whether the user requesting the data to be shared has the audit-free authorization for the data to be shared stored in the shared alliance chain;
[0094] If available, sending the original shared data corresponding to the data to be shared to the user requesting party;
[0095] If not, receive the review request sent by the user requesting party, and if the review is passed, add the user requesting party to the data authorization list, the authorization list is published on the blockchain node in the shared alliance chain, and the user requesting party included in the data authorization list has the authorization-free permission; and send the original shared data corresponding to the data to be shared to the user requesting party.
[0096] Optionally, the first blockchain node is also used to perform hash operation on the original shared data and use the processed data as the target shared data.
[0097] Optionally, the target shared data is blacklist data, and the first blockchain node is further used to:
[0098] Obtaining first blacklist data published by a user requesting the data to be shared on a blockchain node in the shared alliance chain and second blacklist data published by a provider on a blockchain node in the shared alliance chain;
[0099] Using the intersection of the first blacklist data and the second blacklist data as target blacklist data;
[0100] The original shared data corresponding to the target blacklist data is obtained, and the original shared data is sent to the use requesting party.
[0101] Optionally, the data to be shared also includes a data score, which is a score given by the user requesting party after obtaining the data of the blockchain node in the shared alliance chain.
[0102] Optionally, the data to be shared also includes data description information, and the data description information is used to describe the function of the target shared data on the blockchain node in the shared alliance chain.
[0103] Optionally, the parties to be shared in the shared alliance chain adopt a token points system, and the method further includes:
[0104] When it is detected that the requesting party obtains the original shared data sent by the provider of the shared data, the requesting party reduces the pass points by a preset amount, and the provider of the shared data increases the pass points by a preset amount.
[0105] Among them, the specific description of the system refers to the description of the above method, the two correspond to each other and will not be repeated here.
[0106] The blockchain-based data processing system provided by the embodiment of the present application establishes a shared alliance chain, publishes the data to be shared provided by the sharing party to the blockchain node corresponding to the shared alliance chain, and when receiving the request from the requesting party to use the data to be shared stored in the shared alliance chain, sends the corresponding original shared data to the requesting party through the provider of the data to be shared. This can avoid the risk of data leakage caused by the prior art directly storing the original data and sharing it, and can also record the data sharing records of the participants on each blockchain node in real time through blockchain technology, which is convenient for subsequent accountability while avoiding data tampering. And through the relevant authorization mechanism, it is convenient for the requesting party to obtain the shared data in a timely and convenient manner, and by sending the blacklist intersection data, the sharing efficiency of the shared data can be guaranteed.
[0107] In another embodiment provided by the present application, an electronic device is also provided, such as Figure 6 As shown, it includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus;
[0108] Memory, used to store computer programs;
[0109] The processor is used to implement the steps of any of the above-mentioned blockchain-based data processing methods when executing the program stored in the memory.
[0110] In another embodiment provided in the present application, a computer-readable storage medium is provided, on which a computer program is stored, characterized in that when the computer program is executed by a processor, the steps of any of the above-mentioned blockchain-based data processing methods are implemented.
[0111] 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. 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 other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0112] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A data processing method based on blockchain, applied to blockchain nodes in a shared alliance chain, characterized in that: include: Publishing the data to be shared, wherein the data to be shared includes target shared data, wherein the target shared data is obtained by performing preset processing on the original shared data, and the target shared data has a certain corresponding relationship with the original shared data; Receiving a request for using the data to be shared; Sending original shared data corresponding to the data to be shared; The target shared data is blacklist data, and the sending of original shared data corresponding to the data to be shared includes: Obtain first blacklist data published by a user requesting the data to be shared on a blockchain node in the shared alliance chain and second blacklist data published by a provider of the data to be shared on a blockchain node in the shared alliance chain; Using the intersection of the first blacklist data and the second blacklist data as target blacklist data; Establishing a network connection between the provider of the data to be shared and the user requester; Acquire original shared data corresponding to the target blacklist data, and send the original shared data to the use requesting party through the network connection; The sending of the original shared data corresponding to the data to be shared includes: Determine whether the user requesting the data to be shared has the audit-free authorization for the data to be shared stored in the shared alliance chain; If available, sending the original shared data corresponding to the data to be shared to the user requesting party; If not, receiving the review request sent by the user requesting party, and if the review is passed, adding the user requesting party to the data authorization list, the authorization list is published on the blockchain node in the shared alliance chain, and the user requesting party included in the data authorization list has the authorization-free authority; and sending the original shared data corresponding to the data to be shared to the user requesting party; The data to be shared also includes a data score, which is a score given by the user requesting party after obtaining the data of the blockchain node in the shared alliance chain; Wherein, the party to be shared in the shared alliance chain adopts a token points system, and the method further includes: When it is detected that the use requesting party obtains the original shared data sent by the provider of the shared data, the use requesting party reduces the pass points by a preset amount, and the provider of the shared data increases the pass points by a preset amount.
2. The method according to claim 1, characterized in that The method of performing preset processing on the original shared data to obtain the target shared data includes: A hash operation is performed on the original shared data, and the processed data is used as the target shared data.
3. The method according to claim 1 or 2, characterized in that: The data to be shared also includes data description information, and the data description information is used to describe the function of the target shared data on the blockchain node in the shared alliance chain.
4. A data processing method based on blockchain, applied to blockchain nodes in a shared alliance chain, characterized in that: include: Sending a request for using the data to be shared; the data to be shared includes target shared data, the target shared data is obtained by performing preset processing on the original shared data, and the target shared data has a certain corresponding relationship with the original shared data; Receiving original shared data corresponding to the data to be shared; The target shared data is blacklist data, and the receiving of original shared data corresponding to the data to be shared includes: Establishing a network connection between the provider of the data to be shared and the user requester; Receive the original shared data corresponding to the target blacklist data through the network connection; wherein the target blacklist data is obtained by the user requesting party obtaining the first blacklist data published on the blockchain node in the shared alliance chain and the second blacklist data published by the provider of the data to be shared on the blockchain node in the shared alliance chain, and is obtained according to the intersection between the first blacklist data and the second blacklist data; Among them, it also includes: Sending an audit request so that after the audit request is passed, the user requesting party of the data to be shared is added to the data authorization list, the authorization list is published on the blockchain node in the shared alliance chain, and the user requesting party included in the data authorization list has the authorization-free authority; wherein, the data to be shared also includes a data score, and the data score is the score given by the user requesting party after obtaining the data of the blockchain node in the shared alliance chain; wherein the user to be shared in the shared alliance chain adopts a pass point system, and the method also includes: when it is detected that the user requesting party obtains the original shared data sent by the provider of the shared data, the user requesting party reduces a preset amount of pass points, and the provider of the shared data increases a preset amount of pass points.
5. A data processing system based on blockchain, characterized in that: The system includes a first blockchain node and a second blockchain node in a shared alliance chain; A first blockchain node is used to publish data to be shared, wherein the data to be shared includes target shared data, wherein the target shared data is obtained by performing preset processing on original shared data, and the target shared data has a certain corresponding relationship with the original shared data; The second blockchain node is used to send a request for using the data to be shared to the first blockchain node; Sending a review request, so that after the review request is passed, the user requesting the data to be shared is added to the data authorization list, the authorization list is published on the blockchain node in the shared alliance chain, and the user requesting party included in the data authorization list has the authorization-free permission; The first blockchain node is also used to receive a request to use the data to be shared, and send original shared data corresponding to the data to be shared; wherein the target shared data is blacklist data, and the sending of the original shared data corresponding to the data to be shared includes: obtaining first blacklist data published by the user requestor of the data to be shared on the blockchain node in the shared alliance chain and second blacklist data published by the provider of the data to be shared on the blockchain node in the shared alliance chain; using the intersection of the first blacklist data and the second blacklist data as target blacklist data; establishing a network connection between the provider of the data to be shared and the user requestor; obtaining the original shared data corresponding to the target blacklist data, and sending the original shared data to the user requestor through the network connection; wherein the sending of the original shared data corresponding to the data to be shared includes: determining whether the user requestor of the data to be shared has access to the data to be shared stored in the shared alliance chain. The method comprises the following steps: providing a review-free authorization for sharing data; if the authorization is available, sending the original shared data corresponding to the data to be shared to the user requesting party; if the authorization is not available, receiving the review request sent by the user requesting party, and if the review is passed, adding the user requesting party to the data authorization list, the authorization list is published on the blockchain node in the shared alliance chain, and the user requesting party included in the data authorization list has the authorization-free authority; and sending the original shared data corresponding to the data to be shared to the user requesting party; wherein the data to be shared also includes a data score, and the data score is the score given by the user requesting party after obtaining the data of the blockchain node in the shared alliance chain; wherein the party to be shared in the shared alliance chain adopts a pass points system, and the first blockchain node is also used for, when it is detected that the user requesting party obtains the original shared data sent by the provider of the shared data, the user requesting party reduces the pass points by a preset amount, and the provider of the shared data increases the pass points by a preset amount.
6. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; The processor is used to implement the steps of the blockchain-based data processing method described in any one of claims 1 to 4 when executing the program stored in the memory.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the blockchain-based data processing method as described in any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Medical data sharing system and method based on block chain
CN110289056A
Block chain-based fraudulent customer information sharing method and system, and equipment
CN110955729A