A cloud phone operating system upgrade method, device, equipment and medium

By obtaining upgrade instructions in cloud devices, determining the target chip and virtual machine, backing up configuration data and upgrading the operating system online, the problem of cumbersome and low efficiency of the cloud mobile phone operating system upgrade process is solved, and efficient and low-cost system upgrade is achieved.

CN114489715BActive Publication Date: 2025-08-26BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111616844.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-27
Publication Date
2025-08-26
Estimated Expiration
2041-12-27

AI Technical Summary

Technical Problem

The upgrade process of existing cloud mobile operating systems is cumbersome, inefficient and costly, and offline equipment needs to be removed from the shelves and updated before being put on the shelves, resulting in many links and high error rates.

Method used

By obtaining operating system upgrade instructions in cloud devices, determining the target chip and virtual machine, backing up the original system configuration data, and clearing the original system online, installing the upgrade software package, and configuring the target operating system to achieve remote upgrade of the cloud mobile phone operating system.

Benefits of technology

It reduces the time and labor cost of system upgrade, improves the upgrade efficiency, and avoids cumbersome operations and errors of offline equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114489715B_ABST
    Figure CN114489715B_ABST
Patent Text Reader

Abstract

The present disclosure provides a method, apparatus, cloud device and storage medium for upgrading the operating system of a cloud phone, and relates to the field of computer technology, and in particular to the field of cloud services. The specific implementation scheme is: obtaining operating system upgrade instructions; determining the target chip and target virtual machine to be upgraded according to the operating system upgrade instructions; obtaining the original configuration data of the target chip and the target virtual machine as the original chip configuration data and the original virtual machine configuration data; clearing the original system of the target chip, and installing the operating system of the target chip according to the obtained upgrade software package; configuring the operating system of the target chip according to the original chip configuration data; installing the operating system of the target virtual machine according to the obtained upgrade software package; configuring the operating system of the target virtual machine according to the original virtual machine configuration data. The present disclosure solves the problems of the system upgrade process, which has many links, cumbersome operations, high error rate, high cost and low efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to cloud service technology. Background Art

[0002] Cloud phones are mobile phone systems built on cloud servers. Through the server-side chip architecture, they provide cloud phone clients with the necessary services, primarily based on the Android system. Currently, the minimum operating system version requirements for Android applications installed on mobile phones are constantly increasing. Therefore, timely updates of the server-side operating system are necessary to meet the needs of cloud phone users.

[0003] Currently, cloud phone operating system version updates are performed locally, device by device. The server is equipped with a large number of cloud devices—chip-based hardware devices that can host virtual machines and provide cloud phone services. The offline device upgrade process involves removing the old version of the device from the online store and shipping it back. The local offline device is then updated, and finally, the updated offline device is returned to the online store.

[0004] The system upgrade process of the above-mentioned equipment has many links, cumbersome operations, a long process, and a high error rate, resulting in high costs and low efficiency. Summary of the Invention

[0005] The present disclosure provides a method, apparatus, device, and medium for upgrading an operating system of a cloud phone.

[0006] According to one aspect of the present disclosure, a method for upgrading an operating system of a cloud phone is provided. The method is applied to a cloud device of the cloud phone, wherein the cloud device includes at least one chip, the chip is used to host one or more virtual machines, and the virtual machines are used to provide cloud phone business services. The method includes:

[0007] Get operating system upgrade instructions;

[0008] Determine the target chip and target virtual machine to be upgraded according to the operating system upgrade instruction;

[0009] Respectively obtaining original system configuration data of the target chip and the target virtual machine as chip original configuration data and virtual machine original configuration data;

[0010] Clearing the original system of the target chip and installing the operating system of the target chip according to the acquired upgrade software package;

[0011] Configuring the operating system of the target chip according to the original configuration data of the chip;

[0012] Installing the operating system of the target virtual machine according to the acquired upgrade software package;

[0013] The operating system of the target virtual machine is configured according to the original configuration data of the virtual machine.

[0014] According to another aspect of the present disclosure, a cloud phone operating system upgrade apparatus is provided. The apparatus is configured in a cloud device of the cloud phone, wherein the cloud device includes at least one chip configured to host one or more virtual machines configured to provide cloud phone business services. The apparatus includes:

[0015] An instruction acquisition module, used to obtain operating system upgrade instructions;

[0016] An upgrade determination module, configured to determine a target chip and a target virtual machine to be upgraded according to the operating system upgrade instruction;

