Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Business object persistence processing method based on dynamic labels

A technology of business objects and processing methods, applied in the direction of program control devices, etc., can solve the problem of repeated development work, etc., and achieve the effects of versatility, improvement of development efficiency, and reduction of complexity

Active Publication Date: 2013-01-02
CASCO SIGNAL
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the business objects are persistent, and there are many repeated development tasks. How to effectively improve its development efficiency is a problem worth studying.

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
  • Business object persistence processing method based on dynamic labels
  • Business object persistence processing method based on dynamic labels
  • Business object persistence processing method based on dynamic labels

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] like figure 2 As shown, this method mainly realizes the mapping between business object c and database data d through a data persistence engine a, and the system runs on any server installed with JVM or .NET platform b, independent of the operating system and other components library impact. In addition, the data persistence engine a is developed based on POJOs, calling the native API functions of JDK or .NET platform, so that it does not depend on any other containers or components. There are many forms of data persistence, such as: database storage method, file storage method, etc.

[0030] Taking commonly used database storage as an example, the implementation of this method is introduced in detail.

[0031] First, if image 3 As shown, the persistence engine a needs to obtain the mapping relationship between the business object c and the database data d.

[0032] These mapping relationships include: mapping from class names to database table names (or view name...

Embodiment 2

[0047] This method has been applied in the subway signal maintenance support system of Shanghai Line 10. The main functions of the system include equipment status collection, alarm information management, maintenance work management and statistical analysis.

[0048] The subway signal maintenance support system is developed based on JAVA and uses Oracle database to save system data.

[0049] By binding the background data object and the persistent object, the operation methods such as adding, deleting and modifying the business object are automatically realized;

[0050] Judging from the development progress of the system, after using the inventive method, the programming complexity is greatly reduced, the development efficiency is greatly improved, and developers basically do not need to spend time on data persistence; on the other hand, due to the use of buffer Pool technology, except that the execution efficiency is slower than the traditional method (persistence layer hard...

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

The invention relates to a business object persistence processing method based on dynamic labels. The method comprises the following steps: 1) calling a persistence engine by a business object and activating the persistence engine; 2) obtaining full names of a business logic class by the persistence engine; 3) searching whether business logic class names have mapping relationship in buffer by thepersistence engine, and executing a step 4) if the mapping relationship exists, otherwise going to a step 5); 4) obtaining the mapping relationship in a buffer area by the persistence engine and going to a step 8); 5) calculating the mapping relationship of the business logic class name by mapping the dynamic labels, judging whether the calculation is successful, if so, executing a step 6), and if not, going to a step 7); and 6) storing the mapping relationship of the business logic class name in the buffer and going to the step 8). Compared with the prior art, the invention has the advantages of improving the execution efficiency of development, debugging and unit test.

Description

technical field [0001] The invention relates to a business object persistence method, in particular to a dynamic label-based business object persistence processing method. Background technique [0002] Due to the advantages of B / S (Browser-Server, browser server mode) architecture software, which does not need to deploy clients, has low maintenance costs, and is platform-independent, its application scope is getting wider and wider. [0003] B / S architecture software is generally developed according to the three-layer model of MVC (MODEL business layer, VIEW view layer, CONTROLLER control layer). Among them, the business layer generally uses an object-oriented (OO) programming language, such as JAVA, .NET and other programming languages, uses classes (classes), objects (objects) to define entity objects, and performs object processing and persistence. [0004] The business objects are persistent, and there are many repeated development tasks. How to effectively improve the ...

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/44
Inventor 张立鹏周庭梁
Owner CASCO SIGNAL
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products