Hardware driver compatibility method and terminal

A hardware driver and hardware technology, applied in the field of hardware driver compatibility methods and terminals, can solve problems such as heavy workload and driver program spending a lot of time, and achieve the effect of reducing transplant time and improving hardware driver compatibility efficiency.

Active Publication Date: 2020-11-06
LOONGSON TECH CORP
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the prior art, the workload of modifying the original driver is large, so that the transplantation of the driver needs to spend a lot of time

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
  • Hardware driver compatibility method and terminal
  • Hardware driver compatibility method and terminal
  • Hardware driver compatibility method and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0044] figure 1 It is a schematic flowchart of Embodiment 1 of the hardware driver compatibility method of the present application, figure 2 It is a schematic diagram of the application scenario of the hardware driver compatibility method of this application. Such as figure 2 As shown, the first operating system is installed in the terminal, ...

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

One embodiment of the invention provides a hardware driver compatible method and terminal. The method comprises following steps: target hardware is detected by a first operating system, wherein a driver program of the target hardware is a driver program compatible with a second operating system, and an entry function of the driver program of the target hardware is a first operating system callablefunction; further, the driver program of the target hardware is called, and the target hardware is driven by the driver program by calling the application programming interface API compatible with the second operating system in the first operating system. It can be seen that, in the present application, since the entry function of the driver program of the target hardware is the first operating system callable function and the API corresponding to the target hardware is set in the terminal, the terminal can directly call the target hardware driver program to directly drive the target hardware. Compared with the prior art, the original driver program of the hardware does not need to be modified in a large amount, which reduces the transplanting time of the driver and improves the compatibility of the hardware driver.

Description

technical field [0001] Embodiments of the present invention relate to terminal technologies, and in particular to a hardware driver compatibility method and a terminal. Background technique [0002] Usually, the hardware is usually configured with the original driver of the hardware when it leaves the factory; due to the particularity of the Linux operating system (free use, free dissemination, and arbitrary modification of its source code), the original driver configured by the hardware when it leaves the factory is Compatible with Linux drivers. [0003] When some hardware needs to be added to a terminal running the vxWorks operating system, if the original driver of the hardware is compatible with the Linux operating system but not compatible with the vxWorks operating system, the prior art usually modifies the original driver of the hardware (for example , it is necessary to modify the relevant part of the original driver program used to call the API provided by the Lin...

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/10
CPCG06F13/102
Inventor 李轶高翔王洪虎
Owner LOONGSON TECH CORP
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