Upgrading method, system, terminal and storage medium of arm64 architecture virtualization system

By dividing the arm64 architecture virtualization system into multiple functional modules, comparing the version information with the update file package, generating the upgrade package for independent upgrade, the existing system upgrade method requires stopping business operation and updating for too long. Problem, rapid and streamlined system upgrades have been achieved.

CN113703805BActive Publication Date: 2025-02-18JINAN INSPUR DATA TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110874501.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-30
Publication Date
2025-02-18
Estimated Expiration
2041-07-30

AI Technical Summary

Technical Problem

The existing system upgrade method requires stopping the system business operation, interrupting the application business, and not selecting the update files, resulting in too long update time.

Method used

The virtualization system on the arm64 architecture server is divided into multiple functional modules. By comparing the version information of the target functional module with the update file package in the latest system deployment media, retrieving the files to be updated, and generating the upgrade package Perform independent upgrades.

Benefits of technology

It realizes independent upgrades of each module of the virtualization system, quickly generates the most streamlined upgrade package, avoids repeated installation of files without updates, and reduces the time and impact of system upgrades.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113703805B_ABST
    Figure CN113703805B_ABST
Patent Text Reader

Abstract

The present invention provides an upgrade method, system, terminal and storage medium of an arm64 architecture virtualization system, including: dividing a virtualization system pre-deployed on an arm64 architecture server into multiple function modules, and uploading the latest system deployment medium; selecting a target function module from the multiple function modules, and collecting version information of the target function module; performing consistency comparison between the version information and the file information of an update file package corresponding to the target function module in the latest system deployment medium, and retrieving the corresponding file to be updated from the update file package according to the difference file information; generating an upgrade package using the file to be updated, and upgrading the target function module using the upgrade package. The present invention can be quickly upgraded without affecting the application of other modules, and the upgrade package can be applied to modules in all virtualization systems of the same version, which is beneficial to the expansibility of the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of system upgrade, and in particular to an upgrade method, system, terminal and storage medium of an arm64 architecture virtualization system. Background Art

[0002] ARM architecture, formerly known as Advanced RISC Machine and earlier AcornRISC Machine, is a reduced instruction set (RISC) processor architecture. There are also derivative products based on ARM design, important products include Marvell's XScale architecture and Texas Instruments' OMAP series. ARM processors are widely used in embedded system design, low power consumption and energy saving, and are very suitable for the field of mobile communications. Consumer electronics, such as portable devices (PDAs, mobile phones, multimedia players, handheld electronic games, and computers), computer peripherals (hard drives, desktop routers), and even military facilities such as missile onboard computers. As early as 2007, ARM had begun the research and development of 64-bit architecture; in 2011, ARM officially announced the first 64-bit processor architecture "ARMv8". The ARMv8-A architecture, which first realized ARM64, has unparalleled advantages over 32-bit ARM (ARMv7 and earlier) in terms of functions and performance, and ARMv8 is fully compatible with 32-bit ARMv7. The highest performance of the Cortex-A53 based on ARMv8 can reach 1.7 times that of the A7, and the Cortex-A53 can reach nearly 2 times that of the A15. Even when running the same 32-bit program, the ARM64 processor far exceeds the previous 32-bit processor. While the performance has been improved, the power consumption has not increased, but has decreased to a certain extent.

[0003] With the advancement of the arm64 architecture serverization process, it has become increasingly common to deploy applications on arm64 architecture servers. More and more applications are deployed in virtual machines based on the arm64 architecture virtualization platform. With more and more applications and more and more complex business logic, the demand for iterative upgrades of the arm64 architecture server virtualization platform has become increasingly strong.

[0004] The existing system upgrade method needs to stop the system's business operation when installing the update file, interrupting the application business of the arm64 architecture server and taking up business time. In addition, the update file is not selected. When a new version of the system file exists, the system file is refreshed as a whole, resulting in a long update time. Summary of the invention

