CN111800438B - Information processing method for realizing data sharing and related device - Google Patents
Information processing method for realizing data sharing and related device Download PDFInfo
- Publication number
- CN111800438B CN111800438B CN202010926983.7A CN202010926983A CN111800438B CN 111800438 B CN111800438 B CN 111800438B CN 202010926983 A CN202010926983 A CN 202010926983A CN 111800438 B CN111800438 B CN 111800438B
- Authority
- CN
- China
- Prior art keywords
- data
- sharing
- identity code
- decentralized
- shared
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/083—Network architectures or network communication protocols for network security for authentication of entities using passwords
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9532—Query formulation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Databases & Information Systems (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Data Mining & Analysis (AREA)
- Mathematical Physics (AREA)
- General Health & Medical Sciences (AREA)
- Software Systems (AREA)
- Bioethics (AREA)
- Health & Medical Sciences (AREA)
- Storage Device Security (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the application provides an information processing method for realizing data sharing and a related device, after a sharing client receives a data sharing request of a data requester, the information of the data requester is sent to a block chain, the block chain is triggered to carry out consensus verification on the data requester by using a preset intelligent contract, a sharing request feedback result sent by the block chain is received, the sharing request feedback result indicates that a secret key or the consensus verification does not pass, and the secret key is used for decrypting an encoding document of industrial data to be shared. The data requester is identified and verified, so that the risk that the data is stolen by an illegal data requester can be reduced. Furthermore, the safety of the shared information is ensured based on the characteristic that the data of the block chain is not easy to be tampered, and the possibility of the infinite data transmission degree is reduced because the shared information comprises the information of the owner of the industrial data to be shared, the information of the data requester, the identification of the intelligent contract and the feedback result of the sharing request.
Description
Technical Field
The present application relates to the field of data processing technologies, and in particular, to an information processing method and a related apparatus for implementing data sharing.
Background
At present, industrial data sharing is achieved mainly by signing a transaction contract under a line, and industrial data are interacted through an information medium (such as a hard disk).
The difficulty in industrial data sharing via the internet is: the network environment and the informatization technology cannot meet the characteristic of high privacy of industrial data. For example, once a database local to an enterprise accesses the internet, unsafe factors in the network may cause industrial data stored in the database to be stolen. Also for example, techniques such as copy and paste allow unlimited dissemination of data.
Therefore, how to ensure the safety of the industrial data on the basis of improving the industrial data sharing efficiency becomes a problem to be solved urgently.
Disclosure of Invention
In view of this, the present application provides an information processing method and a related apparatus for implementing data sharing, so as to ensure the security of industrial data on the basis of improving the industrial data sharing efficiency, as follows:
an information processing method for realizing data sharing is applied to a sharing client and comprises the following steps:
receiving a data sharing request of a data requester, wherein the data sharing request comprises: decentralized identity codes of industrial data to be shared;
sending the information of the data requester to a block chain, and triggering the block chain to use a preset intelligent contract to perform consensus verification on the data requester;
receiving a sharing request feedback result sent by the block chain, wherein the sharing request feedback result indicates that the secret key or the consensus verification fails; the key is used for decrypting a data decentralized document of the industrial data to be shared;
generating a decentralized identity code of a sharing operation and a corresponding shared decentralized document, wherein the identity code of the sharing operation uniquely identifies the sharing operation, and the shared decentralized document comprises: the decentralized identity code of the industrial data to be shared, the information of the owner of the industrial data to be shared, the information of the data requester, the identification of the intelligent contract and the sharing request feedback result;
and sending the centralized identity code of the sharing operation to the block chain storage.
Optionally, before the receiving the data sharing request of the data requester, the method further includes:
receiving a query request of the data requester, wherein the query request comprises keywords;
acquiring a query result, wherein the query result comprises a de-centering identity code of the industrial data queried according to the keyword; the inquired industrial data is the industrial data to be shared;
and displaying the query result, wherein the de-centering identity code in the query result is the de-centering identity code of the industrial data to be shared.
Optionally, the decentralized identity code in the query result includes:
the type indicator is used for indicating that the industrial data inquired according to the keyword is authorized public data;
the type indicator is used to prompt that the data requestor triggers the data sharing request.
Optionally, after the obtaining of the query result, the method further includes:
generating a decentralized identity code of a query operation and a corresponding query decentralized document, wherein the decentralized identity code of the query operation uniquely identifies the query operation;
the query recentered document includes: information of the data requester, the keyword, and a query result; wherein the query result is null if the industrial data is not queried according to the key;
and sending the decentralized identity code of the query operation to the block chain storage.
Optionally, after the generating the decentralized identity code of the query operation and the corresponding query decentralized document, the method further includes:
and adding the decentralized identity code of the query operation in the data decentralized document corresponding to the decentralized identity code in the query result.
Optionally, after obtaining the key indicated by the feedback result of the sharing request sent by the blockchain, the method further includes:
responding to the received data decentralized identity code, and sending an analysis request to a block chain server, wherein the analysis request comprises the decentralized identity code of the industrial data to be shared;
receiving a storage address of a decentralized document corresponding to the decentralized identity code of the industrial data to be shared, which is fed back by the block chain server;
acquiring a decentralized document of the industrial data to be shared from the storage address;
logging in an industrial data access address recorded in the decentralized document;
and after logging in the access address, inputting the key, and acquiring and outputting the data content of the industrial data to be shared.
Optionally, the decentralized identity code of the industrial data is obtained by converting an index code of the industrial data in a database of the owner;
the decentralized identity code comprises: presetting an identifier, an analysis method and a unique identifier;
the decentralized document comprises: the public key of the owner of the industrial data, the access address and the operation information, wherein the access address is a storage address of specific content of the industrial data, and the operation information comprises a decentralized identity code of the sharing operation and a decentralized identity code of the query operation related to the industrial data.
An information processing method for realizing data sharing is applied to an enterprise server, and comprises the following steps:
receiving a query request, wherein the query request comprises keywords; the query request is sent by the sharing client end in response to the query request of the data requester;
in a database, retrieving according to the keywords to obtain a decentralized identity code of the industrial data;
sending a query result to the sharing client, wherein the query result comprises a decentralized identity code of the industrial data; the query result is used to prompt the data request party to input a data sharing request to the sharing client, so as to trigger the sharing client to execute the information processing method for realizing data sharing according to claim 1.
An information processing method for realizing data sharing is applied to a block chain server and comprises the following steps:
receiving an analysis request sent by a sharing client, wherein the analysis request comprises a decentralized identity code of the data to be shared; the sharing client sends the analysis request after executing the information processing method for realizing data sharing;
inquiring the storage address of the decentralized document corresponding to the decentralized identity code from the block chain;
and sending the storage address to the sharing client.
A shared client, comprising: a shared request platform to:
receiving a data sharing request of a data requester, wherein the data sharing request comprises: decentralized identity codes of industrial data to be shared;
sending the information of the data requester to a block chain, and triggering the block chain to use a preset intelligent contract to perform consensus verification on the data requester;
receiving a sharing request feedback result sent by the block chain, wherein the sharing request feedback result indicates that the secret key or the consensus verification fails; the key is used for decrypting a data decentralized document of the industrial data to be shared;
generating a decentralized identity code of a sharing operation and a corresponding shared decentralized document, wherein the identity code of the sharing operation uniquely identifies the sharing operation, and the shared decentralized document comprises: the decentralized identity code of the industrial data to be shared, the information of the owner of the industrial data to be shared, the information of the data requester, the identification of the intelligent contract and the sharing request feedback result;
sending the decentralized identity code of the sharing operation to the block chain storage.
Optionally, the sharing client further includes: a data search platform to:
receiving a query request of the data requester, wherein the query request comprises keywords;
acquiring a query result, wherein the query result comprises a de-centering identity code of the industrial data queried according to the keyword; the inquired industrial data is the industrial data to be shared;
and displaying the query result, wherein the de-centering identity code in the query result is the de-centering identity code of the industrial data to be shared.
Optionally, the sharing client further includes: a data parser to:
responding to the received data decentralized identity code, and sending an analysis request to a block chain server, wherein the analysis request comprises the decentralized identity code of the industrial data to be shared;
receiving a storage address of a decentralized document corresponding to the decentralized identity code of the data to be shared, which is fed back by the block chain server;
acquiring a decentralized document of the industrial data to be shared from the storage address;
logging in an industrial data access address recorded in the decentralized document;
and after logging in the access address, inputting the key, and acquiring and outputting the data content of the industrial data to be shared.
An enterprise server, comprising:
a query request receiving unit, configured to receive a query request, where the query request includes a keyword; the query request is sent by the sharing client end in response to the query request of the data requester;
the identity code retrieval unit is used for retrieving the decentralized identity code of the industrial data in the database according to the keyword;
the query result sending unit is used for sending a query result to the sharing client, wherein the query result comprises the decentralized identity code of the industrial data; the query result is used for prompting the data request direction to input a data sharing request to the sharing client so as to trigger the sharing client to execute the information processing method for realizing data sharing.
A blockchain server, comprising:
the system comprises an analysis request receiving unit, a sharing client and a sharing server, wherein the analysis request receiving unit is used for receiving an analysis request sent by the sharing client, and the analysis request comprises a decentralized identity code of the data to be shared; the sharing client sends the analysis request after executing the information processing method for realizing data sharing;
the address query unit is used for querying the storage address of the decentralized document corresponding to the decentralized identity code from the block chain;
and the address sending unit is used for sending the storage address to the sharing client.
An information processing apparatus that realizes data sharing, comprising: a memory and a processor;
the memory is used for storing programs;
the processor is configured to execute the program to implement the steps of the information processing method for implementing data sharing as described above.
A readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the steps of the information processing method for implementing data sharing as described above.
According to the technical scheme, after receiving a data sharing request of a data requester, a sharing client sends information of the data requester to a block chain, the block chain is triggered to perform consensus verification on the data requester by using a preset intelligent contract, a sharing request feedback result sent by the block chain is received, the sharing request feedback result indicates that a secret key or the consensus verification fails, and the secret key is used for decrypting an encoded document of industrial data to be shared. The data requester is identified and verified, so that the risk that the data is stolen by an illegal data requester can be reduced. Furthermore, the shared client sends the shared information to the block chain for storage, the security of the shared information is ensured based on the characteristic that the data of the block chain is not easy to be tampered, and because the shared information comprises the information of the owner of the industrial data to be shared, the information of the data requester, the identifier of the intelligent contract and the feedback result of the sharing request, the data requester is restrained, and the possibility of infinite data transmission is reduced under the condition that the data requester obtains the authorization of the industrial data.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an information processing system for implementing data sharing according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a process of converting industrial data according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of a shared client querying industrial data according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart illustrating a process of implementing data sharing by a shared client interacting with a blockchain according to an embodiment of the present disclosure;
fig. 5 is a schematic flowchart of a process of sharing query data of a client according to an embodiment of the present application;
fig. 6 is a schematic flowchart of an information processing method for implementing data sharing according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a shared client according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an enterprise server according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a blockchain server according to an embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of an information processing apparatus for implementing data sharing according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The information processing method for implementing data sharing provided in the embodiment of the present application is applied to, but not limited to, the information processing system for implementing data sharing shown in fig. 1, and as shown in fig. 1, the information processing system for implementing data sharing includes an enterprise database (hereinafter referred to as a database in the drawings), an enterprise server, a block chain server, a sharing client, and a block chain. The database can be arranged in the enterprise local or the enterprise cloud. Block chain nodes are deployed on the block chain.
The enterprise server may be deployed locally to the enterprise or in the cloud of the enterprise, i.e., the server is operated by the enterprise. The blockchain server is operated by the owner of the blockchain.
The shared client can be downloaded and installed in advance by a data visitor, information interaction is established among the database, the enterprise server, the block chain server, the shared client and the block chain nodes, and the implementation mode for establishing the information interaction refers to the prior art.
The enterprise database may store, in advance, industrial data owned by an enterprise (for example, data related to goods owned by the enterprise) and an index code of the industrial data, where the index code of any industrial data uniquely indicates the industrial data. It should be noted that the disclosure level of the industrial data stored in the local database includes public data (disclosure level is 3 level), authorized public data (disclosure level is 2 level), and secret data (disclosure level is 1 level). The public data is industrial data which can be accessed by any data visitor, the authorized public data is industrial data which is only limited to the authorized data visitor, and the secret data is industrial data which cannot be accessed. It should be noted that the access operation includes a query operation, a sharing operation, and/or a parsing operation.
Before the information processing system for realizing data sharing realizes data sharing, an enterprise can convert industrial data in the database into decentralized data, and a foundation is laid for subsequent data sharing.
The conversion process of the industrial data is shown in fig. 2, and comprises the following steps:
s201, the enterprise server sends a data decentralized request to the blockchain server, wherein the data decentralized request comprises information of enterprises.
And S202, the node (hereinafter referred to as a blockchain node) on the blockchain triggered by the blockchain server performs consensus verification on the enterprise information, and after the consensus verification is passed, the data conversion response is sent to the enterprise server.
And if the consensus verification fails, sending prompt information of failing to pass the verification to the enterprise server.
And S203, after receiving the data conversion response, the enterprise server sends the index code, the storage address and the public level information of the industrial data in the database to the block chain server.
The storage address refers to an address of a storage space of the industrial data.
S204, the block chain server generates a decentralized identity code of the industrial data and a corresponding data decentralized document.
It should be noted that, the blockchain server re-encodes the index code according to a preset encoding rule to obtain the decentralized identity code of the industrial data. The encoding rules can be referred to in the prior art and are not described in detail here.
Specifically, the centralized identity code of any industrial data includes: the method comprises the steps of presetting an identification, an analysis method and a unique identification. The coding format of the decentralized identity code of the industrial data is as follows: "preset identification field: and analyzing a method field: the unique identification field' is used, wherein the value of the preset identification field indicates the coding form of the decentralized identity code of the industrial data, the value of the analysis method field indicates the analysis mode of the decentralized identity code of the industrial data, and the value of the unique identification field uniquely indicates one piece of industrial data.
Optionally, in order to improve readability of the decentralized identity of the industrial data, the decentralized identity of the industrial data further comprises a type indicator for indicating a disclosure level of the industrial data, as described above, the disclosure level indicating disclosure, authorization disclosure or secret, for example, the type indicator "s" indicates that the disclosure level of the industrial data is secret data.
In summary, an example of the decentralized identity code of the industrial data is: "decentralized identity: the decentralized identity code analysis method comprises the following steps: 123456djfuim-s ", wherein the value of the preset identification field is" decentralized identity ", which indicates that the encoding form is distributed identification, the value of the analysis method field is" decentralized identity analysis method ", which indicates that the analysis mode of the decentralized identity is decentralized identity analysis method. The value of the unique identification field is '23456 djfuim', which represents the unique code of the industrial data, wherein,'s' is a type indicator of the identity code of the industrial data, indicating that the industrial data to be shared is secret data.
Decentralized documentation of industrial data includes: the public key, access address, and operational information of the owner of the industrial data.
The access address is a storage address of specific content of the industrial data, specifically, the storage address of the public data may be a public URL, the storage address of the authorization data is an address requiring an authorization key, and the storage address of the secret data is null.
The operation information includes: the query information is a record for querying the industrial data corresponding to the document, specifically, a query decentralized identity code, and the shared information is a record for sharing the industrial data corresponding to the document, specifically, a shared decentralized identity code. In the initial (i.e., no query and sharing operations have been performed) case, the query information and the shared information are empty.
Optionally, the document includes two regions, a security level of the first region is higher than that of the second region, the first region is used for storing the query information and the shared information, and the first region may be only open to an owner of the industrial data, that is, an enterprise authority, so that the enterprise can query the query and shared records of the industrial data. The second area is used for storing the storage address of the industrial data.
S205, the block chain server sends the decentralized identity code of the industrial data to the enterprise server, and the enterprise server can correspondingly store the decentralized identity code and the industrial data to the database.
S206, the block chain server stores the data decentralized document of the industrial data.
Specifically, the data decentralized document may be stored in a block chain node, or, in order to save the space of the block chain node, the data decentralized document may also be stored in a content addressable network, such as ipfs, and queried in an anchoring manner, and the storage address of the encoded document of the query operation is sent to the block chain for storage.
The process shown in fig. 2 achieves the purpose of configuring decentralized identity codes and documents for the industrial data of an enterprise through the interaction of an enterprise server, a blockchain server and blockchain link points, and lays a foundation for subsequent industrial data sharing.
FIG. 3 is a process of a user of a shared client querying industrial data through the shared client, including the following steps:
s301, the sharing client responds to the query keyword of the data request party and sends a query request to the enterprise server.
Wherein, the user of the client can input the query keyword at the sharing client, for example: the query request includes the keywords "enterprise a", "cost of nut", and "production cycle", and the query keyword represents a request to initiate a query to the shared client for "cost of nut produced by enterprise a" and "production cycle of nut produced by enterprise a".
In this embodiment, the sharing client sends a query request including the keyword to a query interface in the enterprise server.
S302, the enterprise server receives the query request, and obtains the decentralized identity code of the industrial data to be shared according to the keyword query in the database.
Specifically, the industrial data is inquired in the database by using the keywords, and then the decentralized identity code corresponding to the industrial data is obtained.
S303, the enterprise server sends the query result to the sharing client.
In this embodiment, the query result includes a decentralized identity of the industrial data to be shared.
S304, the sharing client receives the query result.
S305, the sharing client displays the query result.
In this embodiment, the step of obtaining the decentralized identity code of the industrial data to be shared as the query result includes: a preset identifier, a parsing method, a unique identifier, and a type indicator.
In this embodiment, the identity code of any industrial data uniquely indicates a piece of pre-stored industrial data, for example, the industrial data to be queried includes: data 1 stored in the local database of enterprise a: cost of nut, and data 2: and in the production period of the nut, the shared client displays the decentralized identity code corresponding to the data 1 and the decentralized identity code corresponding to the data 2.
It should be noted that, in the case of a failure of the query (for example, the enterprise server does not retrieve the decentralized identity code of the industrial data according to the keyword), the shared client displays a prompt message indicating that the retrieval is not the result.
S306, the sharing client generates a decentralized identity code of the query operation and a corresponding query decentralized document.
In this embodiment, the decentralized identity code of the query operation uniquely identifies the query operation, and the encoding format of the decentralized identity code of the query operation may refer to the encoding format of the identity code of the industrial data.
Specifically, querying a decentralized document includes: information of the data inquirer, keywords, and the inquiry result (i.e. the data decentralized identity code of the industrial data as the inquiry result). And under the condition that the industrial data is not inquired according to the keywords, the inquiry result is null. Optionally, the query recentered document further includes a query time indicating a time at which execution of the query operation is complete.
In this embodiment, the query recentered document may be stored in the block chain, or may be stored in a content addressable network, for example, ipfs, and the query recentered document storage address is sent to the block chain for storage by an anchor query.
Optionally, in the case that no industrial data is queried, a special identifier may be set in the decentralized identity code of the query operation to indicate that the query operation of the identity code identifier does not query industrial data, and/or the query decentralized document corresponding to the decentralized identity code of the query operation is stored in a special storage area, and also indicate that the query operation of the identity code identifier does not query industrial data. The special storage space may be a storage space on a blockchain server.
Optionally, the special identifier may be set to be identifiable by only the operator of the blockchain, or the special storage space is accessible by only the operator of the blockchain, which is beneficial for the operator of the blockchain to know the deviation between the query intention and the actual industrial data.
S307, the sharing client sends the decentralized identity code of the query operation to the block chain storage.
S308, adding the decentralized identity code of the query operation in the data decentralized document of the queried industrial data by the sharing client.
Specifically, as described above, the decentralized identity code of the query operation is written into the first region of the data decentralized document of the queried industrial data.
As can be seen from the process shown in fig. 3, the sharing client provides the function of querying the industrial data, and can display the decentralized identity code of the industrial data to be queried. Furthermore, the query operation is recorded, so that subsequent tracing is facilitated.
After acquiring the decentralized identity code of the industrial data to be queried, the data visitor can confirm the disclosure level of the industrial data to be queried according to the type indicator, if the industrial data is authorized to be disclosed, authorization needs to be acquired, and fig. 4 shows a process in which the data visitor interacts with a block chain through a sharing client to realize data sharing, which includes the following steps:
s401, the sharing client sends the data sharing request to the block chain node.
In this embodiment, the data requester may input a decentralized identity code of the industrial data to be shared at the sharing client to trigger generation of a data sharing request, where the data sharing request includes: decentralized identity of industrial data to be shared and information of data requesting party. It should be noted that the decentralized identity of the industrial data to be shared is obtained by triggering a query operation at the sharing client by the data requestor.
Specifically, the sharing client may convert the data sharing request into a triggering parameter, where the triggering parameter includes an identity code of the industrial data to be shared and information of a data requester. The triggering parameter is used for triggering the block chain to carry out consensus verification on the data request party according to the intelligent contract.
S402, carrying out consensus verification on the data request party according to a preset intelligent contract by the block link points.
In this embodiment, the method for performing consensus verification on the intelligent contract parameters based on the consensus mechanism of the block chain may refer to the prior art.
And S403, if the verification is passed and the data requester passes the authorization, feeding back a sharing request feedback result of the indication key by the block link point.
The key is used for decrypting a data decentralized document of industrial data to be shared, and in the embodiment, the key comprises: the private key of the owner of the industrial data to be shared.
S404, if the verification fails, the data request party does not pass the authorization, the block link point feeds back a sharing request feedback result indicating that the consensus verification fails, and the data request party cannot decrypt the data decentralized document of the industrial data to be shared.
S405, the sharing client receives and displays the sharing request feedback result.
S406, the sharing client generates a decentralized identity code of the sharing operation and a corresponding sharing decentralized document.
In this embodiment, the decentralized identity code of the sharing operation uniquely identifies the sharing operation, and the coding format of the decentralized identity code of the sharing operation may refer to the coding format of the data decentralized identity code of the industrial data.
Specifically, sharing a decentralized document includes: the method comprises the steps of decentralizing identity codes of industrial data to be shared, information of owners of the industrial data to be shared, information of data requesters, identification of intelligent contracts and sharing request feedback results. Optionally, the shared decentralized document further comprises a sharing time indicating a time at which the execution of the sharing operation is completed.
In this embodiment, the shared decentralized document may be stored on the blockchain, or may be stored on a content addressable network, such as ipfs, and queried in an anchored manner, and the storage address of the shared decentralized document is stored by the blockchain.
S407, the sharing client sends the decentralized identity code of the sharing operation to the block chain storage.
S408, adding the decentralized identity code of the sharing operation in the data decentralized document of the industrial data to be shared by the sharing client.
Specifically, as described above, the decentralized identity code of the sharing operation is written into the first region in the data decentralized document of the industrial data to be shared.
As can be seen from the flow shown in fig. 4, the sharing client interacts with the blockchain, so that the sharing authorization of the industrial data can be realized, and the sharing operation is recorded, so that the behavior of the data requester can be restricted.
It should be noted that the interaction between the shared client and the blockchain node in the above process may be direct interaction between the shared client and the blockchain node, or may be indirect interaction through the blockchain server, which is not limited herein.
In the case of obtaining data authorization or data being public data, a data visitor may query specific content of the data through a shared client, specifically, as shown in the flow illustrated in fig. 5, the method includes the following steps:
s501, the sharing client side responds to the received data decentralized identity code and sends an analysis request to the block chain server.
The parsing request includes the received (i.e., to be parsed) data decentralized identity code.
Specifically, the data visitor may input a data decentralized identity code (which may be obtained by an inquiry process and authorized through a sharing process, in which case, the industrial data to be analyzed is the industrial data to be shared) of the industrial data to be analyzed at the sharing client, and the sharing client sends an analysis request to the blockchain server.
S502, the block chain server obtains the storage address of the decentralized document of the industrial data corresponding to the data decentralized identity code from the block chain.
S503, the blockchain server sends the storage address of the data decentralized document to the sharing client.
S504, the sharing client side obtains the data decentralized document of the industrial data to be shared from the storage address.
And S505, sharing the login data of the client to remove the industrial data access address recorded in the centralized document.
In this embodiment, the encoded document of the industrial data to be shared includes: the method comprises the steps of sharing the industrial data to be shared by the users, wherein the industrial data to be shared comprises a public key of an owner of the industrial data to be shared, an access address of the industrial data to be shared and operation identity codes related to the industrial data to be shared (including an identity code related to a sharing operation of the industrial data to be shared and an identity code related to a query operation). The industrial data access address to be shared indicates a storage address of specific data content of the industrial data to be shared.
If the data is public data, the data content can be directly displayed after the data access address is logged in. If the data is authorized to be disclosed, the following steps are executed:
and S506, after the sharing client logs in the access address, inputting a key, and acquiring and outputting the data content of the industrial data to be shared.
In this embodiment, the secret key is a private key of an industrial data owner to be shared, and the method for accessing the industrial data access address to be shared by using the private key may refer to the prior art.
As can be seen from the above flows of fig. 2 to fig. 5, the information processing method for implementing data sharing according to the embodiment of the present application at least achieves the following beneficial effects:
1. the method can realize the query operation, the sharing operation and the analysis operation of the data requester on the industrial data to be shared, wherein the industrial data to be shared is stored in a local database of an enterprise where the server is located, and the data requester can be other enterprises, individuals, industries or systems.
2. Before the sharing operation of the data to be shared is executed, the data requesting party is identified and verified based on the block chain common identification mechanism to determine whether the data requesting party is authorized, so that the risk that the illegal data requesting party steals the industrial data is reduced, and the safety of the industrial data is ensured.
3. The industrial data is stored in a grading mode, wherein the coded document of the authorized public data is encrypted through a key of a data owner, and the data requester can log in the storage address of the coded document and decrypt the storage address to obtain the specific content of the data by using the coded document and the key, so that the safety of industrial data sharing and circulation is further improved.
4. The shared information, the query information and the storage address of the coded document of the industrial data to be shared are sent to the block chain for storage, and the coded document is not easy to be tampered based on the characteristics of the block chain, so that the data requester is restrained, and the possibility of infinite data transmission is reduced.
5. The identity code of the operation event (query operation, sharing operation and analysis operation) related to the industrial data is uplink-stored by utilizing the structural characteristics and the generation mode of the identity code, the identity code of the operation event related to the industrial data is added into the identity code of the industrial data, and the correlation between the operation event and the identity code of the industrial data is completed while the uplink data storage capacity is reduced.
6. The specific content of the industrial data to be shared is stored in the database, however, the identity code of the industrial data to be shared is generated by the server and sent to the sharing client for displaying.
7. The identity code of the industrial data to be shared is obtained by recoding the index code by the server, and the index code is a data storage code pre-stored in a local database of an owner of the industrial data to be shared.
Fig. 6 illustrates a flowchart of an information processing method for implementing data sharing according to an embodiment of the present application. It should be noted that the information processing method for realizing data sharing shown in fig. 6 is applied to a sharing client. The method can include S601-S607.
S601, receiving a data sharing request of a data requester.
In this embodiment, the data requesting party may input a decentralized identity code of the industrial data to be shared at the sharing client to trigger generation of the data sharing request, and optionally, the data sharing request includes: decentralized identity codes of industrial data to be shared.
It should be noted that the data sharing request may further include: information of the data requestor.
And S602, sending the information of the data request party to the block chain, and triggering the block chain to use a preset intelligent contract to carry out consensus verification on the data request party.
In this embodiment, a method for performing consensus verification on a data requester based on a block chain consensus mechanism may refer to the prior art.
S603, receive a feedback result of the sharing request sent by the blockchain.
In this embodiment, the sharing request feedback result indicates that the key or the consensus verification fails.
It should be noted that, when the consensus verification of the data requester is passed based on the block chain consensus mechanism, the sharing request feedback result indicates the key, which indicates that the data requester passes the authorization, and the key is used to decrypt the data decentralized document of the industrial data to be shared.
When the consensus verification of the data request party based on the block chain consensus mechanism is not passed, the sharing request feedback result indicates that the consensus verification is not passed and the data request party is not authorized.
S604, generating a decentralized identity code of the sharing operation and a corresponding sharing decentralized document.
In this embodiment, the identity code shared by the sharing operation uniquely identifies the sharing operation, and the encoding format of the decentralized identity code of the sharing operation may refer to the encoding format of the data decentralized identity code of the industrial data, which is not described herein again.
In this embodiment, sharing the decentralized document includes: the method comprises the steps of decentralizing identity codes of industrial data to be shared, information of owners of the industrial data to be shared, information of data requesters, identification of intelligent contracts and sharing request feedback results. It should be noted that other data items, such as sharing time, are also included in the shared decentralized document, which is specifically referred to in S406 above.
S605, the centralized identity code of the sharing operation is sent to the block chain storage.
According to the technical scheme, after receiving a data sharing request of a data requester, a sharing client sends information of the data requester to a block chain, the block chain is triggered to perform consensus verification on the data requester by using a preset intelligent contract, a sharing request feedback result sent by the block chain is received, the sharing request feedback result indicates that a secret key or the consensus verification fails, and the secret key is used for decrypting an encoded document of industrial data to be shared. The data requester is identified and verified, so that the risk that the data is stolen by an illegal data requester can be reduced. Furthermore, the shared client sends the shared information to the block chain for storage, the security of the shared information is ensured based on the characteristic that the data of the block chain is not easy to be tampered, and because the shared information comprises the information of the owner of the industrial data to be shared, the information of the data requester, the identifier of the intelligent contract and the feedback result of the sharing request, the data requester is restrained, and the possibility of infinite data transmission is reduced under the condition that the data requester obtains the authorization of the industrial data.
Fig. 7 is a schematic structural diagram of a sharing client provided in an embodiment of the present application, and as shown in fig. 7, the sharing client may include: a data search platform 701, a sharing request platform 702, and a data parser 703. The following describes the specific structure and function of the sharing client.
In this embodiment, the data search platform may be specifically configured to:
receiving a query request of a data requester, wherein the query request comprises keywords;
acquiring a query result, wherein the query result comprises a de-centering identity code of the industrial data queried according to the keywords; the inquired industrial data is industrial data to be shared;
and displaying the query result, wherein the depocenter identity code in the query result is the depocenter identity code of the industrial data to be shared.
Optionally, the decentralized identity code in the query result includes:
the type indicator is used for indicating that the industrial data inquired according to the keywords are authorized public data;
the type indicator is used to prompt that the data requestor triggers a data sharing request.
Optionally, the data search platform is further configured to: after the results of the query have been obtained,
generating a decentralized identity code of the query operation and a corresponding query decentralized document, wherein the decentralized identity code of the query operation uniquely identifies the query operation; querying the decentralized document includes: information, keywords, and query results of the data requestor; wherein, under the condition that the industrial data is not inquired according to the key, the inquiry result is null;
the decentralized identity code of the query operation is sent to the blockchain storage.
Optionally, the data search platform is further configured to add the decentralized identity code of the query operation to the data decentralized document corresponding to the decentralized identity code in the query result after the decentralized identity code of the query operation and the corresponding query decentralized document are generated.
In this embodiment, the sharing request platform may specifically be configured to:
receiving a data sharing request of a data requester, wherein the data sharing request comprises: decentralized identity codes of industrial data to be shared;
sending the information of the data request party to a block chain, triggering the block chain to use a preset intelligent contract, and carrying out consensus verification on the data request party;
receiving a sharing request feedback result sent by a block chain, wherein the sharing request feedback result indicates that a secret key or consensus verification fails; the key is used for decrypting a data decentralized document of the industrial data to be shared;
generating a decentralized identity code of the sharing operation and a corresponding shared decentralized document, wherein the identity code of the sharing operation uniquely identifies the sharing operation, and the shared decentralized document comprises: the method comprises the steps that a decentralized identity code of industrial data to be shared, information of an owner of the industrial data to be shared, information of a data requester, an identification of an intelligent contract and a sharing request feedback result are obtained;
the decentralized identity of the sharing operation is sent to the blockchain storage.
In this embodiment, the data parser may specifically be configured to:
responding to the received data decentralized identity code, and sending an analysis request to a block chain server, wherein the analysis request comprises the decentralized identity code of the industrial data to be shared;
receiving a storage address of a decentralized document corresponding to the decentralized identity code of the data to be shared, which is fed back by the block chain server;
acquiring a decentralized document of the industrial data to be shared from the storage address;
logging in an industrial data access address recorded in the decentralized document;
and after logging in the access address, inputting the key, and acquiring and outputting the data content of the industrial data to be shared.
Optionally, the decentralized identity code of the industrial data is obtained by converting an index code of the industrial data in a database of the owner; the decentralized identity code comprises: presetting an identifier, an analysis method and a unique identifier; the decentralized document comprises: the method comprises the steps of obtaining public keys of owners of the industrial data, access addresses and operation information, wherein the access addresses are storage addresses of specific contents of the industrial data, and the operation information comprises decentralized identity codes of sharing operations related to the industrial data and decentralized identity codes of query operations.
Fig. 8 is a schematic structural diagram of an enterprise server according to an embodiment of the present application, and as shown in fig. 8, the enterprise server includes a query request receiving unit 801, an identity code retrieving unit 802, and a query result sending unit 803.
A query request receiving unit, configured to receive a query request, where the query request includes a keyword; the query request is sent by the sharing client end in response to the query request of the data requester;
the identity code retrieval unit is used for retrieving the decentralized identity code of the industrial data in the database according to the keyword;
the query result sending unit is used for sending a query result to the sharing client, wherein the query result comprises the decentralized identity code of the industrial data; and the query result is used for prompting the data request direction to input a data sharing request to the sharing client so as to trigger the sharing client to realize the information processing method of data sharing.
Fig. 9 is a schematic structural diagram of a block chain server according to an embodiment of the present application, and as shown in fig. 9, an enterprise server includes a parsing request receiving unit 901, an address querying unit 902, and an address sending unit 903.
An analysis request receiving unit 901, configured to receive an analysis request sent by a sharing client, where the analysis request includes a decentralized identity code of the data to be shared; the sharing client sends the analysis request after executing the information processing method for realizing data sharing in claim 1;
an address query unit 902, configured to query, from the blockchain, a storage address of the decentralized document corresponding to the decentralized identity code;
an address sending unit 903, configured to send the storage address to the shared client.
An information processing apparatus for implementing data sharing is further provided in an embodiment of the present application, please refer to fig. 10, which shows a schematic structural diagram of the information processing apparatus for implementing data sharing, and the apparatus may include: at least one processor, 1001, at least one communication interface 1002, at least one memory, 1003 and at least one communication bus, 1004;
in the embodiment of the present application, the number of the processor 1001, the communication interface 1002, the memory 1003, and the communication bus 1004 is at least one, and the processor 1001, the communication interface 1002, and the memory 1003 complete communication with each other through the communication bus 1004;
the processor 1001 may be a central processing unit CPU, or an application Specific Integrated circuit asic, or one or more Integrated circuits configured to implement embodiments of the present invention, etc.;
the memory 1003 may include a high-speed RAM memory, and may further include a non-volatile memory (non-volatile memory) or the like, such as at least one disk memory;
the information processing method for realizing data sharing provided by the embodiment of the application is realized by storing the program in the memory and executing the program stored in the memory by the processor, and comprises the following steps:
an information processing method for realizing data sharing is applied to a sharing client and comprises the following steps:
receiving a data sharing request of a data requester, wherein the data sharing request comprises: decentralized identity codes of industrial data to be shared;
sending the information of the data requester to a block chain, and triggering the block chain to use a preset intelligent contract to perform consensus verification on the data requester;
receiving a sharing request feedback result sent by the block chain, wherein the sharing request feedback result indicates that the secret key or the consensus verification fails; the key is used for decrypting a data decentralized document of the industrial data to be shared;
generating a decentralized identity code of a sharing operation and a corresponding shared decentralized document, wherein the identity code of the sharing operation uniquely identifies the sharing operation, and the shared decentralized document comprises: the decentralized identity code of the industrial data to be shared, the information of the owner of the industrial data to be shared, the information of the data requester, the identification of the intelligent contract and the sharing request feedback result;
and sending the centralized identity code of the sharing operation to the block chain storage.
Optionally, before the receiving the data sharing request of the data requester, the method further includes:
receiving a query request of the data requester, wherein the query request comprises keywords;
acquiring a query result, wherein the query result comprises a de-centering identity code of the industrial data queried according to the keyword; the inquired industrial data is the industrial data to be shared;
and displaying the query result, wherein the de-centering identity code in the query result is the de-centering identity code of the industrial data to be shared.
Optionally, the decentralized identity code in the query result includes:
the type indicator is used for indicating that the industrial data inquired according to the keyword is authorized public data;
the type indicator is used to prompt that the data requestor triggers the data sharing request.
Optionally, after the obtaining of the query result, the method further includes:
generating a decentralized identity code of a query operation and a corresponding query decentralized document, wherein the decentralized identity code of the query operation uniquely identifies the query operation;
the query recentered document includes: information of the data requester, the keyword, and a query result; wherein the query result is null if the industrial data is not queried according to the key;
and sending the decentralized identity code of the query operation to the block chain storage.
Optionally, after the generating the decentralized identity code of the query operation and the corresponding query decentralized document, the method further includes:
and adding the decentralized identity code of the query operation in the data decentralized document corresponding to the decentralized identity code in the query result.
Optionally, after obtaining the key indicated by the feedback result of the sharing request sent by the blockchain, the method further includes:
responding to the received data decentralized identity code, and sending an analysis request to a block chain server, wherein the analysis request comprises the decentralized identity code of the industrial data to be shared;
receiving a storage address of a decentralized document corresponding to the decentralized identity code of the industrial data to be shared, which is fed back by the block chain server;
acquiring a decentralized document of the industrial data to be shared from the storage address;
logging in an industrial data access address recorded in the decentralized document;
and after logging in the access address, inputting the key, and acquiring and outputting the data content of the industrial data to be shared.
Optionally, the decentralized identity code of the industrial data is obtained by converting an index code of the industrial data in a database of the owner;
the decentralized identity code comprises: presetting an identifier, an analysis method and a unique identifier;
the decentralized document comprises: the public key of the owner of the industrial data, the access address and the operation information, wherein the access address is a storage address of specific content of the industrial data, and the operation information comprises a decentralized identity code of the sharing operation and a decentralized identity code of the query operation related to the industrial data.
An information processing method for realizing data sharing is applied to an enterprise server, and comprises the following steps:
receiving a query request, wherein the query request comprises keywords; the query request is sent by the sharing client end in response to the query request of the data requester;
in a database, retrieving according to the keywords to obtain a decentralized identity code of the industrial data;
sending a query result to the sharing client, wherein the query result comprises a decentralized identity code of the industrial data; the query result is used to prompt the data request party to input a data sharing request to the sharing client, so as to trigger the sharing client to execute the information processing method for realizing data sharing according to claim 1.
An information processing method for realizing data sharing is applied to a block chain server and comprises the following steps:
receiving an analysis request sent by a sharing client, wherein the analysis request comprises a decentralized identity code of the data to be shared; the sharing client sends the analysis request after executing the information processing method for realizing data sharing;
inquiring the storage address of the decentralized document corresponding to the decentralized identity code from the block chain;
and sending the storage address to the sharing client.
An embodiment of the present application further provides a readable storage medium, where a computer program suitable for being executed by a processor may be stored, and when the computer program is executed by the processor, the information processing method for implementing data sharing provided in the embodiment of the present application includes:
an information processing method for realizing data sharing is applied to a sharing client and comprises the following steps:
receiving a data sharing request of a data requester, wherein the data sharing request comprises: decentralized identity codes of industrial data to be shared;
sending the information of the data requester to a block chain, and triggering the block chain to use a preset intelligent contract to perform consensus verification on the data requester;
receiving a sharing request feedback result sent by the block chain, wherein the sharing request feedback result indicates that the secret key or the consensus verification fails; the key is used for decrypting a data decentralized document of the industrial data to be shared;
generating a decentralized identity code of a sharing operation and a corresponding shared decentralized document, wherein the identity code of the sharing operation uniquely identifies the sharing operation, and the shared decentralized document comprises: the decentralized identity code of the industrial data to be shared, the information of the owner of the industrial data to be shared, the information of the data requester, the identification of the intelligent contract and the sharing request feedback result;
and sending the centralized identity code of the sharing operation to the block chain storage.
Optionally, before the receiving the data sharing request of the data requester, the method further includes:
receiving a query request of the data requester, wherein the query request comprises keywords;
acquiring a query result, wherein the query result comprises a de-centering identity code of the industrial data queried according to the keyword; the inquired industrial data is the industrial data to be shared;
and displaying the query result, wherein the de-centering identity code in the query result is the de-centering identity code of the industrial data to be shared.
Optionally, the decentralized identity code in the query result includes:
the type indicator is used for indicating that the industrial data inquired according to the keyword is authorized public data;
the type indicator is used to prompt that the data requestor triggers the data sharing request.
Optionally, after the obtaining of the query result, the method further includes:
generating a decentralized identity code of a query operation and a corresponding query decentralized document, wherein the decentralized identity code of the query operation uniquely identifies the query operation;
the query recentered document includes: information of the data requester, the keyword, and a query result; wherein the query result is null if the industrial data is not queried according to the key;
and sending the decentralized identity code of the query operation to the block chain storage.
Optionally, after the generating the decentralized identity code of the query operation and the corresponding query decentralized document, the method further includes:
and adding the decentralized identity code of the query operation in the data decentralized document corresponding to the decentralized identity code in the query result.
Optionally, after obtaining the key indicated by the feedback result of the sharing request sent by the blockchain, the method further includes:
responding to the received data decentralized identity code, and sending an analysis request to a block chain server, wherein the analysis request comprises the decentralized identity code of the industrial data to be shared;
receiving a storage address of a decentralized document corresponding to the decentralized identity code of the industrial data to be shared, which is fed back by the block chain server;
acquiring a decentralized document of the industrial data to be shared from the storage address;
logging in an industrial data access address recorded in the decentralized document;
and after logging in the access address, inputting the key, and acquiring and outputting the data content of the industrial data to be shared.
Optionally, the decentralized identity code of the industrial data is obtained by converting an index code of the industrial data in a database of the owner;
the decentralized identity code comprises: presetting an identifier, an analysis method and a unique identifier;
the decentralized document comprises: the public key of the owner of the industrial data, the access address and the operation information, wherein the access address is a storage address of specific content of the industrial data, and the operation information comprises a decentralized identity code of the sharing operation and a decentralized identity code of the query operation related to the industrial data.
An information processing method for realizing data sharing is applied to an enterprise server, and comprises the following steps:
receiving a query request, wherein the query request comprises keywords; the query request is sent by the sharing client end in response to the query request of the data requester;
in a database, retrieving according to the keywords to obtain a decentralized identity code of the industrial data;
sending a query result to the sharing client, wherein the query result comprises a decentralized identity code of the industrial data; and the query result is used for prompting the data request direction to input a data sharing request to the sharing client so as to trigger the sharing client to execute the information processing method for realizing data sharing.
An information processing method for realizing data sharing is applied to a block chain server and comprises the following steps:
receiving an analysis request sent by a sharing client, wherein the analysis request comprises a decentralized identity code of the data to be shared; the sharing client sends the analysis request after executing the information processing method for realizing data sharing;
inquiring the storage address of the decentralized document corresponding to the decentralized identity code from the block chain;
and sending the storage address to the sharing client.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (16)
1. An information processing method for realizing data sharing is applied to a sharing client, and the method comprises the following steps:
receiving a data sharing request of a data requester, wherein the data sharing request comprises: decentralized identity codes of industrial data to be shared;
sending the information of the data requester to a block chain, and triggering the block chain to use a preset intelligent contract to perform consensus verification on the data requester;
receiving a sharing request feedback result sent by the block chain, wherein the sharing request feedback result indicates that the secret key or the consensus verification fails; the key is used for decrypting a data decentralized document of the industrial data to be shared;
generating a decentralized identity code of a sharing operation and a corresponding shared decentralized document, wherein the identity code of the sharing operation uniquely identifies the sharing operation, and the shared decentralized document comprises: the decentralized identity code of the industrial data to be shared, the information of the owner of the industrial data to be shared, the information of the data requester, the identification of the intelligent contract and the sharing request feedback result;
and sending the centralized identity code of the sharing operation to the block chain storage.
2. The method of claim 1, prior to the receiving a data sharing request of a data requestor, further comprising:
receiving a query request of the data requester, wherein the query request comprises keywords;
acquiring a query result, wherein the query result comprises a de-centering identity code of the industrial data queried according to the keyword; the inquired industrial data is the industrial data to be shared;
and displaying the query result, wherein the de-centering identity code in the query result is the de-centering identity code of the industrial data to be shared.
3. The method of claim 2, wherein the decentralized identity code in the query result comprises:
the type indicator is used for indicating that the industrial data inquired according to the keyword is authorized public data;
the type indicator is used to prompt that the data requestor triggers the data sharing request.
4. The method of claim 2, after obtaining the query result, further comprising:
generating a decentralized identity code of a query operation and a corresponding query decentralized document, wherein the decentralized identity code of the query operation uniquely identifies the query operation;
the query recentered document includes: information of the data requester, the keyword, and a query result; wherein the query result is null if the industrial data is not queried according to the key;
and sending the decentralized identity code of the query operation to the block chain storage.
5. The method of claim 4, further comprising, after generating the decentralized identity code of the query operation and the corresponding query decentralized document:
and adding the decentralized identity code of the query operation in the data decentralized document corresponding to the decentralized identity code in the query result.
6. The method of claim 1, further comprising, after obtaining the key indicated by the feedback result of the sharing request sent by the blockchain, the following steps:
responding to the received data decentralized identity code, and sending an analysis request to a block chain server, wherein the analysis request comprises the decentralized identity code of the industrial data to be shared;
receiving a storage address of a decentralized document corresponding to the decentralized identity code of the industrial data to be shared, which is fed back by the block chain server;
acquiring a decentralized document of the industrial data to be shared from the storage address;
logging in an industrial data access address recorded in the decentralized document;
and after logging in the access address, inputting the key, and acquiring and outputting the data content of the industrial data to be shared.
7. The method according to any one of claims 1 to 6, wherein the decentralized identity code of the industrial data is obtained by converting an index code of the industrial data in a database of an owner;
the decentralized identity code of the industrial data comprises: presetting an identifier, an analysis method and a unique identifier;
decentralized documentation of industrial data includes: the public key of the owner of the industrial data, the access address and the operation information, wherein the access address is a storage address of specific content of the industrial data, and the operation information comprises a decentralized identity code of the sharing operation and a decentralized identity code of the query operation related to the industrial data.
8. An information processing method for realizing data sharing is applied to an enterprise server, and the method comprises the following steps:
receiving a query request, wherein the query request comprises keywords; the query request is sent by the sharing client end in response to the query request of the data requester;
in a database, retrieving according to the keywords to obtain a decentralized identity code of the industrial data;
sending a query result to the sharing client, wherein the query result comprises a decentralized identity code of the industrial data; the query result is used to prompt the data request party to input a data sharing request to the sharing client, so as to trigger the sharing client to execute the information processing method for realizing data sharing according to claim 1.
9. An information processing method for realizing data sharing is applied to a block chain server and comprises the following steps:
receiving an analysis request sent by a sharing client, wherein the analysis request comprises a decentralized identity code of the data to be shared; the sharing client sends the analysis request after executing the information processing method for realizing data sharing in claim 1;
inquiring the storage address of the decentralized document corresponding to the decentralized identity code from the block chain;
and sending the storage address to the sharing client.
10. A shared client, comprising: a shared request platform to:
receiving a data sharing request of a data requester, wherein the data sharing request comprises: decentralized identity codes of industrial data to be shared;
sending the information of the data requester to a block chain, and triggering the block chain to use a preset intelligent contract to perform consensus verification on the data requester;
receiving a sharing request feedback result sent by the block chain, wherein the sharing request feedback result indicates that the secret key or the consensus verification fails; the key is used for decrypting a data decentralized document of the industrial data to be shared;
generating a decentralized identity code of a sharing operation and a corresponding shared decentralized document, wherein the identity code of the sharing operation uniquely identifies the sharing operation, and the shared decentralized document comprises: the decentralized identity code of the industrial data to be shared, the information of the owner of the industrial data to be shared, the information of the data requester, the identification of the intelligent contract and the sharing request feedback result;
sending the decentralized identity code of the sharing operation to the block chain storage.
11. The shared client of claim 10, further comprising: a data search platform to:
receiving a query request of the data requester, wherein the query request comprises keywords;
acquiring a query result, wherein the query result comprises a de-centering identity code of the industrial data queried according to the keyword; the inquired industrial data is the industrial data to be shared;
and displaying the query result, wherein the de-centering identity code in the query result is the de-centering identity code of the industrial data to be shared.
12. The sharing client according to any of claims 10 or 11, further comprising: a data parser to:
responding to the received data decentralized identity code, and sending an analysis request to a block chain server, wherein the analysis request comprises the decentralized identity code of the industrial data to be shared;
receiving a storage address of a decentralized document corresponding to the decentralized identity code of the data to be shared, which is fed back by the block chain server;
acquiring a decentralized document of the industrial data to be shared from the storage address;
logging in an industrial data access address recorded in the decentralized document;
and after logging in the access address, inputting the key, and acquiring and outputting the data content of the industrial data to be shared.
13. An enterprise server, comprising:
a query request receiving unit, configured to receive a query request, where the query request includes a keyword; the query request is sent by the sharing client end in response to the query request of the data requester;
the identity code retrieval unit is used for retrieving the decentralized identity code of the industrial data in the database according to the keyword;
the query result sending unit is used for sending a query result to the sharing client, wherein the query result comprises the decentralized identity code of the industrial data; the query result is used to prompt the data request party to input a data sharing request to the sharing client, so as to trigger the sharing client to execute the information processing method for realizing data sharing according to claim 1.
14. A blockchain server, comprising:
the system comprises an analysis request receiving unit, a sharing client and a sharing server, wherein the analysis request receiving unit is used for receiving an analysis request sent by the sharing client, and the analysis request comprises a decentralized identity code of the data to be shared; the sharing client sends the analysis request after executing the information processing method for realizing data sharing in claim 1;
the address query unit is used for querying the storage address of the decentralized document corresponding to the decentralized identity code from the block chain;
and the address sending unit is used for sending the storage address to the sharing client.
15. An information processing apparatus that realizes data sharing, characterized by comprising: a memory and a processor;
the memory is used for storing programs;
the processor is configured to execute the program to implement the steps of the information processing method for implementing data sharing according to any one of claims 1 to 7, claim 8, or claim 9.
16. A readable storage medium on which a computer program is stored, the computer program, when being executed by a processor, implementing the steps of the information processing method for implementing data sharing according to any one of claims 1 to 7, claim 8 or claim 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010926983.7A CN111800438B (en) | 2020-09-07 | 2020-09-07 | Information processing method for realizing data sharing and related device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010926983.7A CN111800438B (en) | 2020-09-07 | 2020-09-07 | Information processing method for realizing data sharing and related device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111800438A CN111800438A (en) | 2020-10-20 |
CN111800438B true CN111800438B (en) | 2020-12-01 |
Family
ID=72834199
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010926983.7A Active CN111800438B (en) | 2020-09-07 | 2020-09-07 | Information processing method for realizing data sharing and related device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111800438B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113721833A (en) * | 2020-11-26 | 2021-11-30 | 北京沃东天骏信息技术有限公司 | Method for storing information, method, device, equipment and medium for acquiring information |
CN112613006B (en) * | 2020-12-18 | 2024-03-19 | 国网辽宁省电力有限公司物资分公司 | Power data sharing method and device, electronic equipment and storage medium |
CN113535663A (en) * | 2021-08-09 | 2021-10-22 | 恒安嘉新(北京)科技股份公司 | Data sharing processing method, device, equipment and medium based on block chain |
CN113704786A (en) * | 2021-08-25 | 2021-11-26 | 重庆沄析工业互联网有限公司 | Supply chain management method based on industrial internet identification analysis |
CN117453820A (en) * | 2023-10-27 | 2024-01-26 | 南京理工大学 | Industrial scene-oriented trusted data flow system and operation method thereof |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110009356A (en) * | 2019-04-16 | 2019-07-12 | 北京艾摩瑞策科技有限公司 | A kind of business datum cochain method and its system based on block chain |
CN110232287A (en) * | 2019-06-24 | 2019-09-13 | 北京艾摩瑞策科技有限公司 | Pass through the shared economic data cochain method and its equipment of block chain |
US10701054B2 (en) * | 2018-01-31 | 2020-06-30 | Salesforce.Com, Inc. | Systems, methods, and apparatuses for implementing super community and community sidechains with consent management for distributed ledger technologies in a cloud based computing environment |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107453865B (en) * | 2017-07-18 | 2020-09-11 | 众安信息技术服务有限公司 | Multi-party data sharing method and system for protecting privacy of data sending source |
CN109191296B (en) * | 2018-08-21 | 2023-05-26 | 众安信息技术服务有限公司 | Block chain-based digital asset automatic account checking method and readable storage medium |
CN109787815B (en) * | 2018-12-27 | 2019-11-12 | 云南财经大学 | Government information resources shared system based on block chain |
-
2020
- 2020-09-07 CN CN202010926983.7A patent/CN111800438B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10701054B2 (en) * | 2018-01-31 | 2020-06-30 | Salesforce.Com, Inc. | Systems, methods, and apparatuses for implementing super community and community sidechains with consent management for distributed ledger technologies in a cloud based computing environment |
CN110009356A (en) * | 2019-04-16 | 2019-07-12 | 北京艾摩瑞策科技有限公司 | A kind of business datum cochain method and its system based on block chain |
CN110232287A (en) * | 2019-06-24 | 2019-09-13 | 北京艾摩瑞策科技有限公司 | Pass through the shared economic data cochain method and its equipment of block chain |
Also Published As
Publication number | Publication date |
---|---|
CN111800438A (en) | 2020-10-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111800438B (en) | Information processing method for realizing data sharing and related device | |
US11063767B2 (en) | Apparatus and method to perform secure data sharing in a distributed network by using a blockchain | |
CN101779436B (en) | Tracking the origins of data and controlling data transmission | |
CN103051600A (en) | File access control method and system | |
CN101583952A (en) | Integrating enterprise search systems with custom access control application programming interfaces | |
US20190303378A1 (en) | APPLICATION PROGRAMMING INTERFACES ("APIs") FOR ACCESSING AND AMALGAMATING DATA FROM INCONGRUENT SOURCES | |
CN102089767A (en) | Authenticated database connectivity for unattended applications | |
CN1905446A (en) | Client-based method, system to manage multiple authentication | |
CN112529586B (en) | Transaction information management method, device, equipment and storage medium | |
CN112860778B (en) | Database management method, device, equipment and medium for desktop application program | |
CN112215609B (en) | House property user identity authentication method and device based on super account book and electronic equipment | |
US9665732B2 (en) | Secure Download from internet marketplace | |
CN111475823A (en) | Data sharing method, equipment, server and readable storage medium | |
Alessi et al. | A decentralized personal data store based on ethereum: Towards GDPR compliance | |
Riad et al. | Secure storage and retrieval of IoT data based on private information retrieval | |
CN113609147B (en) | Data sharing method and device and electronic equipment | |
CN115080537A (en) | Multi-tenant data partitioning method, program product and electronic device | |
CN108765615B (en) | Block chain-based card punching information storage method and system | |
CN114172663A (en) | Service right confirming method and device based on block chain, storage medium and electronic equipment | |
CN112884484A (en) | Enterprise identity authentication method and system based on block chain | |
Bergers et al. | Dwh-dim: a blockchain based decentralized integrity verification model for data warehouses | |
CN109412754A (en) | A kind of data storage, distribution and access method encoding cloud | |
CN109861958B (en) | Nginx-based data collection system and method | |
CN113343232B (en) | Counter crawler system | |
CN112260993B (en) | Method for verifying Token of third party of electronic certificate library |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |