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

Graphical programming multi-thread synchronization method

A graphical programming and multi-threading technology, applied in the field of graphical programming, can solve problems such as fixed form, high design difficulty, software defects, etc., achieve the effect of enriching functions and improving work efficiency

Active Publication Date: 2017-11-24
SOUTH CHINA UNIV OF TECH
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The existing graphical programming software is not common, and most of them are fixed in form. Due to the high design difficulty or software defects, it does not support multi-thread synchronization of graphical programming, which brings a lot of inconvenience to users.

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
  • Graphical programming multi-thread synchronization method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The embodiments of the present invention will be further described below in conjunction with the accompanying drawings, but the implementation of the present invention is not limited thereto.

[0027] Such as figure 1 The main process of a graphical programming multi-thread synchronization method includes the following steps:

[0028] (a) Perform a depth-first search for each connected component composed of graphical programming components, process it one by one, and mark the unvisited and visited nodes to ensure the directedness of the connected components composed of graphical programming components Acyclic;

[0029] (b) When the processed programming component is a branch node, add a new graphical programming thread;

[0030] (c) When the programming component being processed is a branch merge point (that is, a thread synchronization point), the synchronization of the graphical programming thread is performed.

[0031] Step (a) is to traverse to each vertex in the...

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 graphical programming multi-thread synchronization method. When a user performs graphical programming, the graphical programming multi-thread synchronization method is used for managing and synchronizing the multi-thread in the graphical programming, therefore, the problem that the graphical programming systems in the prior art do not support the multi-thread synchronization is solved. The graphical programming multi-thread synchronization method comprises the following steps: performing deep first search on each single connected component of the directed acyclic graph composed of graphical programming components when the multi-thread processing is carried out, wherein the programming components are processed one by one; adding a new branch thread starting flag and ending the current thread when the programming component is a branch node; and starting a thread and adding a thread waiting flag to wait for the synchronization of the graphical programming thread when the programming component is a branch merge point, which are performed by the first father programming component node of the merge point. By means of the graphical programming multi-thread synchronization method, the graphical multi-threaded programming has the function of thread synchronization, therefore, programmers can write graphical programs with more abundant functions.

Description

technical field [0001] The invention generally relates to the field of graphical programming, and in particular to a multi-thread synchronization method for graphical programming. Background technique [0002] With the development of society, the continuous improvement of people's living standards, and the rapid development of computer technology, software and hardware programming is no longer a full-time job for IT personnel, and programmers may come from all walks of life in society. But in fact, the world of programming is still difficult for most users to understand, and the high difficulty of programming has become a stumbling block for people to explore the computer world. Non-computer professional programming users are a special group in the field of programming design. As the number of times of using computers increases and continues to deepen, they will increasingly feel that the existing software and hardware platforms cannot meet their needs. They hope that progra...

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/52G06F9/44
CPCG06F8/34G06F9/52
Inventor 黄翰王琥杨忠明郝志峰
Owner SOUTH CHINA UNIV OF TECH
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