Method and apparatus for normalizing driver

A driver and normalization technology, applied in the computer field, can solve the problems of time-consuming and laborious, cumbersome driving code maintenance, and achieve the effect of simplifying code maintenance, saving manpower, material resources and time investment.

Inactive Publication Date: 2018-12-21
SILEAD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] An object of the present application is to provide a driver normalization method and device to solve the problem of cumbersome, time-consuming and labor-intensive maintenance of driver codes in different device driver forms in the prior art

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
  • Method and apparatus for normalizing driver
  • Method and apparatus for normalizing driver
  • Method and apparatus for normalizing driver

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The application will be described in further detail below in conjunction with the accompanying drawings.

[0033] figure 1 It shows a driver normalization method according to one aspect of the present application, the method includes: step S11, step S12, step S13 and step S14, which specifically includes:

[0034] The step S11 is to normalize the driving parameters in the original driver of the SPI device to obtain the normalized driving parameters and the corresponding normalized driver, wherein the normalized driver is passed through the macro The definition distinguishes different types of devices, so as to indicate that the normalization driver is compiled to be suitable for the corresponding types of devices based on the macro definitions corresponding to different types of devices in the normalization driver.

[0035] In the step S11, the driving parameters in the original driver program of the SPI device may include but not limited to variable names and related ...

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

It is an object of the present application to provide a method and apparatus for normalizing a driver. The invention normalizes the driving parameters in the original driving program of the SPI deviceto obtain the normalizing driving parameters and the corresponding normalizing driving program, wherein, different types of devices are distinguished through the macro definition in the normalizing driving program; when a user needs to drive a device, a corresponding macro definition is created in a normalized driver according to the determined device type to be driven, and corresponding device driving parameters are called for the normalized driving parameters; and when the user needs to drive a device, a corresponding macro definition is created in a normalized driver according to the determined device type to be driven. Compiling normalized driver based on device driver parameters can simplify code maintenance and save manpower, material resources and time investment by normalizing theoriginal driver of SPI device, which can be applied to different types of devices.

Description

technical field [0001] The present application relates to the field of computers, in particular to a driver normalization method and device. Background technique [0002] In the prior art, in order to further protect the personal privacy and data of end users in the smart terminal platform, a chip-level security technology Trust Zone (TZ) technology is introduced, through hardware and system software, drivers and upper-layer applications Cooperation, to achieve a set of security mechanisms. Access to important data is transferred to the Trusted Execution Environment (TEE), and the final execution result is returned to the Rich Execution Environment (REE) for normal use. [0003] Due to the emergence of TZ technology, the SPI driver communication function that the Serial Peripheral Interface (SPI) communication relies on is partially removed from the embedded Linux kernel driver architecture. As a substitute, the client application-trusted application (Client Applicatin -Tr...

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
IPC IPC(8): G06F9/4401
CPCG06F9/4411
Inventor 彭凡
Owner SILEAD
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