Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Progress invoking method of shared windows

A calling method and process technology, applied in the computer field, can solve problems such as mutual influence and the failure of the entire task to run normally, and achieve the effects of easy maintenance, improved operating efficiency, and low coupling

Active Publication Date: 2009-07-15
TENCENT TECH (SHENZHEN) CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The present invention provides a method for multiple tasks to share one window, which is used to solve the problem in the prior art that the processes of subtasks in a task affect each other, and the collapse of one of the subtasks will cause the entire task to not run normally

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
  • Progress invoking method of shared windows

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The present invention provides a method for multiple task processes to share one window. In the method, one task is firstly divided into multiple subtasks, and each subtask has independent functions. During the execution of this task, when running a subtask, the subtask process calls another subtask, and passes its own window parameters to the called subtask process; when the called subtask process creates its own window, According to the received window parameters, designate its corresponding window as the parent window.

[0024] see figure 1 , is a schematic flow chart of a plurality of task processes sharing a window in the present invention, and the specific steps include:

[0025] S10. Divide a task into a plurality of subtasks whose functions are independent from each other according to various subfunctions of a task.

[0026] When dividing subtasks, set the calling relationship and calling method between each subtask. The calling relationship determines which ...

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 for calling a shared window process, which includes: dividing the task into a plurality of subtasks with independent functions according to each subfunction of the task; when one of the subtasks is running, the subtask process calls other subtasks, and pass their own window handle to the called subtask; when the called subtask is running, its process will create the window of the process calling the subtask as its parent window according to the received window handle own window. By adopting the method of the invention, the coupling degree of the system can be reduced, and when the process of a subtask crashes, it will not affect the execution of the whole task, thereby improving the operating efficiency of the system.

Description

technical field [0001] The invention relates to the field of computers, in particular to a process call method for a shared window. Background technique [0002] In the field of computer applications, the program code to achieve a certain task is compiled into an executable file, and each executable file runs in a different space in the memory, called a process. [0003] At present, in the field of computer applications, one executable file is usually compiled for one task, and multiple subtasks included in the task can be completed by executing the file. There may be functional overlap between multiple subtask modules, that is, some functions of multiple subtask modules are the same. At this time, the shared codes of the multiple subtask modules that complete the same function are encapsulated into functions, and compiled into a dynamic link library (Dynamic Link Library, DLL) file. When a certain subtask needs to implement a common function, call the DLL file. When the ...

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 Patents(China)
IPC IPC(8): G06F9/46
Inventor 张庆
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products