[0017] A data backup module is used to obtain the original system configuration data of the target chip and the target virtual machine respectively as the chip original configuration data and the virtual machine original configuration data;

[0018] A chip system upgrade module, configured to clear the original system of the target chip and install the operating system of the target chip according to the acquired upgrade software package;

[0019] A chip data restoration module, configured to configure the operating system of the target chip according to the original configuration data of the chip;

[0020] A virtual machine system upgrade module, configured to install the operating system of the target virtual machine according to the acquired upgrade software package;

[0021] The virtual machine data restoration module is used to configure the operating system of the target virtual machine according to the original configuration data of the virtual machine.

[0022] According to another aspect of an embodiment of the present disclosure, a cloud device of a cloud phone is provided, including:

[0023] at least one processor; and

[0024] a memory communicatively connected to the at least one processor; wherein,

[0025] 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 so that the at least one processor can execute the operating system upgrade method of the cloud phone provided in any embodiment of the present disclosure.

[0026] According to another aspect of an embodiment of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the cloud phone operating system upgrade method provided by any embodiment of the present disclosure.

[0027] The solution for upgrading the operating system of the cloud phone online in the disclosed embodiment solves the problem of needing to remove the old version of the online device from the shelf and ship it back during the offline upgrade process; then update the local offline device; and finally ship the offline device back to the shelf after the update; the system upgrade process has many links, cumbersome operations, a long process, and a high error rate, resulting in high cost and low efficiency.

[0028] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] The accompanying drawings are used to better understand the present invention and do not constitute a limitation of the present invention.

[0030] Figure 1A This is a schematic diagram of a cloud phone architecture based on an ARM array server applicable to an embodiment of the present disclosure;

[0031] Figure 1B 1 is a schematic diagram of a method for upgrading an operating system of a cloud phone provided according to an embodiment of the present disclosure;

[0032] Figure 2 1 is a schematic diagram of a method for upgrading an operating system of a cloud phone provided according to an embodiment of the present disclosure;

[0033] Figure 3 This is a schematic diagram of the structure of the operating system upgrade device of the cloud phone provided by the embodiment of the present disclosure;

[0034] Figure 4 3 is a block diagram of an electronic device used to implement the operating system upgrade method of the cloud phone according to the embodiment of the present disclosure. DETAILED DESCRIPTION

[0035] The following description of exemplary embodiments of the present disclosure is made in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding. These details should be considered as merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0036] Cloud phone is a virtualization technology that provides users / customers with an Android instance (operating system) in the cloud. Through the remote desktop connection protocol, the cloud phone can be remotely controlled in real time, ultimately enabling the running of Android native apps in the cloud.

[0037] Figure 1A This is a schematic diagram of a cloud phone architecture based on an ARM array server applicable to an embodiment of the present disclosure. The equipment provider provides an ARM (array) server with an Android system installed for the cloud phone operator. The cloud phone operator creates one or more cloud phones based on the ARM (array) server and provides them to users. The ARM (array) server is designed with at least one ARM processor computing board in a chassis. Each computing board is a minimum system that can run independently, including an ARM processor chip, memory, eMMC storage, network card, etc. For example, each computer board can be installed with a customized system according to its operational needs. For example, board A is installed with Android 6.0 system, and board B is installed with Android 8.0 system. Each computing board communicates with the outside world through Ethernet. Inside the same server chassis, all computing boards are interconnected and communicate with the outside world through Ethernet.

[0038] An ARM server can be called a cloud device. The cloud device includes at least one chip that hosts one or more virtual machines, which are used to provide cloud phone services. The physical hardware is layered with an operating system, which is then installed with virtualization software. This virtualization software then partitions the physical hardware into multiple virtual machines. After each virtual machine has its own independent operating system installed, applications can be deployed. The virtualization software abstracts the physical CPU, memory, hard drive, network card, and other hardware into a logical resource pool and distributes it to each virtual machine as needed. Each virtual machine can independently use its own virtual CPU, memory, hard drive, and network card. All virtual machines share hardware, but the CPU, memory, hard drive, network card, and other resources used by applications installed in the virtual machines are completely independent, isolated, and non-conflicting. Cloud phone operators partition each computing board into one or more virtual machines, install a separate Android operating system on each virtual machine, and provide them to users as cloud phone devices.

