Unlock instant, AI-driven research and patent intelligence for your innovation.

Persistence device and method for a domain object model

A technology of domain object model and domain object, which is applied in the field of persistent device of domain object model, can solve the problems of extended attribute conflict, low practicability, flooding, etc., and achieve the goal of improving feasibility and practicability, simplifying operation and avoiding adjustment Effect

Active Publication Date: 2017-07-07
HUAWEI TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the current mainstream data persistence framework can only persist for the general domain object model, and for the persistence of the extended attribute of the domain object model, it is necessary to force the domain software platform to adjust itself to adapt to the differentiated requirements of different business software systems. Causes the reverse dependence of the platform on the business software system, and when a field software platform supports multiple business software systems, it causes conflicts and flooding of extended attributes
In this way, when the business software system persists the extended attributes of the domain object model, the operation is complicated and the feasibility and practicability are low

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Persistence device and method for a domain object model
  • Persistence device and method for a domain object model
  • Persistence device and method for a domain object model

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0048] An embodiment of the present invention provides a domain object model persistence device 00, such as figure 1 As shown, the device 00 includes:

[0049] Acquisition unit 001, processing unit 002, storage unit 003.

[0050] Specifically, the acquiring unit 001 is configured to acquire a domain object, a class definition and an extended model definition corresponding to the domain object; the domain object includes at least one extended attribute, and th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Embodiments of the present invention provide a domain object model persistence device and method, which relate to the computer field. A method for persisting the extended attributes of the domain object model is provided, which simplifies the operation of persisting the extended attributes of the domain object model, and improves the feasibility and practicability. The method is: by obtaining the domain object and the class definition and extended model definition corresponding to the domain object, according to the extended model definition and the extended attribute container in the class definition, determine the column name and column value corresponding to each extended attribute in the domain object, and generate the extended column Information; further according to the type of the target database, determine the storage strategy, and combine the storage strategy to send the extended column information to the target database for storage. The embodiments of the present invention are used to persist the extended attributes of the domain object model.

Description

technical field [0001] The invention relates to the computer field, in particular to a persistent device and method for a domain object model. Background technique [0002] Data persistence, that is, saving data (such as objects in memory) to storage devices that can be stored permanently (such as disks). The main application is to store data in memory in databases or disk files, XML data files, etc.; The domain object model, that is, the model of domain objects, can be regarded as a conceptual model of a system, which is used to define the various entities in the system and the relationship between them, record the key concepts and vocabulary in a system, and define their respective attributes. [0003] At present, domain software platforms often need to provide general domain capability support for different business software systems in similar domains. Taking the personnel management platform as a domain software platform as an example, it can be used to support library ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/44G06F17/30
Inventor 尹晨辉
Owner HUAWEI TECH CO LTD