CN113794569B - Material inventory data providing method, device and system based on block chain - Google Patents

Material inventory data providing method, device and system based on block chain Download PDF

Info

Publication number
CN113794569B
CN113794569B CN202111072977.0A CN202111072977A CN113794569B CN 113794569 B CN113794569 B CN 113794569B CN 202111072977 A CN202111072977 A CN 202111072977A CN 113794569 B CN113794569 B CN 113794569B
Authority
CN
China
Prior art keywords
robot
identity
inventory
inventory data
binding information
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
CN202111072977.0A
Other languages
Chinese (zh)
Other versions
CN113794569A (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.)
Alipay Hangzhou Information Technology Co Ltd
Original Assignee
Alipay Hangzhou Information 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 Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202111072977.0A priority Critical patent/CN113794569B/en
Publication of CN113794569A publication Critical patent/CN113794569A/en
Application granted granted Critical
Publication of CN113794569B publication Critical patent/CN113794569B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders
    • 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

Abstract

One or more embodiments of the present disclosure provide a method, an apparatus, and a system for providing inventory data based on a blockchain, where the method includes: acquiring material inventory data of a target warehouse, wherein the material inventory data comprises: correspondence between robot pose information and material attribute information. And carrying out signature processing on the material inventory data by utilizing a pre-stored private key to obtain signed material inventory data. Uploading the signed material inventory data to a cloud server, so that the cloud server performs signature verification on the signed material inventory data and uploads the material inventory data passing the signature verification to a blockchain.

Description

