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

Program execution control device and method, terminal and storage medium

A technology of program execution and non-execution, applied in the computer field, can solve problems such as difficulty in the execution sequence of control tasks, and achieve the effect of reducing costs

Pending Publication Date: 2020-08-14
BEIJING BYTEDANCE NETWORK TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In thread development, multiple tasks may be asynchronously inserted into the main thread for execution, which will make it difficult to control the execution order of tasks

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
  • Program execution control device and method, terminal and storage medium
  • Program execution control device and method, terminal and storage medium
  • Program execution control device and method, terminal and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the drawings, it should be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein; A more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for exemplary purposes only, and are not intended to limit the protection scope of the present disclosure.

[0024] It should be understood that various steps described in the method implementation manners of the present disclosure may be executed in sequence and / or in parallel. Additionally, method embodiments may include additional steps and / or omit performing illustrated steps. The scope of the present disclosure is not limited in this regard.

[0025] As use...

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 provides a program execution control device and method, a terminal and a storage medium. The device comprises a task execution module, a task hooking module and a task execution detection module. The method comprises the following steps: obtaining a to-be-executed task; when the task is a preceding task, executing the preceding task, and after the preceding task is executed, checkingwhether a subsequent task associated with the preceding task is obtained or not, if so, executing the subsequent task, and if not, recording the preceding task, and executing the subsequent task until the subsequent task is checked to be obtained; and when the task is a backward task, checking whether the preceding task associated with the backward task is executed or not, if so, executing the backward task, and if not, hooking the backward task until it is checked that the preceding task is executed completely, and then executing the backward task. According to the program execution controlscheme, the problem of execution sequencing between the associated tasks can be solved, and it is guaranteed that the preceding task is executed before the following task is executed.

Description

technical field [0001] The present disclosure relates to the field of computer technology, and in particular to a program execution control device and method, a terminal and a storage medium. Background technique [0002] In thread development, multiple tasks may be asynchronously inserted into the main thread for execution, and this will make it difficult to control the execution order of tasks. Therefore, a scheme for controlling the execution sequence of tasks is needed. Contents of the invention [0003] In order to solve the existing problems, the present disclosure provides a program execution control device and method, a terminal and a storage medium. [0004] The present disclosure adopts the following technical solutions. [0005] In some embodiments, the present disclosure provides an apparatus for program execution control, including: [0006] A task execution module, configured to execute a task; wherein, the task includes an associated preceding task and a ...

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
CPCG06F9/4881
Inventor 张政桢
Owner BEIJING BYTEDANCE NETWORK TECH 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