CN110490605B - Ontology-based supply chain data standardization system oriented to blockchain tracing - Google Patents

Ontology-based supply chain data standardization system oriented to blockchain tracing Download PDF

Info

Publication number
CN110490605B
CN110490605B CN201810456009.1A CN201810456009A CN110490605B CN 110490605 B CN110490605 B CN 110490605B CN 201810456009 A CN201810456009 A CN 201810456009A CN 110490605 B CN110490605 B CN 110490605B
Authority
CN
China
Prior art keywords
supply chain
ontology
activity
resource set
tracing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810456009.1A
Other languages
Chinese (zh)
Other versions
CN110490605A (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.)
Shanghai Jiaotong University
Original Assignee
Shanghai Jiaotong University
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 Shanghai Jiaotong University filed Critical Shanghai Jiaotong University
Priority to CN201810456009.1A priority Critical patent/CN110490605B/en
Publication of CN110490605A publication Critical patent/CN110490605A/en
Application granted granted Critical
Publication of CN110490605B publication Critical patent/CN110490605B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0029Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement being specially adapted for wireless interrogation of grouped or bundled articles tagged with wireless record carriers
    • 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
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products

Abstract

The invention relates to a block chain traceability-oriented supply chain data standardization system based on an ontology, which comprises a monitoring module, an ontology deployment module and a traceability module, wherein different representations of different manufacturers in a nationwide supply chain on an activity instance are standardized into a unified ontology representation by using an ontology model, so that the problem of data sharing caused by semantic diversity is solved; the method includes the steps that activity data in a supply chain are used as triggering conditions of intelligent contracts to record production activities in the supply chain, and after the intelligent contracts are executed, execution logs generated by a block chain can be utilized to synchronously construct a resource set evolution tree which is used for tracing any commodity rapidly, in real time and efficiently at any time.

Description