[0005] In view of the above-mentioned deficiencies in the prior art, the present invention provides an upgrade method, system, terminal and storage medium for an arm64 architecture virtualization system to solve the above-mentioned technical problems.

[0006] In a first aspect, the present invention provides an upgrade method for an arm64 architecture virtualization system, comprising:

[0007] Divide the virtualization system pre-deployed on the arm64 architecture server into multiple functional modules and upload the latest system deployment media;

[0008] Selecting a target functional module from multiple functional modules, and collecting version information of the target functional module;

[0009] Compare the version information with the file information of the update file package corresponding to the target functional module in the latest system deployment medium, and retrieve the corresponding file to be updated from the update file package according to the difference file information;

[0010] An upgrade package is generated using the file to be updated, and the target functional module is upgraded using the upgrade package.

[0011] Furthermore, the virtualization system pre-deployed on the arm64 architecture server is divided into multiple functional modules, and the latest system deployment media is uploaded, including:

[0012] Divide the ICS virtualization system pre-deployed on the arm64 architecture server into multiple functional modules;

[0013] Select function modules that do not require system restart for upgrading from multiple function modules as priority upgrade function modules;

[0014] Upload the latest version of the system deployment media to the arm64 architecture server through the network link.

[0015] Furthermore, the multiple functional modules include a system management module, a storage module, a network module and a virtualization management module.

[0016] Further, a target functional module is selected from the plurality of functional modules, and version information of the target functional module is collected, including:

[0017] Selecting a plurality of target functional modules of the same priority level from a plurality of functional modules;

[0018] The version information of multiple target function modules is collected respectively, wherein the version information is the installation file version data of the target function modules, and an XML file is generated according to the version information.

[0019] Further, a plurality of target functional modules of the same priority level are selected from the plurality of functional modules, including:

[0020] Functional modules with the same priority level are taken as target functional modules for updating in the same batch, and the functional modules are selected as target functional modules in order of priority.

[0021] Further, the version information is compared with the file information of the update file package corresponding to the target functional module in the latest system deployment medium for consistency, and the corresponding file to be updated is retrieved from the update file package according to the difference file information, including:

[0022] Search the corresponding update file package from the latest system deployment media according to the name of the target functional module;

[0023] Extracting file information of the corresponding update file package, wherein the file information includes a file name directory of the corresponding update file package;

[0024] Comparing the consistency between the version information and the file information to obtain difference file information;

[0025] The difference file corresponding to the difference file information is copied as a file to be updated from the corresponding update file package to the update file storage path.

[0026] Further, using the file to be updated to generate an upgrade package, and using the upgrade package to upgrade the target functional module, including:

[0027] Generate an upgrade package using the file to be updated and the configuration file associated with the file to be updated;

[0028] Upload the upgrade package to the upgrade package management module, and save the target function module information and storage location of the upgrade package to the upgrade package list of the upgrade package management module;

[0029] After receiving the upgrade execution instruction of the target functional module, the corresponding upgrade package is retrieved from the upgrade package management module according to the upgrade package list, and the corresponding upgrade package is sent to the target functional module.

[0030] In a second aspect, the present invention provides an upgrade system for an arm64 architecture virtualization system, comprising:

[0031] The system partitioning unit is used to divide the virtualization system pre-deployed on the arm64 architecture server into multiple functional modules and upload the latest system deployment media;

[0032] A version collection unit, used to select a target function module from multiple function modules and collect version information of the target function module;

[0033] A file retrieval unit, configured to compare the version information with the file information of the update file package corresponding to the target functional module in the latest system deployment medium, and retrieve the corresponding file to be updated from the update file package according to the difference file information;

[0034] The upgrade execution unit is used to generate an upgrade package using the file to be updated, and use the upgrade package to upgrade the target functional module.

[0035] Furthermore, the system division unit includes:

[0036] A function division module, used to divide the ICS virtualization system pre-deployed on the arm64 architecture server into multiple function modules, wherein the multiple function modules include a system management module, a storage module, a network module and a virtualization management module;