Material inventory data providing method, device and system based on block chain
The application relates to a Chinese patent application No. 202010125140.7 submitted on the 27 th month of 2020, and is a divisional application with the name of [ a block chain-based material inventory data providing method, device and system ].
Technical Field
The present document relates to the technical field of the internet of things, and in particular, to a method, a device and a system for providing inventory data based on a blockchain.
Background
At present, with the rapid development of the internet of things, the task of carrying out storage material inventory on a material warehouse is becoming more and more popular, wherein the material inventory data of a merchant warehouse can be used as the basis of whether to receive commodity purchase orders of buyers or not so as to ensure timely delivery of goods to the buyers; in addition, the merchant can obtain the investment of the investor through the storage material mortgage so as to ensure the fund supply chain, so that the material inventory data can also be used as the decision basis for the investment of the merchant in the investment direction, and the authenticity and the credibility of the storage material data can be known to directly influence the commodity supply timeliness or the decision accuracy of the investor.
However, the warehouse manager reports the inventory data of the merchant, which causes the inventory data to be tampered with and forged, thereby causing untimely commodity supply or increasing investment risk of the investor. While more and more automated devices are now being used in inventory checking, i.e. by checking existing goods in a warehouse with the aid of automated checking devices, there is still a risk of tampering, counterfeiting, before the goods checking data is uploaded.
Therefore, it is necessary to provide a technical scheme for acquiring the inventory data, which can ensure the authenticity and the credibility of the inventory data.
Disclosure of Invention
It is an object of one or more embodiments of the present specification to provide a blockchain-based inventory data providing method. The method for providing the material inventory data based on the block chain is applied to an inventory robot and comprises the following steps:
acquiring material inventory data of a target warehouse, wherein the material inventory data comprises: correspondence between robot pose information and material attribute information. And carrying out signature processing on the material inventory data by utilizing a pre-stored private key to obtain signed material inventory data. And uploading the signed material inventory data to a cloud service end, so that the cloud service end performs signature verification on the material inventory data and uploads the material inventory data passing the signature verification to a blockchain.
It is an object of one or more embodiments of the present specification to provide a blockchain-based inventory data providing method. The cloud service end applied to the access block chain comprises the following steps of:
Receiving signed material inventory data uploaded by an inventory robot, wherein the signed material inventory data is obtained by performing signature processing on the material inventory data of a target warehouse by utilizing a pre-stored private key, and the material inventory data comprises: correspondence between robot pose information and material attribute information. And carrying out signature verification on the signed material inventory data to obtain a corresponding signature verification result. And if the signature verification result is that the signature verification is passed, uploading the signed material inventory data to a block chain.
It is an object of one or more embodiments of the present specification to provide a blockchain-based inventory data providing device. The utility model provides a set up in the robot side of checking, this material inventory data providing device based on blockchain includes:
the system comprises a material data acquisition module, a material data storage module and a data storage module, wherein the material data acquisition module acquires material inventory data of a target warehouse, and the material inventory data comprises: correspondence between robot pose information and material attribute information. And the material data signing module is used for signing the material inventory data by utilizing a pre-stored private key to obtain signed material inventory data. And the material data sending module is used for uploading the signed material inventory data to a cloud service end, so that the cloud service end performs signature verification on the material inventory data and uploads the material inventory data passing the signature verification to a blockchain.
It is an object of one or more embodiments of the present specification to provide a blockchain-based inventory data providing device. The cloud service end applied to the access block chain comprises:
the material data receiving module is used for receiving signed material inventory data uploaded by the inventory robot, wherein the signed material inventory data is obtained by performing signature processing on the material inventory data of the target warehouse by utilizing a pre-stored private key, and the material inventory data comprises: correspondence between robot pose information and material attribute information. And the material data signing verification module is used for carrying out signature verification on the signed material inventory data to obtain a corresponding signature verification result. And the material data storage module is used for uploading the signed material inventory data to a block chain if the signature verification result is that the signature verification is passed.
It is an object of one or more embodiments of the present specification to provide a blockchain-based inventory data providing system. The blockchain-based material inventory data providing system comprises: inventory robot, and access block chain's high in the clouds server.
The inventory robot acquires the inventory data of the target warehouse, wherein the inventory data comprises: correspondence between robot pose information and material attribute information; carrying out signature processing on the material inventory data by utilizing a pre-stored private key to obtain signed material inventory data; and uploading the signed material inventory data to a cloud server.
The cloud server receives signed material inventory data uploaded by the inventory robot; signature verification is carried out on the material inventory data; and uploading the material inventory data with the signature verification passed to the block chain.
It is an object of one or more embodiments of the present specification to provide a blockchain-based inventory data providing apparatus, including: a processor; and a memory arranged to store computer executable instructions.
The computer-executable instructions, when executed, cause the processor to obtain inventory data for a target warehouse, wherein the inventory data comprises: correspondence between robot pose information and material attribute information. And carrying out signature processing on the material inventory data by utilizing a pre-stored private key to obtain signed material inventory data. And uploading the signed material inventory data to a cloud service end, so that the cloud service end performs signature verification on the material inventory data and uploads the material inventory data passing the signature verification to a blockchain.
It is an object of one or more embodiments of the present specification to provide a blockchain-based inventory data providing apparatus, including: a processor; and a memory arranged to store computer executable instructions.
The computer executable instructions, when executed, cause the processor to receive signed inventory data uploaded by the inventory robot, wherein the signed inventory data is obtained by signing inventory data of a target warehouse by using a pre-stored private key, and the inventory data comprises: correspondence between robot pose information and material attribute information. And carrying out signature verification on the signed material inventory data to obtain a corresponding signature verification result. And if the signature verification result is that the signature verification is passed, uploading the signed material inventory data to a block chain.
It is an object of one or more embodiments of the present description to provide a storage medium for storing computer-executable instructions. The executable instructions, when executed by the processor, acquire inventory data of the target warehouse, wherein the inventory data comprises: correspondence between robot pose information and material attribute information. And carrying out signature processing on the material inventory data by utilizing a pre-stored private key to obtain signed material inventory data. And uploading the signed material inventory data to a cloud service end, so that the cloud service end performs signature verification on the material inventory data and uploads the material inventory data passing the signature verification to a blockchain.
It is an object of one or more embodiments of the present description to provide a storage medium for storing computer-executable instructions. The executable instruction receives signed material inventory data uploaded by the inventory robot when being executed by a processor, wherein the signed material inventory data is obtained by performing signature processing on the material inventory data of a target warehouse by utilizing a pre-stored private key, and the material inventory data comprises: correspondence between robot pose information and material attribute information. And carrying out signature verification on the signed material inventory data to obtain a corresponding signature verification result. And if the signature verification result is that the signature verification is passed, uploading the signed material inventory data to a block chain.
Drawings
For a clearer description of one or more embodiments of the present description or of the solutions of the prior art, the drawings that are necessary for the description of the embodiments or of the prior art will be briefly described, it being apparent that the drawings in the description below are only some of the embodiments described in one or more of the present description, from which other drawings can be obtained, without inventive faculty, for a person skilled in the art.
FIG. 1 is a schematic diagram of an application scenario of a blockchain-based inventory data providing system according to one or more embodiments of the present disclosure;
FIG. 2 is a schematic diagram of data flow in an application scenario of the blockchain-based inventory data providing system shown in FIG. 1;
FIG. 3 is a schematic diagram of a first flow chart of a method for providing blockchain-based inventory data for an inventory robot according to one or more embodiments of the present disclosure;
FIG. 4 is a schematic diagram of a second flow chart of a method for providing blockchain-based inventory data for an inventory robot according to one or more embodiments of the present disclosure;
FIG. 5 is a schematic diagram of a third flow chart of a method for providing blockchain-based inventory data for an inventory robot according to one or more embodiments of the present disclosure;
FIG. 6 is a fourth flow diagram of a method for providing blockchain-based inventory data for an inventory robot according to one or more embodiments of the present disclosure;
fig. 7 is a flowchart of a block chain-based inventory data providing method applied to a cloud server according to one or more embodiments of the present disclosure;
FIG. 8 is a schematic block diagram illustrating a block chain-based inventory data providing device provided at an inventory robot side according to one or more embodiments of the present disclosure;
Fig. 9 is a schematic block diagram of a block chain-based inventory data providing device provided at a cloud server according to one or more embodiments of the present disclosure;
FIG. 10 is a schematic diagram illustrating a block chain based inventory data providing system according to one or more embodiments of the present disclosure;
FIG. 11 is a schematic diagram of a block chain based inventory data providing apparatus according to one or more embodiments of the present disclosure.
Detailed Description
In order for those skilled in the art to better understand the solutions in one or more embodiments of the present specification, the solutions in one or more embodiments of the present specification will be clearly and completely described below with reference to the drawings in one or more embodiments of the present specification, and it is apparent that the described embodiments are only a part of one or more embodiments of the present specification, not all embodiments. All other embodiments, which can be made by one or more embodiments of the present disclosure without undue effort by one of ordinary skill in the art, are intended to be within the scope of the present disclosure.
It should be noted that, without conflict, one or more embodiments and features of the embodiments in the present specification may be combined with each other. One or more embodiments of the present specification will be described in detail below with reference to the attached drawings and in conjunction with the embodiments.
One or more embodiments of the present disclosure provide a method, an apparatus, and a system for providing inventory data based on a blockchain, before the inventory data in a target warehouse is uploaded to a cloud server, an inventory robot performs trusted signing processing on the collected inventory data to obtain signed inventory data, and performs signature verification and trusted uplink on the inventory data under multi-party witness on the basis of a blockchain technology at the cloud server side, thereby improving authenticity, security, reliability, and tamper resistance of the inventory data.
Fig. 1 is a schematic view of an application scenario of a blockchain-based inventory data providing system according to one or more embodiments of the present disclosure, as shown in fig. 1, where the system includes: the system comprises an inventory robot, a cloud server and a blockchain, wherein the inventory robot can be used for an intelligent robot terminal for inventory of storage materials of a target warehouse, and a trusted signature module is arranged in the inventory robot; the cloud server can be a server for performing trusted storage on the material inventory data of the target warehouse and providing a third party client for accessing the material inventory data, the cloud server can provide blockchain service, and the cloud server can be an independent server or a server cluster consisting of a plurality of servers.
Specifically, for a process of storing material inventory data of a target warehouse collected by an inventory robot to a cloud server, the inventory robot obtains the material inventory data of the target warehouse, wherein the material inventory data comprises: correspondence between robot pose information and material attribute information; carrying out signature processing on the material inventory data by utilizing a pre-stored private key to obtain signed material inventory data; and uploading the signed material inventory data to the cloud service end, so that the cloud service end performs signature verification on the signed material inventory data and uploads the material inventory data passing the signature verification to the blockchain, and the third party client can acquire the credible material inventory data from the blockchain.
Based on the application scenario schematic diagram of the blockchain-based resource transfer system in fig. 1, as shown in fig. 2, the cloud server may be a blockchain node in an access blockchain or may communicate with at least one blockchain node in the access blockchain, taking the cloud server as an example of the blockchain node, where the specific process of providing the blockchain-based inventory data is as follows:
The inventory robot acquires inventory data of the target warehouse, wherein the inventory data comprises: correspondence between robot pose information and material attribute information;
the inventory robot performs signature processing on the inventory data by using a pre-stored private key to obtain signed inventory data;
the checking robot uploads the signed material checking data to the cloud server;
the cloud server receives the signed material inventory data uploaded by the inventory robot;
the cloud server performs signature verification on the signed material inventory data to obtain a corresponding signature verification result;
if the signature verification result is that the verification is passed, the cloud server uploads the material inventory data which passes the signature verification to the blockchain, so that the third party client obtains the credible material inventory data from the blockchain.
In the application scene, before the material inventory data of the target warehouse is uploaded to the cloud server, the inventory robot performs trusted signature processing on the collected material inventory data to obtain signed material inventory data, and the material inventory data is subjected to signature verification and trusted chaining under multi-party witness based on a blockchain technology at the side of the cloud server, so that the authenticity, safety, credibility and tamper resistance modification of the material inventory data are improved.
Fig. 3 is a schematic flow diagram of a first method for providing inventory data based on a blockchain according to one or more embodiments of the present disclosure, where the method in fig. 3 can be performed by the inventory robot in fig. 1, and as shown in fig. 3, the method at least includes the following steps:
s302, acquiring material inventory data of a target warehouse, wherein the material inventory data comprises: correspondence between robot pose information and material attribute information;
the above-mentioned robot pose information may be acquired by a pose sensor in the inventory robot, where the pose information may include a current pose angle and current coordinate information, and the pose sensor may include: a laser radar distance sensor, an accelerometer gyroscope and other sensors; the material attribute information can be acquired by a radio frequency device or a camera device in the inventory robot;
specifically, a radio frequency device is utilized to collect material label information of a material object in a target warehouse, and material inventory data of the target warehouse is generated according to the material label information and current pose information; the radio frequency device can be an RFID radio frequency module or other radio frequency modules;
and/or collecting image information of the material objects in the material target warehouse by using the camera device, and generating material inventory data of the target warehouse according to the material image information and the current pose information.
The inventory robot moves in a target warehouse according to a preset walking route, the pose sensor is used for collecting pose information of the inventory robot, meanwhile, the radio frequency device is used for scanning radio frequency tags on the inventory object to obtain the inventory tag information, and/or the camera device is used for shooting the inventory object to obtain the inventory image information, and a first corresponding relation between the pose information and the inventory tag information and/or a second corresponding relation between the pose information and the inventory image information are transmitted to an inventory module in the inventory robot, and the inventory module determines the corresponding relation between the pose information of the robot and the inventory attribute information according to the first corresponding relation and/or the second corresponding relation.
In order to improve the authenticity of the pose information of the robot, the pose sensor transmits the pose information of the robot to a navigation path-finding system in the inventory robot, the navigation path-finding system carries out signature processing on the pose information of the robot, the signed pose information of the robot is transmitted to a material inventory module, the authenticity and tamper resistance of the pose information of the robot are ensured, and the accuracy and the reliability of the corresponding relation between the pose information of the robot and the property information of the material are further ensured.
S304, signing the obtained material inventory data by utilizing a pre-stored private key to obtain signed material inventory data;
specifically, after the material inventory data of the target warehouse is obtained, the material inventory data is not directly uploaded to the cloud server, but is signed, and then the signed material inventory data is uploaded to the cloud server, so that the cloud server can quickly and accurately identify whether the material inventory data comes from the inventory robot, and the identity credibility of the inventory robot is verified.
S306, uploading the signed material inventory data to a cloud service end, so that the cloud service end performs signature verification on the signed material inventory data and uploads the material inventory data passing the signature verification to a blockchain.
Specifically, signing the material inventory data by using a private key at the inventory robot side, correspondingly, checking the signed material inventory data by using a public key corresponding to the inventory robot at the cloud server side to identify the true reliability of the material inventory data, and then storing the material inventory data passing the checking and signing in a block chain in a trusted manner, so that a third party client side obtains the true, reliable and multi-party witness material inventory data from the block chain, thereby taking the material inventory data as guiding data of subsequent business processing;
Specifically, the cloud server receives a data access request of a third party client, wherein the data access request carries identification information of the third party client and identification information of target material inventory data, and the cloud server sends the target material inventory data to the third party client after determining that the third party client has access rights of the target material data.
In one or more embodiments of the present disclosure, before the inventory data of the target warehouse is uploaded to the cloud server, the inventory robot performs trusted signing processing on the collected inventory data to obtain signed inventory data, and performs signature verification and trusted chaining on the inventory data under multi-party witness based on a blockchain technology on the side of the cloud server, so that the authenticity, safety, credibility and tamper resistance of the inventory data are improved.
Based on the fact that an intelligent contract can be introduced to realize signature verification of the material inventory data under multiple witness marks for the process of signature verification of the material inventory data by the cloud server, as shown in fig. 4, S306 above uploads the signed material inventory data to a cloud server, so that the cloud server performs signature verification on the signed material inventory data and uploads the material inventory data passing the signature verification to a blockchain, and the method specifically comprises the following steps:
S3061, uploading the signed material inventory data to a cloud service end, so that the cloud service end performs signature verification on the signed material inventory data by utilizing an intelligent contract deployed in a blockchain, and uploads the material inventory data passing the signature verification to the blockchain.
Specifically, after receiving the signed material inventory data uploaded by the inventory robot, the cloud server obtains a corresponding public key based on the equipment identification information of the inventory robot through an intelligent contract deployed in a blockchain, and performs signature verification on the signed material inventory data based on the public key, wherein the public key is uploaded to the cloud server by the inventory robot in an equipment identity activation stage.
Wherein the smart contract is a digitally defined contract capable of automatically executing terms. In the field of blockchain technology, intelligent contracts refer to computer programs that are triggered, non-tamperable, and automatically executed based on predetermined events. The intelligent contract can ensure the reliable execution of all conventions and avoid tampering, repudiation and default. The intelligent complex needs to be instantiated and validated on state machines in the blockchain after release.
The intelligent contracts can be deployed on the blockchain in advance, the intelligent contracts comprise contracts for automatically executing the checking and signing of the material checking data, the checking and signing processing is carried out on the signed material checking and signing data uploaded by the checking robot through the intelligent contracts, and no manual intervention, transparent whole flow and multiple witness can be realized.
Specifically, in the checking and signing of the inventory data based on the intelligent contract, all nodes on the blockchain participate in the automatic execution of the intelligent contract, all execution data items (state data and state parameters) generated in the execution process of the intelligent contract are disclosed and transparent to all nodes on the blockchain, all nodes on the blockchain are controlled to conduct consensus on the execution data items, the checked and signed execution data of the acquired consensus inventory data are used as signature verification results for the inventory data to be stored in the blockchain in an encrypted mode, namely all the execution data items generated in the execution process of the intelligent contract are stored under the common witness of all the nodes on the blockchain.
The block chain technology is non-tamper-resistant, and the final signature verification result for the material inventory data and the material inventory data passing through the verification are written into the block chain after being subjected to multi-party witness, so that the signature verification result and the material inventory data uploaded into the block chain can be ensured to be not tampered, and the authenticity of the data is ensured; and the whole process of checking and signing the material inventory data is automatically executed through intelligent contracts deployed on the block chain, each signing checking link does not have manual intervention, each signing checking link information is stored on the block chain, and all relevant information in the material inventory data signing checking process can be directly obtained from the block chain to be used as evidence once the signing checking process of the material inventory data is required to be disclosed as a notary.
In addition, in order to facilitate the third party client to quickly and efficiently check the required material inventory data, so that the cloud server can also utilize the intelligent contracts deployed in the blockchain to generate classified material inventory reports based on the material inventory data passing through the check, and upload the classified material inventory reports to the blockchain as decision information for guiding subsequent business processing. Specifically, the material inventory data passing through the check mark can be classified according to inventory time information, material category information, material location area information and the like, and a corresponding material inventory report is generated.
Wherein, in the implementation, for different implementation processes automatically performed by the intelligent contracts, the implementation can be performed by different intelligent contracts deployed in the blockchain. For example, signed inventory data is signature verified using a first smart contract deployed in a blockchain. And generating a classified material inventory report based on the material inventory data passing through the check by using a second intelligent contract deployed in the block chain.
Further, in order to facilitate effective verification of the trusted identity of the inventory robot, device identity activation binding is performed on each inventory robot in advance, and the corresponding relationship between the unique identity of the inventory robot and the public key is trusted and uplink through the cloud server, so that the follow-up verification of the identity of the inventory robot can be performed quickly and accurately, signature verification can also be performed on the inventory data uploaded by the inventory robot, and based on the fact that the real credibility of the inventory data stored in the block chain is doubly managed and controlled, as shown in fig. 5, before the inventory data of the target warehouse is acquired in S302, the method further includes:
S308, if the current state of the inventory robot is an initialized state, acquiring a public key of the inventory robot; the method comprises the steps of,
specifically, whether the current state of the inventory robot meets a preset condition is judged, wherein the preset condition comprises: before the inventory robot leaves the factory, the inventory robot is used for the first time, or the enterprise served by the inventory robot is changed; if the judgment result is yes, determining that the current state of the checking robot is an initialization state, namely indicating that the checking robot needs to be subjected to identity activation binding.
S310, acquiring identity binding information of the inventory robot, wherein the identity binding information corresponds to a material attribution party of the inventory robot;
specifically, the identity activation binding process is performed for the checking robot, so that not only the public key of the checking robot, but also the identity binding information of the checking robot are required to be obtained; in order to facilitate the accurate classification of the inventory data of the materials, each inventory robot corresponds to the object belonging to the materials served by the inventory robot.
S312, generating an equipment identity activation request of the inventory robot based on the acquired identity binding information and the public key;
The equipment identity activation request carries identity binding information of the checking robot and a public key corresponding to the checking robot, and can also carry a unique identifier of the checking robot; after the public key and the identity binding information of the checking robot are acquired, an equipment identity activation request is automatically generated.
S314, sending an equipment identity activation request to a cloud server, so that the cloud server responds to the equipment identity activation request and uploads the corresponding relation between the identity binding information of the inventory robot and the public key to the blockchain.
Specifically, an identity activation input module can be set at the checking robot side, correspondingly, a trusted signature identity activation service is set at the cloud server side, the identity activation input module in the checking robot triggers the trusted signature identity activation service in the cloud server side to execute identity activation binding operation on the checking robot based on the generated equipment identity activation request, so that block chain legal registration of the identity of the checking robot is realized, and identity credibility and non-tamper modification of the checking robot are ensured.
Correspondingly, after receiving the material inventory data uploaded by the inventory robot, the cloud service end performs signature verification on the signed material inventory data based on a public key corresponding to the inventory robot, performs authenticity verification on the equipment identity of the inventory robot based on identity binding information corresponding to the inventory robot, and uploads the material inventory data to a blockchain if the data signature verification is passed and the equipment identity verification is passed;
The cloud server side can automatically execute the equipment identity verification process of the checking robot by introducing intelligent contracts, and specifically, the cloud server side performs the equipment identity verification of the checking robot based on the identity binding information corresponding to the checking robot by utilizing the intelligent contracts deployed in the blockchain to obtain a corresponding equipment identity verification result.
In addition, for the process that the inventory robot sends the equipment identity activation request to the cloud server, there may be a case that the equipment identity binding fails because the equipment identity activation request is not verified, so the cloud server may also return an identity activation request response result to the inventory robot, where the identity activation request response result includes: the equipment identity binding is successful or fails;
correspondingly, when the checking robot receives a feedback result of equipment identity binding failure, the checking robot can send an equipment identity activation request to the cloud server again, so that the cloud server responds to the equipment identity activation request again.
Further, considering that the device identity binding fails due to the fact that the device identity activation request is determined to come from the unreliable inventory robot, preferably, the identity activation request response result is forbidden to be returned to the inventory robot, so that the unreliable device is prevented from sending the device identity activation request to the cloud server again;
In the case of equipment identity binding failure caused by network abnormality and the like, preferably, the cloud server side returns an identity activation request response result to the checking robot so as to trigger the checking robot to send an equipment identity activation request to the cloud server side again;
therefore, the cloud service end responds to the equipment identity activation request, and if the equipment identity binding failure is determined, whether an identity activation request response result is returned to the inventory robot is determined according to the reason type of the equipment identity binding failure.
In the process of acquiring the identity binding information of the inventory robot, as shown in fig. 6, S310 described above, the acquiring the identity binding information of the inventory robot specifically includes:
s3101, scanning equipment identity graphic codes displayed on a warehouse management terminal by using a camera device, wherein the equipment identity graphic codes are distributed by a cloud server;
s3102, analyzing the scanned equipment identity graphic code to obtain the identity binding information of the inventory robot.
Specifically, the warehouse management terminal can be provided with a preset application program, after detecting triggering operation aiming at the preset application program, the warehouse management terminal automatically generates an equipment identity information acquisition request and sends the equipment identity information acquisition request to the cloud server, and the cloud server responds to the equipment identity information acquisition request and returns corresponding equipment identity information to the warehouse management terminal, wherein the equipment identity information can be dynamic graphic code information or random character strings;
Specifically, taking equipment identity information as dynamic graphic code information as an example, after receiving the dynamic graphic code information returned by the cloud server, the warehouse management terminal displays a corresponding dynamic graphic code, so that the inventory robot scans the dynamic graphic code by using the camera device and acquires corresponding identity binding information.
The identity binding information (such as a random character string) can be directly input into the checking robot, and the identity binding information can be transmitted to the checking robot through the warehouse management terminal. Preferably, a process of triggering the cloud service end to distribute dynamic graphic codes is arranged at a warehouse management terminal, and identity binding information of the checking robot is transmitted to the checking robot by the warehouse management terminal, so that the problem that a malicious user randomly triggers the checking robot to send an equipment identity activation request to the cloud service end to cause random tampering of the real identity of the checking robot can be avoided, and the identity authenticity and reliability of the checking robot are further improved.
In addition, in the specific implementation, in order to further prevent a malicious user from using other terminal equipment to randomly trigger the checking robot to send an equipment identity activation request to the cloud server, after the checking robot detects the graphic code scanning triggering operation, the checking robot collects target identification information of the warehouse management terminal and judges whether the target identification information is consistent with preset identification information, if so, a camera device is used for scanning equipment identity graphic codes displayed on the warehouse management terminal; specifically, the target identification information may be a unique serial number, a MAC address, or SIM card information of the wireless communication module;
Specifically, if the target identification information is consistent with the preset identification information, the fact that the equipment identity graphic code required to be scanned at present is from a preset trusted warehouse management terminal is indicated, and the condition that a malicious user randomly triggers the checking robot to send an equipment identity activation request to a cloud service end is avoided, so that the condition that the identity of the checking robot is illegally changed maliciously is avoided.
Further, aiming at the condition that a target warehouse stores a plurality of material objects of a material attribution party, the cloud server returns a device service enterprise list to the warehouse management terminal after receiving a device identity information acquisition request of the warehouse management terminal; the warehouse management terminal returns a target equipment service enterprise selected based on the equipment service enterprise list to the cloud service terminal, namely, a material attribution party served by the inventory robot to be activated by the identity; and the cloud service end returns equipment identity information corresponding to the target equipment service enterprise, namely identity binding information of the inventory robot, to the warehouse management terminal so that the warehouse management terminal transmits the identity binding information to the corresponding inventory robot.
Further, in order to improve the credibility of the public key for signature verification of the inventory data uploaded by the inventory robot in the process of generating the equipment identity activation request, the process of issuing a digital certificate with public trust for the inventory robot by the trusted service management platform is added, and because only the legal equipment end allows the request of issuing the corresponding digital certificate by the trusted service management platform, the cloud service end only stores the digital certificate issued by the trusted service management platform, so as to ensure that the inventory data passing the signature verification are uploaded by the legal equipment end, based on the step 312, the equipment identity activation request of the inventory robot is generated based on the acquired identity binding information and the public key, and the method specifically comprises the following steps:
Step one, a pre-stored public key is sent to a trusted service management platform, so that the trusted service management platform generates a digital certificate containing the public key;
step two, receiving a digital certificate sent by a trusted service management platform;
and thirdly, generating an equipment identity activation request of the inventory robot based on the acquired identity binding information and the received digital certificate.
The digital certificate generated by the public key of the inventory robot is issued by a trusted organization, the digital certificate has public trust, and when the equipment identity information of the inventory robot is bound by a subsequent cloud service end, the issuing organization can be analyzed from the digital certificate carried in the equipment identity activation request so as to identify whether the received digital certificate is issued by the trusted organization, thereby preventing the public key of the inventory robot from being attacked and improving the credibility of the public key.
Specifically, each inventory robot corresponds to a pair of public key and private key, and the inventory robot acquires the public key and the private key distributed to the target server side; storing the private key to the local so as to utilize the private key to sign the inventory data; and transmitting the public key to the cloud server in the process of sending the equipment identity activation request to the cloud server, so that the cloud server records the public key and performs signature verification on the signed material inventory data based on the public key.
Further, in order to further prevent an illegal molecule from maliciously sending a device identity activation request to a cloud server, signature processing on identity binding information is added on a checking robot side, so that the cloud server firstly performs signature verification on the signed identity binding information after receiving the device identity activation request to determine whether to respond to the device identity activation request, and based on the step three, the device identity activation request of the checking robot is generated based on the acquired identity binding information and the received digital certificate, and specifically comprises the following steps:
carrying out signature processing on the obtained identity binding information by utilizing a pre-stored private key to obtain signed identity binding information;
and generating an equipment identity activation request of the inventory robot based on the signed identity binding information and the received digital certificate.
Specifically, before sending an equipment identity activation request to a cloud server, the inventory robot signs the identity binding information, and then sends the equipment identity activation request to the cloud server based on the signed identity binding information, so that the cloud server performs credibility verification on the identity binding information carried in the equipment identity activation request after receiving the equipment identity activation request, thereby ensuring that the robot identity binding relationship is credible and tamper-resistant.
The step S314 of sending the equipment identity activation request to the cloud server to enable the cloud server to respond to the equipment identity activation request and upload the correspondence between the identity binding information of the inventory robot and the public key to the blockchain, specifically includes:
and sending an equipment identity activation request to a cloud server, so that the cloud server responds to the equipment identity activation request, performs signature verification on the signed identity binding information based on a public key acquired from a trusted service management platform, and uploads the corresponding relation between the identity binding information of the checking robot and the digital certificate to a blockchain after the signature verification passes.
Specifically, after receiving an equipment identity activation request sent by an inventory robot, the cloud service end acquires a digital certificate corresponding to the inventory robot from a trusted service management platform based on equipment identification information of the inventory robot;
Verifying the signed identity binding information in the equipment identity activation request based on the obtained public key in the digital certificate;
if the identity binding information passes the verification, uploading the corresponding relation between the identity binding information of the checking robot and the digital certificate to the blockchain;
if the identity binding information verification sign does not pass, determining that the equipment identity activation request comes from an untrusted inventory robot, and stopping responding to the received equipment identity activation request.
In addition, after receiving the equipment identity activation request sent by the checking robot, the cloud service end can also check the digital certificate in the equipment identity activation request, and then check the signed identity binding information by using the public key in the digital certificate passing through the checking; based on this, specifically included are:
based on the equipment identification information of the inventory robot, acquiring a signature verification key of a digital certificate corresponding to the inventory robot from a trusted service management platform, wherein the signature verification key corresponds to a signature key used by the trusted service management platform to sign a public key corresponding to the inventory robot and generate the digital certificate;
based on the obtained signing verification key, signing the digital certificate in the equipment identity activation request;
If the digital certificate passes the signature verification, the signed identity binding information in the equipment identity activation request is subjected to the signature verification by utilizing the public key in the digital certificate; specifically, if the digital certificate passes the verification, the digital certificate is proved to have public trust, and therefore, the public key in the digital certificate is trusted;
if the identity binding information passes the verification, uploading the corresponding relation between the identity binding information of the checking robot and the digital certificate to the blockchain;
if the identity binding information verification sign does not pass, determining that the equipment identity activation request comes from an untrusted inventory robot, and stopping responding to the received equipment identity activation request.
Further, considering that the information on the blockchain is trusted and not tamperable, compared with the trusted service management platform, the public key authenticated by the blockchain has more public trust, based on the fact, the inventory robot can firstly apply public trust authentication of the public key aiming at the blockchain to the blockchain, thereby ensuring the public trust of the public key stored on the blockchain, then send a device identity activation request carrying the public key after the public trust authentication to the cloud service end, based on the fact, the device identity activation request is generated, in order to improve the credibility of the public key for signature verification of the material inventory data uploaded by the inventory robot, the process of returning the address on the chain corresponding to the public key with the public trust by the blockchain to the inventory robot is increased, and only the legal device end is allowed to request the blockchain to carry out public trust authentication and return the address on the corresponding chain, so that the public key with the public trust authentication is only stored on the blockchain, thereby ensuring that the device identity authentication is carried out on the public key after the public trust authentication, and the device identity authentication request is carried out by the equipment is based on the fact that the signed and the identity inventory data is acquired by the equipment, and the device identity authentication request is based on the fact that the device is activated, and the device identity authentication request is generated on the device, and the device is based on the fact that the device has the device and the device has the device identity authentication request and the device authentication request:
Step one, a pre-stored public key is sent to a cloud server, so that the cloud server uploads the public key to a blockchain and returns an address on the blockchain for storing the public key;
step two, receiving an on-chain address corresponding to the public key returned by the cloud server;
and thirdly, generating an equipment identity activation request of the inventory robot based on the acquired identity binding information, the received on-chain address and the local public key.
The public key of the inventory robot is authenticated by the blockchain and is linked, and the address on the chain corresponding to the public key is returned by the blockchain, so that when the equipment identity information of the inventory robot is bound by the subsequent cloud service end, whether the address on the chain carried in the received equipment identity activation request is returned by the blockchain or not can be identified, whether the public key carried in the equipment identity activation request is attacked or not is determined, the attack of the public key of the inventory robot is prevented, and the credibility of the public key is improved.
Specifically, each inventory robot corresponds to a pair of public key and private key, and the inventory robot acquires the public key and the private key distributed to the target server side; storing the private key to the local so as to utilize the private key to sign the inventory data; and transmitting the public key to the cloud server in the process of sending the equipment identity activation request to the cloud server, so that the cloud server records the public key and performs signature verification on the signed material inventory data based on the public key.
Further, in order to further prevent an illegal molecule from maliciously sending an equipment identity activation request to a cloud server, the cloud server performs signature processing on identity binding information by adding a signature processing on an inventory robot side, so that after receiving the equipment identity activation request, the cloud server performs signature verification on the signed identity binding information to determine whether to respond to the equipment identity activation request, and based on the step three, the equipment identity activation request of the inventory robot is generated based on the acquired identity binding information, the received on-link address and the local public key, and specifically includes:
carrying out signature processing on the obtained identity binding information by utilizing a pre-stored private key to obtain signed identity binding information;
and generating an equipment identity activation request of the inventory robot based on the signed identity binding information, the received digital certificate and the local public key.
Specifically, before sending an equipment identity activation request to a cloud server, the inventory robot signs the identity binding information, and then sends the equipment identity activation request to the cloud server based on the signed identity binding information, so that the cloud server performs credibility verification on the identity binding information carried in the equipment identity activation request after receiving the equipment identity activation request, thereby ensuring that the robot identity binding relationship is credible and tamper-resistant.
The step S314 of sending the equipment identity activation request to the cloud server to enable the cloud server to respond to the equipment identity activation request and upload the correspondence between the identity binding information of the inventory robot and the public key to the blockchain, specifically includes:
and sending an equipment identity activation request to a cloud service end, so that the cloud service end responds to the equipment identity activation request, performs signature verification on the signed identity binding information based on a public key acquired from a blockchain, and uploads the identity binding information of the checking robot, the correspondence between the address on the chain and the public key to the blockchain after the signature verification passes.
Specifically, after receiving an equipment identity activation request sent by an inventory robot, the cloud server acquires a public key corresponding to the inventory robot from a blockchain based on equipment identification information of the inventory robot;
Based on the obtained public key, verifying the signed identity binding information in the equipment identity activation request;
if the identity binding information passes the signature verification, uploading the identity binding information of the checking robot, the corresponding relation between the address on the chain and the public key to the blockchain;
if the identity binding information verification sign does not pass, determining that the equipment identity activation request comes from an untrusted inventory robot, and stopping responding to the received equipment identity activation request.
In addition, after receiving the equipment identity activation request sent by the inventory robot, the cloud service end can also perform credibility verification on the on-chain address and the public key in the equipment identity activation request, and then verify the signed identity binding information by using the public key passing verification; based on this, specifically included are:
acquiring an on-chain address and a public key corresponding to the inventory robot from a blockchain based on the equipment identification information of the inventory robot;
verifying the on-chain address and the public key in the equipment identity activation request based on the acquired on-chain address and the public key; specifically, judging whether the on-chain address and the public key acquired from the blockchain are consistent with the on-chain address and the public key in the equipment identity activation request respectively, if so, indicating that the public key carried by the equipment identity activation request is effective;
If the verification is passed, checking the signed identity binding information in the equipment identity activation request by using a public key carried in the equipment identity activation request; specifically, if the verification is passed, the public key is trusted and valid;
if the identity binding information passes the signature verification, uploading the corresponding relation among the identity binding information of the checking robot, the address on the chain and the public key to the blockchain;
if the identity binding information verification sign does not pass, determining that the equipment identity activation request comes from an untrusted inventory robot, and stopping responding to the received equipment identity activation request.
In addition, if the equipment identity activation request also carries the equipment unique identifier, after the cloud server passes the verification, the corresponding relationship among the unique identifier of the checking robot, the identity binding information and the public key is uploaded to the blockchain.
Specifically, for the process that the inventory robot requests the cloud server for equipment identity activation, after the equipment identity activation request passes verification, the cloud server uploads the corresponding relationship between the equipment identification information and the public key to the blockchain, wherein the equipment identification information can include: at least one of a device unique identification, identity binding information, a serial number of a digital certificate issued by a trusted service management platform, or an on-chain address returned by a blockchain;
Correspondingly, in the process of signing and verifying the signed material inventory data based on the public key by aiming at the cloud service end, as at least one item of equipment unique identification, identity binding information and a serial number of a digital certificate issued by a trusted service management platform or an on-chain address returned by a blockchain can be carried as equipment identification information when the inventory robot uploads the material inventory data to the cloud service end, after the cloud service end receives the signed material inventory data uploaded by the inventory robot, the cloud service end obtains the public key corresponding to the inventory robot based on the equipment identification information, and then the public key is utilized to conduct signing and verifying on the signed material inventory data, wherein the type of equipment identification information carried by the inventory robot when uploading the material inventory data to the cloud service end can be determined based on the equipment identification type carried by the inventory robot when the inventory robot requests equipment identity activation to the cloud service end.
According to one or more embodiments of the present disclosure, a method for providing inventory data based on a blockchain includes the steps of: correspondence between robot pose information and material attribute information; carrying out signature processing on the material inventory data by utilizing a pre-stored private key to obtain signed material inventory data; uploading the signed material inventory data to a cloud server, so that the cloud server performs signature verification on the signed material inventory data and uploads the material inventory data passing the signature verification to a blockchain. Before the material inventory data of the target warehouse are uploaded to the cloud service end, the inventory robot performs trusted signing processing on the collected material inventory data to obtain signed material inventory data, and the material inventory data are subjected to signature verification and trusted uplink under the condition of multi-party witness based on a blockchain technology at the side of the cloud service end, so that the authenticity, safety, credibility and tamper resistance of the material inventory data are improved.
The present disclosure also provides a method for providing inventory data based on a blockchain, which is applied to a cloud server accessing the blockchain, according to one or more embodiments of the present disclosure, based on the same technical concept, and fig. 7 is a flowchart of the method for providing inventory data based on a blockchain, which is provided by one or more embodiments of the present disclosure, and the method in fig. 8 can be executed by the cloud server, as shown in fig. 7, and at least includes the following steps:
s702, receiving signed material inventory data uploaded by an inventory robot, wherein the signed material inventory data is obtained by performing signature processing on the material inventory data of a target warehouse by using a pre-stored private key, and the material inventory data comprises: correspondence between robot pose information and material attribute information;
s704, performing signature verification on the signed material inventory data to obtain a corresponding signature verification result;
s706, if the signature verification result of the material inventory data is that the signature verification is passed, uploading the signed material inventory data to the block chain.
In one or more embodiments of the present disclosure, before the inventory data of the target warehouse is uploaded to the cloud server, the inventory robot performs trusted signing processing on the collected inventory data to obtain signed inventory data, and performs signature verification and trusted chaining on the inventory data under multi-party witness based on a blockchain technology on the side of the cloud server, so that the authenticity, safety, credibility and tamper resistance of the inventory data are improved.
The step S704 is to perform signature verification on the signed material inventory data to obtain a corresponding signature verification result, and specifically includes:
and carrying out signature verification on the signed material inventory data by utilizing the intelligent contracts deployed in the block chain to obtain a corresponding signature verification result.
The method for verifying the signature of the material inventory data by using the intelligent contracts deployed in the blockchain comprises the following steps of:
acquiring a public key corresponding to the inventory robot by utilizing an intelligent contract deployed in a block chain; the method comprises the steps of,
carrying out signature verification on the signed material inventory data based on the obtained public key by utilizing the intelligent contract to obtain a corresponding signature verification result;
The public key is uploaded to the cloud server and stored in the blockchain by the inventory robot in the equipment identity activation stage.
Wherein, in S702, before receiving the signed material inventory data uploaded by the inventory robot, the method further includes:
receiving an equipment identity activation request sent by an inventory robot, wherein the equipment identity activation request is generated based on identity binding information and a public key when the current state of the inventory robot is an initialized state, and the identity binding information corresponds to a material attribution party of the inventory robot;
responding to the received equipment identity activation request, and uploading the corresponding relation between the identity binding information carried in the equipment identity activation request and the public key to the blockchain.
Before receiving the equipment identity activation request sent by the checking robot, the method further comprises the following steps:
and issuing the equipment identity graphic code distributed for the inventory robot to the warehouse management terminal corresponding to the inventory robot, so that the inventory robot scans the equipment identity graphic code displayed on the warehouse management terminal by using the camera device and analyzes the equipment identity graphic code to obtain the identity binding information.
The equipment identity activation request is generated based on identity binding information and a digital certificate of the inventory robot; the digital certificate is generated by the trusted service management platform based on the public key of the inventory robot.
Wherein the equipment identity activation request is generated based on signed identity binding information and a digital certificate; the signed identity binding information is obtained by the checking robot performing signature processing on the identity binding information by using a pre-stored private key.
The method specifically includes the steps of responding to a received equipment identity activation request, and uploading a corresponding relation between identity binding information carried in the equipment identity activation request and a public key to a blockchain, wherein the corresponding relation specifically includes:
responding to the received equipment identity activation request, and acquiring a public key corresponding to the inventory robot from a trusted service management platform;
signing the signed identity binding information based on the obtained public key;
if the identity binding information passes the verification, uploading the corresponding relation between the identity binding information and the digital certificate to the blockchain.
The equipment identity activation request is generated based on identity binding information of the inventory robot, an address on a chain and a public key; the address on the chain is a storage address used for storing the public key in a blockchain returned by the cloud server.
The equipment identity activation request is generated based on signed identity binding information, an on-chain address and a public key; the signed identity binding information is obtained by the checking robot through signature processing of the identity binding information by using a pre-stored private key.
The responding to the received equipment identity activation request and uploading the corresponding relation between the identity binding information carried in the equipment identity activation request and the public key to the blockchain specifically comprises the following steps:
responding to the received equipment identity activation request, and acquiring a public key corresponding to the checking robot from the blockchain;
signing the signed identity binding information based on the obtained public key;
if the identity binding information passes the signature verification, the corresponding relation among the identity binding information of the checking robot, the address on the chain and the public key is uploaded to the blockchain.
According to one or more embodiments of the present disclosure, in a method for providing blockchain-based inventory data, signed inventory data uploaded by an inventory robot is received, where the signed inventory data is obtained by performing signature processing on inventory data of a target warehouse using a pre-stored private key, and the inventory data includes: correspondence between robot pose information and material attribute information; carrying out signature verification on the signed material inventory data to obtain a corresponding signature verification result; if the signature verification result of the material inventory data is that the signature verification is passed, uploading the signed material inventory data to the block chain. Before the material inventory data of the target warehouse are uploaded to the cloud service end, the inventory robot performs trusted signing processing on the collected material inventory data to obtain signed material inventory data, and the material inventory data are subjected to signature verification and trusted uplink under the condition of multi-party witness based on a blockchain technology at the side of the cloud service end, so that the authenticity, safety, credibility and tamper resistance of the material inventory data are improved.
It should be noted that, in this embodiment in the present specification and the previous embodiment in the present specification are based on the same inventive concept, so the specific implementation of this embodiment may refer to the implementation of the foregoing block chain-based material inventory data providing method, and the repetition is not repeated.
In accordance with the above-described blockchain-based inventory data providing method described in fig. 2 to 6, one or more embodiments of the present disclosure further provide a blockchain-based inventory data providing device, which is disposed at an inventory robot side, and fig. 8 is a schematic block diagram of the blockchain-based inventory data providing device according to one or more embodiments of the present disclosure, where the device is configured to perform the blockchain-based inventory data providing method described in fig. 2 to 6, as shown in fig. 8, and the device includes:
a material data acquisition module 802 that acquires material inventory data of a target warehouse, wherein the material inventory data includes: correspondence between robot pose information and material attribute information;
the material data signing module 804 performs signing processing on the material inventory data by using a pre-stored private key to obtain signed material inventory data;
And the material data sending module 806 is configured to upload the signed material inventory data to the cloud service end, so that the cloud service end performs signature verification on the material inventory data and uploads the material inventory data with the signature verification passed to the blockchain.
In one or more embodiments of the present disclosure, before the inventory data of the target warehouse is uploaded to the cloud server, the inventory robot performs trusted signing processing on the collected inventory data to obtain signed inventory data, and performs signature verification and trusted chaining on the inventory data under multi-party witness based on a blockchain technology on the side of the cloud server, so that the authenticity, safety, credibility and tamper resistance of the inventory data are improved.
Optionally, the material data sending module 806 includes:
uploading the signed material inventory data to a cloud server, so that the cloud server performs signature verification on the material inventory data by utilizing an intelligent contract deployed in a blockchain, and uploads the material inventory data with the signature verification passed to the blockchain.
Optionally, the apparatus further includes: a device identity activation binding module that:
If the current state of the checking robot is an initialized state, acquiring a public key of the checking robot; the method comprises the steps of,
acquiring identity binding information of the inventory robot, wherein the identity binding information corresponds to a material attribution party of the inventory robot;
generating an equipment identity activation request of the inventory robot based on the identity binding information and the public key;
and sending the equipment identity activation request to a cloud server, so that the cloud server responds to the equipment identity activation request and uploads the corresponding relation between the identity binding information and the public key to a blockchain.
Optionally, the device identity activation binding module includes:
scanning equipment identity graphic codes displayed on a warehouse management terminal by using a camera device, wherein the equipment identity graphic codes are distributed by a cloud server;
and analyzing the equipment identity graphic code to obtain the identity binding information of the checking robot.
Optionally, the device identity activation binding module includes:
sending the public key to a trusted service management platform so that the trusted service management platform generates a digital certificate containing the public key;
Receiving the digital certificate sent by the trusted service management platform;
and generating a device identity activation request of the inventory robot based on the identity binding information and the digital certificate.
Optionally, the device identity activation binding module includes:
carrying out signature processing on the identity binding information by utilizing a pre-stored private key to obtain signed identity binding information;
and generating an equipment identity activation request of the inventory robot based on the signed identity binding information and the digital certificate.
Optionally, the device identity activation binding module includes:
and sending the equipment identity activation request to a cloud server, so that the cloud server responds to the equipment identity activation request, performs signature verification on the signed identity binding information based on a public key acquired from the trusted service management platform, and uploads the corresponding relation between the identity binding information and the digital certificate to a blockchain after the signature verification passes.
Optionally, the device identity activation binding module includes:
the public key is sent to a cloud server, so that the cloud server uploads the public key to a blockchain and returns an address on the blockchain for storing the public key;
Receiving the address on the chain returned by the cloud server;
and generating an equipment identity activation request of the inventory robot based on the identity binding information, the on-chain address and the public key.
Optionally, the device identity activation binding module includes:
carrying out signature processing on the identity binding information by utilizing a pre-stored private key to obtain signed identity binding information;
and generating an equipment identity activation request of the inventory robot based on the signed identity binding information, the on-chain address and the public key.
Optionally, the device identity activation binding module includes:
and sending the equipment identity activation request to a cloud server, so that the cloud server responds to the equipment identity activation request, and performs signature verification on the signed identity binding information based on a public key acquired from the blockchain, and uploading the corresponding relation among the identity binding information, the on-chain address and the public key to the blockchain after the signature verification passes.
Optionally, the material data acquisition module 802 includes
Collecting material label information by using a radio frequency device, and generating material inventory data of a target warehouse according to the material label information and the current pose information;
And/or the number of the groups of groups,
and acquiring the material image information by using the camera device, and generating material inventory data of the target warehouse according to the material image information and the current pose information.
According to one or more embodiments of the present disclosure, a checking robot obtains checking data of a target warehouse, where the checking data includes: correspondence between robot pose information and material attribute information; carrying out signature processing on the material inventory data by utilizing a pre-stored private key to obtain signed material inventory data; uploading the signed material inventory data to a cloud server, so that the cloud server performs signature verification on the signed material inventory data and uploads the material inventory data passing the signature verification to a blockchain. Before the material inventory data of the target warehouse are uploaded to the cloud service end, the inventory robot performs trusted signing processing on the collected material inventory data to obtain signed material inventory data, and the material inventory data are subjected to signature verification and trusted uplink under the condition of multi-party witness based on a blockchain technology at the side of the cloud service end, so that the authenticity, safety, credibility and tamper resistance of the material inventory data are improved.
It should be noted that, in the present specification, the embodiment of the apparatus for providing the biock-based inventory data and the embodiment of the method for providing the biock-based inventory data are based on the same inventive concept, so that the specific implementation of the embodiment may refer to the implementation of the corresponding method for providing the biock-based inventory data, and the repetition is omitted.
In accordance with the above-described blockchain-based inventory data providing method described in fig. 2 to 6, based on the same technical concept, one or more embodiments of the present disclosure further provide a blockchain-based inventory data providing device, which is disposed at a cloud server, and fig. 9 is a schematic block diagram of the blockchain-based inventory data providing device according to one or more embodiments of the present disclosure, where the device is configured to execute the blockchain-based inventory data providing method described in fig. 7, as shown in fig. 9, and the device includes:
the material data receiving module 902 receives signed material inventory data uploaded by the inventory robot, where the signed material inventory data is obtained by performing signature processing on material inventory data of a target warehouse by using a pre-stored private key, and the material inventory data includes: correspondence between robot pose information and material attribute information;
The material data checking module 904 performs signature verification on the signed material inventory data to obtain a corresponding signature verification result;
and a material data storage module 906, configured to upload the signed material inventory data to the blockchain if the signature verification result is that the signature verification is passed.
In one or more embodiments of the present disclosure, before the inventory data of the target warehouse is uploaded to the cloud server, the inventory robot performs trusted signing processing on the collected inventory data to obtain signed inventory data, and performs signature verification and trusted chaining on the inventory data under multi-party witness based on a blockchain technology on the side of the cloud server, so that the authenticity, safety, credibility and tamper resistance of the inventory data are improved.
Optionally, the material data signature verification module 904 includes:
and carrying out signature verification on the material inventory data by utilizing the intelligent contracts deployed in the blockchain to obtain a corresponding signature verification result.
Optionally, the apparatus further includes: a device identity binding response module that:
receiving an equipment identity activation request sent by an inventory robot, wherein the equipment identity activation request is generated based on identity binding information and a public key when the current state of the inventory robot is an initialized state, and the identity binding information corresponds to a material attribution party of inventory of the inventory robot;
And responding to the equipment identity activation request, and uploading the corresponding relation between the identity binding information and the public key to a blockchain.
Optionally, the apparatus further includes: the equipment identity information issuing module comprises:
and issuing equipment identity graphic codes distributed to the inventory robot to a warehouse management terminal corresponding to the inventory robot, so that the inventory robot scans the equipment identity graphic codes displayed on the warehouse management terminal by using a camera device and analyzes the equipment identity graphic codes to obtain identity binding information.
Optionally, the device identity activation request is generated based on identity binding information and a digital certificate of the inventory robot; the digital certificate is generated by the trusted service management platform based on the public key.
Optionally, the device identity activation request is generated based on signed identity binding information and the digital certificate; the signed identity binding information is obtained by the checking robot through signature processing of the identity binding information by using a pre-stored private key.
Optionally, the device identity binding response module includes:
responding to the equipment identity activation request, and acquiring a public key corresponding to the inventory robot from the trusted service management platform;
Signing the signed identity binding information based on the obtained public key;
and if the identity binding information passes the verification, uploading the corresponding relation between the identity binding information and the digital certificate to a blockchain.
Optionally, the device identity activation request is generated based on identity binding information of the inventory robot, an address on a chain, and a public key; and the on-chain address is a storage address for storing the public key in the blockchain returned by the cloud server.
Optionally, the device identity activation request is generated based on signed identity binding information, an on-chain address, and a public key; the signed identity binding information is obtained by the checking robot through signature processing of the identity binding information by using a pre-stored private key.
Optionally, the device identity binding response module includes:
responding to the equipment identity activation request, and acquiring a public key corresponding to the inventory robot from the blockchain;
signing the signed identity binding information based on the obtained public key;
and if the identity binding information passes the signature verification, uploading the corresponding relation among the identity binding information, the on-chain address and the public key to a blockchain.
According to one or more embodiments of the present disclosure, a blockchain-based inventory data providing device receives signed inventory data uploaded by an inventory robot, where the signed inventory data is obtained by performing a signature process on inventory data of a target warehouse using a pre-stored private key, and the inventory data includes: correspondence between robot pose information and material attribute information; carrying out signature verification on the signed material inventory data to obtain a corresponding signature verification result; if the signature verification result of the material inventory data is that the signature verification is passed, uploading the signed material inventory data to the block chain. Before the material inventory data of the target warehouse are uploaded to the cloud service end, the inventory robot performs trusted signing processing on the collected material inventory data to obtain signed material inventory data, and the material inventory data are subjected to signature verification and trusted uplink under the condition of multi-party witness based on a blockchain technology at the side of the cloud service end, so that the authenticity, safety, credibility and tamper resistance of the material inventory data are improved.
It should be noted that, in the present specification, the embodiment of the apparatus for providing the biock-based inventory data and the embodiment of the method for providing the biock-based inventory data are based on the same inventive concept, so that the specific implementation of the embodiment may refer to the implementation of the corresponding method for providing the biock-based inventory data, and the repetition is omitted.
In response to the above-described blockchain-based inventory data providing method described in fig. 2 to 6, one or more embodiments of the present disclosure further provide a blockchain-based inventory data providing system, based on the same technical concept, and fig. 10 is a schematic structural diagram of the blockchain-based inventory data providing system provided in one or more embodiments of the present disclosure, where the system is configured to perform the blockchain-based inventory data providing method described in fig. 2 to 6, as shown in fig. 10, and the system includes: the inventory robot and the cloud server accessed to the block chain;
above-mentioned inventory robot acquires the material inventory data of target warehouse, and wherein, this material inventory data includes: correspondence between robot pose information and material attribute information; carrying out signature processing on the material inventory data by utilizing a pre-stored private key to obtain signed material inventory data; uploading the signed material inventory data to a cloud server;
the cloud server receives signed material inventory data uploaded by the inventory robot; signature verification is carried out on the signed material inventory data; and uploading the material inventory data with the signature verification passed to the block chain.
According to one or more embodiments of the present disclosure, a checking robot obtains checking data of a target warehouse, where the checking data includes: correspondence between robot pose information and material attribute information; carrying out signature processing on the material inventory data by utilizing a pre-stored private key to obtain signed material inventory data; uploading the signed material inventory data to a cloud server, so that the cloud server performs signature verification on the signed material inventory data and uploads the material inventory data passing the signature verification to a blockchain. Before the material inventory data of the target warehouse are uploaded to the cloud service end, the inventory robot performs trusted signing processing on the collected material inventory data to obtain signed material inventory data, and the material inventory data are subjected to signature verification and trusted uplink under the condition of multi-party witness based on a blockchain technology at the side of the cloud service end, so that the authenticity, safety, credibility and tamper resistance of the material inventory data are improved.
It should be noted that, in the present specification, the embodiment of the blockchain-based inventory data providing system and the embodiment of the blockchain-based inventory data providing method in the present specification are based on the same inventive concept, so that the specific implementation of the embodiment may refer to the implementation of the corresponding blockchain-based inventory data providing method, and the repetition is omitted.
Further, according to the method shown in fig. 2 to 6, based on the same technical concept, one or more embodiments of the present disclosure further provide a block chain-based inventory data providing apparatus for performing the block chain-based inventory data providing method as shown in fig. 11.
The blockchain-based inventory data providing device may vary widely in configuration or performance, may include one or more processors 1101 and memory 1102, and may have one or more storage applications or data stored in memory 1102. Wherein the memory 1102 may be transient storage or persistent storage. The application program stored in the memory 1102 may include one or more modules (not shown in the figures), each of which may include a series of computer executable instructions for use in a blockchain-based inventory data providing device. Still further, the processor 1101 may be configured to communicate with the memory 1102 to execute a series of computer executable instructions in the memory 1102 on the blockchain-based inventory data providing device. The blockchain-based inventory data providing device may also include one or more power supplies 1103, one or more wired or wireless network interfaces 1104, one or more input/output interfaces 1105, one or more keyboards 1106, and the like.
In one particular embodiment, a blockchain-based inventory data providing device includes a memory, and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer executable instructions for the blockchain-based inventory data providing device, and configured to be executed by one or more processors, the one or more programs including computer executable instructions for:
acquiring material inventory data of a target warehouse, wherein the material inventory data comprises: correspondence between robot pose information and material attribute information;
carrying out signature processing on the material inventory data by utilizing a pre-stored private key to obtain signed material inventory data;
and uploading the signed material inventory data to a cloud service end, so that the cloud service end performs signature verification on the material inventory data and uploads the material inventory data passing the signature verification to a blockchain.
In one or more embodiments of the present disclosure, before the inventory data of the target warehouse is uploaded to the cloud server, the inventory robot performs trusted signing processing on the collected inventory data to obtain signed inventory data, and performs signature verification and trusted chaining on the inventory data under multi-party witness based on a blockchain technology on the side of the cloud server, so that the authenticity, safety, credibility and tamper resistance of the inventory data are improved.
Optionally, when the computer executable instructions are executed, the uploading the signed material inventory data to a cloud server, so that the cloud server performs signature verification on the material inventory data and uploads the material inventory data passing the signature verification to a blockchain, including:
uploading the signed material inventory data to a cloud server, so that the cloud server performs signature verification on the material inventory data by utilizing an intelligent contract deployed in a blockchain, and uploads the material inventory data with the signature verification passed to the blockchain.
Optionally, the computer executable instructions, when executed, further comprise, prior to obtaining the inventory data for the target warehouse:
if the current state of the checking robot is an initialized state, acquiring a public key of the checking robot; the method comprises the steps of,
acquiring identity binding information of the inventory robot, wherein the identity binding information corresponds to a material attribution party of the inventory robot;
generating an equipment identity activation request of the inventory robot based on the identity binding information and the public key;
and sending the equipment identity activation request to a cloud server, so that the cloud server responds to the equipment identity activation request and uploads the corresponding relation between the identity binding information and the public key to a blockchain.
Optionally, the acquiring the identity binding information of the inventory robot when the computer executable instructions are executed includes:
scanning equipment identity graphic codes displayed on a warehouse management terminal by using a camera device, wherein the equipment identity graphic codes are distributed by a cloud server;
and analyzing the equipment identity graphic code to obtain the identity binding information of the checking robot.
Optionally, the computer executable instructions, when executed, generate a device identity activation request of the inventory robot based on the identity binding information and the public key, including:
sending the public key to a trusted service management platform so that the trusted service management platform generates a digital certificate containing the public key;
receiving the digital certificate sent by the trusted service management platform;
and generating a device identity activation request of the inventory robot based on the identity binding information and the digital certificate.
Optionally, the computer executable instructions, when executed, generate a device identity activation request of the inventory robot based on the identity binding information and the digital certificate, including:
Carrying out signature processing on the identity binding information by utilizing a pre-stored private key to obtain signed identity binding information;
and generating an equipment identity activation request of the inventory robot based on the signed identity binding information and the digital certificate.
Optionally, when the computer executable instructions are executed, the sending the equipment identity activation request to a cloud server, so that the cloud server responds to the equipment identity activation request and uploads the correspondence between the identity binding information and the public key to a blockchain, including:
and sending the equipment identity activation request to a cloud server, so that the cloud server responds to the equipment identity activation request, performs signature verification on the signed identity binding information based on a public key acquired from the trusted service management platform, and uploads the corresponding relation between the identity binding information and the digital certificate to a blockchain after the signature verification passes.
Optionally, the computer executable instructions, when executed, generate a device identity activation request of the inventory robot based on the identity binding information and the public key, including:
The public key is sent to a cloud server, so that the cloud server uploads the public key to a blockchain and returns an address on the blockchain for storing the public key;
receiving the address on the chain returned by the cloud server;
and generating an equipment identity activation request of the inventory robot based on the identity binding information, the on-chain address and the public key.
Optionally, the computer executable instructions, when executed, generate a device identity activation request of the inventory robot based on the identity binding information, the on-chain address, and the public key, including:
carrying out signature processing on the identity binding information by utilizing a pre-stored private key to obtain signed identity binding information;
and generating an equipment identity activation request of the inventory robot based on the signed identity binding information, the on-chain address and the public key.
Optionally, when the computer executable instructions are executed, the sending the equipment identity activation request to a cloud server, so that the cloud server responds to the equipment identity activation request and uploads the correspondence between the identity binding information and the public key to a blockchain, including:
And sending the equipment identity activation request to a cloud server, so that the cloud server responds to the equipment identity activation request, and performs signature verification on the signed identity binding information based on a public key acquired from the blockchain, and uploading the corresponding relation among the identity binding information, the on-chain address and the public key to the blockchain after the signature verification passes.
Optionally, the acquiring the inventory data of the target warehouse when the computer executable instructions are executed includes:
collecting material label information by using a radio frequency device, and generating material inventory data of a target warehouse according to the material label information and the current pose information;
and/or the number of the groups of groups,
and acquiring the material image information by using the camera device, and generating material inventory data of the target warehouse according to the material image information and the current pose information.
In one or more embodiments of the present disclosure, a blockchain-based inventory data providing device, an inventory robot obtains inventory data of a target warehouse, where the inventory data includes: correspondence between robot pose information and material attribute information; carrying out signature processing on the material inventory data by utilizing a pre-stored private key to obtain signed material inventory data; uploading the signed material inventory data to a cloud server, so that the cloud server performs signature verification on the signed material inventory data and uploads the material inventory data passing the signature verification to a blockchain. Before the material inventory data of the target warehouse are uploaded to the cloud service end, the inventory robot performs trusted signing processing on the collected material inventory data to obtain signed material inventory data, and the material inventory data are subjected to signature verification and trusted uplink under the condition of multi-party witness based on a blockchain technology at the side of the cloud service end, so that the authenticity, safety, credibility and tamper resistance of the material inventory data are improved.
In another particular embodiment, a blockchain-based inventory data providing device includes a memory, and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer executable instructions for the blockchain-based inventory data providing device, and configured to be executed by one or more processors, the one or more programs including computer executable instructions for:
receiving signed material inventory data uploaded by an inventory robot, wherein the signed material inventory data is obtained by performing signature processing on the material inventory data of a target warehouse by utilizing a pre-stored private key, and the material inventory data comprises: correspondence between robot pose information and material attribute information;
performing signature verification on the signed material inventory data to obtain a corresponding signature verification result;
and if the signature verification result is that the signature verification is passed, uploading the signed material inventory data to a block chain.
In one or more embodiments of the present disclosure, before the inventory data of the target warehouse is uploaded to the cloud server, the inventory robot performs trusted signing processing on the collected inventory data to obtain signed inventory data, and performs signature verification and trusted chaining on the inventory data under multi-party witness based on a blockchain technology on the side of the cloud server, so that the authenticity, safety, credibility and tamper resistance of the inventory data are improved.
Optionally, when the computer executable instruction is executed, the performing signature verification on the signed material inventory data to obtain a corresponding signature verification result, including:
and carrying out signature verification on the material inventory data by utilizing the intelligent contracts deployed in the blockchain to obtain a corresponding signature verification result.
Optionally, the computer executable instructions, when executed, further comprise, prior to receiving the signed material inventory data uploaded by the inventory robot:
receiving an equipment identity activation request sent by an inventory robot, wherein the equipment identity activation request is generated based on identity binding information and a public key when the current state of the inventory robot is an initialized state, and the identity binding information corresponds to a material attribution party of inventory of the inventory robot;
And responding to the equipment identity activation request, and uploading the corresponding relation between the identity binding information and the public key to a blockchain.
Optionally, the computer executable instructions, when executed, further comprise, prior to receiving the device identity activation request sent by the inventory robot:
and issuing equipment identity graphic codes distributed to the inventory robot to a warehouse management terminal corresponding to the inventory robot, so that the inventory robot scans the equipment identity graphic codes displayed on the warehouse management terminal by using a camera device and analyzes the equipment identity graphic codes to obtain identity binding information.
Optionally, the computer executable instructions, when executed, generate the device identity activation request based on identity binding information and a digital certificate of the inventory robot; the digital certificate is generated by the trusted service management platform based on the public key.
Optionally, the computer-executable instructions, when executed, generate the device identity activation request based on the signed identity binding information and the digital certificate; the signed identity binding information is obtained by the checking robot through signature processing of the identity binding information by using a pre-stored private key.
Optionally, the computer executable instructions, when executed, respond to the device identity activation request and upload the correspondence between the identity binding information and the public key to a blockchain, comprising:
responding to the equipment identity activation request, and acquiring a public key corresponding to the inventory robot from the trusted service management platform;
signing the signed identity binding information based on the obtained public key;
and if the identity binding information passes the verification, uploading the corresponding relation between the identity binding information and the digital certificate to a blockchain.
Optionally, the computer executable instructions, when executed, generate the device identity activation request based on identity binding information of the inventory robot, an on-chain address, and a public key; and the on-chain address is a storage address for storing the public key in the blockchain returned by the cloud server.
Optionally, the computer-executable instructions, when executed, generate the device identity activation request based on the signed identity binding information, the on-chain address, and the public key; the signed identity binding information is obtained by the checking robot through signature processing of the identity binding information by using a pre-stored private key.
Optionally, the computer executable instructions, when executed, respond to the device identity activation request and upload the correspondence between the identity binding information and the public key to a blockchain, comprising:
responding to the equipment identity activation request, and acquiring a public key corresponding to the inventory robot from the blockchain;
signing the signed identity binding information based on the obtained public key;
and if the identity binding information passes the signature verification, uploading the corresponding relation among the identity binding information, the on-chain address and the public key to a blockchain.
According to one or more embodiments of the present disclosure, a blockchain-based inventory data providing device receives signed inventory data uploaded by an inventory robot, where the signed inventory data is obtained by performing a signature process on inventory data of a target warehouse using a pre-stored private key, and the inventory data includes: correspondence between robot pose information and material attribute information; carrying out signature verification on the signed material inventory data to obtain a corresponding signature verification result; if the signature verification result of the material inventory data is that the signature verification is passed, uploading the signed material inventory data to the block chain. Before the material inventory data of the target warehouse are uploaded to the cloud service end, the inventory robot performs trusted signing processing on the collected material inventory data to obtain signed material inventory data, and the material inventory data are subjected to signature verification and trusted uplink under the condition of multi-party witness based on a blockchain technology at the side of the cloud service end, so that the authenticity, safety, credibility and tamper resistance of the material inventory data are improved.
It should be noted that, in the present specification, the embodiment of the apparatus for providing the biock-based inventory data and the embodiment of the method for providing the biock-based inventory data are based on the same inventive concept, so that the specific implementation of the embodiment may refer to the implementation of the corresponding method for providing the biock-based inventory data, and the repetition is omitted.
Further, in accordance with the methods shown in fig. 2 to 6, based on the same technical concept, one or more embodiments of the present disclosure further provide a storage medium for storing computer executable instructions, where in a specific embodiment, the storage medium may be a U-disc, an optical disc, a hard disk, etc., and the computer executable instructions stored in the storage medium can implement the following flow when executed by a processor:
acquiring material inventory data of a target warehouse, wherein the material inventory data comprises: correspondence between robot pose information and material attribute information;
carrying out signature processing on the material inventory data by utilizing a pre-stored private key to obtain signed material inventory data;
and uploading the signed material inventory data to a cloud service end, so that the cloud service end performs signature verification on the material inventory data and uploads the material inventory data passing the signature verification to a blockchain.
In one or more embodiments of the present disclosure, before the inventory data of the target warehouse is uploaded to the cloud server, the inventory robot performs trusted signing processing on the collected inventory data to obtain signed inventory data, and performs signature verification and trusted chaining on the inventory data under multi-party witness based on a blockchain technology on the side of the cloud server, so that the authenticity, safety, credibility and tamper resistance of the inventory data are improved.
Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, the uploading the signed inventory data to the cloud server, so that the cloud server performs signature verification on the inventory data and uploads the inventory data passing the signature verification to the blockchain, including:
uploading the signed material inventory data to a cloud server, so that the cloud server performs signature verification on the material inventory data by utilizing an intelligent contract deployed in a blockchain, and uploads the material inventory data with the signature verification passed to the blockchain.
Optionally, the computer executable instructions stored on the storage medium, when executed by the processor, further comprise, prior to acquiring the inventory data of the target warehouse:
If the current state of the checking robot is an initialized state, acquiring a public key of the checking robot; the method comprises the steps of,
acquiring identity binding information of the inventory robot, wherein the identity binding information corresponds to a material attribution party of the inventory robot;
generating an equipment identity activation request of the inventory robot based on the identity binding information and the public key;
and sending the equipment identity activation request to a cloud server, so that the cloud server responds to the equipment identity activation request and uploads the corresponding relation between the identity binding information and the public key to a blockchain.
Optionally, the computer executable instructions stored on the storage medium, when executed by the processor, obtain the identity binding information of the inventory robot, including:
scanning equipment identity graphic codes displayed on a warehouse management terminal by using a camera device, wherein the equipment identity graphic codes are distributed by a cloud server;
and analyzing the equipment identity graphic code to obtain the identity binding information of the checking robot.
Optionally, the computer executable instructions stored on the storage medium, when executed by the processor, generate a device identity activation request of the inventory robot based on the identity binding information and the public key, including:
Sending the public key to a trusted service management platform so that the trusted service management platform generates a digital certificate containing the public key;
receiving the digital certificate sent by the trusted service management platform;
and generating a device identity activation request of the inventory robot based on the identity binding information and the digital certificate.
Optionally, the computer executable instructions stored on the storage medium, when executed by the processor, generate a device identity activation request of the inventory robot based on the identity binding information and the public key, including:
sending the public key to a trusted service management platform so that the trusted service management platform generates a digital certificate containing the public key;
receiving the digital certificate sent by the trusted service management platform;
and generating a device identity activation request of the inventory robot based on the identity binding information and the digital certificate.
Optionally, the computer executable instructions stored on the storage medium, when executed by the processor, generate a device identity activation request of the inventory robot based on the identity binding information and the digital certificate, including:
Carrying out signature processing on the identity binding information by utilizing a pre-stored private key to obtain signed identity binding information;
and generating an equipment identity activation request of the inventory robot based on the signed identity binding information and the digital certificate.
Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, the sending the equipment identity activation request to the cloud service end, so that the cloud service end responds to the equipment identity activation request and uploads the correspondence between the identity binding information and the public key to the blockchain, including:
and sending the equipment identity activation request to a cloud server, so that the cloud server responds to the equipment identity activation request, performs signature verification on the signed identity binding information based on a public key acquired from the trusted service management platform, and uploads the corresponding relation between the identity binding information and the digital certificate to a blockchain after the signature verification passes.
Optionally, the computer executable instructions stored on the storage medium, when executed by the processor, generate a device identity activation request of the inventory robot based on the identity binding information and the public key, including:
The public key is sent to a cloud server, so that the cloud server uploads the public key to a blockchain and returns an address on the blockchain for storing the public key;
receiving the address on the chain returned by the cloud server;
and generating an equipment identity activation request of the inventory robot based on the identity binding information, the on-chain address and the public key.
Optionally, the computer executable instructions stored on the storage medium, when executed by the processor, generate a device identity activation request of the inventory robot based on the identity binding information, the on-chain address, and the public key, including:
carrying out signature processing on the identity binding information by utilizing a pre-stored private key to obtain signed identity binding information;
and generating an equipment identity activation request of the inventory robot based on the signed identity binding information, the on-chain address and the public key.
Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, the sending the equipment identity activation request to the cloud service end, so that the cloud service end responds to the equipment identity activation request and uploads the correspondence between the identity binding information and the public key to the blockchain, including:
And sending the equipment identity activation request to a cloud server, so that the cloud server responds to the equipment identity activation request, and performs signature verification on the signed identity binding information based on a public key acquired from the blockchain, and uploading the corresponding relation among the identity binding information, the on-chain address and the public key to the blockchain after the signature verification passes.
Optionally, the storage medium stores computer executable instructions that, when executed by the processor, obtain inventory data of the target warehouse, comprising:
collecting material label information by using a radio frequency device, and generating material inventory data of a target warehouse according to the material label information and the current pose information;
and/or the number of the groups of groups,
and acquiring the material image information by using the camera device, and generating material inventory data of the target warehouse according to the material image information and the current pose information.
The storage medium of one or more embodiments of the present disclosure stores computer-executable instructions that, when executed by a processor, cause a inventory robot to obtain inventory data for a target warehouse, wherein the inventory data comprises: correspondence between robot pose information and material attribute information; carrying out signature processing on the material inventory data by utilizing a pre-stored private key to obtain signed material inventory data; uploading the signed material inventory data to a cloud server, so that the cloud server performs signature verification on the signed material inventory data and uploads the material inventory data passing the signature verification to a blockchain. Before the material inventory data of the target warehouse are uploaded to the cloud service end, the inventory robot performs trusted signing processing on the collected material inventory data to obtain signed material inventory data, and the material inventory data are subjected to signature verification and trusted uplink under the condition of multi-party witness based on a blockchain technology at the side of the cloud service end, so that the authenticity, safety, credibility and tamper resistance of the material inventory data are improved.
In another specific embodiment, the storage medium may be a usb disk, an optical disk, a hard disk, or the like, where the computer executable instructions stored in the storage medium when executed by the processor implement the following procedures:
receiving signed material inventory data uploaded by an inventory robot, wherein the signed material inventory data is obtained by performing signature processing on the material inventory data of a target warehouse by utilizing a pre-stored private key, and the material inventory data comprises: correspondence between robot pose information and material attribute information;
performing signature verification on the signed material inventory data to obtain a corresponding signature verification result;
and if the signature verification result is that the signature verification is passed, uploading the signed material inventory data to a block chain.
In one or more embodiments of the present disclosure, before the inventory data of the target warehouse is uploaded to the cloud server, the inventory robot performs trusted signing processing on the collected inventory data to obtain signed inventory data, and performs signature verification and trusted chaining on the inventory data under multi-party witness based on a blockchain technology on the side of the cloud server, so that the authenticity, safety, credibility and tamper resistance of the inventory data are improved.
Optionally, when the computer executable instructions stored in the storage medium are executed by the processor, the signature verification is performed on the signed material inventory data to obtain a corresponding signature verification result, including:
and carrying out signature verification on the material inventory data by utilizing the intelligent contracts deployed in the blockchain to obtain a corresponding signature verification result.
Optionally, the computer executable instructions stored on the storage medium, when executed by the processor, further comprise, prior to receiving the signed material inventory data uploaded by the inventory robot:
receiving an equipment identity activation request sent by an inventory robot, wherein the equipment identity activation request is generated based on identity binding information and a public key when the current state of the inventory robot is an initialized state, and the identity binding information corresponds to a material attribution party of inventory of the inventory robot;
and responding to the equipment identity activation request, and uploading the corresponding relation between the identity binding information and the public key to a blockchain.
Optionally, the computer executable instructions stored on the storage medium, when executed by the processor, further comprise, prior to receiving the device identity activation request sent by the inventory robot:
And issuing equipment identity graphic codes distributed to the inventory robot to a warehouse management terminal corresponding to the inventory robot, so that the inventory robot scans the equipment identity graphic codes displayed on the warehouse management terminal by using a camera device and analyzes the equipment identity graphic codes to obtain identity binding information.
Optionally, the computer executable instructions stored on the storage medium, when executed by the processor, the device identity activation request is generated based on the identity binding information and the digital certificate of the inventory robot; the digital certificate is generated by the trusted service management platform based on the public key.
Optionally, the storage medium stores computer executable instructions that, when executed by the processor, generate the device identity activation request based on the signed identity binding information and the digital certificate; the signed identity binding information is obtained by the checking robot through signature processing of the identity binding information by using a pre-stored private key.
Optionally, the computer executable instructions stored on the storage medium, when executed by the processor, respond to the device identity activation request and upload the correspondence between the identity binding information and the public key to a blockchain, including:
Responding to the equipment identity activation request, and acquiring a public key corresponding to the inventory robot from the trusted service management platform;
signing the signed identity binding information based on the obtained public key;
and if the identity binding information passes the verification, uploading the corresponding relation between the identity binding information and the digital certificate to a blockchain.
Optionally, the computer executable instructions stored on the storage medium, when executed by the processor, the device identity activation request is generated based on the identity binding information of the inventory robot, the on-chain address, and the public key; and the on-chain address is a storage address for storing the public key in the blockchain returned by the cloud server.
Optionally, the storage medium stores computer executable instructions that, when executed by the processor, generate the device identity activation request based on signed identity binding information, an on-chain address, and a public key; the signed identity binding information is obtained by the checking robot through signature processing of the identity binding information by using a pre-stored private key.
Optionally, the computer executable instructions stored on the storage medium, when executed by the processor, respond to the device identity activation request and upload the correspondence between the identity binding information and the public key to a blockchain, including:
Responding to the equipment identity activation request, and acquiring a public key corresponding to the inventory robot from the blockchain;
signing the signed identity binding information based on the obtained public key;
and if the identity binding information passes the signature verification, uploading the corresponding relation among the identity binding information, the on-chain address and the public key to a blockchain.
The computer executable instructions stored in the storage medium in one or more embodiments of the present disclosure, when executed by the processor, receive signed inventory data uploaded by the inventory robot, where the signed inventory data is obtained by signing inventory data of the target warehouse using a pre-stored private key, and the inventory data includes: correspondence between robot pose information and material attribute information; carrying out signature verification on the signed material inventory data to obtain a corresponding signature verification result; if the signature verification result of the material inventory data is that the signature verification is passed, uploading the signed material inventory data to the block chain. Before the material inventory data of the target warehouse are uploaded to the cloud service end, the inventory robot performs trusted signing processing on the collected material inventory data to obtain signed material inventory data, and the material inventory data are subjected to signature verification and trusted uplink under the condition of multi-party witness based on a blockchain technology at the side of the cloud service end, so that the authenticity, safety, credibility and tamper resistance of the material inventory data are improved.
It should be noted that, in the present specification, the embodiment about the storage medium and the embodiment about the blockchain-based inventory data providing method in the present specification are based on the same inventive concept, so that the specific implementation of the embodiment may refer to the implementation of the corresponding blockchain-based inventory data providing method, and the repetition is omitted.
The foregoing describes specific embodiments of the present disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
In the 90 s of the 20 th century, improvements to one technology could clearly be distinguished as improvements in hardware (e.g., improvements to circuit structures such as diodes, transistors, switches, etc.) or software (improvements to the process flow). However, with the development of technology, many improvements of the current method flows can be regarded as direct improvements of hardware circuit structures. Designers almost always obtain corresponding hardware circuit structures by programming improved method flows into hardware circuits. Therefore, an improvement of a method flow cannot be said to be realized by a hardware entity module. For example, a programmable logic device (Programmable Logic Device, PLD) (e.g., field programmable gate array (Field Programmable Gate Array, FPGA)) is an integrated circuit whose logic function is determined by the programming of the device by a user. A designer programs to "integrate" a digital system onto a PLD without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Moreover, nowadays, instead of manually manufacturing integrated circuit chips, such programming is mostly implemented by using "logic compiler" software, which is similar to the software compiler used in program development and writing, and the original code before the compiling is also written in a specific programming language, which is called hardware description language (Hardware Description Language, HDL), but not just one of the hdds, but a plurality of kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), lava, lola, myHDL, PALASM, RHDL (Ruby Hardware Description Language), etc., VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog are currently most commonly used. It will also be apparent to those skilled in the art that a hardware circuit implementing the logic method flow can be readily obtained by merely slightly programming the method flow into an integrated circuit using several of the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer readable medium storing computer readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable logic controllers, and embedded microcontrollers, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, atmel AT91SAM, microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic of the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller in a pure computer readable program code, it is well possible to implement the same functionality by logically programming the method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers, etc. Such a controller may thus be regarded as a kind of hardware component, and means for performing various functions included therein may also be regarded as structures within the hardware component. Or even means for achieving the various functions may be regarded as either software modules implementing the methods or structures within hardware components.
The system, apparatus, module or unit set forth in the above embodiments may be implemented in particular by a computer chip or entity, or by a product having a certain function. One typical implementation is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being functionally divided into various units, respectively. Of course, the functions of each element may be implemented in one or more software and/or hardware elements when one or more of the present description are implemented.
One skilled in the relevant art will recognize that one or more of the embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, one or more of the present specification may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, one or more of the present description can take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
One or more of the present description is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to one or more embodiments of the specification. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that 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.
One skilled in the relevant art will recognize that one or more of the embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, one or more of the present specification may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, one or more of the present description can take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
One or more of the present description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. One or more of the present description may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
In this specification, each embodiment is described in a progressive 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 merely illustrative of one or more embodiments of the present disclosure and is not intended to limit the one or more embodiments of the present disclosure. Various modifications and alterations to one or more of this description will become apparent to those skilled in the art. Any modifications, equivalent substitutions, improvements, or the like, which are within the spirit and principles of one or more of the present description, are intended to be included within the scope of the claims of one or more of the present description.

