US 11,748,336 B2
Method and apparatus for managing measurement device based on blockchain
Jean-Christophe Emery, Jiangsu (CN); Michael Heidingsfelder, Kiawah Island, SC (US); Eugen Schibli, Schaffhausen (CH); Feng Dai, Jiangsu (CN); Qing Chen, Jiangsu (CN); and GuoJun Xie, Jiangsu (CN)
Assigned to METTLER-TOLEDO (CHANGZHOU) PRECISION INSTRUMENTS LTD., Jiangsu (CN); METTLER-TOLEDO (CHANGZHOU) MEASUREMENT TECHNOLOGY LTD., Jiangsu (CN); and METTLER-TOLEDO INTERNATIONAL TRADING (SHANGHAI) CO., LTD., Pilot Free Trade Zone (CN)
Filed by Mettler-Toledo (Changzhou) Precision Instruments Ltd., Jiangsu (CN); Mettler-Toledo (Changzhou) Measurement Technology Ltd., Jiangsu (CN); and Mettler-Toledo International Trading (Shanghai) Co., Ltd., (Shanghai) Pilot Free Trade Zone (CN)
Filed on Jan. 4, 2021, as Appl. No. 17/140,887.
Claims priority of application No. 202010001674.9 (CN), filed on Jan. 2, 2020.
Prior Publication US 2021/0209094 A1, Jul. 8, 2021
Int. Cl. G06F 16/23 (2019.01); G06F 11/07 (2006.01)
CPC G06F 16/2379 (2019.01) [G06F 11/079 (2013.01); G06F 11/0736 (2013.01); G06F 11/0751 (2013.01)] 18 Claims
OG exemplary drawing
 
1. A method for managing a measurement device based on a blockchain, which is applied to node devices in a blockchain network, the method comprising:
obtaining device state data of the measurement device at various stages in a life cycle of the measurement device;
constructing a target transaction based on the obtained device state data, and then sending the target transaction to other node devices in the blockchain network to perform consensus processing on the target transaction; and
storing, when a consensus of the target transaction is reached, the target transaction into a distributed ledger of the blockchain network, wherein the target transaction stored in the distributed ledger of the blockchain network is used for life cycle management of the measurement device;
wherein the target transaction includes the device state data or a ciphertext of the device state data, and the life cycle includes a plurality of stages within a cycle of the measurement device from production to retirement;
wherein the life cycle includes any combination of the following stages: a production stage, a logistics stage, an installation stage, a usage stage, and a maintenance stage;
wherein a smart contract for life cycle management of the measurement device is deployed in the blockchain, and the life cycle management of the measurement device comprises: invoking, in response to a target invocation transaction for life cycle management of the measurement device sent by a management client, a life cycle management logic declared by the smart contract for life cycle management of the measurement device based on the device state data;
wherein device state data corresponding to the usage stage includes a lead-sealing identification code; and the life cycle management logic includes an electronic lead-sealing state management logic for the measurement device, wherein the electronic lead-sealing state management logic performs:
step A, obtaining the target transaction from the distributed ledger of the blockchain, wherein the target transaction includes the latest lead-sealing identification code corresponding to the measurement device;
step B, obtaining an existing lead-sealing identification code of the measurement device; and
step C, determining that the latest lead-sealing identification code is different from the existing lead-sealing identification code, step D, performing a preset prompt or alarm operation.
 
2. A method for managing a measurement device based on a blockchain, which is applied to node devices in a blockchain network, the method comprising:
obtaining device state data of the measurement device at various stages in a life cycle of the measurement device;
constructing a target transaction based on the obtained device state data, and then sending the target transaction to other node devices in the blockchain network to perform consensus processing on the target transaction; and
storing, when a consensus of the target transaction is reached, the target transaction into a distributed ledger of the blockchain network, wherein the target transaction stored in the distributed ledger of the blockchain network is used for life cycle management of the measurement device;
wherein the target transaction includes the device state data or a ciphertext of the device state data, and the life cycle includes a plurality of stages within a cycle of the measurement device from production to retirement;
wherein the life cycle includes any combination of the following stages: a production stage, a logistics stage, an installation stage, a usage stage, and a maintenance stage;
wherein a smart contract for life cycle management of the measurement device is deployed in the blockchain, and the life cycle management of the measurement device comprises: invoking, in response to a target invocation transaction for life cycle management of the measurement device sent by a management client, a life cycle management logic declared by the smart contract for life cycle management of the measurement device based on the device state data;
wherein device state data corresponding to the usage stage includes abnormal state information data; and the life cycle management logic includes an abnormal state management logic for the measurement device, wherein the abnormal state management logic performs:
step A, obtaining the target transaction from the distributed ledger of the blockchain, wherein the target transaction includes abnormal state information corresponding to the measurement device; and
step B: executing a preset failure analysis logic based on the abnormal state information.
 
9. A method for managing a measurement device based on a blockchain, which is applied to node devices in a blockchain network, the method comprising:
obtaining device state data of the measurement device at various stages in a life cycle of the measurement device;
constructing a target transaction based on the obtained device state data, and then sending the target transaction to other node devices in the blockchain network to perform consensus processing on the target transaction; and
storing, when a consensus of the target transaction is reached, the target transaction into a distributed ledger of the blockchain network, wherein the target transaction stored in the distributed ledger of the blockchain network is used for life cycle management of the measurement device;
wherein the target transaction includes the device state data or a ciphertext of the device state data, and the life cycle includes a plurality of stages within a cycle of the measurement device from production to retirement;
wherein the life cycle includes any combination of the following stages: a production stage, a logistics stage, an installation stage, a usage stage, and a maintenance stage;
wherein a smart contract for life cycle management of the measurement device is deployed in the blockchain, and the life cycle management of the measurement device comprises: invoking, in response to a target invocation transaction for life cycle management of the measurement device sent by a management client, a life cycle management logic declared by the smart contract for life cycle management of the measurement device based on the device state data;
wherein device state data corresponding to the usage stage includes device performance indicator data; and the life cycle management logic includes a device performance state management logic for the measurement device, wherein the device performance state management logic performs:
step A, obtaining the target transaction from the distributed ledger of the blockchain, wherein the target transaction includes device performance indicator data of an initial state corresponding to the measurement device;
step B, obtaining device performance indicator data of an existing state of the measurement device; and
step C, determining that the device performance indicator data of the initial state is different from the device performance indicator data of the existing state, step D, performing a preset performance difference processing logic.