CN111711692A - Method and system for processing equipment data, electronic equipment and storage medium - Google Patents

Method and system for processing equipment data, electronic equipment and storage medium Download PDF

Info

Publication number
CN111711692A
CN111711692A CN202010549289.8A CN202010549289A CN111711692A CN 111711692 A CN111711692 A CN 111711692A CN 202010549289 A CN202010549289 A CN 202010549289A CN 111711692 A CN111711692 A CN 111711692A
Authority
CN
China
Prior art keywords
device data
client
blockchain
data
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.)
Granted
Application number
CN202010549289.8A
Other languages
Chinese (zh)
Other versions
CN111711692B (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

Abstract

The scheme provides a method, a system, an electronic device and a storage medium for processing device data, which are applied to the technical field of data processing, wherein a device provider and a device owner are accessed into a block chain network, an interaction platform is arranged in the block chain network to provide coordination, the interactive platform first sends the device data requirement information of the device provider to the device owner, such that the device owner provides device data that meets the requirements, and then provides the de-sensitized device data to the device provider, before the transaction is not completed, the device provider can know the device data, the risk of device data leakage can be avoided, and finally, after the device provider confirms, an intelligent contract related to the device data is generated in the blockchain network to realize the device data transaction based on the blockchain, so that the security of the device data transaction is guaranteed.

Description

Method and system for processing equipment data, electronic equipment and storage medium
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a method and a system for processing device data, an electronic device, and a storage medium.
Background
The large amount of equipment data generated by daily operation of industrial equipment is an important data asset of the equipment owner, and the equipment data can reflect the production experience of the equipment owner and help the equipment provider to improve and optimize the equipment.
However, since the ownership of the device data belongs to the owner of the device, it is difficult for the device provider to obtain the device data directly from the owner of the device, and the device provider needs to purchase the device owner, but the device data has the characteristic of being reproducible, and there is a great security risk in the device data transaction process, so that a scheme for securely performing the device data transaction is urgently 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, which is applied to an interactive platform, and the method includes:
sending the equipment data requirement information of the first block chain client to at least one second block chain client;
desensitizing the device data issued by the second blockchain client in the blockchain network according to the device data demand information, and then sending the desensitized device data to the first blockchain client;
under the condition that an intelligent contract generating instruction sent by the first blockchain client according to the desensitized device 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 device data;
and under the condition that the intelligent contract is confirmed to be executed and completed by the first blockchain client and the second client, sending the data identifier of the equipment data to the first blockchain client, so that the first blockchain client acquires the equipment data from the blockchain network according to the data identifier of the equipment data.
Optionally, the device data requirement information includes: the device data type and the device data rule, the device data further comprises: a contract reward;
the 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 device data includes:
acquiring a data identifier of the equipment data;
and generating an intelligent contract between the first block chain client and the second block chain client in the block chain network according to the device data type, the device data rule, the data identification of the device data and the contract reward.
Optionally, the confirming that the smart contract is completed by the first blockchain client and the second client includes:
and under the condition that the device data of the second blockchain client accords with the device data type and the device data rule and the first blockchain client completes payment according to the contract reward, the intelligent contract is confirmed to be completed by the first blockchain client and the second client.
Optionally, the determining 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 device data of the second blockchain client accords with the device data type within a preset time period, confirming that the device data of the second blockchain client accords with the device data type and the device data rule.
Optionally, before the generating, according to the intelligent contract generation instruction sent by the first blockchain client according to the desensitized device data, 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 device data, the method further includes:
receiving modification information of the first blockchain client aiming at desensitized equipment data;
forwarding the modification information to the second blockchain client;
acquiring modified equipment data which is issued by the second blockchain client according to the modification information from the blockchain network;
desensitizing the modified device data and sending the desensitized device data to the first blockchain client.
Optionally, the block chain network is a federation chain, and after the data identifier of the device data is sent to the first block chain client when it is determined that the execution of the intelligent contract by the first block chain client and the second client is completed, the method further includes:
recording the transaction process of the device data between the first blockchain client and the second blockchain client through the accounting blockchain link point in the alliance chain.
Optionally, the device data includes: at least one of the equipment running state parameter, the fluctuation condition of the equipment preset parameter under the preset state parameter, and the incidence relation between the equipment preset state parameter and the product percent of pass.
According to a second aspect of the present application, there is provided a system for processing device data, the system comprising an interactive platform, a first blockchain client and a second blockchain client,
the first block chain client comprises a first sending module used for sending demand information to the interaction platform;
the interactive platform comprises a second sending module, a first block chain client and a second block chain client, wherein the second sending module is used for sending the equipment data requirement information of the first block chain client to the at least one second block chain client;
the second blockchain client comprises a third sending module for issuing the device data to a blockchain network aiming at the device data;
the interaction platform further comprises a fourth sending module, configured to send the device data, which is issued by the second blockchain client in the blockchain network according to the device data demand information, to the first blockchain client after desensitization;
a generating module, configured to generate 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 device data when receiving an intelligent contract generating instruction sent by the first blockchain client according to the desensitized device data;
a fifth sending module, configured to send the data identifier of the device data to the first blockchain client when it is determined that the intelligent contract is executed by the first blockchain client and the second client, so that the first blockchain client is used to obtain the target device data from the blockchain network according to the data identifier of the device data.
Optionally, the device data requirement information includes: the device data type and the device data rule, the device data further comprises: a contract reward;
the generation module is further configured to:
acquiring a data identifier of the equipment data;
and generating an intelligent contract between the first block chain client and the second block chain client in the block chain network according to the device data type, the device data rule, the data identification of the device data and the contract reward.
Optionally, the fifth sending module is further configured to:
and under the condition that the device data of the second blockchain client accords with the device data type and the device data rule and the first blockchain client completes payment according to the contract reward, the intelligent contract is confirmed to be completed by the first blockchain client and the second client.
Optionally, the fifth sending module is further configured to:
and under the condition that the device data of the second blockchain client accords with the device data type within a preset time period, confirming that the device data of the second blockchain client accords with the device data type and the device data rule.
Optionally, the interaction platform further includes:
a receiving module, configured to receive modification information of the first blockchain client for the desensitized device data;
a forwarding module, configured to forward the modification information to the second blockchain client;
an obtaining module, configured to obtain, from the blockchain network, modified device data that is issued by the second blockchain client according to the modification information;
a sixth sending module, configured to send the modified device data to the first blockchain client after desensitization.
Optionally, the blockchain network is a federation chain, and the interaction platform further includes:
and the recording module is used for recording the transaction process of the equipment data between the first block chain client and the second block chain client through the accounting block chain link point in the alliance chain.
Optionally, the device data includes: at least one of the equipment running state parameter, the fluctuation condition of the equipment preset parameter under the preset state parameter, and the incidence relation between the equipment preset state parameter and the product percent of pass.
According to a third aspect of the present application, there is provided an apparatus for processing device data, comprising:
one or more processors;
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 of processing device data of the first aspect described above.
According to a fourth aspect of the present application, there is provided an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements 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 on which a computer program is stored, the computer program, when executed by a processor, implementing the method for processing device data of the first aspect.
To prior art, this application possesses following advantage:
according to the device data processing method, the device provider and the device owner are connected to the blockchain network, the interaction platform is arranged in the blockchain network to provide a coordination effect, the interaction platform firstly sends device data requirement information of the device provider to the device owner so that the device owner provides device data meeting requirements, then the desensitized device data is provided to the device provider, the device provider can know the device data before transaction is not completed, the risk of device data leakage can be avoided, and finally an intelligent contract related to the device data is generated in the blockchain network after the device provider confirms to achieve device data transaction based on blockchains, and the security of device data transaction is guaranteed.
The foregoing description is only an overview of the technical solutions of the present application, and the present application can be implemented according to the content of the description in order to make the technical means of the present application more clearly understood, and the following detailed description of the present application is given in order to make the above and other objects, features, and advantages of the present application more clearly understandable.
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 refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating steps 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 disclosure;
fig. 3 is a schematic effect diagram of a method for processing device data according to an embodiment of the present application;
FIG. 4 is a flow chart 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 an intelligent contract according to an embodiment of the present application;
fig. 6 is a schematic data transmission diagram 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 disclosure;
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 method for processing device data provided in an embodiment of the present application, which is applied to an interaction platform, and the method includes:
step 101, sending the device data requirement information of the first blockchain client to at least one second blockchain client.
In an embodiment of the application, the interaction platform is a blockchain link point in a blockchain network for coordinating device data transactions between a first blockchain client and a second blockchain client. The first blockchain client refers to an interactive client installed in an electronic device of a device provider, which typically needs to purchase device data generated by the device during daily operations 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 a blockchain node in the blockchain network, the installation package of the interactive client can be pre-stored in each blockchain node of the blockchain network and is stored in a distributed manner by using an IPFS (Inter planar File System), and after an equipment provider and an equipment owner can join the blockchain network, the equipment provider and the equipment owner can download and install the equipment into own electronic equipment from the blockchain network. The block chain network is a decentralized distributed account book database composed of block chain link points, wherein all the block chain link points can communicate with each other to form a peer-to-peer mesh structure, and data generated by one block chain node can be simultaneously transmitted to other block chain link points in the block chain network and can also be inquired and acquired from other block chain nodes. In the embodiment of the present application, the blockchain node refers to a first blockchain client and a second blockchain client participating in the device data transaction and an interaction platform responsible for the coordination between the first blockchain client and the second blockchain client.
The device data requirement information may be input by the device provider through the first blockchain client according to its own requirements, for example: the device comprises basic information of the device such as the name of the device, the manufacturer of the device, the model of the device, the name of the parameter of the device, the operation age of the device and the like, and a time range, a parameter type, a parameter value, an association relation between the parameter and the product percent of pass of the device for generating data in the operation process.
In practical application, a device provider needs to optimize and improve a produced device according to device data generated by the device in the running process, device basic information of a second blockchain client in an interaction platform can be checked through a first blockchain client, the device basic information is uploaded to the interaction platform when a device owner accesses a blockchain network, and the device basic information is also aggregated by the interaction platform and then is checked by the first blockchain client or other blockchain nodes 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 requirement, and the selected device basic information is used as device data requirement information to be sent to the interaction platform.
102, desensitizing the device data issued by the second blockchain client in the blockchain network according to the device data demand information, and sending the desensitized device data to the first blockchain client.
In the embodiment of the present application, the device data refers to index parameters generated during the operation of devices of all parties of the devices, for example: equipment uptime, equipment downtime, temperature at which the equipment is operating, pressure values, motor power, manipulator vibration curves, and the like. And the second block chain client uploads the equipment data obtained by integrating the equipment owners according to the equipment data demand information to the block chain network for distributed storage. However, since data in the blockchain network is stored in an encrypted manner, if the query is required to be the data identifier, that is, the unique hash value of the data, the second blockchain client generates the data identifier of the device data for keeping when uploading the device data, and other users cannot query the device data from the blockchain network when not obtaining the data identifier, so that the security of device data storage can be ensured.
Referring to fig. 2, a distributed storage method for device data is provided, where the device data corresponds to a unique hash value as a data identifier, and the device data is divided into a plurality of data segments and stored in each blockchain node of a blockchain network.
In practical application, since the device data is replicable, if the device data is directly and completely provided to the first blockchain client for the device provider to view, there may be a case that the device data is copied infinitely without authorization of the device owner, so before the device data is provided to the first blockchain client, desensitization processing can be performed on the device data, 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 roughly known, and the security of the device data is also ensured.
Step 103, in the case of receiving an intelligent contract generation instruction sent by the first blockchain client according to the desensitized device data, 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 device data.
In the embodiment of the present application, the intelligent contract is a digitally defined commitment, the commitment controls digital assets and includes rights and obligations agreed by contract participants, and the commitment is automatically executed by a computer system according to the included contents, in the embodiment of the present application, the data assets refer to device data, the contract participants refer to a first blockchain client and a second blockchain client, the agreed rights and obligations refer to that the second blockchain client needs to provide device data meeting the data requirement information, the first blockchain client can obtain the device data after meeting the conditions required by the second blockchain client, for example, the first blockchain client needs to pay a certain reward, 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 exchange, and the contents of the specific intelligent contract can be determined according to actual requirements, and are not limited herein.
In practical application, after the device provider views the desensitized device data, an intelligent contract generation instruction may be sent to the interaction platform through the first blockchain client, so as to trigger the interaction platform to generate an intelligent contract about the device data on the blockchain platform, where the intelligent contract may include a condition that the first blockchain client and the second blockchain client need to achieve, and the condition that the second blockchain client needs to achieve is that the device data provided by the second blockchain client needs to meet the device data requirement information, and the condition that the first blockchain client needs to achieve may be specifically set by the second blockchain client, or may be a contract amount automatically generated according to parameters such as data volume of the device data, data complexity, and the like, and may be specifically determined according to actual requirements, where the determination is not limited.
And 104, under the condition that the intelligent contracts are confirmed to be executed and completed by the first blockchain client and the second client, sending the data identifier of the device data to the first blockchain client, so that the first blockchain client acquires the device data from the blockchain network according to the data identifier of the device data.
In this embodiment, referring to the description about the 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 proposed by the second blockchain client, for example, the first blockchain client provides a certain reward or provides exchanged data assets or has specific identity information, and the like, which may be determined specifically according to the actual requirement, and is not limited herein. After the intelligent contract is completed, the interaction platform sends the device identifier of the device data to the first blockchain client, and the device provider can check the device data through the first blockchain client according to the device identifier, 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 present application is applicable to a scenario in which device data transaction is performed between a device manufacturer and a factory, and referring to fig. 3, an effect diagram of a device data processing method provided by the embodiment of the present 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 belong to factory 1, 2 … n, i.e., the device owner. The device manufacturer and the factory database are accessed to the block chain network through the access gateway, so that the data in the block chain network are stored in a distributed mode as block chain link points of the block chain network, the factory devices are connected with the database, and the device data generated in the device operation process can be stored in the factory database or uploaded to the block chain network from the database. Therefore, the equipment manufacturer of the first block chain client can trade the equipment data with the factory of the second block chain client through the trade certificate, wherein the trade certificate is a verification identifier provided by the block chain network for the first block chain client.
According to the device data processing method, the device provider and the device owner are accessed to the blockchain network, the interaction platform is arranged in the blockchain network to provide a coordination function, the interaction platform firstly sends device data requirement information of the device provider to the device owner, so that the device owner provides device data meeting requirements, then desensitized device data are provided for the device provider, the device provider can know the device data before transaction is not completed, the risk of device data leakage can be avoided, and finally an intelligent contract related to the device data is generated in the blockchain network after the device provider confirms to achieve device data transaction based on the blockchain, and the safety of the device data transaction is guaranteed.
Fig. 4 is another device data processing method provided in the embodiment of the present application, which is applied to an interaction platform, and the method includes:
step 201, sending the device data requirement information of the first blockchain client to at least one second blockchain client.
This step can refer to the detailed description of step 101, which is not repeated herein.
Step 202, desensitizing the device data issued by the second blockchain client in the blockchain network according to the device data demand information, and sending the desensitized device data to the first blockchain client.
This step can refer to the detailed description of step 102, which is not repeated here.
Optionally, the device data includes: at least one of the equipment running state parameter, the fluctuation condition of the equipment preset parameter under the preset state parameter, and the incidence relation between the equipment preset state parameter and the product percent of pass.
In the 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: uptime, equipment downtime, equipment idle time, etc. The preset device parameter of the device in the preset state parameter refers to an index parameter of the device in the preset device state, for example: the temperature, the pressure value, the motor power, the mechanical arm vibration curve and the like of the equipment in normal operation, the temperature and the pressure value of the equipment in the shutdown state, the motor power, the mechanical arm vibration curve and the like. The association relationship between the preset device state parameters and the product yield refers to the yield of the device under the preset device state parameters, such as the yield of the content in a certain time range, the association relationship between the abnormally fluctuating device state parameters in the time range, and the like.
Step 203, receiving modification information of the first blockchain client for the desensitized device data.
In the embodiment of the application, after the device provider views the desensitized device data through the first blockchain client, if modification such as addition, deletion, replacement and the like of the device data is required, a proposal for modification can be sent to the interaction platform as modification information.
Step 204, forwarding the modification information to the second blockchain client.
In this embodiment of the application, the interactive 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 hash value of the modification information to the second blockchain client, so that the second blockchain client obtains the modification information.
Step 205, obtaining the modified device data issued by the second blockchain client according to the modification information from the blockchain network.
In this embodiment of the application, after the second blockchain client displays the modification information to the device owner for viewing, the second blockchain client receives the modified device information uploaded by the device owner again according to the modification information, and reissues the modified device data to the blockchain network, specifically, the original device data may be replaced, or the modified device data may be published, and the original device data is retained. But the hash value of the modified device data, i.e., the data identification, is provided to the interactive platform for the interactive platform to obtain the modified device data from the blockchain network.
Step 206, desensitizing the modified device data and 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 embodiment of the application, the modification information fed back by the first blockchain client is forwarded to the second blockchain client so that the equipment data can be modified by all the equipment parties, so that the equipment data needing to be traded can be flexibly adjusted among users in the equipment data trading process according to the requirements of the users, and the flexibility of the equipment data trading is improved.
Optionally, the device data requirement information includes: the device data type and the device data rule, the device data further comprises: the contract is paid.
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 certain amount of transaction currency, data assets in exchange, etc. The device data type refers to a data type that the device data needs to satisfy, and the device data rule refers to that the whole or partial index parameters of the device data need to meet the conditions, for example: the whole or part of the device data may continuously conform to the data type within a preset time period, or the proportion of data in the whole or part of the device data, which is continuous in time point, reaches the proportion threshold, and the like. The device data type, the device data rule, and the contract reward may be specifically set according to actual requirements, and are not limited herein.
Step 207, acquiring the data identifier of the device data when receiving the intelligent contract generation instruction sent by the first blockchain client according to the desensitized device data.
In this embodiment of the application, the data identifier of the device data may be provided by the first blockchain client, or may be automatically provided to the interaction platform by the blockchain network when the first blockchain client uploads the device data, which may be determined according to actual requirements as long as the data identifier of the device data can be obtained, and is not limited herein.
And step 208, generating an intelligent contract between the first block chain client and the second block chain client in the block chain network according to the device data type, the device data rule, the data identification of the device data and the contract reward.
In the embodiment of the present application, the intelligent contract includes a contract reward that needs to be paid by the first blockchain client, and device data rules that need to be satisfied by device data provided by the second blockchain client, and the intelligent contract is stored in a distributed manner in the blockchain network and is based on a peer-to-peer contract between the first blockchain client and the second blockchain client. Therefore, the intelligent contract can ensure the security of the equipment data and the privacy of the parameter person because of the distributed existence in the blockchain network, and meanwhile, the fairness of the equipment data transaction can be ensured without the credit guarantee provided by a third party.
Step 209, confirming that the intelligent contract is executed and completed by the first blockchain client and the second client under the condition that the device data of the second blockchain client conforms to the device data type and the device data rule and that the first blockchain client completes payment according to the contract reward, and sending the data identifier of the device data to the first blockchain client, so that the first blockchain client acquires the device data from the blockchain network according to the data identifier of the device data.
In this embodiment of the present application, if the first blockchain client pays the second blockchain client according to a contract reward in the intelligent contract, and the device data provided by the second blockchain client meets the device data type and the device data rule, it may be determined that the intelligent contract is completed, and a device representation of the device data may be provided to the first blockchain client, so that the device provider may obtain the device data according to the data identifier at the first blockchain client.
Referring to fig. 5, a logic diagram of an execution method of an intelligent contract provided by an embodiment of the present application is shown. After the first blockchain client pays a contract reward, the intelligent contract pair starts to verify whether the device data provided by the second blockchain client conforms to the device data type and the device data rule, and after the verification is passed, the device identifier of the device data is sent to the first blockchain client. The whole execution process of the intelligent contract is simultaneously authenticated in each block chain node in the block chain network, and the data of the intelligent contract in a certain block chain node cannot be tampered to interfere with the transaction process, so that the safety of equipment data transaction is ensured.
Optionally, step 209 includes: and under the condition that the device data of the second blockchain client accords with the device data type within a preset time period, confirming that the device data of the second blockchain client accords with the device data type and the device data rule.
In this embodiment of the present application, in the verification process of the intelligent contract, the device data provided by the second blockchain client may specifically conform to the device data type within a preset time period, for example: the pressure value in the equipment data needs to be a pressure value of 20h when the equipment normally and continuously operates, or the association relation between the product yield and the equipment operation parameters in the equipment data needs to be continuous within 2h, and the like, and the pressure value can be determined according to actual requirements, and is not limited here.
Optionally, the blockchain network is a federation chain.
And step 210, recording the transaction process of the device data between the first blockchain client and the second blockchain client through each blockchain link point in the alliance chain.
In an embodiment of the present application, a federation chain is a blockchain network open only to a particular group or member, where content may specify a plurality of blockchain nodes as accounting blockchain nodes, the generation of each blockchain node is determined by the accounting blockchain node, and other blockchain nodes may participate in a transaction but not in the accounting process. According to the method and the device, the alliance chain is adopted, so that the transaction process of the device data can be effectively supervised, the privacy of the whole transaction process can be guaranteed, and any details in the transaction cannot be acquired by other block chain link points except for the participators.
Referring to fig. 6, a data transmission schematic diagram of a device data processing method provided in an embodiment of the present application is shown, where data transmission processes are respectively from top to bottom:
the second blockchain client may enter device grounding information into the blockchain network;
the interactive platform can download the interactive client from the blockchain network;
the first block chain client sends the equipment data demand information to the second block chain client through the interaction platform;
the second block chain client integrates local data to obtain equipment data meeting the data requirement information;
the second block chain client sends the equipment data to the interaction platform through the block chain network, and the interaction platform sends the desensitized equipment data to the first block chain client;
and after the first blockchain client pays the contract reward, the interaction platform confirms that the transaction is completed, and then the interaction platform.
And acquiring the data identifier of the equipment data from the blockchain network and sending the data identifier to the first blockchain client.
According to the other device data processing method provided by the application, the device provider and the device owner are accessed to the blockchain network, the interaction platform is arranged in the blockchain network to provide a coordination function, the interaction platform firstly sends device data requirement information of the device provider to the device owner, so that the device owner provides device data meeting requirements, then desensitized device data are provided for the device provider, the device provider can know the device data before transaction is not completed, the risk of device data leakage can be avoided, and finally an intelligent contract related to the device data is generated in the blockchain network after the device provider confirms to achieve device data transaction based on a blockchain, and the safety of the device data transaction is guaranteed. And the equipment provider can provide modification information for the equipment data according to self requirements so that the equipment owner can modify the equipment data, the flexibility of equipment data transaction is improved, the intelligent contract can contain the equipment data type and the equipment data rule required by the equipment provider to standardize the effectiveness of the equipment data, and the equipment owner can ask the equipment provider for a reward through contract reward, so that the effectiveness of the equipment data transaction is guaranteed. In addition, the block chain network adopts the alliance chain, and records the transaction process through each bookkeeping block chain link point in the alliance chain, so that the safety of equipment data transaction is further guaranteed.
Fig. 7 is a system 30 for processing device data according to an embodiment of the present application, the system includes an interactive 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 requirement information to the interaction platform 31;
the interactive 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 comprises a third sending module 331 configured to publish the device data to a blockchain network for the device data;
the interaction platform 31 further includes a fourth sending module 312, configured to send the device data, which is issued by the second blockchain client 33 in the blockchain network according to the device data requirement information, to the first blockchain client 32 after desensitization;
a generating module 313, configured to, when receiving an intelligent contract generating instruction sent by the first blockchain client 32 according to the desensitized device data, generate an intelligent contract between the first blockchain client 32 and the second blockchain client 33 in the blockchain network according to the data requirement information and the device data;
a fifth sending module 314, configured to send the data identifier of the device data to the first blockchain client 32 when it is determined that the execution of the smart contract by the first blockchain client 32 and the second client is completed, so that the first blockchain client 32 is used to obtain the target device data from the blockchain network according to the data identifier of the device data.
Optionally, the device data requirement information includes: the device data type and the device data rule, the device data further comprises: a contract reward;
the generating module 313 is further configured to:
acquiring a data identifier of the equipment data;
and generating an intelligent contract between the first blockchain client 32 and the second blockchain client 33 in the blockchain network according to the device data type, the device data rule, the data identification of the device data and the contract reward.
Optionally, the fifth sending module 314 is further configured to:
and confirming that the intelligent contract is executed and completed by the first blockchain client 32 and the second client under the condition that the device data of the second blockchain client 33 is confirmed to accord with the device data type and the device data rule and the first blockchain client 32 is confirmed to complete payment according to the contract reward.
Optionally, the fifth sending module 314 is further configured to:
and under the condition that the device data of the second blockchain client 33 is determined to conform to the device data type within a preset time period, determining 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 that is issued by the second blockchain client 33 according to the modification information;
a sixth sending module 318, configured to send the modified device data to the first blockchain client 32 after desensitization.
Optionally, the blockchain network is a federation chain, and the interaction platform 31 further includes:
a recording module 319, configured to record a transaction process of the device data between the first blockchain client 32 and the second blockchain client 33 through a billing blockchain link point in the federation chain.
Optionally, the device data includes: at least one of the equipment running state parameter, the fluctuation condition of the equipment preset parameter under the preset state parameter, and the incidence relation between the equipment preset state parameter and the product percent of pass.
According to the device data processing system, the device provider and the device owner are connected to the blockchain network, the interaction platform is arranged in the blockchain network to provide a coordination function, the interaction platform firstly sends device data requirement information of the device provider to the device owner, so that the device owner provides device data meeting requirements, then desensitized device data are provided for the device provider, the device provider can know the device data before transaction is not completed, the risk of device data leakage can be avoided, and finally an intelligent contract related to the device data is generated in the blockchain network after the device provider confirms to achieve device data transaction based on the blockchain, and the safety of the device data transaction is guaranteed.
For the embodiment of the system, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiment of the present application further provides an electronic device, as shown in fig. 8, which includes 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 mutual communication 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:
sending the equipment data requirement information of the first block chain client to at least one second block chain client; desensitizing the device data issued by the second blockchain client in the blockchain network according to the device data demand information, and then sending the desensitized device data to the first blockchain client; under the condition that an intelligent contract generating instruction sent by the first blockchain client according to the desensitized device 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 device data; and under the condition that the intelligent contract is confirmed to be executed and completed by the first blockchain client and the second client, sending the data identifier of the equipment data to the first blockchain client, so that the first blockchain client acquires the equipment data from the blockchain network according to the data identifier of the equipment data.
The communication bus mentioned in the above terminal may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the terminal and other equipment.
The Memory may include a Random Access Memory (RAM) or a 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 processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In another embodiment provided by the present application, a computer-readable storage medium is further provided, which stores instructions that, when executed on a computer, cause the computer to execute the method for processing device data described in any of the above embodiments.
In yet another embodiment provided by the present application, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the method for processing device data as described in any of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized 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, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the 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)), among others.
It is 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.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present application, and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application are included in the protection scope of the present application.

