Search International and National Patent Collections
|1. (WO2017193898) SERIAL PORT MAPPING METHOD AND DEVICE BASED ON LINUX OR UNIX KERNEL OPERATING SYSTEM|
|Applicants:||GRG BANKING EQUIPMENT CO., LTD.
|Title:||SERIAL PORT MAPPING METHOD AND DEVICE BASED ON LINUX OR UNIX KERNEL OPERATING SYSTEM|
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.