CN112463249A - Starting method, device and system of Android cloud application - Google Patents

Starting method, device and system of Android cloud application Download PDF

Info

Publication number
CN112463249A
CN112463249A CN202011364867.7A CN202011364867A CN112463249A CN 112463249 A CN112463249 A CN 112463249A CN 202011364867 A CN202011364867 A CN 202011364867A CN 112463249 A CN112463249 A CN 112463249A
Authority
CN
China
Prior art keywords
application
started
cloud application
server
cloud
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.)
Pending
Application number
CN202011364867.7A
Other languages
Chinese (zh)
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.)
Jiangsu Shiboyun Information Technology Co Ltd
Original Assignee
Jiangsu Shiboyun Information 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 Jiangsu Shiboyun Information Technology Co Ltd filed Critical Jiangsu Shiboyun Information Technology Co Ltd
Priority to CN202011364867.7A priority Critical patent/CN112463249A/en
Publication of CN112463249A publication Critical patent/CN112463249A/en
Pending legal-status Critical Current

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

Landscapes

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

Abstract

The application provides a method, a device and a system for starting an Android cloud application; the method comprises the following steps: receiving a starting request of a path of cloud application to be started; determining whether the cloud application to be started is installed locally; if yes, directly starting the cloud application to be started locally; if not, cooperatively starting the cloud application to be started with a remote shared storage server through an iSCSI protocol; the remote shared storage server stores an installation resource package of the cloud application to be started. The method and the device have the advantages of saving storage cost of the application service and reducing operation and maintenance workload.

Description

