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

Signal-slot structure for embedded system

An embedded system and signal slot technology, which is applied in the field of signal slot structure, can solve problems such as complex structure, great difference in signal slots, and inapplicability to embedded systems, so as to achieve the effect of improving call efficiency and communication efficiency

Inactive Publication Date: 2013-02-27
GUILIN UNIV OF ELECTRONIC TECH +1
View PDF1 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Signal slots are actually language-independent. There are many ways to implement signal slots. Different implementation mechanisms will lead to great differences in signal slots. However, the structure of signal slots used in general-purpose operating systems such as Qt libraries is too complicated. Not suitable for embedded systems

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
  • Signal-slot structure for embedded system
  • Signal-slot structure for embedded system
  • Signal-slot structure for embedded system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The specific implementation manners of the present invention will be described in detail below in conjunction with the accompanying drawings and embodiments.

[0024] refer to figure 1 , a signal slot structure for an embedded system provided by the present invention is divided into upper and lower layers, the upper layer is a signal slot module, and the lower layer is a memory pool module. The signal slot module is used to manage user-defined signals and slots that need to be associated (that is, slot functions), the memory pool module is used to create and manage memory pools, and provide the signal slot module with the necessary memory to store the associated information of signals and slots , and reclaim the memory occupied when the signal and slot are disassociated.

[0025] The signal slot module includes a signal slot initialization unit, an associated information calling unit, a signal sending unit, and a disassociation unit, and the memory pool module includes...

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 signal-slot structure for an embedded system. The signal-slot structure is divided into an upper layer and a lower layer, wherein a signal-slot module is arranged on the upper layer and a memory cell module is arranged on the lower layer; the signal-slot module uses a hash table to manage signals and slots; the memory cell module is used for creating a memory cell, providing necessary memory for the signal-slot module to store related data of the signals and the slots, and recovering the occupied memory when the signals are disassociated from the slots; and the memory cell module manages a memory block through establishing a balanced binary (AVL) tree, and distributes and recovers the memory on the basis of a buddy algorithm. When the signal-slot structure is applied to the embedded system, the signals and the slots can be effectively organized and managed, the time complexity of searching the slots corresponding to the signals is low, and an objective function does not need to be searched by traversing the whole function list like in a traditional method, so that the calling efficiency of the function is improved, componential programing of a system can be realized and the communication efficiency among components can be improved.

Description

technical field [0001] The invention relates to an embedded system, in particular to a signal slot structure for the embedded system. Background technique [0002] The concept of signal slots originally came from the Qt library of Trolltech (now acquired by Nokia). After this concept was put forward, it immediately attracted the attention of the computer science community, and proposed a variety of different implementation methods. "Signal" refers to a flag or notification, and "slot" refers to one or more functions. The relationship between signals and slots can be one-to-one, or one-to-many or many-to-one. . The signal slot mechanism is a powerful tool for component-oriented programming. It can realize the interaction between components, and can easily notify another part of the system to complete related operations in one part of the system. The Qt library is widely used, and the signal slot is still one of the cores of the library. Many other libraries also provide si...

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/44
Inventor 谈恩民王炜李烨李洪刚
Owner GUILIN UNIV OF ELECTRONIC 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