[0037] A priority classification module is used to select function modules that can be upgraded without restarting the system from multiple function modules as priority upgrade function modules;

[0038] The media upload module is used to upload the latest version of the system deployment media to the arm64 architecture server through a network link.

[0039] Furthermore, the version collection unit includes:

[0040] A target selection module, used for selecting a plurality of target function modules of the same priority level from a plurality of function modules;

[0041] The version collection module is used to collect the version information of multiple target function modules respectively, wherein the version information is the installation file version data of the target function modules, and generate an XML file according to the version information.

[0042] Furthermore, the upgrade execution unit includes:

[0043] A file packaging module, used to generate an upgrade package using the files to be updated and the configuration files associated with the files to be updated;

[0044] An upgrade management module, used to upload the upgrade package to the upgrade package management module, and save the target function module information and storage location of the upgrade package to the upgrade package list of the upgrade package management module;

[0045] The file sending module is used to retrieve the corresponding upgrade package from the upgrade package management module according to the upgrade package list after receiving the upgrade execution instruction of the target functional module, and send the corresponding upgrade package to the target functional module.

[0046] In a third aspect, a terminal is provided, including:

[0047] processor, memory, wherein:

[0048] The memory is used to store computer programs.

[0049] The processor is used to call and run the computer program from the memory, so that the terminal executes the above-mentioned terminal method.

[0050] According to a fourth aspect, a computer storage medium is provided, wherein the computer-readable storage medium stores instructions, and when the instructions are executed on a computer, the computer executes the methods described in the above aspects.

[0051] The beneficial effects of the present invention are:

[0052] The upgrade method of the arm64 architecture virtualization system provided by the present invention realizes independent upgrade of each module of the virtualization system by modularizing the virtualization system, and at the same time, performs consistency comparison between the version information of the target function module and the file information of the update file package corresponding to the target function module in the latest system deployment medium, and retrieves the corresponding file to be updated from the update file package according to the difference file information, so as to realize the identification of the update file in the latest system deployment medium, and no longer repeatedly installs the file that does not need to be updated. The upgrade package is generated by using the file to be updated, and the target function module is upgraded by using the upgrade package, and the most concise upgrade package is quickly generated for each target function module, and the system upgrade can be realized after all function modules are installed with the upgrade package. The present invention enables the upgrade package to be quickly produced by module in the arm64 architecture virtualization system, so that the system can be quickly upgraded by module, and can be quickly upgraded without affecting the application of other modules, and the upgrade package can be applied to the modules in all virtualization systems of the same version, which is beneficial to the expansibility of the system.

[0053] The upgrade system of the arm64 architecture virtualization system provided by the present invention modularizes the virtualization system through a system division unit, realizes independent upgrade of each module of the virtualization system, and simultaneously compares the version information of the target function module with the file information of the update file package corresponding to the target function module in the latest system deployment medium through a version acquisition unit and a file retrieval unit, retrieves the corresponding file to be updated from the update file package according to the difference file information, realizes the identification of the update file in the latest system deployment medium, and does not repeat the installation for the file that does not need to be updated. The upgrade execution unit generates an upgrade package using the file to be updated, and uses the upgrade package to upgrade the target function module, quickly generates the most concise upgrade package for each target function module, and all function modules install the upgrade package to realize system upgrade. The present invention enables the upgrade package to be quickly produced by module in the arm64 architecture virtualization system, allows the system to be quickly upgraded by module, can be quickly upgraded without affecting the application of other modules, and the upgrade package can be applied to the modules in all virtualization systems of the same version, which is beneficial to the expansibility of the system.