Ontology-based supply chain data standardization system oriented to blockchain tracing
Technical Field
The invention relates to a technology in the field of information processing, in particular to a supply chain data standardization system facing to block chain tracing based on an ontology.
Background
In the process of tracing the supply chain data with multiple parties, the tracing platform guarantees the credible exchange of the tracing data of the multiple parties, and the problems of non-uniform data standard and high difficulty in data sharing caused by inconsistent standards of tracing anti-counterfeiting systems of different products in different places are solved. Because the evolution of the resource set (commodities with the same attribute, which do not belong to the same resource set if manufactured by different manufacturers) is accompanied by the activities of the manufacturers in the supply chain, the tracing of any commodity in the supply chain can be realized by correctly and completely recording all production activities of all the manufacturers in the supply chain.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a ontology-based supply chain data standardization system facing to block chain tracing, which utilizes an ontology model to standardize different expressions of real-time activity data, namely activity examples, of different manufacturers in a national supply chain into a unified ontology expression so as to solve the problem of data sharing caused by semantic diversity; the method includes the steps that activity data in a supply chain are used as triggering conditions of intelligent contracts to record production activities in the supply chain, and after the intelligent contracts are executed, execution logs generated by a block chain can be utilized to synchronously construct a resource set evolution tree which is used for tracing any commodity rapidly, in real time and efficiently at any time.
The invention is realized by the following technical scheme:
the invention comprises the following steps: monitoring module, body deployment module and traceability module, wherein: the monitoring module collects historical activity data of the supply chain in advance by adopting RFID equipment, outputs the historical activity data to the ontology deployment module for constructing an ontology model of the supply chain, and sends an activity instance to the blockchain in real time when the intelligent contract monitors the supply chain; the ontology deployment module builds a supply chain ontology model according to the supply chain historical activity data and the partially multiplexed external supply chain ontology, rewrites the activity instance in the intelligent contract by using the supply chain ontology model, and sends the rewritten intelligent contract to the blockchain; when the intelligent contract monitors the supply chain, the blockchain converts the real-time activity instance from the monitoring module into an ontology expression by inquiring the association relation table and judges whether the triggering condition of the intelligent contract is the same as the ontology expression, so that the execution log is output to the tracing module after the intelligent contract is correspondingly executed; the tracing module marks the change of the resource set on the resource set evolution tree according to the sequence of the log in time, and constructs a tracing path tree from the resource set evolution tree according to tracing requirements.
The supply chain ontology model comprises: basic terms and relationships constituting the supply chain domain vocabulary and rules defining the supply chain domain vocabulary extension based on the basic terms and relationships.
The association relation table comprises: correspondence of the ontology representation of each production campaign and the various representations of the campaign instances. Wherein: an ontology representation corresponds to multiple representations of the activity instance.
The body expression refers to: abstract conceptual representations corresponding to active instances in the ontology model.
The intelligent contract refers to: and when the monitoring module converts the activity instance expression into an entity expression and sends the entity expression to the blockchain, namely, the two parties of the contract carry out the transaction formulated in the contract, the blockchain judges and correspondingly and automatically executes the transaction.
The rewriting means: namely replacing the active instance in the smart contract with the ontology expression.
The evolution process of the resource set along with the change of the resource set along with the time is reflected from the upstream to the downstream of the evolution tree of the resource set, the resource set on the evolution tree of the resource set is marked in the form of an ontology, the resource set on the evolution tree of the resource set uses the ontology expression, so that the data of all supply chain participants are integrated, along with the production activities of manufacturers in the supply chain, no matter whether the manufacturers consume the resource set or generate a new resource set, intelligent contracts formulated in advance are triggered, then the change of the resource set caused by the activities is synchronously marked on the evolution tree of the resource set, and when a specified commodity is traced, only the resource set related to the specified commodity is required to be picked from the evolution tree of the resource set, namely a tracing path tree.
When tracing the source of the appointed commodity, the ontology expression corresponding to the commodity is found in the ontology model, then the ontology expression is found on the resource set evolution tree, and all the upstream resource sets of the resource set are sources of the appointed commodity.
The tracing path tree is a tree formed by all upstream resource sets of specified commodities on the resource set evolution tree.
The invention relates to a body-based block chain tracing-oriented supply chain data standardization method, which is characterized in that activity data in a supply chain is used as triggering conditions of intelligent contracts, production activities in the supply chain are recorded, when production activity examples occur in the supply chain, execution contract contents are triggered and executed, intelligent contracts are recorded through the block chain, execution logs are triggered and executed, when all activities in the supply chain correspond to the corresponding intelligent contracts, any activity in the supply chain immediately triggers the contracts and timely reflects the contracts through the execution logs, and a resource set evolution tree is synchronously constructed by utilizing the logs, so that any commodity can be traced at any time.
The active examples in the intelligent contracts are rewritten by the ontology model, namely the active examples in the intelligent contracts are replaced by the ontology expression, and then the rewritten active part intelligent contracts are stored on the blockchain through diffusion verification; and recording all the activity examples corresponding to the body expression of the activity example in the body model through the association relation table.
The smart contracts with the activity parts replaced can be used by the blockchain to monitor the appointed activity in the supply chain in real time, namely, one smart contract can only monitor the appointed activity, and all smart contracts in the blockchain monitor all activity instances in the supply chain.
The supply chain generates a smart contract during operation, and the activity instance part of the smart contract is replaced by an entity expression and stored on the blockchain so as to monitor the activity instance in the supply chain.
Before each activity instance in the supply chain is transmitted to the blockchain through the RFID acquisition equipment of the monitoring module, the association relation table is queried to find out the body expression corresponding to the activity instance, then the body expression is transmitted to the blockchain, the blockchain searches whether the triggering condition of the intelligent contract is consistent with the body expression, and if so, the corresponding contract content is triggered.
And each time the blockchain generates an activity record, marking the change of the resource set caused by the activity on the resource set evolution tree immediately so as to synchronously construct the resource set evolution tree.
Technical effects
Compared with the prior art, the invention uses the ontology model to standardize different expressions of different manufacturers to entities in the cross-country supply chain into a unified ontology expression, so that all the data of all the parties in the cross-country supply chain can be used together, all the parties can trace the source by using the data, the source tracing in the cross-country supply chain is possible, and the application range of the source tracing in the cross-country supply chain is enlarged. The invention takes the activity data in the supply chain as the triggering condition of the intelligent contract to record the production activity in the supply chain, and can synchronously construct the resource set evolution tree by utilizing the execution log generated by the block chain after the intelligent contract is executed, thereby avoiding the need of manually traversing the data in the whole block chain for each commodity tracing when tracing in the prior art, sorting all the data in the block chain and improving the tracing efficiency of the supply chain.
Drawings
FIG. 1 is a schematic diagram of a method performed in modules;
FIG. 2 is a schematic diagram of building and establishing association relationship of an ontology model;
in the figure: a is a process of constructing an ontology model; b is a part of the constructed body model; c. d is a vendor activity instance; e is the ontology representation of the activity instance; f is the activity instance expression replaced by the body expression;
FIG. 3 is a block chain execution log based resource set evolution tree;
in the figure: a. b and c are vendor activity examples, d, e and f are ontology expressions corresponding to a, b and c, g is a resource set evolution tree constructed by d, e and f, and h is a commodity evolution tree constructed by a, b and c;
FIG. 4 is a trace-source path tree for constructing a resource set from a resource set evolution tree;
in the figure: a is a correct trace-source path tree obtained according to fig. 3 (g), and b is an incorrect trace-source path tree obtained according to fig. 3 (h).
Detailed Description
Referring to fig. 1, an ontology-based supply chain data standardization system for blockchain tracing includes: the system comprises a monitoring module, a body deployment module, a block chain and a tracing module, wherein before the intelligent contract monitors the supply chain, the monitoring module adopts an RFID technology to collect historical activity data of the supply chain and outputs the historical activity data to the body deployment module; the ontology deployment module constructs a supply chain ontology model of the field according to the historical activity data of the supply chain of the field and the partially multiplexed external supply chain ontology, rewrites an activity instance in the intelligent contract by using the supply chain ontology model, namely replaces a triggering condition by using an ontology expression in the ontology model; simultaneously, recording all activity examples corresponding to the body expression in the body model by using an association relation table; then sending the rewritten intelligent contract to a blockchain for storage; when the intelligent contract monitors the supply chain, the blockchain converts the activity instance sent by the monitoring module in real time into an ontology expression by inquiring the association relation table, and judges whether the triggering condition of the intelligent contract exists or not to be the same as the ontology expression; if yes, triggering the intelligent contract to execute and outputting an execution log to a tracing module; the traceability module marks the change of the resource set on the resource set evolution tree according to the sequence of the log in time, and constructs a traceability path tree from the resource set evolution tree according to traceability requirements from merchants or customers.
The monitoring module is RFID acquisition equipment, wherein: the RFID acquisition equipment is connected with the supply chain, the body model building unit of the body deployment module and the block chain, and inputs the activity data of the supply chain; before the intelligent contract monitors the supply chain, historical activity data is output to the building entity unit; when the intelligent contract monitors the supply chain, an activity instance is output to the Ethernet blockchain.
The body deployment module comprises: building an ontology model unit and a rewrite activity instance unit, wherein: the method comprises the steps of constructing an ontology model unit, connecting the ontology model unit with RFID acquisition equipment of a monitoring module, inputting historical activity data acquired by the RFID acquisition equipment, and outputting an ontology model in the field of supply chains by utilizing an external multiplexing ontology; the rewriting activity instance unit is connected with the supply chain and the blockchain, inputs intelligent contracts formulated by both contract parties in the supply chain, refers to the ontology model of the supply chain field, outputs the rewritten intelligent contracts to the blockchain, and simultaneously outputs the association relation table.
The block chain is an Ethernet block chain, the Ethernet block chain is used as a trusted platform to store files and ensure the credibility of the files, and intelligent contracts stored in the block chain are executed through triggering.
The block chain is respectively connected with the rewriting activity instance unit, the RFID acquisition equipment and the constructed resource set evolution tree unit, and before the intelligent contract monitors the supply chain, the intelligent contract rewritten by the rewriting activity instance unit is input; when the intelligent contract monitors the supply chain, the association relation table is inquired, the body expression of the activity instance acquired by the RFID acquisition equipment is input, and the execution log is output to the constructed resource set evolution tree unit.
The traceability module comprises: constructing a resource set evolution tree unit and a tracing path tree unit, wherein: the constructed resource set evolution tree unit is connected with the Ethernet block chain and the constructed tracing path tree unit. Inputting an Ethernet block chain execution log, and outputting a resource set evolution tree to a source tracing path tree constructing unit; and constructing a source tracing path tree unit, inputting a resource set evolution tree, and outputting the source tracing path tree. The tracing path tree is the tracing result and is fed back to the merchant or the customer.
The specific working process of the system of the embodiment is as follows:
as shown in fig. 1, a part of data is collected by a monitoring module as historical activity data of a supply chain, and is used for constructing a body model of a supply chain domain in a body deployment module, and then the body deployment module constructs the body model of the supply chain of the domain according to the historical activity data of the supply chain of the domain and the partially multiplexed external supply chain body (because of limitation of the historical activity data, in order to prevent the situation that the historical activity data is different from the historical data in the actual running process of the supply chain, the body of the supply chain domain existing outside the part needs to be multiplexed); after the domain ontology is built, all the active instances in the supply chain can find the corresponding ontology expressions in the domain ontology model.
As shown in fig. 2 (a), which shows the process of building an onto-model (the construction of onto-model is prior art, the present invention requires the use of a constructed onto-model), only a very small part is shown.
"factory a" is an entity of "vendor A", which is an entity.
"Wood1", "wood1" are entities of "resource set 1", and "resource set 1" is an ontology.
"Table 1" and "desk1" are entities of "resource set 2", and "resource set 2" is an ontology.
And so on.
An ontology model is a combination of these ontological representations and the relationships between them.
The final build onto-model is shown in fig. 2 (b), which shows a very small portion of the onto-model.
The ontology deployment module rewrites an activity instance (trigger condition) in the intelligent contract by using the ontology model, and records all other expression modes of the activity instance corresponding to the ontology expression of the activity instance in the ontology model by using the association relation table.
As shown in the second step of FIG. 1, an ontology model is used to obtain an ontology representation of an activity instance in an intelligent contract before the contract formulator sends the intelligent contract to the blockchain.
Replacing the activity instance in the smart contract with the ontology expression.
Fig. 2 (c), (d) show two examples where the manufacturer may represent production activities in different languages or acquisition devices.
Whatever language or RFID standard the manufacturer uses, it is meant that the manufacturer consumes a lot of wood to make a lot of tables and chairs, regardless of how the manufacturer represents his production activities, both of which represent the same production activities of the same manufacturer in fact.
The manufacturing process (active instance) will be written into the smart contract as a trigger condition.
The ontology found by the ontology model is shown in fig. 2 (e).
The ontology representation in fig. 2 (e) is described by RDF or other ontology language.
After finding, the active instance in the smart contract is replaced with the ontology expression.
As shown in fig. 2 (f), there are multiple expressions of activity, which are variable values, and these multiple expressions point to the same ontology expression in the ontology model.
Meanwhile, when the activity instance is rewritten, all other activity instances corresponding to the ontology expression in the ontology model need to be recorded in the association relation table.
In this table, the correspondence between the body representation of each production campaign and the various representations of the campaign instances is recorded, by which the campaign instances in the supply chain can find their corresponding body representations.
An ontology representation corresponds to multiple representations of the activity instance.
The body deployment module stores the replaced intelligent contracts into blocks of the block chain, and has the function of judging activities in the supply chain in real time.
At this point, the smart contract deployment is complete (more and more smart contracts are deployed in the subsequent process, all of which collectively monitor activity in the supply chain).
After the entity deployment module completes the deployment of the entity on the blockchain, the monitoring and the tracing of the supply chain can be started.
The blockchain judges and processes the supply chain activity examples collected by the monitoring module, and specifically comprises the following steps:
(1) Before the monitoring module transmits the active instance in the supply chain to the blockchain, the active instance expression is converted into the body expression by inquiring the association relation table and then transmitted to the blockchain.
The reason why the active instance is converted by adopting a table look-up mode instead of the conversion by adopting the ontology model is that the active instance in the supply chain is larger, the conversion efficiency by adopting the ontology model is low, and the tracing efficiency is influenced.
(2) The intelligent contracts periodically traverse the state machines, transactions, and trigger conditions contained within each contract on a piece-by-piece basis.
When an ontology representation of an activity is sent, the activity triggers the corresponding smart contract content if the activity is exactly the same as the trigger condition in a smart contract.
The triggered contract content is executed by the blockchain after being diffused, verified and consensus, and an execution log (the execution log contains the body expression of the activities, and the activities reflect the change of the resource set) is generated for subsequent tracing.
The source tracing module synchronously constructs a resource set evolution tree, and specifically comprises the following steps:
(1) The generated log is used for constructing a resource set evolution tree; as shown in fig. 3.
The logs are recorded in time sequence, so the resource set evolution tree is built gradually according to the time sequence of the logs.
Every time a log record is generated, the changes of the resource set are marked on the resource set evolution tree.
Therefore, the evolution process of the resource set changes along with time is reflected from upstream to downstream by the resource set evolution tree, and the resource set evolution tree is synchronously established and can be used for tracing the source in real time.
The resource sets on the resource set evolution tree are marked in the form of ontology, so that one resource set can be used by multiple manufacturers in multiple semantic modes, but finally all changes are uniquely reflected on the resource set.
For example, as shown in fig. 3, (a), (b), (c) represent three supply chain activity instances, (d), (e), (f) are their corresponding ontology expressions, respectively, in which: factory a and factory b produce respective goods using the same wood, but their representations of wood are different (because they come from different countries, respectively, using different languages, data collection standards, data storage structures), but the two representations refer to the same ontology (resource set 1) in the ontology model.
In addition, the merchandise they produce may be named the same name, e.g., all three factories produce a table and all refer to it as "table 1" and go to the blockchain, but in the ontology model, these two tables have different properties because they are produced by different manufacturers, so that different ontologies are used in the ontology model to represent them.
(h) The evolution tree is directly constructed by (a), (b) and (c), the ontology technology is not used, and (g) the evolution tree is constructed by (d), (e) and (f), and the ontology technology is used.
It can be seen that (h) only according to the difference in the designation, the same wood is recorded as two commodities; only according to the same designation, two kinds of substantially different commodities produced by two manufacturers are recorded as the same commodity ("table 1"), and (g) is recorded as the actual case.
The ontology model can distinguish the semantic ambiguity, integrates the data of all manufacturers, solves the problem of data sharing, and cannot cause recording errors during tracing.
Avoiding the difference of the semantic expressions which need to be manually translated during tracing in the prior art.
Therefore, the tracing time is saved, and the tracing efficiency of the supply chain is greatly improved.
(2) When the tracing demand exists, a tracing path tree is constructed according to the resource set evolution tree.
If the quality problem occurs in the table 1 produced by the designated factory c, after the table 1 is defined as a tracing target, finding the corresponding ontology in the ontology model to be expressed as a resource set 6, as shown in fig. 4 (a), the tracing path tree is a tree formed by all upstream resource sets of the resource set 6 on the resource set evolution tree, namely, all historical resource sets for producing the product.
It can be found that the problem of c is caused by using the resource set 5, and the resource set 5 is produced by the factory c, so that whether the factory c is the reason for causing the quality problem can be checked, if the production process of the factory c is found to be free of the problem after the check, the producer of the raw material used by the factory c is continuously traced back, and the responsibility is traced back from stage to stage.
Fig. 4 (b) is a trace-back problem that occurs when the ontology technique is not applied, and unless the data is translated uniformly by a human, semantic ambiguity can trace back responsibility to three factories producing "table 1" at the same time, and supply chain trace-back errors occur.
However, manual translation of a large amount of data in the supply chain is not practical in actual tracing because tracing is time-efficient. The resource set evolution tree is synchronously established when triggering and executing, so that the resource set evolution tree has the characteristic of real-time tracing by utilizing the resource set evolution tree; when the tracing is needed, the existing resource set evolution tree is directly utilized to construct a tracing path tree, so that the tracing path tree has the characteristic of rapidness; the method avoids manual translation of data and has the characteristic of high efficiency.
Through the process, on the basis of the previous method for tracing by using the blockchain, the data of all parties in the cross-country supply chain is converted into the unified ontology expression through the standardization of the ontology model, so that the semantic diversity is eliminated, and the problem of data sharing is solved. And automatically generating logs by using intelligent contracts, and constructing a resource set evolution tree which can be used by all parties for supply chain tracing. In the following tracing process, standard ontology expression is used, so that tracing can be fast, efficient and real-time.
The characteristics and effects of the invention are shown in the table 1 with similar results at home and abroad.
The foregoing embodiments may be partially modified in numerous ways by those skilled in the art without departing from the principles and spirit of the invention, the scope of which is defined in the claims and not by the foregoing embodiments, and all such implementations are within the scope of the invention.

