Call method between chip

A component and component identification technology, applied in the direction of multi-program device, program loading/starting, program control device, etc., can solve the problems of inability to cross operating systems, write a large number of codes, and achieve complex implementation, so as to reduce input and output operations, Easy to call, convenient and simple effect

Active Publication Date: 2006-09-20
BEIJING KINGSOFT OFFICE SOFTWARE INC
View PDF0 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At the same time, in order to form a unified component development and call specification on the Windows platform, to realize the communication between components and the call between components, Microsoft proposed the method of Component Object Model (COM, Component Object Model), but because of its calling mechanism, the A large amount of code needs to be written before the implementation of calls between components and components, clients and components, and the implementation is complicated; and, since COM components must be registered in the registry to obtain the component ID, the component is loaded by looking up the registry when calling, however, The registry exists only on the Windows platform, so components developed based on COM cannot be transplanted across operating systems

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
  • Call method between chip
  • Call method between chip

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] The invention relates to a method for calling between components. Its core lies in: whenever the executable program is loaded into the memory, it automatically loads all component information (component ID and function pointer to create the component) in the specified directory into a piece of shared memory created by the executable program, and calls a When creating a component, the component object is created according to the information stored in the component in the memory, so as to realize the function call of the component.

[0016] A preferred embodiment of the present invention is described below, the principle of this embodiment is: when a process starts, execution body DLL or EXE are loaded into internal memory, utilize the constructor of the global object of C++ programming language prior to C runtime library ( The principle of C-Runtime Library) is that in the constructor of a global object, the information group (component ID, component creation body) in th...

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 relates to an inter-component calling method, comprising: 1) establishing a fixed identification and a component establishing function for each component to establish a component interface; 2) a program is loaded into a preset shared memory and triggers to store the component identifications and the component establishing function into the shared memory; 3) a client component requests to call an object component, and the system finds identification of the object component to call the function to establish a component and returns an object component interface, and the client component implements function call according to the object component interface. The inter-component call does not depend on a specified operating system, thus making the method able to be implemented between operating platforms. And the inter-component call is relatively simple, raising software development efficiency.

Description

technical field [0001] The invention relates to a program execution method, in particular to a calling method between components in the program execution process. Background technique [0002] Application program: an executable file (Executable program) refers to a computer program developed to run on an operating system in order to complete a certain task or several specific tasks. It conforms to a certain format specified by the operating system and is stored in binary form, and the operating system is responsible for loading and running the program. [0003] Early programming did not have the idea of ​​components, and all functions were concentrated in one executable file. Today, applications are usually written by dividing them into multiple relatively independent components based on their functions. Each component is relatively independent, and the components call each other through the interface. When a functional requirement changes, on the premise of keeping the i...

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/445G06F9/46
Inventor 孙华庆周焱
Owner BEIJING KINGSOFT OFFICE SOFTWARE INC
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