Method for implementing event call-back based on component interface in computer software system

A software system and computer technology, which is applied in the field of event callback based on component interfaces in computer software systems, can solve problems such as lack of type safety, increase duplication of labor, increase occurrence of loopholes, etc., achieve stable and reliable work performance, and simple and convenient implementation process , a wide range of effects

Inactive Publication Date: 2008-06-11
上海科泰华捷科技有限公司
View PDF0 Cites 35 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in the prior art, the usual Windows message callback model is completely process-oriented, and the sender decides who to send to, while the receiver can only silently receive and process all messages or even junk messages; at the same time, the sender Sending a message and processing the message at the receiving end require the user to write a large amount of implementation code, which increases duplication of labor, increases th...

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 for implementing event call-back based on component interface in computer software system
  • Method for implementing event call-back based on component interface in computer software system
  • Method for implementing event call-back based on component interface in computer software system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] In order to understand the technical content of the present invention more clearly, the following examples are given in detail.

[0041] Please refer to Fig. 1 to Fig. 4, the method for realizing event callback based on the component interface in the computer software system, the system includes a server and a client, and the method includes the following steps:

[0042] (1) The system generates the definition information of the callback interface of the target component class and the event method in the callback interface on the server side according to the user's input;

[0043] (2) The system generates callback function definition information corresponding to the event method in the callback interface of the target component class on the client side according to the user's input, and the interface parameters of the callback function include the callback function in the callback interface of the target component class. The interface parameter of the event method and t...

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 a method of realizing event callback based on a component interface in a computer software system, which comprises that: a definition information of a callback interface and an event method in the callback interface of target component class is generated at service end, a callback function definition information corresponding to the event method in the callback interface of the component class is generated at client end, an object example of the target component class is established at service end, a correlation registration processing operation is carried through between the callback event of the object example of the target class at service end and the callback function at client end, the backcall event is excitated and the callback function registered in correlation with the callback event is called according to the operation of the object example of the target component class. By adopting the method of realizing event callback based on the component interface in the computer software system, the invention has simple and convenient realization, flexible operation, powerful function, stable and reliable performance and relatively wide application scope, as well as establishes a steady basis to the further development of the computer component software system.

Description

technical field [0001] The invention relates to the technical field of computer software, in particular to the technical field of computer componentized software systems, and specifically refers to a method for implementing event callback based on component interfaces in a computer software system. Background technique [0002] In the development of modern computer software technology, the callback function is a very useful programming mechanism, which has been in the field of programming for many years. Program developers can use this mechanism to compile various applications. Powerful, yet very flexible, and easy to implement. [0003] However, in the prior art, the usual Windows message callback model is completely process-oriented, and the sender decides who to send to, while the receiver can only silently receive and process all messages or even junk messages; at the same time, the sender Sending a message and processing the message at the receiving end require the use...

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 上海科泰华捷科技有限公司
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