Thread signal operating method and system of embedded real-time operation system

A real-time operating system and operating system technology, applied in the thread signal operation method and system field of embedded real-time operating system, can solve the problems of chip area and power consumption expansion, inflexibility, low implementation efficiency, etc., and reduce the superposition of hardware modules. , the effect of improving processing efficiency and reducing overhead

Pending Publication Date: 2020-08-14
SUZHOU UNIV
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to provide a thread signal operation method and system of an embedded real-time operating system, so as to solve the problem of realizing the operation of thread signals through the superposition of hardware modules in the prior art, which leads to continuous expansion of chip area and power consumption, and is very inconvenient. Flexible, the upgrade cost is very high, and its implementation efficiency will be relatively low, which will lead to technical problems such as high demand for processor frequency and high power consumption; the preferred technical solutions among the many technical solutions provided by the present invention can produce Many technical effects are described in detail below

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
  • Thread signal operating method and system of embedded real-time operation system
  • Thread signal operating method and system of embedded real-time operation system
  • Thread signal operating method and system of embedded real-time operation system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] Such as figure 1 Shown, the thread signal operating system of a kind of embedded real-time operating system, comprises main control module and PC, and the core of described main control module is MCU chip, comprises serial port, USB port, and described serial port communicates with the outside world as default communication equipment Communication, the USB port is connected to the USB port of the PC, and the main control module also includes an actual thread signal waiting module, an actual thread signal setting module, a system service call interrupt module, a suspendable system call interrupt module, and an actual thread signal waiting module. To add a waiting mark to the running first task thread or the second task thread, suspend the operation of the first task thread or the second task thread and put it in the waiting queue, and suspend the system call interrupt module for interrupting the queue from the interrupt queue Get data; Execute the corresponding processin...

Embodiment 2

[0032] On the basis of the above-mentioned embodiments, as a further preferred solution, a thread signal operation method of an embedded real-time operating system, based on the above-mentioned thread signal operating system, includes the following steps,

[0033] Step 1: macro-defining thread signals, including the first task thread signal, the second task thread signal and the third task thread signal;

[0034] Step 2: Set the waiting thread signal for the first task. In this example, the thread signal is 1_SIGNAL. At this time, the first task enters the delay queue; until the serial port sends the thread signal 1_SIGNAL, it enters the ready queue, and the system schedules to complete the follow-up Execution of the module; set the waiting thread signal for the second task. In this case, the thread signal is 2_SIGNAL. At this time, the second task enters the delay queue; until the third task sends the thread signal 2_SIGNAL, it enters the ready queue and is processed by the sy...

Embodiment 3

[0041] On the basis of the foregoing embodiments, as a further preferred solution: as Figure 2 to Figure 4 As shown, the MCU chip selects the KL36 board kit. The MCU of this kit is the Kinetis MKL36Z64VLH4 with ARM Cortex-M0+ core. The chip is a 64-pin LQFP package, 64KB Flash, including SysTick timer, GPIO, serial port, A / D, D / A, I2C, SPI, CAN, USB; and test hardware and MUC evaluation board, the serial port is connected to the MUC evaluation board, the test hardware is connected to the MUC evaluation board and controlled by the main control module; the serial port is used as the default communication device To communicate with the outside world, connect the "USB port" of the "USB-MicroUSB serial cable" to the USB port of the PC, and connect the MicroUSB end of the serial cable to the MicroUSB port on the AHL-IOT-GEC evaluation board (corresponding to UART_2, which is served by PTE16 and PTE17) serial port transceiver pins); the test hardware is tri-color light hardware, con...

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 thread signal operating method and system of an embedded real-time operation system and relates to the technical field of communications. The system comprises a main control module and a PC, an inner core of the main control module is an MCU chip. The main control module comprises a serial port and a USB port, the serial port serves as default communication equipment to becommunicated with the outside, the USB port is connected with a USB port of a PC, and the main control module further comprises an actual thread signal waiting module, an actual thread signal settingmodule, a system service calling interruption module and a suspensible system calling interruption module. Multi-thread signal processing can be carried out according to task allocation rules, so that the overhead caused by interaction is reduced, the processing efficiency is improved, the power consumption is reduced, and hardware module superposition is reduced.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a thread signal operation method and system of an embedded real-time operating system. Background technique [0002] There are many application occasions for thread signals. For example, tasks jointly read and write a shared area. After task A writes, it can send a signal to task B. When task B receives this signal, it can perform read operations; downstream tasks Need to wait for the completion of the upstream task; when the thread crosses the boundary, or attempts to write a read-only memory area (such as the program text area), or executes a privileged instruction and other various hardware errors; executes a system call that does not exist; when the thread Exit, or sub-thread termination, etc. can be achieved through signals [0003] With the continuous development of the current communication field, various thread signal processing structures emerge in an endless str...

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/4881G06F9/4812Y02D10/00G06F9/3851G06F9/4831
Inventor 王宜怀董迎秋刘长勇蔡闯华张建
Owner SUZHOU UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products