Claims (1)

1. An ontology-based supply chain data standardization system for block chain tracing, comprising: monitoring module, body deployment module and traceability module, wherein: the monitoring module collects historical activity data of the supply chain in advance by adopting RFID equipment, outputs the historical activity data to the ontology deployment module for constructing an ontology model of the supply chain, and sends an activity instance to the blockchain in real time when the intelligent contract monitors the supply chain; the ontology deployment module builds a supply chain ontology model according to the supply chain historical activity data and the partially multiplexed external supply chain ontology, rewrites the activity instance in the intelligent contract by using the supply chain ontology model, and sends the rewritten intelligent contract to the blockchain; when the intelligent contract monitors the supply chain, the blockchain converts the real-time activity instance from the monitoring module into an ontology expression by inquiring the association relation table and judges whether the triggering condition of the intelligent contract is the same as the ontology expression, so that the execution log is output to the tracing module after the intelligent contract is correspondingly executed; the tracing module marks the change of the resource set on a resource set evolution tree according to the sequence of the log in time, and constructs a tracing path tree from the resource set evolution tree according to tracing requirements; the block chain is an Ethernet block chain, the Ethernet block chain is used as a trusted platform to store files and ensure the credibility of the files, and intelligent contracts stored in the block chain are executed by triggering;
the supply chain ontology model comprises: basic terms and relationships constituting the supply chain domain vocabulary and definition of rules specifying the supply chain domain vocabulary extension based on the basic terms and relationships;
the association relation table comprises: the corresponding relation between the body expression of each production activity and the multiple expressions of the activity instance, wherein one body expression corresponds to the multiple expressions of the activity instance;
the body expression refers to: abstract conceptual representations corresponding to active instances in the ontology model;
the intelligent contract refers to: the method comprises the steps that both contract sides in a supply chain make up and store in a blockchain, when a monitoring module converts an activity instance expression into an entity expression and sends the entity expression to the blockchain, namely, both contract sides make transactions made up in the contracts, the blockchain judges and correspondingly and automatically executes;
the rewriting means: replacing the activity instance in the smart contract with the ontology expression;
the monitoring module is RFID acquisition equipment, wherein: the RFID acquisition equipment is connected with the supply chain, the body model building unit of the body deployment module and the block chain, and inputs the activity data of the supply chain; before the intelligent contract monitors the supply chain, historical activity data is output to the building entity unit; when the intelligent contract monitors the supply chain, outputting an activity instance to the Ethernet block chain;
the body deployment module comprises: building an ontology model unit and a rewrite activity instance unit, wherein: the method comprises the steps of constructing an ontology model unit, connecting the ontology model unit with RFID acquisition equipment of a monitoring module, inputting historical activity data acquired by the RFID acquisition equipment, and outputting an ontology model in the field of supply chains by utilizing an external multiplexing ontology; the rewriting activity instance unit is connected with the supply chain and the blockchain, inputs intelligent contracts formulated by both contract parties in the supply chain, refers to the ontology model of the supply chain field, outputs the rewritten intelligent contracts to the blockchain, and simultaneously outputs an association relation table;
the block chain is respectively connected with the rewriting activity instance unit, the RFID acquisition equipment and the constructed resource set evolution tree unit, and before the intelligent contract monitors the supply chain, the intelligent contract rewritten by the rewriting activity instance unit is input; when the intelligent contract monitors the supply chain, inquiring the association relation table, inputting the body expression of the activity instance acquired by the RFID acquisition equipment, and outputting an execution log to the constructed resource set evolution tree unit;
the traceability module comprises: constructing a resource set evolution tree unit and a tracing path tree unit, wherein: the resource set evolution tree building unit is connected with the Ethernet block chain and the traceability path tree building unit; inputting an Ethernet block chain execution log, and outputting a resource set evolution tree to a source tracing path tree constructing unit; constructing a source tracing path tree unit, inputting a resource set evolution tree, and outputting the source tracing path tree; the tracing path tree is the tracing result and is fed back to the merchant or the customer;
the supply chain data standardization means that: recording production activities in a supply chain by taking activity data in the supply chain as triggering conditions of intelligent contracts, triggering and executing contract contents when production activity examples occur in the supply chain, recording intelligent contracts through a blockchain, triggering and executing logs, and when all activities in the supply chain correspond to the intelligent contracts, immediately triggering the contracts and timely reflecting any activities in the supply chain through the executing logs, and synchronously constructing a resource set evolution tree by utilizing the logs, thereby tracing any commodity at any time, and the method specifically comprises the following steps:
the method comprises the steps that firstly, data are collected through a monitoring module to serve as historical activity data of a supply chain, the historical activity data are used for constructing a body model of the field of the supply chain in a body deployment module, and then the body deployment module constructs the body model of the supply chain of the field according to the historical activity data of the supply chain of the field and the partially multiplexed external supply chain body; after the establishment of the domain ontology is completed, all the activity examples in the supply chain find corresponding ontology expressions in the domain ontology model;
the ontology deployment module rewrites an activity instance in the intelligent contract, namely a trigger condition by using the ontology model, and records all other expression modes of the activity instance corresponding to the ontology expression of the activity instance in the ontology model by using the association relation table;
secondly, before a contract maker sends the intelligent contract to a blockchain, an ontology model is needed to obtain an ontology expression of an activity instance in the intelligent contract, and the ontology expression is used to replace the activity instance in the intelligent contract;
when replacing the activity examples, recording all other activity examples corresponding to the body expression in the body model in the association relation table; in the table, recorded are the correspondence between the body expressions of the respective production activities and the various expressions of the activity instances, through which the activity instances in the supply chain can find their corresponding body expressions; an ontology representation corresponds to a plurality of representations of the activity instance;
the body deployment module stores the replaced intelligent contracts into blocks of a block chain, has the function of judging activities in a supply chain in real time, and completes intelligent contract deployment;
thirdly, after the body deployment module completes deployment of the body on the blockchain, monitoring and tracing of the supply chain are started, namely, the supply chain activity examples collected by the monitoring module are judged and processed through the blockchain, and a resource set evolution tree is synchronously constructed through the tracing module, and the method specifically comprises the following steps:
1) Before the monitoring module transmits the activity instance in the supply chain to the blockchain, the activity instance expression is converted into the body expression by inquiring the association relation table and then transmitted to the blockchain, wherein: the active instance is converted by adopting a table look-up mode;
2) The intelligent contracts periodically traverse the state machines, transactions, and trigger conditions contained within each contract one by one: when an entity expression of an activity is sent, if the activity is exactly the same as a triggering condition in a certain intelligent contract, the activity triggers corresponding intelligent contract content; the triggered contract content is executed by the blockchain after being diffused, verified and consensus, and an execution log is generated for subsequent tracing;
a) And using the generated log to construct a resource set evolution tree, wherein: the logs are recorded in time sequence, so that a resource set evolution tree is gradually built according to the time sequence of the logs; marking the change of the resource set on a resource set evolution tree every time a log record is generated; the resource sets on the resource set evolution tree are marked in the form of an ontology, one resource set can be used by a plurality of manufacturers in a plurality of semantic modes, and finally all changes can be uniquely reflected on the resource set;
b) When the tracing demand exists, a tracing path tree is constructed according to the resource set evolution tree.
CN201810456009.1A 2018-05-14 2018-05-14 Ontology-based supply chain data standardization system oriented to blockchain tracing Active CN110490605B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810456009.1A CN110490605B (en) 2018-05-14 2018-05-14 Ontology-based supply chain data standardization system oriented to blockchain tracing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810456009.1A CN110490605B (en) 2018-05-14 2018-05-14 Ontology-based supply chain data standardization system oriented to blockchain tracing

