CN113835768B - Management method and system of Android hybrid HAL - Google Patents

Management method and system of Android hybrid HAL Download PDF

Info

Publication number
CN113835768B
CN113835768B CN202111427763.0A CN202111427763A CN113835768B CN 113835768 B CN113835768 B CN 113835768B CN 202111427763 A CN202111427763 A CN 202111427763A CN 113835768 B CN113835768 B CN 113835768B
Authority
CN
China
Prior art keywords
hal
file
android
file library
proxy
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111427763.0A
Other languages
Chinese (zh)
Other versions
CN113835768A (en
Inventor
李翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202111427763.0A priority Critical patent/CN113835768B/en
Publication of CN113835768A publication Critical patent/CN113835768A/en
Application granted granted Critical
Publication of CN113835768B publication Critical patent/CN113835768B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)
  • Hardware Redundancy (AREA)

Abstract

The invention provides a management method and a system of an Android hybrid HAL (HAL), wherein the method comprises the following steps: creating a proxy HAL file library based on hardware equipment characteristics, and adding a coverage field to a configuration file of the proxy HAL file library; and mounting the agent HAL file library into a directory of an Android file library so that the Android system domain covers and merges the agent HAL file library and the original virtual general HAL file library based on the configuration file when the HAL path is initialized. By implementing the embodiment of the invention, a Linux operating system and an Android system can be simultaneously operated on hardware equipment based on the Android HAL, and the equipment compatibility and the hardware characteristic support degree are improved.

Description

