Unlock instant, AI-driven research and patent intelligence for your innovation.

A serial port mapping method and device based on linux or unix kernel operating system

A technology of operating system and mapping method, applied in the field of serial port identification, can solve the problems of high error rate, low efficiency, increased cost, etc., to achieve the effect of improving efficiency and accuracy, and reducing cost

Active Publication Date: 2019-01-01
GRG BAKING EQUIP CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, due to the need for human participation, the manual matching method is likely to lead to problems of low efficiency and high error rate, and it will also increase additional costs due to the need for fixed hardware equipment and specific identification auxiliary software support.

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
  • A serial port mapping method and device based on linux or unix kernel operating system
  • A serial port mapping method and device based on linux or unix kernel operating system
  • A serial port mapping method and device based on linux or unix kernel operating system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0053] The present invention provides a serial port mapping method and device based on a Linux or Unix kernel operating system, which are used to automatically generate a mapping relationship between a physical serial port and a logical serial port, and realize automatic identification and matching of serial ports, which will be described in detail below.

[0054] see figure 1 , figure 1 It is a schematic flowchart of a serial port mapping method based on a L...

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

A serial port mapping method based on a Linux or Unix kernel operating system. The method comprises the following steps: obtaining a first serial port list from a basic input / output system (BIOS), the first serial port list storing serial port information of at least one physical serial port of a panel (S101); obtaining a second serial port list from an operating system, the second serial port list storing serial port information of at least one logic serial port of the operating system (S102); and matching the physical serial port in the first serial port list with the logic serial port in the second serial port list according to the serial port information to generate a serial port mapping file of the first serial port list and the second serial port list (S103). The method and device can automatically generate a serial port mapping file for describing a mapping relationship between a physical serial port and a logic serial port without human interference, thereby improving the efficiency and accuracy of identification and matching.

Description

technical field [0001] The invention relates to the field of serial port identification, in particular to a serial port mapping method and device based on a Linux or Unix kernel operating system. Background technique [0002] The Linux system is a multi-user, multi-task, multi-thread and multi-CPU operating system based on POSIX and UNIX. It can run major UNIX tool software, applications and network protocols, and inherits the design idea of ​​Unix with network as the core. , is a multi-user network operating system with stable performance. When accessing external devices under the Linux system, it needs to communicate through the serial port. However, the order of the logical serial ports under the Linux system may be inconsistent with the order of the physical serial ports of the panel, resulting in failure of normal communication. [0003] Existing solutions mainly use manual matching. For example, one method is to connect the hardware device to a certain physical seria...

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 Patents(China)
IPC IPC(8): G06F13/10G06F13/42
CPCG06F13/10
Inventor 熊飞吴胜楠陈明宇张雲瑞罗忠明梁建明
Owner GRG BAKING EQUIP CO LTD