Publications (2)

Publication Number Publication Date
CN110490605A CN110490605A (en) 2019-11-22
CN110490605B true CN110490605B (en) 2023-12-01

Family

ID=68543867

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810456009.1A Active CN110490605B (en) 2018-05-14 2018-05-14 Ontology-based supply chain data standardization system oriented to blockchain tracing

Country Status (1)

Country Link
CN (1) CN110490605B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113222084B (en) * 2021-05-11 2022-07-08 支付宝(杭州)信息技术有限公司 Block chain-based date labeling and querying method and device
CN113762987A (en) * 2021-09-13 2021-12-07 内蒙古大学 Method and device for tracing agricultural and livestock products
CN115456541B (en) * 2022-09-23 2023-07-21 浙大城市学院 Supply chain management method and system for cross-border trade
CN116720643B (en) * 2023-06-26 2024-04-09 武汉金力软件有限公司 Intelligent management system based on supply chain

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117483A (en) * 2015-09-17 2015-12-02 浙江农林大学 Ontology-driven mass data event decision-making method
CN105608588A (en) * 2016-01-04 2016-05-25 布比(北京)网络技术有限公司 Tracing record processing method and apparatus
CN107122985A (en) * 2017-05-09 2017-09-01 广东工业大学 A kind of agricultural-product supply-chain traceability system based on Internet of Things and block chain
WO2017153495A1 (en) * 2016-03-08 2017-09-14 Appii Pty Ltd A system and method for creating a database of independently validated educational and work experience profiles (curricula vitae) using blockchain smart contracts
CN107909372A (en) * 2017-10-25 2018-04-13 复旦大学 A kind of agricultural product source tracing method based on block chain technology

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117483A (en) * 2015-09-17 2015-12-02 浙江农林大学 Ontology-driven mass data event decision-making method
CN105608588A (en) * 2016-01-04 2016-05-25 布比(北京)网络技术有限公司 Tracing record processing method and apparatus
WO2017153495A1 (en) * 2016-03-08 2017-09-14 Appii Pty Ltd A system and method for creating a database of independently validated educational and work experience profiles (curricula vitae) using blockchain smart contracts
CN107122985A (en) * 2017-05-09 2017-09-01 广东工业大学 A kind of agricultural-product supply-chain traceability system based on Internet of Things and block chain
CN107909372A (en) * 2017-10-25 2018-04-13 复旦大学 A kind of agricultural product source tracing method based on block chain technology

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于区块链基于区块链、智能合约和物联网的供应链原型系统;叶小榕等;《科技导报》;20171213(第23期);全文 *
基于本体的农产品供应链可追溯系统研究;吴素浓等;《湖北农业科学》;20110405(第07期);全文 *