[0039] The Android operating system version of the cloud phone is limited by the operating system of the computing board. As the minimum operating system version requirements for cloud phone Android applications continue to increase, the server-side operating system needs to be updated in a timely manner to meet the needs of cloud phone users. Typically, cloud phone operators have multiple ARM (array) servers distributed in different regions to provide services to cloud phone users in different regions. Cloud phone operators control the ARM (array) servers in different regions through remote control devices.

[0040] Figure 1B This is a schematic diagram of a method for upgrading the operating system of a cloud phone according to an embodiment of the present disclosure. This embodiment of the present disclosure is applicable to upgrading the operating system of a cloud phone's cloud device. The method can be performed by a cloud phone's operating system upgrade device, which can be implemented in hardware and / or software and can be configured in the cloud phone's cloud device. Referring to Figure 1B, the method specifically includes the following:

[0041] S110: Obtain operating system upgrade instructions.

[0042] The cloud device of the cloud phone includes at least one chip, and the chip is used to carry one or more virtual machines, and the virtual machines are used to provide cloud phone business services. For example, the cloud device of the cloud phone can be an ARM (array) server, which includes at least one ARM chip. One or more virtual machines are created based on the ARM chip, and the ARM chip is abstracted into logical resources, which are divided into each virtual machine. An operating system is installed for the virtual machine to provide cloud phone business services. The operating system can be an operating system installed on the chip of the cloud phone's cloud device, or it can be an operating system installed on the cloud phone's virtual machine. The upgrade instruction is used to instruct the operating system of the target chip or the operating system of the target virtual machine to upgrade the operating system. The upgrade instruction can be generated directly by the administrator or by a single cloud phone user. The instruction can be sent by the remote control terminal to the server platform, and is an operating system upgrade instruction for one or more target chips or target virtual machines. The remote control terminal can be controlled by the administrator to achieve remote communication with each cloud device according to the instruction and control the upgrade operation.

[0043] S120: Determine a target chip and a target virtual machine to be upgraded according to the operating system upgrade instruction.

[0044] Among them, the operating system upgrade instruction may include at least one of the following: the identification of the chip to be upgraded, the flag of the virtual machine to be upgraded, the version to be upgraded and the hardware resource information required for the upgraded version, such as the model of the chip to be upgraded and the number of CPU cores and memory required for the upgraded version.

[0045] Specifically, the above information can be packaged, encrypted using a hash algorithm, and sent to a server platform via a remote control terminal. The server platform receives the instruction, parses it, and determines the target chip and target virtual machine to be upgraded based on the identifier of the board to be upgraded. For example, the target chip to be upgraded is determined based on the chip identifier carried in the operating system upgrade instruction, and all virtual machines supported by the target chip are determined as target virtual machines to be upgraded; or, the target virtual machine to be upgraded is determined based on the virtual machine identifier carried in the operating system upgrade instruction, and the chip where the target virtual machine is located is determined as the target chip to be upgraded.

[0046] S130 , respectively obtaining original system configuration data of the target chip and the target virtual machine as chip original configuration data and virtual machine original configuration data.

[0047] Among them, the original configuration data of the target chip includes at least one of the following: network card parameters, communication parameters and interface parameters. For example, the network card parameters may be a MAC address, etc., the communication address may be an IP address, Wi-Fi parameters, etc., and the interface parameters may be USB interface parameters, etc. The original configuration data of the virtual machine includes at least one of the following: network card parameters, communication parameters, interface parameters, user data and application data. For example, the network card parameters may be a MAC address, etc., the communication address may be an IP address, Wi-Fi parameters, etc., the user data may be pictures and music saved by the user, etc., and the application data may be data generated by the operation of an APP installed by the user, etc. The IP address of the target chip is generally dynamically allocated by the switch. Before upgrading, the target chip can initiate a request to the switch to set the allocated IP address to a fixed IP, thereby avoiding dynamic reallocation after the upgrade is completed.

[0048] Specifically, before the system is upgraded, the original system configuration data packets of each target chip and each target virtual machine are created according to the original system configuration data of the target chip and the target virtual machine, a temporary area is divided in the memory, and a temporary directory is established for storage. The data in the temporary area will not be deleted during the system upgrade process.

[0049] S140: Clear the original system of the target chip, and install the operating system of the target chip according to the acquired upgrade software package.

[0050] The system upgrade package file may include two parts: a configuration file and a system upgrade file. Specifically, the configuration file may include information such as the system upgrade file version, the chip model to be upgraded, hardware information, kernel information, a transmission checksum polynomial, and the valid data length of the system upgrade file.