Starting method, device and system of Android cloud application
Technical Field
The application relates to the technical field of cloud computing, in particular to a method, a device and a system for starting Android cloud application.
Background
In a service scene such as a cloud game, a cloud application such as the cloud game runs on a cloud server, and a terminal is only responsible for executing a control operation for a user to the cloud application to generate a control operation instruction, transmitting the control operation instruction to the cloud server, receiving a video stream which is sent by the cloud server and is generated by executing the control operation instruction, and decoding and presenting the video stream.
Before the cloud application is locally started, the cloud server is required to firstly complete the local installation work of the cloud application; the inventor of the present invention finds, in research, that in the prior art, if a large number of cloud applications are installed and deployed on a local disk of a cloud server in advance, along with the continuous increase of the types, the number, and the like of the cloud applications to be deployed, the requirements for the local disk space of the cloud server are higher and higher, so that the storage cost of the cloud server is continuously increased, and the operation and maintenance workload of the cloud server is also continuously increased along with the large-scale deployment of the cloud applications, for example, under the condition that the cloud applications are updated, the workload of the cloud server is higher.
Disclosure of Invention
In view of this, the application provides a method, a device and a system for starting an Android cloud application, so as to save the storage cost of an application server and reduce the operation and maintenance workload of the application server.
Specifically, the method is realized through the following technical scheme:
in a first aspect, an embodiment of the present application provides a method for starting an Android cloud application, where the method is applied to an application server, and the method includes:
receiving a starting request of a cloud application to be started;
determining whether the cloud application to be started is installed locally;
if yes, directly starting the cloud application to be started locally;
if not, cooperatively starting the cloud application to be started with a remote shared storage server through an iSCSI protocol; the remote shared storage server stores an installation resource package of the cloud application to be started.
In a second aspect, an embodiment of the present application provides a starting system for an Android cloud application, where the system includes: an application server and a storage server;
the application server is used for receiving a starting request of the cloud application to be started; determining whether the cloud application to be started is installed locally, and if the cloud application to be started is installed locally in the application server, directly starting the cloud application to be started locally; if the cloud application to be started is not installed in the local application server, cooperatively starting the cloud application to be started with a remote shared storage server through an iSCSI protocol;
the storage server is used for storing the installation resource package of the target application.
In a third aspect, an embodiment of the present application provides a starting device for an Android cloud application, where the device is applied to an application server, and the device includes:
the receiving module is used for receiving a starting request of the cloud application to be started;
the determining module is used for determining whether the cloud application to be started is installed locally;
the first starting module is used for directly starting the cloud application to be started locally if the cloud application to be started is installed locally in the application server;
the second starting module is used for cooperatively starting the cloud application to be started with the remote shared storage server through an iSCSI protocol if the cloud application to be started is not installed in the local application server; and the remote shared storage server stores the installation resource package of the application to be started.
In a fourth aspect, the present application provides a machine-readable storage medium, on which computer instructions are stored, and when executed, the computer instructions implement the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a computer device, including: a machine-readable storage medium and a processor, the machine-readable storage medium: storing instruction code, the processor: communicating with a machine-readable storage medium, reading and executing instruction code in the machine-readable storage medium, to implement a method as described in the first aspect.
According to the starting method, the starting device and the starting system for the Android cloud application, an application server determines whether the cloud application to be started is installed locally or not after receiving a starting request of the cloud application to be started, and if the cloud application to be started is installed locally, the application server directly starts the cloud application to be started locally; if the cloud application to be started is not installed locally, the application server starts the cloud application to be started in cooperation with a remote shared storage server through an iSCSI protocol; the remote shared storage server stores an installation resource package of the cloud application to be started; in the embodiment of the application, the cloud application can be allowed to be deployed in the local and remote shared storage servers of the application server, so that all the cloud application is prevented from being directly installed on the local disk of the application server, excessive occupation of the local storage space of the application server is not required, and the storage cost and the operation and maintenance cost of the application server are reduced; in addition, the cloud application to be started is started through the iSCSI protocol and the remote shared storage server in a cooperation mode, and the application starting efficiency is improved.
Drawings
Fig. 1 is an application scene schematic diagram of a starting method of an Android cloud application according to an exemplary embodiment of the present application;
fig. 2 is a schematic flowchart illustrating a method for starting an Android cloud application according to an exemplary embodiment of the present application;
fig. 3 is a schematic diagram illustrating a starting process of an Android cloud application according to an exemplary embodiment of the present application;
FIG. 4 is a flowchart illustrating a block device generation method according to an exemplary embodiment of the present application;
fig. 5 is a schematic flowchart illustrating a process of starting the cloud application to be started in cooperation with a remote shared storage server according to an exemplary embodiment of the present application;
fig. 6 is a schematic diagram illustrating a starting system of an Android cloud application according to an exemplary embodiment of the present application;
fig. 7 is a schematic diagram illustrating an Android cloud application startup device according to an exemplary embodiment of the present application;
fig. 8 is a schematic structural diagram of a computer device according to an exemplary embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
In the application, an application which does not need to be locally installed on the terminal and runs in the cloud is called a cloud application, such as a cloud game; in the technical architecture of the cloud application, the application runs on an application server at the cloud end, before the application is started, the cloud application needs to be installed on the application server at the cloud end, if each application is directly installed locally on the application server, the size of a storage space of the application server is limited, the number of applications that can be installed on the application server is limited, storage expansion can lead to the increase of the storage cost of the application service, and the deployment mode can lead to the increase of the operation and maintenance cost of the application server. Based on the above, the embodiment of the application provides a method, a device and a system for starting an Android cloud application.
Fig. 1 is an application scene schematic diagram of a starting method of an Android cloud application according to an exemplary embodiment of the present application; in the present application, the application server may be a single server or a server cluster, or may be in the form of an entity server (for example, an ARM server board running an Android cloud game) or a virtual machine, and the like, which is not limited in the present application. Referring to fig. 1, for example, after receiving a start request of a cloud application (e.g., a cloud game), an application server determines whether the cloud application is installed locally in the application server, and if not, the application server and a remote shared storage server cooperatively start the cloud application based on an iSCSI protocol. In the embodiment, the remote shared storage server stores the installation resource packages of the cloud application, and a certain number of application servers share the application installation resource packages in the remote shared storage server to start the cloud application; as shown in fig. 1, application server 1# and application server 2# … … may all start a cloud application in cooperation with the remote storage server 10 via the iSCSI protocol.
For example, the application server 1#, the application server 2# … … and the application server n # may be the same cloud application or different cloud applications, such as the application server 1#, the application server 2# … … and the application server n # respectively start a royal glory in cooperation with the remote shared storage server. And then the storage space of each application server can be effectively saved in the mode.
If sharing is realized between the application server and the remote shared storage server by adopting an NFS file system, the file loading efficiency is low or the loading fails due to the limitation of the NFS protocol, so that the application starting time of the application server is prolonged, and the user experience is influenced; in the embodiment of the application, the application server and the remote shared storage server start the cloud application through the iSCSI protocol system, and the starting speed of the cloud application is improved while the disk space sharing of the remote shared storage server is realized.
Fig. 2 is a schematic flowchart illustrating a method for starting an Android cloud application according to an exemplary embodiment of the present application; referring to fig. 2, the starting method for the Android cloud application provided in this embodiment is applied to an application server, and the method includes the following steps S20-S80:
and S20, receiving a starting request of the cloud application to be started.
Illustratively, an application server receives a starting request of a cloud application to be started, which is sent by an Android client, where the starting request includes an application identifier of the cloud application to be started.
And S40, determining whether the cloud application to be started is installed locally.
Optionally, the start request includes an installation identifier of the cloud application to be started, where the installation identifier is used to represent whether the cloud application to be started is installed locally in an application server, and the application server identifies whether the cloud application to be started is installed locally through the installation identifier; or, the application server searches whether the cloud application to be started is installed locally according to the application identifier of the cloud application to be started, which is not limited in the present application.
And S60, if yes, directly starting the cloud application to be started locally.
And if the cloud application to be started is installed locally, the application server responds to a starting request of the cloud application to be started and directly pulls up the application to be started locally.
S80, if not, cooperatively starting the cloud application to be started with a remote shared storage server through an iSCSI protocol; the remote shared storage server stores an installation resource package of the cloud application to be started.
Further, in the method for starting an Android cloud application provided in this embodiment, when cloud application deployment is performed, a part of cloud applications may be directly installed in a local application server, and an installation resource package of another part of cloud applications may be stored in a remote shared storage server, and the remote shared storage server may cooperate with multiple application servers to start different or the same cloud applications.
In an embodiment of the present application, referring to fig. 3, the application server starts the to-be-started cloud application in cooperation with the remote storage server through an iSCSI protocol through the following steps S801 to S804:
s801, the application server indicates the remote shared storage server to establish a block mirror image corresponding to the cloud application to be started, and copies the installation resource package of the cloud application to be started to the block mirror image.
In this embodiment, the remote shared storage server respectively establishes different block images for cloud applications to be started by different Android clients, copies an installation resource package of the cloud application to be started to the block image corresponding to the cloud application to be started in a multithread copy manner, and may include multiple paths of the same cloud applications or different block images of different cloud applications corresponding to different Android clients on the remote shared storage server at the same time.
S802, after the remote shared storage server copies the installation resource package of the cloud application to be started to the block mirror image, the application server maps the block mirror image to the local through an iSCSI protocol to obtain the block device corresponding to the block mirror image.
FIG. 4 is a flowchart illustrating a block device generation method according to an exemplary embodiment of the present application; referring to fig. 4, in the embodiment of the present application, in step S802, the mapping, by the application server, the block image to the local device to obtain the block device corresponding to the block image through an iSCSI protocol specifically includes the following steps S8021 to S8022:
s8021, starting a linux file system mirror image by the application server; wherein the linux file system image is pre-installed with an iscsiadm tool.
In the embodiment of the application, the application server starts the iSCSI client to log in the iSCSI server through an iscsiadm tool installed in a linux file system image, wherein the iscsiadm tool is a special starting tool of the iSCSI client.
Furthermore, in the embodiment of the present application, before the cloud application to be started is started in cooperation with the remote shared storage server through the iSCSI protocol, the application server further performs the following steps a10-a 20:
step A10, establishing a linux file system image pre-installed with an iscsiadm tool, and integrating the linux file system image in an Android operating system.
And A20, mounting the running environment of the Android operating system to the linux file system image.
In this embodiment, a Linux file system image is integrated in an Android operating system in an application server, the Linux file system image is pre-installed with an iscsiadm tool, and an operating environment of the Android operating system is mounted on the Linux file system image, so that the Linux file system image can be started first by the application server when the to-be-started cloud application is started, and the Android operating environment is switched to a Linux operating environment.
S8022, calling the iscsiadm tool to establish iSCSI connection with the remote shared storage server, logging in an iSCSI server side of the remote shared storage server, and mapping the block mirror image to the local to obtain the block device corresponding to the block mirror image.
In the embodiment of the application, since the Android file system cannot directly start the iSCSI client, by establishing a Linux file system image in advance and switching the Android runtime environment to the Linux runtime environment, an iSCSI connection is established with the remote shared storage server in the Linux file system image runtime environment.
In this embodiment, after an iSCSI server logging in a remote shared storage server maps the block mirror image to a local device to obtain a corresponding block device, the Linux runtime environment is exited to an Android runtime environment, and a start operation of a cloud application is executed.
And S803, mounting the block device.
In a possible specific implementation manner, in the step S803, the mounting the block device specifically includes the following steps B10-B20:
step B10, mounting the first directory of the cloud application resource package to be started in the block device to an Andriod ext4 file system of the application server.
Step B20, mounting the second directory of the cloud application resource package to be started in the block device to an Andriod sdcardFs file system of the application server; wherein the second directory comprises an sdcard related directory.
In this embodiment, the first directory is a cloud application operation dependent directory, and is different from the second directory. And mounting the block device in the Android file system, so that the block device can be accessed in the Android file system, and then the block mirror image can be accessed.
In the above embodiment, the sd card related directory of the block device is mounted in the sdcardFS file system format, where sdcardFS is the file system in which the sd card identified by android is located.
And S804, executing system scanning and starting the cloud application to be started. And performing system scanning to ensure that the Android operating system confirms that the cloud application to be started is installed and starts the cloud application to be started.
In this embodiment, the Android operating system confirms that the to-be-started cloud application is installed at this time by performing system scanning, and loads configuration information of the to-be-started application into an internal memory of the Android operating system to prepare for starting the to-be-started cloud application.
Fig. 5 is a schematic view of a starting process of an Android cloud application according to an exemplary embodiment of the present application; referring to the embodiment shown in fig. 5, the application server 20 locally installs a first cloud application, which may be an application with a very high requirement on the starting speed, such as a cloud application with a very high popularity or a cloud application that needs to be mainly popularized for trial; illustratively, the application server 20 is installed with a first number of first cloud applications, such as: the first cloud application 1, the first cloud application 2 … …, and the remote shared storage server have stored therein a second number of installation resource packages of the second cloud application, such as: second cloud application 1, second cloud application 2 … … installation resource package of second cloud application N; if the application server 20 receives a start request of the second cloud application 1, the application server 20 instructs the remote shared storage server 10 to establish the block mirror 11, copies the installation resource package of the second cloud application 1 to the block mirror 11, maps the block mirror 1 to the local block device 11, and starts the second cloud application 1 after the block device 11 is mounted.
In the above scheme, when the remote shared storage server includes a plurality of disks, the remote shared storage server determines on which disk each block of mirror image is established according to a resource scheduling policy; in addition, according to the technical scheme provided by the application, when a certain cloud application is updated, batch updating of the cloud application can be realized only by generating the updated cloud application installation resource package and replacing the old version of the cloud application installation resource package with the updated cloud application installation resource package, so that the updating efficiency is greatly optimized.
In a possible embodiment of this application, in the method for starting an Android cloud application described in any of the foregoing embodiments, after the cloud application to be started is started in cooperation with a remote shared storage server through an iSCSI protocol, the method further includes the following step C10:
and step C10, if the cloud application exit is detected, the block device is unloaded locally, and the remote shared storage server is triggered to delete the block mirror image.
In this embodiment, after detecting that the started cloud application exits, the application server locally uninstalls the block device corresponding to the cloud application. And the application server triggers the remote shared storage server to delete the block mirror image of the cloud application, so that the storage space of the application server and the storage space of the remote storage server are further saved in the embodiment.
Fig. 6 is a schematic diagram illustrating a starting system of an Android cloud application according to an exemplary embodiment of the present application; referring to fig. 6, the system includes: an application server 20 and a storage server 10; the application server 20 is connected to the storage server 10 via a network.
The application server 20 is configured to receive a start request of a cloud application to be started; determining whether the cloud application to be started is installed locally, and if the cloud application to be started is installed locally in the application server, directly starting the cloud application to be started locally; if the cloud application to be started is not installed in the local application server, cooperatively starting the cloud application to be started with a remote shared storage server through an iSCSI protocol;
the storage server 10 is configured to store the installation resource package of the target application.
Optionally, the application server is specifically configured to start the cloud application to be started in cooperation with the remote shared storage server through an iSCSI protocol in the following manner:
instructing the remote shared storage server to establish a block mirror image corresponding to the cloud application to be started, and copying an installation resource package of the cloud application to be started to the block mirror image;
after the remote shared storage server copies the installation resource package of the cloud application to be started to the block mirror image, the application server maps the block mirror image to the local through an iSCSI protocol to obtain block equipment corresponding to the block mirror image;
mounting the block device;
and performing system scanning to ensure that the Android operating system confirms that the application to be started is installed and starts the cloud application to be started.
Optionally, the application server 20 is specifically configured to map the block image to a local device that obtains a block device corresponding to the block image through an iSCSI protocol in the following manner:
the application server starts the established linux file system mirror image; wherein an iscsiadm tool is preinstalled in the linux file system mirror image;
and calling the iscsiadm tool to log in an iSCSI client, establishing connection with an iSCSI server side arranged in the remote shared storage server through the iSCSI client, and mapping the block mirror image to the local part of the application server to obtain block equipment corresponding to the block mirror image.
Optionally, the application server 20 is specifically configured to:
locally establishing a linux file system mirror image pre-installed with an iscsiadm tool in the application server, and integrating the linux file system mirror image in an Android operating system;
and mounting the running environment of the Android operating system to the linux file system.
Optionally, the application server 20 is specifically configured to mount the block device in the following manner:
mounting the first directory of the cloud application resource package to be started in the block device to an android ext4 file system of the application server;
mounting a second directory of the cloud application resource package to be started in the block device to an Andriod sdcardFs file system of the application server; wherein the second target comprises an sdcard coherence directory.
Optionally, the application server is further configured to:
and if the cloud application quit is detected, the block device is unloaded locally, and the remote shared storage server is triggered to delete the block mirror image.
Fig. 7 is a schematic diagram illustrating an Android cloud application startup device according to an exemplary embodiment of the present application; referring to fig. 7, the apparatus is applied to an application server, and includes:
a receiving module 601, configured to receive a start request of a cloud application to be started;
a determining module 602, configured to determine an installation manner of the cloud application to be started;
a first starting module 603, configured to locally start the cloud application to be started if the cloud application to be started is installed locally in the application server;
a second starting module 604, configured to start the target application in cooperation with a remote shared storage server through an iSCSI protocol if the cloud application to be started is not installed locally in the application server; wherein the remote shared storage server stores therein an installation resource package of the target application.
Optionally, the second starting module 604 includes:
a block mirror image establishing unit, configured to instruct the remote shared storage server to establish a block mirror image corresponding to the cloud application to be started, and copy the installation resource package of the cloud application to be started to the block mirror image;
the mapping unit is used for mapping the block mirror image to the local by the application server through an iSCSI protocol to obtain the block device corresponding to the block mirror image after the remote shared storage server copies the installation resource packet of the cloud application to be started to the block mirror image;
a mounting unit for mounting the block device;
and the starting unit is used for executing system scanning and starting the cloud application to be started.
Optionally, the mapping unit is specifically configured to:
the application server starts the established linux file system mirror image; wherein an iscsiadm tool is preinstalled in the linux file system mirror image;
and calling the iscsiadm tool to log in an iSCSI client, establishing connection with an iSCSI server side arranged in the remote shared storage server through the iSCSI client, and mapping the block mirror image to the local part of the application server to obtain block equipment corresponding to the block mirror image.
Optionally, the apparatus further includes:
the linux file system image establishing module is used for establishing a linux file system image pre-installed with an iscsiadm tool locally on the application server and integrating the linux file system image in an Android operating system;
and the mounting module is used for mounting the running environment of the Android operating system to the linux file system.
Optionally, the mounting unit is specifically configured to:
mounting the first directory of the cloud application resource package to be started in the block device to an android ext4 file system of the application server;
mounting a second directory of the cloud application resource package to be started in the block device to an Andriod sdcardFs file system of the application server; wherein the second target comprises an sdcard coherence directory.
Optionally, the apparatus further includes:
and the detection module is used for locally unloading the block device and triggering the remote shared storage server to delete the block mirror image if the cloud application exit is detected.
In another embodiment of the present application, a machine-readable storage medium is further provided, where a computer program is stored on the machine-readable storage medium, and when the computer program is executed by a processor, the steps of the installation and startup method for an Andriod cloud application according to any of the foregoing embodiments are implemented.
Fig. 8 is a schematic structural diagram of a computer device according to an embodiment of the present application. Referring to fig. 8, the computer device 700 includes at least a memory 702 and a processor 701; the memory 702 is connected to the processor 701 through a communication bus 703 and is configured to store instruction codes executable by the processor 701; the processor 701 is configured to read and execute instruction codes from the memory 702 to implement the steps of the installation starting method of the Andriod cloud application according to any of the embodiments.
The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. 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 can be selected according to actual needs to achieve the purpose of the scheme of the application. One of ordinary skill in the art can understand and implement it without inventive effort.
Computers suitable for executing computer programs include, for example, general and/or special purpose microprocessors, or any other type of central processing unit. Generally, a central processing unit will receive instructions and data from a read-only memory and/or a random access memory. The basic components of a computer include a central processing unit for implementing or executing instructions and one or more memory devices for storing instructions and data. Generally, a computer will also include, or be operatively coupled to receive data from or transfer data to, or both, one or more mass storage devices for storing data, e.g., magnetic, magneto-optical disks, or optical disks. However, a computer does not necessarily have such a device. Moreover, a computer may be embedded in another device, e.g., a mobile telephone, a Personal Digital Assistant (PDA), a mobile audio or video player, a game console, a Global Positioning System (GPS) receiver, or a portable storage device such as a Universal Serial Bus (USB) flash drive, to name a few.
Computer-readable media suitable for storing computer program instructions and data include all forms of non-volatile memory, media and memory devices, including by way of example semiconductor memory devices (e.g., EPROM, EEPROM, and flash memory devices), magnetic disks (e.g., an internal hard disk or a removable disk), magneto-optical disks, and CD ROM and DVD-ROM disks. The processor and the memory can be supplemented by, or incorporated in, special purpose logic circuitry.
While this specification contains many specific implementation details, these should not be construed as limitations on the scope of any invention or of what may be claimed, but rather as descriptions of features specific to particular embodiments of particular inventions. Certain features that are described in this specification in the context of separate embodiments can also be implemented in combination in a single embodiment. In other instances, features described in connection with one embodiment may be implemented as discrete components or in any suitable subcombination. Moreover, although features may be described above as acting in certain combinations and even initially claimed as such, one or more features from a claimed combination can in some cases be excised from the combination, and the claimed combination may be directed to a subcombination or variation of a subcombination.
Similarly, while operations are depicted in the drawings in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. In some cases, multitasking and parallel processing may be advantageous. Moreover, the separation of various system modules and components in the embodiments described above should not be understood as requiring such separation in all embodiments, and it should be understood that the described program components and systems can generally be integrated together in a single software product or packaged into multiple software products.
Thus, particular embodiments of the subject matter have been described. Other embodiments are within the scope of the following claims. In some cases, the actions recited in the claims can be performed in a different order and still achieve desirable results. Further, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some implementations, multitasking and parallel processing may be advantageous.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (10)

