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

Distributed element dependent relationship managing method based on dependent injection

A management method and dependency injection technology, applied in the field of component dependency management in distributed component systems, can solve problems such as low efficiency, inability to apply distributed component systems, and no distributed dependency management solutions to achieve enhanced System flexibility and load reduction effect

Inactive Publication Date: 2008-08-27
NO 709 RES INST OF CHINA SHIPBUILDING IND CORP
View PDF0 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

These frameworks all have following defects: the one, mostly adopt virtual machine language (Java etc.) and dynamic language implementation (JavaScript etc.) to implement, do not adopt C / C++ language, the efficiency of operation is not high; Dependency injection of objects cannot be applied to distributed component systems
[0005] To sum up, although there are a large number of dependency injection solutions in the industry, they are all based on local dependency management between objects, and there is no distributed dependency management solution based on component systems.

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
  • Distributed element dependent relationship managing method based on dependent injection
  • Distributed element dependent relationship managing method based on dependent injection
  • Distributed element dependent relationship managing method based on dependent injection

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] Below in conjunction with accompanying drawing, specific embodiment of the present invention is described further:

[0021] (1) The implementation of the extension of the CORBA object model, such as figure 1 As shown, the steps are as follows:

[0022] ①Define a new component object base class CompRoot, see the interface method figure 2 As shown, it mainly includes life cycle management methods and dependency management methods;

[0023] ②Life cycle management method-provides a callback interface for the container to perform component state transitions, including 4 types of state operations (loading, activation, deactivation, and unloading). Component implementation can implement resource allocation during state transitions by rewriting these methods, Recycling, etc.

[0024] ③Dependency relationship management method-provide the injection point for the container to perform dependency injection. The set_complive method passes the valid object reference of the depend...

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 present invention provides a distributed component dependency management method based on dependency injection, belonging to the software component-based technical field. The method comprises the steps as follows: 1) the expansion of CORBA object model; forming a lightweight CORBA component model by defining four states of the component, a dependence injection interface and describing configuration files; 2) the implementing of a component container; implementing a lightweight CORBA component container based on the modification of the core of CORBA ORB; 3) the node management framework of the distributed system; dividing all nodes in a distributed system network to a domain management node and a plurality of non-domain management nodes; with the cooperation of the domain management service and the node management service, realizing the injection management of the distributed dependence among components. The method manages the dependence of the distributed component in a declaration manner rather than in a programming manner. The load of component developers is alleviated, and the flexibility of the system is improved.

Description

technical field [0001] The invention relates to the technical field of software componentization, in particular to a method for managing component dependencies in a distributed componentization system. Background technique [0002] A component is a software entity that can be reused at each stage of the software life cycle. It can be configured and deployed independently, has good encapsulation independence and clearly defined interfaces, and is strictly separated from the running context and other components. The software system developed by component technology can not only effectively improve the developer's efficiency and reduce the developer's cost, but also make the constructed system have good scalability and maintainability. At present, the software development technology based on component technology has been widely concerned by the industry, and has become the mainstream method of software development. [0003] In a traditional structured application system, the e...

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
IPC IPC(8): G06F9/44
Inventor 赵恒陈靖曹万华黄志刚龚昌明向慧岳惠民姚兵
Owner NO 709 RES INST OF CHINA SHIPBUILDING IND CORP
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