[0051] Specifically, during the system upgrade process, the original operating system of the target chip needs to be deleted, completely uninstalled, and then the operating system to be upgraded is installed. Correspondingly, the operating system of the target virtual machine based on the target chip will also be deleted. Therefore, before the board performs the operating system upgrade, the virtual machine is notified to stop working, and the virtual machine configuration parameters, user data, and APP data are backed up and saved.

[0052] Specifically, the upgrade software package for the target chip is downloaded from the remote control terminal and stored in a temporary directory of the target chip; the upgrade software package is then run from the temporary directory to install the operating system of the target chip. Optionally, the upgrade software package can be downloaded from the remote control terminal after determining the target chip and target virtual machine. The system upgrade package file can be stored in the same temporary directory as the original system configuration data package, or separate temporary directories can be created for storage.

[0053] For example, a hash check, such as an MD5 check, is performed on the system upgrade file in the system upgrade package file. If the check succeeds, the system upgrade file is decompressed to perform the system update. During the upgrade process, the original system is deleted.

[0054] S150: Configure the operating system of the target chip according to the original configuration data of the chip.

[0055] Specifically, after the system installation of the target chip is completed, the original configuration data of the chip is extracted from the temporary directory, and the operating system of the target chip is configured according to the parameters of the original configuration data of the chip, for example, the network card address, IP address, Wifi parameters, etc., and then the system is restarted to make the configuration take effect. After the configuration takes effect, the original configuration data of the chip is deleted from the temporary directory.

[0056] After the operating system of the target chip takes effect, the virtual machine operating system is upgraded respectively.

[0057] S160: Install the operating system of the target virtual machine according to the acquired upgrade software package.

[0058] Specifically, after the target chip's operating system upgrade is complete, virtual machines are re-partitioned as target virtual machines, and the operating system is installed on the target virtual machines. The number of re-partitioned target virtual machines is the same as the number of target virtual machines before the target chip upgrade, and the method for installing the operating system on the target virtual machines is the same as the method for upgrading the operating system on the target chip.

[0059] After the upgrade is complete, delete the upgrade package from the temporary directory.

[0060] S170: Configure the operating system of the target virtual machine according to the original configuration data of the virtual machine.

[0061] The method for configuring the operating system of the target virtual machine is consistent with the method for configuring the operating system of the target chip, wherein the original configuration data of the virtual machine also includes user data and application data.

[0062] In a preferred embodiment, the original operating system of the target chip is Android 6.0, and the operating system to be upgraded is Android 8.1. The above method is used to upgrade the operating system of the target chip from Android 6.0 to Android 8.1.

[0063] Compared to offline device upgrades, which require removing old online devices from the shelves and shipping them back, then updating local offline devices, and finally shipping the updated offline devices back online, the technical solution of the disclosed embodiment offers an online upgrade method that simultaneously preserves the original configuration data of the target chip and target virtual machine, saving significant time, improving efficiency, and reducing labor costs.

[0064] Figure 2 This is a schematic diagram of a method for upgrading the operating system of a cloud phone provided in the second embodiment of the present disclosure. This embodiment is an optional solution proposed based on the above embodiment. Figure 2 The method for upgrading the operating system of a cloud phone provided in this embodiment includes:

[0065] S210: Obtain an operating system upgrade instruction sent by a remote control device.

[0066] The remote control device can be a control device operated by an operator and connected to the server platform, or it can be a device terminal used by a user to run a cloud phone. The upgrade instruction is triggered by the operator or the user. For example, the operator can upgrade the target chip with a lower version of the operating system based on market demand, or the user can upgrade the target virtual machine with a lower version of the operating system based on usage needs. For example, if the game software requires a higher version, the user needs to upgrade the virtual machine's operating system.

[0067] The operating system upgrade of the virtual machine requires that the chip's operating system be upgraded to a certain version. When the virtual machine's operating system upgrade exceeds the support range of the chip's operating system, you can submit an application to the operation and maintenance personnel, who will issue an upgrade instruction. The server platform receives the operating system upgrade instruction sent by the operation and maintenance personnel through the remote control device via the communication line.

[0068] S220: Determine a target chip and a target virtual machine to be upgraded according to the operating system upgrade instruction.