Claims (37)

1. A blockchain-based material inventory data providing method applied to an inventory robot, the method comprising:
based on the identity binding information of the inventory robot and the public key distributed by the target server, sending a device identity activation request to the cloud server so that the cloud server can activate the identity of the inventory robot, wherein the identity binding information corresponds to the material attribution party of the inventory robot;
after the identity activation of the inventory robot is determined, acquiring the inventory data of the materials in the target warehouse;
carrying out signature processing on the material inventory data to obtain signed material inventory data;
and uploading the signed material inventory data to a cloud service end, so that the cloud service end performs signature verification on the material inventory data and uploads the material inventory data passing the signature verification to a blockchain.
2. The method of claim 1, wherein the signing the inventory data to obtain signed inventory data comprises:
and carrying out signature processing on the material inventory data by utilizing a pre-stored private key to obtain signed material inventory data.
3. The method of claim 2, wherein the cloud server performs signature verification on the inventory data based on the public key carried in the equipment identity activation request.
4. The method of claim 1, wherein the inventory data comprises: correspondence between robot pose information and material attribute information.
5. The method of claim 4, wherein the robot pose information comprises: and the corresponding relation is used as reference information for verifying the integrity of the material inventory data.
6. The method of claim 1, wherein uploading the signed inventory data to a cloud server to enable the cloud server to verify the signature of the inventory data and upload the inventory data that passed the signature verification to a blockchain comprises:
uploading the signed material inventory data to a cloud server, so that the cloud server performs signature verification on the material inventory data by utilizing an intelligent contract deployed in a blockchain, and uploads the material inventory data with the signature verification passed to the blockchain.
7. The method of claim 6, wherein uploading the signed inventory data to a cloud server to cause the cloud server to verify the inventory data with a smart contract deployed in a blockchain and upload the inventory data that passed the signature verification to the blockchain comprises:
uploading the signed material inventory data to a cloud server, so that the cloud server performs signature verification on the material inventory data based on a public key corresponding to the inventory robot by utilizing an intelligent contract deployed in a blockchain, and uploading the material inventory data passing the signature verification to the blockchain;
the public key is uploaded to the cloud server by the inventory robot in the equipment identity activation stage.
8. The method of claim 1, wherein the sending, to the cloud server, a device identity activation request based on the identity binding information of the inventory robot and the public key allocated by the target server, so that the cloud server performs identity activation on the inventory robot, includes:
if the current state of the checking robot is an initialized state, acquiring a public key of the checking robot; the method comprises the steps of,
Acquiring identity binding information of the inventory robot;
generating an equipment identity activation request of the inventory robot based on the identity binding information and the public key;
and sending the equipment identity activation request to a cloud server, so that the cloud server responds to the equipment identity activation request and uploads the corresponding relation between the identity binding information and the public key to a blockchain.
9. The method of claim 8, wherein the obtaining identity binding information of the inventory robot comprises:
scanning equipment identity graphic codes displayed on a warehouse management terminal by using a camera device, wherein the equipment identity graphic codes are distributed by a cloud server;
and analyzing the equipment identity graphic code to obtain the identity binding information of the checking robot.
10. The method of claim 8, wherein the generating a device identity activation request of the inventory robot based on the identity binding information and the public key comprises:
sending the public key to a trusted service management platform so that the trusted service management platform generates a digital certificate containing the public key;
Receiving the digital certificate sent by the trusted service management platform;
and generating a device identity activation request of the inventory robot based on the identity binding information and the digital certificate.
11. The method of claim 10, wherein the generating a device identity activation request of the inventory robot based on the identity binding information and the digital certificate comprises:
carrying out signature processing on the identity binding information by utilizing a pre-stored private key to obtain signed identity binding information;
and generating an equipment identity activation request of the inventory robot based on the signed identity binding information and the digital certificate.
12. The method of claim 11, wherein the sending the device identity activation request to a cloud server, so that the cloud server responds to the device identity activation request and uploads the correspondence between the identity binding information and the public key to a blockchain, comprises:
and sending the equipment identity activation request to a cloud server, so that the cloud server responds to the equipment identity activation request, performs signature verification on the signed identity binding information based on a public key acquired from the trusted service management platform, and uploads the corresponding relation between the identity binding information and the digital certificate to a blockchain after the signature verification passes.
13. The method of claim 8, wherein the generating a device identity activation request of the inventory robot based on the identity binding information and the public key comprises:
the public key is sent to a cloud server, so that the cloud server uploads the public key to a blockchain and returns an address on the blockchain for storing the public key;
receiving the address on the chain returned by the cloud server;
and generating an equipment identity activation request of the inventory robot based on the identity binding information, the on-chain address and the public key.
14. The method of claim 13, wherein the generating the device identity activation request of the inventory robot based on the identity binding information, the on-chain address, and the public key comprises:
carrying out signature processing on the identity binding information by utilizing a pre-stored private key to obtain signed identity binding information;
and generating an equipment identity activation request of the inventory robot based on the signed identity binding information, the on-chain address and the public key.
15. The method of claim 14, wherein the sending the device identity activation request to a cloud server, so that the cloud server responds to the device identity activation request and uploads the correspondence between the identity binding information and the public key to a blockchain, comprises:
And sending the equipment identity activation request to a cloud server, so that the cloud server responds to the equipment identity activation request, and performs signature verification on the signed identity binding information based on a public key acquired from the blockchain, and uploading the corresponding relation among the identity binding information, the on-chain address and the public key to the blockchain after the signature verification passes.
16. The method of claim 1, wherein the obtaining inventory data for the target warehouse comprises:
collecting material label information by using a radio frequency device, and generating material inventory data of a target warehouse according to the material label information and the current pose information;
and/or the number of the groups of groups,
and acquiring the material image information by using the camera device, and generating material inventory data of the target warehouse according to the material image information and the current pose information.
17. A material inventory data providing method based on a blockchain is applied to a cloud server accessed into the blockchain, and the method comprises the following steps:
receiving an equipment identity activation request sent by an inventory robot and carrying out identity activation on the inventory robot, wherein the equipment identity activation request is generated based on identity binding information of the inventory robot and a public key distributed by a target service end, and the identity binding information corresponds to a material attribution party of the inventory robot;
After the identity activation of the checking robot is determined, receiving signed material checking data uploaded by the checking robot;
performing signature verification on the signed material inventory data to obtain a corresponding signature verification result;
and if the signature verification result is that the signature verification is passed, uploading the signed material inventory data to a block chain.
18. The method of claim 17, wherein the signed inventory data is obtained by signing the inventory data of the target warehouse with a pre-stored private key.
19. The method of claim 17, wherein the inventory data comprises: correspondence between robot pose information and material attribute information.
20. The method of claim 19, wherein the robot pose information comprises: and the corresponding relation is used as reference information for verifying the integrity of the material inventory data.
21. The method of claim 17, wherein the performing signature verification on the signed inventory data to obtain a corresponding signature verification result includes:
And carrying out signature verification on the material inventory data by utilizing the intelligent contracts deployed in the blockchain to obtain a corresponding signature verification result.
22. The method of claim 21, wherein the signing the inventory data using the intelligent contracts deployed in the blockchain to obtain corresponding signature verification results comprises:
acquiring a public key corresponding to the inventory robot by utilizing an intelligent contract deployed in the blockchain; the method comprises the steps of,
carrying out signature verification on the material inventory data based on the public key by utilizing the intelligent contract to obtain a corresponding signature verification result;
the public key is uploaded to the cloud server by the inventory robot in the equipment identity activation stage.
23. The method of claim 17, wherein the receiving the device identity activation request sent by the inventory robot and performing identity activation on the inventory robot comprises:
receiving an equipment identity activation request sent by an inventory robot, wherein the equipment identity activation request is generated based on identity binding information and a public key when the current state of the inventory robot is an initialized state;
And responding to the equipment identity activation request, and uploading the corresponding relation between the identity binding information and the public key to a blockchain.
24. The method of claim 23, wherein prior to receiving the device identity activation request sent by the inventory robot, further comprising:
and issuing equipment identity graphic codes distributed to the inventory robot to a warehouse management terminal corresponding to the inventory robot, so that the inventory robot scans the equipment identity graphic codes displayed on the warehouse management terminal by using a camera device and analyzes the equipment identity graphic codes to obtain identity binding information.
25. The method of claim 23, wherein the device identity activation request is generated based on identity binding information and a digital certificate of the inventory robot; the digital certificate is generated by the trusted service management platform based on the public key.
26. The method of claim 25, wherein the device identity activation request is generated based on signed identity binding information and the digital certificate; the signed identity binding information is obtained by the checking robot through signature processing of the identity binding information by using a pre-stored private key.
27. The method of claim 26, wherein the responding to the device identity activation request and uploading the correspondence between the identity binding information and the public key to a blockchain comprises:
responding to the equipment identity activation request, and acquiring a public key corresponding to the inventory robot from the trusted service management platform;
signing the signed identity binding information based on the obtained public key;
and if the identity binding information passes the verification, uploading the corresponding relation between the identity binding information and the digital certificate to a blockchain.
28. The method of claim 23, wherein the device identity activation request is generated based on identity binding information of the inventory robot, an on-chain address, and a public key; and the on-chain address is a storage address for storing the public key in the blockchain returned by the cloud server.
29. The method of claim 28, wherein the device identity activation request is generated based on signed identity binding information, an on-chain address, and a public key; the signed identity binding information is obtained by the checking robot through signature processing of the identity binding information by using a pre-stored private key.
30. The method of claim 29, wherein the responding to the device identity activation request and uploading the correspondence between the identity binding information and the public key to a blockchain comprises:
responding to the equipment identity activation request, and acquiring a public key corresponding to the inventory robot from the blockchain;
signing the signed identity binding information based on the obtained public key;
and if the identity binding information passes the signature verification, uploading the corresponding relation among the identity binding information, the on-chain address and the public key to a blockchain.
31. A blockchain-based material inventory data providing device disposed on an inventory robot side, the device comprising:
the equipment identity activation binding module is used for sending an equipment identity activation request to the cloud server based on the identity binding information of the checking robot and the public key distributed by the target server so as to enable the cloud server to perform identity activation on the checking robot, wherein the identity binding information corresponds to a material attribution checked by the checking robot;
the material data acquisition module acquires material inventory data of a target warehouse after determining that the identity of the inventory robot is activated;
The material data signing module is used for signing the material inventory data to obtain signed material inventory data;
and the material data sending module is used for uploading the signed material inventory data to a cloud service end, so that the cloud service end performs signature verification on the material inventory data and uploads the material inventory data passing the signature verification to a blockchain.
32. A blockchain-based material inventory data providing device applied to a cloud server accessing a blockchain, the device comprising:
the equipment identity binding response module receives an equipment identity activation request sent by the checking robot and activates the identity of the checking robot, wherein the equipment identity activation request is generated based on identity binding information of the checking robot and a public key distributed by a target server, and the identity binding information corresponds to a material attribution party checked by the checking robot;
the material data receiving module is used for receiving signed material inventory data uploaded by the inventory robot after the identity of the inventory robot is determined to be activated;
the material data checking module performs signature verification on the signed material inventory data to obtain a corresponding signature verification result;
And the material data storage module is used for uploading the signed material inventory data to a block chain if the signature verification result is that the signature verification is passed.
33. A blockchain-based inventory data providing system, comprising: the inventory robot and the cloud server accessed to the block chain;
the inventory robot sends a device identity activation request to a cloud server based on identity binding information of the inventory robot and a public key distributed by a target server so that the cloud server can perform identity activation on the inventory robot, wherein the identity binding information corresponds to a material attribution party of the inventory robot; after the identity activation of the checking robot is determined, acquiring material checking data of a target warehouse; carrying out signature processing on the material inventory data to obtain signed material inventory data; uploading the signed material inventory data to a cloud server;
the cloud server receives an equipment identity activation request sent by the checking robot and performs identity activation on the checking robot; receiving signed material inventory data uploaded by the inventory robot; signature verification is carried out on the material inventory data; and uploading the material inventory data with the signature verification passed to the block chain.
34. A blockchain-based inventory data providing device, comprising:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
based on identity binding information of the inventory robot and a public key distributed by a target server, sending a device identity activation request to a cloud server so that the cloud server can activate the identity of the inventory robot, wherein the identity binding information corresponds to a material attribution party of the inventory robot;
after the identity activation of the inventory robot is determined, acquiring the inventory data of the materials in the target warehouse;
carrying out signature processing on the material inventory data to obtain signed material inventory data;
and uploading the signed material inventory data to a cloud service end, so that the cloud service end performs signature verification on the material inventory data and uploads the material inventory data passing the signature verification to a blockchain.
35. A blockchain-based inventory data providing device, comprising:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
Receiving an equipment identity activation request sent by an inventory robot and carrying out identity activation on the inventory robot, wherein the equipment identity activation request is generated based on identity binding information of the inventory robot and a public key distributed by a target service end, and the identity binding information corresponds to a material attribution party of the inventory robot;
after the identity activation of the checking robot is determined, receiving signed material checking data uploaded by the checking robot;
performing signature verification on the signed material inventory data to obtain a corresponding signature verification result;
and if the signature verification result is that the signature verification is passed, uploading the signed material inventory data to a block chain.
36. A storage medium storing computer executable instructions that when executed by a processor implement the method of:
based on identity binding information of the inventory robot and a public key distributed by a target server, sending a device identity activation request to a cloud server so that the cloud server can activate the identity of the inventory robot, wherein the identity binding information corresponds to a material attribution party of the inventory robot;
After the identity activation of the inventory robot is determined, acquiring the inventory data of the materials in the target warehouse;
carrying out signature processing on the material inventory data to obtain signed material inventory data;
and uploading the signed material inventory data to a cloud service end, so that the cloud service end performs signature verification on the material inventory data and uploads the material inventory data passing the signature verification to a blockchain.
37. A storage medium storing computer executable instructions that when executed by a processor implement the method of:
receiving an equipment identity activation request sent by an inventory robot and carrying out identity activation on the inventory robot, wherein the equipment identity activation request is generated based on identity binding information of the inventory robot and a public key distributed by a target service end, and the identity binding information corresponds to a material attribution party of the inventory robot;
after the identity activation of the checking robot is determined, receiving signed material checking data uploaded by the checking robot;
performing signature verification on the signed material inventory data to obtain a corresponding signature verification result;
And if the signature verification result is that the signature verification is passed, uploading the signed material inventory data to a block chain.
CN202111072977.0A 2020-02-27 2020-02-27 Material inventory data providing method, device and system based on block chain Active CN113794569B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111072977.0A CN113794569B (en) 2020-02-27 2020-02-27 Material inventory data providing method, device and system based on block chain

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111072977.0A CN113794569B (en) 2020-02-27 2020-02-27 Material inventory data providing method, device and system based on block chain
CN202010125140.7A CN111371559B (en) 2020-02-27 2020-02-27 Material inventory data providing method, device and system based on block chain

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN202010125140.7A Division CN111371559B (en) 2020-02-27 2020-02-27 Material inventory data providing method, device and system based on block chain

