Research and Implementation of Ocl-Based Product Configuration Engine
|School||Hebei University of Technology|
|Course||Applied Computer Technology|
|Keywords||mass customization product configuration configuration engine product configuration model Consistency verification|
Mass Customization becomes the trend of modern enterprise, production configuration (PC) is the core technology of achieving mass customization, and configuration engine is the key to achieve PC. Most PC systems we are using now are configuration for a specific product. In this thesis, OCL is used to describe the constraint information of PC, and to develop a common configuration engine.PC includes PC knowledge representation and reasoning to solve configuration problems. As product structure is increasingly complex and customer demands are more and more personalized, it brings a lot of inconvenience for PC knowledge representation, modeling method based on the generic product structure tree can rapidly and accurately represent PC knowledge. In this thesis, UML is used to build the PC model, and OCL is used to describe the constraints relationship between components. Because OCL is a declarative language and cannot be directly executed, so OCL lexical analysis and syntactic analysis program written according to the OCL grammar can make sure the legitimacy of the OCL expression. The constraint validation of OCL expression is the process of reasoning to solve configuration problems. Since the OCL is based on the predicate logic, we need to first transform OCL into first-order predicate and then during the constraint validation. This thesis provides a kind of transformation method based on semantic analysis.When the product structure is complex, the constraints between components will be very complex, it is crucial to ensure consistency between constraint rules between components in the model and all component instantiated. In order to solve this problem, this thesis introduces model consistency validation, and gives the specific algorithm of model consistency.On the basis of the above theory, we use C # as developing language, SQL Server 2000 as database to achieve the product configuration system. The practical application proves the feasibility and reliability of the algorithm in this thesis.