Claims (10)

1. A processing method of device data is applied to an interactive platform, and the method comprises the following steps:
sending the equipment data requirement information of the first block chain client to at least one second block chain client;
desensitizing the device data issued by the second blockchain client in the blockchain network according to the device data demand information, and then sending the desensitized device data to the first blockchain client;
under the condition that an intelligent contract generating instruction sent by the first blockchain client according to the desensitized device 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 device data;
and under the condition that the intelligent contract is confirmed to be executed and completed by the first blockchain client and the second client, sending the data identifier of the equipment data to the first blockchain client, so that the first blockchain client acquires the equipment data from the blockchain network according to the data identifier of the equipment data.
2. The method of claim 1, wherein the device data requirement information comprises: the device data type and the device data rule, the device data further comprises: a contract reward;
the 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 device data includes:
acquiring a data identifier of the equipment data;
and generating an intelligent contract between the first block chain client and the second block chain client in the block chain network according to the device data type, the device data rule, the data identification of the device data and the contract reward.
3. The method of claim 2, wherein the validating the smart contract is performed by the first blockchain client and the second client to completion comprises:
and under the condition that the device data of the second blockchain client accords with the device data type and the device data rule and the first blockchain client completes payment according to the contract reward, the intelligent contract is confirmed to be completed by the first blockchain client and the second client.
4. The method of claim 3, wherein 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 device data of the second blockchain client accords with the device data type within a preset time period, confirming that the device data of the second blockchain client accords with the device data type and the device data rule.
5. The method of claim 1, further comprising, prior to the generating an intelligent contract between the first blockchain client and a second blockchain client in the blockchain network from the data demand information and the device data according to the intelligent contract generation instruction sent by the first blockchain client according to the de-sensitized device data:
receiving modification information of the first blockchain client aiming at desensitized equipment data;
forwarding the modification information to the second blockchain client;
acquiring modified equipment data which is issued by the second blockchain client according to the modification information from the blockchain network;
desensitizing the modified device data and sending the desensitized device data to the first blockchain client.
6. The method of claim 1, wherein the blockchain network is a federation chain, and wherein after sending the data identification of the device data to the first blockchain client upon confirming that the execution of the smart contract by the first blockchain client and the second client is complete, further comprising:
recording the transaction process of the device data between the first blockchain client and the second blockchain client through the accounting blockchain link point in the alliance chain.
7. The method of claim 1, wherein the device data comprises: at least one of the equipment running state parameter, the fluctuation condition of the equipment preset parameter under the preset state parameter, and the incidence relation between the equipment preset state parameter and the product percent of pass.
8. A system for processing device data, the system comprising an interactive platform, a first blockchain client and a second blockchain client,
the first block chain client comprises a first sending module used for sending demand information to the interaction platform;
the interactive platform comprises a second sending module, a first block chain client and a second block chain client, wherein the second sending module is used for sending the equipment data requirement information of the first block chain client to the at least one second block chain client;
the second blockchain client comprises a third sending module for issuing the device data to a blockchain network aiming at the device data;
the interaction platform further comprises a fourth sending module, configured to send the device data, which is issued by the second blockchain client in the blockchain network according to the device data demand information, to the first blockchain client after desensitization;
a generating module, configured to generate 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 device data when receiving an intelligent contract generating instruction sent by the first blockchain client according to the desensitized device data;
a fifth sending module, configured to send the data identifier of the device data to the first blockchain client when it is determined that the intelligent contract is executed by the first blockchain client and the second client, so that the first blockchain client is used to obtain the target device data from the blockchain network according to the data identifier of the device data.
9. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the method for processing device data according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements a 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 true CN111711692A (en) 2020-09-25
CN111711692B 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)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106682984A (en) * 2016-10-27 2017-05-17 上海亿账通区块链科技有限公司 Block chain-based transaction business processing method and system
CN110889710A (en) * 2019-12-04 2020-03-17 腾讯科技(深圳)有限公司 Device information management method, server, and storage medium
US20200177604A1 (en) * 2019-07-31 2020-06-04 Alibaba Group Holding Limited Providing data authorization based on blockchain

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106682984A (en) * 2016-10-27 2017-05-17 上海亿账通区块链科技有限公司 Block chain-based transaction business processing method and system
US20200177604A1 (en) * 2019-07-31 2020-06-04 Alibaba Group Holding Limited Providing data authorization based on blockchain
CN110889710A (en) * 2019-12-04 2020-03-17 腾讯科技(深圳)有限公司 Device information management method, server, and storage medium

