Hardware abstraction layer multiplexing method and device, operating system and device

A hardware abstraction layer and operating system technology, applied in the field of operating systems, can solve the problems of complex adaptation processing, difficult implementation, and large limitations.

Inactive Publication Date: 2019-04-23
BANMA ZHIXING NETWORK HONGKONG CO LTD
View PDF4 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Based on the Libhybris mechanism, only the above two specific operating systems can reuse the HAL, which has relatively larg

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 abstraction layer multiplexing method and device, operating system and device
  • Hardware abstraction layer multiplexing method and device, operating system and device
  • Hardware abstraction layer multiplexing method and device, operating system and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] 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.

[0045] Terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms "a", "said" and "the" used in the embodiments of the present invention and the appended claims are also intended to include plural forms, unless the conte...

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 embodiment of the invention provides a hardware abstraction layer multiplexing method and device, an operating system and device. The method comprises the following steps of obtaining a sample; responsive to hardware operation instructions, calling a first application program interface (API) in a first operating system side virtual hardware abstraction layer (HAL) by a first process of the first operating system, sending a calling request of the first API to a second operating system through cross-process communication, wherein the configuration of the first API in the virtual HAL corresponds to the configuration of the second API in the second operating system side HAL, and the configuration of the first API in the virtual HAL corresponds to the configuration of the second API in thesecond operating system side HAL. The virtual HAL is set at a first operating system side, so that the calling of the API in the virtual HAL by the first operating system side can be transmitted to the second operating system side through cross-process communication, the multiplexing of the HAL of the second operating system side by the first operating system is realized, the realization is convenient, and the method can be suitable for any different operating systems.

Description

technical field [0001] The invention relates to the technical field of operating systems, in particular to a hardware abstraction layer multiplexing method, device, operating system and equipment. Background technique [0002] When terminal equipment manufacturers such as mobile phones develop terminal equipment, they usually develop a set of hardware abstraction layer (Hardware Abstraction Layer, HAL for short) only for one operating system. If another operating system needs to be supported in the terminal device, the most efficient method is to reuse this set of HAL. However, the basic C libraries based on two different operating systems are often different, which makes it difficult to adapt to the reuse of HAL. [0003] At present, the most commonly used adaptation solution is to directly use the Libhybris mechanism to load the HAL, which can realize the reuse of the same HAL between the Bionic-based Android operating system and the Glibc-based operating system, where Bi...

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/54
CPCG06F9/547G06F9/54
Inventor 方文骁
Owner BANMA ZHIXING NETWORK HONGKONG 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