[0069] The target chip can be a chip that meets certain conditions, and the target virtual machine can be some virtual machines in the target chip. For example, all chips with Android version 6.0 need to be upgraded, and all virtual machines with Android version 6.0 and below need to be upgraded. For example, the system of chip A is Android 6.0, including virtual machine A1 of Android 4.1 system and virtual machine A2 of Android 6.0 system; the system of chip B is Android 8.1, including virtual machine B1 of Android 6.0 system and virtual machine B2 of Android 8.1 system. Chip A and virtual machines A1, A2 and B1 need to be upgraded. The upgrade of chip A and virtual machines A1 and A2 is issued by the operation and maintenance personnel, instructing the target chip and virtual machine to upgrade. The upgrade of virtual machine B1 can be issued by the user through an upgrade instruction, or applied to the operation and maintenance personnel, who will issue an upgrade instruction to instruct the target chip and virtual machine to upgrade.

[0070] Specifically, the operation and maintenance personnel issue an upgrade instruction, which includes at least: the identification of the chip to be upgraded, the identification of the virtual machine to be upgraded, the version to be upgraded and the hardware resource information required for the upgraded version, such as the model of the chip to be upgraded and the number of CPU cores and memory required for the upgraded version.

[0071] Optionally, the upgrade instruction issued by the operation and maintenance personnel may not include the identification of the chip to be upgraded in the operating system upgrade instruction. For example, the operation and maintenance personnel only upgrades the target virtual machine requested by the user based on the user's application. At this time, when the operating system upgrade of the virtual machine exceeds the support range of the chip's operating system, the chip where the target virtual machine is located can be determined as the target chip to be upgraded, and then the target chip and target virtual machine are upgraded.

[0072] Specifically, the user issues an upgrade instruction, which includes at least: the identifier of the virtual machine to be upgraded, the version to be upgraded, and the hardware resource information required by the upgraded version, such as the model of the chip to be upgraded and the number of CPU cores and memory required by the upgraded version.

[0073] S230, determining the system version and hardware resource requirements of the system to be upgraded according to the operating system upgrade instruction;

[0074] Specifically, after receiving the upgrade instruction, the target chip parses the upgrade instruction to obtain the version to be upgraded and the hardware resource information required by the upgraded version. The hardware resource conditions include at least one of the following: CPU parameters, memory parameters, and storage space.

[0075] In one specific example, if a user issues an upgrade instruction that involves upgrading the target chip's operating system, the upgrade instruction is rejected. For example, if chip A runs Android 6.0, including virtual machines A1 running Android 4.1 and A2 running Android 6.0, and the user issues an upgrade to virtual machine A1's operating system to Android 8.1, the target chip rejects the upgrade instruction, as this exceeds the capacity of chip A.

[0076] S240: Match the local hardware resource condition of the target chip with the hardware resource requirement; if they match, trigger a subsequent system upgrade operation.

[0077] For example, different operating system versions have different hardware requirements. Generally, higher-version operating systems have higher hardware requirements. After receiving the upgrade instruction, the target chip parses the upgrade instruction, obtains the version to be upgraded and the hardware resource information required by the upgraded version, and matches it with its own hardware information. If there is a match, the subsequent system upgrade operation is triggered. If there is a mismatch, the upgrade can be stopped and feedback can be provided to the user.

[0078] S250 , respectively obtaining original system configuration data of the target chip and the target virtual machine as chip original configuration data and virtual machine original configuration data.

[0079] S260: Clear the original system of the target chip, and install the operating system of the target chip according to the acquired upgrade software package;

[0080] S270, configuring the operating system of the target chip according to the original configuration data of the chip;

[0081] S280: Install the operating system of the target virtual machine according to the acquired upgrade software package;

[0082] Optionally, if the system to be upgraded of the target virtual machine is the same as the system to be upgraded of the target chip, copying the upgrade software package from a temporary directory of the target chip, and running the upgrade software package from the temporary directory to install the operating system of the target virtual machine;

[0083] Optionally, if the system to be upgraded of the target virtual machine is different from the system to be upgraded of the target chip, the upgrade software package is downloaded from the remote control terminal and run from a temporary directory to install the operating system of the target virtual machine.

[0084] S290: Configure the operating system of the target virtual machine according to the original configuration data of the virtual machine.

[0085] Specifically, after the system installation of the target virtual machine is completed, the original configuration data of the virtual machine is extracted from the temporary directory, and the operating system of the target chip is configured according to the parameters of the original configuration data of the chip, such as the network card address, IP address, Wi-Fi parameters, user data and application data, etc., and then the system is restarted to make the configuration take effect. After the configuration takes effect, the original configuration data of the chip is deleted from the temporary directory.