Also Published As

Publication number Publication date
CN111711692B (en) 2023-06-20

Similar Documents

Publication Publication Date Title
US20240144263A1 (en) Systems and Methods to Validate Transactions For Inclusion in Electronic Blockchains
Xiong et al. Smart contract based data trading mode using blockchain and machine learning
CN108573381B (en) Data processing method and device
CN107609848B (en) Intellectual property licensing method and system based on Internet of things
CN110766406B (en) Resource transfer method, resource transfer device, storage medium and electronic equipment
KR102573433B1 (en) Platform for trading energy using block chain and method thereof
CN109190881B (en) Data asset management method, system and equipment
US20070220009A1 (en) Methods, systems, and computer program products for controlling access to application data
US11475453B2 (en) System and techniques for utilizing a smart contracts library
CN112613877B (en) Intelligent contract triggering method and device applied to block chain network and related equipment
US20230134095A1 (en) Systems, devices and methods for tracking authenticated clean energy with blockchains
CN110838067B (en) Real estate transaction data processing method, device, server and storage medium
JP2023015223A (en) Systems and methods to validate transactions for inclusion in electronic blockchains
CN117240605B (en) Data transaction method, device, equipment and storage medium
Xiong et al. Data resource protection based on smart contract
TW201917658A (en) Trading system for smart contract of blockchain and method thereof
CN111833193A (en) System and method for providing patent ownership insurance with centralized and distributed data structures
CN111711692A (en) Method and system for processing equipment data, electronic equipment and storage medium
KR102450412B1 (en) SLA-Based Sharing Economy Service with Smart Contract for Resource Integrity in the Internet of Things
CN111292184A (en) File feedback alarm prompting method and device and storage medium
CN110956551B (en) Revenue distribution method and related equipment
US20230281603A1 (en) Systems and methods for generating and distributing digital contract tokens
TWM604519U (en) Blockchain system for authorization messages
CN117455487A (en) Block chain-based data processing method, device, equipment and readable storage medium
CN117370367A (en) Block chain-based data processing method, device and equipment, medium and product

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