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

Method and system for acquiring intermodule function interface in program

A function interface and inter-module technology, applied in the direction of program control devices, etc., can solve the problems of inability to automatically extract, difficult to maintain the dynamic calling relationship of module function interfaces, and limited applicable scenarios, so as to achieve the effect of unlimited applicable scenarios.

Active Publication Date: 2013-04-03
ZTE CORP
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] When relying on the source code dependency extraction when compiling, it cannot be applied to the interface analysis of programs with incomplete source code;
[0011] Dynamic call relationships such as callback functions in the program can only be maintained through manual configuration and cannot be automatically extracted;
[0012] Due to the above shortcomings of the traditional method of obtaining task scheduling information, the analysis of module function interfaces has always had problems such as difficult maintenance of dynamic call relationships and limited applicable scenarios.

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
  • Method and system for acquiring intermodule function interface in program
  • Method and system for acquiring intermodule function interface in program
  • Method and system for acquiring intermodule function interface in program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0081] In order to make those skilled in the technical field of the present application understand the present invention more clearly, the technical solutions of the present invention will be described in detail below through specific embodiments in conjunction with the accompanying drawings.

[0082] Please refer to figure 1 , figure 2 , image 3 and Figure 4 The method for obtaining the function interface between modules in the program in Embodiment 1 of the present application includes the following steps:

[0083] In step 101, an executable program is statically scanned to generate an internal function static call IFSC relational file, an external function call EFC relational file, and an internal function dynamic call IFDC exit list file.

[0084] In the specific implementation process, the executable program is generated through the following steps: first compile the source code, and then insert the hook function of the function call, through this step, the code of ...

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 discloses a method and system for acquiring an intermodule function interface in a program. The method for acquiring the intermodule function interface in the program is used for automatically acquiring the intermodule function interface and comprises the following steps of: generating an IFSC (Internal Function Static Calling) relational file, an EFC (External Function Calling) relational file and an IFDC (Internal Function Dynamic Calling) export inventory file by statically scanning an executable program; generating an IFDC log file on the basis of the IFDC export inventory file in the process of operating the executable program; and acquiring an intermodule function call relational table on the basis of the EFC relational file, the IFSC relational file and the IFDC log file.

Description

technical field [0001] The invention relates to the module interface technology of large-scale software, in particular to a method and system for obtaining function interfaces between modules in a program. Background technique [0002] With the continuous development of computer technology and communication technology, users have higher and higher performance requirements for software systems, and software systems have also become larger and larger, and in the prior art, many large-scale software systems have been produced. [0003] In a large-scale software system, the program contains the interaction between several logic modules, and the interface between these logic modules will directly affect the module coupling relationship in the program architecture of the module, which has a great impact on the overall performance of the software system. . [0004] In addition to considering the interface between logic modules when designing the system architecture, it is also nec...

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 ZTE CORP
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More