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

A method and system for relieving circular dependency of program modules

A program module and cyclic dependency technology, which is applied in program control design, instruments, electrical and digital data processing, etc., can solve the problems of large workload and high risk in releasing cyclic dependencies between modules, and achieve the effect of high safety and simple operation.

Inactive Publication Date: 2019-01-04
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a method and system for removing circular dependencies of program modules to solve the problems of heavy workload and high risk in the prior art of removing circular dependencies between modules

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
  • A method and system for relieving circular dependency of program modules
  • A method and system for relieving circular dependency of program modules
  • A method and system for relieving circular dependency of program modules

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to clearly illustrate the technical features of this solution, the present invention will be described in detail below through specific implementation modes and in conjunction with the accompanying drawings. The following disclosure provides many different embodiments or examples for implementing different structures of the present invention. To simplify the disclosure of the present invention, components and arrangements of specific examples are described below. Furthermore, the present invention may repeat reference numerals and / or letters in different instances. This repetition is for the purpose of simplicity and clarity and does not in itself indicate a relationship between the various embodiments and / or arrangements discussed. It should be noted that components illustrated in the figures are not necessarily drawn to scale. Descriptions of well-known components and processing techniques and processes are omitted herein to avoid unnecessarily limiting the...

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 embodiment of the invention discloses a method and a system for relieving the circular dependency of a program module. The program module comprises a dependency module and a dependency module, thedependency module comprises a function B, the dependency module comprises a function D, the function D dependency function B, when the dependency module is loaded, the pointer of the function B is saved into the dependency module. The invention saves the pointer of the dependent function in the dependent module in the dependent module. When the dependent function of the dependent module is called, the pointer of the dependent function is directly obtained from the module, and the circular calling problem between the dependent module and the dependent module is solved, so that the programmingbetween the modules and the operation of the service can be smoothly carried out.

Description

technical field [0001] The present invention relates to the technical field of computer software, in particular to a method and system for releasing program module circular dependencies. Background technique [0002] In the actual scenario of modular programming, the need for circular dependencies often occurs due to the high logical coupling between modules. Circular dependencies between modules will cause the order of modules to be uncertain during compilation, and eventually the program cannot be compiled or used. [0003] The emergence of circular dependencies between modules is often considered to be unreasonable granularity of module division, or incorrect management between modules. But in fact, with the increase and improvement of program business, the need for cross-references between modules often appears. For such unavoidable cross-references, the common solution is to merge modules, or further split the involved modules, but these operations are often accompani...

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/30
CPCG06F9/30065
Inventor 王唯融
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD