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

Unified management system and method for serial devices in LINUX

A management system and serial port technology, applied in the field of communication, can solve the problems of reducing development efficiency, low data interaction efficiency, increasing application programming complexity, etc., to achieve the effect of improving efficiency and reducing complexity

Active Publication Date: 2017-05-24
XIAMEN YAXON NETWORKS CO LTD
View PDF5 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If managed separately, whether it is to create a receiving thread for each serial port for blocking reception, or through periodic non-blocking polling operations, the efficiency of data interaction is relatively low and the complexity of application programming is increased.
[0003] At the same time, the physical serial port has the unique characteristics and operation modes of the physical serial port; the pseudo-terminal has the unique characteristics and operation modes of the pseudo-terminal; the USB-to-serial port has the unique characteristics and operation modes of the USB-to-serial port. The above is the same, but the interfaces and usages provided by the system are different, requiring application developers to have a deeper understanding of the use of specific interfaces of various serial ports, which reduces development efficiency and increases the difficulty of development and serial port business maintenance and management the cost of

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
  • Unified management system and method for serial devices in LINUX
  • Unified management system and method for serial devices in LINUX
  • Unified management system and method for serial devices in LINUX

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] see figure 1 , a unified management system for serial devices under LINUX of the present invention, comprising a kernel space part and a user space part, the serial port resource 11 is arranged in the operating system layer of the kernel space part, and the serial port application 12 is arranged in the application program layer of the user space part, in A dynamic library layer is set between the operating system layer and the application program layer, and the dynamic library layer is arranged in the user space part, including the serial port management core module 13 and the registry module 14;

[0039] The registry module 14 receives and registers the registry entries provided by the registry interface unit 132. The registered serial port attribute information includes serial port ID number, serial port type identification, serial port device path and receiving buffer size.

[0040] The serial port management core module 13 includes:

[0041] Multiplexing and switch...

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 unified management system and method for serial devices in LINUX. The system comprises a kernel space part and a user space part; serial resources are arranged in an operation system layer of the kernel space part; serial applications are arranged in an application layer of the user space part; a dynamic library layer is arranged between the operation system layer and the application layer; and the dynamic library layer is arranged in the user space part and comprises a serial management core module used for managing various serial devices and calling the corresponding serial resources to perform serial communication, and a registry module used for associating serial ID numbers and serial device nodes. According to the technical scheme, a universal interface is provided for an upper layer application, and the purposes of improving data interaction efficiency, lowering complexity of application programming and reducing serial business maintenance and management costs are achieved.

Description

technical field [0001] The invention relates to the communication field, in particular to a unified management system and method for serial port devices under LINUX. Background technique [0002] The Linux system has been more and more used in the field of vehicle applications. A vehicle station needs to be connected to multiple serial devices, such as taximeters, LCD screens, LED screens, printers, etc. If the 2G module needs to use a pseudo-terminal, the program internal Pseudo-terminals may also be used for data interaction. If a 3G module needs to be connected to a USB-to-serial port, it is equivalent to the need for the vehicle station to manage multiple physical, virtual, and extended serial ports. If managed separately, whether it is to create a receiving thread for each serial port for blocking reception, or through periodic non-blocking polling operations, the efficiency of data interaction is relatively low and the complexity of application programming is increased...

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/38
CPCG06F13/385G06F2213/0042
Inventor 任斌杨磊郑福弟陈华云林晓龙
Owner XIAMEN YAXON NETWORKS CO LTD
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