WO2023082716A1 - 在Linux系统中操作安卓应用的方法、装置和设备 - Google Patents

在Linux系统中操作安卓应用的方法、装置和设备 Download PDF

Info

Publication number
WO2023082716A1
WO2023082716A1 PCT/CN2022/108670 CN2022108670W WO2023082716A1 WO 2023082716 A1 WO2023082716 A1 WO 2023082716A1 CN 2022108670 W CN2022108670 W CN 2022108670W WO 2023082716 A1 WO2023082716 A1 WO 2023082716A1
Authority
WO
WIPO (PCT)
Prior art keywords
android
file package
android application
request
system service
Prior art date
Application number
PCT/CN2022/108670
Other languages
English (en)
French (fr)
Inventor
王锐
Original Assignee
北京字节跳动网络技术有限公司
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 北京字节跳动网络技术有限公司 filed Critical 北京字节跳动网络技术有限公司
Publication of WO2023082716A1 publication Critical patent/WO2023082716A1/zh

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/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/62Uninstallation
    • 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/4406Loading of operating system

Definitions

  • the present disclosure relates to the field of computer technology, in particular to the field of Linux and Android compatible technology.
  • the present disclosure provides a method, device, electronic device, storage medium, computer program product and computer program for operating an Android application in a Linux system.
  • a method for operating an Android application in a Linux system including:
  • a request to operate an Android application is detected in the Linux system, and the Android system service has been started in the Linux system;
  • a device for operating Android applications in a Linux system including:
  • the detection module is used to detect the request for operating the Android application in the Linux system, and the Android system service has been started in the Linux system;
  • An acquisition module configured to acquire the file package information of the Android application according to the request
  • a triggering module configured to send the file package information to the Android system service, and trigger the Android system service to perform operations on the Android application according to the file package information.
  • an electronic device including:
  • the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the method in any embodiment of the present disclosure.
  • a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to execute the method in any embodiment of the present disclosure.
  • a computer program product including a computer program, the computer program implements the method in any embodiment of the present disclosure when executed by a processor.
  • a computer program implements the method in any embodiment of the present disclosure when executed by a processor.
  • the Android system service is started in the Linux system, and when a request to operate the Android application is detected, the file package information of the Android application is obtained, and the file package information is sent to the Android system service to trigger its According to the information of the file package, the operation for the Android application can be performed, and the operation of the Android application in the Linux system, such as installation or uninstallation, can be realized without the simultaneous operation of the Linux and Android dual systems. Since there is no need for cross-system data interaction, the memory consumption of the Linux system is saved, the operating performance is improved, and the efficiency of operating Android applications is improved.
  • FIG. 1 is a schematic diagram of a method for operating an Android application in a Linux system according to an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of a method for operating an Android application in a Linux system according to an embodiment of the present disclosure
  • Fig. 3a is a schematic diagram of a dual system framework in the prior art according to an embodiment of the present disclosure
  • Fig. 3b is a schematic diagram of a Linux system framework including an Android container according to an embodiment of the present disclosure
  • FIG. 4 is a schematic diagram of a file structure in a Linux system according to an embodiment of the present disclosure
  • FIG. 5 is a schematic flow diagram of installing an application in a Linux system according to an embodiment of the present disclosure
  • FIG. 6 is a schematic flow diagram of uninstalling an application in a Linux system according to an embodiment of the present disclosure
  • Fig. 7 is a device block diagram for operating an Android application in a Linux system according to an embodiment of the present disclosure
  • FIG. 8 is a block diagram of an electronic device for implementing the method for operating an Android application in a Linux system according to an embodiment of the present disclosure.
  • the technical solution of the embodiment of the present disclosure is applied to the Linux system, and the Android system runs in the host Linux system in the form of a container, and the user can directly perform various operations on the Android application in the Linux system, including but not limited to: installing or Uninstall etc.
  • the file package information of the Android application is sent to the Android system service, thereby triggering it to perform an operation for the Android application, avoiding Linux and Android Cross-system data interaction saves memory consumption of the Linux system, improves operating performance, and improves the efficiency of operating Android applications.
  • FIG. 1 is a schematic diagram of a method for operating an Android application in a Linux system in an embodiment of the present disclosure. As shown in Figure 1, the method includes:
  • S101 A request to operate an Android application is detected in the Linux system, and the Android system service has been started in the Linux system;
  • S103 Send the file package information to the Android system service, and trigger the Android system service to perform an operation on the Android application according to the file package information.
  • the Android system service refers to Service, one of the four major components of the Android system. It is an Android component that handles long-term tasks in the background and does not provide interface rendering. It is a solution for running programs in the background in Android. It's ideal for long-running tasks that don't require user interaction. The operation of the service does not depend on any user interface. Even if the program is switched to the background or the user opens another application, the service can still run normally.
  • step S103 may include:
  • PKMS Package Manager Service, package management service
  • Android system service Send the file package information to the PKMS (Package Manager Service, package management service) in the Android system service, and trigger the PKMS to perform operations for the Android application according to the file package information.
  • PKMS Package Manager Service, package management service
  • PKMS is one of the core services in the Android system, and manages all work related to Package, such as application installation, application uninstallation, application information query, and the like.
  • the file package information is sent to the Android system service, including:
  • step S102 may include:
  • the path information of the installation file package of the Android application is acquired according to the request.
  • step S102 may include:
  • the path information of the uninstall file package of the Android application is acquired according to the request.
  • the above method may also include:
  • both the Linux system and the Android system service have access rights to the storage directory of the above-mentioned Android application file package in the Linux system.
  • the above method provided by the embodiments of the present disclosure can realize the operation of Android applications in the Linux system, such as installation or uninstallation, without the simultaneous operation of the Linux and Android systems. Since there is no need for cross-system data interaction, it not only reduces the complexity of use, but also saves the memory consumption of the Linux system, improves the operating performance, speeds up the operation, and improves the efficiency of operating Android applications.
  • FIG. 2 is a schematic diagram of a method for operating an Android application in a Linux system in an embodiment of the present disclosure. As shown in Figure 2, the method includes:
  • S201 Start the Android container in the Linux system in advance, start the Android system service in the Android container, and the Android system service includes PKMS;
  • the Android system-related files are stored in a partition of the Linux system through a container, and are mounted under /var/lib/lxc/android of the Linux file system.
  • Fig. 3a is a schematic diagram of a dual system framework in the prior art according to an embodiment of the present disclosure.
  • the Linux system and the Android system run simultaneously in one device, and the two systems communicate between the two systems, which requires cross-system data interaction to achieve communication, which has high complexity and slow running speed, resulting in The operating performance of the system is reduced, and the operating efficiency of the Android application is not high.
  • Fig. 3b is a schematic diagram of a Linux system framework including an Android container according to an embodiment of the present disclosure.
  • Android can be started in the form of a container in the Linux system.
  • the advantage of this method is that there is no need to run the dual system of Linux and Android simultaneously, but the Android service started in the Android container To achieve the corresponding functions, the complexity of the system is reduced, the operation is more convenient and fast, and the operation efficiency of the Android application is also improved.
  • the file package of the Android application refers to APK, which is an application package file format used by the Android operating system, and is used for distributing and installing mobile applications and middleware.
  • S204 Send the file package information to the PKMS through IPC (Inter-Process Communication, inter-process communication), triggering the PKMS to perform an operation for the Android application according to the file package information.
  • IPC Inter-Process Communication, inter-process communication
  • IPC refers to spreading or exchanging information between different processes.
  • the process address spaces under the IPC mechanism are independent of each other, each process has a different user address space, and the processes cannot access each other, and data exchange must be performed through the kernel.
  • Inter-process communication usually uses the following communication methods: half-duplex Unix pipes, FIFOs named pipes, message queues (Message Queue), semaphores (Semaphore), shared memory, sockets (Socket) and so on. Since the file manager and PKMS are two different processes, data transfer between processes needs to use IPC inter-process communication.
  • step S203 may include one of the following:
  • the path information of the uninstall file package of the Android application is obtained according to the request.
  • both the Linux system and the Android system service have access rights to the storage directory of the above-mentioned Android application file package in the Linux system.
  • FIG. 4 is a schematic diagram of a file structure in a Linux system according to an embodiment of the present disclosure.
  • the file package of the Android application can be set to be stored in a specified directory in the Linux system, such as can be set to be stored in usr, etc, lib, media, mnt, proc, var as required , home and other directories, the details are not limited, as long as both the Linux system and the Android system service have the permission to access the above directories.
  • FIG. 5 is a schematic flow diagram of installing an application in a Linux system according to an embodiment of the present disclosure. As shown in Figure 5, in an implementation manner, the process of installing an application in a Linux system includes:
  • S501 The file manager of the Linux system detects a request for installing an application
  • S502 Determine whether the application requested to be installed is an Android application, and if so, execute S503; otherwise, execute S506;
  • the clicked file is an APK format file, and if so, it is determined that the requested installation is an Android application, otherwise it is determined that the requested installation is a Linux application.
  • the complete directory of the above APK file can be obtained to obtain the path information of the installation file package.
  • S504 Send the path information of the installation file package to the started Android PKMS through IPC;
  • Fig. 6 is a schematic flow chart of uninstalling an application in a Linux system according to an embodiment of the present disclosure. As shown in Figure 6, in an implementation manner, the process of uninstalling an application in a Linux system includes:
  • S601 A request to uninstall an application is detected in the Linux system
  • S602 Determine whether the application requesting to be uninstalled is an Android application, and if so, execute S603; otherwise, execute S606;
  • S604 Send the path information of the uninstall file package to the started Android PKMS through IPC;
  • the above method provided by the embodiments of the present disclosure can realize the operation of Android applications in the Linux system, such as installation or uninstallation, without the simultaneous operation of the Linux and Android systems. Since there is no need for cross-system data interaction, it not only reduces the complexity of use, but also saves the memory consumption of the Linux system, improves the operating performance, speeds up the operation, and improves the efficiency of operating Android applications.
  • Fig. 7 is a block diagram of a device for operating an Android application in a Linux system according to an embodiment of the present disclosure. As shown in Figure 7, the device includes:
  • the detection module 701 is used to detect the request to operate the Android application in the Linux system, and the Android system service has been started in the Linux system;
  • the trigger module 703 is configured to send the file package information to the Android system service, and trigger the Android system service to perform an operation for the Android application according to the file package information.
  • the trigger module 703 can be used to:
  • the file package information is sent to the package management service PKMS in the Android system service, and the PKMS is triggered to perform an operation for the Android application according to the file package information.
  • the triggering module 703 sends the file package information to the Android system service through inter-process communication.
  • the acquisition module 702 can be used to:
  • the path information of the installation file package of the Android application is acquired according to the request.
  • the acquisition module 702 can be used to:
  • the path information of the uninstall file package of the Android application is obtained according to the request.
  • the above-mentioned device may also include:
  • the initialization module is used to start the Android container in the Linux system in advance, start the Android system service in the Android container, and the Android system service includes the package management service PKMS.
  • both the Linux system and the Android system service have access rights to the storage directory of the above-mentioned Android application file package in the Linux system.
  • the above-mentioned device provided by the embodiments of the present disclosure can operate Android applications in the Linux system, such as installing or uninstalling, without the simultaneous operation of the Linux and Android systems. Since there is no need for cross-system data interaction, it not only reduces the complexity of use, but also saves the memory consumption of the Linux system, improves the operating performance, speeds up the operation, and improves the efficiency of operating Android applications.
  • the present disclosure also provides an electronic device, a readable storage medium, a computer program product, and a computer program.
  • FIG. 8 shows a schematic block diagram of an example electronic device 800 that may be used to implement embodiments of the present disclosure.
  • Electronic device is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers.
  • Electronic devices may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smart phones, wearable devices, and other similar computing devices.
  • the components shown herein, their connections and relationships, and their functions, are by way of example only, and are not intended to limit implementations of the disclosure described and/or claimed herein.
  • the device 800 includes a computing unit 801 that can be loaded into a random access memory (Random Access Memory, RAM) according to a computer program stored in a read-only memory (Read-Only Memory, ROM) 802 or from a storage unit 808. ) 803 to perform various appropriate actions and processes. In the RAM 803, various programs and data necessary for the operation of the device 800 can also be stored.
  • the computing unit 801, ROM 802, and RAM 803 are connected to each other through a bus 804.
  • An input/output (Input/Output, I/O) interface 805 is also connected to the bus 804 .
  • the I/O interface 805 includes: an input unit 806, such as a keyboard, a mouse, etc.; an output unit 807, such as various types of displays, speakers, etc.; a storage unit 808, such as a magnetic disk, an optical disk, etc. ; and a communication unit 809, such as a network card, a modem, a wireless communication transceiver, and the like.
  • the communication unit 809 allows the device 800 to exchange information/data with other devices over a computer network such as the Internet and/or various telecommunication networks.
  • the computing unit 801 may be various general-purpose and/or special-purpose processing components having processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphic Processing Unit, GPU), various dedicated artificial intelligence (Artificial Intelligence, AI) computing chips, various operating The computing unit of the machine learning model algorithm, the digital signal processor (Digital Singnal Processor, DSP), and any appropriate processor, controller, microcontroller, etc.
  • the computing unit 801 executes the various methods and processes described above. For example, in some embodiments, the methods described above may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 808 .
  • part or all of the computer program may be loaded and/or installed on the device 800 via the ROM 802 and/or the communication unit 809.
  • a computer program is loaded into RAM 803 and executed by computing unit 801, one or more steps of the methods described above may be performed.
  • the computing unit 801 may be configured to execute the above-mentioned method in any other appropriate way (for example, by means of firmware).
  • programmable processor can be special-purpose or general-purpose programmable processor, can receive data and instruction from storage system, at least one input device, and at least one output device, and transmit data and instruction to this storage system, this at least one input device, and this at least one output device an output device.
  • Program codes for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special purpose computer, or other programmable data processing devices, so that the program codes, when executed by the processor or controller, make the functions/functions specified in the flow diagrams and/or block diagrams Action is implemented.
  • the program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device.
  • a machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium.
  • a machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing.
  • machine-readable storage media would include one or more wire-based electrical connections, portable computer discs, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (Erasable Programmable Read-Only Memory, EPROM or flash memory), optical fiber, portable compact disk read-only memory (Portable Compact Disk Read-Only Memory, CD-ROM), optical storage device, magnetic storage device, or any of the above any suitable combination.
  • the systems and techniques described herein can be implemented on a computer having a display device (e.g., Cathode Ray Tube, CRT (Cathode Ray Tube) or LCD (Liquid Crystal Display (liquid crystal display) monitor); and a keyboard and pointing device (such as a mouse or a trackball) through which a user can provide input to a computer.
  • a display device e.g., Cathode Ray Tube, CRT (Cathode Ray Tube) or LCD (Liquid Crystal Display (liquid crystal display) monitor
  • a keyboard and pointing device such as a mouse or a trackball
  • Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and can be in any form (including Acoustic input, speech input or, tactile input) to receive input from the user.
  • the systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., as a a user computer having a graphical user interface or web browser through which a user can interact with embodiments of the systems and techniques described herein), or including such backend components, middleware components, Or any combination of front-end components in a computing system.
  • the components of the system can be interconnected by any form or medium of digital data communication, eg, a communication network. Examples of communication networks include: Local Area Network (LAN), Wide Area Network (Wide Area Network, WAN), and the Internet.
  • a computer system may include clients and servers.
  • Clients and servers are generally remote from each other and typically interact through a communication network.
  • the relationship of client and server arises by computer programs running on the respective computers and having a client-server relationship to each other.
  • the server can be a cloud server, a server of a distributed system, or a server combined with a blockchain.
  • steps may be reordered, added or deleted using the various forms of flow shown above.
  • each step described in the present disclosure may be executed in parallel, sequentially, or in a different order, as long as the desired result of the technical solution disclosed in the present disclosure can be achieved, no limitation is imposed herein.

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)

