Multi-channel software-hardware paralleled serial communication processing method

A technology of serial port communication and processing method, which is applied in the field of multi-channel software and hardware parallel serial port communication, which can solve the problems that hardware resources cannot satisfy multiple independent serial port channels, waste CPU processing time, and cannot satisfy complex control system processing cycle time resources, etc. Achieve the effect of saving hardware resources and reducing CPU time

Active Publication Date: 2016-04-13
SHANGHAI XINYUE METER FACTORY
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When there are many channels and many bytes to send and receive, on the one hand, the limited hardware resources of the embedded system of the control computer cannot meet the requirements of multiple independent serial ports, independent receiving and sending buffers; on the other hand, the communication mechanism of the query waiting mode is more wasteful The CPU processing time cannot meet the needs of complex control system processing cycle time resources

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
  • Multi-channel software-hardware paralleled serial communication processing method
  • Multi-channel software-hardware paralleled serial communication processing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] The invention will be described in more detail hereinafter with reference to the accompanying drawings showing embodiments of the invention. However, this invention may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. In these drawings, the size and relative sizes of layers and regions may be exaggerated for clarity.

[0018] The multi-channel software and hardware parallel serial port communication processing method according to the embodiment of the present invention will now be described in detail with reference to the accompanying drawings. Such as figure 1 As shown, according to the multi-channel software and hardware parallel serial port communication processing method of the present invention, the technology is specifically realiz...

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 relates to a multi-channel software-hardware coordinated calling method for the purpose of narrowing the gap between the increasing number of sophisticated spacecrafts for controlling computer serial communication and limited software-hardware resources of embedded systems. The method comprises following steps of reusing hardware multichannel series channels; sending, caching and reusing, receiving cache independence, setting channel numbers via software to achieve channel switch, and setting send data lengths of corresponding channels and receive data lengths; reusing receive interruption and overtime interrupt of serial ports, adopting to same receive interruption and overtime interrupt by multiple channels of series ports and occupying external interrupt resources of the same CPU; and carrying out software-hardware parallel work in order to achieve serial communication of multiple channels. The serial communication of multiple channels is finished by main processes of software tasks, interruption processes of software and hardware processing. The multi-channel software-hardware paralleled serial communication processing method helps to achieve multi-channel software-hardware paralleled serial communication in order to save computer hardware resources, and reduce CPU time occupied by multi-channel serial communication and is applied for controlling a computer of a certain type.

Description

technical field [0001] The invention relates to the serial port communication technology of a spacecraft control computer, in particular to a multi-channel software and hardware parallel serial port communication method. Background technique [0002] With the increasing complexity of tasks in the aerospace field, more and more stand-alone aircraft with different purposes are equipped on spacecraft. The control computer and many stand-alone machines establish a complex control system through data interaction. The most common way is serial communication. [0003] In the general control computer serial port communication design, the control computer acts as the master node. After starting a certain channel communication, it enters an empty loop and waits. After receiving all the data, it switches to the next channel. When there are many channels and many bytes to send and receive, on the one hand, the limited hardware resources of the embedded system of the control computer ...

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): G06F13/38G06F13/42
Inventor 吕敏张国柱曹斌陈晓强
Owner SHANGHAI XINYUE METER FACTORY
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