Method and module for directly controlling hardware equipment in operating system

A technology of hardware equipment and operating system, applied in the direction of program control device, etc., can solve the problem of flash time delay and other problems

Active Publication Date: 2014-12-17
KUANG CHI INTELLIGENT PHOTONIC TECH
View PDF2 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

And this kind of control method for the flash belongs to indirect control, and its call to the flash has a certain time delay

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 module for directly controlling hardware equipment in operating system
  • Method and module for directly controlling hardware equipment in operating system
  • Method and module for directly controlling hardware equipment in operating system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to better understand the present application, the embodiment of the present application takes the direct control of the flash light switch in the Android system as an example for illustration. It should be understood that the operating system referred to in the present application can also be other operating systems such as ios, mac os, and hardware devices It can also be a camera, bluetooth, sensor, microphone, etc. in an electronic device.

[0025] The present application will be further described below through specific examples.

[0026] In the embodiment of the present application, by implementing the kernel driver (flashlight driver) in the Linux kernel space (Linux Kernel layer) and implementing the hardware abstraction layer interface in the user space, to provide a hardware access interface to the upper layer, that is, the Android system The application framework layer provides hardware services. Because the application program of the Android system is...

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 provides a method and a module for directly controlling hardware equipment in an operating system, wherein the method comprises the following steps that an linkbase loading instruction is firstly obtained, and a linkbase is loaded; after an instruction for controlling the action of the hardware equipment is obtained, functions corresponding to the action instruction of the hardware equipment in the linkbase are called; then, a called function realization function is executed for controlling the hardware equipment to execute the corresponding action, so that the direct control on the hardware equipment is realized.

Description

technical field [0001] This application relates to the development of an operating system for electronic equipment, in particular to a method and module for directly controlling hardware equipment in the operating system. Background technique [0002] Please refer to figure 1 , is a schematic diagram of the architecture of the Android (Android) system. [0003] The first layer 101 is a Linux kernel driver layer (Linux kernel), which is implemented by C / C++. Android core system services depend on the Linux kernel, including security, memory management, process management, network protocols, driver models, etc. The Linux kernel also serves as an abstraction layer between the hardware and software stacks. In addition to the standard Linux kernel, Android also adds kernel drivers, such as: Binder (IPC) driver, camera driver, power management, etc. [0004] The second layer is a component library and a virtual machine layer, wherein 102 is a component library layer (Libraries)...

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/44
Inventor 不公告发明人
Owner KUANG CHI INTELLIGENT PHOTONIC TECH
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