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

Cooperative concurrent message bus, driving member assembly model and member disassembly method

A message bus and active component technology, applied in the computer field, can solve the problems of confusion, the system cannot realize the concurrent scheduling process, and the efficiency of lightweight scheduling execution is affected.

Active Publication Date: 2013-12-25
苏州深酷机器人有限公司
View PDF4 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] (1) Stack space problem: Deprivational scheduling may interrupt the execution process of concurrent entities at any time, so it is necessary to protect and restore the operating environment of concurrent entities (minimum needs to include instruction registers, etc.), which requires RAM stack space
But in the case of a large number of concurrent entities (such as single-chip microcomputers connected to thousands of networks), the problem will become quite prominent; in special occasions where RAM is scarce (such as WSN applications), scheduling will become infeasible
[0007] (2) Execution efficiency problem: due to the need to protect and restore the running environment of concurrent entities, the execution of this part of the code must be increased
In the case of very lightweight scheduling (such as TinyOS), relative to the overall execution time of scheduling, the increased execution time is very considerable, which seriously affects the execution efficiency of lightweight scheduling
[0008] (3) Competitive sharing problem: Deprivational scheduling may interrupt the execution process of concurrent entities at any time. Therefore, all data and resources shared between concurrent entities become objects of competition and become critical resources.
[0009] (4) Competitive reuse problem: The above-mentioned data sharing design optimized for efficiency improvement will bring code reusability problems
This algorithm can avoid the potential problem of an ID entering the queue multiple times: if the same ID can occupy multiple byte positions, in some cases, the byte array may be full, causing other tasks to fail to enter the queue and the system to freeze
[0018] (2) Task information cannot be managed in a unified manner: Since the signal light system cannot carry parameters, the information exchange method between the external environment and each task is completely dependent on the external environment and each task negotiated by themselves, and there is no unified and standardized means of expression
This is a great limitation to the debugging, testing, control, etc. of the software system.
[0019] (3) The active message cannot be fully expressed: because the signal light system cannot carry parameters, the information exchange method needs to be negotiated separately between the environment and the task, and it is not a unified specification
[0021] (1) Real-time performance problem: Compared with the single-byte task ID, the message is generally longer, and it takes a long time to enter and exit the queue, which will lead to a much longer execution time of the critical section
In this way, the response speed of system interrupts will be slowed down, which will affect the real-time performance of the system and reduce the overall efficiency of the system.
[0022] (2) Hardware implementation problem: On each processor and each software system, the technical means to realize the protection of the critical section of parallel enqueues are varied, and it is not easy to derive a simple, efficient and unified parallel enqueue model
[0024] (1) The entry address has a single meaning: it cannot contain other meaningful information (such as static priority)
[0025] (2) The entry address is only meaningful in a single machine: after crossing the computer, the address has no meaning
[0029] (1) Execution efficiency problem: due to the need to perform various operations on the task PCB table (such as changing the task from the waiting state to the ready state), the execution of this part of the scheduling code must be increased
In the case of very lightweight scheduling (such as TinyOS), relative to the overall execution time of scheduling, the increased execution time is additional and considerable, which affects the execution efficiency of lightweight scheduling
[0030] (2) Hardware implementation issues: on each processor and each software system, various measures such as the content of the task PCB table, the implementation technology, and optimization methods are ever-changing, and it is not easy to derive a simple, efficient, and unified concurrent technology implementation model
Therefore, it is not easy to use hardware to implement key operations and assist in the realization of concurrency, and cannot improve execution efficiency or bring other advantages
[0031] (3) Space occupation problem: due to the task PCB table stored in RAM, even if the RAM usage is very small (such as TinyOS 2. In the case of scarcity (such as WSN system), if there are thousands of tasks (cases described later), the system will not be able to implement the concurrent scheduling process, which will become a fatal technical flaw and limit the scope of application of this technology
The two are inconsistent, and there are two models, which complicate the model of the basic module of the system
[0035] (3) The address scheme is difficult to adapt dynamically: during the code running period, unless it is specially maintained, the function address can no longer be tracked
[0036] (4) The function address is only meaningful in a single machine: after crossing the computer, the address has no meaning
[0051] like figure 2 As shown, in the pull mode, the most fatal shortcoming is: the function call of the indivisible and must-exist C module (otherwise it is not a pull mode)
Badly designed code in the past, or code that has been barely maintained many times, will be very confusing and poor in reusability
It often prompts designers to start from scratch and redevelop, unable to use existing modules and code

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
  • Cooperative concurrent message bus, driving member assembly model and member disassembly method
  • Cooperative concurrent message bus, driving member assembly model and member disassembly method
  • Cooperative concurrent message bus, driving member assembly model and member disassembly method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0108] The present invention is described in detail below in conjunction with accompanying drawing:

[0109] Such as image 3 As shown, the present invention provides a cooperative concurrent message bus. The general concurrency model of the message bus is: parallel queue entry and cooperative queue exit, that is, a multi-input single-output model. Before the message enters the message queue pool, it belongs to non-blocking parallel operation; after entering the message queue pool, it belongs to cooperative serial operation. It specifically includes: information extraction module, parallel ring allocator, linear memory block, message filling module, parallel enqueue, message queue pool, queuing sequence manager, entry mapping table and system stack. The following is a detailed description of each of the above components:

[0110] (1) Information acquisition module

[0111] The information obtaining module is used to obtain the target operator ID and the message length value...

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 cooperative concurrent message bus, a driving member assembly model and a member disassembly method. The cooperative concurrent message bus comprises an information acquisition module, a parallel ring distributor, a linear memory block, a message filling module, parallel queue equipment, a message queue pool, a queue sequential manager, an entry mapping table and a system stack. According to the cooperative concurrent message bus, the driving member assembly model and the member disassembly method provided by the invention, the weakness of the existing concurrence implementation technology can be effectively overcome, and the concurrence technology and parallel programming is efficiently and reliably realized. The cooperative concurrent message bus, the driving member assembly model and the member disassembly method have the advantages of universality, low cost, high efficiency, energy saving, reusability, transparent distribution, microkernel, inherent object-supported technology and the like.

Description

technical field [0001] The invention belongs to the technical field of computers, and in particular relates to a collaborative concurrent message bus, an active component assembly model and a component splitting method. Background technique [0002] As we all know, the ultimate goal of software design is: what the real world looks like, the software should be designed to look like, so as to achieve the purpose of simulating the real world through software. Since the real world is complex, it is often not easy to faithfully simulate the real world. After years of practice, predecessors have found that the more realistic the software system simulates every detail of the real world, the easier it is to design, understand and maintain the software. Because object-oriented programming truly simulates things in the real world, it is easy to understand, easy to maintain, and easy to change. Therefore, object-oriented programming has replaced process-oriented programming and has be...

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/38G06F9/455G06F9/48G06F9/50
CPCG06F9/54G06F2209/547
Inventor 龙建
Owner 苏州深酷机器人有限公司
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