Publications (2)

Publication Number Publication Date
CN113794569A CN113794569A (en) 2021-12-14
CN113794569B true CN113794569B (en) 2023-10-13

Family

ID=71206295

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202010125140.7A Active CN111371559B (en) 2020-02-27 2020-02-27 Material inventory data providing method, device and system based on block chain
CN202111072977.0A Active CN113794569B (en) 2020-02-27 2020-02-27 Material inventory data providing method, device and system based on block chain

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202010125140.7A Active CN111371559B (en) 2020-02-27 2020-02-27 Material inventory data providing method, device and system based on block chain

Country Status (2)

Country Link
CN (2) CN111371559B (en)
WO (1) WO2021169455A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11579630B2 (en) * 2020-02-06 2023-02-14 Accenture Global Solutions Limited Decentralized robot cooperation platform
CN111371559B (en) * 2020-02-27 2021-07-27 支付宝(杭州)信息技术有限公司 Material inventory data providing method, device and system based on block chain
CN112422290A (en) * 2020-10-27 2021-02-26 中思博安科技(北京)有限公司 Block chain-based data uplink method, device and system
CN114637755A (en) * 2020-11-03 2022-06-17 支付宝(杭州)信息技术有限公司 Block chain-based item code generation method, and item weight transfer method and device
CN113079025A (en) * 2021-04-07 2021-07-06 上海万向区块链股份公司 Method and system compatible with multiple public key algorithm signatures

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101676767B1 (en) * 2015-07-20 2016-11-16 테라온 주식회사 The System and Method for patrolling management of mobile device user
CN106485298A (en) * 2016-10-11 2017-03-08 合肥思盟信息科技有限公司 A kind of equipment routing inspection maintaining method based on Quick Response Code
EP3396612A1 (en) * 2017-04-24 2018-10-31 BlockSettle AB Method and system for creating a user identity
CN109242119A (en) * 2018-11-07 2019-01-18 福建亿榕信息技术有限公司 A kind of secondary equipment of intelligent converting station automatic detecting method and system
CN109264275A (en) * 2018-09-20 2019-01-25 深圳蓝胖子机器人有限公司 Intelligent repository management method, device and storage medium based on robot
CN109446830A (en) * 2018-11-13 2019-03-08 中链科技有限公司 Data center environment information processing method and device based on block chain
CN109726922A (en) * 2018-12-29 2019-05-07 杭州趣链科技有限公司 A kind of computer room patrolling and checking management system and method based on block chain
CN109816383A (en) * 2019-02-22 2019-05-28 杭州秘猿科技有限公司 A kind of block chain endorsement method, block chain wallet and block chain
WO2019184210A1 (en) * 2018-03-27 2019-10-03 深圳春沐源控股有限公司 Multi-warehouse data management method based on block chain and related device
CN110303500A (en) * 2019-07-10 2019-10-08 中信梧桐港供应链管理有限公司 A kind of warehouse robot control system and method
CN110365928A (en) * 2019-07-16 2019-10-22 阿里巴巴集团控股有限公司 A kind of Driving Test videotape storage means, apparatus and system based on block chain
CN110445617A (en) * 2019-07-16 2019-11-12 阿里巴巴集团控股有限公司 A kind of vehicle parking image storage method, apparatus and system based on block chain
CN110490514A (en) * 2019-08-01 2019-11-22 深圳市珍久库科技有限公司 A kind of assets digitlization of the intelligent repository based on block chain management and device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7693757B2 (en) * 2006-09-21 2010-04-06 International Business Machines Corporation System and method for performing inventory using a mobile inventory robot
CN109478305A (en) * 2016-03-31 2019-03-15 Tbsx3有限公司 Information system for item authentication
US20180240191A1 (en) * 2017-02-03 2018-08-23 Terry Aronson System and Method for asset backed crypto-currency
CN107886284A (en) * 2017-12-26 2018-04-06 青岛道合供应链管理有限公司 A kind of staple commodities supply chain management system for internet of things based on wisdom pallet
US20200026834A1 (en) * 2018-07-23 2020-01-23 One Kosmos Inc. Blockchain identity safe and authentication system
CN109660350A (en) * 2018-10-31 2019-04-19 阿里巴巴集团控股有限公司 Data based on block chain deposit card method and device, electronic equipment
CN110503362A (en) * 2019-08-01 2019-11-26 深圳市珍久库科技有限公司 A kind of intelligent repository management method and system based on block chain
CN110450176A (en) * 2019-08-07 2019-11-15 国网河北省电力有限公司 The robot to make an inventory for Power Material storage
CN111371559B (en) * 2020-02-27 2021-07-27 支付宝(杭州)信息技术有限公司 Material inventory data providing method, device and system based on block chain

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101676767B1 (en) * 2015-07-20 2016-11-16 테라온 주식회사 The System and Method for patrolling management of mobile device user
CN106485298A (en) * 2016-10-11 2017-03-08 合肥思盟信息科技有限公司 A kind of equipment routing inspection maintaining method based on Quick Response Code
EP3396612A1 (en) * 2017-04-24 2018-10-31 BlockSettle AB Method and system for creating a user identity
WO2019184210A1 (en) * 2018-03-27 2019-10-03 深圳春沐源控股有限公司 Multi-warehouse data management method based on block chain and related device
CN109264275A (en) * 2018-09-20 2019-01-25 深圳蓝胖子机器人有限公司 Intelligent repository management method, device and storage medium based on robot
CN109242119A (en) * 2018-11-07 2019-01-18 福建亿榕信息技术有限公司 A kind of secondary equipment of intelligent converting station automatic detecting method and system
CN109446830A (en) * 2018-11-13 2019-03-08 中链科技有限公司 Data center environment information processing method and device based on block chain
CN109726922A (en) * 2018-12-29 2019-05-07 杭州趣链科技有限公司 A kind of computer room patrolling and checking management system and method based on block chain
CN109816383A (en) * 2019-02-22 2019-05-28 杭州秘猿科技有限公司 A kind of block chain endorsement method, block chain wallet and block chain
CN110303500A (en) * 2019-07-10 2019-10-08 中信梧桐港供应链管理有限公司 A kind of warehouse robot control system and method
CN110365928A (en) * 2019-07-16 2019-10-22 阿里巴巴集团控股有限公司 A kind of Driving Test videotape storage means, apparatus and system based on block chain
CN110445617A (en) * 2019-07-16 2019-11-12 阿里巴巴集团控股有限公司 A kind of vehicle parking image storage method, apparatus and system based on block chain
CN110490514A (en) * 2019-08-01 2019-11-22 深圳市珍久库科技有限公司 A kind of assets digitlization of the intelligent repository based on block chain management and device

