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

Method and device for managing process states, method and device for judging task completion and equipment

A process state and management method technology, applied in the computer field, can solve problems such as difficulty in accurately determining the relationship between processes, broken parent-child relationship chain, and misjudgment of task completion.

Active Publication Date: 2016-12-14
ZHUHAI BAOQU TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, it may be that the parent-child relationship chain between process A and C is broken because process B has exited before A exits.
This will make it difficult to accurately determine the relationship between processes, and easily lead to misjudgment of whether the task is completed

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 and device for managing process states, method and device for judging task completion and equipment
  • Method and device for managing process states, method and device for judging task completion and equipment
  • Method and device for managing process states, method and device for judging task completion and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.

[0056] The process state management method, task completion judging method, device and electronic device according to the embodiments of the present invention will be described below with reference to the accompanying drawings.

[0057] figure 1 It is a flowchart of a process state management method according to an embodiment of the present invention.

[0058] Such as figure 1 As shown, the process state management method according to the embodiment of the present invention includes the following steps:

[0059] S101. Obtain a...

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 and a device for managing process states, a method and a device for judging task completion and electronic equipment. The method for managing the process states includes acquiring first queues and second queues corresponding to first-order parent processes; acquiring process list snapshots and judging whether previous-order parent processes of target processes in the process list snapshots are available in the first queues or the second queues; judging whether the target processes are new child processes generated by the first-order parent processes or not according to processes stored in the first queues if the previous-order parent processes of the target processes are available in the first queues or the second queues; adding the target processes to the first queues if the target processes are the new child processes generated by the first-order parent processes. The first queues are used for storing child processes generated by the currently running first-order parent processes, and the second queues are used for storing child processes generated by the withdrawn first-order parent processes. The methods, the devices and the electronic equipment in an embodiment of the invention have the advantages that the integrity of parent-child relationship chains of the task processes can be guaranteed, and parent-child relationships between the processes can be determined.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a process state management method, a task completion judging method, device and electronic equipment. Background technique [0002] During the execution of the task, multiple processes need to be created to complete it. For example, when a task is created, a parent process A is created, and during task execution, process A generates process B, and process B generates process C. Among them, process A is the parent process of process B, process B is the process C is the parent process, process A is the process C is the indirect parent process, and forms a parent-child relationship chain between processes. When process A and its sub-processes (including direct sub-processes and indirect sub-processes) all exit, it can be considered that task execution is completed. [0003] However, at present, it is generally to wait for the exit of the parent process A, and then go to find out...

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/48
Inventor 贾文奇
Owner ZHUHAI BAOQU TECH CO LTD