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

Policy mode based multi-thread management method for signal generator

A technology of signal generator and management method, applied in instruments, program control devices, electrical digital data processing and other directions, can solve the problems of poor thread consistency, poor software reusability, and many global resources, etc., to achieve consistency, enhance Security and reliability, the effect of reducing software coupling

Inactive Publication Date: 2016-04-13
THE 41ST INST OF CHINA ELECTRONICS TECH GRP
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Disadvantage 1: There are many and scattered global resources related to threads, and there is no unified management. The software reusability is poor, which increases the difficulty of software maintenance;
[0005] Disadvantage 2: The interface used by the thread is not uniform, there are many branches, and the coupling is large, resulting in poor consistency and confusion in the use of threads, which increases the probability of software developers making mistakes;
[0006] Disadvantage 3: The relationship between thread synchronization and mutual exclusion is leaked, unsafe, and unreliable, which affects the scalability and correctness of functions;
[0007] Disadvantage 4: Lack of thread debugging functions, thread life cycle cannot be monitored, making it difficult to locate thread-related problems, increasing R&D time and maintenance costs

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
  • Policy mode based multi-thread management method for signal generator
  • Policy mode based multi-thread management method for signal generator
  • Policy mode based multi-thread management method for signal generator

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0035] In the existing thread use and maintenance mechanism, the interfaces used by threads are not uniform, with many branches and large coupling, resulting in poor consistency and confusion in thread use, which increases the probability of software designers making mistakes and the difficulty of maintenance; Synchronization and mutual exclusion relationships are leaked, unsafe, and unreliable, which affects the scalability and correctness of fun...

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 proposes a policy mode based multi-thread management method for a signal generator. According to the method, thread management modules are divided into a signal source thread base class, functional thread derived classes and a thread management class, wherein the signal source thread base class is in charge of defining and maintaining basic information of threads and establishing a thread processing framework; the functional thread derived classes inherit from the signal source thread base class and are in charge of specifically realizing specific functions, and each specific function corresponds to a functional thread derived class; and the thread management class is in charge of defining and maintaining objects of the functional thread derived classes, distributing index numbers to the threads, and providing corresponding thread management interfaces for external users of the thread management modules through unique and global thread management class objects. According to the method, the development efficiency of software research and development is improved, the development cost is reduced, the consistency of the threads in use is improved, the extendibility of the functions and the security and reliability of synchronism and mutual exclusion relationships among the threads are enhanced, and rich thread debugging information supports full-life-cycle thread monitoring.

Description

technical field [0001] The invention relates to the application field of computer software, in particular to a multi-thread management method of a signal generator based on a strategy mode. Background technique [0002] With the development of computer technology, signal generators have more and more functions, the relationship between functions is more and more complex, the user experience fluency requirements are getting higher and higher, and the number of threads used in instrument control software is increasing. When developing and maintaining multi-threaded software, the use, management and debugging of threads has become an extremely important issue, which is directly related to the stability of the working state of the signal generator, the correctness of functions and the fluency of user interaction experience, as well as the time of software maintenance. The related issues are localization efficiency and functional scalability. [0003] At present, the usage metho...

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/44G06F11/36
CPCG06F8/36G06F11/3644
Inventor 蒋方文左永锋周俊杰王鹏徐明哲高训兵
Owner THE 41ST INST OF CHINA ELECTRONICS TECH GRP
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