CN111711692B - Processing method and system of equipment data, electronic equipment and storage medium - Google Patents

Processing method and system of equipment data, electronic equipment and storage medium Download PDF

Info

Publication number
CN111711692B
CN111711692B CN202010549289.8A CN202010549289A CN111711692B CN 111711692 B CN111711692 B CN 111711692B CN 202010549289 A CN202010549289 A CN 202010549289A CN 111711692 B CN111711692 B CN 111711692B
Authority
CN
China
Prior art keywords
data
blockchain
equipment
client
blockchain client
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
Application number
CN202010549289.8A
Other languages
Chinese (zh)
Other versions
CN111711692A (en
Inventor
冯玉
吴建民
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BOE Technology Group Co Ltd
Beijing BOE Display Technology Co Ltd
Original Assignee
BOE Technology Group Co Ltd
Beijing BOE Display Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BOE Technology Group Co Ltd, Beijing BOE Display Technology Co Ltd filed Critical BOE Technology Group Co Ltd
Priority to CN202010549289.8A priority Critical patent/CN111711692B/en
Publication of CN111711692A publication Critical patent/CN111711692A/en
Application granted granted Critical
Publication of CN111711692B publication Critical patent/CN111711692B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The method, the system, the electronic device and the storage medium for processing the device data are applied to the technical field of data processing, the device provider and the device owner are connected into a blockchain network, and an interaction platform is arranged in the blockchain network to provide coordination, the interaction platform firstly transmits device data demand information of the device provider to the device owner so that the device owner provides device data meeting demands, then the desensitized device data are provided for the device provider, the device provider can know the device data before transaction is incomplete, risk of leakage of the device data can be avoided, finally intelligent contracts about the device data are generated in the blockchain network after the device provider confirms to realize device data transaction based on the blockchain, and safety of the device data transaction is guaranteed.

Description

Processing method and system of equipment data, electronic equipment and storage medium
Technical Field
The application belongs to the technical field of data processing, and particularly relates to a method and a system for processing equipment data, electronic equipment and a storage medium.
Background
The large amount of equipment data generated by daily operation of industrial equipment is an important data asset of equipment owners, and the equipment data not only can reflect production experience of the equipment owners, but also can help equipment providers to improve and optimize equipment.
However, since ownership of the device data is attributed to the device owner, it is difficult for the device provider to obtain the device data directly from the device owner, and purchase needs to be performed to the device owner, but the device data has a replicable characteristic, and there is a great security risk in the process of device data transaction, so that a scheme for securely performing the device data transaction is needed by those skilled in the art.
Disclosure of Invention
In view of this, a first aspect of the present application provides a method for processing device data, applied to an interaction platform, where the method includes:
transmitting device data requirement information of the first blockchain client to at least one second blockchain client;
the second block chain client in the block chain network releases equipment data aiming at the equipment data demand information, and sends the equipment data to the first block chain client after desensitization;
Under the condition that an intelligent contract generation instruction sent by the first blockchain client according to the desensitized equipment data is received, generating an intelligent contract between the first blockchain client and a second blockchain client in the blockchain network according to the data demand information and the equipment data;
and transmitting the data identification of the device data to the first blockchain client in the case that the intelligent contract is confirmed to be executed by the first blockchain client and the second client, so that the first blockchain client acquires the device data from the blockchain network according to the data identification of the device data.
Optionally, the device data requirement information includes: device data type, device data rules, the device data further comprising: contract rewards;
the generating a smart contract between the first and second blockchain clients in the blockchain network from the data demand information and the device data includes:
acquiring a data identifier of the equipment data;
and generating an intelligent contract between the first blockchain client and the second blockchain client in the blockchain network according to the equipment data type, the equipment data rule, the data identification of the equipment data and the contract rewards.
Optionally, the confirming that the smart contract is performed by the first blockchain client and the second client comprises:
and under the condition that the equipment data of the second blockchain client conforms to the equipment data type and the equipment data rule and the first blockchain client finishes paying according to the contract payment, the intelligent contract is confirmed to be executed and finished by the first blockchain client and the second client.
Optionally, the confirming that the device data of the second blockchain client conforms to the device data type and the device data rule includes:
and under the condition that the equipment data of the second blockchain client conforms to the equipment data type in a preset time period, the equipment data of the second blockchain client conforms to the equipment data type and the equipment data rule.
Optionally, before the generating an instruction according to the smart contract sent by the first blockchain client according to the desensitized device data, generating a smart contract between the first blockchain client and the second blockchain client in the blockchain network according to the data requirement information and the device data, the method further includes:
Receiving modification information of the first blockchain client for the desensitized device data;
forwarding the modification information to the second blockchain client;
acquiring modified equipment data released by the second blockchain client according to the modification information from the blockchain network;
and desensitizing the modified equipment data and then sending the desensitized equipment data to the first blockchain client.
Optionally, the blockchain network is a federation chain, and after confirming that the intelligent contract is completed by the first blockchain client and the second client, sending the data identifier of the device data to the first blockchain client, the method further includes:
the transaction process of the device data between the first blockchain client and the second blockchain client is recorded by a billing blockchain node in the federation chain.
Optionally, the device data includes: at least one of equipment running state parameters, fluctuation conditions of preset equipment parameters of equipment under the preset state parameters and association relations between the preset equipment state parameters and the product qualification rate.
According to a second aspect of the present application, there is provided a device data processing system, the system comprising an interaction platform, a first blockchain client and a second blockchain client,
The first blockchain client comprises a first sending module, a second sending module and a second sending module, wherein the first sending module is used for sending the requirement information to the interaction platform;
the interaction platform comprises a second sending module, wherein the second sending module is used for sending the equipment data requirement information of the first blockchain client to at least one second blockchain client;
the second blockchain client comprises a third sending module, a second sending module and a second sending module, wherein the third sending module is used for publishing equipment data to a blockchain network aiming at the equipment data;
the interaction platform further comprises a fourth sending module, wherein the fourth sending module is used for desensitizing equipment data issued by the second blockchain client side aiming at the equipment data demand information in the blockchain network and sending the equipment data to the first blockchain client side;
the generation module is used for generating an intelligent contract between the first blockchain client and the second blockchain client in the blockchain network according to the data demand information and the equipment data under the condition that an intelligent contract generation instruction sent by the first blockchain client according to the equipment data after desensitization is received;
and a fifth sending module, configured to send, when it is confirmed that execution of the intelligent contract by the first blockchain client and the second client is completed, a data identifier of the device data to the first blockchain client, so that the first blockchain client is used to acquire the target device data from the blockchain network according to the data identifier of the device data.
Optionally, the device data requirement information includes: device data type, device data rules, the device data further comprising: contract rewards;
the generating module is further configured to:
acquiring a data identifier of the equipment data;
and generating an intelligent contract between the first blockchain client and the second blockchain client in the blockchain network according to the equipment data type, the equipment data rule, the data identification of the equipment data and the contract rewards.
Optionally, the fifth sending module is further configured to:
and under the condition that the equipment data of the second blockchain client conforms to the equipment data type and the equipment data rule and the first blockchain client finishes paying according to the contract payment, the intelligent contract is confirmed to be executed and finished by the first blockchain client and the second client.
Optionally, the fifth sending module is further configured to:
and under the condition that the equipment data of the second blockchain client conforms to the equipment data type in a preset time period, the equipment data of the second blockchain client conforms to the equipment data type and the equipment data rule.
Optionally, the interaction platform further includes:
the receiving module is used for receiving modification information of the first blockchain client for the desensitized equipment data;
a forwarding module, configured to forward the modification information to the second blockchain client;
the acquisition module is used for acquiring modified equipment data released by the second blockchain client according to the modification information from the blockchain network;
and the sixth sending module is used for sending the modified equipment data to the first blockchain client after desensitizing the modified equipment data.
Optionally, the blockchain network is a coalition chain, and the interaction platform further includes:
and the recording module is used for recording the transaction process of the device data between the first blockchain client and the second blockchain client through the accounting blockchain node in the alliance chain.
Optionally, the device data includes: at least one of equipment running state parameters, fluctuation conditions of preset equipment parameters of equipment under the preset state parameters and association relations between the preset equipment state parameters and the product qualification rate.
According to a third aspect of the present application, there is provided a processing apparatus for device data, comprising:
One or more processors;
and a memory for storing one or more programs which, when executed by the one or more processors, enable the one or more processors to implement the method for processing device data according to the first aspect.
According to a fourth aspect of the present application, there is provided an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the method for processing device data according to the first aspect when executing the computer program.
According to a fifth aspect of the present application, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method for processing device data according to the first aspect described above.
Aiming at the prior art, the application has the following advantages:
according to the processing method, the system, the electronic equipment and the storage medium of the equipment data, the equipment provider and the equipment owner are connected into the blockchain network, and an interaction platform is arranged in the blockchain network to provide coordination, the interaction platform firstly transmits equipment data demand information of the equipment provider to the equipment owner so that the equipment owner provides equipment data meeting demands, then the desensitized equipment data is provided for the equipment provider, the equipment provider can know the equipment data before the transaction is not completed, the risk of equipment data leakage can be avoided, finally intelligent contracts about the equipment data are generated in the blockchain network after the equipment provider confirms to realize blockchain-based equipment data transaction, and the safety of equipment data transaction is guaranteed.
The foregoing description is only an overview of the technical solutions of the present application, and may be implemented according to the content of the specification in order to make the technical means of the present application more clearly understood, and in order to make the above-mentioned and other objects, features and advantages of the present application more clearly understood, the following detailed description of the present application will be given.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
fig. 1 is a step flowchart of a method for processing device data according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating steps of a method for distributed storage of device data according to an embodiment of the present application;
fig. 3 is an effect schematic diagram of a method for processing device data according to an embodiment of the present application;
FIG. 4 is a flowchart illustrating steps of another method for processing device data according to an embodiment of the present disclosure;
FIG. 5 is a logic diagram of a method for executing a smart contract according to an embodiment of the present application;
Fig. 6 is a schematic diagram of data transmission of a device data processing method according to an embodiment of the present application;
FIG. 7 is a block diagram of a device data processing system according to an embodiment of the present application;
fig. 8 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Fig. 1 is a processing method of device data, provided in an embodiment of the present application, applied to an interaction platform, where the method includes:
step 101, device data requirement information of a first blockchain client is sent to at least one second blockchain client.
In an embodiment of the present application, the interaction platform is a blockchain node in the blockchain network for coordinating transactions of device data between the first blockchain client and the second blockchain client. The first blockchain client refers to an interactive client installed in an electronic device of a device provider that typically needs to purchase device data generated by the device in daily operation from the device owner. The second blockchain client refers to an interactive client installed in the electronic device of the device owner. Each interactive client belongs to one blockchain node in the blockchain network, and the installation package of the interactive client can be stored in advance in each blockchain node of the blockchain network in a distributed mode by using an IPFS (Inter Planetary File System, interstellar file system), and after the equipment provider and the equipment owner can join the blockchain network, the installation package is downloaded from the blockchain network and installed in the electronic equipment of the installation package. The block chain network is a decentralized distributed account database composed of block chain nodes, wherein all the block chain nodes can communicate with each other to form a peer-to-peer network structure, and data generated by one block chain node can be simultaneously broadcast to other block chain nodes in the block chain network and can also be inquired and acquired from other block chain nodes. In the embodiment of the application, the blockchain node refers to a first blockchain client and a second blockchain client which participate in device data transaction and an interaction platform responsible for coordination work between the first blockchain client and the second blockchain client.
The device data requirement information may be input by the device provider according to its own requirement through the first blockchain client, for example: equipment basic information such as equipment name, equipment manufacturer, equipment model, equipment parameter name, equipment operation year and the like, time range of data generated by equipment in the operation process, parameter type, parameter value, association relation between parameters and product qualification rate and the like.
In practical application, the equipment provider is in need of optimizing and improving the produced equipment according to the equipment data produced in the running process of the equipment, equipment basic information of a second blockchain client in the interactive platform can be checked through the first blockchain client, the equipment basic information is uploaded to the interactive platform when the equipment owner accesses the blockchain network, and the interactive platform also integrates the equipment basic information and then checks the equipment basic information through the first blockchain client or other blockchain link points in the blockchain network. After the device provider checks the device basic information, the device provider can select the required device basic information according to the self requirements and send the selected device basic information to the interaction platform as device data requirement information.
And 102, desensitizing the equipment data issued by the second blockchain client aiming at the equipment data requirement information in the blockchain network, and then sending the equipment data to the first blockchain client.
In the embodiment of the present application, the device data refers to an index parameter generated by a device of a device owner in a running process, for example: equipment normal operation time, equipment downtime time, temperature and pressure values, motor power, a mechanical arm vibration curve and the like when the equipment is operated. And the second blockchain client uploads the device data integrated by the device owner according to the device data demand information to the blockchain network for distributed storage. However, since the data in the blockchain network is stored in an encrypted manner, if the data identification is needed to be queried, that is, the unique hash value of the data, the second blockchain client generates the data identification of the device data for storage when uploading the device data, and other users cannot query the device data from the blockchain network when not obtaining the data identification, so that the security of the storage of the device data can be ensured.
A distributed storage method of device data is provided with reference to fig. 2, in which device data corresponds to a unique hash value as a data identifier, and the device data is split into a plurality of data fragments to be stored in respective blockchain nodes of a blockchain network.
In practical application, because the device data has replicability, if the device data is directly and completely provided for the first blockchain client for the device provider to view, there may be a situation that the device data is infinitely duplicated without authorization of the device owner, so before the device data is provided for the first blockchain client, the device data can be subjected to desensitization processing, so that the device provider can view the desensitized device data through the first blockchain client before the transaction of the device data is completed, the situation of the device data is approximately known, and the security of the device data is ensured.
Step 103, under the condition that the intelligent contract generation instruction sent by the first blockchain client according to the desensitized equipment data is received, generating an intelligent contract between the first blockchain client and a second blockchain client in the blockchain network according to the data demand information and the equipment data.
In this embodiment of the present application, the smart contract is a digitally defined commitment that controls the digital asset and includes rights and obligations agreed by contract participants, which are automatically executed by the computer system according to the content included, in this embodiment of the present application, the data asset refers to device data, the contract participants refer to a first blockchain client and a second blockchain client, the agreed rights and obligations refer to the second blockchain client needing to provide device data that meets the data requirement information, the first blockchain client can acquire the device data after meeting the conditions required by the second blockchain client, for example, the first blockchain client needs to pay a certain payment, or the first blockchain client needs to have a specific identity or authority, or the first blockchain client needs to provide other data assets as exchanges, etc., and the content of the specific smart contract can be determined according to the actual requirement, which is not limited herein.
In practical application, after the equipment provider checks the desensitized equipment data, an intelligent contract generation instruction can be sent to the interactive platform through the first blockchain client side of the equipment provider, so that the interactive platform is triggered to generate an intelligent contract related to the equipment data on the blockchain platform, wherein the intelligent contract can comprise conditions required to be achieved by the first blockchain client side and the second blockchain client side, the conditions required to be achieved by the second blockchain client side are conditions required to be met by the equipment data provided by the second blockchain client side, the conditions required to be achieved by the first blockchain client side can be specifically set by the second blockchain client side, contract amount and the like can be automatically generated according to parameters such as data quantity and data complexity of the equipment data, and the intelligent contract can be specifically determined according to practical requirements, and the intelligent contract is not limited.
And 104, transmitting the data identification of the device data to the first blockchain client to enable the first blockchain client to acquire the device data from the blockchain network according to the data identification of the device data under the condition that the intelligent contract is confirmed to be executed by the first blockchain client and the second client.
In this embodiment, referring to the description of intelligence in step 103, whether the intelligent contract is completed, the device data is required to meet the device data requirement information, and the first blockchain client needs to meet the specific condition set forth by the second blockchain client, for example, the first blockchain client provides a certain reward or provides the data asset to be exchanged or has specific identity information, which can be specifically determined according to the actual requirement, and is not limited herein. After the intelligent contract is completed, the interactive platform sends the device identification of the device data to the first blockchain client, and the device provider can check the device data according to the device identification through the first blockchain client, so that the whole transaction process of the device data between the first blockchain client and the second blockchain client is completed.
The embodiment of the application is suitable for a scenario in which device data transaction is performed between a device manufacturer and a factory, and referring to fig. 3, an effect schematic diagram of a device data processing method provided by the embodiment of the application is shown, where a first blockchain client may belong to device manufacturers 1 and 2..n, that is, a device provider; the second blockchain client may be of factory 1, 2 … n, i.e., the device owner. The database of the equipment manufacturer and the factory is accessed into the blockchain network through the access gateway, so that the database is used as a blockchain node of the blockchain network to perform distributed storage on data in the blockchain network, equipment of the factory is connected with the database, equipment data generated in the operation process of the equipment can be stored in the database of the factory, and the equipment data can be uploaded to the blockchain network from the database. Thus, the equipment manufacturer of the first blockchain client can trade the equipment data with the factory of the second blockchain client through a transaction certificate, wherein the transaction certificate is a verification identifier provided by the blockchain network to the first blockchain client.
According to the processing method of the equipment data, the equipment provider and the equipment owners are connected into the blockchain network, and an interaction platform is arranged in the blockchain network to provide a coordination effect, the interaction platform firstly transmits equipment data demand information of the equipment provider to the equipment owners so that the equipment owners provide equipment data meeting demands, then the desensitized equipment data are provided for the equipment provider, the equipment provider can know the equipment data before the transaction is incomplete, the risk of equipment data leakage can be avoided, finally intelligent contracts about the equipment data are generated in the blockchain network after the equipment provider confirms to realize the equipment data transaction based on the blockchain, and the safety of the equipment data transaction is guaranteed.
Fig. 4 is another method for processing device data, provided in an embodiment of the present application, applied to an interaction platform, where the method includes:
step 201, device data requirement information of a first blockchain client is sent to at least one second blockchain client.
This step is described in detail with reference to step 101, and will not be described here.
Step 202, desensitizing the device data issued by the second blockchain client in the blockchain network aiming at the device data requirement information, and then sending the device data to the first blockchain client.
This step may be described in detail with reference to step 102, and will not be described here again.
Optionally, the device data includes: at least one of equipment running state parameters, fluctuation conditions of preset equipment parameters of equipment under the preset state parameters and association relations between the preset equipment state parameters and the product qualification rate.
In this embodiment of the present application, the preset operation state parameter refers to an index parameter of the device in a preset operation state, for example: normal operation time, equipment downtime, equipment idle time, etc. The preset device parameters of the device in the preset state parameters refer to index parameters of the device in the preset device state, for example: temperature, pressure value, motor power, mechanical arm vibration curve, etc. when the equipment is in normal operation. The association relationship between the preset device state parameter and the product qualification rate refers to the qualification rate of the device under the preset device state parameter, for example, the qualification rate of the content in a certain time range, the association relationship between the abnormally fluctuating device state parameter in the time range, and the like.
In step 203, modification information of the first blockchain client for the desensitized device data is received.
In this embodiment of the present application, after the device provider views the desensitized device data through the first blockchain client, if modification such as adding, deleting, replacing, etc. to the device data is required, the suggestion that the modification needs to be performed may be sent to the interaction platform as modification information.
And step 204, forwarding the modification information to the second blockchain client.
In this embodiment of the present application, the interaction platform may send the modification information to the second blockchain client through the internet, or may issue the modification information through the blockchain network, and then send the modification information hash value to the second blockchain client, so that the second blockchain client may obtain the modification information, which may specifically be determined according to actual requirements, and is not limited herein.
Step 205, obtaining modified device data issued by the second blockchain client according to the modification information from the blockchain network.
In this embodiment of the present application, after the second blockchain client displays the modification information to the device owner for viewing, the receiving device owner re-uploads the modified device information according to the modification information, and re-issues the modified device data to the blockchain network, which specifically may replace the original device data, and may also issue the modified device data, so as to retain the original device data. The hash value, i.e., the data identification, of the modified device data is provided to the interactive platform for the interactive platform to obtain the modified device data from the blockchain network.
And step 206, desensitizing the modified device data and then sending the desensitized device data to the first blockchain client.
In the embodiment of the present application, referring to the description of desensitization in step 102, the modified device data still needs to be desensitized and sent to the first blockchain client for viewing by the device provider.
According to the method and the device for processing the data, the modification information fed back by the first blockchain client is forwarded to the second blockchain client so that all parties of the device can modify the data of the device, and therefore the users can flexibly adjust the data of the device required to be processed according to the own requirements in the process of processing the data of the device, and the flexibility of processing the data of the device is improved.
Optionally, the device data requirement information includes: device data type, device data rules, the device data further comprising: contract rewards.
In the embodiment of the present application, the contract reward refers to a reward condition that the first blockchain client needs to provide to the second blockchain client, for example: a quantity of transaction currency, data assets as exchanges, and the like. The device data type refers to a data type that needs to be satisfied by the device data, and the device data rule refers to that all or part of index parameters of the device data need to meet conditions, for example: the whole or part of the data in the device data can continuously accord with the data type in a preset time period, or the continuous data duty ratio of the time points in the whole or part of the data in the device data reaches a duty ratio threshold value, and the like. The device data type, the device data rule, and the contract payment may be specifically set according to actual requirements, which are not limited herein.
Step 207, under the condition that the first blockchain client receives an intelligent contract generation instruction sent by the device data after desensitization, acquiring a data identifier of the device data.
In this embodiment of the present application, the data identifier of the device data may be provided by the first blockchain client, or may be automatically provided by the blockchain network to the interaction platform when the first blockchain client uploads the device data, specifically may be determined according to actual requirements, so long as the data identifier of the device data can be obtained, and the application is not limited herein.
Step 208, generating a smart contract between the first and second blockchain clients in the blockchain network based on the device data type, device data rules, and data identification and contract rewards of the device data.
In an embodiment of the present application, the smart contract includes a contract reward requiring payment by the first blockchain client and a device data rule requiring satisfaction of device data provided by the second blockchain client, and the smart contract is stored in the blockchain network in a distributed manner based on a point-to-point contract between the first blockchain client and the second blockchain client. Therefore, the intelligent contract can ensure the security of the device data and the privacy of the parameter persons without the need of a third party to provide credit guarantee and can also ensure the fairness of the device data transaction due to the distributed existence in the blockchain network.
Step 209, when it is confirmed that the device data of the second blockchain client conforms to the device data type and the device data rule, and it is confirmed that the first blockchain client completes payment according to the contract payment, it is confirmed that the intelligent contract is executed by the first blockchain client and the second client, and the data identifier of the device data is sent to the first blockchain client, so that the first blockchain client obtains the device data from the blockchain network according to the data identifier of the device data.
In the embodiment of the application, if the first blockchain client pays to the second blockchain client according to the contract payment in the intelligent contract, and the device data provided by the second blockchain client meets the device data type and the device data rule, the completion of the intelligent contract can be confirmed, and the device representation of the device data can be provided to the first blockchain client, so that the device provider can obtain the device data at the first blockchain client according to the data identifier.
Referring to fig. 5, a logic schematic diagram of an execution method of an intelligent contract according to an embodiment of the present application is shown. After the first blockchain client pays the contract, the intelligent contract pair starts to verify whether the equipment data provided by the second blockchain client accords with the equipment data type and the equipment data rule, and after the equipment data passes the verification, the equipment identification of the equipment data is sent to the first blockchain client. The execution process of the whole intelligent contract is authenticated in each block chain node in the block chain network at the same time, and the transaction process cannot be interfered by tampering with the data of the intelligent contract in a certain block chain node, so that the safety of equipment data transaction is ensured.
Optionally, the step 209 includes: and under the condition that the equipment data of the second blockchain client conforms to the equipment data type in a preset time period, the equipment data of the second blockchain client conforms to the equipment data type and the equipment data rule.
In this embodiment of the present application, in the verification process of the smart contract, the device data provided by the second blockchain client may specifically conform to the device data type within a preset period of time, for example: the pressure value in the equipment data needs to be a pressure value of 20 hours of normal continuous operation of the equipment, or the association relationship between the product percent of pass in the equipment data and the equipment operation parameters needs to be continuous within 2 hours, etc., and the association relationship can be specifically determined according to actual requirements without limitation.
Optionally, the blockchain network is a federated chain.
At step 210, a transaction process of device data between the first blockchain client and the second blockchain client is recorded by each blockchain node in the coalition chain.
In embodiments of the present application, a federated chain is a blockchain network that is open only to specific groups or members, where content may specify multiple blockchain nodes as accounting blockchain nodes, the generation of each blockchain node being determined by the accounting blockchain node, other blockchain nodes may participate in transactions but not in the accounting process. The adoption of the alliance chain can effectively supervise the transaction process of the equipment data, and meanwhile, the privacy of the whole transaction process can be guaranteed, and any details in the transaction cannot be acquired by other block link points except the participators.
Referring to fig. 6, a schematic data transmission diagram of a device data processing method according to an embodiment of the present application is shown, where the data transmission process is as follows:
the second blockchain client can input the basic information of the equipment into the blockchain network;
the interactive platform can download the interactive client from the blockchain network;
the first blockchain client sends the equipment data demand information to the second blockchain client through the interactive platform;
the second blockchain client integrates the local data to obtain the equipment data meeting the data demand information;
the second blockchain client sends the equipment data to the interactive platform through the blockchain network, and the interactive platform sends the desensitized equipment data to the first blockchain client again;
after paying the contract, the first blockchain client confirms that the transaction is completed by the interactive platform, and then the interactive platform.
A data identification of device data obtained from a blockchain network is sent to a first blockchain client.
According to the processing method of the equipment data, the equipment provider and the equipment owner are connected into the blockchain network, and an interaction platform is arranged in the blockchain network to provide a coordination effect, the interaction platform firstly transmits equipment data demand information of the equipment provider to the equipment owner so that the equipment owner provides equipment data meeting demands, then the desensitized equipment data is provided for the equipment provider, the equipment provider can know the equipment data before the transaction is incomplete, the risk of equipment data leakage can be avoided, finally intelligent contracts about the equipment data are generated in the blockchain network after the equipment provider confirms to realize the equipment data transaction based on the blockchain, and the safety of the equipment data transaction is guaranteed. And the device provider can provide modification information for the device data according to own requirements so that the device owner can modify the device data, the flexibility of device data transaction is improved, the intelligent contract can contain the device data types and the device data rules required by the device provider to normalize the effectiveness of the device data, and the device owner can pay the device provider through contract compensation, so that the effectiveness of device data transaction is ensured. In addition, the blockchain network of the scheme adopts the alliance chain, and records the transaction process through each accounting blockchain node in the alliance chain, so that the security of the equipment data transaction is further ensured.
Fig. 7 is a system 30 for processing device data, provided in an embodiment of the present application, the system including an interaction platform 31, a first blockchain client 32 and a second blockchain client 33,
the first blockchain client 32 includes a first sending module 321, configured to send the requirement information to the interaction platform 31;
the interaction platform 31 includes a second sending module 311, configured to send the device data requirement information of the first blockchain client 32 to at least one second blockchain client 33;
the second blockchain client 33 includes a third sending module 331 configured to issue device data to a blockchain network for the device data;
the interaction platform 31 further includes a fourth sending module 312, configured to desensitize the device data issued by the second blockchain client 33 for the device data requirement information in the blockchain network, and send the device data to the first blockchain client 32;
a generating module 313, configured to generate, in the blockchain network, a smart contract between the first blockchain client 32 and the second blockchain client 33 according to the data requirement information and the device data, in a case that a smart contract generating instruction sent by the first blockchain client 32 according to the device data after desensitization is received;
And a fifth sending module 314, configured to send, if it is confirmed that the execution of the smart contract by the first blockchain client 32 and the second client is completed, a data identifier of the device data to the first blockchain client 32, so that the first blockchain client 32 is configured to obtain, according to the data identifier of the device data, the target device data from the blockchain network.
Optionally, the device data requirement information includes: device data type, device data rules, the device data further comprising: contract rewards;
the generating module 313 is further configured to:
acquiring a data identifier of the equipment data;
a smart contract between the first and second blockchain clients 32, 33 is generated in the blockchain network based on the device data type, device data rules, and data identification and contract rewards of the device data.
Optionally, the fifth sending module 314 is further configured to:
in the case where it is confirmed that the device data of the second blockchain client 33 conforms to the device data type and the device data rule, and it is confirmed that the first blockchain client 32 completes payment in accordance with the contract consideration, it is confirmed that the smart contract is completed by the execution of the first and second blockchain clients 32 and 32.
Optionally, the fifth sending module 314 is further configured to:
and in the case that the device data of the second blockchain client 33 conforms to the device data type within a preset time period, confirming that the device data of the second blockchain client 33 conforms to the device data type and the device data rule.
Optionally, the interaction platform 31 further includes:
a receiving module 315, configured to receive modification information of the first blockchain client 32 for the desensitized device data;
a forwarding module 316, configured to forward the modification information to the second blockchain client 33;
an obtaining module 317, configured to obtain, from the blockchain network, modified device data published by the second blockchain client 33 according to the modification information;
a sixth sending module 318, configured to desensitize the modified device data to send to the first blockchain client 32.
Optionally, the blockchain network is a coalition chain, and the interaction platform 31 further includes:
a recording module 319 for recording, by a billing blockchain node in the federation chain, a transaction process of device data between the first blockchain client 32 and the second blockchain client 33.
Optionally, the device data includes: at least one of equipment running state parameters, fluctuation conditions of preset equipment parameters of equipment under the preset state parameters and association relations between the preset equipment state parameters and the product qualification rate.
According to the processing system for the equipment data, the equipment provider and the equipment owners are connected into the blockchain network, and an interaction platform is arranged in the blockchain network to provide a coordination effect, the interaction platform firstly sends equipment data demand information of the equipment provider to the equipment owners so that the equipment owners provide the equipment data meeting the demand, then the desensitized equipment data are provided for the equipment provider, the equipment provider can know the equipment data before the transaction is incomplete, the risk of equipment data leakage can be avoided, finally intelligent contracts about the equipment data are generated in the blockchain network after the equipment provider confirms to realize the equipment data transaction based on the blockchain, and the safety of the equipment data transaction is guaranteed.
For the embodiments of the system described above, the description is relatively simple, as it is substantially similar to the method embodiments, with reference to the description of the method embodiments in part.
The embodiment of the present application further provides an electronic device, as shown in fig. 8, including a processor 401, a communication interface 402, a memory 403, and a communication bus 404, where the processor 401, the communication interface 402, and the memory 403 complete communication with each other through the communication bus 404,
a memory 403 for storing a computer program;
the processor 401, when executing the program stored in the memory 403, implements the following steps:
transmitting device data requirement information of the first blockchain client to at least one second blockchain client; the second block chain client in the block chain network releases equipment data aiming at the equipment data demand information, and sends the equipment data to the first block chain client after desensitization; under the condition that an intelligent contract generation instruction sent by the first blockchain client according to the desensitized equipment data is received, generating an intelligent contract between the first blockchain client and a second blockchain client in the blockchain network according to the data demand information and the equipment data; and transmitting the data identification of the device data to the first blockchain client in the case that the intelligent contract is confirmed to be executed by the first blockchain client and the second client, so that the first blockchain client acquires the device data from the blockchain network according to the data identification of the device data.
The communication bus mentioned by the above terminal may be a peripheral component interconnect standard (Peripheral Component Interconnect, abbreviated as PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, abbreviated as EISA) bus, etc. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The communication interface is used for communication between the terminal and other devices.
The memory may include random access memory (Random Access Memory, RAM) or non-volatile memory (non-volatile memory), such as at least one disk memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP for short), etc.; but also digital signal processors (Digital Signal Processing, DSP for short), application specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), field-programmable gate arrays (Field-Programmable Gate Array, FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
In yet another embodiment provided herein, a computer readable storage medium is provided, in which instructions are stored, which when run on a computer, cause the computer to perform the method for processing device data according to any of the above embodiments.
In a further embodiment provided herein, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the method of processing device data as described in any of the above embodiments.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, for example, by wired (e.g., coaxial cable, optical fiber, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), etc.
It is noted that relational terms such as first and second, and the like are 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. Moreover, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In this specification, each embodiment is described in a related manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, as relevant to see a section of the description of method embodiments.
The foregoing description is only of the preferred embodiments of the present application and is not intended to limit the scope of the present application. Any modifications, equivalent substitutions, improvements, etc. that are within the spirit and principles of the present application are intended to be included within the scope of the present application.

Claims (10)

1. A method for processing device data, applied to an interactive platform, the method comprising:
transmitting device data requirement information of the first blockchain client to at least one second blockchain client;
the equipment data issued by the second blockchain client side aiming at the equipment data demand information in the blockchain network is desensitized and then sent to the first blockchain client side, so that the first blockchain client side views the desensitized equipment data; wherein, the equipment data is integrated and uploaded to a blockchain network by the second blockchain client according to the equipment data demand information;
under the condition that an intelligent contract generation instruction sent by the first blockchain client according to the desensitized equipment data is received, generating an intelligent contract between the first blockchain client and a second blockchain client in the blockchain network according to the data demand information and the equipment data;
And in the case that the intelligent contract is confirmed to be executed by the first blockchain client and the second client, sending the data identification of the device data to the first blockchain client so that the first blockchain client acquires the device data which is not desensitized from the blockchain network according to the data identification of the device data.
2. The method of claim 1, wherein the device data requirement information comprises: device data type, device data rules, the device data further comprising: contract rewards;
the generating a smart contract between the first and second blockchain clients in the blockchain network from the data demand information and the device data includes:
acquiring a data identifier of the equipment data;
and generating an intelligent contract between the first blockchain client and the second blockchain client in the blockchain network according to the equipment data type, the equipment data rule, the data identification of the equipment data and the contract rewards.
3. The method of claim 2, wherein said validating that said smart contract is performed by said first blockchain client and a second client comprises:
And under the condition that the equipment data of the second blockchain client conforms to the equipment data type and the equipment data rule and the first blockchain client finishes paying according to the contract payment, the intelligent contract is confirmed to be executed and finished by the first blockchain client and the second client.
4. The method of claim 3, wherein the confirming that the device data of the second blockchain client conforms to the device data type and device data rule comprises:
and under the condition that the equipment data of the second blockchain client conforms to the equipment data type in a preset time period, the equipment data of the second blockchain client conforms to the equipment data type and the equipment data rule.
5. The method of claim 1, wherein prior to generating the smart contract between the first and second blockchain clients in the blockchain network from the data demand information and the device data according to the smart contract generation instruction sent by the first blockchain client from the desensitized device data, further comprising:
Receiving modification information of the first blockchain client for the desensitized device data;
forwarding the modification information to the second blockchain client;
acquiring modified equipment data released by the second blockchain client according to the modification information from the blockchain network;
and desensitizing the modified equipment data and then sending the desensitized equipment data to the first blockchain client.
6. The method of claim 1, wherein the blockchain network is a federation chain, and wherein upon confirming that the intelligent contract is completed by execution by the first and second blockchain clients, transmitting the data identification of the device data to the first blockchain client further comprises:
the transaction process of the device data between the first blockchain client and the second blockchain client is recorded by a billing blockchain node in the federation chain.
7. The method of claim 1, wherein the device data comprises: at least one of equipment running state parameters, fluctuation conditions of preset equipment parameters of equipment under the preset state parameters and association relations between the preset equipment state parameters and the product qualification rate.
8. A processing system for device data, wherein the system comprises an interactive platform, a first blockchain client and a second blockchain client,
the first blockchain client comprises a first sending module, a second sending module and a second sending module, wherein the first sending module is used for sending the requirement information to the interaction platform;
the interaction platform comprises a second sending module, wherein the second sending module is used for sending the equipment data requirement information of the first blockchain client to at least one second blockchain client;
the second blockchain client comprises a third sending module, a second sending module and a second sending module, wherein the third sending module is used for publishing equipment data to a blockchain network aiming at the equipment data;
the interaction platform further comprises a fourth sending module, wherein the fourth sending module is used for desensitizing equipment data issued by the second blockchain client side aiming at the equipment data demand information in the blockchain network and then sending the equipment data to the first blockchain client side so that the first blockchain client side can check the desensitized equipment data; wherein, the equipment data is integrated and uploaded to a blockchain network by the second blockchain client according to the equipment data demand information;
the generation module is used for generating an intelligent contract between the first blockchain client and the second blockchain client in the blockchain network according to the data demand information and the equipment data under the condition that an intelligent contract generation instruction sent by the first blockchain client according to the equipment data after desensitization is received;
And a fifth sending module, configured to send, when it is confirmed that the execution of the intelligent contract by the first blockchain client and the second client is completed, a data identifier of the device data to the first blockchain client, so that the first blockchain client is used to obtain, according to the data identifier of the device data, target device data that is not desensitized from the blockchain network.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing a method of processing device data according to any one of claims 1 to 7 when the computer program is executed by the processor.
10. A computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, implements the method of processing device data according to any one of claims 1 to 7.
CN202010549289.8A 2020-06-16 2020-06-16 Processing method and system of equipment data, electronic equipment and storage medium Active CN111711692B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010549289.8A CN111711692B (en) 2020-06-16 2020-06-16 Processing method and system of equipment data, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010549289.8A CN111711692B (en) 2020-06-16 2020-06-16 Processing method and system of equipment data, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111711692A CN111711692A (en) 2020-09-25
CN111711692B true CN111711692B (en) 2023-06-20

Family

ID=72540710

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010549289.8A Active CN111711692B (en) 2020-06-16 2020-06-16 Processing method and system of equipment data, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111711692B (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106682984B (en) * 2016-10-27 2019-09-10 深圳壹账通智能科技有限公司 Transaction business process method and system based on block chain
US11252166B2 (en) * 2019-07-31 2022-02-15 Advanced New Technologies Co., Ltd. Providing data authorization based on blockchain
CN110889710B (en) * 2019-12-04 2021-10-22 腾讯科技(深圳)有限公司 Device information management method, server, and storage medium

Also Published As

Publication number Publication date
CN111711692A (en) 2020-09-25

Similar Documents

Publication Publication Date Title
CN107609848B (en) Intellectual property licensing method and system based on Internet of things
CN109190881B (en) Data asset management method, system and equipment
KR102573433B1 (en) Platform for trading energy using block chain and method thereof
US20190130394A1 (en) Systems and Methods to Validate Transactions For Inclusion in Electronic Blockchains
CN110717832B (en) Clean energy trading method, system, device and storage medium based on block chain
CN111460400B (en) Data processing method, device and computer readable storage medium
CN112150149A (en) Data tracing method and device based on block chain, computer equipment and storage medium
CN110838067B (en) Real estate transaction data processing method, device, server and storage medium
EP4338109A1 (en) Systems and methods for end-to-end verification of manufacturing workflows
Jiang et al. A Blockchain‐Based Vehicle Condition Recording System for Second‐Hand Vehicle Market
JP2023015223A (en) Systems and methods to validate transactions for inclusion in electronic blockchains
CN111967991A (en) Communication processing method for seafood food information monitoring based on Internet of things and block chain
CN117240605B (en) Data transaction method, device, equipment and storage medium
CN111711692B (en) Processing method and system of equipment data, electronic equipment and storage medium
CN116308749A (en) Interface fusing processing method and device, computer equipment and storage medium
CN116305217A (en) Multi-tenant management method, device, computer equipment and storage medium
CN116975901A (en) Identity verification method, device, equipment, medium and product based on block chain
CN110334540A (en) Insurance data exchange method, electronic device and computer equipment based on block chain
CN112559976B (en) Product authorization method and system
CN114154996A (en) Cross-block-chain data transfer method and system, storage medium and terminal
CN114386147A (en) Copyright protection method and system of BIM (building information modeling) model based on block chain and intelligent contract
KR100841382B1 (en) Service method and system for hallmark of agricultural and marine products
CN111144958B (en) Electronic invoice issuing method, device and system based on block chain
CN113094732A (en) Certificate storage data verification method, verification device, certificate storage method and certificate storage device
CN112699339A (en) Method, device and system for determining ownership of data product and storage medium

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