Semantic-based model-as-a-service implementation method
The invention provides a semantic-based model as a service implementation method, which comprises the following steps of: compiling model data such as a domain model, a class model, a class attribute, a class method, an association relationship, a reference relationship and the like according to a t...
Gespeichert in:
Hauptverfasser: | , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides a semantic-based model as a service implementation method, which comprises the following steps of: compiling model data such as a domain model, a class model, a class attribute, a class method, an association relationship, a reference relationship and the like according to a template by taking a domain as a unit through a domain compiling function provided by a system to generate a model script file conforming to JavaScript language grammar; and when the system is started, the model script file is loaded into the system and is used by other modules in the system in a service form. According to the method, rapid conversion between the data model and the software code is achieved, the software development period is greatly shortened, a generation template of domain, class, incidence relation and reference relation script codes is stipulated, and convenience is provided for model code conversion.
本发明提出了一种基于语义的模型即服务实现方法,以域为单位,通过系统提供的域编译功能,将域模型、类模型、类属性、类方法、关联关系、引用关系等模型数据按照模板编译生成符合JavaScript语 |
---|