Management method and system of Android hybrid HAL
Technical Field
The invention relates to the technical field of computers, in particular to a management method and a management system of an Android hybrid HAL.
Background
At present, when a Linux system on an Android HAL-based hardware device runs an Android system, a general scheme is generally adopted for the requirement of device compatibility. These general solutions using Android as virtual devices have the following performance problems: hardware characteristics of the equipment cannot be perfectly supported; the inability of the application to identify the true device type can lead to problems such as inability to authenticate with GMS devices and application throttling.
Disclosure of Invention
The invention provides a management method, a management system, electronic equipment and a storage medium of an Android hybrid HAL (hardware-based Link library), which are used for solving the technical problems, can simultaneously run a Linux operating system and an Android system on hardware equipment based on the Android HAL, and improve equipment compatibility and hardware characteristic support degree.
The invention provides a management method of an Android hybrid HAL, which comprises the following steps:
establishing a proxy HAL file library based on hardware equipment characteristics, and adding a coverage field to a configuration file of the proxy HAL file library;
and mounting the agent HAL file library into a directory of an Android file library so that the Android system domain covers and merges the agent HAL file library and the original virtual general HAL file library based on the configuration file when the HAL path is initialized.
In one embodiment, the mounting the HAL-proxy file library into a directory of an Android file library to enable an Android system domain to overlay and merge the HAL-proxy file library and an original virtual generic HAL file library based on the configuration file when a HAL path is initialized includes:
mounting the agent HAL file library into a directory of an Android file library so that when an Android system domain initializes a HAL path, a target HAL file in the virtual general HAL file library is replaced by a HAL file of the agent HAL file library based on the configuration file; wherein the file type of the target HAL file corresponds to the HAL file type of the proxy HAL file repository.
In one embodiment, the method for managing an Android hybrid HAL further includes:
and calling, coordinating and managing the process of calling HAL by the agent HAL file library and the Linux system together by utilizing a preset mutual exclusion mechanism or a preset time-sharing multiplexing mechanism.
In one embodiment, the creating a proxy HAL file library based on hardware device characteristics comprises:
and constructing a HAL calling interface according to the hardware equipment characteristics, and creating the proxy HAL file library based on the HAL calling interface.
In one embodiment, the adding a coverage field to the configuration file of the proxy HAL file library specifically includes:
and adding an override field in a manifest file of the proxy HAL file library.
In one embodiment, the HAL-file in the proxy HAL-file repository is an ODM HAL-file.
In one embodiment, the mounting the HAL file library to a directory of an Android file library specifically includes:
and mounting the agent HAL file library into an odm catalogue of an Android file library.
The invention also provides a management system of the Android hybrid HAL, comprising:
the file configuration module is used for creating an agent HAL file library based on the characteristics of hardware equipment and adding a coverage field to the configuration file of the agent HAL file library;
and the file mounting module is used for mounting the agent HAL file library into a directory of an Android file library so that the Android system domain covers and merges the agent HAL file library and the original virtual general HAL file library based on the configuration file when the HAL path is initialized.
The present invention further provides an electronic device, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any of the above methods for managing an Android hybrid HAL when executing the program.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method for managing an Android hybrid HAL as defined in any of the above.
According to the management method, system, electronic equipment and storage medium of the Android hybrid HAL, provided by the invention, the agent HAL file library associated with the hardware equipment characteristics is constructed, and the coverage field is configured, so that the Android system domain replaces the corresponding part of the original virtual general HAL file library with the file of the agent HAL file library when loading the Android file library, the Android system domain can call a real HAL through the agent HAL file library, further a Linux operating system and an Android system can be simultaneously operated on the hardware equipment based on the Android HAL, and the equipment compatibility and the hardware characteristic support degree are improved.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a method for managing an Android hybrid HAL according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating a calling method of an Android hybrid HAL according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a management system of an Android hybrid HAL according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, an embodiment of the present invention provides a method for managing an Android hybrid HAL, which may include the steps of:
s1, creating an agent HAL file library based on hardware equipment characteristics, and adding coverage fields to configuration files of the agent HAL file library;
s2, the agent HAL file library is mounted into a directory of an Android file library, so that the Android system domain covers and merges the agent HAL file library and the original virtual general HAL file library based on the configuration file when the HAL path is initialized.
In the embodiment of the present invention, a proxy HAL file library capable of supporting Hardware device characteristics is first created, and the proxy HAL file library may forward a call to a real Android HAL (which may include a Hardware Android Vendor HAL and an ODM HAL) when receiving a HAL call request, so that an Android system domain can be compatible with characteristics of specific Hardware through the proxy HAL file library. When creating the agent HAL file library, it is necessary to add a coverage field in a configuration file thereof, for example, perform override configuration in a manifest file, so that the Android system domain covers an original related HAL file at the time of initialization.
According to the management method of the Android hybrid HAL, provided by the embodiment of the invention, the agent HAL file library associated with the hardware equipment characteristics is constructed, and the coverage field is configured, so that the corresponding part of the original virtual general HAL file library is replaced by the file of the agent HAL file library when the Android system domain loads the Android file library, the Android system domain can call the real Android HAL through the agent HAL file library, further a Linux operating system and an Android system can be simultaneously run on the hardware equipment based on the Android HAL, and the equipment compatibility and the hardware characteristic support degree are improved.
In one embodiment, step S2 may include:
mounting the agent HAL file library into a directory of an Android file library so that when an Android system domain initializes a HAL path, a target HAL file in the virtual general HAL file library is replaced by a HAL file of the agent HAL file library based on the configuration file; wherein the file type of the target HAL file corresponds to the HAL file type of the proxy HAL file repository.
It should be noted that the proxy HAL file library does not necessarily include all the original HAL files of the type, for example: the original Virtual general HAL file library comprises an Android Vendor HAL and an Android ODM HAL, and the agent HAL file library is mainly an ODM HAL file, so that under the configuration of a coverage field, when an Android system domain initializes a HAL path, only a target HAL file (Android HAL) of a corresponding type in the Virtual general HAL file library is replaced (covered), and other HAL files which are not replaced are still called in an original mode (namely, the HAL is accessed through the Virtual Vendor HAL).
According to the management method of the Android hybrid HAL, provided by the embodiment of the invention, the corresponding agent HAL file library is created for the specific hardware characteristics, and the target HAL file of the corresponding type in the original Virtual general HAL file library is replaced, so that part of HALs can be directly accessed to the HAL of the real hardware, and a mode of accessing the HAL through the Virtual Vendor HAL is replaced, thereby not only ensuring the equipment compatibility of an Andorid system, but also realizing the support of the Andriod system on the hardware characteristics of the equipment, the equipment type information and the like. In addition, by differentiating the HAL types for configuration and only replacing the HAL of the corresponding type, the complexity of the implementation process is effectively simplified, and the reliability of the system is improved.
In one embodiment, the method for managing an Android hybrid HAL may further include the steps of:
and S3, utilizing a preset mutual exclusion mechanism or a preset time-sharing multiplexing mechanism to carry out calling coordination management on the process of calling HAL by the agent HAL file library and the Linux system together.
It should be noted that the problem of call conflict exists when Android Domain calls Proxy ODM HAL and Linux system directly calls Android Vendor HAL and ODM HAL, and the embodiment of the present invention uses a mutual exclusion or time division multiplexing mechanism to call and control the problem, so as to overcome the call conflict problem and effectively improve the stability and reliability of system operation.
In one embodiment, the creating a proxy HAL file library based on hardware device characteristics comprises:
and constructing a HAL calling interface according to the hardware equipment characteristics, and creating the proxy HAL file library based on the HAL calling interface.
In the embodiment of the invention, the creation process of the agent HAL file library firstly constructs an HAL calling interface according to the characteristics of hardware equipment, the agent HAL file library is created on the basis of the HAL calling interface, and the Android Domain directly calls an Android HAL layer through the agent HAL file library in the form of the interface, so that the complexity of implementation can be simplified.
In one embodiment, the adding a coverage field to the configuration file of the proxy HAL file library specifically includes:
an override field is added to the manifest file in the proxy HAL file repository.
In the embodiment of the present invention, the manner of adding the overlay field to the configuration file of the proxy HAL file library may be: and adding an override field in a manifest file of the proxy HAL file library. It can be understood that, when the Android Domain is started, according to the VINTF mechanism, the manifest file of the odm and vendor path is scanned and is subjected to relevant merging. Since all files of the proxy HAL file library are configured with overrides, the corresponding HALs of the Virtual Vendor are overwritten. Therefore, the Android system domain can call the real Android HAL through the agent HAL file library, further a Linux operating system and an Android system can be simultaneously operated on hardware equipment based on the Android HAL, and equipment compatibility and hardware characteristic support degree are improved.
In one embodiment, the HAL-file in the proxy HAL-file repository is an ODM HAL-file. Further, the mounting the proxy HAL file library into a directory of an Android file library specifically includes:
and mounting the agent HAL file library into an odm catalogue of an Android file library.
In the embodiment of the present invention, the file in the proxy HAL file library is an ODM HAL file associated with the device characteristics, wherein the proxy HAL file library is mounted into an ODM directory of an Android file library when mounted. By configuring the ODM HAL file and mounting the ODM HAL file to a corresponding ODM directory, when the Android Domain is started, the manifest file of the ODM and vendor paths can be scanned according to a VINTF mechanism, and relevant combination is performed. Since all files of the proxy HAL file library are configured with overrides, the corresponding HALs of the Virtual Vendor are overwritten. Therefore, the Android system domain can call the real Android HAL through the agent HAL file library, further can run a Linux operating system and an Android system on hardware equipment based on the Android HAL at the same time, and improves equipment compatibility and hardware characteristic support degree.
Based on the above scheme, in order to better understand the management method of the Android hybrid HAL provided by the embodiment of the present invention, the following specific examples are listed for detailed description:
for ease of reading, the terms in the text are explained first:
HAL: hardware Abstract Layer, Hardware abstraction Layer;
android Domain: representing an Android system domain running on a Linux-based system;
VINTF: the Android system mechanism, vector Interface object, refers to one of Android 8.0 mechanisms for separating system and vector partitions, and is used for checking whether system and vector dependencies are matched.
Vendor HAL: a general vendor HAL based on a certain chip provided by a general chip manufacturer;
ODM HAL: typically ODM manufacturers are based on HALs for specific devices of a certain chip.
As shown in fig. 2, the specific implementation process of the embodiment of the present invention is as follows:
1. first, as with the common Linux operating Android system, a complete set of Virtual HAL's is installed into the vendor directory of the Android Domain file system. Thus Android Domain is packaged into a set of general Virtual Vendor HAL.
2. A set of device-dependent (created based on hardware device characteristics) Proxy ODM HAL file libraries is created through a Linux system. The Proxy ODM HAL can forward calls to real Hardware Android Vendor HAL and ODM HAL after receiving a call request.
Meanwhile, the Proxy ODM HAL can also solve the conflict problem when the Android Domain calls the Proxy ODM HAL and the Linux system directly calls the Android Vendor HAL and the ODM HAL through a mutual exclusion or time-sharing multiplexing mechanism.
In addition, in the manifest file of the Proxy ODM HAL, all HALs are set to an override configuration.
3. After the Linux is prepared for the Android Domain Proxy ODM HAL, the Proxy ODM HAL mount is mounted to the ODM directory of the Android file system.
4. When the Android Domain is started, according to a VINTF mechanism, the model files of the odm and vendor paths are scanned, and the files are combined in a related mode. Since the Proxy ODM HAL in the ODM path is always over-ride, the corresponding HAL of the Virtual Vendor is overwritten.
Through the steps, as long as the Proxy ODM HAL directly accesses the HAL of the real hardware, the corresponding standard Android Virtual Vendor HAL can be replaced to carry out the HAL access. Therefore, the HAL mixing mechanism of the Android Domian can ensure the general compatibility of the Android Domain and can realize the support for specific hardware.
The following describes the management system of the Android hybrid HAL provided by the present invention, and the management system of the Android hybrid HAL described below and the management method of the Android hybrid HAL described above may be referred to in correspondence.
Referring to fig. 3, an embodiment of the present invention provides a management system of an Android hybrid HAL, including:
the file configuration module 1 is used for creating a proxy HAL file library based on hardware equipment characteristics and adding a coverage field to a configuration file of the proxy HAL file library;
and the file mounting module 2 is used for mounting the agent HAL file library into a directory of an Android file library so as to enable the Android system domain to cover and combine the agent HAL file library and the original virtual general HAL file library based on the configuration file when the HAL path is initialized.
In one embodiment, the file mount module 2 is specifically configured to:
mounting the agent HAL file library into a directory of an Android file library so that when an Android system domain initializes a HAL path, a target HAL file in the virtual general HAL file library is replaced by a HAL file of the agent HAL file library based on the configuration file; wherein the file type of the target HAL file corresponds to the HAL file type of the proxy HAL file repository.
In one embodiment, the method for managing an Android hybrid HAL further comprises:
and the calling management module is used for carrying out calling coordination management on the process of calling the HAL by the agent HAL file library and the Linux system together by utilizing a preset mutual exclusion mechanism or a preset time-sharing multiplexing mechanism.
In an embodiment, the file configuration module 1 is specifically configured to:
and constructing a HAL calling interface according to the hardware equipment characteristics, and creating the proxy HAL file library based on the HAL calling interface.
In an embodiment, the file configuration module 1 is further specifically configured to:
and adding an override field in a manifest file of the proxy HAL file library.
In one embodiment, the HAL-file in the proxy HAL-file repository is an ODM HAL-file.
In one embodiment, the mounting the HAL file library to a directory of an Android file library specifically includes:
and mounting the agent HAL file library into an odm catalogue of an Android file library.
It can be understood that the above system item embodiments correspond to the method item embodiments of the present application, and the management system of the Android hybrid HAL provided in the embodiments of the present application can implement the management method of the Android hybrid HAL provided in any one of the method item embodiments of the present application.
The working principle of the management system of the Android hybrid HAL in the embodiment of the present application corresponds to the management method of the Android hybrid HAL in the embodiment described above, and details are not repeated here.
Fig. 4 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 4: a processor (processor)410, a communication Interface 420, a memory (memory)430 and a communication bus 440, wherein the processor 410, the communication Interface 420 and the memory 430 are communicated with each other via the communication bus 440. The processor 410 may call logic instructions in the memory 430 to perform the method of managing the Android hybrid HAL, the method comprising: creating a proxy HAL file library based on hardware equipment characteristics, and adding a coverage field to a configuration file of the proxy HAL file library; and mounting the agent HAL file library into a directory of an Android file library so that the Android system domain covers and merges the agent HAL file library and the original virtual general HAL file library based on the configuration file when the HAL path is initialized.
In addition, the logic instructions in the memory 430 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, the present invention further provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, which when executed by a computer, enable the computer to perform the method for managing an Android hybrid HAL provided in the above embodiments, the method comprising: creating a proxy HAL file library based on hardware equipment characteristics, and adding a coverage field to a configuration file of the proxy HAL file library; and mounting the agent HAL file library into a directory of an Android file library so that the Android system domain covers and merges the agent HAL file library and the original virtual general HAL file library based on the configuration file when the HAL path is initialized.
In yet another aspect, the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, the computer program being implemented by a processor to perform the method for managing an Android hybrid HAL provided in the foregoing embodiments, the method including: creating a proxy HAL file library based on hardware equipment characteristics, and adding a coverage field to a configuration file of the proxy HAL file library; and mounting the agent HAL file library into a directory of an Android file library so that the Android system domain covers and merges the agent HAL file library and the original virtual general HAL file library based on the configuration file when the HAL path is initialized.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (8)

1. A management method of an Android hybrid HAL (HAL), wherein a Linux system and an Android system run on hardware equipment of the Android hybrid HAL simultaneously, the method comprises the following steps:
creating a proxy HAL file library based on hardware equipment characteristics, and adding a coverage field to a configuration file of the proxy HAL file library;
mounting the agent HAL file library into a directory of an Android file library so that when an Android system domain initializes a HAL path, replacing a target HAL file in an original virtual general HAL file library with a HAL file of the agent HAL file library based on the configuration file; wherein the file type of the target HAL file corresponds to the HAL file type of the proxy HAL file repository;
and calling, coordinating and managing the process of calling HAL by the agent HAL file library and the Linux system together by utilizing a preset mutual exclusion mechanism or a preset time-sharing multiplexing mechanism.
2. The method for managing an Android hybrid HAL of claim 1, wherein the creating a proxy HAL repository based on hardware device characteristics comprises:
and constructing a HAL calling interface according to the hardware equipment characteristics, and creating the proxy HAL file library based on the HAL calling interface.
3. The method for managing an Android hybrid HAL of claim 1, wherein the adding of the overlay field to the configuration file of the proxy HAL repository is specifically:
and adding an override field in a manifest file of the proxy HAL file library.
4. The method for managing an Android hybrid HAL as claimed in claim 1, characterized in that the HAL file in the proxy HAL file repository is an ODM HAL file.
5. The method for managing an Android hybrid HAL of claim 1, wherein the mounting of the proxy HAL repository into a directory of an Android repository is specifically:
and mounting the agent HAL file library into an odm catalogue of an Android file library.
6. A management system of an Android hybrid HAL is characterized in that a Linux system and an Android system run on hardware equipment of the Android hybrid HAL simultaneously, and the management system comprises:
the file configuration module is used for creating an agent HAL file library based on the characteristics of hardware equipment and adding a coverage field to the configuration file of the agent HAL file library;
the file mounting module is used for mounting the agent HAL file library into a directory of an Android file library so as to enable an Android system domain to replace a target HAL file in an original virtual general HAL file library with the HAL file of the agent HAL file library based on the configuration file when an HAL path is initialized; wherein the file type of the target HAL file corresponds to the HAL file type of the proxy HAL file repository;
and the calling management module is used for carrying out calling coordination management on the process of calling the HAL by the agent HAL file library and the Linux system together by utilizing a preset mutual exclusion mechanism or a preset time-sharing multiplexing mechanism.
7. An electronic device comprising a memory, a processor and a computer program stored on said memory and executable on said processor, wherein said processor when executing said program performs the steps of the method for managing an Android hybrid HAL as claimed in any one of claims 1 to 5.
8. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program, when being executed by a processor, is adapted to carry out the steps of the method for managing an Android hybrid HAL as defined in any one of claims 1 to 5.
CN202111427763.0A 2021-11-29 2021-11-29 Management method and system of Android hybrid HAL Active CN113835768B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111427763.0A CN113835768B (en) 2021-11-29 2021-11-29 Management method and system of Android hybrid HAL

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111427763.0A CN113835768B (en) 2021-11-29 2021-11-29 Management method and system of Android hybrid HAL