Also Published As

Publication number Publication date
CN110490605A (en) 2019-11-22

Similar Documents

Publication Publication Date Title
CN110490605B (en) Ontology-based supply chain data standardization system oriented to blockchain tracing
CN107250932B (en) Programmable logic controller and semantic contextualization method therein
US20170316061A1 (en) Control apparatus of an automation system
CN102708410A (en) Network tracing system and network tracing method for non-staple food industrial chain
US10809708B2 (en) Generating events using contextual information on an intelligent programmable logic controller
Shafiq et al. Virtual engineering process (VEP): a knowledge representation approach for building bio-inspired distributed manufacturing DNA
CN101540013A (en) System and method for tracing quality data of all life cycle
CN106302680A (en) A kind of data based on Internet of Things display background system
CN113901135B (en) Cross-source heterogeneous data intelligent visual analysis display method and equipment
Löcklin et al. Data administration shell for data-science-driven development
CN113506117A (en) Aquatic product block chain traceability optimization system and method
CN104731953A (en) R-based building method of data preprocessing system
Friedemann et al. A framework for information-driven manufacturing
Stoop et al. Smart factory equipment integration through standardised OPC UA communication with companion specifications and equipment specific information models
Dombrowski et al. Knowledge graphs for an automated information provision in the factory planning
Hang et al. Towards mass individualized production: RAMI 4.0 asset data channelling for manufacturing value chain connectivity
EP4086787A1 (en) Artificial intelligence (ai) based data matching and alignment
Corallo et al. Processing Big Data in streaming for fault prediction: an industrial application
Solanki et al. Modelling and Linking transformations in EPCIS governing supply chain business processes
CN109144990A (en) A kind of power communication big data method for quality control based on metadata driven
Amoroso et al. Ontology-based Data Integration with MASTRO-I for Configuration and Data Management at SELEX Sistemi Integrati.
Al-Jumaili et al. eMaintenance ontologies and data production
CN110708351A (en) Data transmission method
Theissen-Lipp et al. Collecting data and metadata by transforming between differently expressive query languages
US11768896B1 (en) Virtual network analysis and exploitation

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