[0086] In a specific instance, if the upgrade instruction is issued by the user and does not involve upgrading the operating system of the target chip, then after step S240, only the original system configuration data of the target virtual machine is obtained as the original configuration data of the virtual machine, only the original system of the target virtual machine is cleared, and the operating system of the target virtual machine is installed according to the obtained upgrade software package, and the operating system of the target virtual machine is configured according to the original configuration data of the target virtual machine.

[0087] The technical solution of the disclosed embodiment obtains an operating system upgrade instruction sent by a remote control device, determines whether the instruction meets the upgrade conditions, and then upgrades the operating system of the chips or partial virtual machines that meet the conditions. The upgraded system fully preserves the original system data. The online upgrade solution of this application not only saves a lot of time and improves efficiency, but also reduces labor costs.

[0088] Figure 3 This is a schematic diagram of the structure of the operating system upgrade device of the cloud phone provided by the embodiment of the present disclosure. Figure 3 As shown, the device can be implemented in hardware and / or software and can be configured in a cloud device of a cloud phone. The cloud device includes at least one chip, which is used to host one or more virtual machines, which are used to provide cloud phone business services. The device 300 includes:

[0089] An instruction acquisition module 310 is used to acquire an operating system upgrade instruction;

[0090] A target determination module 320 is configured to determine a target chip and a target virtual machine to be upgraded according to the operating system upgrade instruction;

[0091] The data backup module 330 is used to obtain the original system configuration data of the target chip and the target virtual machine as the chip original configuration data and the virtual machine original configuration data respectively;

[0092] A chip system upgrade module 340 is configured to clear the original system of the target chip and install the operating system of the target chip according to the acquired upgrade software package;

[0093] A chip data restoration module 350 is configured to configure the operating system of the target chip according to the original configuration data of the chip;

[0094] A virtual machine system upgrade module 360 ​​is configured to install the operating system of the target virtual machine according to the acquired upgrade software package;

[0095] The virtual machine data restoration module 370 is configured to configure the operating system of the target virtual machine according to the original configuration data of the virtual machine.

[0096] The system upgrade device provided in the embodiment of the present disclosure can be used to solve the problem of upgrading the server system of the cloud phone online, which not only saves a lot of time and improves efficiency, but also reduces labor costs.

[0097] The instruction acquisition module is specifically used to acquire the operating system upgrade instruction sent by the remote control device.

[0098] The target determination module is specifically configured to determine a target chip to be upgraded according to a chip identifier carried in the operating system upgrade instruction, and determine all virtual machines supported by the target chip as target virtual machines to be upgraded; or

[0099] The target virtual machine to be upgraded is determined according to the virtual machine identifier carried in the operating system upgrade instruction, and the chip where the target virtual machine is located is determined as the target chip to be upgraded.

[0100] The device further includes a resource matching module for determining a target chip and a target virtual machine to be upgraded according to the operating system upgrade instruction.

[0101] Determine the system version and hardware resource requirements of the system to be upgraded according to the operating system upgrade instruction;

[0102] Matching the local hardware resource conditions of the target chip with the hardware resource requirements;

[0103] If they match, the subsequent system upgrade operation is triggered.

[0104] Optionally, the hardware resource condition includes at least one of the following: CPU parameters, memory parameters, and storage space.

[0105] Optionally, the original chip configuration data includes at least one of the following: network card parameters, communication parameters, and interface parameters;

[0106] The original configuration data of the virtual machine includes at least one of the following: network card parameters, communication parameters, interface parameters, user data and application data.

[0107] The chip system upgrade module is specifically used to download the upgrade software package of the target chip from the remote control terminal and store it in a temporary directory of the target chip;

[0108] The upgrade software package is run from a temporary directory to install the operating system of the target chip.

[0109] The virtual machine system upgrade module is specifically configured to copy and obtain the upgrade software package from a temporary directory of the target chip if the system to be upgraded of the target virtual machine is the same as the system to be upgraded of the target chip, and run the upgrade software package from the temporary directory to install the operating system of the target virtual machine;

[0110] If the system to be upgraded of the target virtual machine is different from the system to be upgraded of the target chip, the upgrade software package is downloaded from the remote control terminal and run from a temporary directory to install the operating system of the target virtual machine.

[0111] Optionally, the original operating system of the target chip is Android version 6.0, and the operating system to be upgraded is Android version 8.1.

