Function calling method and device

A function call and function call technology, applied in the field of data processing, can solve problems such as difficulty, complex analysis process, low function call efficiency, etc., to achieve the effect of improving call efficiency

Active Publication Date: 2017-10-24
AGRICULTURAL BANK OF CHINA +1
View PDF16 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Because the interface information of different functions is different, it is necessary to analyze the interface information of each function separately in the prior art. In addition, the parameter transfer modes of different functions are also different, reflecting the different for...

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
  • Function calling method and device
  • Function calling method and device
  • Function calling method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the 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.

[0052] Since the function calling method in the prior art is based on the software application layer, different functions have different interface information, so the interface information of each function needs to be analyzed separately to complete the call of each function.

[0053] In addition, the parameter transfer modes of different functions are also different, which reflects the different forms of stacking. Perhaps in order to improve efficiency, some registers will be used f...

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 function calling method and device. The method comprises the steps of compiling a source file of a function to be called into a binary file including a data section, a code section and a file header, wherein the file header is used for storing position information of the data section and the code section; loading the data section, the code section and the file header into a memory, and recording the address of the memory; building a virtual stack by utilizing a program pointer register, and allotting memories to the virtual stack; writing parameters of the function to be called into the virtual stack in a binary stream mode so as to call the parameters from the virtual stack when the function to be called runs; according to the address of the memory, calling the function to be called by calling a preset universal functional interface and utilizing the virtual stack. According to the universal function calling method, functions can be called automatically, the function calling efficiency is improved, and operation personnel do not need knowledge of computer programming.

Description

technical field [0001] The invention relates to the field of data processing, in particular to a function calling method and device. Background technique [0002] In high-level language programming, in order to implement function calls, it is necessary to analyze the interface information of the function, specifically including the parameter type, parameter stacking direction, parameter transfer mode, etc. After completing the analysis of the interface information, design the corresponding function Call the module. [0003] Since the interface information of different functions is generally different, the function calling method in the prior art needs to analyze the interface information for each function, and design a targeted calling module respectively. Because the interface information of different functions is different, it is necessary to analyze the interface information of each function separately in the prior art. In addition, the parameter transfer modes of differ...

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
CPCG06F8/31
Inventor 朱浩张虎曹新平
Owner AGRICULTURAL BANK OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products