Method and device for calling driver interface by application program

A technology of application program and driver interface, applied in the direction of program control device, boot program, execution example, etc., can solve the problems of increasing software development time and development cost, strong coupling, etc., shorten software development time and development cost, reduce Coupling, the effect of ensuring reusability

Pending Publication Date: 2022-04-29
JINGWEI HIRAIN (TIANJIN) RES&DEV CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a method and device for an application program to call a driver interface, which can create a system interface in the driver program for the application program to call, thereby solving the problem of coupling between the application program and the driver interface in the prior art Strong problems that increase software development time and development costs

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 device for calling driver interface by application program
  • Method and device for calling driver interface by application program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] 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. Apparently, the described embodiments are only some of the embodiments of the present invention, not all of them. 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.

[0057] It should be noted that the terms "include" and "have" and any variations thereof in the embodiments of the present invention and the drawings are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally further includes For other steps or units inhe...

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 method and device for calling a driver interface by an application program, and the method comprises the steps: building a driver framework in the driver program, and creating a system interface for each function module in the driver framework, the function modules in the driver framework correspondingly having driver interfaces for executing different driver requirements; according to the system interface packaging, interface logics with different driving requirements are achieved, and the system interface is exposed to an application program; and in response to a calling request of an application program to a target driving interface, docking the calling request to a system interface created for the target driving interface according to a command parameter transmitted by the calling request, and executing the interface logic packaged in the corresponding system interface. By means of the method, decoupling of the application program and the driving interface can be achieved, and the problem that in the prior art, due to the fact that the coupling performance between the application program and the driving interface is high, software development time and development cost are increased is solved.

Description

technical field [0001] The present invention relates to the field of communication technology, in particular to a method and device for calling a driver interface by an application program. Background technique [0002] With the continuous development of electronic product technology and increasing functions, the system hardware platform needs more support for application software development. Specifically in the application, the driver is the link between the hardware and the application. By driving the interface in the driver, it can be called by the application to realize different functions. [0003] In the related technology, along with the modification of the system hardware platform, the driver interface that the corresponding application program needs to access also changes accordingly. For example, for the general input and output interface (General Prupose Input / Output, gpio), when the application program needs to control the power-on and power-off of certain modu...

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): G06F9/448G06F9/4401
CPCG06F9/449G06F9/4411
Inventor 朱全胜李伟超
Owner JINGWEI HIRAIN (TIANJIN) RES&DEV CO LTD
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