[0112] The operating system upgrade device of the cloud phone can execute the method provided by any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method. For technical details not fully described in this embodiment, please refer to the occlusion pattern recognition method provided by any embodiment of the present disclosure.

[0113] In the technical solutions disclosed herein, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved are in compliance with relevant laws and regulations and do not violate public order and good morals.

[0114] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium, and a computer program product.

[0115] Figure 4 A schematic block diagram of an example electronic device 410 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are provided as examples only and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0116] Device 410 includes a computing unit 411 that can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 412 or a computer program loaded from a storage unit 418 into a random access memory (RAM) 413. Various programs and data required for the operation of device 410 may also be stored in RAM 413. Computing unit 411, ROM 412, and RAM 413 are connected to each other via a bus 414. An input / output (I / O) interface 415 is also connected to bus 414.

[0117] Various components in device 410 are connected to I / O interface 415, including an input unit 416, such as a keyboard and mouse; an output unit 417, such as various types of displays and speakers; a storage unit 418, such as a magnetic disk and optical disk; and a communication unit 419, such as a network card, a modem, a wireless communication transceiver, etc. Communication unit 419 allows device 410 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.

[0118] The computing unit 411 can be a variety of general-purpose and / or specialized processing components with processing and computing capabilities. Some examples of the computing unit 411 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 that run machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The computing unit 411 performs the various methods and processes described above, such as method XXX. For example, in some embodiments, method XXX can be implemented as a computer software program that is tangibly contained in a machine-readable medium, such as storage unit 418. In some embodiments, part or all of the computer program can be loaded and / or installed on the device 410 via ROM 412 and / or communication unit 419. When the computer program is loaded into RAM 413 and executed by the computing unit 411, one or more steps of method XXX described above can be performed. Alternatively, in other embodiments, the computing unit 411 can be configured to perform method XXX in any other appropriate manner (e.g., by means of firmware).

[0119] Various embodiments of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system-on-chip systems (SOCs), complex programmable logic devices (CPLDs), 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 interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0120] The program code for implementing the method 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 so that when the program code is executed by the processor or controller, the functions / operations specified in the flow chart 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.

[0121] 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 conjunction with an instruction execution system, device, or equipment. 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, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0122] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types 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, voice input, or tactile input.

[0123] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0124] A computer system may include a client and a server. The client and server are typically remote from each other and typically interact via a communication network. This client-server relationship arises through computer programs running on the respective computers, creating a client-server relationship. The server may be a cloud server, also known as a cloud computing server or cloud host, a hosting product within a cloud computing service ecosystem that addresses the management difficulties and limited scalability of traditional physical hosting and VPS services. The server may also be a server in a distributed system or a server integrated with blockchain.

[0125] Artificial intelligence (AI) is the study of how computers can simulate certain human thought processes and intelligent behaviors (such as learning, reasoning, thinking, and planning). It encompasses both hardware and software technologies. AI hardware technologies generally include sensors, specialized AI chips, cloud computing, distributed storage, and big data processing. AI software technologies primarily encompass computer vision, speech recognition, natural language processing, machine learning / deep learning, big data processing, and knowledge graphs.

[0126] Cloud computing refers to a technology system that provides network access to elastically scalable shared pools of physical or virtual resources. These resources can include servers, operating systems, networks, software, applications, and storage devices, and can be deployed and managed on-demand in a self-service manner. Cloud computing technology provides efficient and powerful data processing capabilities for the application of technologies such as artificial intelligence and blockchain, as well as for model training.

[0127] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in this disclosure can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solutions provided by this disclosure can be achieved. This is not a limitation herein.

[0128] The above specific embodiments do not limit the scope of protection of this disclosure. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure are intended to be within the scope of protection of this disclosure.

Claims

1. A method for upgrading the operating system of a cloud phone, applied to a cloud device of the cloud phone, wherein the cloud device includes at least one chip, the chip is used to host one or more virtual machines, and the virtual machines are used to provide cloud phone business services. The method includes: Get operating system upgrade instructions; Determine a target chip to be upgraded according to the chip identifier carried in the operating system upgrade instruction, and determine all virtual machines supported by the target chip as target virtual machines to be upgraded; or Determine a target virtual machine to be upgraded according to the virtual machine identifier carried in the operating system upgrade instruction, and determine the chip where the target virtual machine is located as the target chip to be upgraded; Respectively obtaining original system configuration data of the target chip and the target virtual machine as chip original configuration data and virtual machine original configuration data; Clearing the original system of the target chip and installing the operating system of the target chip according to the acquired upgrade software package; Configuring the operating system of the target chip according to the original configuration data of the chip; Installing the operating system of the target virtual machine according to the acquired upgrade software package; Configuring the operating system of the target virtual machine according to the original configuration data of the virtual machine; The step of installing the operating system of the target virtual machine according to the acquired upgrade software package includes: After the operating system of the target chip is upgraded, the virtual machine is re-divided as the target virtual machine, and the operating system is installed for the target virtual machine.

