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

Component managing method and device

A component management and component technology, applied in the direction of program control devices, etc., can solve the problems of large global variable data and reduce component encapsulation

Inactive Publication Date: 2017-01-04
ZTE CORP
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method reduces the encapsulation of the component because the internal implementation of the component provides too much global variable data to the outside world.

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
  • Component managing method and device
  • Component managing method and device
  • Component managing method and device

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0023] figure 1 It is a schematic structural diagram of the component management device provided in the first embodiment of the present invention, which is represented by figure 1 It can be seen that in this embodiment, the component management device 1 provided by the present invention includes:

[0024] Setting module 11, used to define the basic component interface of all components;

[0025] The management module 12 is configured to manage components using the basic component interface.

[0026] In some embodiments, the management module 12 in the above embodiments is used to build a component tree, and the control component is registered to the component tree by using the basic component interface.

[0027] In some embodiments, the components in the above-mentioned embodiments include LIB components and Module components, and the basic component interface includes a component registration interface CO_Create and a component loading interface CO_LoadModules; the manageme...

no. 2 example

[0031] figure 2 The flow chart of the component management method provided by the second embodiment of the present invention is represented by figure 2 It can be seen that, in this embodiment, the component management method provided by the present invention includes the following steps:

[0032] S201: Define basic component interfaces of all components;

[0033] S202: Utilize the basic component interface to manage components.

[0034] In some embodiments, managing components by using the basic component interface in the above embodiment includes: establishing a component tree, and registering the control component to the component tree by using the basic component interface.

[0035] In some embodiments, the components in the above embodiments include LIB components and Module components, and the basic component interface includes a component registration interface CO_Create and a component loading interface CO_LoadModules; the control component registration to the compo...

no. 3 example

[0040] image 3 It is a flow chart of the component management method provided by the third embodiment of the present invention, which is represented by image 3 It can be seen that, in this embodiment, the component management method provided by the present invention includes the following steps:

[0041] S301: Define component types, basic component interfaces, and basic functions;

[0042] The component management device defines and provides a set of basic component interfaces, and the device implementation should use the basic component interfaces provided by the component management device to complete the required functions to shield the internal implementation differences of the components

[0043] According to the idea of ​​independent delivery, the component management device divides the components and software interface expressions in the device into the following levels: software package (LIB), software module (module), interface (interface) and function (function)....

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 provides a component managing method and device so as to improve encapsulation of components. The component managing method comprises the following steps of defining basic component interfaces of all the components; and utilizing the basic component interfaces to manage the components. By implementing the embodiment of the invention, the unified basic component interfaces are supplied to uniformly manage register / calling and the like of component elements in different types in the components, when a member function defined in a target interface is used across the components, whether the component in which the function is located is loaded does not need to be concerned, and normal maintenance of a device code can be ensured; and modification of an internal function of each component is finished in each component, definition to a component external interface and calling of functions among the components are not influenced when no change occurs on inputting and outputting parameters, and therefore, the encapsulation of internal change in a single component is ensured.

Description

technical field [0001] The invention relates to the field of code module management, in particular to a component management method and device. Background technique [0002] In the current communication field, facing the current situation of many projects and many software function modules, how to maximize code sharing while ensuring the encapsulation, reusability and external independent delivery requirements of the modules is the key to reducing project management costs and improving code quality. problem to be solved. [0003] The methods adopted in the prior art include: 1) defining the global variable array of the top-level initialization registration table, the module registration table and the module family registration table; 2) traversing the top-level initialization registration table to complete the top-level initialization; 3) completing the scheduling initialization: according to the module family The registration table completes the module public message proce...

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 Applications(China)
IPC IPC(8): G06F9/44
Inventor 周雅琴
Owner ZTE 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