[0054] The terminal provided by the present invention comprises a processor, and the processor runs an upgrade method of an arm64 architecture virtualization system. The terminal realizes independent upgrade of each module of the virtualization system by modularizing the virtualization system, and at the same time, by comparing the version information of the target function module with the file information of the update file package corresponding to the target function module in the latest system deployment medium, the corresponding file to be updated is retrieved from the update file package according to the difference file information, and the update file in the latest system deployment medium is identified, and the file that does not need to be updated is no longer repeatedly installed. The upgrade package is generated by using the file to be updated, and the target function module is upgraded by using the upgrade package, and the most concise upgrade package is quickly generated for each target function module, and the system upgrade can be realized after all function modules are installed and the upgrade package is completed. The present invention enables the upgrade package to be quickly produced by module in the arm64 architecture virtualization system, so that the system can be quickly upgraded by module, and can be quickly upgraded without affecting the application of other modules, and the upgrade package can be applied to the modules in all virtualization systems of the same version, which is beneficial to the extensibility of the system.

[0055] The storage medium provided by the present invention stores a program for executing the upgrade of the arm64 architecture virtualization system. The present invention enables the arm64 architecture virtualization system to quickly produce upgrade packages by module, so that the system can be quickly upgraded by module, and can be quickly upgraded without affecting the application of other modules, and the upgrade package can be applied to the modules of all virtualization systems of the same version, which is beneficial to the scalability of the system.

[0056] In addition, the invention has a reliable design principle, a simple structure and a very broad application prospect. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0058] Figure 1 is a schematic flow chart of a method according to an embodiment of the present invention.

[0059] Figure 2 is a schematic block diagram of a system according to an embodiment of the present invention.

[0060] Figure 3 A schematic diagram of the structure of a terminal provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0061] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0062] The key terms appearing in the present invention are explained below.

[0063] Virtualization system, virtual computer system (referred to as virtual machine) refers to a logical computer system with complete hardware functions that runs in an isolated environment using virtualization technology, including operating systems and applications. Multiple different operating systems can be installed in a virtual machine, and these operating systems are independent of each other. Virtual machines and physical computer systems can have different instruction set architectures, which will cause each instruction on the virtual machine to be simulated and executed on the physical computer. Obviously, this will lead to poor performance. Therefore, we generally make the instruction set architecture of the virtual machine the same as that of the physical computer system. In this way, most instructions will run directly on the processor, and only those instructions that need to be virtualized will run on the virtual machine. Inspur's ICOS also integrates a huge cloud data center operating system including VMware, PowerVM, vSAN and other third-party functional components. ICOS is a modular cloud platform built on OpenStack and underlying virtualization resources; for small and medium-sized customers in regions and industries, it cooperates with the standard version of the cloud management platform to provide a stable, easy-to-install, deploy, and easy-to-operate distribution cloud operating system, and for key industries and large regional customers, it cooperates with the industry-customized cloud management platform to provide an industry-customized cloud operating system.

[0064] ICS virtualization system is a virtualized industrial control system. Industrial control systems require large amounts of data, such as images and voice signals, and high-speed transmission, which has given rise to the combination of Ethernet and control networks, which is currently popular in the commercial field. This wave of industrial control system networking has also integrated many popular technologies such as embedded technology, multi-standard industrial control network interconnection, and wireless technology, thereby expanding the development space in the field of industrial control and bringing new development opportunities.

[0065] Figure 1 is a schematic flow chart of a method according to an embodiment of the present invention. Figure 1 The execution subject may be an upgrade system of an arm64 architecture virtualization system.

[0066] like Figure 1 As shown, the method includes:

[0067] Step 110, dividing the virtualization system pre-deployed on the arm64 architecture server into multiple functional modules, and uploading the latest system deployment medium;

[0068] Step 120, selecting a target functional module from multiple functional modules, and collecting version information of the target functional module;

[0069] Step 130, performing consistency comparison between the version information and the file information of the update file package corresponding to the target functional module in the latest system deployment medium, and retrieving the corresponding file to be updated from the update file package according to the difference file information;

[0070] Step 140: Generate an upgrade package using the file to be updated, and use the upgrade package to upgrade the target functional module.

[0071] To facilitate understanding of the present invention, the following is a further description of the upgrade method of the arm64 architecture virtualization system provided by the present invention based on the principle of the upgrade method of the arm64 architecture virtualization system of the present invention and the process of modularly and independently upgrading the arm64 architecture virtualization system in the embodiment.

[0072] The method provided in this embodiment includes deploying a server virtualization system on an arm64 architecture server, uploading the latest system deployment medium, selecting a module for which an upgrade package is to be made according to requirements, collecting module information, comparing and analyzing the module information with the latest medium, collecting files according to the comparative analysis data file, packaging and making an upgrade package and uploading it, and downloading the upgrade package by the module to perform the update. The upgrade method of the arm64 architecture virtualization system provided in this embodiment includes the following specific steps:

[0073] S1. Divide the virtualization system pre-deployed on the arm64 architecture server into multiple functional modules, and upload the latest system deployment media.

[0074] The ICS virtualization system pre-deployed on the arm64 architecture server is divided into multiple functional modules, wherein the multiple functional modules include a system management module, a storage module, a network module and a virtualization management module; the functional modules that can be upgraded without restarting the system are selected from the multiple functional modules as priority upgrade functional modules; and the latest version of the system deployment medium is uploaded to the arm64 architecture server through a network link.

[0075] To deploy a server virtualization system on an arm64 architecture server, you can choose to install it manually according to ISO, or use automatic deployment software to batch deploy and install the server virtualization system on an arm64 architecture server. Divide the virtualization system into multiple functional modules, such as system management module, storage module, network module, basic input and output management module, virtualization management module, etc. Each functional module is independent of each other when performing an upgrade. Upload the latest system deployment media, upload the latest system deployment media to the media management module for the production and pull files of the upgrade package.

[0076] The function modules of the virtualization system are screened, and the function modules that do not require system restart are prioritized for upgrade, and the function modules that require system restart are the last function modules to be upgraded. In this way, the system upgrade can be completed by restarting the system after all function modules have been upgraded.

[0077] S2. Select a target functional module from multiple functional modules, and collect version information of the target functional module.

[0078] Select multiple target function modules with the same priority level from multiple function modules; collect version information of the multiple target function modules respectively, the version information is the installation file version data of the target function modules, and generate an XML file according to the version information.

[0079] Select the modules for which you want to make upgrade packages based on your needs. Select the modules for which you want to make upgrade packages based on your current business needs and system requirements. If some modules cannot be shut down for upgrade, you can choose not to make them first and only select the modules that need to be upgraded urgently.

[0080] Collect target function module information, collect relevant information of the target function module, the current version of the target function module, and the installation file information of the current version, and generate an XML file with the collected relevant data for comparative analysis.

[0081] S3, performing consistency comparison between the version information and the file information of the update file package corresponding to the target functional module in the latest system deployment medium, and retrieving the corresponding file to be updated from the update file package according to the difference file information.

[0082] Search for the corresponding update file package from the latest system deployment medium according to the name of the target functional module; extract the file information of the corresponding update file package, the file information including the file name directory of the corresponding update file package; compare the consistency of the version information with the file information to obtain the difference file information; copy the difference file corresponding to the difference file information as the file to be updated from the corresponding update file package to the update file storage path.

[0083] Compare and analyze the version information of the target functional module with the file information of the update file package corresponding to the target functional module in the latest system deployment medium. If there is no matching information in the version information of an update file in the update file package, then the update file is the file to be updated; if there is matching information in the version information of an update file in the update file package, then the update file is an invalid file, that is, a file that does not need to be installed.

[0084] S4. Generate an upgrade package using the file to be updated, and use the upgrade package to upgrade the target functional module.

[0085] An upgrade package is generated using the file to be updated and the associated configuration file of the file to be updated; the upgrade package is uploaded to the upgrade package management module, and the target function module information and storage location of the upgrade package are saved to the upgrade package list of the upgrade package management module; after receiving the upgrade execution instruction of the target function module, the corresponding upgrade package is retrieved from the upgrade package management module according to the upgrade package list, and the corresponding upgrade package is sent to the target function module.

[0086] The files to be updated of the target functional module in step S3 are aggregated and packaged into an upgrade package of the target functional module and uploaded. The files to be updated and the upgrade package configuration files are compressed and stored according to the packaging rules to generate an upgrade package, and uploaded to the upgrade package management module. The functional module of the virtualization system downloads the upgrade package when it needs to be upgraded. The functional module can view the list of upgrade packages that have been prepared in the system and click to pull the upgrade package into the functional module.

[0087] The upgrade method of the arm64 architecture virtualization system provided by the present invention realizes independent upgrade of each module of the virtualization system by modularizing the virtualization system, and at the same time, performs consistency comparison between the version information of the target function module and the file information of the update file package corresponding to the target function module in the latest system deployment medium, and retrieves the corresponding file to be updated from the update file package according to the difference file information, so as to realize the identification of the update file in the latest system deployment medium, and no longer repeatedly installs the file that does not need to be updated. The upgrade package is generated by using the file to be updated, and the target function module is upgraded by using the upgrade package, and the most concise upgrade package is quickly generated for each target function module, and the system upgrade can be realized after all function modules are installed with the upgrade package. The present invention enables the upgrade package to be quickly produced by module in the arm64 architecture virtualization system, so that the system can be quickly upgraded by module, and can be quickly upgraded without affecting the application of other modules, and the upgrade package can be applied to the modules in all virtualization systems of the same version, which is beneficial to the expansibility of the system.

[0088] like Figure 2 As shown, the system 200 includes:

[0089] The system partitioning unit 210 is used to divide the virtualization system pre-deployed on the arm64 architecture server into multiple functional modules and upload the latest system deployment medium;

[0090] The version collection unit 220 is used to select a target function module from multiple function modules and collect version information of the target function module;

[0091] The file retrieval unit 230 is used to compare the version information with the file information of the update file package corresponding to the target functional module in the latest system deployment medium, and retrieve the corresponding file to be updated from the update file package according to the difference file information;

[0092] The upgrade execution unit 240 is used to generate an upgrade package using the file to be updated, and use the upgrade package to upgrade the target functional module.

[0093] Optionally, as an embodiment of the present invention, the system division unit includes:

[0094] A function division module, used to divide the ICS virtualization system pre-deployed on the arm64 architecture server into multiple function modules, wherein the multiple function modules include a system management module, a storage module, a network module and a virtualization management module;

[0095] A priority classification module is used to select function modules that can be upgraded without restarting the system from multiple function modules as priority upgrade function modules;

[0096] The media upload module is used to upload the latest version of the system deployment media to the arm64 architecture server through a network link.

[0097] Optionally, as an embodiment of the present invention, the version collection unit includes:

[0098] A target selection module, used for selecting a plurality of target function modules of the same priority level from a plurality of function modules;

[0099] The version collection module is used to collect the version information of multiple target function modules respectively, wherein the version information is the installation file version data of the target function modules, and generate an XML file according to the version information.

[0100] Optionally, as an embodiment of the present invention, the upgrade execution unit includes:

[0101] A file packaging module, used to generate an upgrade package using the files to be updated and the configuration files associated with the files to be updated;

[0102] An upgrade management module, used to upload the upgrade package to the upgrade package management module, and save the target function module information and storage location of the upgrade package to the upgrade package list of the upgrade package management module;

[0103] The file sending module is used to retrieve the corresponding upgrade package from the upgrade package management module according to the upgrade package list after receiving the upgrade execution instruction of the target functional module, and send the corresponding upgrade package to the target functional module.

[0104] Figure 3 The present invention provides a schematic diagram of the structure of a terminal 300 according to an embodiment of the present invention. The terminal 300 can be used to execute the upgrade method of the arm64 architecture virtualization system according to an embodiment of the present invention.

[0105] The terminal 300 may include: a processor 310, a memory 320 and a communication unit 330. These components communicate via one or more buses. Those skilled in the art will appreciate that the server structure shown in the figure does not limit the present invention, and it may be a bus structure or a star structure, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0106] The memory 320 can be used to store the execution instructions of the processor 310. The memory 320 can be implemented by any type of volatile or non-volatile storage terminal or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. When the execution instructions in the memory 320 are executed by the processor 310, the terminal 300 can perform some or all of the steps in the following method embodiments.

[0107] The processor 310 is the control center of the storage terminal, and uses various interfaces and lines to connect various parts of the entire electronic terminal. It runs or executes software programs and / or modules stored in the memory 320, and calls data stored in the memory to perform various functions of the electronic terminal and / or process data. The processor can be composed of an integrated circuit (IC), for example, it can be composed of a single packaged IC, or it can be composed of a plurality of packaged ICs with the same or different functions. For example, the processor 310 can include only a central processing unit (CPU). In the embodiment of the present invention, the CPU can be a single computing core or multiple computing cores.

[0108] The communication unit 330 is used to establish a communication channel so that the storage terminal can communicate with other terminals, receive user data sent by other terminals or send user data to other terminals.

[0109] The present invention also provides a computer storage medium, wherein the computer storage medium may store a program, and when the program is executed, the program may include some or all of the steps in each embodiment provided by the present invention. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM).

[0110] Therefore, the present invention realizes independent upgrade of each module of the virtualization system by modularizing the virtualization system, and at the same time, by comparing the version information of the target function module with the file information of the update file package corresponding to the target function module in the latest system deployment medium, the corresponding file to be updated is retrieved from the update file package according to the difference file information, and the update file in the latest system deployment medium is identified, and the file that does not need to be updated is no longer repeatedly installed. The upgrade package is generated using the file to be updated, and the target function module is upgraded using the upgrade package, and the most concise upgrade package is quickly generated for each target function module, and the system upgrade can be realized after all function modules are installed and the upgrade package is completed. The present invention makes it possible to quickly make upgrade packages in arm64 architecture virtualization system, so that the system can be quickly upgraded in modules, and can be quickly upgraded without affecting the application of other modules, and the upgrade package can be applied to the modules in all virtualization systems of the same version, which is beneficial to the scalability of the system. The technical effect that can be achieved by this embodiment can be found in the description above, and will not be repeated here.

[0111] Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution in the embodiments of the present invention, in essence or in other words, the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes, including several instructions for enabling a computer terminal (which can be a personal computer, a server, or a second terminal, a network terminal, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention.

[0112] In this specification, the same or similar parts between the various embodiments can be referred to each other. In particular, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description in the method embodiment.

[0113] In the several embodiments provided by the present invention, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of systems or units, which can be electrical, mechanical or other forms.

[0114] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0115] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0116] Although the present invention has been described in detail by referring to the accompanying drawings and in combination with the preferred embodiments, the present invention is not limited thereto. Without departing from the spirit and essence of the present invention, a person of ordinary skill in the art may make various equivalent modifications or substitutions to the embodiments of the present invention, and these modifications or substitutions shall be within the scope of the present invention. Any person of ordinary skill in the art may easily think of changes or substitutions within the technical scope disclosed by the present invention, and these shall be within the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be subject to the scope of protection of the claims.

Claims

1. A method for upgrading an arm64 architecture virtualization system, characterized in that: include: Divide the virtualization system pre-deployed on the arm64 architecture server into multiple functional modules and upload the latest system deployment media; Divide the virtualization system pre-deployed on the arm64 architecture server into multiple functional modules and upload the latest system deployment media, including: Divide the ICS virtualization system pre-deployed on the arm64 architecture server into multiple functional modules; Select function modules that do not require system restart for upgrading from multiple function modules as priority upgrade function modules; After completing the upgrade of all functional modules, restart the system to complete the system upgrade; Upload the latest version of the system deployment media to the arm64 architecture server through the network link; Selecting a target functional module from multiple functional modules, and collecting version information of the target functional module; Select a target functional module from multiple functional modules, and collect version information of the target functional module, including: Selecting a plurality of target functional modules of the same priority level from a plurality of functional modules; Collecting version information of multiple target function modules respectively, wherein the version information is installation file version data of the target function modules, and generating an XML file according to the version information; Compare the version information with the file information of the update file package corresponding to the target functional module in the latest system deployment medium, and retrieve the corresponding file to be updated from the update file package according to the difference file information; Collect target function module information, collect relevant information of the target function module, the current version of the target function module, and the installation file information of the current version, and generate an XML file with the collected relevant data for comparative analysis; Comparing the version information with the file information of the update file package corresponding to the target functional module in the latest system deployment medium, and retrieving the corresponding file to be updated from the update file package according to the difference file information, including: Search the corresponding update file package from the latest system deployment media according to the name of the target functional module; Extracting file information of the corresponding update file package, wherein the file information includes a file name directory of the corresponding update file package; Comparing the consistency between the version information and the file information to obtain difference file information; Copying the difference file corresponding to the difference file information as the file to be updated from the corresponding update file package to the update file storage path; If the update file in the update file package does not have matching information in the version information, the update file is a file to be updated; if the update file in the update file package has matching information in the version information, the update file is an invalid file, that is, a file that does not need to be installed; Generate an upgrade package using the file to be updated, and use the upgrade package to upgrade the target functional module; Generating an upgrade package using the file to be updated, and upgrading the target functional module using the upgrade package, including: Generate an upgrade package using the file to be updated and the configuration file associated with the file to be updated; Upload the upgrade package to the upgrade package management module, and save the target function module information and storage location of the upgrade package to the upgrade package list of the upgrade package management module; After receiving the upgrade execution instruction of the target functional module, the corresponding upgrade package is retrieved from the upgrade package management module according to the upgrade package list, and the corresponding upgrade package is sent to the target functional module; Select multiple target function modules with the same priority level from multiple function modules, including: Functional modules with the same priority level are taken as target functional modules for updating in the same batch, and the functional modules are selected as target functional modules in order of priority.

2. The method according to claim 1, characterized in that The multiple functional modules include a system management module, a storage module, a network module and a virtualization management module.

3. A system for executing the method according to any one of claims 1 to 2, characterized in that: include: The system partitioning unit is used to divide the virtualization system pre-deployed on the arm64 architecture server into multiple functional modules and upload the latest system deployment media; A version collection unit, used to select a target function module from multiple function modules and collect version information of the target function module; A file retrieval unit, used to compare the version information with the file information of the update file package corresponding to the target functional module in the latest system deployment medium, and retrieve the corresponding file to be updated from the update file package according to the difference file information; An upgrade execution unit, used to generate an upgrade package using the file to be updated, and to upgrade the target functional module using the upgrade package; The system division unit comprises: A function division module, used to divide the ICS virtualization system pre-deployed on the arm64 architecture server into multiple function modules, wherein the multiple function modules include a system management module, a storage module, a network module and a virtualization management module; A priority classification module is used to select function modules that can be upgraded without restarting the system from multiple function modules as priority upgrade function modules; The media upload module is used to upload the latest version of the system deployment media to the arm64 architecture server through the network link; The version collection unit includes: A target selection module, used for selecting a plurality of target function modules of the same priority level from a plurality of function modules; The target selection module is also used to select the function modules with the same priority level as the target function modules for updating in the same batch, and select the function modules as the target function modules in order of priority; The version collection module is used to collect the version information of multiple target function modules respectively, wherein the version information is the installation file version data of the target function modules, and generate an XML file according to the version information.

4. A terminal, characterized in that: include: processor; A memory for storing execution instructions of the processor; The processor is configured to execute the method according to any one of claims 1 to 2.

5. A computer-readable storage medium storing a computer program, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 2 is implemented.

Citation Information

Patent Citations

  • Difference upgrade method, server and terminal

    CN105357231A