2. The method according to claim 1, wherein The instructions for obtaining the operation coefficient upgrade include: Get the operating system upgrade instruction sent by the remote control device.

3. The method according to claim 1, after determining the target chip and target virtual machine to be upgraded according to the operating system upgrade instruction, further comprising: Determine the system version and hardware resource requirements of the system to be upgraded according to the operating system upgrade instruction; Matching the local hardware resource conditions of the target chip with the hardware resource requirements; If they match, the subsequent system upgrade operation is triggered.

4. The method according to claim 3, wherein: The hardware resource condition includes at least one of the following: CPU parameters, memory parameters, and storage space.

5. The method according to claim 1, wherein The chip original configuration data includes at least one of the following: network card parameters, communication parameters and interface parameters; The original configuration data of the virtual machine includes at least one of the following: network card parameters, communication parameters, interface parameters, user data and application data.

6. The method according to claim 1, wherein Installing the operating system of the target chip according to the acquired upgrade software package includes: Downloading the upgrade software package of the target chip from the remote control terminal and storing it in a temporary directory of the target chip; The upgrade software package is run from a temporary directory to install the operating system of the target chip.

7. The method according to claim 1 or 6, wherein: Installing the operating system of the target virtual machine according to the obtained upgrade software package includes: If the system to be upgraded of the target virtual machine is the same as the system to be upgraded of the target chip, copying and obtaining the upgrade software package from the temporary directory of the target chip, and running the upgrade software package from the temporary directory to install the operating system of the target virtual machine; If the system to be upgraded of the target virtual machine is different from the system to be upgraded of the target chip, the upgrade software package is downloaded from the remote control terminal and run from a temporary directory to install the operating system of the target virtual machine.

8. The method according to claim 1, wherein The original operating system of the target chip is Android version 6.0, and the operating system to be upgraded is Android version 8.

1.

9. A cloud phone operating system upgrade device, configured in a cloud device of the cloud phone, wherein the cloud device includes at least one chip, the chip is used to host one or more virtual machines, and the virtual machines are used to provide cloud phone business services, the device comprising: An instruction acquisition module, used to obtain operating system upgrade instructions; an upgrade determination module, configured to determine a target chip to be upgraded based on a chip identifier carried in the operating system upgrade instruction, and determine all virtual machines supported by the target chip as target virtual machines to be upgraded; or Determine a target virtual machine to be upgraded according to the virtual machine identifier carried in the operating system upgrade instruction, and determine the chip where the target virtual machine is located as the target chip to be upgraded; A data backup module is used to obtain the original system configuration data of the target chip and the target virtual machine respectively as the chip original configuration data and the virtual machine original configuration data; A chip system upgrade module, configured to clear the original system of the target chip and install the operating system of the target chip according to the acquired upgrade software package; A chip data restoration module, configured to configure the operating system of the target chip according to the original configuration data of the chip; A virtual machine system upgrade module, configured to install the operating system of the target virtual machine according to the acquired upgrade software package; A virtual machine data restoration module, configured to configure the operating system of the target virtual machine according to the original configuration data of the virtual machine; The virtual machine system upgrade module is specifically configured to re-divide the virtual machine as a target virtual machine after the operating system upgrade of the target chip is completed, and install the operating system for the target virtual machine.

10. A cloud device for a cloud phone, 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 so that the at least one processor can execute the operating system upgrade method of the cloud phone according to any one of claims 1 to 8.

11. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to enable the computer to execute the cloud phone operating system upgrade method according to any one of claims 1-8.

Citation Information

Patent Citations

  • Virtual machine configuration upgrading method and device, electronic equipment and readable storage medium

    CN110795211A

  • Cloud mobile phone updating method and device, equipment and storage medium

    CN113703821A

  • Upgrade of an operating system of a virtual machine

    US20170322793A1