Publications (2)

Publication Number Publication Date
CN113835768A CN113835768A (en) 2021-12-24
CN113835768B true CN113835768B (en) 2022-08-16

Family

ID=78971780

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111427763.0A Active CN113835768B (en) 2021-11-29 2021-11-29 Management method and system of Android hybrid HAL

Country Status (1)

Country Link
CN (1) CN113835768B (en)

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103514069A (en) * 2012-11-22 2014-01-15 Tcl集团股份有限公司 Method and system for testing APIs of HAL of Android system
CN103970559B (en) * 2013-02-05 2017-09-29 北京壹人壹本信息科技有限公司 A kind of equipment loading method and device based on android system
CN103353839A (en) * 2013-06-07 2013-10-16 杭州竞天数码科技有限公司 Universal serial device communication module based on Android system
CN105373415A (en) * 2014-08-28 2016-03-02 中兴通讯股份有限公司 Virtualization based application storage method, execution method, apparatus and system
CN105808320B (en) * 2016-03-11 2018-12-04 四川安嵌科技有限公司 Equipment virtualization system and method based on L inux container
CN106598602A (en) * 2016-12-16 2017-04-26 中南大学 Method supporting multi-operation system loading and loader
CN108762815B (en) * 2018-05-16 2021-01-01 北京麟卓信息科技有限公司 Method for realizing Android running environment based on non-virtualization system architecture
CN111026449B (en) * 2019-12-10 2024-04-19 深圳市智多互动科技有限公司 Method for running virtual android system on android system
CN112099923B (en) * 2020-11-17 2021-02-05 江苏北弓智能科技有限公司 Android virtualization system running on Linux operating system

