CN113794569A - 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
CN113794569A
CN113794569A CN202111072977.0A CN202111072977A CN113794569A CN 113794569 A CN113794569 A CN 113794569A CN 202111072977 A CN202111072977 A CN 202111072977A CN 113794569 A CN113794569 A CN 113794569A
Authority
CN
China
Prior art keywords
robot
identity
inventory
inventory data
cloud server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111072977.0A
Other languages
Chinese (zh)
Other versions
CN113794569B (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

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Economics (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Human Resources & Organizations (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

One or more embodiments of the present specification provide a method, an apparatus, and a system for providing inventory data of materials based on a block chain, where the method includes: obtaining material inventory data of a target warehouse, wherein the material inventory data comprises: and the corresponding relation between the robot posture information and the material attribute information. And signing the material inventory data by using a pre-stored private key to obtain the signed material inventory data. And 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 block chain.

Description

Material inventory data providing method, device and system based on block chain
The present application is a divisional application entitled [ block chain-based method, apparatus and system for providing material inventory data ], which is a chinese patent application No. 202010125140.7 filed on 27/2/2020.
Technical Field
The document relates to the technical field of internet of things, in particular to a material inventory data providing method, device and system based on a block chain.
Background
At present, with the rapid development of the internet of things technology, the work of warehousing material inventory for a material warehouse is more and more popular, wherein the material inventory data of a merchant warehouse can be used as a basis for receiving a commodity purchase order of a buyer or not so as to ensure that the buyer can be delivered in time; in addition, the merchant can obtain investment of the investor through the storage material mortgage to ensure a fund supply chain, so the material inventory data can also be used as a decision basis for investment of the investor to the merchant, and therefore, the authenticity and credibility of the warehouse material data directly influence the timeliness of commodity supply or the decision accuracy of the investor.
However, currently, the warehouse administrator mainly reports the stock inventory data of the merchants, which causes the stock inventory data to be at risk of being tampered and forged, thereby causing untimely supply of goods or increasing the investment risk of the investor. Although more and more automated devices are now being used for inventory checking, i.e. by checking existing goods in a warehouse by means of automated checking devices, there is still a risk of tampering, counterfeiting, before the goods inventory data is uploaded.
Accordingly, it is desirable to provide a technical solution for acquiring inventory data that can ensure authenticity and credibility of the inventory data.
Disclosure of Invention
An object of one or more embodiments of the present specification is to provide a block chain-based supply inventory data providing method. The material checking data providing method based on the block chain is applied to the checking robot and comprises the following steps:
obtaining material inventory data of a target warehouse, wherein the material inventory data comprises: and the corresponding relation between the robot posture information and the material attribute information. And signing the material inventory data by using a pre-stored private key to obtain the signed material inventory data. And 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 block chain.
An object of one or more embodiments of the present specification is to provide a block chain-based supply inventory data providing method. The cloud server side is applied to the access block chain, and the material inventory data providing method based on the block chain comprises the following steps:
receiving signed material inventory data uploaded by an inventory robot, wherein the signed material inventory data is obtained by signing the material inventory data of a target warehouse by using a pre-stored private key, and the material inventory data comprises: and the corresponding relation between the robot posture information and the 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 passes, uploading the signed material inventory data to a block chain.
An object of one or more embodiments of the present specification is to provide a block chain-based supply inventory data providing apparatus. Set up in the robot side of checking up, this goods and materials checking up data providing device based on block chain includes:
the material data acquisition module is used for acquiring material inventory data of a target warehouse, wherein the material inventory data comprises: and the corresponding relation between the robot posture information and the 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 the signed material inventory data. And the material data sending module uploads the signed material inventory data to a cloud server so that the cloud server carries out signature verification on the material inventory data and uploads the material inventory data passing the signature verification to a block chain.
An object of one or more embodiments of the present specification is to provide a block chain-based supply inventory data providing apparatus. Be applied to the high in the clouds server side that inserts the block chain, this goods and materials inventory data provides device based on the block chain includes:
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 signing the material inventory data of a target warehouse by using a pre-stored private key, and the material inventory data comprises: and the corresponding relation between the robot posture information and the material attribute information. And the material data signature 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 uploads the signed material inventory data to a block chain if the signature verification result is that the signature verification passes.
It is an object of one or more embodiments of the present specification to provide a block chain-based inventory data providing system. The material inventory data providing system based on the block chain comprises: the system comprises an inventory robot and a cloud server of an access block chain.
The inventory robot acquires material inventory data of a target warehouse, wherein the material inventory data comprises: the corresponding relation between the robot posture information and the material attribute information; signing the material inventory data by using 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; and signature verification is carried out on the material inventory data; and uploading the material inventory data passing the signature verification to the block chain.
An object of one or more embodiments of the present specification is to provide a block chain-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 material inventory data for a target warehouse, wherein the material inventory data comprises: and the corresponding relation between the robot posture information and the material attribute information. And signing the material inventory data by using a pre-stored private key to obtain the signed material inventory data. And 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 block chain.
An object of one or more embodiments of the present specification is to provide a block chain-based inventory data providing apparatus, including: a processor; and a memory arranged to store computer executable instructions.
The computer executable instructions, when executed, enable the processor to receive signed material inventory data uploaded by an inventory robot, wherein the signed material inventory data is obtained by signing material inventory data of a target warehouse by using a pre-stored private key, and the material inventory data comprises: and the corresponding relation between the robot posture information and the 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 passes, 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 storage medium for storing computer-executable instructions. The executable instructions, when executed by a processor, obtain inventory data for a target warehouse, wherein the inventory data comprises: and the corresponding relation between the robot posture information and the material attribute information. And signing the material inventory data by using a pre-stored private key to obtain the signed material inventory data. And 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 block chain.
It is an object of one or more embodiments of the present specification to provide a storage medium for storing computer-executable instructions. The executable instruction receives signed material inventory data uploaded by an inventory robot when being executed by a processor, wherein the signed material inventory data is obtained by signing the material inventory data of a target warehouse by using a pre-stored private key, and the material inventory data comprises: and the corresponding relation between the robot posture information and the 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 passes, uploading the signed material inventory data to a block chain.
Drawings
In order to more clearly illustrate one or more embodiments or prior art solutions of the present specification, the drawings that are needed in the description of the embodiments or prior art will be briefly described below, it is obvious that the drawings in the following description are only some of the embodiments described in one or more of the specification, and that other drawings can be obtained by those skilled in the art without inventive exercise.
Fig. 1 is a schematic application scenario diagram of a block chain-based material 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 material inventory data providing system based on the block chain shown in fig. 1;
fig. 3 is a first flowchart of a block chain-based material inventory data providing method applied to an inventory robot according to one or more embodiments of the present disclosure;
fig. 4 is a second flowchart of a block chain-based material inventory data providing method applied to an inventory robot according to one or more embodiments of the present disclosure;
fig. 5 is a third flowchart of a block chain-based material inventory data providing method applied to an inventory robot according to one or more embodiments of the present disclosure;
fig. 6 is a fourth flowchart of a block chain-based material inventory data providing method applied to an inventory robot according to one or more embodiments of the present disclosure;
fig. 7 is a flowchart illustrating a method for providing block chain-based material inventory data for a cloud server according to one or more embodiments of the present disclosure;
fig. 8 is a schematic block composition diagram of a block chain-based material inventory data providing device disposed on an inventory robot side according to one or more embodiments of the present disclosure;
fig. 9 is a schematic block diagram illustrating a component of a block chain-based material inventory data providing apparatus disposed at a cloud server according to one or more embodiments of the present disclosure;
fig. 10 is a schematic structural component diagram of a block chain-based material inventory data providing system according to one or more embodiments of the present disclosure;
fig. 11 is a schematic structural diagram of a supply material inventory data providing apparatus based on a block chain according to one or more embodiments of the present disclosure.
Detailed Description
In order to make the technical solutions in one or more embodiments of the present disclosure better understood, the technical solutions in one or more embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in one or more embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of one or more embodiments of the present disclosure, but not all embodiments. All other embodiments that can be derived by a person skilled in the art from the embodiments described in one or more of the present specification without inventive step should be considered within the scope of protection of this document.
It should be noted that one or more embodiments and features of the embodiments in the present description may be combined with each other without conflict. Reference will now be made in detail to one or more embodiments of the disclosure, examples of which are illustrated in the accompanying drawings.
One or more embodiments of the present disclosure provide a method, an apparatus, and a system for providing material inventory data based on a block chain, where before the material inventory data of a target warehouse is uploaded to a cloud service end, an inventory robot performs trusted signature processing on the collected material inventory data to obtain signed material inventory data, and the cloud service end performs signature verification and trusted chaining on the material inventory data under multiple witnesses based on a block chain technology, so as to improve authenticity, security, credibility, and tamper resistance of the material inventory data.
Fig. 1 is a schematic application scenario diagram of a supply material inventory data providing system based on a block chain according to one or more embodiments of the present specification, as shown in fig. 1, the system includes: the checking robot comprises a checking robot, a cloud server and a block chain, wherein the checking robot can be used for an intelligent robot terminal for checking warehouse materials of a target warehouse, and a trusted signature module is arranged in the checking 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 to access the material inventory data, can provide block chain service, and can be an independent server or a server cluster consisting of a plurality of servers.
Specifically, to the process of storing the material inventory data of the target warehouse collected by the inventory robot to the cloud server, the inventory robot acquires the material inventory data of the target warehouse, wherein the material inventory data comprises: the corresponding relation between the robot posture information and the material attribute information; signing the material inventory data by using a pre-stored private key to obtain signed material inventory data; and 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 block chain, and thus, a third-party client can obtain credible material inventory data from the block chain.
Based on the application scenario schematic diagram of the resource transfer system based on the block chain in fig. 1, as shown in fig. 2, the cloud server may be an access block chain as a block chain link point in the block chain, or may communicate with at least one block chain link point of the access block chain, taking the cloud server as a block chain node as an example, where the specific process provided by the block chain-based material inventory data is as follows:
the inventory robot obtains inventory data of a target warehouse, wherein the inventory data comprises: the corresponding relation between the robot posture information and the material attribute information;
the checking robot signs the material checking data by using a prestored private key to obtain the signed material checking data;
the checking robot uploads the signed material checking data to a 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;
and if the signature verification result is that the signature verification passes, the cloud server uploads the goods and materials inventory data passing the signature verification to the block chain, so that the third-party client can obtain the credible goods and materials inventory data from the block chain.
In the application scenario, 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 cloud server performs signature verification and trusted chaining on the material inventory data under multi-party evidence based on a block chain technology, so that the authenticity, the safety, the credibility and the anti-tamper property of the material inventory data are improved.
Fig. 3 is a first flowchart of a block chain-based inventory data providing method 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, obtaining material inventory data of a target warehouse, wherein the material inventory data comprises: the corresponding relation between the robot posture information and the material attribute information;
the robot pose information may be acquired by a pose sensor in the inventory robot, the pose information may include a current pose angle and current coordinate information, and the pose sensor may include: sensors such as laser radar distance sensors, accelerometer gyroscopes, etc.; the material attribute information can be acquired by a radio frequency device or a camera device in the checking robot;
specifically, the radio frequency device is used for collecting 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; wherein, the radio frequency device can be an RFID radio frequency module or other radio frequency modules;
and/or acquiring image information of the material object 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, a pose sensor is used for collecting pose information of the inventory robot, meanwhile, a radio frequency device is used for scanning a radio frequency tag on the inventory robot to obtain tag information of the inventory robot, and/or a camera device is used for shooting the inventory robot to obtain image information of the inventory robot, and a first corresponding relation between the pose information and the tag information of the inventory and/or a second corresponding relation between the pose information and the image information of the inventory are/is transmitted to a inventory module in the inventory robot, and the inventory module determines a corresponding relation between the pose information of the robot and the attribute information of the inventory robot according to the first corresponding relation and/or the second corresponding relation.
In order to improve the authenticity of the robot pose information and prevent a malicious user from tampering the pose information, the pose sensor transmits the robot pose information to a navigation and routing system in the inventory robot, the navigation and routing system signs the robot pose information and transmits the signed robot pose information to a material inventory module, so that the authenticity and the tamper resistance of the robot pose information are ensured, and the accuracy and the credibility of the corresponding relationship between the robot pose information and the material attribute information are further ensured.
S304, signing the obtained material inventory data by using a prestored 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 the material inventory data is signed first, and then the signed material inventory data is uploaded to the cloud server, so that the cloud server can rapidly 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 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 block chain.
Specifically, the checking robot side signs the material checking data by using a private key, correspondingly, the cloud server side checks the signed material checking data by using a public key corresponding to the checking robot to identify the authenticity of the material checking data, and then the material checking data passing the check is stored into a block chain in a trusted manner, so that a third-party client side obtains the authentic, trusted and multi-party witnessed material checking data from the block chain, and the material checking data is used as guidance data for subsequent business processing;
specifically, the cloud server receives a data access request of a third-party client, wherein the material 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 an access right 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 service end, the inventory robot performs trusted signature processing on the collected inventory data of the material to obtain signed inventory data of the material, and the cloud service end performs signature verification and trusted chaining on the inventory data of the material under multiple witnesses based on a block chain technology, so as to improve authenticity, security, credibility, and tamper resistance of the inventory data of the material.
Wherein, to the process that cloud server signed signature verification to material inventory data, can introduce intelligent contract, realize carrying out the verification sign of material inventory data under the multi-party witnessing, based on this, as shown in fig. 4, above-mentioned S306, upload material inventory data after signing to the high in the clouds service end to make this high in the clouds service end sign the material inventory data after signing verify and upload the material inventory data that signature verification passes to the block chain, specifically include:
s3061, uploading the signed material inventory data to a cloud server, so that the cloud server performs signature verification on the signed material inventory data by using an intelligent contract deployed in the block chain, and uploading the material inventory data that passes the signature verification to the block chain.
Specifically, after receiving signed material inventory data uploaded by the inventory robot, the cloud server acquires a corresponding public key based on the equipment identification information of the inventory robot through an intelligent contract deployed in a block chain, 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 intelligent contract is a digitally defined contract capable of automatically executing terms. In the field of blockchain technology, smart contracts refer to computer programs that are triggered, non-tamperproof, and automatically executed based on predetermined events. The intelligent contracts can ensure the reliable execution of all contracts and avoid tampering, repudiation and default. The intelligent contracts need to be instantiated and validated on a state machine in the blockchain after release.
The intelligent contract can be deployed on the block chain in advance, the intelligent contract comprises a contract for automatically executing the checking and signing of the material checking point data, the intelligent contract is used for checking and signing the signed material checking point data uploaded by the checking robot, and the full-flow transparency and multi-party witness without manual intervention can be achieved.
Specifically, in the process of carrying out check signing on the material inventory data based on the intelligent contract, each node on a block chain participates in 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 transparent to each node on the block chain, each node on the block chain is controlled to carry out consensus on the execution data items, the obtained consensus check signing execution data of the inventory data is taken as a signature verification result of the material inventory data and is stored in the block chain in an encrypted mode, and all execution data items generated in the execution process of the intelligent contract are stored under the common evidence of each node on the block chain.
The block chain technology has non-tamper-proof property, and the final signature verification result aiming at the material inventory data and the material inventory data passing the verification are written into the block chain after being witnessed by multiple parties, so that the signature verification result uploaded to the block chain and the material inventory data can be guaranteed not to be tampered, and the authenticity of the data is guaranteed; and aiming at the whole process of the material checking and signing of the stock data, the automatic execution is realized through an intelligent contract arranged on the block chain, each checking and signing link has no manual intervention, the information of each checking and signing link is stored on the block chain, and in case that the checking and signing process of the stock data is required to be disclosed as a notarization subsequently, all relevant information in the checking and signing process of the stock data can be directly obtained from the block chain and used as evidence.
In addition, in order to facilitate the third-party client to quickly and efficiently check the required material inventory data so as to serve as decision information for guiding subsequent business processing, the cloud server can also generate a classified material inventory report based on the material inventory data passing the label checking by using an intelligent contract arranged in the block chain, and upload the classified material inventory report to the block chain. Specifically, the material inventory data passing the check and the signature can be classified according to the inventory time information, the material category information, the region information of the material and the like, and a corresponding material inventory report is generated.
When the intelligent contract is implemented, different implementation processes automatically executed by the intelligent contract can be implemented by different intelligent contracts deployed in the block chain. For example, the signed inventory data is signed and verified using a first intelligent contract deployed in the blockchain. And generating a classified material inventory report based on the material inventory data passing the verification and the signing 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, the equipment identity activation binding is performed on each inventory robot in advance, and the correspondence between the unique identity of the inventory robot and the public key is performed through the cloud server, so that the identity of the inventory robot can be quickly and accurately verified in the subsequent process, and the inventory data uploaded by the inventory robot can be signed and verified, so that the authenticity of the inventory data stored in the block chain under double control is realized, and based on this, as shown in fig. 5, before the step S302 of obtaining the inventory data of the target warehouse, the method further includes:
s308, if the current state of the checking robot is an initialization state, acquiring a public key of the checking robot; and the number of the first and second groups,
specifically, whether the current state of the inventory robot meets a preset condition is judged, wherein the preset condition comprises: before the checking robot leaves a factory, the checking robot is used for the first time, or an enterprise served by the checking robot has changes; if the judgment result is yes, the current state of the checking robot is determined to be an initialization state, namely, the fact that identity activation binding needs to be carried out on the checking robot is stated.
S310, acquiring identity binding information of the checking robot, wherein the identity binding information corresponds to a material attribution party checked by the checking robot;
specifically, in the process of identity activation binding for the checking robot, not only a public key of the checking robot needs to be acquired, but also identity binding information of the checking robot needs to be acquired; aiming at the condition that a target warehouse simultaneously stores material objects of a plurality of material attribution parties, in order to conveniently and accurately classify material inventory data subsequently, each inventory robot corresponds to the material attribution party 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, a public key corresponding to the checking robot and a unique identifier of the checking robot; and after the public key and the identity binding information of the inventory robot are obtained, an equipment identity activation request is automatically generated.
And S314, sending an equipment identity activation request to the 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 checking robot and the public key to the block chain.
Specifically, an identity activation input module may be set at the inventory robot side, and correspondingly, a trusted signature identity activation service is set at the cloud server, and the identity activation input module in the inventory robot triggers the trusted signature identity activation service in the cloud server to execute an identity activation binding operation for the inventory robot based on the generated device identity activation request, so that block chaining method registration of the inventory robot identity is realized, and identity credibility and non-tamper-resistance of the inventory robot are ensured.
Correspondingly, after receiving the material checking point data uploaded by the checking robot, the cloud server not only performs signature verification on the signed material checking point data based on a public key corresponding to the checking robot, but also performs authenticity verification on the equipment identity of the checking robot based on identity binding information corresponding to the checking robot, and if the data signature verification is passed and the equipment identity verification is passed, the material checking point data is uploaded to a block chain;
specifically, the cloud server side verifies the authenticity of the equipment identity of the checking robot by using the intelligent contract deployed in the block chain based on the identity binding information corresponding to the checking robot, and a corresponding equipment identity verification result is obtained.
In addition, in a process of sending the device identity activation request to the cloud server by the inventory robot, a situation that the device identity binding fails due to the fact that the device identity activation request is not verified may exist, and therefore, 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 the equipment identity binding is failed;
correspondingly, when receiving a feedback result of the equipment identity binding failure, the inventory 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 the situation that the equipment identity binding fails due to the fact that the equipment identity activation request is determined to come from the untrusted checking robot, preferably, the identity activation request response result is prohibited from being returned to the checking robot, so that the untrusted equipment is prevented from sending the equipment identity activation request to the cloud server again;
for the case that the equipment identity binding fails due to network abnormality and the like, preferably, the cloud server returns an identity activation request response result to the checking robot to trigger the checking robot to send an equipment identity activation request to the cloud server again;
therefore, the cloud server 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 or not is determined according to the reason type of the equipment identity binding failure.
As shown in fig. 6, in the process of acquiring the identity binding information of the inventory robot, in step S310, acquiring the identity binding information of the inventory robot specifically includes:
s3101, scanning an equipment identity graphic code displayed on a warehouse management terminal by using a camera device, wherein the equipment identity graphic code is distributed by a cloud service terminal;
s3102, the scanned equipment identity graphic code is analyzed to obtain identity binding information of the checking robot.
Specifically, the warehouse management terminal may be equipped with a preset application program, and after detecting a trigger operation for 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 returns corresponding equipment identity information to the warehouse management terminal in response to the equipment identity information acquisition request, where the equipment identity information may be dynamic graphic code information or a random character string;
specifically, for example, the device identity information is dynamic graphic code information, and after receiving the dynamic graphic code information returned by the cloud server, the warehouse management terminal displays the corresponding dynamic graphic code, so that the inventory robot scans the dynamic graphic code by using the camera device and acquires the 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 also be transmitted to the checking robot through the warehouse management terminal. Preferably, the process of triggering the cloud server to distribute the dynamic graphic codes is set at the warehouse management terminal, and then the warehouse management terminal transmits the identity binding information of the checking robot to the checking robot, so that the problem that a malicious user randomly triggers the checking robot to send an equipment identity activation request to the cloud server to randomly falsify the real identity of the checking robot due to the fact that the operation environment of the checking robot is a complex material warehouse of personnel can be avoided, and the identity authenticity and the credibility of the checking robot are further improved.
In addition, in specific implementation, in order to further prevent malicious users from using other terminal devices to randomly trigger the inventory robot to send a device identity activation request to the cloud server, the inventory robot acquires target identification information of the warehouse management terminal after detecting a graphic code scanning triggering operation, judges whether the target identification information is consistent with preset identification information, and scans a device identity graphic code displayed on the warehouse management terminal by using a camera if the target identification information is consistent with the preset identification information; 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 it is determined that the target identification information is consistent with the preset identification information, it is indicated that the device identity graphic code required to be scanned currently comes from a preset trusted warehouse management terminal, and a malicious user is prevented from triggering the inventory robot to send a device identity activation request to the cloud server side at will, so that the condition that the identity of the inventory robot is illegally changed maliciously is avoided.
Further, in the case that a target warehouse stores material objects of a plurality of material attribution parties, 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 server, namely a material attribution party served by the inventory robot to be activated by the identity; the cloud server returns the equipment identity information corresponding to the target equipment service enterprise, namely the 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 a public key uploaded by the inventory robot and used for signature verification of inventory data, a process of issuing a digital certificate with public credibility for the inventory robot by a trusted service management platform is added for the generation process of the equipment identity activation request, and only a legal equipment end allows the trusted service management platform to issue a corresponding digital certificate, so that the cloud service end only stores the digital certificate issued by the trusted service management platform to ensure that the inventory data passing the signature verification is uploaded by the legal equipment end, based on which, the S312 generates the equipment identity activation request of the inventory robot based on the acquired identity binding information and the public key, and specifically includes:
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 the 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 checking robot is issued by a trusted authority, the digital certificate has public credibility, and when the subsequent cloud server binds the equipment identity information of the checking robot, the issuing authority 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 authority or not, so that the public key of the checking robot is prevented from being attacked, and the credibility of the public key is improved.
Specifically, each checking robot corresponds to a pair of public key and private key, and the checking robot acquires the public key and the private key distributed by the target server; storing the private key to the local to sign the material inventory data by using the private key; and in the process of sending the equipment identity activation request to the cloud server, transmitting the public key 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 sending the device identity activation request to the cloud server, signature processing on the identity binding information is added on the checking robot side, so that the cloud server checks 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 this, the third step generates the device identity activation request of the checking robot based on the acquired identity binding information and the received digital certificate, which specifically includes:
signing the acquired identity binding information by using a prestored 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 identity binding relationship of the robot is credible and tamper-proof.
Wherein, to the condition that signs earlier identity binding information and regeneration equipment identity activation request at the check robot side, it is corresponding, need check sign to equipment identity activation request at the high in the clouds server, ensure that robot identity binding relation is credible, tamper-proofing, on this basis, above-mentioned S314, send equipment identity activation request to the high in the clouds server to make this high in the clouds server respond to this equipment identity activation request and upload the corresponding relation between the identity binding information of check robot and the public key to the block chain, specifically include:
and sending an equipment identity activation request to a cloud server, so that the cloud server responds to the equipment identity activation request, checks 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 of the inventory robot and the digital certificate to the block chain after the check passes.
Specifically, after receiving an equipment identity activation request sent by an inventory robot, a cloud server acquires a digital certificate corresponding to the inventory robot from a trusted service management platform based on equipment identification information of the inventory robot;
based on the public key in the acquired digital certificate, verifying the signed identity binding information in the equipment identity activation request;
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 a block chain;
and if the identity binding information is not checked and signed, determining that the equipment identity activation request is from the untrusted checking 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 server can 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 check; based on this, specifically include:
acquiring a signature verification key of a digital certificate corresponding to the inventory robot from a trusted service management platform based on the equipment identification information of the inventory robot, wherein the signature verification key corresponds to a signature key used by the trusted service management platform for signing a public key corresponding to the inventory robot and generating the digital certificate;
based on the obtained signature verification secret key, verifying the digital certificate in the equipment identity activation request;
if the digital certificate passes the signature verification, verifying the signed identity binding information in the equipment identity activation request by using the public key in the digital certificate; specifically, if the digital certificate passes the verification, the digital certificate is trusted, 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 a block chain;
and if the identity binding information is not checked and signed, determining that the equipment identity activation request is from the untrusted checking robot, and stopping responding to the received equipment identity activation request.
Further, considering that the information on the block chain is credible and non-falsifiable, compared with a credible service management platform, the public key authenticated by the block chain has more public trust, based on which the checking robot can apply public trust authentication for the public key of itself to the block chain first, so as to ensure the public trust of the public key stored on the block chain, and then send an equipment identity activation request carrying the public key after public trust authentication to the cloud service end, based on this, for the generation process of the equipment identity activation request, in order to improve the trust of the public key uploaded by the checking robot for signature verification of the inventory data of goods and materials, a process of returning the link address corresponding to the public key with public trust to the checking robot by the block chain is increased, and only the legal equipment end allows the requesting block chain to perform public trust authentication of the public key and return the corresponding link address, like this cloud end server only stores the public key that the public credibility of block chain authenticated to ensure that the goods and materials stock check data that signature verification passes are that legal equipment end uploaded, on this basis, above-mentioned S312, based on the identity binding information and the public key that acquire, generates the equipment identity activation request of checking the robot, specifically includes:
step one, sending a pre-stored public key to a cloud server, so that the cloud server uploads the public key to a block chain and returns a chain address for storing the public key in the block chain;
receiving a link 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 checking robot is subjected to public trust authentication and chaining, and the link address corresponding to the public key is returned by the block chain, so that when the subsequent cloud server binds the equipment identity information of the checking robot, whether the link address carried in the received equipment identity activation request is returned by the block chain can be identified, whether the public key carried in the equipment identity activation request is attacked or not is determined, the public key of the checking robot is prevented from being attacked, and the credibility of the public key is improved.
Specifically, each checking robot corresponds to a pair of public key and private key, and the checking robot acquires the public key and the private key distributed by the target server; storing the private key to the local to sign the material inventory data by using the private key; and in the process of sending the equipment identity activation request to the cloud server, transmitting the public key 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 sending the device identity activation request to the cloud server, signature processing on the identity binding information is added on the checking robot side, so that the cloud server checks 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 result, the third step generates the device identity activation request of the checking robot based on the acquired identity binding information, the received on-chain address and the local public key, which specifically includes:
signing the acquired identity binding information by using a prestored 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 identity binding relationship of the robot is credible and tamper-proof.
Wherein, to the condition that signs earlier identity binding information and regeneration equipment identity activation request at the check robot side, it is corresponding, need check sign to equipment identity activation request at the high in the clouds server, ensure that robot identity binding relation is credible, tamper-proofing, on this basis, above-mentioned S314, send equipment identity activation request to the high in the clouds server to make this high in the clouds server respond to this equipment identity activation request and upload the corresponding relation between the identity binding information of check robot and the public key to the block chain, specifically include:
and sending an equipment identity activation request to a cloud server so that the cloud server responds to the equipment identity activation request, checks the signed identity binding information based on the public key acquired from the block chain, and uploads the identity binding information of the checking robot, the address on the chain and the corresponding relation between the public key to the block chain after the check passes.
Specifically, after receiving an equipment identity activation request sent by an inventory robot, a cloud server acquires a public key corresponding to the inventory robot from a block chain based on equipment identification information of the inventory robot;
based on the obtained public key, carrying out signature verification on the signed identity binding information in the equipment identity activation request;
if the identity binding information passes the 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 block chain;
and if the identity binding information is not checked and signed, determining that the equipment identity activation request is from the untrusted checking robot, and stopping responding to the received equipment identity activation request.
In addition, after receiving an equipment identity activation request sent by the checking robot, the cloud server can firstly verify the credibility of the linked 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 include:
acquiring a chain address and a public key corresponding to the checking robot from a block chain based on the equipment identification information of the checking robot;
verifying the chained address and the public key in the equipment identity activation request based on the acquired chained address and the public key; specifically, whether the on-chain address and the public key acquired from the block chain are respectively consistent with the on-chain address and the public key in the equipment identity activation request is judged, and if so, the public key carried by the equipment identity activation request is valid;
if the verification is passed, the signed identity binding information in the equipment identity activation request is verified by using a public key carried in the equipment identity activation request; specifically, if the verification is passed, the public key is proved to be authentic and valid;
if the identity binding information passes the 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 block chain;
and if the identity binding information is not checked and signed, determining that the equipment identity activation request is from the untrusted checking robot, and stopping responding to the received equipment identity activation request.
In addition, if the equipment identity activation request also carries an equipment uniqueness identifier, the cloud server side uploads the correspondence among the uniqueness identifier, the identity binding information and the public key of the checking robot to the block chain after the cloud server side passes the check and the sign.
Specifically, to the process that the inventory robot requests equipment identity activation to the cloud server, after equipment identity activation request is verified, the cloud server uploads the corresponding relation between equipment identification information and the public key to the block chain, wherein, this equipment identification information can include: at least one of a device uniqueness identifier, 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 signature verification of the signed inventory data of the goods and materials by the cloud service end based on the public key, because the inventory robot can carry at least one item of the equipment uniqueness identifier, the identity binding information, the serial number of the digital certificate issued by the trusted service management platform or the chain address returned by the block chain as the equipment identification information when uploading the inventory data of the goods and materials to the cloud service end, after receiving the signed inventory data of the goods and materials 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 utilizes the public key to carry out signature verification on the signed inventory data of the goods and materials, wherein the type of the equipment identification information carried by the inventory robot when uploading the inventory data of the goods and materials to the cloud service end can be determined based on the type of the equipment identification carried by the inventory robot when requesting the equipment identity activation to the cloud service end to activate the equipment identity In (1).
In one or more embodiments of the present description, in a method for providing material inventory data based on a block chain, an inventory robot obtains the material inventory data of a target warehouse, where the material inventory data includes: the corresponding relation between the robot posture information and the material attribute information; signing the material inventory data by using a pre-stored private key to obtain signed material inventory data; and 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 block chain. Before the material inventory data of the target warehouse is uploaded to the cloud server, the inventory robot carries out credible signature processing on the collected material inventory data to obtain the signed material inventory data, and the cloud server side carries out signature verification and credible chain loading on the material inventory data under multi-party evidence based on a block chain technology, so that the authenticity, the safety, the credibility and the anti-tampering property of the material inventory data are improved.
Corresponding to the above method for providing material inventory data based on a block chain described in fig. 2 to fig. 6, based on the same technical concept, one or more embodiments of the present specification further provide a method for providing material inventory data based on a block chain, where the method is applied to a cloud server accessing a block chain, fig. 7 is a flowchart of the method for providing material inventory data based on a block chain provided in one or more embodiments of the present specification, and the method in fig. 8 can be executed by the cloud server, as shown in fig. 7, the method 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 signing the material inventory data of a target warehouse by using a pre-stored private key, and the material inventory data comprises: the corresponding relation between the robot posture information and the material attribute information;
s704, performing signature verification on the signed material inventory data to obtain a corresponding signature verification result;
and 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 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 service end, the inventory robot performs trusted signature processing on the collected inventory data of the material to obtain signed inventory data of the material, and the cloud service end performs signature verification and trusted chaining on the inventory data of the material under multiple witnesses based on a block chain technology, so as to improve authenticity, security, credibility, and tamper resistance of the inventory data of the material.
In S704, the signature verification of the signed material inventory data to obtain a corresponding signature verification result, which specifically includes:
and carrying out signature verification on the signed material inventory data by using an intelligent contract deployed in the block chain to obtain a corresponding signature verification result.
The signature verification of the material inventory data by using the intelligent contract deployed in the block chain to obtain a corresponding signature verification result specifically comprises the following steps:
acquiring a public key corresponding to the checking robot by using an intelligent contract deployed in a block chain; and the number of the first and second groups,
carrying out signature verification on the signed material inventory data based on the obtained public key by using the intelligent contract to obtain a corresponding signature verification result;
the public key is uploaded to the cloud server side by the checking robot in the equipment identity activation stage and stored in the block chain.
Wherein, before receiving the signed inventory data uploaded by the inventory robot in the above S702, 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 initialization state, and the identity binding information corresponds to a material attribution party of inventory 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 block chain.
Before receiving an equipment identity activation request sent by an inventory robot, the method further comprises the following steps:
and issuing the equipment identity graphic code distributed for the inventory robot to a 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 a camera device and analyzes the equipment identity graphic code to obtain identity binding information.
The equipment identity activation request is generated based on identity binding information and a digital certificate of the checking robot; the digital certificate is generated by the trusted service management platform based on the public key of the inventory robot.
The equipment identity activation request is generated based on the signed identity binding information and the digital certificate; the signed identity binding information is obtained by the checking robot by signing the identity binding information by using a pre-stored private key.
The above responding to the received device identity activation request and uploading the correspondence between the identity binding information carried in the device identity activation request and the public key to the block chain specifically includes:
responding to the received equipment identity activation request, and acquiring a public key corresponding to the checking robot from the trusted service management platform;
verifying 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 the block chain.
The equipment identity activation request is generated based on identity binding information, a chain address and a public key of the checking robot; the address on the chain is a storage address used for storing the public key in the block chain returned by the cloud server.
The equipment identity activation request is generated based on the signed identity binding information, the chained address and the public key; the signed identity binding information is obtained by the checking robot by signing the identity binding information by using a pre-stored private key.
Wherein, responding to the received device identity activation request, and uploading the corresponding relationship between the identity binding information carried in the device identity activation request and the public key to the block chain, specifically comprises:
responding to the received equipment identity activation request, and acquiring a public key corresponding to the checking robot from the block chain;
verifying the signed identity binding information based on the obtained public key;
and if the identity binding information passes the 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 block chain.
In one or more embodiments of the present description, a method for providing material inventory data based on a block chain receives signed material inventory data uploaded by an inventory robot, where the signed material inventory data is obtained by signing material inventory data of a target warehouse with a pre-stored private key, and the material inventory data includes: the corresponding relation between the robot posture information and the material attribute information; carrying out signature verification on the signed material inventory data to obtain a corresponding signature verification result; and 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 is uploaded to the cloud server, the inventory robot carries out credible signature processing on the collected material inventory data to obtain the signed material inventory data, and the cloud server side carries out signature verification and credible chain loading on the material inventory data under multi-party evidence based on a block chain technology, so that the authenticity, the safety, the credibility and the anti-tampering property of the material inventory data are improved.
It should be noted that the embodiment in this specification and the previous embodiment in this specification are based on the same inventive concept, and therefore specific implementation of this embodiment may refer to implementation of the aforementioned method for providing material inventory data based on a block chain, and repeated parts are not described again.
Corresponding to the above method for providing inventory data of materials based on block chains described in fig. 2 to fig. 6, based on the same technical concept, one or more embodiments of the present specification further provide an apparatus for providing inventory data of materials based on block chains, where the apparatus is disposed at an inventory robot side, and fig. 8 is a schematic diagram of module components of the apparatus for providing inventory data of materials based on block chains provided in one or more embodiments of the present specification, where the apparatus is configured to perform the method for providing inventory data of materials based on block chains described in fig. 2 to fig. 6, and as shown in fig. 8, the apparatus includes:
a material data obtaining module 802, configured to obtain material inventory data of a target warehouse, where the material inventory data includes: the corresponding relation between the robot posture information and the material attribute information;
the material data signing module 804 is used for signing the material inventory data by using a pre-stored private key to obtain signed material inventory data;
the material data sending module 806 uploads 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 block chain.
In one or more embodiments of the present disclosure, before the inventory data of the target warehouse is uploaded to the cloud service end, the inventory robot performs trusted signature processing on the collected inventory data of the material to obtain signed inventory data of the material, and the cloud service end performs signature verification and trusted chaining on the inventory data of the material under multiple witnesses based on a block chain technology, so as to improve authenticity, security, credibility, and tamper resistance of the inventory data of the material.
Optionally, the material data sending module 806 is configured to:
uploading the signed material inventory data to a cloud server, so that the cloud server performs signature verification on the material inventory data by using an intelligent contract deployed in a block chain, and uploading the material inventory data passing the signature verification to the block chain.
Optionally, the apparatus further comprises: a device identity activation binding module that:
if the current state of the checking robot is an initialization state, acquiring a public key of the checking robot; and the number of the first and second groups,
acquiring identity binding information of the checking robot, wherein the identity binding information corresponds to a material attribution party checked by the checking 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 block chain.
Optionally, the device identity activation binding module is configured to:
scanning an equipment identity graphic code displayed on a warehouse management terminal by using a camera device, wherein the equipment identity graphic code is distributed by a cloud server;
and analyzing the equipment identity graphic code to obtain identity binding information of the checking robot.
Optionally, the device identity activation binding module is configured to:
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 an equipment identity activation request of the inventory robot based on the identity binding information and the digital certificate.
Optionally, the device identity activation binding module is configured to:
utilizing a pre-stored private key to sign the identity binding information 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 is configured to:
and sending the equipment identity activation request to a cloud server so that the cloud server responds to the equipment identity activation request, checks 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 block chain after the check passes.
Optionally, the device identity activation binding module is configured to:
sending the public key to a cloud server, so that the cloud server uploads the public key to a block chain and returns a chain address for storing the public key in the block chain;
receiving the chained address 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 is configured to:
utilizing a pre-stored private key to sign the identity binding information 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 chained address and the public key.
Optionally, the device identity activation binding module is configured to:
and sending the equipment identity activation request to a cloud server so that the cloud server responds to the equipment identity activation request, checking and signing the signed identity binding information based on the public key acquired from the block chain, and uploading the identity binding information, the on-chain address and the public key to the block chain after the checking and signing pass.
Optionally, the material data obtaining module 802 is described above, which
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 presence of a gas in the gas,
and acquiring material image information by using a 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 specification, in a material inventory data providing apparatus based on a block chain, an inventory robot obtains material inventory data of a target warehouse, where the material inventory data includes: the corresponding relation between the robot posture information and the material attribute information; signing the material inventory data by using a pre-stored private key to obtain signed material inventory data; and 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 block chain. Before the material inventory data of the target warehouse is uploaded to the cloud server, the inventory robot carries out credible signature processing on the collected material inventory data to obtain the signed material inventory data, and the cloud server side carries out signature verification and credible chain loading on the material inventory data under multi-party evidence based on a block chain technology, so that the authenticity, the safety, the credibility and the anti-tampering property of the material inventory data are improved.
It should be noted that, the embodiment of the device for providing material inventory data based on a block chain in this specification and the embodiment of the method for providing material inventory data based on a block chain in this specification are based on the same inventive concept, and therefore, for specific implementation of this embodiment, reference may be made to the implementation of the method for providing material inventory data based on a block chain, and repeated details are not described herein.
Corresponding to the above method for providing material inventory data based on a block chain described in fig. 2 to fig. 6, based on the same technical concept, one or more embodiments of the present specification further provide a device for providing material inventory data based on a block chain, where the device is disposed at a cloud server, and fig. 9 is a schematic diagram of module compositions of the device for providing material inventory data based on a block chain provided in one or more embodiments of the present specification, where the device is configured to execute the method for providing material inventory data based on a block chain described in fig. 7, as shown in fig. 9, the device includes:
the material data receiving module 902 is configured to receive signed material inventory data uploaded by the inventory robot, where the signed material inventory data is obtained by signing the material inventory data of the target warehouse with a pre-stored private key, and the material inventory data includes: the corresponding relation between the robot posture information and the material attribute information;
the material data signature verification module 904 is used for performing signature verification on the signed material inventory data to obtain a corresponding signature verification result;
and the material data storage module 906 is configured to upload the signed material inventory data to a block chain if the signature verification result is that the signature verification passes.
In one or more embodiments of the present disclosure, before the inventory data of the target warehouse is uploaded to the cloud service end, the inventory robot performs trusted signature processing on the collected inventory data of the material to obtain signed inventory data of the material, and the cloud service end performs signature verification and trusted chaining on the inventory data of the material under multiple witnesses based on a block chain technology, so as to improve authenticity, security, credibility, and tamper resistance of the inventory data of the material.
Optionally, the material data signature verification module 904 is configured to:
and carrying out signature verification on the material inventory data by using the intelligent contract deployed in the block chain to obtain a corresponding signature verification result.
Optionally, the apparatus further comprises: an equipment 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 initialization state, and the identity binding information corresponds to a material attribution party of inventory of the inventory robot;
responding to the equipment identity activation request, and uploading the corresponding relation between the identity binding information and the public key to a block chain.
Optionally, the apparatus further comprises: the equipment identity information issuing module comprises:
and issuing an equipment identity graphic code distributed for the inventory robot to a 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 a camera device and analyzes the equipment identity graphic code 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 a trusted service management platform based on the public key.
Optionally, the device identity activation request is generated based on the signed identity binding information and the digital certificate; the signed identity binding information is obtained by the checking robot by signing the identity binding information by using a pre-stored private key.
Optionally, the device identity binding response module is configured to:
responding to the equipment identity activation request, and acquiring a public key corresponding to the inventory robot from the trusted service management platform;
verifying and signing the signed identity binding information based on the obtained public key;
and if the identity binding information passes the verification of the signature, uploading the corresponding relation between the identity binding information and the digital certificate to a block chain.
Optionally, the device identity activation request is generated based on identity binding information, an on-chain address and a public key of the inventory robot; the chain address is a storage address which is returned by the cloud server and used for storing the public key in the block chain.
Optionally, the device identity activation request is generated 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 by signing the identity binding information by using a pre-stored private key.
Optionally, the device identity binding response module is configured to:
responding to the equipment identity activation request, and acquiring a public key corresponding to the checking robot from the block chain;
verifying and signing the signed identity binding information based on the obtained public key;
and if the identity binding information passes the verification of the signature, uploading the corresponding relation among the identity binding information, the address on the chain and the public key to a block chain.
In one or more embodiments of the present specification, a material inventory data providing device based on a block chain receives signed material inventory data uploaded by an inventory robot, where the signed material inventory data is obtained by signing material inventory data of a target warehouse with a pre-stored private key, and the material inventory data includes: the corresponding relation between the robot posture information and the material attribute information; carrying out signature verification on the signed material inventory data to obtain a corresponding signature verification result; and 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 is uploaded to the cloud server, the inventory robot carries out credible signature processing on the collected material inventory data to obtain the signed material inventory data, and the cloud server side carries out signature verification and credible chain loading on the material inventory data under multi-party evidence based on a block chain technology, so that the authenticity, the safety, the credibility and the anti-tampering property of the material inventory data are improved.
It should be noted that, the embodiment of the device for providing material inventory data based on a block chain in this specification and the embodiment of the method for providing material inventory data based on a block chain in this specification are based on the same inventive concept, and therefore, for specific implementation of this embodiment, reference may be made to the implementation of the method for providing material inventory data based on a block chain, and repeated details are not described herein.
Corresponding to the above method for providing inventory data based on block chains described in fig. 2 to 6, based on the same technical concept, one or more embodiments of the present specification further provide a system for providing inventory data based on block chains, and fig. 10 is a schematic structural composition diagram of the system for providing inventory data based on block chains provided in one or more embodiments of the present specification, where the system is configured to execute the method for providing inventory data based on block chains described in fig. 2 to 6, and as shown in fig. 10, the system includes: the system comprises an inventory robot and a cloud server of an access block chain;
the inventory robot acquires inventory data of a target warehouse, wherein the inventory data comprises: the corresponding relation between the robot posture information and the material attribute information; signing the material inventory data by using 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; carrying out signature verification on the signed material inventory data; and uploading the material inventory data passing the signature verification to the block chain.
In one or more embodiments of the present specification, in a material inventory data providing apparatus based on a block chain, an inventory robot obtains material inventory data of a target warehouse, where the material inventory data includes: the corresponding relation between the robot posture information and the material attribute information; signing the material inventory data by using a pre-stored private key to obtain signed material inventory data; and 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 block chain. Before the material inventory data of the target warehouse is uploaded to the cloud server, the inventory robot carries out credible signature processing on the collected material inventory data to obtain the signed material inventory data, and the cloud server side carries out signature verification and credible chain loading on the material inventory data under multi-party evidence based on a block chain technology, so that the authenticity, the safety, the credibility and the anti-tampering property of the material inventory data are improved.
It should be noted that, the embodiment of the system for providing inventory data of materials based on a block chain in this specification and the embodiment of the method for providing inventory data of materials based on a block chain in this specification are based on the same inventive concept, and therefore, for specific implementation of this embodiment, reference may be made to the implementation of the method for providing inventory data of materials based on a block chain, and repeated details are not described herein.
Further, corresponding to the methods shown in fig. 2 to fig. 6, based on the same technical concept, one or more embodiments of the present specification further provide a block chain-based material inventory data providing apparatus for performing the above block chain-based material inventory data providing method, as shown in fig. 11.
The supply inventory data providing device based on block chains may have large differences due to different configurations or performances, and may include one or more processors 1101 and a memory 1102, and the memory 1102 may store one or more stored applications or data therein. Wherein memory 1102 may be transient or persistent. The application stored in memory 1102 may include one or more modules (not shown), each of which may include a series of computer-executable instructions in a device for providing blockchain-based inventory data. 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 a blockchain-based inventory data providing device. The blockchain-based inventory data providing apparatus 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 a particular embodiment, a block chain based supply inventory data providing apparatus 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 block chain based supply inventory data providing apparatus, and the one or more programs configured to be executed by one or more processors include computer executable instructions for:
obtaining material inventory data of a target warehouse, wherein the material inventory data comprises: the corresponding relation between the robot posture information and the material attribute information;
signing the material inventory data by using a pre-stored private key to obtain signed material inventory data;
and 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 block chain.
In one or more embodiments of the present disclosure, before the inventory data of the target warehouse is uploaded to the cloud service end, the inventory robot performs trusted signature processing on the collected inventory data of the material to obtain signed inventory data of the material, and the cloud service end performs signature verification and trusted chaining on the inventory data of the material under multiple witnesses based on a block chain technology, so as to improve authenticity, security, credibility, and tamper resistance of the inventory data of the material.
Optionally, when executed, the computer executable instruction uploads 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 block chain, where the method 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 using an intelligent contract deployed in a block chain, and uploading the material inventory data passing the signature verification to the block chain.
Optionally, the computer executable instructions, when executed, further comprise, before obtaining inventory data for the target warehouse:
if the current state of the checking robot is an initialization state, acquiring a public key of the checking robot; and the number of the first and second groups,
acquiring identity binding information of the checking robot, wherein the identity binding information corresponds to a material attribution party checked by the checking 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 block chain.
Optionally, when executed, the computer executable instructions obtain identity binding information of the inventory robot, including:
scanning an equipment identity graphic code displayed on a warehouse management terminal by using a camera device, wherein the equipment identity graphic code is distributed by a cloud server;
and analyzing the equipment identity graphic code to obtain identity binding information of the checking robot.
Optionally, when executed, the computer-executable instructions generate a device identity activation request for 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 an equipment identity activation request of the inventory robot based on the identity binding information and the digital certificate.
Optionally, when executed, the computer-executable instructions generate a device identity activation request for the inventory robot based on the identity binding information and the digital certificate, including:
utilizing a pre-stored private key to sign the identity binding information 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 executed, the computer-executable instructions send 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 block chain, including:
and sending the equipment identity activation request to a cloud server so that the cloud server responds to the equipment identity activation request, checks 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 block chain after the check passes.
Optionally, when executed, the computer-executable instructions generate a device identity activation request for the inventory robot based on the identity binding information and the public key, including:
sending the public key to a cloud server, so that the cloud server uploads the public key to a block chain and returns a chain address for storing the public key in the block chain;
receiving the chained address 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, when executed, the computer-executable instructions generate a device identity activation request for the inventory robot based on the identity binding information, the on-chain address, and the public key, including:
utilizing a pre-stored private key to sign the identity binding information 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 chained address and the public key.
Optionally, when executed, the computer-executable instructions send 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 block chain, including:
and sending the equipment identity activation request to a cloud server so that the cloud server responds to the equipment identity activation request, checking and signing the signed identity binding information based on the public key acquired from the block chain, and uploading the identity binding information, the on-chain address and the public key to the block chain after the checking and signing pass.
Optionally, the computer executable instructions, when executed, obtain inventory data for a 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 presence of a gas in the gas,
and acquiring material image information by using a 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 specification, in a material inventory data providing apparatus based on a block chain, an inventory robot obtains material inventory data of a target warehouse, where the material inventory data includes: the corresponding relation between the robot posture information and the material attribute information; signing the material inventory data by using a pre-stored private key to obtain signed material inventory data; and 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 block chain. Before the material inventory data of the target warehouse is uploaded to the cloud server, the inventory robot carries out credible signature processing on the collected material inventory data to obtain the signed material inventory data, and the cloud server side carries out signature verification and credible chain loading on the material inventory data under multi-party evidence based on a block chain technology, so that the authenticity, the safety, the credibility and the anti-tampering property of the material inventory data are improved.
In another specific embodiment, a block chain based supply inventory data providing apparatus 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 block chain based supply inventory data providing apparatus, and the one or more programs configured to be executed by one or more processors include computer executable instructions for:
receiving signed material inventory data uploaded by an inventory robot, wherein the signed material inventory data is obtained by signing the material inventory data of a target warehouse by using a pre-stored private key, and the material inventory data comprises: the corresponding relation between the robot posture information and the material attribute information;
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 passes, 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 service end, the inventory robot performs trusted signature processing on the collected inventory data of the material to obtain signed inventory data of the material, and the cloud service end performs signature verification and trusted chaining on the inventory data of the material under multiple witnesses based on a block chain technology, so as to improve authenticity, security, credibility, and tamper resistance of the inventory data of the material.
Optionally, when executed, the computer-executable instructions perform signature verification on the signed material inventory data to obtain a corresponding signature verification result, where the signature verification result includes:
and carrying out signature verification on the material inventory data by using the intelligent contract deployed in the block chain to obtain a corresponding signature verification result.
Optionally, the computer executable instructions, when executed, further comprise, before receiving the signed 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 initialization state, and the identity binding information corresponds to a material attribution party of inventory of the inventory robot;
responding to the equipment identity activation request, and uploading the corresponding relation between the identity binding information and the public key to a block chain.
Optionally, the computer executable instructions, when executed, further comprise, before receiving a device identity activation request sent by the inventory robot:
and issuing an equipment identity graphic code distributed for the inventory robot to a 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 a camera device and analyzes the equipment identity graphic code to obtain identity binding information.
Optionally, the device identity activation request is generated based on the identity binding information and digital certificate of the inventory robot when executed by computer executable instructions; the digital certificate is generated by a trusted service management platform based on the public key.
Optionally, 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 by signing the identity binding information by using a pre-stored private key.
Optionally, when executed, the responding to the device identity activation request and uploading the correspondence between the identity binding information and the public key to a blockchain includes:
responding to the equipment identity activation request, and acquiring a public key corresponding to the inventory robot from the trusted service management platform;
verifying and signing the signed identity binding information based on the obtained public key;
and if the identity binding information passes the verification of the signature, uploading the corresponding relation between the identity binding information and the digital certificate to a block chain.
Optionally, the device identity activation request is generated based on identity binding information, an on-chain address and a public key of the inventory robot when executed by computer executable instructions; the chain address is a storage address which is returned by the cloud server and used for storing the public key in the block chain.
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 by signing the identity binding information by using a pre-stored private key.
Optionally, when executed, the responding to the device identity activation request and uploading the correspondence between the identity binding information and the public key to a blockchain includes:
responding to the equipment identity activation request, and acquiring a public key corresponding to the checking robot from the block chain;
verifying and signing the signed identity binding information based on the obtained public key;
and if the identity binding information passes the verification of the signature, uploading the corresponding relation among the identity binding information, the address on the chain and the public key to a block chain.
In one or more embodiments of the present specification, a material inventory data providing device based on a block chain receives signed material inventory data uploaded by an inventory robot, where the signed material inventory data is obtained by signing material inventory data of a target warehouse with a pre-stored private key, and the material inventory data includes: the corresponding relation between the robot posture information and the material attribute information; carrying out signature verification on the signed material inventory data to obtain a corresponding signature verification result; and 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 is uploaded to the cloud server, the inventory robot carries out credible signature processing on the collected material inventory data to obtain the signed material inventory data, and the cloud server side carries out signature verification and credible chain loading on the material inventory data under multi-party evidence based on a block chain technology, so that the authenticity, the safety, the credibility and the anti-tampering property of the material inventory data are improved.
It should be noted that, the embodiment of the device for providing material inventory data based on the block chain in this specification and the embodiment of the method for providing material inventory data based on the block chain in this specification are based on the same inventive concept, and therefore, for specific implementation of this embodiment, reference may be made to the implementation of the method for providing material inventory data based on the block chain, and repeated details are not described herein.
Further, based on the same technical concept, corresponding to the methods shown in fig. 2 to fig. 6, one or more embodiments of the present specification further provide a storage medium for storing computer-executable instructions, where in a specific embodiment, the storage medium may be a usb disk, an optical disk, a hard disk, and the like, and the storage medium stores computer-executable instructions that, when executed by a processor, implement the following processes:
obtaining material inventory data of a target warehouse, wherein the material inventory data comprises: the corresponding relation between the robot posture information and the material attribute information;
signing the material inventory data by using a pre-stored private key to obtain signed material inventory data;
and 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 block chain.
In one or more embodiments of the present disclosure, before the inventory data of the target warehouse is uploaded to the cloud service end, the inventory robot performs trusted signature processing on the collected inventory data of the material to obtain signed inventory data of the material, and the cloud service end performs signature verification and trusted chaining on the inventory data of the material under multiple witnesses based on a block chain technology, so as to improve authenticity, security, credibility, and tamper resistance of the inventory data of the material.
Optionally, when executed by a processor, the computer-executable instructions stored in the storage medium upload 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 block chain, where the method 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 using an intelligent contract deployed in a block chain, and uploading the material inventory data passing the signature verification to the block chain.
Optionally, the storage medium stores computer executable instructions that, when executed by the processor, further comprise, before obtaining the inventory point data of the target warehouse:
if the current state of the checking robot is an initialization state, acquiring a public key of the checking robot; and the number of the first and second groups,
acquiring identity binding information of the checking robot, wherein the identity binding information corresponds to a material attribution party checked by the checking 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 block chain.
Optionally, the storage medium stores computer-executable instructions that, when executed by the processor, obtain identity binding information of the inventory robot, including:
scanning an equipment identity graphic code displayed on a warehouse management terminal by using a camera device, wherein the equipment identity graphic code is distributed by a cloud server;
and analyzing the equipment identity graphic code to obtain identity binding information of the checking robot.
Optionally, the storage medium stores computer-executable instructions that, when executed by a processor, generate a device identity activation request for 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 an equipment identity activation request of the inventory robot based on the identity binding information and the digital certificate.
Optionally, the storage medium stores computer-executable instructions that, when executed by a processor, generate a device identity activation request for 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 an equipment identity activation request of the inventory robot based on the identity binding information and the digital certificate.
Optionally, the storage medium stores computer-executable instructions that, when executed by the processor, generate a device identity activation request for the inventory robot based on the identity binding information and the digital certificate, comprising:
utilizing a pre-stored private key to sign the identity binding information 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 executed by a processor, the computer-executable instructions stored in the storage medium send 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 block chain, including:
and sending the equipment identity activation request to a cloud server so that the cloud server responds to the equipment identity activation request, checks 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 block chain after the check passes.
Optionally, the storage medium stores computer-executable instructions that, when executed by a processor, generate a device identity activation request for the inventory robot based on the identity binding information and the public key, including:
sending the public key to a cloud server, so that the cloud server uploads the public key to a block chain and returns a chain address for storing the public key in the block chain;
receiving the chained address 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 storage medium stores computer-executable instructions that, when executed by a processor, generate a device identity activation request for the inventory robot based on the identity binding information, the on-chain address, and the public key, comprising:
utilizing a pre-stored private key to sign the identity binding information 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 chained address and the public key.
Optionally, when executed by a processor, the computer-executable instructions stored in the storage medium send 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 block chain, including:
and sending the equipment identity activation request to a cloud server so that the cloud server responds to the equipment identity activation request, checking and signing the signed identity binding information based on the public key acquired from the block chain, and uploading the identity binding information, the on-chain address and the public key to the block chain after the checking and signing pass.
Optionally, the computer-executable instructions stored in the storage medium, when executed by the processor, obtain inventory data of the target warehouse, including:
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 presence of a gas in the gas,
and acquiring material image information by using a 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 in one or more embodiments of the present description stores computer-executable instructions that, when executed by the processor, the inventory robot obtains inventory data for the target warehouse, wherein the inventory data includes: the corresponding relation between the robot posture information and the material attribute information; signing the material inventory data by using a pre-stored private key to obtain signed material inventory data; and 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 block chain. Before the material inventory data of the target warehouse is uploaded to the cloud server, the inventory robot carries out credible signature processing on the collected material inventory data to obtain the signed material inventory data, and the cloud server side carries out signature verification and credible chain loading on the material inventory data under multi-party evidence based on a block chain technology, so that the authenticity, the safety, the credibility and the anti-tampering property 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, and the storage medium stores computer executable instructions that, when executed by the processor, implement the following process:
receiving signed material inventory data uploaded by an inventory robot, wherein the signed material inventory data is obtained by signing the material inventory data of a target warehouse by using a pre-stored private key, and the material inventory data comprises: the corresponding relation between the robot posture information and the material attribute information;
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 passes, 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 service end, the inventory robot performs trusted signature processing on the collected inventory data of the material to obtain signed inventory data of the material, and the cloud service end performs signature verification and trusted chaining on the inventory data of the material under multiple witnesses based on a block chain technology, so as to improve authenticity, security, credibility, and tamper resistance of the inventory data of the material.
Optionally, when executed by a processor, the computer-executable instructions stored in the storage medium perform signature verification on the signed material inventory point data to obtain a corresponding signature verification result, including:
and carrying out signature verification on the material inventory data by using the intelligent contract deployed in the block chain to obtain a corresponding signature verification result.
Optionally, the storage medium stores computer-executable instructions that, when executed by the processor, further comprise, before receiving the signed 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 initialization state, and the identity binding information corresponds to a material attribution party of inventory of the inventory robot;
responding to the equipment identity activation request, and uploading the corresponding relation between the identity binding information and the public key to a block chain.
Optionally, the storage medium stores computer executable instructions that, when executed by the processor, further include, before receiving a device identity activation request sent by the inventory robot:
and issuing an equipment identity graphic code distributed for the inventory robot to a 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 a camera device and analyzes the equipment identity graphic code to obtain identity binding information.
Optionally, the storage medium stores computer-executable instructions that, 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 a trusted service management platform based on the public key.
Optionally, the storage medium stores computer-executable instructions that, when executed by the processor, the device identity activation request is generated based on the signed identity binding information and the digital certificate; the signed identity binding information is obtained by the checking robot by signing the identity binding information by using a pre-stored private key.
Optionally, the storage medium stores computer-executable instructions that, when executed by a processor, said responding to the device identity activation request and uploading a 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;
verifying and signing the signed identity binding information based on the obtained public key;
and if the identity binding information passes the verification of the signature, uploading the corresponding relation between the identity binding information and the digital certificate to a block chain.
Optionally, the storage medium stores computer-executable instructions that, when executed by the processor, the device identity activation request is generated based on the identity binding information, the on-chain address, and the public key of the inventory robot; the chain address is a storage address which is returned by the cloud server and used for storing the public key in the block chain.
Optionally, the storage medium stores computer-executable instructions that, when executed by the processor, the device identity activation request is generated 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 by signing the identity binding information by using a pre-stored private key.
Optionally, the storage medium stores computer-executable instructions that, when executed by a processor, said responding to the device identity activation request and uploading a 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 checking robot from the block chain;
verifying and signing the signed identity binding information based on the obtained public key;
and if the identity binding information passes the verification of the signature, uploading the corresponding relation among the identity binding information, the address on the chain and the public key to a block chain.
In one or more embodiments of the present specification, when executed by a processor, computer-executable instructions stored in a storage medium receive signed inventory data uploaded by an inventory robot, where the signed inventory data is obtained by signing inventory data of a target warehouse with a pre-stored private key, and the inventory data includes: the corresponding relation between the robot posture information and the material attribute information; carrying out signature verification on the signed material inventory data to obtain a corresponding signature verification result; and 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 is uploaded to the cloud server, the inventory robot carries out credible signature processing on the collected material inventory data to obtain the signed material inventory data, and the cloud server side carries out signature verification and credible chain loading on the material inventory data under multi-party evidence based on a block chain technology, so that the authenticity, the safety, the credibility and the anti-tampering property of the material inventory data are improved.
It should be noted that the embodiment of the storage medium in this specification and the embodiment of the method for providing stock inventory data based on the block chain in this specification are based on the same inventive concept, and therefore, for specific implementation of this embodiment, reference may be made to implementation of the method for providing stock inventory data based on the block chain, and repeated details are not described here.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may 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 may also be possible or may be advantageous.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an Integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Hardware Description Language), traffic, pl (core universal Programming Language), HDCal (jhdware Description Language), lang, Lola, HDL, laspam, hardward Description Language (vhr Description Language), vhal (Hardware Description Language), and vhigh-Language, which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using 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, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, 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 for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, 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 divided into various units by function, and are described separately. Of course, the functionality of the various elements may be implemented in the same one or more software and/or hardware implementations of one or more of the present descriptions.
As will be appreciated by one skilled in the art, one or more embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, one or more of the present description 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 may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied in the medium.
One or more of the present specification has been 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 flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams 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 a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
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 computer storage media 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 that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, one or more embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, one or more of the present description 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 may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied in the medium.
One or more of the present specification can 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 specification can 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.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is merely illustrative of one or more embodiments of the present disclosure and is not intended to limit one or more embodiments of the present disclosure. Various modifications and alterations to one or more of the present descriptions will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement or the like made within the spirit and principle of one or more of the present specification should be included in the scope of one or more claims of the present specification.

Claims (37)

1. A material inventory data providing method based on a block chain is applied to an inventory robot, and comprises the following steps:
sending an equipment 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 activate the identity of the inventory robot, wherein the identity binding information corresponds to a material attribution party of inventory of the inventory robot;
after the identity of the checking robot is determined to be activated, acquiring material checking data of a target warehouse;
signing the material inventory data to obtain signed material inventory data;
and 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 block chain.
2. The method of claim 1, wherein the signing the inventory data to obtain signed inventory data comprises:
and signing the material inventory data by using a pre-stored private key to obtain the signed material inventory data.
3. The method of claim 2, wherein the cloud server performs signature verification on the inventory point data based on the public key carried in the device identity activation request.
4. The method of claim 1, wherein the inventory data comprises: and the corresponding relation between the robot posture information and the material attribute information.
5. The method of claim 4, wherein the robot pose information comprises: 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 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 block chain, 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 using an intelligent contract deployed in a block chain, and uploading the material inventory data passing the signature verification to the block chain.
7. The method of claim 6, wherein uploading the signed inventory data to a cloud server, so that the cloud server performs signature verification on the inventory data by using an intelligent contract deployed in a block chain, and uploads the inventory data passing the signature verification to the block chain comprises:
uploading the signed material checking point data to a cloud server, so that the cloud server performs signature verification on the material checking point data based on a public key corresponding to the checking robot by using an intelligent contract deployed in a block chain, and uploading the material checking point data passing the signature verification to the block chain;
the public key is uploaded to the cloud server by the checking robot in an equipment identity activation stage.
8. The method of claim 1, wherein the sending a device identity activation request to a cloud server based on the identity binding information of the inventory robot and a public key allocated by a target server, so that the cloud server performs identity activation on the inventory robot, comprises:
if the current state of the checking robot is an initialization state, acquiring a public key of the checking robot; and the number of the first and second groups,
acquiring identity binding information of the checking 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 block chain.
9. The method of claim 8, wherein the obtaining identity binding information of the inventory robot comprises:
scanning an equipment identity graphic code displayed on a warehouse management terminal by using a camera device, wherein the equipment identity graphic code is distributed by a cloud server;
and analyzing the equipment identity graphic code to obtain identity binding information of the checking robot.
10. The method of claim 8, wherein the generating a device identity activation request for 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 an equipment 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 for the inventory robot based on the identity binding information and the digital certificate comprises:
utilizing a pre-stored private key to sign the identity binding information 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 to cause the cloud server to respond to the device identity activation request and upload 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, checks 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 block chain after the check passes.
13. The method of claim 8, wherein the generating a device identity activation request for the inventory robot based on the identity binding information and the public key comprises:
sending the public key to a cloud server, so that the cloud server uploads the public key to a block chain and returns a chain address for storing the public key in the block chain;
receiving the chained address 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 a device identity activation request for the inventory robot based on the identity binding information, the on-chain address, and the public key comprises:
utilizing a pre-stored private key to sign the identity binding information 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 chained address and the public key.
15. The method of claim 14, wherein the sending the device identity activation request to a cloud server to cause the cloud server to respond to the device identity activation request and upload 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, checking and signing the signed identity binding information based on the public key acquired from the block chain, and uploading the identity binding information, the on-chain address and the public key to the block chain after the checking and signing pass.
16. The method of claim 1, wherein the obtaining inventory data for a 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 presence of a gas in the gas,
and acquiring material image information by using a 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 point data providing method based on a block chain is applied to a cloud server side accessing the block chain, and the method comprises the following steps:
receiving an equipment identity activation request sent by an inventory robot, and activating the identity of 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 server, and the identity binding information corresponds to a material attribution party of inventory of the inventory robot;
after the identity of the checking robot is determined to be activated, signed material checking data uploaded by the checking robot is received;
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 passes, 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 inventory data of a target warehouse using a pre-stored private key.
19. The method of claim 17, wherein the inventory data comprises: and the corresponding relation between the robot posture information and the material attribute information.
20. The method of claim 19, wherein the robot pose information comprises: 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 signature verification of the signed inventory data to obtain a corresponding signature verification result comprises:
and carrying out signature verification on the material inventory data by using the intelligent contract deployed in the block chain to obtain a corresponding signature verification result.
22. The method of claim 21, wherein said signature verifying the supply inventory data using smart contracts deployed in the blockchain to obtain corresponding signature verification results comprises:
acquiring a public key corresponding to the checking robot by using an intelligent contract deployed in the block chain; and the number of the first and second groups,
carrying out signature verification on the material inventory data by using the intelligent contract based on the public key to obtain a corresponding signature verification result;
the public key is uploaded to the cloud server by the checking robot in an equipment identity activation stage.
23. The method of claim 17, wherein the receiving of the device identity activation request sent by the inventory robot and the identity activation of 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 initialization state;
responding to the equipment identity activation request, and uploading the corresponding relation between the identity binding information and the public key to a block chain.
24. The method of claim 23, wherein prior to receiving the device identity activation request sent by the inventory robot, further comprising:
and issuing an equipment identity graphic code distributed for the inventory robot to a 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 a camera device and analyzes the equipment identity graphic code 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 a 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 by signing the identity binding information by using a pre-stored private key.
27. The method of claim 26, wherein the uploading the correspondence between the identity binding information and the public key to a blockchain in response to the device identity activation request comprises:
responding to the equipment identity activation request, and acquiring a public key corresponding to the inventory robot from the trusted service management platform;
verifying and signing the signed identity binding information based on the obtained public key;
and if the identity binding information passes the verification of the signature, uploading the corresponding relation between the identity binding information and the digital certificate to a block chain.
28. The method of claim 23, wherein the device identity activation request is generated based on identity binding information, an on-chain address, and a public key of the inventory robot; the chain address is a storage address which is returned by the cloud server and used for storing the public key in the block chain.
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 by signing the identity binding information by using a pre-stored private key.
30. The method of claim 29, wherein the uploading the correspondence between the identity binding information and the public key to a blockchain in response to the device identity activation request comprises:
responding to the equipment identity activation request, and acquiring a public key corresponding to the checking robot from the block chain;
verifying and signing the signed identity binding information based on the obtained public key;
and if the identity binding information passes the verification of the signature, uploading the corresponding relation among the identity binding information, the address on the chain and the public key to a block chain.
31. A material inventory data providing device based on a block chain is arranged on the side of an inventory robot and comprises:
the equipment identity activation binding module is used for sending an equipment 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 as to enable the cloud server to activate the identity of the inventory robot, wherein the identity binding information corresponds to a material home party of inventory of the inventory robot;
the material data acquisition module is used for acquiring material inventory data of a target warehouse after the identity of the inventory robot is determined to be 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 uploads the signed material inventory data to a cloud server so that the cloud server carries out signature verification on the material inventory data and uploads the material inventory data passing the signature verification to a block chain.
32. A material inventory point data providing device based on a block chain is applied to a cloud server side accessing the block chain, and the device comprises:
the equipment identity binding response module is used for receiving an equipment identity activation request sent by the checking robot and activating 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 checking data uploaded by the checking robot after the identity of the checking robot is determined to be activated;
the material data signature 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 uploads the signed material inventory data to a block chain if the signature verification result is that the signature verification passes.
33. A block chain-based material inventory data providing system, comprising: the system comprises an inventory robot and a cloud server of an access block chain;
the checking robot sends an equipment identity activation request to a cloud server based on identity binding information of the checking robot and a public key distributed by a target server, so that the cloud server can activate the identity of the checking robot, wherein the identity binding information corresponds to a material owner checked by the checking robot; after the identity of the checking robot is determined to be activated, acquiring material checking data of a target warehouse; signing 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 activates the identity of the checking robot; receiving signed material inventory data uploaded by the inventory robot; and signature verification is carried out on the material inventory data; and uploading the material inventory data passing the signature verification to the block chain.
34. A block chain-based inventory data providing apparatus, comprising:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
sending an equipment 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 activate the identity of the inventory robot, wherein the identity binding information corresponds to a material attribution party of inventory of the inventory robot;
after the identity of the checking robot is determined to be activated, acquiring material checking data of a target warehouse;
signing the material inventory data to obtain signed material inventory data;
and 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 block chain.
35. A block chain-based inventory data providing apparatus, 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 activating the identity of 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 server, and the identity binding information corresponds to a material attribution party of inventory of the inventory robot;
after the identity of the checking robot is determined to be activated, signed material checking data uploaded by the checking robot is received;
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 passes, 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 a method of:
sending an equipment 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 activate the identity of the inventory robot, wherein the identity binding information corresponds to a material attribution party of inventory of the inventory robot;
after the identity of the checking robot is determined to be activated, acquiring material checking data of a target warehouse;
signing the material inventory data to obtain signed material inventory data;
and 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 block chain.
37. A storage medium storing computer-executable instructions that, when executed by a processor, implement a method of:
receiving an equipment identity activation request sent by an inventory robot, and activating the identity of 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 server, and the identity binding information corresponds to a material attribution party of inventory of the inventory robot;
after the identity of the checking robot is determined to be activated, signed material checking data uploaded by the checking robot is received;
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 passes, 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
CN202010125140.7A CN111371559B (en) 2020-02-27 2020-02-27 Material inventory data providing method, device and system based on block chain
CN202111072977.0A CN113794569B (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 true CN113794569A (en) 2021-12-14
CN113794569B CN113794569B (en) 2023-10-13

Family

ID=71206295

Family Applications (2)

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

Family Applications After (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) CN113794569B (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
CN113794569B (en) * 2020-02-27 2023-10-13 支付宝(杭州)信息技术有限公司 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
CN112035504B (en) * 2020-11-03 2022-02-08 支付宝(杭州)信息技术有限公司 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
WO2017165910A1 (en) * 2016-03-31 2017-10-05 Tbsx3 Pty Ltd Tracking system
WO2018145024A1 (en) * 2017-02-03 2018-08-09 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
CN113794569B (en) * 2020-02-27 2023-10-13 支付宝(杭州)信息技术有限公司 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
CN111371559A (en) 2020-07-03
WO2021169455A1 (en) 2021-09-02
CN111371559B (en) 2021-07-27
CN113794569B (en) 2023-10-13

Similar Documents

Publication Publication Date Title
CN111371559B (en) Material inventory data providing method, device and system based on block chain
CN111680305B (en) Data processing method, device and equipment based on block chain
US11303626B2 (en) Secure token passing via hash chains
JP2020074513A (en) Cryptographic verification of source in supply chain
JP2020508593A (en) Consensus verification method and device
ES2804771T3 (en) Method and system for providing terminal identifiers
CN112149187B (en) Method and device for processing traceability information based on blockchain
CN111737686B (en) Processing method, device and equipment of block chain data
CN112100594B (en) Service processing method, device and equipment based on block chain
CN113012008A (en) Identity management method, device and equipment based on trusted hardware
CN111382980A (en) Logistics management method, device, equipment and system based on block chain
Boehm et al. Holistic tracking of products on the blockchain using NFC and verified users
CN112035504B (en) Block chain-based item code generation method, and item weight transfer method and device
US20180205714A1 (en) System and Method for Authenticating Electronic Tags
CN110990492B (en) Information processing method, device and equipment
CN113222667A (en) Equity sharing processing method and device
EP3945696B1 (en) Blockchain data processing method, apparatus, and device
US9992181B2 (en) Method and system for authenticating a user based on location data
CN111931152B (en) Block chain-based electronic signature verification method and device and block chain-based electronic signature verification device and device
US11397760B2 (en) Managing relationships between persons and physical objects based on physical fingerprints of the physical objects
CN113806335A (en) Data migration method and device applied to block chain
CN117040927B (en) Password service monitoring system and method
CN113761496A (en) Identity verification method and device based on block chain and electronic equipment
CN117171185B (en) Logistics data changing method and related equipment based on industrial identification
CN112070500B (en) Block chain payment processing method based on digital financial service and cloud computing center

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