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

Message collaborative normalization processing method based on Linux system multi-source control application layer

A technology of multi-source control and processing method, which is applied in the field of message cooperative normalization processing based on the multi-source control application layer of Linux system, which can solve the problems of limited debugging means, impact of product development cycle, and difficulty in fast tracking and positioning. , to shorten the R&D cycle and improve the design efficiency.

Pending Publication Date: 2022-03-25
TONG FANG ELECTRONICS SCI & TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the debugging methods of the Linux operating system are limited. When abnormalities occur in the processing of multiple communication interface data, it is difficult to quickly track and locate the problem, which will have a certain impact on the product development cycle.

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
  • Message collaborative normalization processing method based on Linux system multi-source control application layer
  • Message collaborative normalization processing method based on Linux system multi-source control application layer

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0019] Embodiment 1 discloses a message cooperative normalization processing method based on the multi-source control application layer of the Linux system. According to the threads and semaphores provided by the Linux system, communication between threads and resource access are realized. All "communication sources" and The processing and analysis share the same semaphore, so as to realize the embodiment of the same analysis and processing function to complete the corresponding normalization processing, including the following steps:

[0020] S1. After the Linux system starts, the application program starts to start, and completes the two-dimensional data buffer pool Buff for the "control source" data of multiple communication interfaces 1 ~ Buff n The initialization of the flag Fn and processing is 0. Among them, n is a positive integer, and its size is equal to the number of external communication interfaces. There is no special explanation for the subscript n in the foll...

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 message collaborative normalization processing method based on a multi-source control application layer of a Linux system, and the method comprises the steps: achieving a one-to-one mapping relation between a communication interface and a thread according to the thread and semaphore provided by the Linux system, completing the receiving processing through an independent thread, and building a processing response bridge through the semaphore; according to the method, data receiving, content analysis and corresponding processing links of a communication source are effectively isolated from one another, when data of various communication interfaces are abnormal, positions can be conveniently and rapidly locked, problem reasons can be conveniently and rapidly found out, the research and development period of products is shortened, and the design efficiency, robustness and reliability of the products are remarkably improved.

Description

technical field [0001] The invention belongs to the technical field of embedded operating systems, and relates to a message cooperative normalization processing method based on a Linux system multi-source control application layer. Background technique [0002] Generally, embedded devices are convenient for external control, and use a variety of commonly used communication interfaces, such as network ports, parallel ports, and serial ports. In order to provide a rich control interface, the actual embedded device uses a variety of communication interfaces to control it. It is a typical device with multiple control sources, that is, there are multiple "control sources" (referred to as: multi-source control). When the equipment is designed, the same or similar protocol is adopted to optimize the redundancy of the equipment control protocol and realize efficient protocol multiplexing. The network port is transmitted in the form of Ethernet frames, and the serial port is trans...

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): G06F11/36G06F11/34G06F9/54G06F8/41
CPCG06F11/3612G06F11/3485G06F9/544G06F8/427
Inventor 张盼华吕辉杰张伟涛陈华强王庆寰樊浩
Owner TONG FANG ELECTRONICS SCI & 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