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

Server-side multi-process management method

A process management, multi-process technology, applied in the field of server-side multi-process transcoding management based on JAVA, can solve problems such as downtime, complex logic, management and control of the life cycle of sub-threads, etc., to reduce downtime and avoid memory overflow , the effect of good management and maintenance

Pending Publication Date: 2021-11-23
YOZOSOFT
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] When performing some complex and time-consuming functions, the program is generally executed by creating a new thread. At this time, due to the complexity of the program execution logic, the parent thread cannot effectively manage and control the life cycle of the child thread, and the thread cannot be truly terminated. , and the multi-threading method cannot control the running status of the thread, and this situation is likely to cause memory overflow or downtime of the JVM virtual machine

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
  • Server-side multi-process management method
  • Server-side multi-process management method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0027] Aiming at the problems existing in the prior art, the present invention provides a method for server-side multi-process management, please refer to figure 1 , figure 1 It is a schematic diagram of the principle of the server multi-process management method of the present invention.

[0028] A method for server-side multi-process management, comprising:

[0029] The main process 10 of the system has a plurality of sub-processes 30 newly built in the process management pool 20, and the main process 10 is provided with a memory usage upper limit for the sub-processes 30,

[0030] The main process 10 has a timing function, and the timing function starts when the sub-process 30 calls, and the timing function is used to monitor the time when the sub-process 30 returns the call result to the main process 10;

[0031] The main process 10 has a process number, and the subprocess 30 created by the main process 10 regularly monitors the process number of the main process 10. If ...

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 server-side multi-process management method, which comprises the following steps that: a system host process newly creates a plurality of sub-processes in a process management pool, the host process sets a memory use upper limit value for the sub-processes, the host process has a timing function, the timing function is started when the sub-processes are called, and the timing function is used for monitoring the time of returning the calling result to the host process by the sub-process; and the main process has a process number, the sub-process created by the main process monitors the process number of the main process regularly, and if the process number does not exist, the sub-process automatically quits and is destroyed. By the adoption of the technical scheme, complete control over multiple program processes can be achieved, and the conditions of memory overflow, downtime and the like are avoided.

Description

technical field [0001] The invention relates to a method for multi-process management at the server end, in particular to a method for realizing multi-process transcoding management at the server end based on JAVA. Background technique [0002] When performing some complex and time-consuming functions, the program is generally executed by creating a new thread. At this time, due to the complexity of the program execution logic, it is impossible to effectively manage and control the life cycle of the child thread through the parent thread, and the thread cannot be truly terminated. , and the multi-threading method cannot control the thread running situation, and this situation is likely to cause memory overflow or downtime of the JVM virtual machine. [0003] Therefore, there is an urgent need to propose a new technical solution to solve the above problems, and to better manage and maintain multi-process programs. Contents of the invention [0004] The purpose of the prese...

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/455G06F9/48G06F11/30
CPCG06F9/45558G06F9/485G06F11/3051G06F2009/45583G06F2009/45562
Inventor 朱玮周峰倪中强
Owner YOZOSOFT