Also Published As

Publication number Publication date
CN113794569A (en) 2021-12-14
CN111371559A (en) 2020-07-03
CN111371559B (en) 2021-07-27
WO2021169455A1 (en) 2021-09-02

Similar Documents

Publication Publication Date Title
CN113794569B (en) Material inventory data providing method, device and system based on block chain
CN112149187B (en) Method and device for processing traceability information based on blockchain
ES2808954T3 (en) Procedure and device for use in risk management of application information
US10601840B2 (en) Security determination
CN116340955A (en) Data processing method, device and equipment based on block chain
CN109583224B (en) User privacy data processing method, device, equipment and system
KR20110033119A (en) Method for providing a service based on tag information, and corresponding tag and tag reading device
CN112689979B (en) Article identity management method, terminal, microprocessor unit, identification device and system
CN113222667B (en) Equity sharing processing method and device
US10958665B2 (en) Consumer and business anti-counterfeiting services using identification tags
WO2016019456A1 (en) Id tag authentication system and method
CN109345392B (en) Method and system for issuing programming question, issuing solution code and checking solution code
CN112200585B (en) Service processing method, device, equipment and system
CN112035504B (en) Block chain-based item code generation method, and item weight transfer method and device
CN113111389A (en) Information management method and device of measuring equipment
CN112560019A (en) Processing method, device and equipment of block chain data
US20180205714A1 (en) System and Method for Authenticating Electronic Tags
CN111784356A (en) Payment verification method, device, equipment and storage medium
US20220038279A1 (en) Blockchain data processing method, apparatus, and device
US9992181B2 (en) Method and system for authenticating a user based on location data
CN110059476B (en) Application access method, device and equipment
CN113673374B (en) Face recognition method, device and equipment
CN114692158A (en) Method, device, equipment and medium for realizing trusted data chain
CN113159800B (en) Identity authentication processing method and device
CN113761496A (en) Identity verification method and device based on block chain and electronic equipment

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