1. A starting method of an Android cloud application is applied to an application server, and comprises the following steps:
receiving a starting request of a path of cloud application to be started;
determining whether the cloud application to be started is installed locally;
if yes, directly starting the cloud application to be started locally;
if not, cooperatively starting the cloud application to be started with a remote shared storage server through an iSCSI protocol; the remote shared storage server stores an installation resource package of the cloud application to be started.
2. The method according to claim 1, wherein said booting the cloud application to be booted in cooperation with a remote shared storage server via an iSCSI protocol comprises:
the application server instructs the remote shared storage server to establish a block mirror image corresponding to the cloud application to be started, and copies an installation resource package of the cloud application to be started to the block mirror image;
after the remote shared storage server copies the installation resource package of the cloud application to be started to the block mirror image, the application server maps the block mirror image to the local through an iSCSI protocol to obtain block equipment corresponding to the block mirror image;
mounting the block device;
and executing system scanning and starting the cloud application to be started.
3. The method as claimed in claim 2, wherein said application server mapping said block image to a locally obtained block device corresponding to said block image via iSCSI protocol, comprising:
the application server starts a linux file system mirror image; wherein an iscsiadm tool is preinstalled in the linux file system mirror image;
and calling the iscsiadm tool to establish iSCSI connection with the remote shared storage server, logging in an iSCSI server side of the remote shared storage server, and mapping the block mirror image to the local part to obtain the block device corresponding to the block mirror image.
4. The method as claimed in claim 3, wherein before said booting said cloud application to be booted in cooperation with a remote shared storage server via an iSCSI protocol, said method further comprises:
establishing a linux file system mirror image pre-installed with an iscsiadm tool, and integrating the linux file system mirror image in an Android operating system;
and mounting the running environment of the Android operating system to the linux file system image.
5. The method of claim 2 or 3, wherein the mounting the block device comprises:
mounting the first directory of the cloud application resource package to be started in the block device to an android ext4 file system of the application server;
mounting a second directory of the cloud application resource package to be started in the block device to an Andriod sdcardFs file system of the application server; wherein the second directory comprises an sdcard related directory.
6. The method as claimed in claim 3, wherein after said booting said cloud application to be booted in cooperation with a remote shared storage server via an iSCSI protocol, said method further comprises:
and if the cloud application quit is detected, the block device is unloaded locally, and the remote shared storage server is triggered to delete the block mirror image.
7. A starting system of an Android cloud application is characterized by comprising: an application server and a storage server;
the application server is used for receiving a starting request of the cloud application to be started; determining whether the cloud application to be started is installed locally, and if the cloud application to be started is installed locally in the application server, directly starting the cloud application to be started locally; if the cloud application to be started is not installed in the local application server, cooperatively starting the cloud application to be started with a remote shared storage server through an iSCSI protocol;
the storage server is used for storing the installation resource package of the target application.
8. The system according to claim 6, wherein the application server is specifically configured to collaboratively launch the cloud application to be launched with the remote shared storage server via an iSCSI protocol in the following manner:
instructing the remote shared storage server to establish a block mirror image corresponding to the cloud application to be started, and copying an installation resource package of the cloud application to be started to the block mirror image;
after the remote shared storage server copies the installation resource package of the cloud application to be started to the block mirror image, the application server maps the block mirror image to the local through an iSCSI protocol to obtain block equipment corresponding to the block mirror image;
mounting the block device;
and executing system scanning and starting the cloud application to be started.
9. The starting device for the Android cloud application is applied to an application server, and comprises:
the receiving module is used for receiving a starting request of the cloud application to be started;
the determining module is used for determining whether the cloud application to be started is installed locally;
the first starting module is used for directly starting the cloud application to be started locally if the cloud application to be started is installed locally in the application server;
the second starting module is used for cooperatively starting the cloud application to be started with the remote shared storage server through an iSCSI protocol if the cloud application to be started is not installed in the local application server; the remote shared storage server stores an installation resource package of the cloud application to be started.
10. A machine-readable storage medium having stored thereon computer instructions which, when executed, perform the method of any one of claims 1-6.
CN202011364867.7A 2020-11-27 2020-11-27 Starting method, device and system of Android cloud application Pending CN112463249A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011364867.7A CN112463249A (en) 2020-11-27 2020-11-27 Starting method, device and system of Android cloud application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011364867.7A CN112463249A (en) 2020-11-27 2020-11-27 Starting method, device and system of Android cloud application

Publications (1)

Publication Number Publication Date
CN112463249A true CN112463249A (en) 2021-03-09

Family

ID=74809243

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011364867.7A Pending CN112463249A (en) 2020-11-27 2020-11-27 Starting method, device and system of Android cloud application

Country Status (1)

Country Link
CN (1) CN112463249A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104270409A (en) * 2014-09-04 2015-01-07 国云科技股份有限公司 Method for efficiently utilizing centralized storage in cloud platform
CN105765526A (en) * 2013-06-14 2016-07-13 华为技术有限公司 Bootstrapping from a remote disk image via a network
CN107800784A (en) * 2017-10-19 2018-03-13 郑州云海信息技术有限公司 A kind of remote disk accesses the environmental structure method of testing of simulation local disk
CN111176669A (en) * 2019-12-30 2020-05-19 北京视博云科技有限公司 Cloud application installation starting method, cloud streaming server and storage server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105765526A (en) * 2013-06-14 2016-07-13 华为技术有限公司 Bootstrapping from a remote disk image via a network
CN104270409A (en) * 2014-09-04 2015-01-07 国云科技股份有限公司 Method for efficiently utilizing centralized storage in cloud platform
CN107800784A (en) * 2017-10-19 2018-03-13 郑州云海信息技术有限公司 A kind of remote disk accesses the environmental structure method of testing of simulation local disk
CN111176669A (en) * 2019-12-30 2020-05-19 北京视博云科技有限公司 Cloud application installation starting method, cloud streaming server and storage server

Similar Documents

Publication Publication Date Title
CN111176669B (en) Installation starting method of cloud application, cloud streaming server and storage server
CN109992311B (en) Starting method and device of operating system, storage medium and client
CN106817411B (en) Service access request processing method and related equipment
US11385903B2 (en) Firmware update patch
US20170115997A1 (en) Customizing program logic for booting a system
US8056072B2 (en) Rebootless display driver upgrades
KR101369428B1 (en) Application management apparatus and method for mobile terminal for supporting different type guest operating system
US20110264776A1 (en) Deploying an operating system
CN101438266A (en) Booting an operating system in discrete stages
CN114651229A (en) Baseboard management controller firmware update
US11886302B1 (en) System and method for execution of applications in a container
CN112527322A (en) System upgrading method, device, equipment and storage medium in Internet of things equipment
CN113728312A (en) Method for controlling execution of application, electronic device and storage medium thereof
CN109189480B (en) File system starting method and device
CN112219202A (en) Memory allocation for guest operating systems
JP6859463B2 (en) Methods, devices, devices and media for launching virtual machines
CN107797843B (en) Method and device for enhancing function of container
CN112463249A (en) Starting method, device and system of Android cloud application
CN114840307A (en) Container loading method, device, equipment and storage medium
EP4086756A1 (en) Method and apparatus for processing virtual machine component
CN113900765A (en) Cloud application starting method, equipment, terminal and computer readable storage medium
JP2022178635A (en) Information processing system, information processing apparatus, method of controlling the same, and program
CN112596741B (en) Video monitoring service deployment method and device
US20240036896A1 (en) Generating installation images based upon dpu-specific capabilities
CN112988460B (en) Data backup method and device for virtual machine

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