Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Device loading method and device on basis of Android

A technology of equipment loading and equipment identification, applied in the direction of program control device, program loading/starting, etc.

Active Publication Date: 2014-08-06
BEIJING ERENEBEN INFORMATION TECH
View PDF3 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the existing device loading method based on the Android system, the same type of device can only load one driver and the corresponding HAL dynamic link library, that is to say, the Android system only supports one kind of device of the same type

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
  • Device loading method and device on basis of Android
  • Device loading method and device on basis of Android
  • Device loading method and device on basis of Android

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The present invention will be described in detail below in conjunction with the accompanying drawings and embodiments.

[0027] As known to those skilled in the art, the Android system includes a kernel layer, a HAL layer, a framework layer and an application layer. Wherein, the kernel layer is a device driver layer based on Linux, which is used to load the driver of the device. The HAL layer is an adaptation layer added by Goolge (Google) when some manufacturers do not want to open the source code. It can provide device drivers in a closed-source manner. The purpose is to provide an interface between the framework layer and the kernel layer. The framework layer is used to call the driver of the kernel layer through the HAL layer, and further provide API (Application Programming Interface, application programming interface) to the application layer to realize the operation of the device.

[0028] figure 1 It is a flow chart of the device loading method based on the An...

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 device loading method and device on the basis of Android. The device loading method includes steps of loading device drives of devices to be loaded, mapping device information of the devices to be loaded and generating mapping information; acquiring device identifications of the devices to be loaded according to the mapping information; judging whether an HAL (hardware abstraction layer) dynamic link library matched with the device identifications of the devices to be loaded exists or not according to the index information, if yes, loading the matched HAL dynamic link library, and if not, loading a default HAL dynamic link library, wherein the index information is used for indicting corresponding relation of the device identifications of at least two different specifications of the devices of the same kind and the HAL dynamic link library. According to the above technical scheme, the same-kind devices of different specifications can be intelligently identified in the Android system, corresponding device drives and HAL dynamic link libraries can be dynamically loaded, and the devices can operate normally.

Description

technical field [0001] The invention relates to the field of embedded operating systems, in particular to a device loading method and device based on an Android system. Background technique [0002] The device loading method based on the Android (Android) system means that after the Android system is powered on, the device needs to be loaded correctly, that is, the driver of the device and the HAL (Hardware Abstraction Layer, hardware abstraction layer) dynamic link library are correctly loaded before the electronic product can be used. All kinds of equipment are in normal use. Wherein, the electronic product is, for example, a tablet computer, a mobile phone, etc., and the equipment is, for example, a display screen, a speaker, a camera or a sensor, and the like. [0003] In the existing device loading method based on the Android system, the same type of device can only load one driver and the corresponding HAL dynamic link library, that is to say, the Android system only ...

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/445
Inventor 凌普影黄性华姚自强朱少杰周佳杜国楹
Owner BEIJING ERENEBEN INFORMATION TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products