CN113129027B - Object management method, device, computing equipment and storage medium based on blockchain - Google Patents
Object management method, device, computing equipment and storage medium based on blockchain Download PDFInfo
- Publication number
- CN113129027B CN113129027B CN201911418787.2A CN201911418787A CN113129027B CN 113129027 B CN113129027 B CN 113129027B CN 201911418787 A CN201911418787 A CN 201911418787A CN 113129027 B CN113129027 B CN 113129027B
- Authority
- CN
- China
- Prior art keywords
- link
- state
- circulation
- parameter
- target object
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000007726 management method Methods 0.000 title claims abstract description 51
- 238000000034 method Methods 0.000 claims abstract description 21
- 230000008859 change Effects 0.000 claims description 13
- 238000011084 recovery Methods 0.000 claims description 6
- 238000004891 communication Methods 0.000 description 18
- 238000010586 diagram Methods 0.000 description 15
- 238000004590 computer program Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 7
- 238000012545 processing Methods 0.000 description 6
- 230000002159 abnormal effect Effects 0.000 description 5
- 238000004519 manufacturing process Methods 0.000 description 5
- 230000007246 mechanism Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 3
- 230000004075 alteration Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 239000003814 drug Substances 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 229910052500 inorganic mineral Inorganic materials 0.000 description 1
- 239000011707 mineral Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000002994 raw material Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q30/00—Commerce
- G06Q30/018—Certifying business or products
- G06Q30/0185—Product, service or business identity fraud
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Accounting & Taxation (AREA)
- General Engineering & Computer Science (AREA)
- General Health & Medical Sciences (AREA)
- Bioethics (AREA)
- Health & Medical Sciences (AREA)
- Entrepreneurship & Innovation (AREA)
- Software Systems (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Finance (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application discloses a blockchain-based object management method, a blockchain-based object management device, a blockchain-based computing device and a blockchain-based storage medium. The method comprises the following steps: receiving state parameters sent by a target object, wherein the state parameters are used for representing the state of the target object; storing the state parameters and link identifiers associated with the state parameters in a blockchain in an associated manner, wherein the link identifiers are used for marking circulation links where the target objects are located; when the circulation state of the target object is required to be updated, judging whether a circulation link corresponding to a link identifier associated with the state parameter is a trusted circulation link or not based on the state parameter; if the target object is judged to be the trusted circulation link, the circulation state of the target object is updated to the trusted circulation link. Therefore, the uniqueness and irreplaceable and impersonatable characteristics of the target object are realized through the state parameters of the target object, and a reliable solution is provided for the correspondence of a physical object and a digital asset of an information system, particularly a blockchain system.
Description
Technical Field
The present application relates to the field of information processing technologies, and in particular, to a method, an apparatus, a computing device, and a storage medium for managing objects based on a blockchain.
Background
An item tends to circulate between the bodies. For example, an item may pass through the body of a manufacturer, vendor, transportation facility, etc., from its creation to its sale. The articles can generate circulation information when circulating, and some users or some businesses can have the need to trace the circulation information.
At present, various article tracing schemes mostly adopt to add bar code identification or electronic tags to the articles, then the identification is used as unique identification in an information system, and all the characteristics and all circulation records of the articles are recorded, so that the method is used as a tracing scheme. However, with practical use, there are problems such as that the physical object is replaced, counterfeited, copied, etc., and if the true bar code mark is attached to the counterfeit product, it is difficult for the user to recognize. Even if the blockchain technology is introduced to manage the articles, the accuracy of the information recorded on the blockchain cannot be guaranteed.
Therefore, how to improve the article management scheme to provide support for realizing uniqueness and irreplaceability and irreproducibility of the real object so as to improve the accuracy of the information recorded by the blockchain is one of the problems to be solved.
Disclosure of Invention
The application aims to provide a blockchain-based object management method, a blockchain-based object management device, a blockchain-based object management computing device and a blockchain-based object management storage medium, so as to provide support for realizing the uniqueness and irreplaceable and falsifiable characteristics of a physical object.
In a first aspect, an embodiment of the present application provides a blockchain-based object management method, including:
receiving state parameters sent by a target object, wherein the state parameters are used for representing the state of the target object;
Storing the state parameters and link identifiers associated with the state parameters in a blockchain in an associated manner, wherein the link identifiers are used for marking circulation links where the target objects are located;
When the circulation state of the target object is required to be updated, judging whether a circulation link corresponding to a link identifier associated with the state parameter is a trusted circulation link or not based on the state parameter;
if the target object is judged to be the trusted circulation link, the circulation state of the target object is updated to the trusted circulation link.
Optionally, the target object corresponds to a plurality of state parameters, each state parameter having a corresponding range of numerical fluctuations,
Based on the state parameter, judging whether the circulation link corresponding to the link identifier associated with the state parameter is a trusted circulation link, including:
Comparing the state parameter with the corresponding previous state parameter for any state parameter, wherein the previous state parameter is the state parameter corresponding to the circulation link where the target object is located previously,
If the change of the state parameter compared with the corresponding previous state parameter exceeds the corresponding numerical fluctuation range of the state parameter, judging that the link associated with the state parameter marks the corresponding circulation link as an unreliable circulation link;
If the change of the state parameter compared with the corresponding previous state parameter does not exceed the corresponding numerical fluctuation range of the state parameter, judging that the link associated with the state parameter marks the corresponding circulation link as a trusted circulation link.
Optionally, the state parameter is obtained by the target object via a sensor associated therewith, wherein the sensor is arranged in a random parameter container,
The target object is placed in the random parameter container; or alternatively
The target object is attached to the random parameter container.
Optionally, the status parameter includes at least one of:
A temperature parameter; a humidity parameter; a barometric pressure parameter; vibration parameters; a location parameter.
Optionally, the method further comprises:
responding to the input operation of the user on the original resource, obtaining and storing a unique identifier and a state parameter corresponding to the original resource; and
Before the link that the original resource is manufactured into a finished product, recording the circulation state of the original resource, determining the original resource adopted by each finished product after the original resource is manufactured into the finished product, and recording the corresponding relation of each finished product and the adopted original resource;
And recording the circulation state of each finished product.
Optionally, the circulation state of each finished product includes: and each finished product is used as each circulation link which is experienced by the target object in different service forms, and each circulation link which is experienced by the target object in different service forms can be traced through corresponding state parameters, wherein each circulation link comprises a consumption link, a transportation link, a use link, a recovery link and a link which is processed into original resources of each finished product.
Optionally, if the finished product is a resource for making other finished products, the using step includes making other finished products.
In a second aspect, an embodiment of the present application provides an object management apparatus based on a blockchain, including:
the parameter receiving unit is used for receiving state parameters sent by a target object, wherein the state parameters are used for representing the state of the target object;
The storage unit is used for storing the state parameters to the blockchain in association with the link identifiers associated with the state parameters, and the link identifiers are used for marking the circulation links where the target objects are located;
The trusted judgment unit is used for judging whether the circulation link corresponding to the link identifier associated with the state parameter is a trusted circulation link or not based on the state parameter when the circulation state of the target object is required to be updated;
And the circulation state switching unit is used for updating the circulation state of the target object to the trusted circulation link if the circulation state switching unit determines the trusted circulation link.
Optionally, the target object corresponds to a plurality of state parameters, each state parameter has a corresponding numerical fluctuation range, and the trusted judgment unit is configured to:
Comparing the state parameter with the corresponding previous state parameter for any state parameter, wherein the previous state parameter is the state parameter corresponding to the circulation link where the target object is located previously,
If the change of the state parameter compared with the corresponding previous state parameter exceeds the corresponding numerical fluctuation range of the state parameter, judging that the link associated with the state parameter marks the corresponding circulation link as an unreliable circulation link;
If the change of the state parameter compared with the corresponding previous state parameter does not exceed the corresponding numerical fluctuation range of the state parameter, judging that the link associated with the state parameter marks the corresponding circulation link as a trusted circulation link.
Optionally, the state parameter is obtained by the target object via a sensor associated therewith, wherein the sensor is arranged in a random parameter container,
The target object is placed in the random parameter container; or alternatively
The target object is attached to the random parameter container.
Optionally, the status parameter includes at least one of:
A temperature parameter; a humidity parameter; a barometric pressure parameter; vibration parameters; a location parameter.
Optionally, the apparatus further includes:
the acquisition unit is used for responding to the input operation of the user on the original resource, obtaining the unique identifier and the state parameter corresponding to the original resource and storing the unique identifier and the state parameter; and
The relation corresponding unit is used for recording the circulation state of the original resource before the link that the original resource is manufactured into a finished product, determining the original resource adopted by each finished product after the original resource is manufactured into the finished product, and recording the corresponding relation of each finished product and the adopted original resource;
And the circulation state recording unit is used for recording the circulation state of each finished product.
Optionally, the circulation state of each finished product includes: and each finished product is used as each circulation link which is experienced by the target object in different service forms, and each circulation link which is experienced by the target object in different service forms can be traced through corresponding state parameters, wherein each circulation link comprises a consumption link, a transportation link, a use link, a recovery link and a link which is processed into original resources of each finished product.
Optionally, if the finished product is a resource for making other finished products, the using step includes making other finished products.
In a third aspect, another embodiment of the application also provides a computing device comprising at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor to enable the at least one processor to perform any of the blockchain-based object management methods provided by the embodiments of the present application.
In a fourth aspect, another embodiment of the present application further provides a computer storage medium, where the computer storage medium stores computer executable instructions for causing a computer to perform any of the blockchain-based object management methods of the embodiments of the present application.
According to the embodiment of the application, the uniqueness and irreplaceable and impersonatable characteristics of the target object are realized through the state parameters of the target object, so that the accuracy of the information recorded by the blockchain is improved, and a reliable solution is provided for the correspondence of a real object and an information system, particularly the digital asset of the blockchain system. On the basis, an effective traceability and physical digital asset management scheme for the target object can be provided.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application. The objectives and other advantages of the application will be realized and attained by the structure particularly pointed out in the written description and claims thereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments of the present invention will be briefly described below, and it is obvious that the drawings described below are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a system architecture according to one embodiment of the application;
FIG. 2 is a flow diagram of a blockchain-based object management method in accordance with an embodiment of the application;
FIG. 3 is a schematic diagram of a blockchain-based object management flow in accordance with an embodiment of the present application;
FIG. 4 is a flow diagram of a blockchain-based object management method in accordance with an embodiment of the application;
FIG. 5 is a schematic diagram of a blockchain-based object management device in accordance with an embodiment of the present application;
FIG. 6 is a schematic diagram of a computing device according to one embodiment of the application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more clear, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
FIG. 1 is a schematic diagram of a system architecture according to one embodiment of the application.
As shown in fig. 1, the system architecture may include a managed target object 10, a blockchain system 20, and a management terminal 30.
The target object 10 may be any object that can be managed, including but not limited to objects under different business forms, such as virtual items, physical items, raw resources of production items, parts of production items, and the like. The blockchain system 20 may include a plurality of blockchain nodes, each blockchain node having a predetermined storage capacity. The management terminal 30 is any suitable electronic device that may be used for network access, including but not limited to a smart phone, tablet, computer, notebook, or other type of device terminal.
The target object 10, the blockchain system 20, and the management terminal 30 can each receive and transmit information via the network 40. Network 40 may be a broad network for information transfer and may include one or more communication networks such as a wireless communication network, the internet, a private network, a local area network, a metropolitan area network, a wide area network, or a cellular data network.
It should be understood that the above system architecture is merely illustrative of some modules that may be involved in the present application and not limiting in any way, and in other embodiments, the system architecture may also include other modules, such as servers, databases, etc., to which the present application is not limited. One or a portion of the management terminals (e.g., terminal 30-1) will be selected for description in the following description, but it should be understood by those skilled in the art that the above-mentioned 1 … N management terminals are intended to represent a large number of terminals existing in a real network, and the single target object 10 and blockchain system 20 are shown intended to represent the operation of the technical solution of the present application involving the target object and blockchain system. The specific numbering of terminals and individual target objects and blockchain points is detailed at least for ease of illustration and is not meant to imply limitations on the types or functions or locations of target objects, management terminals and blockchain nodes.
In practice, the target object 10 may directly or indirectly acquire state parameters that characterize its state and send the acquired state parameters to the blockchain system 20. The blockchain system 20 may store the received state parameters of the target object in association with its associated link identification to the relevant blockchain node, and may monitor whether the circulation link in which the target object is located is a trusted circulation link based on the stored state parameters. The circulation status of the target object can be monitored by the relevant person (e.g., producer, consumer, carrier or other person, etc.) through their corresponding management terminal 30.
Therefore, the uniqueness and irreplaceable and impersonatable characteristics of the target object can be realized through the state parameters of the target object, so that the accuracy of the information recorded by the blockchain is improved, and a reliable solution is provided for the correspondence of a real object and an information system, particularly the digital asset of the blockchain system.
The object management system may also be associated with other systems (e.g., a tracing system, tax system, etc.) to provide support for facilitating implementation of functionality of the associated system (e.g., efficient tracing of the target object, tax management of the target object, etc.) based on the characteristics described above.
FIG. 2 is a flow chart of a method for blockchain-based object management in accordance with an embodiment of the present application. Wherein the method may be performed, for example, by the blockchain system 20 shown in fig. 1. FIG. 3 is a schematic diagram of a blockchain-based object management flow in accordance with an embodiment of the present application. Details regarding the blockchain-based object management scheme of the present application are described in detail below in conjunction with the flowcharts shown in fig. 2 and 3.
As shown in fig. 2, in step S210, a state parameter sent by a target object is received, where the state parameter is used to characterize a state of the target object.
In step S220, the state parameter is stored in association with a link identifier associated with the state parameter, where the link identifier is used to indicate a circulation link where the target object is located.
In step S230, when the circulation state of the target object needs to be updated, based on the state parameter, it is determined whether the circulation link corresponding to the link identifier associated with the state parameter is a trusted circulation link.
In step S240, if the trusted circulation link is determined, the circulation state of the target object is updated to the trusted circulation link.
In an embodiment of the present application, the target object 10 may be any object that can be managed, including but not limited to a finished product, a non-finished product, or an object in a different business form, such as a virtual object, a physical object, an original resource of a production object, a spare part of a production object, etc.
In the embodiment of the application, the state can be any state, and the state parameter is used for representing the state of the target object. By way of example, the status parameters may include, for example, but are not limited to, temperature parameters, humidity parameters, barometric pressure parameters, vibration parameters, location parameters, and the like. In practical application, the required state parameters can be configured and acquired according to different target objects, different service forms or different requirements, and the application is not limited to this.
In practice, the state parameters may be acquired by the target object through various types of sensors associated therewith. Wherein, various types of sensors can be configured on or attached to the target object and can acquire the state parameters of the target object in real time. In one embodiment, for example, a processor and/or communication module may also be provided in association with the target object and its sensors. The processor may send an instruction for reporting the status parameter to the communication module, for example, the communication module may report the status parameter collected by each sensor to the blockchain system in response to receiving the instruction for reporting the status parameter, so that the blockchain system can monitor whether the target object is in a trusted circulation link based on the reported status parameter.
In one embodiment, a random parameter container may also be added to the target object, the target object may be placed within the random parameter container, or the target object may be attached to the random parameter container. The random parameter container may be configured such that a processor, a communication module, and various types of sensors capable of acquiring a state parameter of a target object, such as a temperature sensor, a humidity sensor, a pressure sensor, a vibration sensor, a GPS sensor, etc., are provided in the random parameter container content. Similar to the foregoing embodiments, the various types of sensors can collect the state parameters corresponding to the target object in real time, and the processor can, for example, send an instruction for reporting the state parameters to the communication module, and the communication module can, for example, report the state parameters collected by the sensors to the blockchain system corresponding to the instruction for reporting the state parameters, so that the blockchain system can monitor whether the target object is in a trusted circulation link based on the reported state parameters.
In the embodiment of the application, the status parameter may be reported periodically or may be reported when the circulation status of the target object needs to be updated, which is not limited by the application. The timing of reporting the status parameter may be managed, for example, by a processor associated with the target object. For example, a command related to the reporting mechanism (such as a reporting period or a reporting condition) may be written in advance in the processor, and if the processor monitors that the related condition of the reporting mechanism is met (such as the reporting period is met or the reporting condition is met), an instruction for reporting the status parameter is sent to the communication module, so that the communication module reports the status parameter collected by each sensor to the blockchain system.
It should be understood that the foregoing reporting mechanism is merely illustrative of and not limiting on the embodiments of the present application, and that in other embodiments, other reporting mechanisms may be employed, and the present application is not limited in this regard. For example, each time a sensor collects a status parameter, the communication module reports the status parameter to the blockchain system. In addition, since the communication module is associated with the target object, the state parameter reported by the communication module in the embodiment of the present application is the state parameter sent by the target object, and will not be described in detail hereinafter.
After receiving the status parameter sent by the target object, the blockchain system 20 stores the received status parameter in association with the link identifier associated with the received status parameter to the corresponding blockchain node of the blockchain, where the link identifier may be used to indicate the circulation link where the target object is located. And, the blockchain system 20 may monitor whether the circulation link in which the target object is located is a trusted circulation link based on the stored state parameters.
In one embodiment, when the circulation state of the target object needs to be updated, whether the circulation link where the target object is located is a trusted circulation link or not may be determined. At this time, based on the state parameters, whether the circulation link corresponding to the link identifier associated with the state parameters is a trusted circulation link can be judged; if the target object is judged to be a trusted circulation link, updating the circulation state of the target object to the trusted circulation link; if the communication link is determined to be the unreliable communication link, the communication state of the target object is not updated to the unreliable communication link. Of course, in other embodiments, the method may also automatically detect in real time or periodically to determine whether the circulation link where the target object is located is a trusted circulation link, and if the circulation link is detected to be in an untrusted circulation link, the method may also automatically process the circulation link without waiting for a timing of updating the circulation state of the target object, which is not limited in the present application.
In the embodiment of the application, the target object can correspond to a plurality of state parameters, and each state parameter has a corresponding numerical fluctuation range.
As shown in fig. 3, based on the state parameter, determining whether the circulation link corresponding to the link identifier associated with the state parameter is a trusted circulation link may specifically include:
In step S231, for any state parameter, the state parameter is compared with its corresponding previous state parameter to determine whether the change of each state parameter compared with its corresponding previous state parameter exceeds the corresponding value fluctuation range of the state parameter. The previous state parameter is a state parameter corresponding to a circulation link where the target object is located previously.
If the judgment result is yes, that is, the change of the state parameter compared with the corresponding previous state parameter exceeds the corresponding numerical fluctuation range of the state parameter, step S232 is performed, that is, the circulation link corresponding to the link identifier associated with the state parameter is judged to be an unreliable circulation link. At this time, in step S233, the circulation status of the target object is not updated to the untrusted circulation link. Or in step S233, the circulation status of the target object may be updated to the untrusted circulation link, and the circulation of the target object may be terminated.
If the judgment result is no, that is, the change of the state parameter compared with the corresponding previous state parameter does not exceed the corresponding numerical fluctuation range of the state parameter, step S234 is entered, that is, the circulation link corresponding to the link identifier associated with the state parameter is judged to be the trusted circulation link. At this time, in step S235, the circulation status of the target object is updated to the trusted circulation link.
The numerical fluctuation range for each state parameter may be set, for example, in combination with reasonable continuity of parameters determined by the service form, the estimated circulation route of the target object, the estimated circulation termination, and the like. Taking a random parameter container as an example, if the container is damaged by external force at any moment, the reasonable continuity of any one of the state parameters is damaged, and at the moment, any one of the state parameters is mutated, namely the container is indicated to be in an untrusted circulation link corresponding to the target object. For a circulation target object, such as an article, the random parameter container may be damaged by external force only when the article is consumed, so that the circulation is not feasible, namely, the circulation ending link is caused.
As an example, if a circulating item is taken as the target object, it may be considered that the circulating state needs to be updated when the circulating item is switched in a consuming link, a transporting link, a using link, a recovering link, a processing to an original resource, or the like, or a related sub-link. Each link or sub-links thereof has its corresponding unique link identification. If the target object is determined to be in an unreliable circulation state according to the state parameters and is not in a circulation termination link at present, the target object may be damaged, replaced, copied, forged and the like, and at the moment, circulation of the target object may be abnormal, and then a manager is required to intervene in time to process the target object so as to avoid unnecessary loss.
And if it is determined that the circulation of the target object is abnormal according to the state parameters, for example, an abnormal prompt can be sent to the manager to remind the manager that the circulation of the target object is abnormal, so that the manager can timely track the abnormal target object to avoid unnecessary loss. It should be understood that the foregoing exception alert is merely illustrative of, but not limiting to, measures taken when the circulation status of the target object cannot be updated in the embodiment of the present application, and in other embodiments, other measures may be taken, for example, ending the circulation of the target object with an exception, which is not described herein.
Therefore, the object management scheme disclosed by the application can realize the uniqueness and irreplaceable and impersonatable characteristics of the target object by combining the state parameters of the target object, and provides a reliable solution for the correspondence of a physical object and a digital asset of an information system, particularly a blockchain system.
Based on the uniqueness and irreplaceable, impersonatable characteristics of the target object that the above object management scheme of the present application can achieve, the scheme can also be used to implement a commodity circulation chain, thereby providing other related systems with, for example, efficient traceability and physical digital asset management schemes for the target object.
For example, as shown in fig. 4, in step S410, in response to an input operation of the user on the original resource, a unique identifier and a state parameter corresponding to the original resource are obtained and stored.
In step S420, before the link that the original resource is manufactured into a finished product, the circulation state of the original resource is recorded, after the original resource is manufactured into a finished product, the original resource adopted by each finished product is determined, and the corresponding relation between each finished product and the adopted original resource is recorded.
In step S430, the circulation state of each finished product is recorded.
In one embodiment, the circulation state of each finished product may include: and each finished product is used as each circulation link experienced by the target object in different service forms, and each circulation link experienced by the target object in different service forms can be traced through corresponding state parameters. Wherein, each circulation link comprises a consumption link, a transportation link, a use link, a recovery link and a link for processing the raw materials into the original resources of each finished product.
In one embodiment, if the finished product is a resource for making other finished products, the using step includes making other finished products.
As an example, the start of the article circulation chain record may correspond to the original resource and its corresponding unique identifier and status parameters, such as the area and unit time yield of a certain type of medicine field, the reserves and unit time yield of a certain type of mineral deposit, etc., and the subsequent circulation is based on this to correlate and record the circulation information of each finished product related to this original resource. The article circulation chain records the history record of each state parameter of each finished product along with time so as to check whether the article is in a trusted circulation link. Therefore, the complete tracing and unified tracing of the circulation information of the articles can be realized based on the uniqueness, irreplaceability and irreproducibility of the articles.
If this commodity circulation chain is applied to physical digital asset management, such as tax management, the commodity circulation chain may be associated with a funds accounting chain and a tax invoice chain. Wherein the item circulation chain may be used for a series of circulation transactions from an initial resource to the item being manufactured as a finished product; the fund settlement chain can record fund settlement transactions related to each link of the commodity circulation; the tax invoice chain can record tax transactions related to various links of article circulation, and the article circulation chain, the fund settlement chain and the tax invoice chain are related in service, so that corresponding tax management of the article can be realized based on the uniqueness and irreplaceable and uncopyable properties of the article.
Therefore, the object management scheme based on the blockchain realizes the uniqueness and irreplaceable and impersonatable characteristics of the target object through the state parameters of the target object, and provides a reliable solution for the correspondence of a physical object and an information system, particularly the digital asset of the blockchain system. On the basis, an effective traceability and physical digital asset management scheme for the target object can be provided.
Based on the same conception, the embodiment of the application also provides an object management device based on the block chain.
FIG. 5 is a schematic diagram of a blockchain-based object management device in accordance with an embodiment of the present application.
As shown in fig. 5, the object management apparatus 500 may include:
A parameter receiving unit 510, configured to receive a state parameter sent by a target object, where the state parameter is used to characterize a state of the target object;
a storage unit 520, configured to store the state parameter in association with a link identifier associated with the state parameter to a blockchain, where the link identifier is used to indicate a circulation link where the target object is located;
A trusted judgment unit 530, configured to, when the circulation status of the target object needs to be updated, judge, based on the status parameter, whether a circulation link corresponding to a link identifier associated with the status parameter is a trusted circulation link;
and a circulation state switching unit 540, configured to update the circulation state of the target object to the trusted circulation link if the circulation state is determined to be the trusted circulation link.
In one embodiment, the target object corresponds to a plurality of state parameters, each state parameter having a corresponding range of numerical fluctuations, and the trusted determining unit is configured to:
Comparing the state parameter with the corresponding previous state parameter for any state parameter, wherein the previous state parameter is the state parameter corresponding to the circulation link where the target object is located previously,
If the change of the state parameter compared with the corresponding previous state parameter exceeds the corresponding numerical fluctuation range of the state parameter, judging that the link associated with the state parameter marks the corresponding circulation link as an unreliable circulation link;
If the change of the state parameter compared with the corresponding previous state parameter does not exceed the corresponding numerical fluctuation range of the state parameter, judging that the link associated with the state parameter marks the corresponding circulation link as a trusted circulation link.
In one embodiment, the status parameter is obtained by the target object via a sensor associated therewith,
Wherein the sensor is disposed within a random parameter container,
The target object is placed in the random parameter container; or alternatively
The target object is attached to the random parameter container.
In one embodiment, the status parameters include at least one of:
A temperature parameter; a humidity parameter; a barometric pressure parameter; vibration parameters; a location parameter.
In one embodiment, the apparatus further comprises:
the acquisition unit is used for responding to the input operation of the user on the original resource, obtaining the unique identifier and the state parameter corresponding to the original resource and storing the unique identifier and the state parameter; and
The relation corresponding unit is used for recording the circulation state of the original resource before the link that the original resource is manufactured into a finished product, determining the original resource adopted by each finished product after the original resource is manufactured into the finished product, and recording the corresponding relation of each finished product and the adopted original resource;
And the circulation state recording unit is used for recording the circulation state of each finished product.
In one embodiment, the circulation state of each finished product includes: and each finished product is used as each circulation link which is experienced by the target object in different service forms, and each circulation link which is experienced by the target object in different service forms can be traced through corresponding state parameters, wherein each circulation link comprises a consumption link, a transportation link, a use link, a recovery link and a link which is processed into original resources of each finished product.
In one embodiment, if the finished product is a resource for making other finished products, the using step includes making other finished products.
Specific details of the above-mentioned object management device and the functional implementation of the modules thereof can be found in the above description related to fig. 1-4, and are not repeated here.
Having described an object management method and apparatus of an exemplary embodiment of the present application, next, a computing device according to another exemplary embodiment of the present application is described.
Those skilled in the art will appreciate that the various aspects of the application may be implemented as a system, method, or program product. Accordingly, aspects of the application may be embodied in the following forms, namely: an entirely hardware embodiment, an entirely software embodiment (including firmware, micro-code, etc.) or an embodiment combining hardware and software aspects may be referred to herein as a "circuit," module "or" system.
In some possible implementations, a computing device according to the application may include at least one processor, and at least one memory. Wherein the memory stores program code that, when executed by the processor, causes the processor to perform the steps in the object management method according to various exemplary embodiments of the application described above in this specification. For example, the processor may perform the steps shown in FIGS. 2-4.
A computing device 130 according to such an embodiment of the application is described below with reference to fig. 6. The computing device 130 shown in fig. 6 is merely an example and should not be taken as limiting the functionality and scope of use of embodiments of the present application.
As shown in fig. 6, computing device 130 is in the form of a general purpose computing device. Components of computing device 130 may include, but are not limited to: the at least one processor 131, the at least one memory 132, and a bus 133 connecting the various system components, including the memory 132 and the processor 131.
Bus 133 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a processor, and a local bus using any of a variety of bus architectures.
Memory 132 may include readable media in the form of volatile memory such as Random Access Memory (RAM) 1321 and/or cache memory 1322, and may further include Read Only Memory (ROM) 1323.
Memory 132 may also include a program/utility 1325 having a set (at least one) of program modules 1324, such program modules 1324 include, but are not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
Computing device 130 may also communicate with one or more external devices 134 (e.g., keyboard, pointing device, etc.), one or more devices that enable a user to interact with computing device 130, and/or any devices (e.g., routers, modems, etc.) that enable computing device 130 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 135. Moreover, computing device 130 may also communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, through network adapter 136. As shown, network adapter 136 communicates with other modules for computing device 130 over bus 133. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in connection with computing device 130, including, but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
In some possible embodiments, aspects of an object management method provided by the present application may also be implemented in the form of a program product, which includes program code for causing a computer device to perform the steps of an object management method according to various exemplary embodiments of the present application described above when the program product is run on the computer device, for example, the computer device may perform the steps as shown in fig. 2 to 4.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The program product for object management of embodiments of the present application may employ a portable compact disc read only memory (CD-ROM) and include program code and may run on a computing device. However, the program product of the present application is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
It should be noted that although several units or sub-units of the apparatus are mentioned in the above detailed description, such a division is merely exemplary and not mandatory. Indeed, the features and functions of two or more of the elements described above may be embodied in one element in accordance with embodiments of the present application. Conversely, the features and functions of one unit described above may be further divided into a plurality of units to be embodied.
Furthermore, although the operations of the methods of the present application are depicted in the drawings in a particular order, this is not required or suggested that these operations must be performed in this particular order or that all of the illustrated operations must be performed in order to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application 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 therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present application without departing from the spirit or scope of the application. Thus, it is intended that the present application also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.
Claims (14)
1. A blockchain-based object management method, comprising:
receiving state parameters sent by a target object, wherein the state parameters are used for representing the state of the target object;
Storing the state parameters and link identifiers associated with the state parameters in a block chain in an associated manner, wherein the link identifiers are used for marking circulation links where the target objects are located, the target objects correspond to a plurality of state parameters, and each state parameter has a corresponding numerical fluctuation range;
When the circulation state of the target object is required to be updated, comparing the state parameter with the corresponding previous state parameter of the state parameter aiming at any state parameter, wherein the previous state parameter is the state parameter corresponding to the circulation link where the target object is located previously, and if the change of the state parameter compared with the corresponding previous state parameter exceeds the corresponding numerical fluctuation range of the state parameter, judging that the circulation link corresponding to the link identifier associated with the state parameter is an unreliable circulation link; if the change of the state parameter compared with the corresponding previous state parameter does not exceed the corresponding numerical fluctuation range of the state parameter, judging that the link associated with the state parameter marks the corresponding circulation link as a trusted circulation link;
if the target object is judged to be the trusted circulation link, the circulation state of the target object is updated to the trusted circulation link.
2. The method of claim 1, wherein the status parameter is obtained by the target object via a sensor associated therewith,
Wherein the sensor is disposed within a random parameter container,
The target object is placed in the random parameter container; or alternatively
The target object is attached to the random parameter container.
3. The method of claim 1, wherein the status parameters include at least one of:
A temperature parameter; a humidity parameter; a barometric pressure parameter; vibration parameters; a location parameter.
4. The method according to claim 1, wherein the method further comprises:
responding to the input operation of the user on the original resource, obtaining and storing a unique identifier and a state parameter corresponding to the original resource; and
Before the link that the original resource is manufactured into a finished product, recording the circulation state of the original resource, determining the original resource adopted by each finished product after the original resource is manufactured into the finished product, and recording the corresponding relation of each finished product and the adopted original resource;
And recording the circulation state of each finished product.
5. The method of claim 4, wherein the circulating state of each finished product comprises: and each finished product is used as each circulation link which is experienced by the target object in different service forms, and each circulation link which is experienced by the target object in different service forms can be traced through corresponding state parameters, wherein each circulation link comprises a consumption link, a transportation link, a use link, a recovery link and a link which is processed into original resources of each finished product.
6. The method of claim 5, wherein the using step includes forming the other finished product if the finished product is a resource for forming the other finished product.
7. A blockchain-based object management device, comprising:
the parameter receiving unit is used for receiving state parameters sent by a target object, wherein the state parameters are used for representing the state of the target object;
The storage unit is used for storing the state parameters to the blockchain in an associated mode with the link identifiers, the link identifiers are used for marking the circulation links where the target objects are located, the target objects correspond to a plurality of state parameters, and each state parameter has a corresponding numerical fluctuation range;
The trusted judgment unit is used for comparing the state parameter with the corresponding previous state parameter of any state parameter when the circulation state of the target object is required to be updated, wherein the previous state parameter is the state parameter corresponding to the circulation link where the target object is located before, and if the change of the state parameter compared with the corresponding previous state parameter exceeds the corresponding numerical fluctuation range of the state parameter, the circulation link corresponding to the link identifier associated with the state parameter is judged to be an untrusted circulation link; if the change of the state parameter compared with the corresponding previous state parameter does not exceed the corresponding numerical fluctuation range of the state parameter, judging that the link associated with the state parameter marks the corresponding circulation link as a trusted circulation link;
And the circulation state switching unit is used for updating the circulation state of the target object to the trusted circulation link if the circulation state switching unit determines the trusted circulation link.
8. The apparatus of claim 7, wherein the status parameter is obtained by the target object via a sensor associated therewith,
Wherein the sensor is disposed within a random parameter container,
The target object is placed in the random parameter container; or alternatively
The target object is attached to the random parameter container.
9. The apparatus of claim 7, wherein the status parameters comprise at least one of:
A temperature parameter; a humidity parameter; a barometric pressure parameter; vibration parameters; a location parameter.
10. The apparatus of claim 7, wherein the apparatus further comprises:
the acquisition unit is used for responding to the input operation of the user on the original resource, obtaining the unique identifier and the state parameter corresponding to the original resource and storing the unique identifier and the state parameter; and
The relation corresponding unit is used for recording the circulation state of the original resource before the link that the original resource is manufactured into a finished product, determining the original resource adopted by each finished product after the original resource is manufactured into the finished product, and recording the corresponding relation of each finished product and the adopted original resource;
And the circulation state recording unit is used for recording the circulation state of each finished product.
11. The apparatus of claim 7, wherein the flow-through state of each finished product comprises: and each finished product is used as each circulation link which is experienced by the target object in different service forms, and each circulation link which is experienced by the target object in different service forms can be traced through corresponding state parameters, wherein each circulation link comprises a consumption link, a transportation link, a use link, a recovery link and a link which is processed into original resources of each finished product.
12. The apparatus of claim 11, wherein the step of using includes fabricating other finished products if the finished products are resources for fabricating other finished products.
13. A computing device comprising at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the object management method according to any one of claims 1-6.
14. A computer storage medium storing computer executable instructions for causing a computer to perform the object management method according to any one of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911418787.2A CN113129027B (en) | 2019-12-31 | 2019-12-31 | Object management method, device, computing equipment and storage medium based on blockchain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911418787.2A CN113129027B (en) | 2019-12-31 | 2019-12-31 | Object management method, device, computing equipment and storage medium based on blockchain |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113129027A CN113129027A (en) | 2021-07-16 |
CN113129027B true CN113129027B (en) | 2024-05-31 |
Family
ID=76769315
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911418787.2A Active CN113129027B (en) | 2019-12-31 | 2019-12-31 | Object management method, device, computing equipment and storage medium based on blockchain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113129027B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2000058962A1 (en) * | 1999-03-25 | 2000-10-05 | Koninklijke Philips Electronics N.V. | Usage dependent ticket to protect copy-protected material |
CN104601086A (en) * | 2015-01-29 | 2015-05-06 | 湖北民族学院 | PV (Photovoltaic) power generation system and fault detection method thereof |
CN109191154A (en) * | 2018-09-30 | 2019-01-11 | 陕西艺霖信息科技有限公司 | The full industrial chain information tracing method and system of agricultural product based on block chain |
CN109461008A (en) * | 2018-11-02 | 2019-03-12 | 北京赛腾标识系统股份公司 | Drug Administration method and system based on block chain |
CN110502922A (en) * | 2019-08-13 | 2019-11-26 | 上海域乎信息技术有限公司 | Item circulation link retroactive method, device and electronic equipment based on block chain |
-
2019
- 2019-12-31 CN CN201911418787.2A patent/CN113129027B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2000058962A1 (en) * | 1999-03-25 | 2000-10-05 | Koninklijke Philips Electronics N.V. | Usage dependent ticket to protect copy-protected material |
CN104601086A (en) * | 2015-01-29 | 2015-05-06 | 湖北民族学院 | PV (Photovoltaic) power generation system and fault detection method thereof |
CN109191154A (en) * | 2018-09-30 | 2019-01-11 | 陕西艺霖信息科技有限公司 | The full industrial chain information tracing method and system of agricultural product based on block chain |
CN109461008A (en) * | 2018-11-02 | 2019-03-12 | 北京赛腾标识系统股份公司 | Drug Administration method and system based on block chain |
CN110502922A (en) * | 2019-08-13 | 2019-11-26 | 上海域乎信息技术有限公司 | Item circulation link retroactive method, device and electronic equipment based on block chain |
Non-Patent Citations (1)
Title |
---|
基于区块链的粮油食品全供应链信息安全管理原型系统;许继平;孙鹏程;张新;王小艺;孔建磊;赵峙尧;;农业机械学报(第02期);第348-356页 * |
Also Published As
Publication number | Publication date |
---|---|
CN113129027A (en) | 2021-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10360193B2 (en) | Method and apparatus for smart archiving and analytics | |
CN110851342A (en) | Fault prediction method, device, computing equipment and computer readable storage medium | |
CN111339175B (en) | Data processing method, device, electronic equipment and readable storage medium | |
CN105591821B (en) | Monitoring system and service system | |
CN108388604A (en) | User right data administrator, method and computer readable storage medium | |
CN113935497A (en) | Intelligent operation and maintenance fault processing method, device and equipment and storage medium thereof | |
CN111897705B (en) | Service state processing and model training method, device, equipment and storage medium | |
CN111754123B (en) | Data monitoring method, device, computer equipment and storage medium | |
CN112148733A (en) | Method, device, electronic device and computer readable medium for determining fault type | |
CN110275992A (en) | Emergency processing method, device, server and computer readable storage medium | |
CN111459692A (en) | Method, apparatus and computer program product for predicting drive failure | |
CN114780335A (en) | Correlation method and device of monitoring data, computer equipment and storage medium | |
CN116595756A (en) | Digital twinning-based intelligent operation and maintenance method and device for data center | |
CN114153646B (en) | Operation and maintenance fault handling method and device, storage medium and processor | |
CN113129027B (en) | Object management method, device, computing equipment and storage medium based on blockchain | |
CN102986151A (en) | Monitoring system and data transfer device and method thereof | |
CN111414981A (en) | Vehicle management method, device, equipment and storage medium | |
CN109919543A (en) | A kind of method and apparatus of monitoring waste processing | |
US12105725B2 (en) | Automatic determination of alternative paths for a process flow using machine learning | |
CN114710397B (en) | Service link fault root cause positioning method and device, electronic equipment and medium | |
CN115438812A (en) | Life-saving management method and device for power transmission equipment, computer equipment and storage medium | |
US12073295B2 (en) | Machine learning model operation management system and method | |
CN113285978B (en) | Fault identification method based on block chain and big data and general computing node | |
CN114629690A (en) | Equipment safety baseline compliance detection method and device and computer equipment | |
CN112596974A (en) | Full link monitoring method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |