Cloud software update method, electronic device and storage medium
Through the software update management platform automatic comparison and updating game software in the virtual machine, the high workload problem brought by the frequent update of administrators has been solved, and efficient and convenient cloud software update management has been achieved.
Patent Information
- Application Number
- CN202110947373.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-18
- Publication Date
- 2025-01-28
- Estimated Expiration
- 2041-08-18
AI Technical Summary
In the cloud cafe mode, administrators need to frequently update the game software on each virtual machine, resulting in a very large workload and prone to human errors.
Through the software update management platform, obtain the file information in the update server and virtual machine every time at the preset time, and automatically update the installation folder in the virtual machine to ensure that the software always maintains the latest version.
Realizing automated cloud software update management, reducing manual operations of administrators, saving human resources, improving update efficiency and convenience.
Smart Images

Figure CN113672261B_ABST
Abstract
Description
Background Art
[0002] Cloud gaming is a gaming method based on cloud computing. The service side will have a cluster of servers with powerful computing power, rendering, and storage, and dynamically create virtual machines with appropriate configurations according to user needs. In the cloud gaming operation mode, all games, whether 2D, 3D, or well-prepared 3A games, are run on appropriately configured virtual machines, and the rendered game screens are compressed and transmitted to users through the network. On the client side, the user's gaming device does not require any high-end processors and graphics cards, only basic decoding and keyboard and mouse operation capabilities are required. Users can experience games that originally required high-configuration hosts to play with the most basic configuration.
[0003] The offline "cloud cafe" model came into being based on cloud games. In the cloud cafe model, the service side will have a cluster of servers with powerful computing power, rendering, and storage. After the user enters the cloud cafe, he can access the cluster server through the zero terminal (ZC) provided in the cloud cafe to play games or obtain other application services. In this model, each zero terminal corresponds to a virtual machine, and each virtual machine needs to install a variety of different game software for users to use. However, many game software are updated almost every week. In this case, if the administrator updates the software one by one, the workload for the administrator is very large.
[0004] Therefore, it is necessary to improve one or more problems existing in the above-mentioned related technical solutions.
[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0006] The purpose of the embodiments of the present disclosure is to provide a cloud software update method, an electronic device, and a storage medium, thereby overcoming one or more problems caused by the limitations and defects of the related art at least to a certain extent.
[0007] According to a first aspect of an embodiment of the present disclosure, a cloud software update method is provided, including:
[0008] The software update management platform obtains file information of the installation folder corresponding to each cloud software stored in the update server at preset intervals;
[0009] The software update management platform obtains file information of the installation folder corresponding to each cloud software in the virtual machine;
[0010] The software update management platform compares the file information obtained in the update server with the file information obtained in the virtual machine after pairing them according to the cloud software name;
[0011] It is determined whether the comparison result of the cloud software is different. If different, the installation folder of the cloud software in the virtual machine is directly updated.
[0012] In an exemplary embodiment of the present disclosure, the file information includes at least: a virtual machine name, a software name, a number of files, a file name, and a file size.
[0013] In an exemplary embodiment of the present disclosure, before directly updating the installation folder of the cloud software in the virtual machine, the following steps are also included:
[0014] For files with the same comparison results in the cloud software with different comparison results, the software update management platform obtains the encrypted value information of the file stored in the update server;
[0015] The software update management platform obtains the encrypted value information of the file in the virtual machine;
[0016] The software update management platform compares the encrypted value information of the file obtained from the update server with the encrypted value information of the file obtained from the virtual machine.
[0017] In an exemplary embodiment of the present disclosure, it is determined that the comparison results are the same cloud software, and a secondary comparison is performed through the following steps:
[0018] The software update management platform obtains the encryption value information of each file in the installation folder corresponding to the cloud software stored in the update server;
[0019] The software update management platform obtains the encrypted value information of each file in the installation folder corresponding to the cloud software in the virtual machine;
[0020] The software update management platform compares the encrypted value information obtained in the update server with the encrypted value information in the virtual machine one by one;
[0021] The software update management platform determines each comparison result, and when any comparison result is different, directly updates the installation folder of the cloud software in the virtual machine.
[0022] In an exemplary embodiment of the present disclosure, the cloud software is cloud gaming software, and the step of directly updating the installation folder of the gaming software in the virtual machine includes:
[0023] The software update management platform determines whether the game software is a stand-alone game software or an online game software;
[0024] When the game software is a stand-alone game software, the software update management platform obtains the installation folder corresponding to the game software in the update server, writes it into the installation folder location corresponding to the game software in the virtual machine and overwrites the original installation folder;
[0025] When the game software is an online game software, the software update management platform obtains files with different comparison results in the installation folder corresponding to the game software in the update server, and updates the files with different comparison results in the installation folder corresponding to the game software in the virtual machine.
[0026] In an exemplary embodiment of the present disclosure, the update process includes: updating, updating and overwriting, and deleting;
[0027] When the comparison result is a file existing in the update server but the virtual machine does not have the file, the processing method is to update the file;
[0028] When the comparison result is a file existing in the update server and the file also exists in the virtual machine, the processing method is to update and overwrite the original file;
[0029] When the comparison result is a file existing in the virtual machine but the update server does not have the file, the processing method is to delete the file.
[0030] In an exemplary embodiment of the present disclosure, after the game software in the virtual machine is updated, the software update management platform calculates the encryption value of each file in the updated installation folder, and updates the calculated encryption value and the corresponding file name, file size and file quantity into a file information list and saves it with the name of the game software.
[0031] In an exemplary embodiment of the present disclosure, the encryption value is a SHA256 value.
[0032] According to a second aspect of an embodiment of the present disclosure, there is provided an electronic device, including:
[0033] Processor; and
[0034] A memory, configured to store executable instructions of the processor;
[0035] The processor is configured to execute the steps of the cloud software update method described in any of the above embodiments by executing the executable instructions.
[0036] According to a third aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the steps of the cloud software update method described in any of the above embodiments are implemented.
[0037] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0038] In the embodiments of the present disclosure, the above-mentioned cloud software update method detects whether the installation file in the virtual machine is the latest version of the installation file through the software update management platform, and updates it if it is not the latest version of the installation file, thereby performing update management on the software in each virtual machine without the need for the administrator to perform manual operation, which saves manpower on the one hand and is efficient and convenient on the other.
[0039] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.
[0041] Figure 1 A schematic diagram showing the basic architecture of a cloud internet cafe update system in an exemplary embodiment of the present disclosure is shown;
[0042] Figure 2 A flow chart of a cloud software update method in an exemplary embodiment of the present disclosure is shown;
[0043] Figure 3 A schematic diagram of a program product structure in an exemplary embodiment of the present disclosure is shown;
[0044] Figure 4 A schematic diagram of the structure of an electronic device in an exemplary embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0045] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that the disclosure will be more comprehensive and complete and to fully convey the concepts of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
[0046] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.
[0047] This example implementation first provides a cloud software update method, referring to Figure 2 As shown in , the method may include the following steps:
[0048] Step S101: the software update management platform obtains file information of the installation folder corresponding to each cloud software stored in the update server at a preset time interval;
[0049] Step S102: the software update management platform obtains file information of the installation folder corresponding to each cloud software in the virtual machine;
[0050] Step S103: the software update management platform matches the acquired file information in the update server with the acquired file information in the virtual machine according to the cloud software name and performs a one-to-one comparison;
[0051] Step S104: determine whether the comparison result of the cloud software is different. If different, directly update the installation folder of the cloud software in the virtual machine.
[0052] The above-mentioned cloud software update method detects whether the installation file in the virtual machine is the latest version of the installation file through the software update management platform, and updates it if it is not the latest version of the installation file, thereby updating and managing the software in each virtual machine without the need for the administrator to perform manual operations. On the one hand, it saves manpower, and on the other hand, it is efficient and convenient.
[0053] Next, we will refer to Figures 1 to 4 Each step of the above method in this example implementation is described in more detail.
[0054] In step S101, the cloud software update method can be applied to a cloud Internet cafe, wherein the cloud Internet cafe includes a cluster server and multiple zero terminals, wherein the cluster service includes multiple virtual machines connected to the zero terminals in a one-to-one correspondence; a software update management platform is arranged in the cluster server, wherein the cluster server includes multiple virtual machines, and the update server is used to retrieve the latest version of each software. The update server is electrically or communicatively connected to the software update management platform, and the specific preset time can be set according to the software update frequency in the virtual machine, and can be specifically a few hours or a few days, etc., and no specific limitation is made here.
[0055] In step S102, the software update management platform obtains file information of the installation folder corresponding to each cloud software in the virtual machine. Each cloud software corresponds to an installation folder, and the installation folder includes multiple software post-installation files. The file information is the information of these post-installation files.
[0056] In step S103, the software update management platform compares the file information obtained in the update server with the file information obtained in the virtual machine after pairing them according to the cloud software name, that is, compares the file information of the installation folder belonging to the same cloud software in the update management platform and the virtual machine.
[0057] In step S104, if different cloud software appears in the comparison result, it means that when the information comparison result of any file in the installation folder of the cloud software is different, it means that the installation folder for the cloud software in the update server is a new installation folder, and the installation folder in the virtual machine needs to be updated. Therefore, the software update management platform needs to update the installation folder of the cloud software in the virtual machine.
[0058] In one embodiment, the file information at least includes: virtual machine name, software name, number of files, file name and corresponding size. For example, the file information includes the name of the virtual machine so that the software update management platform knows which virtual machine's installation folder it is, the software name represents which software's installation folder it is, and the number of files represents the number in the folder; in the actual comparison, the software management platform compares the size of the file name one by one. In addition, the following situations may also occur: that is, there is a file in the installation folder of the cloud software of the update management platform but there is no such file in the virtual machine, or there is a file in the virtual machine that does not exist in the update management platform. In this case, it can be compared according to the number of files and updated. Of course, the file information can also include other information, such as the time when the file was created, etc., which is not specifically limited here.
[0059] In one embodiment, before directly updating the installation folder of the cloud software in the virtual machine, the steps further include:
[0060] For files with the same comparison results in the cloud software with different comparison results, the software update management platform obtains the encrypted value information of the file stored in the update server;
[0061] The software update management platform obtains the encrypted value information of the file in the virtual machine;
[0062] The software update management platform compares the encrypted value information of the file obtained from the update server with the encrypted value information of the file obtained from the virtual machine.
[0063] For example, there are many ways to update the cloud software in the virtual machine. You can update the installation folder as a whole, or you can update only the files that need to be updated in the installation folder. In some cases, the file size after the update may be the same as the file size before the update. In this case, in the second case, only updating the files that are different through file information comparison cannot be completely updated, so the files can be checked again by comparing the encrypted values to ensure that the files are completely updated.
[0064] In one embodiment, the comparison results are determined to be the same cloud software, and a second comparison is performed through the following steps:
[0065] The software update management platform obtains the encryption value information of each file in the installation folder corresponding to the cloud software stored in the update server;
[0066] The software update management platform obtains the encrypted value information of each file in the installation folder corresponding to the cloud software in the virtual machine;
[0067] The software update management platform compares the encrypted value information obtained in the update server with the encrypted value information in the virtual machine one by one;
[0068] The software update management platform determines each comparison result, and when any comparison result is different, directly updates the installation folder of the cloud software in the virtual machine.
[0069] For example, there is another situation in which the number of files in the installation folder of the virtual machine and the size of each file are the same in the comparison. In this case, the cloud software in the virtual machine cannot be updated in time only by comparing the file information. Therefore, for the cloud software that does not show different results in the file information comparison, the software update management platform obtains the encrypted value information of each file in the installation folder of the cloud software from the update server and the virtual machine for comparison. The encrypted value information can only include the encrypted value. The software update management platform associates the obtained encrypted value with the previous file information and compares the encrypted value information according to the file name in the file information. The encrypted value information can also include the encrypted value and other file information, which is not specifically limited here. After the comparison, when the encrypted value information is different, it means that the cloud software of the virtual machine needs to be updated. When the encrypted value information is exactly the same, it can be determined that the cloud software does not need to be updated. Specifically, the software update management platform can set an information list for each virtual machine to save the file information and encrypted value information of the installation files in the virtual machine, and save the corresponding file information of each cloud software installation folder in time after the cloud software in the virtual machine is installed or updated each time.
[0070] In one embodiment, the cloud software is cloud gaming software, and the step of directly updating the installation folder of the gaming software in the virtual machine includes:
[0071] The software update management platform determines whether the game software is a stand-alone game software or an online game software;
[0072] When the game software is a stand-alone game software, the software update management platform obtains the installation folder corresponding to the game software in the update server, writes it into the installation folder location corresponding to the game software in the virtual machine and overwrites the original installation folder;
[0073] When the game software is an online game software, the software update management platform obtains files with different comparison results in the installation folder corresponding to the game software in the update server, and updates the files with different comparison results in the installation folder corresponding to the game software in the virtual machine.
[0074] For example, before updating the installation folder of the game software that needs to be updated in the virtual machine, it is determined whether the game software is a stand-alone game software or an online game software, and different update methods are used according to different game types. For example, the installation folder of the stand-alone game is updated with a complete replacement, and only different files are updated in the installation folder of the online game. Specifically, the game type information may be included in the file information, or may be saved in an information list, or may be obtained instantly from the virtual machine before the software update management platform makes a judgment.
[0075] In one embodiment, the update process includes: update, update and overwrite, and delete;
[0076] When the comparison result is a file existing in the update server but the virtual machine does not have the file, the processing method is to update the file;
[0077] When the comparison result is a file existing in the update server and the file also exists in the virtual machine, the processing method is to update and overwrite the original file;
[0078] When the comparison result is a file existing in the virtual machine but the update server does not have the file, the processing method is to delete the file.
[0079] For example, the update method for the installation folder can be update, update and overwrite, and delete. Specifically, the update tag can be set for the file according to the above update method and each file to be updated can be updated according to the update tag. The file tag can include the file name and the file update method, but is certainly not limited to this.
[0080] In one embodiment, after the game software in the virtual machine is updated, the software update management platform calculates the encryption value of each file in the updated installation folder, and updates the calculated encryption value and the corresponding file name, file size and file quantity into a file information list and saves it with the name of the game software. For example, the software update management platform calculates the encryption value of each file in the updated installation folder after each game software update in the virtual machine, and then saves the encryption value corresponding to the file information. Specifically, an information list can be set to save the above encryption value and file information.
[0081] In one embodiment, the encrypted value may be a SHA256 value. For example, the SHA256 value is a value calculated directly after encrypting a file. SHA256 is a cryptographic hash function algorithm standard, and the SHA256 value is actually a hash function. A hash function, also known as a hash algorithm, is a method of creating a small digital "fingerprint" from any kind of data. The hash function compresses a message or data into a summary, making the amount of data smaller and fixing the format of the data. The function shuffles and mixes the data to recreate a fingerprint called a hash value (or hash value), which is usually represented by a short string of random letters and numbers.
[0082] The above-mentioned cloud software update method detects whether the installation file in the virtual machine is the latest version of the installation file through the software update management platform, and updates it if it is not the latest version of the installation file, thereby updating and managing the software in each virtual machine without the need for the administrator to perform manual operations. On the one hand, it saves manpower, and on the other hand, it is efficient and convenient.
[0083] It should be noted that, although the steps of the method in the present disclosure are described in a specific order in the accompanying drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step for execution, and / or one step may be decomposed into multiple steps for execution, etc. In addition, it is also easy to understand that these steps may be, for example, executed synchronously or asynchronously in multiple modules / processes / threads.
[0084] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a computer program is stored, and when the program is executed by, for example, a processor, the steps of the cloud software update method described in any of the above embodiments can be implemented. In some possible implementations, various aspects of the present invention can also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps of various exemplary embodiments of the present invention described in the cloud software update method section of this specification.
[0085] refer to Figure 3As shown, a program product 300 for implementing the above-mentioned cloud software update method according to an embodiment of the present invention is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.
[0086] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable 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 above.
[0087] The computer readable storage medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The readable storage medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by an instruction execution system, an apparatus, or a device or used in combination with it. The program code contained on the readable storage medium may be transmitted with any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the above.
[0088] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
[0089] In an exemplary embodiment of the present disclosure, an electronic device is further provided, which may include a processor and a memory for storing executable instructions of the processor, wherein the processor is configured to execute the steps of the cloud software update method in any of the above embodiments by executing the executable instructions.
[0090] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as a system, method or program product. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as a "circuit", "module" or "system".
[0091] Refer to the following Figure 4 The electronic device 600 according to this embodiment of the present invention is described. Figure 4 The electronic device 600 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0092] like Figure 4 As shown, the electronic device 600 is in the form of a general computing device. The components of the electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one storage unit 620, a bus 630 connecting different system components (including the storage unit 620 and the processing unit 610), a display unit 640, etc.
[0093] The storage unit stores program codes, which can be executed by the processing unit 610, so that the processing unit 610 performs the steps according to various exemplary embodiments of the present invention described in the cloud software update method section of this specification. For example, the processing unit 610 can perform the following steps: Figure 1 Follow the steps shown in .
[0094] The storage unit 620 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 6201 and / or a cache memory unit 6202 , and may further include a read-only memory unit (ROM) 6203 .
[0095] The storage unit 620 may also include a program / utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including but not limited to: an operating system, one or more application programs, other program modules and program data, each of which or some combination may include the implementation of a network environment.
[0096] Bus 630 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0097] The electronic device 600 may also communicate with one or more external devices 700 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 600, and / or communicate with any device that enables the electronic device 600 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 650. Furthermore, the electronic device 600 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 660. The network adapter 660 may communicate with other modules of the electronic device 600 via a bus 630. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0098] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, or a network device, etc.) to execute the above-mentioned cloud software update method according to the implementation of the present disclosure.
[0099] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the appended claims.
Claims
1. A cloud software update method, characterized in that: include: The software update management platform obtains file information of the installation folder corresponding to each cloud software stored in the update server at preset intervals; The software update management platform obtains file information of the installation folder corresponding to each cloud software in the virtual machine; The software update management platform compares the file information obtained in the update server with the file information obtained in the virtual machine after pairing them according to the cloud software name; Determine whether the comparison result of the cloud software is different, and if so, directly update the installation folder of the cloud software in the virtual machine; The file information includes at least: virtual machine name, software name, number of files, file name and file size; Before directly updating the installation folder of the cloud software in the virtual machine, the following steps are also included: For files with the same comparison results in the cloud software with different comparison results, the software update management platform obtains the encrypted value information of the file stored in the update server; The software update management platform obtains the encrypted value information of the file in the virtual machine; The software update management platform compares the encrypted value information of the file obtained from the update server with the encrypted value information of the file obtained from the virtual machine; If the comparison results are the same cloud software, perform a second comparison through the following steps: The software update management platform obtains the encryption value information of each file in the installation folder corresponding to the cloud software stored in the update server; The software update management platform obtains the encrypted value information of each file in the installation folder corresponding to the cloud software in the virtual machine; The software update management platform compares the encrypted value information obtained in the update server with the encrypted value information in the virtual machine one by one; The software update management platform determines each comparison result, and when any comparison result is different, directly updates the installation folder of the cloud software in the virtual machine.
2. The cloud software update method according to claim 1, characterized in that: If the cloud software is cloud gaming software, the step of directly updating the installation folder of the gaming software in the virtual machine includes: The software update management platform determines whether the game software is a stand-alone game software or an online game software; When the game software is a stand-alone game software, the software update management platform obtains the installation folder corresponding to the game software in the update server, writes it into the installation folder location corresponding to the game software in the virtual machine and overwrites the original installation folder; When the game software is an online game software, the software update management platform obtains files with different comparison results in the installation folder corresponding to the game software in the update server, and updates the files with different comparison results in the installation folder corresponding to the game software in the virtual machine.
3. The cloud software update method according to claim 2, characterized in that: The update process includes: update, update and overwrite, and delete; When the comparison result is a file existing in the update server but the virtual machine does not have the file, the processing method is to update the file; When the comparison result is a file existing in the update server and the file also exists in the virtual machine, the processing method is to update and overwrite the original file; When the comparison result is a file existing in the virtual machine but the update server does not have the file, the processing method is to delete the file.
4. The cloud software update method according to claim 3, characterized in that: After the game software in the virtual machine is updated, the software update management platform calculates the encryption value of each file in the updated installation folder, and updates the calculated encryption value and the corresponding file name, file size and file quantity into a file information list and saves it under the name of the game software.
5. The cloud software update method according to claim 4, characterized in that: The encrypted value is a SHA256 value.
6. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to execute the steps of the cloud software update method according to any one of claims 1 to 5 by executing the executable instructions.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the cloud software updating method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Application update method and device, and computer readable storage medium
CN108845824A
Software updating method and device, storage medium and electronic equipment
CN113064616A