# Cloud-Edge Collaboration-Based Knowledge Sharing Mechanism for Manufacturing Resources
## 3 System Realization
### Establishing the Semantic Model of Manufacturing Resources  
Intelligent manufacturing's physical resources include equipment used in a series of intermediate processes such as product processing, packaging, and transportation. The knowledge sharing realization requires organizing various links between manufacturing resources into a unified knowledge base to facilitate knowledge storage and recall. This section introduces the integrated ontology and semantic modeling of manufacturing resourcesThe manufacturing resources' ontology structure can be represented by a four-tuple {C, R, S, P} [20], where \(C\) is a set of ontological classes, \(R\) represents a set of relations between the ontological classes, \(S\) denotes a set of hierarchical relationships between classes (that is, the inheritance and realization of class relationships), and \(P\) is a set of other relationships between classes. Consider, for example, an ontology model \(O_{1}=\{(x_{1},x_{2},x_{3},x_{4}),\)\((r_{1},r_{2})\), \(((x_{1},x_{2}),\)\((x_{1},x_{3}),\)\((x_{3},x_{4})\)\(), \((r_{1},\)\((x_{2},x_{3});\)\(r_{2},\)\((x_{2},x_{4})\)\()\}\). Here, the classes involved are \(x_{1},x_{2},x_{3}\), and \(x_{4}\). According to the hierarchical relationship set, \(x_{2}\) and \(x_{3}\) are both subclasses of \(x_{1}\), while \(x_{4}\) is a subclass of \(x_{3}\). In addition to inheritance and implementation between classes, there are two other relationships, \(r_{1}\) and \(r_{2}\), of which \(r_{1}\) is the relationship between \(x_{2}\) and \(x_{3}\), and \(r_{2}\) is the relationship between \(x_{2}\) and \(x_{4}\).  
The central concept in the manufacturing resources' ontology is a manufacturing task, abstracted in accordance with the four-tuple definition. Based on this abstraction, the corresponding semantic model is constructed, as shown in Figure 3. The task-based ontology model _(Task-Based Knowledge, TBK)_ is defined as:  
\[\textit{TBK}=\textit{[Environment, Actions, PhysicalResources, ResultEvaluation]}, \tag{1}\]  
and comprises the manufacturing resource objects (_PhysicalResources_), environmental factors (_Environment_), execution actions (_Actions_), and effect evaluation (_ResultEvaluation_) involved in the execution process for conceptual refinement. The objects in the manufacturing process include raw materials and manufacturing resources. The attributes used include the equipment's name, number, physical size, capabilities, and the processing operations that can be performed. Environmental factors record the manufacturing task's processing environment, such as space, position, and the manufacturing process requirements regarding, for example, temperature, light, and air quality. The execution action module includes the action level classification, the action sequence combination, and the processing procedure record, thus covering the process's sequence information and state. Finally, the effect evaluation results from the previous executions using the  
Figure 2: System operation data flow.  
current knowledge and includes each action's execution time cost, product quality, and time consumed.