Abstract

本公开提供了一种在Linux系统中操作安卓应用的方法、装置和设备,涉及计算机技术领域。该方法包括:在Linux系统中检测到操作安卓应用的请求,所述Linux系统中已启动安卓系统服务;根据所述请求获取所述安卓应用的文件包信息;将所述文件包信息发送给所述安卓系统服务,触发所述安卓系统服务根据所述文件包信息执行针对所述安卓应用的操作。本公开技术方案无需Linux和Android双系统同步运行,就能实现在Linux系统中操作安卓应用,无需跨系统的数据交互,节省了Linux系统的内存消耗,提升了运行性能,提高了操作安卓应用的效率。

Description

在Linux系统中操作安卓应用的方法、装置和设备
本申请要求于2021年11月11日提交中国专利局、申请号为202111335023.4、申请名称为“在Linux系统中操作安卓应用的方法、装置和设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本公开涉及计算机技术领域,尤其涉及Linux和Android兼容技术领域。
背景技术
目前,在Linux系统中安装和卸载Android APK(Application Package,应用程序包)时,普遍采用Linux和Android双系统同步运行的方式,通过Linux系统到Android系统的切换,才能完成安卓应用程序包的安装和卸载。
由于上述方案中涉及跨系统的数据交互,不仅交互复杂,而且对系统的内存消耗和运行性能上都造成了一定的影响,导致安装和卸载的效率降低。
发明内容
本公开提供了一种在Linux系统中操作安卓应用的方法、装置、电子设备、存储介质、计算机程序产品和计算机程序。
根据本公开的一方面,提供了一种在Linux系统中操作安卓应用的方法,包括:
在Linux系统中检测到操作安卓应用的请求,所述Linux系统中已启动安卓系统服务;
根据所述请求获取所述安卓应用的文件包信息;
将所述文件包信息发送给所述安卓系统服务,触发所述安卓系统服务根据所述文件包信息执行针对所述安卓应用的操作。
根据本公开的另一方面,提供了一种在Linux系统中操作安卓应用的装置,包括:
检测模块,用于在Linux系统中检测到操作安卓应用的请求,所述Linux系统中已启动安卓系统服务;
获取模块,用于根据所述请求获取所述安卓应用的文件包信息;
触发模块,用于将所述文件包信息发送给所述安卓系统服务,触发所述安卓系统服务根据所述文件包信息执行针对所述安卓应用的操作。
根据本公开的另一方面,提供了一种电子设备,包括:
至少一个处理器;以及
与所述至少一个处理器通信连接的存储器;其中,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行本公开任一实施例中的方法。
根据本公开的另一方面,提供了一种存储有计算机指令的非瞬时计算机可读存储介质,其中,所述计算机指令用于使所述计算机执行本公开任一实施例中的方法。
根据本公开的另一方面,提供了一种计算机程序产品,包括计算机程序,所述计算机程序在被处理器执行时实现本公开任一实施例中的方法。
根据本公开的另一方面,提供了一种计算机程序,所述计算机程序在被处理器执行时实现本公开任一实施例中的方法。
本公开实施例的技术方案,通过在Linux系统中启动安卓系统服务,并在检测到操作安卓应用的请求时,获取安卓应用的文件包信息,将该文件包信息发送给安卓系统服务,触发其根据文件包信息执行针对安卓应用的操作,无需Linux和Android双系统同步运行,就能实现在Linux系统中操作安卓应用,如安装或卸载等等。由于无需跨系统的数据交互,节省了Linux系统的内存消耗,提升了运行性能,提高了操作安卓应用的效率。
应当理解,本部分所描述的内容并非旨在标识本公开的实施例的关键或重要特征,也不用于限制本公开的范围。本公开的其它特征将通过以下的说明书而变得容易理解。
附图说明
附图用于更好地理解本方案,不构成对本公开的限定。其中:
图1是根据本公开一实施例在Linux系统中操作安卓应用的方法示意图;
图2是根据本公开一实施例在Linux系统中操作安卓应用的方法示意图;
图3a是根据本公开一实施例现有技术双系统框架示意图;
图3b是根据本公开一实施例包含安卓容器的Linux系统框架示意图;
图4是根据本公开一实施例Linux系统中的文件结构示意图;
图5是根据本公开一实施例在Linux系统中安装应用的流程示意图;
图6是根据本公开一实施例在Linux系统中卸载应用的流程示意图;
图7是根据本公开一实施例在Linux系统中操作安卓应用的装置框图;
图8是用来实现本公开实施例的在Linux系统中操作安卓应用的方法的电子设备的框图。
具体实施方式
以下结合附图对本公开的示范性实施例做出说明,其中包括本公开实施例的各种细节以助于理解,应当将它们认为仅仅是示范性的。因此,本领域普通技术人员应当认识到,可以对这里描述的实施例做出各种改变和修改,而不会背离本公开的范围和精神。同样,为了清楚和简明,以下的描述中省略了对公知功能和结构的描述。
本公开实施例的技术方案应用于Linux系统中,且Android系统以容器的方式在主机Linux系统中运行,用户可以直接在Linux系统中对安卓的应用执行各种操作,包括但不限于:安装或卸载等等。通过在Linux系统中启动安卓系统服务,并在有操作安卓应用的请求时,将该安卓应用的文件包信息发送给安卓系统服务,从而触发其执行针对该安卓应用的操作,避免了Linux和Android跨系统的数据交互,节省了Linux系统的内存消耗,提升了运行性能,提高了操作安卓应用的效率。
图1为本公开一实施例中在Linux系统中操作安卓应用的方法示意图。如图1所示,该方法包括:
S101:在Linux系统中检测到操作安卓应用的请求,该Linux系统中已启动安卓系统服务;
S102:根据上述请求获取安卓应用的文件包信息;
S103:将该文件包信息发送给安卓系统服务,触发安卓系统服务根据该文件包信息执行针对上述安卓应用的操作。
本公开实施例中,安卓系统服务是指安卓系统的四大组件之一Service。它是一个专门在后台处理长时间任务的Android组件,不提供界面呈现,是Android中实现程序后台运行的解决方案。它非常适合执行不需要和用户交互而且还要求长期运行的任务。服务的运行不依赖于任何用户界面,即使程序被切换到后台,或者用户打开了另外一个应用程序,服务仍然能够保持正常运行。
在一种实施方式中,上述步骤S103可以包括:
将文件包信息发送给安卓系统服务中的PKMS(Package Manager Service,包管理服务),触发PKMS根据文件包信息执行针对安卓应用的操作。
本公开实施例中,PKMS是Android系统中的核心服务之一,管理着所有跟Package相关的工作,比如应用安装、应用卸载或应用信息查询等等。
在一种实施方式中,将文件包信息发送给安卓系统服务,包括:
通过进程间通信将文件包信息发送给安卓系统服务。
在一种实施方式中,上述步骤S102可以包括:
若请求为安装安卓应用,则根据请求获取安卓应用的安装文件包的路径信息。
在一种实施方式中,上述步骤S102可以包括:
若请求为卸载安卓应用,则根据请求获取安卓应用的卸载文件包的路径信息。
在一种实施方式中,上述方法还可以包括:
预先在Linux系统中启动安卓容器,在安卓容器中启动安卓系统服务,安卓系统服务包括包管理服务PKMS。
在一种实施方式中,对于上述安卓应用的文件包在Linux系统中的保存目录,Linux系统和安卓系统服务均具有访问权限。
本公开实施例提供的上述方法,无需Linux和Android双系统同步运行,就能实现在Linux系统中操作安卓应用,如安装或卸载等等。由于无需跨系统的数据交互,不仅减少了使用复杂度,而且节省了Linux系统的内存消耗,提升了运行性能,运行速度加快,提高了操作安卓应用的效率。
图2为本公开一实施例中在Linux系统中操作安卓应用的方法示意图。如图2所示,该方法包括:
S201:预先在Linux系统中启动安卓容器,在安卓容器中启动安卓系统服务,该安卓系统服务包括PKMS;
其中,Android系统相关文件通过容器的方式存在Linux系统一个分区中,并且挂载到Linux文件系统的/var/lib/lxc/android下。
图3a为本公开一实施例现有技术双系统框架示意图。如图3a所示,现有技术中,在一个设备中Linux系统和Android系统同时运行,二者进行双系统间通信,需要跨系统的数据交互才能实现通信,复杂度高,运行速度慢,造成系统运行性能降低,安卓应用的操作效率也不高。
图3b为本公开一实施例包含安卓容器的Linux系统框架示意图。如图3b所示,在一种实施方式中,可以在Linux系统中以容器的方式启动Android,这种方式的好处是无需同步运行Linux和Android双系统,而是通过安卓容器中启动的安卓服务来实现相应的功能,降低了系统的复杂性,操作更方便快捷,进而也提高了安卓应用的操作效率。
S202:在Linux系统中检测到操作安卓应用的请求;
S203:根据该请求获取安卓应用的文件包信息;
本公开实施例中,安卓应用的文件包是指APK,它是Android操作系统使用的一种应用程序包文件格式,用于分发和安装移动应用及中间件。
S204:通过IPC(Inter-Process Communication,进程间通信)将文件包信息发送给PKMS,触发PKMS根据文件包信息执行针对该安卓应用的操作。
本公开实施例中,IPC是指在不同进程之间传播或交换信息。在任一种操作系统下都有相应的IPC机制。IPC机制下的进程地址空间相互独立,每个进程各自有不同的用户地址空间,进程之间不能相互访问,必须通过内核才能进行数据交换。进程间通信通常采用以下几种通信方式:半双工Unix管道、FIFOs命名管道、消息队列(Message Queue)、信号量(Semaphore)、共享内存、套接字(Socket)等等。由于文件管理器和PKMS为两个不同的进程,因此进程间传递数据需要通过IPC进程间通信的方式。
在一种实施方式中,上述步骤S203可以包括以下一种:
若上述请求为安装安卓应用,则根据该请求获取安卓应用的安装文件包的路径信息;或,
若上述请求为卸载安卓应用,则根据该请求获取安卓应用的卸载文件包的路径信息。
本公开实施例中,对于上述安卓应用的文件包在Linux系统中的保存目录,Linux系统和安卓系统服务均具有访问权限。
图4为本公开一实施例Linux系统中的文件结构示意图。如图4所示,在一种实施方式中,安卓应用的文件包可以设置存放在Linux系统中的指定目录中,如可以根据需要设置存放在usr、etc、lib、media、mnt、proc、var、home等目录中,具体不限定,只要保证Linux系统和安卓系统服务均具有访问上述目录的权限即可。
图5为本公开一实施例在Linux系统中安装应用的流程示意图。如图5所示,在一种实施方式中,在Linux系统中安装应用的流程包括:
S501:Linux系统的文件管理器检测到安装应用的请求;
示例性地,当用户点击某个目录下存放的APK文件时,检测到安装应用的请求,该目录如home目录等等。
S502:判断请求安装的应用是否为安卓应用,如果是则执行S503;否则,执行S506;
示例性地,可以判断被点击的文件是否APK格式文件,如果是则确定请求安装的是安卓应用,否则确定请求安装的是Linux应用。
S503:获取该安卓应用的安装文件包的路径信息;
示例性地,可以获取上述APK文件的完整目录,得到安装文件包的路径信息。
S504:通过IPC将该安装文件包的路径信息发送给已启动的安卓PKMS;
S505:安卓PKMS收到该文件包的路径信息后,根据该路径信息执行安装该安卓应用的流程,流程结束;
S506:确认请求安装的应用为Linux应用,运行该Linux应用的安装流程,流程结束。
图6是根据本公开一实施例在Linux系统中卸载应用的流程示意图。如图6所示,在一种实施方式中,在Linux系统中卸载应用的流程包括:
S601:在Linux系统中检测到卸载应用的请求;
示例性地,当在Linux系统中有用户在Linux桌面或应用商店点击卸载某个应用时,检测到有卸载应用的请求。
S602:判断请求卸载的应用是否为安卓应用,如果是则执行S603;否则,执行S606;
S603:获取该安卓应用的卸载文件包的路径信息;
S604:通过IPC将该卸载文件包的路径信息发送给已启动的安卓PKMS;
S605:安卓PKMS收到该文件包的路径信息后,根据该路径信息执行卸载该安卓应用的流程,流程结束;
S606:确认请求卸载的应用为Linux应用,运行该Linux应用的卸载流程,流程结束。
本公开实施例提供的上述方法,无需Linux和Android双系统同步运行,就能实现在Linux系统中操作安卓应用,如安装或卸载等等。由于无需跨系统的数据交互,不仅减少了使用复杂度,而且节省了Linux系统的内存消耗,提升了运行性能,运行速度加快,提高了操作安卓应用的效率。
图7是根据本公开一实施例中在Linux系统中操作安卓应用的装置框图。如图7所示,该装置包括:
检测模块701,用于在Linux系统中检测到操作安卓应用的请求,Linux系统中已启动安卓系统服务;
获取模块702,用于根据请求获取安卓应用的文件包信息;
触发模块703,用于将文件包信息发送给安卓系统服务,触发安卓系统服务根据文件包信息执行针对安卓应用的操作。
在一种实施方式中,触发模块703可以用于:
将文件包信息发送给安卓系统服务中的包管理服务PKMS,触发PKMS根据文件包信息执行针对安卓应用的操作。
在一种实施方式中,触发模块703具体通过进程间通信将文件包信息发送给安卓系统服务。
在一种实施方式中,获取模块702可以用于:
若请求为安装安卓应用,则根据请求获取安卓应用的安装文件包的路径信息。
在一种实施方式中,获取模块702可以用于:
若请求为卸载安卓应用,则根据请求获取安卓应用的卸载文件包的路径信息。
在一种实施方式中,上述装置还可以包括:
初始化模块,用于预先在Linux系统中启动安卓容器,在安卓容器中启动安卓系统服务,安卓系统服务包括包管理服务PKMS。
在一种实施方式中,对于上述安卓应用的文件包在Linux系统中的保存目录,Linux系统和安卓系统服务均具有访问权限。
本公开实施例提供的上述装置,无需Linux和Android双系统同步运行,就能实现在Linux系统中操作安卓应用,如安装或卸载等等。由于无需跨系统的数据交互,不仅减少了使用复杂度,而且节省了Linux系统的内存消耗,提升了运行性能,运行速度加快,提高了操作安卓应用的效率。
根据本公开的实施例,本公开还提供了一种电子设备、一种可读存储介质、一种计算机程序产品和一种计算机程序。
图8示出了可以用来实施本公开的实施例的示例电子设备800的示意性框图。电子设备旨在表示各种形式的数字计算机,诸如,膝上型计算机、台式计算机、工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其它适合的计算机。电子设备还可以表示各种形式的移动装置,诸如,个人数字处理、蜂窝电话、智能电话、可穿戴设备和其它类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不意在限制本文中描述的和/或者要求的本公开的实现。
如图8所示,设备800包括计算单元801,其可以根据存储在只读存储器(Read-Only Memory,ROM)802中的计算机程序或者从存储单元808加载到随机访问存储器(Random Access Memory,RAM)803中的计算机程序,来执行各种适当的动作和处理。在RAM 803中,还可存储设备800操作所需的各种程序和数据。计算单元801、ROM 802以及RAM 803通过总线804彼此相连。输入/输出(Input/Output,I/O)接口805也连接至总线804。
设备800中的多个部件连接至I/O接口805,包括:输入单元806,例如键盘、鼠标等;输出单元807,例如各种类型的显示器、扬声器等;存储单元808,例如磁盘、光盘 等;以及通信单元809,例如网卡、调制解调器、无线通信收发机等。通信单元809允许设备800通过诸如因特网的计算机网络和/或各种电信网络与其他设备交换信息/数据。
计算单元801可以是各种具有处理和计算能力的通用和/或专用处理组件。计算单元801的一些示例包括但不限于中央处理单元(Central Processing Unit,CPU)、图形处理单元(Graphic Processing Unit,GPU)、各种专用的人工智能(Artificial Intelligence,AI)计算芯片、各种运行机器学习模型算法的计算单元、数字信号处理器(Digital Singnal Processor,DSP)、以及任何适当的处理器、控制器、微控制器等。计算单元801执行上文所描述的各个方法和处理。例如,在一些实施例中,上述方法可被实现为计算机软件程序,其被有形地包含于机器可读介质,例如存储单元808。在一些实施例中,计算机程序的部分或者全部可以经由ROM 802和/或通信单元809而被载入和/或安装到设备800上。当计算机程序加载到RAM 803并由计算单元801执行时,可以执行上文描述的方法的一个或多个步骤。备选地,在其他实施例中,计算单元801可以通过其他任何适当的方式(例如,借助于固件)而被配置为执行上述方法。
本文中以上描述的系统和技术的各种实施方式可以在数字电子电路系统、集成电路系统、场可编程门阵列(Field-Programmable Gate Array,FPGA)、专用集成电路(Application Specific Integrated Circuit,ASIC)、专用标准产品(Application Specific Standard Product,ASSP)、芯片上系统的系统(System-on-a-chip,SOC)、负载可编程逻辑设备(Complex Programmable Logic Device,CPLD)、计算机硬件、固件、软件、和/或它们的组合中实现。这些各种实施方式可以包括:实施在一个或者多个计算机程序中,该一个或者多个计算机程序可在包括至少一个可编程处理器的可编程系统上执行和/或解释,该可编程处理器可以是专用或者通用可编程处理器,可以从存储系统、至少一个输入装置、和至少一个输出装置接收数据和指令,并且将数据和指令传输至该存储系统、该至少一个输入装置、和该至少一个输出装置。
用于实施本公开的方法的程序代码可以采用一个或多个编程语言的任何组合来编写。这些程序代码可以提供给通用计算机、专用计算机或其他可编程数据处理装置的处理器或控制器,使得程序代码当由处理器或控制器执行时使流程图和/或框图中所规定的功能/操作被实施。程序代码可以完全在机器上执行、部分地在机器上执行,作为独立软件包部分地在机器上执行且部分地在远程机器上执行或完全在远程机器或服务器上执行。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读 介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(Portable Compact Disk Read-Only Memory,CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
为了提供与用户的交互,可以在计算机上实施此处描述的系统和技术,该计算机具有:用于向用户显示信息的显示装置(例如,Cathode Ray Tube,CRT(阴极射线管)或者LCD(Liquid Crystal Display,液晶显示器)监视器);以及键盘和指向装置(例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给计算机。其它种类的装置还可以用于提供与用户的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。
可以将此处描述的系统和技术实施在包括后台部件的计算系统(例如,作为数据服务器)、或者包括中间件部件的计算系统(例如,应用服务器)、或者包括前端部件的计算系统(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或者该网络浏览器来与此处描述的系统和技术的实施方式交互)、或者包括这种后台部件、中间件部件、或者前端部件的任何组合的计算系统中。可以通过任何形式或者介质的数字数据通信(例如,通信网络)来将系统的部件相互连接。通信网络的示例包括:局域网(Local Area Network,LAN)、广域网(Wide Area Network,WAN)和互联网。
计算机系统可以包括客户端和服务器。客户端和服务器一般远离彼此并且通常通过通信网络进行交互。通过在相应的计算机上运行并且彼此具有客户端-服务器关系的计算机程序来产生客户端和服务器的关系。服务器可以是云服务器,也可以为分布式系统的服务器,或者是结合了区块链的服务器。
应该理解,可以使用上面所示的各种形式的流程,重新排序、增加或删除步骤。例如,本发公开中记载的各步骤可以并行地执行也可以顺序地执行也可以不同的次序执行,只要能够实现本公开公开的技术方案所期望的结果,本文在此不进行限制。
上述具体实施方式,并不构成对本公开保护范围的限制。本领域技术人员应该明白的是,根据设计要求和其他因素,可以进行各种修改、组合、子组合和替代。任何在本公开 的精神和原则之内所作的修改、等同替换和改进等,均应包含在本公开保护范围之内。

Claims (18)

  1. 一种在Linux系统中操作安卓应用的方法,包括:
    在Linux系统中检测到操作安卓应用的请求,所述Linux系统中已启动安卓系统服务;
    根据所述请求获取所述安卓应用的文件包信息;
    将所述文件包信息发送给所述安卓系统服务,触发所述安卓系统服务根据所述文件包信息执行针对所述安卓应用的操作。
  2. 根据权利要求1所述的方法,其中,所述将所述文件包信息发送给所述安卓系统服务,触发所述安卓系统服务根据所述文件包信息执行针对所述安卓应用的操作,包括:
    将所述文件包信息发送给所述安卓系统服务中的包管理服务PKMS,触发所述PKMS根据所述文件包信息执行针对所述安卓应用的操作。
  3. 根据权利要求1或2所述的方法,其中,所述将所述文件包信息发送给所述安卓系统服务,包括:
    通过进程间通信将所述文件包信息发送给所述安卓系统服务。
  4. 根据权利要求1-3中任一项所述的方法,其中,所述根据所述请求获取所述安卓应用的文件包信息,包括:
    若所述请求为安装安卓应用,则根据所述请求获取所述安卓应用的安装文件包的路径信息。
  5. 根据权利要求1-4中任一项所述的方法,其中,所述根据所述请求获取所述安卓应用的文件包信息,包括:
    若所述请求为卸载安卓应用,则根据所述请求获取所述安卓应用的卸载文件包的路径信息。
  6. 根据权利要求1-5中任一项所述的方法,还包括:
    预先在所述Linux系统中启动安卓容器,在所述安卓容器中启动所述安卓系统服务,所述安卓系统服务包括包管理服务PKMS。
  7. 根据权利要求1-6中任一项所述的方法,其中,对于所述安卓应用的文件包在所述Linux系统中的保存目录,所述Linux系统和所述安卓系统服务均具有访问权限。
  8. 一种在Linux系统中操作安卓应用的装置,包括:
    检测模块,用于在Linux系统中检测到操作安卓应用的请求,所述Linux系统中已启动安卓系统服务;
    获取模块,用于根据所述请求获取所述安卓应用的文件包信息;
    触发模块,用于将所述文件包信息发送给所述安卓系统服务,触发所述安卓系统服务根据所述文件包信息执行针对所述安卓应用的操作。
  9. 根据权利要求8所述的装置,其中,所述触发模块用于:
    将所述文件包信息发送给所述安卓系统服务中的包管理服务PKMS,触发所述PKMS根据所述文件包信息执行针对所述安卓应用的操作。
  10. 根据权利要求8或9所述的装置,其中,所述触发模块具体通过进程间通信将所述文件包信息发送给所述安卓系统服务。
  11. 根据权利要求8-10中任一项所述的装置,其中,所述获取模块用于:
    若所述请求为安装安卓应用,则根据所述请求获取所述安卓应用的安装文件包的路径信息。
  12. 根据权利要求8-11中任一项所述的装置,其中,所述获取模块用于:
    若所述请求为卸载安卓应用,则根据所述请求获取所述安卓应用的卸载文件包的路径信息。
  13. 根据权利要求8-12中任一项所述的装置,还包括:
    初始化模块,用于预先在所述Linux系统中启动安卓容器,在所述安卓容器中启动所述安卓系统服务,所述安卓系统服务包括包管理服务PKMS。
  14. 根据权利要求8-13中任一项所述的装置,其中,对于所述安卓应用的文件包在所述Linux系统中的保存目录,所述Linux系统和所述安卓系统服务均具有访问权限。
  15. 一种电子设备,包括:
    至少一个处理器;以及
    与所述至少一个处理器通信连接的存储器;其中,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1-7中任一项所述的方法。
  16. 一种存储有计算机指令的非瞬时计算机可读存储介质,其中,所述计算机指令用于使所述计算机执行根据权利要求1-7中任一项所述的方法。
  17. 一种计算机程序产品,包括计算机程序,其中,所述计算机程序被至少一个处理器执行时实现权利要求1-7中任一项所述的方法。
  18. 一种计算机程序,其中,所述计算机程序在被至少一个处理器执行时实现权利要求1-7中任一项所述的方法。
PCT/CN2022/108670 2021-11-11 2022-07-28 在Linux系统中操作安卓应用的方法、装置和设备 WO2023082716A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111335023.4 2021-11-11
CN202111335023.4A CN114035863A (zh) 2021-11-11 2021-11-11 在Linux系统中操作安卓应用的方法、装置和设备

Publications (1)

Publication Number Publication Date
WO2023082716A1 true WO2023082716A1 (zh) 2023-05-19

Family

ID=80137377

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/108670 WO2023082716A1 (zh) 2021-11-11 2022-07-28 在Linux系统中操作安卓应用的方法、装置和设备

Country Status (2)

Country Link
CN (1) CN114035863A (zh)
WO (1) WO2023082716A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114035863A (zh) * 2021-11-11 2022-02-11 北京鲸鲮信息系统技术有限公司 在Linux系统中操作安卓应用的方法、装置和设备
CN113934464A (zh) * 2021-12-14 2022-01-14 北京鲸鲮信息系统技术有限公司 Linux系统中启动安卓应用的方法、装置和电子设备
CN114756326B (zh) * 2022-04-14 2024-06-04 重庆长安汽车股份有限公司 一种车载终端双系统及其实现方法

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180137308A1 (en) * 2016-11-16 2018-05-17 Foundation Of Soongsil University-Industry Cooperation Duo operating system for android security, mobile device having the same, method of securing mobile device having the same
CN109388473A (zh) * 2018-09-19 2019-02-26 华东计算技术研究所(中国电子科技集团公司第三十二研究所) 基于移动操作系统的Android兼容层实现方法和系统
CN111625246A (zh) * 2020-05-15 2020-09-04 武汉蓝星科技股份有限公司 一种Linux-Android终端双系统的桌面管理方法
CN112114916A (zh) * 2020-08-31 2020-12-22 北京技德系统技术有限公司 一种在Linux操作系统上兼容运行Android应用的方法和装置
CN112269604A (zh) * 2020-11-11 2021-01-26 北京技德系统技术有限公司 在Linux上兼容运行Android应用的窗口交互方法及装置
CN113190282A (zh) * 2021-04-07 2021-07-30 北京鲸鲮信息系统技术有限公司 安卓运行环境构建的方法及装置
CN113934464A (zh) * 2021-12-14 2022-01-14 北京鲸鲮信息系统技术有限公司 Linux系统中启动安卓应用的方法、装置和电子设备
CN114035863A (zh) * 2021-11-11 2022-02-11 北京鲸鲮信息系统技术有限公司 在Linux系统中操作安卓应用的方法、装置和设备

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105204913A (zh) * 2015-10-20 2015-12-30 福建升腾资讯有限公司 一种在Android操作系统上运行Linux应用程序的方法及系统
CN105550046B (zh) * 2015-12-11 2020-02-14 北京奇虎科技有限公司 虚拟操控的方法、装置及系统
KR101997061B1 (ko) * 2017-09-29 2019-07-05 숭실대학교산학협력단 리눅스 기반 안드로이드 컨테이너 플랫폼, 이를 탑재한 장치 및 리눅스 기반 안드로이드 컨테이너 환경에서의 보안 시스템 구축 방법
CN108170503B (zh) * 2018-01-24 2022-04-12 腾讯科技(深圳)有限公司 一种跨系统运行安卓应用的方法、终端及存储介质
US11132440B2 (en) * 2018-11-01 2021-09-28 Foundation Of Soongsil University-Industry Cooperation Hybrid trust execution environment based android security framework, android device equipped with the same and method of executing trust service in android device
CN111290827B (zh) * 2018-12-07 2023-09-08 华为技术有限公司 数据处理的方法、装置和服务器
CN109725977B (zh) * 2019-01-02 2022-06-28 京东方科技集团股份有限公司 一种基于Android系统的多应用显示方法及终端设备
CN111722850B (zh) * 2019-03-21 2023-04-25 成都鼎桥通信技术有限公司 多系统间应用的处理方法、装置及系统
CN111026449B (zh) * 2019-12-10 2024-04-19 深圳市智多互动科技有限公司 一种在安卓系统上运行虚拟安卓系统的方法
CN111339541B (zh) * 2020-02-20 2022-08-02 Oppo广东移动通信有限公司 基于binder驱动的进程间通信IPC机制的复用方法及装置
CN111782226A (zh) * 2020-06-24 2020-10-16 长沙摩智云计算机科技有限公司 一种直捷安装安卓应用的方法、系统、设备及介质
CN112099923B (zh) * 2020-11-17 2021-02-05 江苏北弓智能科技有限公司 一种运行于Linux操作系统上的Android虚拟化系统
CN113157464A (zh) * 2021-04-27 2021-07-23 麒麟软件有限公司 一种将Linux端输入事件共享给Android的方法
CN113204307A (zh) * 2021-05-06 2021-08-03 技德技术研究所(武汉)有限公司 一种在Linux上兼容运行Android系统的文件发送方法及装置
CN113254154B (zh) * 2021-05-21 2024-03-29 技德技术研究所(武汉)有限公司 一种在Linux上兼容运行Android系统的应用启动方法及装置
CN113282271A (zh) * 2021-07-22 2021-08-20 北京麟卓信息科技有限公司 一种Linux平台上安卓应用的音频处理方法及装置

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180137308A1 (en) * 2016-11-16 2018-05-17 Foundation Of Soongsil University-Industry Cooperation Duo operating system for android security, mobile device having the same, method of securing mobile device having the same
CN109388473A (zh) * 2018-09-19 2019-02-26 华东计算技术研究所(中国电子科技集团公司第三十二研究所) 基于移动操作系统的Android兼容层实现方法和系统
CN111625246A (zh) * 2020-05-15 2020-09-04 武汉蓝星科技股份有限公司 一种Linux-Android终端双系统的桌面管理方法
CN112114916A (zh) * 2020-08-31 2020-12-22 北京技德系统技术有限公司 一种在Linux操作系统上兼容运行Android应用的方法和装置
CN112269604A (zh) * 2020-11-11 2021-01-26 北京技德系统技术有限公司 在Linux上兼容运行Android应用的窗口交互方法及装置
CN113190282A (zh) * 2021-04-07 2021-07-30 北京鲸鲮信息系统技术有限公司 安卓运行环境构建的方法及装置
CN114035863A (zh) * 2021-11-11 2022-02-11 北京鲸鲮信息系统技术有限公司 在Linux系统中操作安卓应用的方法、装置和设备
CN113934464A (zh) * 2021-12-14 2022-01-14 北京鲸鲮信息系统技术有限公司 Linux系统中启动安卓应用的方法、装置和电子设备

Also Published As

Publication number Publication date
CN114035863A (zh) 2022-02-11

Similar Documents

Publication Publication Date Title
WO2023109138A1 (zh) Linux系统中启动安卓应用的方法、装置和电子设备
WO2023082716A1 (zh) 在Linux系统中操作安卓应用的方法、装置和设备
WO2020048391A1 (zh) 基于多租户技术的web服务的部署、调用方法和装置
US11561972B2 (en) Query conversion for querying disparate data sources
US10810220B2 (en) Platform and software framework for data intensive applications in the cloud
CN109218356B (zh) 管理服务器上有状态应用的方法和设备
CN114077367A (zh) Linux系统中实现安卓应用快捷方式的方法和装置
CN113867993B (zh) 虚拟化的rdma方法、系统、存储介质及电子设备
WO2023088313A1 (zh) 输入设备虚拟化的方法、装置、电子设备和存储介质
WO2022174553A1 (zh) 文件处理方法、装置、电子设备和存储介质
CN114418828B (zh) 显存管理方法、装置、设备、存储介质及程序产品
WO2023093016A1 (zh) 云端代码开发系统、方法、装置、设备及存储介质
CN112612467A (zh) 一种处理基于qiankun的微前端架构的方法和装置
US11784946B2 (en) Method for improving data flow and access for a neural network processor
US20200326998A1 (en) Two-way clipboard exchange in virtual console
US11704105B2 (en) Method, device, and computer program product for managing virtual machine upgrade
CN115514718B (zh) 基于数据传输系统的数据交互方法、控制层、设备
US20220311662A1 (en) Network configuring method for cloud mobile phone, device and storage medium
CN116450554A (zh) 中断处理方法、根复合体设备及电子设备
CN114726657A (zh) 中断管理和数据收发管理的方法、装置及智能网卡
US11178216B2 (en) Generating client applications from service model descriptions
CN106843851A (zh) 基于ActiveMQ异构类加载器反序列化的实现方法及装置
KR101361838B1 (ko) 서버 가상화 기반 가상 데스크탑 프로토콜 가속방법 및 이를 수행하는 가상화 서버
CN111767489A (zh) 网页运行的加速方法、装置、设备以及存储介质
US11983182B2 (en) System and method to enable a data analytics in a smart data accelerator interface device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22891525

Country of ref document: EP

Kind code of ref document: A1