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

Dependency relationship generation method and device

A dependency generation device technology, which is applied in the field of data processing, can solve the problem of low generation efficiency of dependency relations, and achieve the effect of improving generation efficiency and saving time

Active Publication Date: 2019-09-20
WEICHAI POWER CO LTD
View PDF16 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the purpose of this application is to provide a method and device for generating dependencies, which are used to solve the problem of low generation efficiency of dependencies in the prior art

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
  • Dependency relationship generation method and device
  • Dependency relationship generation method and device
  • Dependency relationship generation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0046] The embodiment of the present application provides a method for generating dependencies, which is used to determine the dependencies between variables and functions in a code module, so as to facilitate code expansion and verification based on the determined dependencies, and avoid compilation errors.

[0047] Taking project development as an e...

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 dependency relationship generation method and device. The method comprises the following steps of: obtaining a user-defined variable, a user-defined function, a reference variable and a reference function of an object file from a symbol table of the object file; generating a variable dependency relationship based on the obtained user-defined variable and the reference variable, generating a function dependency relationship based on the obtained user-defined function and the reference function, and finally generating a dependency relationship among files based on the variable dependency relationship and the function dependency relationship. The method has the advantages that variables and functions do not need to be matched in all code modules, the code modules with the function dependency relationship and the variable dependency relationship are determined according to the matching result, and therefore the dependency relationship is generated, time needed in the matching process is saved, and the dependency relationship generation efficiency is improved.

Description

technical field [0001] The present application belongs to the technical field of data processing, and in particular relates to a method and device for generating dependency relationships. Background technique [0002] When checking the code, it is necessary to determine the dependencies between variables and functions in different code modules in the environment. [0003] The existing method to obtain variable and function dependencies is: detect all custom variables and functions in the environment, match the custom variables and functions in the whole environment, and determine the referenced variables or functions according to the matching results location and identify the code module that references the custom variable or function. [0004] Due to the need to match custom variables and functions in the environment, and with the development of the program, more and more code modules are included in the environment, and it takes a long time to match custom variables and f...

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): G06F8/41
CPCG06F8/433
Inventor 许晓梦李峰刘硕何晓明宋炳雨
Owner WEICHAI POWER CO LTD