Also Published As

Publication number Publication date
CN113835768A (en) 2021-12-24

Similar Documents

Publication Publication Date Title
US9983891B1 (en) Systems and methods for distributing configuration templates with application containers
CN114077462A (en) Method, device, equipment and medium for calling Android HIDL interface by software operating system
CN108121594B (en) Process management method and device
CN108829588B (en) Processing method, deployment system and device for testing application program
CN109542506B (en) System capable of flexibly configuring interface and rapidly delivering service
CN114077460B (en) Method, equipment and medium for calling Android dynamic library HAL interface by software operating system
CN111897623B (en) Cluster management method, device, equipment and storage medium
US9507748B2 (en) Platform runtime abstraction
CN104731622B (en) The loading method of a kind of application program, device and mobile terminal
CN113254237A (en) Front-end application calling method, device, storage medium and program product
CN104750528A (en) Management method and device for components in Android program
CN113448740B (en) Power management method and device for operating system
CN113835768B (en) Management method and system of Android hybrid HAL
CN114036524A (en) Electronic equipment
CN113849243A (en) Network plane acceleration method and system
US12050928B2 (en) Method and apparatus of providing a function as a service (faas) deployment of an application
CN109388770B (en) Web page generation method and device
CN114880073A (en) Cloud application engine deployment method, device, equipment and storage medium for shielding Web framework for user
CN113986858B (en) Linux compatible android system shared file operation method and device
CN108804236B (en) AIDL file sharing method and system
CN115562807A (en) Method and system for mounting dynamic equipment for android container in kubernets environment
CN109918147B (en) Expansion method and device for drive under OpenStack and electronic equipment
CN111026452B (en) Method and system for remote 32-bit process injection of 64-bit process
CN114679491A (en) Micro front-end service application method and device, storage medium and electronic equipment
CN114416219B (en) System function calling method, device, electronic equipment and readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220505

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant after: BEIJING BYTEDANCE NETWORK TECHNOLOGY Co.,Ltd.

Address before: 2005, floor 2, No. 39, West Street, Haidian District, Beijing 100080

Applicant before: Beijing jingling Information System Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant