Software installation method and device based on cloud mobile phone
By using pre-generated image files in cloud mobile phones, including application packages and resource packages, and directly installing software, the problem of high application installation time in cloud mobile phones is solved, and faster installation speed and save network bandwidth is achieved.
Patent Information
- Application Number
- CN202510330910.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-19
- Publication Date
- 2025-06-17
AI Technical Summary
The way to install applications in a cloud phone requires downloading a large number of resource files, which causes a lot of time to consume and needs to be downloaded again after switching devices.
By pre-creating a mirror file including application packages and resource packages, software installation is directly based on the mirror file, and no need to download the required resources.
Save network bandwidth, improve software installation speed, and avoid the step of re-downloading after device switching.
Smart Images

Figure CN120162053A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of cloud computing, and particularly to the field of cloud mobile phones. Specifically, it provides a software installation method and device based on cloud mobile phones. Background Art
[0002] A cloud mobile phone is a virtual mobile phone on the cloud relying on a cloud server, which is widely used in multiple fields such as mobile office and cloud games. In related technologies, the method of installing an application program in a cloud mobile phone requires downloading resource files, which often takes a lot of time. Once the device is switched, it needs to be downloaded again. Summary of the Invention
[0003] The present disclosure provides a software installation method, device, equipment, storage medium, and computer program product based on cloud mobile phones.
[0004] According to a first aspect of the present disclosure, there is provided a software installation method based on a cloud mobile phone, including: obtaining an address list of mirror files of a software installation package, where a software identifier and a storage address are associated and stored in the address list; in response to receiving a request to install a target software in the cloud mobile phone, finding a target address from the address list according to the software identifier of the target software; downloading a mirror file of the target software from the target address, where the mirror file includes an application program package and a resource package; and installing the target software based on the application program package and the resource package.
[0005] According to a second aspect of the present disclosure, there is provided a software installation device for a cloud mobile phone, including: an obtaining unit configured to obtain an address list of mirror files of a software installation package, where a software identifier and a storage address are associated and stored in the address list; a searching unit configured to, in response to receiving a request to install a target software in the cloud mobile phone, find a target address from the address list according to the software identifier of the target software; a downloading unit configured to download a mirror file of the target software from the target address, where the mirror file includes an application program package and a resource package; and an installing unit configured to install the target software based on the application program package and the resource package.
[0006] According to a third aspect of the present disclosure, there is provided an electronic device, including: at least one processor; and a memory communicatively connected to the at least one processor; where the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method according to any one of the first aspect.
[0007] According to a fourth aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions, where the computer instructions are used to cause a computer to execute the method according to any one of the first aspect.
[0008] According to a fifth aspect of the present disclosure, there is provided a computer program product including a computer program which, when executed by a processor, implements the method according to any one of the first aspect.
[0009] The software installation method and apparatus based on a cloud phone provided by the embodiments of the present disclosure generate a mirror file including an application program package and a resource package in advance, and directly perform software installation based on the mirror file, without the need to download the required resources, saving network bandwidth and improving the software installation speed.
[0010] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it used to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] The drawings are used to better understand the solution and do not constitute a limitation to the present disclosure. Among them:
[0012] Figure 1 is an exemplary system architecture diagram to which an embodiment of the present disclosure can be applied;
[0013] Figure 2 is a flowchart of an embodiment of the software installation method based on a cloud phone according to the present disclosure;
[0014] Figure 3 is a schematic diagram of an application scenario of the software installation method based on a cloud phone according to the present disclosure;
[0015] Figure 4 is a flowchart of another embodiment of the software installation method based on a cloud phone according to the present disclosure;
[0016] Figure 5 is a schematic structural diagram of an embodiment of the software installation apparatus based on a cloud phone according to the present disclosure;
[0017] Figure 6 is a schematic structural diagram of a computer system of an electronic device suitable for implementing the embodiments of the present disclosure. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0018] The following describes exemplary embodiments of the present disclosure with reference to the drawings. Various details of the embodiments of the present disclosure are included to facilitate understanding, and they should be considered merely exemplary. Therefore, those of ordinary skill in the art should recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0019] Figure 1 An exemplary system architecture is shown for embodiments of a software installation method or a software installation apparatus based on a cloud phone to which the present disclosure can be applied.
[0020] As Figure 1 shown, the system architecture may include a cloud phone management platform and at least one cloud phone. The cloud phone corresponds to a virtual machine of a physical machine. The cloud phone management platform is communicatively connected to the physical machine through a wired network or a wireless network.
[0021] A user can use the cloud phone management platform to interact with the physical machine through a network to receive or send messages, etc. Cloud phone management applications can be installed on the cloud phone management platform.
[0022] The cloud phone management platform can be various intelligent electronic devices or non-intelligent electronic devices having a display screen and a camera, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III), MP4 (Moving Picture Experts Group Audio Layer IV) players, laptop portable computers, desktop computers, and so on. When the cloud phone management platform is software, it can be installed in the above-listed electronic devices. It can be implemented as multiple software or software modules (for example, used to provide distributed services), or it can be implemented as a single software or software module. No specific limitation is made here.
[0023] The physical machine can be a server that provides various services, such as a background cloud phone server that supports the cloud phone interface displayed on the cloud phone management platform. The background cloud phone server can receive a management request for a target cloud phone (such as installing an application program), then forward the management request to the virtual machine corresponding to the target cloud phone, and then perform cloud phone management.
[0024] The physical machine can be implemented as a distributed server cluster composed of multiple servers, or it can be implemented as a single server. No specific limitation is made here. The physical machine can also be a server of a distributed system, or a server combined with a blockchain. The physical machine can also be a cloud server, or an intelligent cloud computing server or an intelligent cloud host with artificial intelligence technology.
[0025] The cloud phone management platform and the cloud phone can communicate directly, or can communicate by forwarding messages through other servers.
[0026] The software installation process based on the cloud phone is as Figure 1 shown:
[0027] 1. Software developers pre - make the software installation package into an image file in advance, and then upload it to the cloud phone management platform through the client. The software installation package in this application is different from an ordinary installation package, including not only the application package but also the resource package.
[0028] 2. The cloud phone user sends an installation request for installing software on at least one cloud phone (two cloud phones are installed as an example in the figure) to the cloud phone management platform, and the cloud phone obtains the storage address of the image file from the cloud phone management platform.
[0029] 3. The cloud phone downloads the image file according to the storage address.
[0030] 4. The cloud phone installs the software and returns the software installation result to the cloud phone management platform.
[0031] It should be noted that the software installation method based on cloud phones provided by the embodiments of the present disclosure can be executed by the cloud phone management platform or a physical machine. Correspondingly, the software installation device based on cloud phones can be set in the cloud phone management platform or a physical machine. No specific limitation is made here.
[0032] It should be understood that Figure 1 the number of cloud phone management platforms and cloud phones in
[0033] is only illustrative. According to the implementation requirements, there can be any number of cloud phone management platforms and cloud phones. Figure 2 Continuing to refer to
[0034] Step 201, obtain the address list of the image file of the software installation package.
[0035] In this embodiment, the execution subject of the software installation method based on cloud phones (such as Figure 1 the physical machine where the cloud phone shown in
[0036] is located) can obtain the address list of the image file of the software installation package from the cloud phone management platform through a wired connection method or a wireless connection method. Among them, the software identifier and the storage address are associated and stored in the address list.
[0037] Step 202: In response to receiving a request to install a target software in a cloud phone, find a target address from an address list according to the software identifier of the target software.
[0038] In this embodiment, a request to install a target software in a cloud phone can be initiated on a cloud phone management platform or a cloud phone. The installation request can be initiated through a command line. For example, a predetermined command + software installation package name + mirror file name.
[0039] Optionally, the request to install the target software can also be initiated by selecting the target software to be installed in the visual interface provided by a pre-developed software installation tool.
[0040] According to the software identifier of the target software, the storage address of the target software can be found from the address list as the target address.
[0041] Optionally, a mirror file can be stored at multiple different addresses. The appropriate address can be selected for downloading according to user requirements. For example, select the nearest address or the address with the fastest network speed, etc.
[0042] Step 203: Download the mirror file of the target software from the target address.
[0043] In this embodiment, the mirror file of the target software is downloaded from the target address to the physical machine where the cloud phone is located. Among them, the mirror file includes an application package and a resource package.
[0044] Step 204: Install the target software based on the application package and the resource package.
[0045] In this embodiment, the target software can be installed by restoring the mirror file. During the process of installing the application package, resource data is obtained from the resource package, and there is no need to download resources additionally, saving the installation time.
[0046] The method provided in the above embodiment of the present disclosure does not require the customer to perform additional operations such as downloading a resource package during the software installation process, reducing the traffic bandwidth cost and improving the software installation speed. It can be applied in large game scenarios and is applicable to cloud phones of various manufacturers.
[0047] In some optional implementation manners of this embodiment, the mirror file is backed up and stored in multiple nodes of the content delivery network of the distributed joint file system, and one software identifier in the address list corresponds to multiple storage addresses; and finding the target address from the address list according to the software identifier of the target software includes: finding the address of the node closest to the physical device where the cloud phone is located in the content delivery network from the address list as the target address.
[0048] The Distributed Unified File System (DUFS) is a feature-rich file server that supports multiple file management and access methods and is suitable for various application scenarios.
[0049] The basic idea of a Content Delivery Network (CDN) is to avoid bottlenecks and links on the Internet that may affect data transmission speed and stability as much as possible, so that content can be transmitted faster and more stably. By forming an intelligent virtual network on top of the existing Internet through node servers placed everywhere in the network, the CDN system can redirect users' requests to the service node closest to the user in real time based on comprehensive information such as network traffic, the connection and load status of each node, the distance to the user, and the response time. Its purpose is to enable users to obtain the required content nearby, solve the congestion of the Internet network, and improve the response speed of users accessing websites.
[0050] The mirror file has the same backup stored in multiple nodes of the CDN, and the address of the node closest to the physical device where the cloud phone is located can be selected as the target address. This can reduce data transmission latency and improve the download speed.
[0051] In some alternative implementation manners of this embodiment, the mirror file is backup stored in multiple nodes of the content delivery network of the distributed unified file system, and one software identifier in the address list corresponds to multiple storage addresses; and finding the target address from the address list according to the software identifier of the target software includes: finding the address of the node in the content delivery network that belongs to the same local area network as the physical device where the cloud phone is located from the address list as the target address.
[0052] The mirror file has the same backup stored in multiple nodes of the CDN, and the address of the node that belongs to the same local area network as the physical device where the cloud phone is located can be selected as the target address. Data transmission within the local area network is free and the transmission speed is fast, which can reduce the traffic bandwidth cost and improve data security without connecting to the external network.
[0053] In some alternative implementation manners of this embodiment, the method further includes: in response to detecting that the resource file required by the target software has changed, generating a changed resource package according to the changed resource file; generating an updated target mirror file according to the changed resource package and the application package; and uploading the updated target mirror file to the target address.
[0054] If some resource files are added or deleted during the use of the target software, that is, the resource files are changed, then a changed resource package is generated according to the changed resource files. Then, an updated target image file is generated according to the changed resource package and the application package. Then, the updated target image file is uploaded to the target address. The target address is the node closest to the current cloud phone described above, or a node in the same local area network. After detecting the update of the target image file, the cloud phone management platform can synchronize the updated target image file to other nodes of the CDN, facilitating the download and use by other cloud phones. Thus, the image file can be updated at any time, software vulnerabilities can be repaired in a timely manner, and network resources and update time can be saved during the update.
[0055] In some alternative implementation manners of this embodiment, the request instructs to batch install the target software on multiple cloud phones; and finding the target address from the address list according to the software identifier of the target software includes: finding, from the address list according to the software identifier of the target software, the addresses of the nodes in the content delivery network that are closest to the physical devices where the multiple cloud phones are located as the target addresses of the cloud phones; or finding, from the address list according to the software identifier of the target software, the addresses of the nodes in the content delivery network that belong to the same local area network as the physical devices where the multiple cloud phones are located as the target addresses of the cloud phones; and downloading the target image file from the target address includes: downloading the target image file from the target address of each cloud phone to the physical device where each cloud phone is located.
[0056] The target software can be batch installed on different cloud phones, and each cloud phone can download the image file from the node closest to itself or a node in the same local area network. The network resources of each cloud phone can be saved and the installation speed can be increased, thereby improving the installation efficiency and cost of the entire system.
[0057] In some alternative implementation manners of this embodiment, obtaining the address list of the image file of the software installation package includes: installing the software installation tool; in response to detecting the startup of the software installation tool, obtaining the address list of the image file from the software as a service platform; and displaying installation options including the software identifiers in the address list in the visualization interface.
[0058] The address list of the mirror file of the software installation package can be obtained from the cloud mobile phone management platform through a self-developed software installation tool. The cloud mobile phone management platform can be a Software as a Service (SaaS) platform. After the software installation tool is installed, it connects to the cloud mobile phone management platform and obtains the address list maintained by the cloud mobile phone management platform. However, the address list is not displayed in the visualization interface. Only the installation options including the software identifiers in the address list are displayed in the visualization interface. Users do not need to care about what the address is. They only need to select the target software to be installed according to the software identifier. The software installation tool can find the target address in the background according to the software identifier of the target software, and then download the mirror file from the target address. Through the visualization interface, it is convenient for users to install the target software. The operation is simple and does not require professionals, thus reducing the usage threshold.
[0059] In some optional implementation manners of this embodiment, in response to receiving a request to install a target software in a cloud mobile phone, finding a target address from the address list according to the software identifier of the target software includes: in response to detecting that an installation option is selected, finding the target address from the address list according to the software identifier of the selected installation option.
[0060] Users can select the target software to be downloaded in the visualization interface. They do not need to learn how to use the command line. The operation is simple and does not require professionals, thus reducing the usage threshold.
[0061] In some optional implementation manners of this embodiment, in response to receiving a request to install a target software in a cloud mobile phone, finding a target address from the address list according to the software identifier of the target software includes: in response to receiving a predetermined software installation command line, parsing the software identifier of the target software from the software installation command line; finding the target address from the address list according to the software identifier of the target software.
[0062] It is also possible not to use the visualization interface, but to install the software in the way of the command line. The command line installation method is more efficient, reduces latency, and requires less computing resources. Passing parameters to the installation program through the command line can provide more fine-grained option settings, allowing users to customize the installation process completely according to their own needs.
[0063] In some optional implementation manners of this embodiment, the address list further includes the software version number; and the method further includes: in response to detecting that the software version number of the target software in the address list is updated, downloading the updated target mirror file from the target address; updating the target software based on the application package and resource package of the updated target mirror file.
[0064] It can regularly obtain the address list from the cloud mobile phone management platform, detect whether the software version number of the target software in the address list is updated, and if it is updated, automatically download the updated image file and automatically install it. By automatically updating, known security vulnerabilities can be patched to prevent malicious attackers from using these vulnerabilities to damage the system or data. Improve existing functions, add new features, and fix bugs existing in previous versions. Enjoy a better user experience and more stable application performance without manual checking. Ensure the compatibility of software versions and avoid problems caused by version mismatches.
[0065] Continue to refer to Figure 3 , Figure 3 which is a schematic diagram of an application scenario of the software installation method based on cloud mobile phones according to this embodiment. In Figure 3 the application scenario of, taking the download of game software as an example. A software installation tool can be pre-installed on the cloud mobile phone. Double-clicking the icon of the software installation tool can start the software installation tool. After the software installation tool is started, the user can select the type of software as a game, and then the software installation tool obtains the download list of the game software from the cloud mobile phone management platform. The user can select the game to be downloaded according to the game name and version. Just click the "Download" option. The software installation tool can query the storage address of the image file of the selected software in the background. Download the image file from this storage address. After the download is completed, the software installation tool can automatically install the software and update the status in the game list.
[0066] Further refer to Figure 4 which shows the process 400 of another embodiment of the software installation method based on cloud mobile phones. The process 400 of the software installation method based on cloud mobile phones includes the following steps:
[0067] Step 401, in response to detecting the login of the target software, record the logged-in account information.
[0068] In this embodiment, after the target software is installed on the cloud mobile phone, by logging in to the target software with an account, the logged-in account information can be recorded.
[0069] Step 402, in response to detecting the logout of the target software, obtain the data file associated with the account information.
[0070] In this embodiment, if the user logs out of the target software, the data file used during the login can be backed up. For example, if a new skin is purchased, the resource data related to the new skin needs to be downloaded. These data are associated with the user account, and even if logging in on a different device, the data file used by this user account before can be found.
[0071] Step 403, generate an updated target image file according to the data file, resource package, and application package, and label the target image file according to the account information.
[0072] In this embodiment, an updated target image file is generated from the data file associated with the account information, the resource package, and the application package obtained when the software was originally installed. Since this file is user-specific, it can be tagged with the account information.
[0073] Step 404: Upload the updated target image file to the target address.
[0074] In this embodiment, the updated target image file is uploaded to the target address. The target address is the node closest to the current cloud phone as described above, or a node on the same local area network. After detecting the update of the target image file, the cloud phone management platform can synchronize the updated target image file to other nodes of the CDN, facilitating the download and use by other cloud phones. Thus, the image file can be updated at any time, software vulnerabilities can be repaired in a timely manner, and network resources and update time can be saved during the update.
[0075] Step 405: In response to receiving a request to install the target software including the account information, find the target address from the address list according to the software identifier of the target software.
[0076] In this embodiment, the account information can be specified during software installation, so that the storage address of the image file tagged with the account information can be found from the cloud phone management platform.
[0077] Step 406: Download the image file tagged with the account information from the target address.
[0078] In this embodiment, the image files tagged with the account information uploaded by different users can be stored in separate folders on the same node. The corresponding image file is found and downloaded according to the account information.
[0079] Step 407: Install the target software based on the data file, application package, and resource package in the image file tagged with the account information.
[0080] In this embodiment, the target software can be installed by restoring the image file. During the installation of the application package, the data from the previous login is directly obtained from the data file, and the resource data is obtained from the resource package. There is no need to download additional resources and update user data, and it can directly return to the state at the previous login, saving the installation time.
[0081] The method provided in the above embodiments of the present disclosure can still maintain the state at the previous login when switching cloud phone devices, without spending additional time updating the account status.
[0082] Further refer to Figure 5, as an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of a software installation device based on a cloud phone. This device embodiment corresponds to Figure 2 the method embodiment shown, and this device can be specifically applied to various electronic devices.
[0083] As shown in Figure 5 , the software installation device 500 based on a cloud phone in this embodiment includes: an acquisition unit 501, a search unit 502, a download unit 503, and an installation unit 504. Among them, the acquisition unit 501 is configured to acquire an address list of mirror files of software installation packages, where the software identifier and the storage address are associated and stored in the address list; the search unit 502 is configured to, in response to receiving a request to install a target software in the cloud phone, find a target address from the address list according to the software identifier of the target software; the download unit 503 is configured to download the mirror file of the target software from the target address, where the mirror file includes an application package and a resource package; the installation unit 504 is configured to install the target software based on the application package and the resource package.
[0084] In this embodiment, the specific processing of the acquisition unit 501, the search unit 502, the download unit 503, and the installation unit 504 of the software installation device 500 based on a cloud phone can refer to Figure 2 Steps 201, 202, 203, and 204 in the corresponding embodiment.
[0085] In some optional implementation manners of this embodiment, the mirror file is backed up and stored in multiple nodes of the content distribution network of the distributed unified file system, and one software identifier in the address list corresponds to multiple storage addresses; and the search unit 502 is further configured to: find, from the address list according to the software identifier of the target software, the address of the node in the content distribution network that is closest to the physical device where the cloud phone is located as the target address.
[0086] In some optional implementation manners of this embodiment, the mirror file is backed up and stored in multiple nodes of the content distribution network of the distributed unified file system, and one software identifier in the address list corresponds to multiple storage addresses; and the search unit 502: finds, from the address list according to the software identifier of the target software, the address of the node in the content distribution network that belongs to the same local area network as the physical device where the cloud phone is located as the target address.
[0087] In some optional implementation manners of this embodiment, the device 500 further includes an update unit, which is configured to: in response to detecting that the resource file required by the target software has changed, generate a changed resource package according to the changed resource file; generate an updated target mirror file according to the changed resource package and the application package; and upload the updated target mirror file to the target address.
[0088] In some alternative implementation manners of this embodiment, the device 500 further includes a customization unit, which is configured to: record the logged-in account information in response to detecting the login to the target software; obtain the data file associated with the account information in response to detecting the logout from the target software; generate an updated target image file according to the data file, the resource package, and the application package, and label the target image file according to the account information; and upload the updated target image file to the target address.
[0089] In some alternative implementation manners of this embodiment, the customization unit is further configured to: find the target address from the address list according to the software identifier of the target software in response to receiving a request for installing the target software including the account information; download the image file with the label of the account information from the target address; and install the target software based on the data file, the application package, and the resource package in the image file with the label of the account information.
[0090] In some alternative implementation manners of this embodiment, the request is used to indicate the batch installation of the target software on multiple cloud phones; and the searching unit 502 is further configured to: find the addresses of the nodes in the content delivery network that are closest to the physical devices where the multiple cloud phones are located respectively according to the software identifier of the target software from the address list as the target addresses of the cloud phones; or find the addresses of the nodes in the content delivery network that belong to the same local area network as the physical devices where the multiple cloud phones are located respectively according to the software identifier of the target software from the address list as the target addresses of the cloud phones; and downloading the target image file from the target address includes: downloading the target image file from the target addresses of the cloud phones to the physical devices where the cloud phones are located.
[0091] In some alternative implementation manners of this embodiment, the obtaining unit 501 is further configured to: install a software installation tool; obtain the address list of the image file from the software as a service platform in response to detecting the startup of the software installation tool; and display the installation options including the software identifiers in the address list in the visual interface.
[0092] In some alternative implementation manners of this embodiment, the searching unit 502 is further configured to: find the target address from the address list according to the software identifier of the selected installation option in response to detecting that the installation option is selected.
[0093] In some alternative implementation manners of this embodiment, the searching unit 502 is further configured to: parse the software identifier of the target software from the software installation command line in response to receiving a predetermined software installation command line; and find the target address from the address list according to the software identifier of the target software.
[0094] In some alternative implementation manners of this embodiment, the address list further includes a software version number; and the apparatus further includes: in response to detecting an update of the software version number of the target software in the address list, downloading an updated target image file from the target address; and updating the target software based on the application program package and the resource package of the updated target image file.
[0095] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision, and disclosure, etc. of the user's personal information involved all comply with the provisions of relevant laws and regulations and do not violate public order and good customs.
[0096] According to an embodiment of the present disclosure, the present disclosure further provides an electronic device, a readable storage medium, and a computer program product.
[0097] An electronic device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores instructions executable by the at least one processor, and when the instructions are executed by the at least one processor, the at least one processor is enabled to execute the method of process 200.
[0098] A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to execute the method of process 200.
[0099] A computer program product includes a computer program, and when the computer program is executed by a processor, the method of process 200 is implemented.
[0100] Figure 6 A schematic block diagram of an exemplary electronic device 600 that can be used to implement the embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as, a laptop computer, a desktop computer, a workbench, a personal digital assistant, a server, a blade server, a mainframe computer, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as, a personal digital processor, a cellular phone, a smart phone, a wearable device, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0101] As Figure 6As shown, device 600 includes a computing unit 601, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 602 or a computer program loaded from a storage unit 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of device 600 can also be stored. The computing unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0102] Multiple components in device 600 are connected to the I / O interface 605, including: an input unit 606, such as a keyboard, a mouse, etc.; an output unit 607, such as various types of displays, speakers, etc.; a storage unit 608, such as a magnetic disk, an optical disc, etc.; and a communication unit 609, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 609 allows device 600 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0103] The computing unit 601 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 601 include but are not limited to a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The computing unit 601 executes the various methods and processes described above, such as a software installation method based on a cloud phone. For example, in some embodiments, the software installation method based on a cloud phone can be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as the storage unit 608. In some embodiments, part or all of the computer program can be loaded and / or installed onto device 600 via the ROM 602 and / or the communication unit 609. When the computer program is loaded into the RAM 603 and executed by the computing unit 601, one or more steps of the software installation method based on a cloud phone described above can be executed. Alternatively, in other embodiments, the computing unit 601 can be configured to execute the software installation method based on a cloud phone by any other appropriate means (e.g., by means of firmware).
[0104] The various embodiments of the systems and techniques described above in this document can be implemented in digital electronic circuitry, integrated circuit systems, field programmable gate arrays (FPGA), application specific integrated circuits (ASIC), application specific standard products (ASSP), systems on a chip (SOC), complex programmable logic devices (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be a special-purpose or general-purpose programmable processor that receives data and instructions from a storage system, at least one input device, and at least one output device, and transmits the data and instructions to the storage system, the at least one input device, and the at least one output device.
[0105] The program code for implementing the methods of the present disclosure can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when the program codes are executed by the processor or controller, the functions / operations specified in the flowchart and / or block diagram are implemented. The program code can be executed entirely on the machine, partially on the machine, as a stand-alone software package partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0106] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in connection 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 can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0107] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and a pointing device (e.g., a mouse or a trackball) through which the user can provide input to the computer. 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 input from the user can be received in any form (including acoustic input, speech input, or tactile input).
[0108] The systems and techniques described herein can be implemented in a computing system including backend components (e.g., as a data server), or a computing system including middleware components (e.g., an application server), or a computing system including frontend components (e.g., a user computer having a graphical user interface or a web browser through which the user can interact with an implementation of the systems and techniques described herein), or a computing system including any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected to each other by digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include: local area network (LAN), wide area network (WAN), and the Internet.
[0109] A computer system can include a client and a server. The client and the server are generally far from each other and usually interact through a communication network. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, or a server of a distributed system, or a server incorporating a blockchain.
[0110] It should be understood that various forms of the processes shown above can be used, with steps reordered, added, or deleted. For example, the steps recited in this disclosure can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and no limitations are imposed herein.
[0111] The above specific embodiments do not constitute a limitation on the protection scope of this disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure shall be included within the protection scope of this disclosure.
Claims
1. A software installation method based on a cloud phone, comprising: Obtaining an address list of the image file of the software installation package, wherein the address list stores the software identifier and the storage address in association with each other; In response to receiving a request to install the target software in the cloud phone, searching for the target address from the address list according to the software identifier of the target software; Downloading the image file of the target software from the target address, wherein the image file includes an application package and a resource package; The target software is installed based on the application package and the resource package.
2. The method according to claim 1, wherein: The mirror file is backed up and stored in multiple nodes of the content distribution network of the distributed joint file system, and one software identifier in the address list corresponds to multiple storage addresses; as well as The step of finding the target address from the address list according to the software identifier of the target software includes: The address of the node closest to the physical device where the cloud phone is located in the content distribution network is searched from the address list according to the software identifier of the target software as the target address.
3. The method according to claim 1, wherein: The mirror file is backed up and stored in multiple nodes of the content distribution network of the distributed joint file system, and one software identifier in the address list corresponds to multiple storage addresses; as well as The step of finding the target address from the address list according to the software identifier of the target software includes: The address of a node in the content distribution network that belongs to the same local area network as the physical device where the cloud phone is located is searched from the address list according to the software identifier of the target software as the target address.
4. The method according to claim 1, wherein: The method further comprises: In response to detecting that a resource file required by the target software has been changed, generating a changed resource package according to the changed resource file; Generate an updated target image file according to the changed resource package and the application package; The updated target image file is uploaded to the target address.
5. The method according to claim 1, wherein: The method further comprises: In response to detecting a login to the target software, recording the login account information; In response to detecting the exit of the target software, obtaining a data file associated with the account information; generating an updated target image file according to the data file, the resource package and the application package, and labeling the target image file according to the account information; The updated target image file is uploaded to the target address.
6. The method according to claim 5, wherein: The method further comprises: In response to receiving a request for installing the target software including the account information, searching for a target address from the address list according to a software identifier of the target software; Downloading the image file with the label of the account information from the target address; The target software is installed based on the data files, application packages and resource packages in the image file tagged with the account information.
7. The method according to claim 1, wherein: The request instructs batch installation of target software on multiple cloud phones; as well as The step of finding the target address from the address list according to the software identifier of the target software includes: Searching the address list for the node closest to the physical devices where the multiple cloud phones are located in the content distribution network according to the software identifier of the target software as the target address of each cloud phone; or Searching, from the address list according to the software identifier of the target software, the addresses of nodes in the content distribution network that belong to the same local area network as the physical devices where the multiple cloud phones are located as the target addresses of the cloud phones; and The downloading of the target image file from the target address includes: Download the target image file from the target address of each cloud phone to the physical device where each cloud phone is located.
8. The method according to claim 1, wherein: The step of obtaining the address list of the mirror file of the software installation package includes: Install the software installation tool; In response to detecting that the software installation tool is started, obtaining an address list of the image file from a software-as-a-service platform; The installation options including the software identifiers in the address list are displayed in a visual interface.
9. The method according to claim 8, wherein: In response to receiving a request to install the target software in the cloud phone, searching for the target address from the address list according to the software identifier of the target software includes: In response to detecting that the installation option is selected, a target address is found from the address list according to the software identifier of the selected installation option.
10. The method according to claim 1, wherein: In response to receiving a request to install the target software in the cloud phone, searching for the target address from the address list according to the software identifier of the target software includes: In response to receiving a predetermined software installation command line, parsing a software identifier of the target software from the software installation command line; The target address is found from the address list according to the software identifier of the target software.
11. The method according to claim 1, wherein: The address list also includes a software version number; and The method further comprises: In response to detecting that the software version number of the target software in the address list is updated, downloading the updated target image file from the target address; The target software is updated based on the application package and resource package of the updated target image file.
12. A software installation device based on a cloud phone, comprising: an acquisition unit, configured to acquire an address list of an image file of a software installation package, wherein the address list stores a software identifier and a storage address in association with each other; a search unit configured to search for a target address from the address list according to a software identifier of the target software in response to receiving a request to install the target software in the cloud phone; A downloading unit, configured to download an image file of the target software from the target address, wherein the image file includes an application package and a resource package; The installation unit is configured to install the target software based on the application package and the resource package.
13. An electronic device comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 11.
14. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-11.
15. A computer program product comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 11.