Processing method and device for heterogeneous processor computer system and electronic equipment

By obtaining and querying the processor characteristic information in the backup repository, the backup and recovery of the heterogeneous processor system is automatically performed, which solves the compatibility problem of the heterogeneous processor system, reduces the difficulty of operation, and improves the system stability.

CN118796550APending Publication Date: 2024-10-18CHINA MOBILE GROUP ZHEJIANG +3
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410287454.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-13
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

Heterogeneous processor computer systems have compatibility issues during the backup and recovery process, resulting in system instability and requiring the participation of professionals, which increases the technical threshold for operation.

Method used

By obtaining the basic information of the target computer system, querying the matching backup metadata in the backup repository, and using the processor characteristic information described by the backup metadata, it automatically finds suitable backup files for recovery to ensure system stability and compatibility.

Benefits of technology

It realizes high-compatibility backup and recovery of heterogeneous processor systems, avoids incompatibility problems, reduces operating difficulty, does not rely on professionals, and improves operating efficiency and system stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118796550A_ABST
    Figure CN118796550A_ABST
Patent Text Reader

Abstract

The invention discloses a processing method and device for a heterogeneous processor computer system and electronic equipment. The method comprises the following steps: acquiring basic information of a target computer system, wherein the target computer system is configured with at least two architecture types of processors; querying target backup metadata matched with the basic information of the target computer system from a backup storage library; wherein the backup storage library stores backup files of processors of various architecture types and backup metadata associated with the backup files, and the backup metadata describes feature information of the processors to which the backup files belong. And based on a backup file corresponding to the target backup metadata in the backup storage library, recovering the target computer system. The present application provides highly compatible data backup recovery for computer systems of heterogeneous processors.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a processing method, device and electronic device for a heterogeneous processor computer system. Background Art

[0002] With the continuous development of computer technology, computer hardware devices are becoming more and more diversified. Among them, the processor, as the core component of computer hardware, has increasingly rich architecture types, such as X86 architecture, ARM architecture, etc.

[0003] Traditional computer system backup and recovery solutions are designed for homogeneous processors. For heterogeneous processors, incompatibility issues will occur during the backup and recovery process. Currently, many data centers deploy processors of different architecture types to meet computing and system development needs. In this context, it is necessary to develop suitable backup and recovery solutions for heterogeneous processor computer systems. Summary of the invention

[0004] The embodiments of the present application provide a processing method, device and electronic device for a computer system with heterogeneous processors, which can provide highly compatible data backup and recovery for a computer system with heterogeneous processors.

[0005] To solve the above technical problems, the embodiments of the present application are implemented as follows:

[0006] In a first aspect, a processing method for a heterogeneous processor computer system is proposed, comprising:

[0007] Acquire basic information of a target computer system, wherein the target computer system is configured with processors of at least two architecture types;

[0008] Querying target backup metadata matching the basic information of the target computer system from a backup repository; wherein the backup repository stores backup files of processors of multiple architecture types and backup metadata associated with the backup files, and the backup metadata describes characteristic information of the processor to which the backup files belong;

[0009] The target computer system is restored based on the backup file corresponding to the target backup metadata in the backup repository.

[0010] In a second aspect, a processing device for a heterogeneous processor computer system is proposed, comprising:

[0011] An acquisition module, for acquiring basic information of a target computer system, wherein the target computer system is configured with processors of at least two architecture types;

[0012] A matching module is configured to query a target backup metadata that matches the basic information of the target computer system from a backup repository; wherein the backup repository stores backup files of processors of various architecture types and backup metadata associated with the backup files, and the backup metadata describes characteristic information of the processor to which the backup file belongs;

[0013] A recovery module is used to recover the target computer system based on the backup file corresponding to the target backup metadata in the backup repository.

[0014] In a third aspect, an electronic device is provided, comprising: a processor; and a memory arranged to store computer executable instructions, wherein when the executable instructions are executed, the processor performs the following operations:

[0015] Acquire basic information of a target computer system, wherein the target computer system is configured with processors of at least two architecture types;

[0016] Querying target backup metadata matching the basic information of the target computer system from a backup repository; wherein the backup repository stores backup files of processors of multiple architecture types and backup metadata associated with the backup files, and the backup metadata describes characteristic information of the processor to which the backup files belong;

[0017] The target computer system is restored based on the backup file corresponding to the target backup metadata in the backup repository.

[0018] In a fourth aspect, a computer program product is provided, wherein the computer program product stores one or more programs, and when the one or more programs are executed by an electronic device including a plurality of application programs, the electronic device performs the following operations:

[0019] Acquire basic information of a target computer system, wherein the target computer system is configured with processors of at least two architecture types;

[0020] Querying target backup metadata matching the basic information of the target computer system from a backup repository; wherein the backup repository stores backup files of processors of multiple architecture types and backup metadata associated with the backup files, and the backup metadata describes characteristic information of the processor to which the backup files belong;

[0021] The target computer system is restored based on the backup file corresponding to the target backup metadata in the backup repository.

[0022] The present application stores backup files of processors of various architecture types and backup metadata associated with the backup files in a backup repository in advance; wherein the backup metadata describes characteristic information of the processor to which the backup file belongs. In the case where the target computer system needs to be restored, the target backup metadata that matches the description of the processor characteristic information can be queried in the backup repository based on the basic information of the target computer system, and the target computer system can be restored according to the backup file corresponding to the target backup metadata. The entire solution automatically finds suitable backup files for processors of different architecture types in the target computer system for restoration, avoiding incompatibility issues caused by the misuse of backup files between processors of different architecture types, ensuring the stability of the target computer system after restoration, and does not rely on the participation of professionals, thus reducing the technical threshold for operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0024] Figure 1 This is a first flow chart of a processing method for a heterogeneous processor computer system according to an embodiment of the present application.

[0025] Figure 2 This is a second flow chart of the processing method for a heterogeneous processor computer system according to an embodiment of the present application.

[0026] Figure 3 This is a schematic diagram of an application of a backup storage repository according to an embodiment of the present application.

[0027] Figure 4 Schematic diagram of the implementation architecture of the processing method for a heterogeneous processor computer system according to an embodiment of the present application.

[0028] Figure 5 It is a schematic diagram of the structure of a processing device for a heterogeneous processor computer system according to an embodiment of the present application.

[0029] Figure 6 A schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0030] As mentioned above, with the continuous development of computer technology, computer hardware devices are becoming more and more diversified. Among them, processors, as the core components of computer hardware, are becoming increasingly diverse in types and architectures. At present, many data centers deploy processors of different architecture types to meet computing and system development needs.

[0031] Computer system software is generally composed of four parts: operating system kernel, computer file format (LIB) library, third-party software and data files. The operating system kernel, LIB library and third-party software of different processors may not be universal due to differences, which leads to incompatibility problems when backing up and restoring computer systems with heterogeneous processors, affecting the stability and reliability of the computer system. Usually, it requires maintenance personnel with high technical level to spend a lot of time and energy to complete the operation.

[0032] To this end, this application aims to propose a technical solution for effective backup and recovery of heterogeneous processor computer systems, which can effectively solve the system compatibility problem of operating system backup and recovery in heterogeneous processor systems and improve the stability and reliability of the operating system. In addition, it can also simplify the backup and recovery operation process of heterogeneous processor operating systems, improve operation efficiency, and reduce technical barriers.

[0033] In order to make the purpose, technical solutions and advantages of this document clearer, the technical solutions of this application will be clearly and completely described below in combination with the specific embodiments of this application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of this document, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this document.

[0034] In one aspect, an embodiment of the present application provides a processing method for a heterogeneous processor computer system. Figure 1 is a flow chart of the processing method, including:

[0035] S102, obtaining basic information of a target computer system, where the target computer system is configured with processors of at least two architecture types.

[0036] In this embodiment, the basic information of the target computer system may include hardware information, software information and data information.

[0037] The hardware information includes information about at least one of the processor, memory, hard disk, network card, and GPU. The software information includes information about at least one of the operating system kernel, lib library, and third-party software. The data information includes information about at least one of the system configuration, system data files, third-party software configuration files, and third-party software data files.

[0038] S104, querying target backup metadata that matches basic information of the target computer system from the backup repository; wherein the backup repository stores backup files of processors of various architecture types and backup metadata associated with the backup files, and the backup metadata describes characteristic information of the processor to which the backup files belong.

[0039] In this embodiment, the backup metadata may be used as a file fingerprint of the backup file, and is used to match the backup file in the backup storage repository.

[0040] In one feasible implementation, the backup repository stores backup files and backup metadata associated with the backup files for processors of various architecture types for different operating systems; wherein the backup metadata describes the characteristic information of the processor to which it belongs, including the operating system version, processor type, software version, and software type. Correspondingly, this embodiment extracts the basic information of the target computer system according to the four dimensions of operating system version, processor type, software version, and software type to obtain a target feature vector corresponding to the target computer system; then, the similarity between the target feature vector and the baseline feature vector of each backup metadata in the backup repository is calculated (the baseline feature vector of the backup metadata is obtained by feature extraction according to the four dimensions); then, in descending order of similarity, a preset number (usually the preset number is set to 1) of backup metadata is selected from the backup repository as the target backup metadata matching the basic information of the target computer system.

[0041] It can be seen that this embodiment analyzes and layers the operating system software through four dimensions: operating system version, processor type, software version and software type, and at the same time builds a backup metadata structure with the help of file fingerprint technology, so as to achieve accurate distinction between backup files of processors with different architectures and different operating systems (different cases), thereby finding backup files compatible with each processor in the target computer system.

[0042] refer to Figure 2 As shown, in actual application, the backup files of the backup repository can be copied from the source computer system. That is, the present embodiment obtains the hardware information, software information and data information of the source computer system in advance; then, based on the hardware information, software information and data information of the source computer system, generates the backup files of each processor in the source computer system and the backup metadata associated with the backup files; then, adds the backup files of each processor in the source computer system and the backup metadata associated with the backup files to the backup repository. Among them, the process of generating the backup files of each processor in the source computer system and the backup metadata associated with the backup files includes: according to the software information and data information of the source computer system, collecting the relevant files in the source computer system to generate the backup files of each processor in the source computer system; according to the software information of the source computer system, generating the backup tasks of the operating system kernel, LIB library and third-party software for each processor in the source computer system; the backup files of each processor in the source computer system and the metadata of the backup tasks generate the backup metadata associated with the backup files of each processor in the source computer system.

[0043] In this embodiment, the metadata of the backup task includes at least one of the backup task ID, operating system version, processor configuration, hardware basic information, software basic information, data basic information, and the metadata ID list of the backup file. The metadata of the backup file includes the metadata ID of the backup file, the operating system version, processor information, and the basic file information; the basic file information includes at least one of the file type, software name, software version, file HASH, and file storage location.

[0044] Based on the above method, reference Figure 3 As shown, the backup repository stores backup files, metadata of backup files, and metadata of backup tasks. After inputting the target feature vector calculated by the basic information of the target computer system, the matching backup files can be queried.

[0045] S106: Restore the target computer system based on the backup file corresponding to the target backup metadata in the backup repository.

[0046] In summary, the method of this embodiment stores backup files of processors of multiple architecture types and backup metadata associated with the backup files in a backup repository in advance; wherein the backup metadata describes characteristic information of the processor to which the backup file belongs. In the case where the target computer system needs to be restored, the target backup metadata that matches the description of the processor characteristic information can be queried in the backup repository based on the basic information of the target computer system, and the target computer system can be restored according to the backup file corresponding to the target backup metadata. The entire solution automatically finds suitable backup files for processors of different architecture types in the target computer system for restoration, avoiding incompatibility issues caused by the misuse of backup files between processors of different architecture types, ensuring the stability of the target computer system after restoration, and does not rely on the participation of professionals, thus reducing the technical threshold for operation.

[0047] The implementation of the method in this embodiment is described in detail below.

[0048] Figure 4 : is a schematic diagram of the implementation architecture of the method of this embodiment. Among them, the implementation represents the backup process, and the dotted line represents the recovery process. The implementation architecture includes 8 modules in total, namely, a hardware detection module, a software detection module, a data detection module, a backup preprocessing module, a backup module, a recovery preprocessing module, a recovery module and a backup repository module.

[0049] 1. Hardware detection module: used to detect and collect basic hardware information of the computer system and submit it to the backup and recovery preprocessing module.

[0050] Basic hardware information includes: processor, memory, hard disk, network card, GPU and other information.

[0051] 2. Software detection module: used to detect and collect basic software information of the operating system and submit it to the backup and recovery preprocessing module.

[0052] Basic software information includes: operating system kernel, Lib library, third-party software and other information.

[0053] 3. Data detection module: used to detect and collect basic data information of the operating system and submit it to the backup and recovery preprocessing module.

[0054] Basic data information includes: system configuration, system data files, third-party software configuration files, third-party software data files and other information.

[0055] 4. Backup preprocessing module: used to generate corresponding backup strategies according to the hardware configuration information and software configuration information of the source computer system, and compare with the backup repository to generate packaged backup files and metadata. The backup file is compressed and packaged, and the file name is the file HASH value.

[0056] Backup metadata is divided into task metadata and file metadata. The data structure is as follows:

[0057] Backup task metadata: backup task ID, operating system version, processor configuration, basic hardware information, basic software information, basic data information, and backup file metadata ID list.

[0058] Backup file metadata: backup file metadata ID, operating system version, processor information, and basic file information. The basic file information includes the following dimensions:

[0059] A) File Type:

[0060] i Software: operating system kernel, Lib library, third-party software;

[0061] ii Data files: configuration data, operation data;

[0062] B) Software Name

[0063] C) Software Version

[0064] D) File HASH

[0065] E) File storage location

[0066] 5. Backup module: used to submit the metadata and backup files output by the backup preprocessing module to the backup repository.

[0067] 6. Recovery preprocessing module: used to generate corresponding recovery strategies according to the backup version and basic hardware information of the target computer system, and read metadata and corresponding backup files through the backup repository.

[0068] The recovery task metadata mainly includes: recovery task ID, target operating system version, target processor configuration, target hardware basic information, and recovery file metadata ID list.

[0069] Detailed process: First, the basic hardware information of the target computer is read through the hardware detection module. The backup preprocessing module submits the metadata and backup files to the backup repository for storage. Then, the backup metadata to be restored is read through the backup repository. Finally, the basic hardware information of the target computer is compared with the backup metadata to determine whether it is a heterogeneous processor. If it is a heterogeneous processor, the backup file suitable for the target computer is searched in the backup repository according to the backup file metadata list of the backup task metadata information, and the recovery task metadata is constructed.

[0070] Regarding the step of finding backup files suitable for the target computer, this proposal intends to design features including four dimensions, including operating system version, processor type, software version, and software type, to build a computer vector library.

[0071] For example:

[0072] Operating system version: v20.4 (coded as 1)

[0073] Processor type: Kunpeng (coded as 0)

[0074] Software version: v3.0 (code is 2)

[0075] Software type: ubuntu (coded as 3)

[0076] The feature vector after encoding the above information is (1, 0, 2, 3).

[0077] Based on the cosine similarity algorithm, the matching software is found. For computer i and computer j, the calculation formula is as follows:

[0078]

[0079] Among them, u i and u j The feature vectors representing computer i and computer j.

[0080] Based on the backup file corresponding to the most similar Top-1 similar computer, the recovery task metadata is generated by combining the existing backup task metadata and backup file metadata.

[0081] 7. Recovery module: used to obtain backup files from the backup repository according to the recovery task metadata and restore the backup files to the target computer system. The backup files are obtained from the backup repository according to the recovery file metadata ID list of the recovery task metadata, and each backup file is decompressed and aggregated into a complete operating system recovery package, and the recovery package is restored to the target computer. The specific process is as follows:

[0082] 8. Backup repository module: used to store backup files and metadata of different versions of operating systems of each processor. It mainly stores backup task metadata, backup file metadata and backup file metadata, and provides metadata information retrieval and backup file access services.

[0083] Based on the above backup and recovery device, an operating system backup and recovery method based on domestic heterogeneous processors is implemented. During backup, the operating system of the source computer is parsed and layered, and corresponding metadata and backup files are generated and saved to the backup repository. During recovery, a recovery package can be intelligently generated according to the processor type of the target computer for recovery. The specific process is as follows:

[0084] S1, perform a backup operation, select a source computer, and obtain basic hardware information, basic software information, and data information of the source computer system.

[0085] S2, generating corresponding metadata and backup files according to the basic hardware information, basic software information and data information of the source computer system.

[0086] S3, submits metadata and backup files from the source computer system to the backup repository for storage.

[0087] S4, perform the recovery operation and select the backup version and the target computer.

[0088] S5, compare the backup version with the basic information of the target computer hardware to determine whether it is a heterogeneous processor recovery.

[0089] S6, generating recovery task metadata according to the processor type of the target computer system.

[0090] S7, obtaining the backup file according to the recovery task metadata and generating a recovery package.

[0091] S8, restoring the recovery package to the target computer system.

[0092] On the other hand, for Figure 1 In addition to the method shown, an embodiment of the present application also provides a processing device for a heterogeneous processor computer system. Figure 5 is a schematic diagram of the structure of the processing device 500, comprising:

[0093] The acquisition module 510 acquires basic information of a target computer system, where the target computer system is configured with processors of at least two architecture types.

[0094] The matching module 520 queries the target backup metadata that matches the basic information of the target computer system from the backup repository; wherein the backup repository stores backup files of processors of multiple architecture types and backup metadata associated with the backup files, and the backup metadata describes feature information of the processor to which the backup file belongs;

[0095] The recovery module 530 recovers the target computer system based on the backup file corresponding to the target backup metadata in the backup repository.

[0096] The device of this embodiment stores backup files of processors of multiple architecture types and backup metadata associated with the backup files in a backup repository in advance; wherein the backup metadata describes characteristic information of the processor to which the backup file belongs. In the case where the target computer system needs to be restored, the target backup metadata that matches the description of the processor characteristic information can be queried in the backup repository based on the basic information of the target computer system, and the target computer system can be restored according to the backup file corresponding to the target backup metadata. The entire solution automatically finds suitable backup files for processors of different architecture types in the target computer system for restoration, avoiding incompatibility issues caused by the misuse of backup files between processors of different architecture types, ensuring the stability of the target computer system after restoration, and does not rely on the participation of professionals, thus reducing the technical threshold for operation.

[0097] Optionally, the backup repository stores backup files for different operating systems of processors of various architecture types and backup metadata associated with the backup files; the backup metadata describes characteristic information of the processor including operating system version, processor type, software version and software type.

[0098] Optionally, the matching module 520 obtains matching target backup metadata from the backup repository based on the basic information of the target computer system, including: performing feature extraction on the basic information of the target computer system according to four dimensions of operating system version, processor type, software version and software type to obtain a target feature vector corresponding to the target computer system; calculating the similarity between the target feature vector and a baseline feature vector of each backup metadata in the backup repository; wherein the baseline feature vector of the backup metadata is obtained by performing feature extraction according to the four dimensions; and selecting a preset number of backup metadata from the backup repository as target backup metadata matching the basic information of the target computer system in descending order of similarity.

[0099] Optionally, the device of this embodiment further includes:

[0100] The backup module obtains the hardware information, software information and data information of the source computer system before obtaining the matching target backup metadata from the backup repository based on the basic information of the target computer system; generates the backup files of each processor in the source computer system and the backup metadata associated with the backup files based on the hardware information, software information and data information of the source computer system; and adds the backup files of each processor in the source computer system and the backup metadata associated with the backup files to the backup repository.

[0101] The backup module generates backup files of each processor in the source computer system and backup metadata associated with the backup files based on the hardware information, software information and data information of the source computer system, including: collecting relevant files in the source computer system according to the software information and data information of the source computer system to generate backup files of each processor in the source computer system; generating backup tasks for the operating system kernel, LIB library and third-party software of each processor in the source computer system according to the software information of the source computer system; generating backup metadata associated with the backup files of each processor in the source computer system according to the backup files of each processor in the source computer system and the metadata of the backup tasks.

[0102] Optionally, the hardware information includes information of at least one of a processor, memory, hard disk, network card and GPU; the software information includes information of at least one of an operating system kernel, a Lib library and third-party software; the data information includes information of at least one of a system configuration, a system data file, a third-party software configuration file and a third-party software data file.

[0103] Optionally, the metadata of the backup task includes at least one of the backup task ID, operating system version, processor configuration, hardware basic information, software basic information, data basic information, and a metadata ID list of the backup file; the metadata of the backup file includes the metadata ID of the backup file, operating system version, processor information, and file basic information; the file basic information includes: at least one of: file type, software name, software version, file HASH, and file storage location.

[0104] It should be understood that the processing device of the embodiment of the present application can be used as Figure 1 The execution subject of the method shown can thus realize Figure 1 The steps and functions of the method shown.

[0105] Figure 6 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Figure 6 At the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. The memory may include a memory, such as a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage. Of course, the electronic device may also include hardware required for other services.

[0106] The processor, network interface and memory can be interconnected through an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0107] The memory is used to store the program. Specifically, the program may include a program code, and the program code includes a computer operation instruction. The memory may include a memory and a non-volatile memory, and provides instructions and data to the processor.

[0108] The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, forming the above-mentioned processing device at the logical level. The processor executes the program stored in the memory and is specifically used to perform the following operations:

[0109] Basic information of a target computer system is obtained, where the target computer system is configured with processors of at least two architecture types.

[0110] Query target backup metadata that matches basic information of the target computer system from a backup repository; wherein the backup repository stores backup files of processors of multiple architecture types and backup metadata associated with the backup files, and the backup metadata describes characteristic information of the processor to which the backup files belong.

[0111] The target computer system is restored based on the backup file corresponding to the target backup metadata in the backup repository.

[0112] The above application Figure 1The method disclosed in the illustrated embodiment can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in one or more embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in conjunction with one or more embodiments of the present application can be directly embodied as a hardware decoding processor for execution, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0113] Of course, in addition to software implementation methods, the electronic device of the present application does not exclude other implementation methods, such as logic devices or a combination of software and hardware, etc. That is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.

[0114] The present application also provides a computer program product, which includes a computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform the following operations:

[0115] Basic information of a target computer system is obtained, where the target computer system is configured with processors of at least two architecture types.

[0116] Query target backup metadata that matches basic information of the target computer system from a backup repository; wherein the backup repository stores backup files of processors of multiple architecture types and backup metadata associated with the backup files, and the backup metadata describes characteristic information of the processor to which the backup files belong.

[0117] The target computer system is restored based on the backup file corresponding to the target backup metadata in the backup repository.

[0118] In short, the above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of the present application shall be included in the protection scope of one or more embodiments of the present application.

[0119] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0120] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0121] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0122] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

Claims

1. A processing method for a heterogeneous processor computer system, characterized in that: include: Acquire basic information of a target computer system, wherein the target computer system is configured with processors of at least two architecture types; Querying target backup metadata matching the basic information of the target computer system from a backup repository; wherein the backup repository stores backup files of processors of multiple architecture types and backup metadata associated with the backup files, and the backup metadata describes characteristic information of the processor to which the backup files belong; The target computer system is restored based on the backup file corresponding to the target backup metadata in the backup repository.

2. The method according to claim 1, characterized in that: The backup repository stores backup files for different operating systems of processors of various architecture types and backup metadata associated with the backup files; the backup metadata describes characteristic information of the processor including operating system version, processor type, software version and software type.

3. The method according to claim 2, characterized in that Based on the basic information of the target computer system, obtaining matching target backup metadata from the backup repository includes: Extracting features of the basic information of the target computer system according to four dimensions: operating system version, processor type, software version and software type, and obtaining a target feature vector corresponding to the target computer system; Calculating the similarity between the target feature vector and the reference feature vector of each backup metadata in the backup storage repository; wherein the reference feature vector of the backup metadata is obtained by performing feature extraction according to the four dimensions; A preset number of backup metadata are selected from the backup storage repository in descending order of similarity as target backup metadata that matches the basic information of the target computer system.

4. The method according to claim 1, characterized in that: Before acquiring matching target backup metadata from a backup repository based on the basic information of the target computer system, the method further includes: Obtain hardware information, software information and data information of the source computer system; Generate backup files of each processor in the source computer system and backup metadata associated with the backup files based on the hardware information, software information and data information of the source computer system; The backup files of each processor in the source computer system and the backup metadata associated with the backup files are added to the backup storage repository.

5. The method according to claim 4, characterized in that Based on the hardware information, software information and data information of the source computer system, generating a backup file of each processor in the source computer system and backup metadata associated with the backup file, including: Collect relevant files in the source computer system according to the software information and data information of the source computer system to generate backup files of each processor in the source computer system; Generate a backup task for the operating system kernel, LIB library and third-party software of each processor in the source computer system according to the software information of the source computer system; The backup metadata associated with the backup files of each processor in the source computer system is generated according to the backup files of each processor in the source computer system and the metadata of the backup tasks.

6. The method according to claim 5, characterized in that The hardware information includes information of at least one of a processor, a memory, a hard disk, a network card, and a GPU; The software information includes information of at least one of an operating system kernel, a Lib library, and third-party software; The data information includes information of at least one of a system configuration, a system data file, a third-party software configuration file, and a third-party software data file.

7. The method according to claim 5, characterized in that The metadata of the backup task includes at least one of a backup task ID, an operating system version, a processor configuration, basic hardware information, basic software information, basic data information, and a metadata ID list of a backup file; The metadata of the backup file includes the metadata ID of the backup file, the operating system version, the processor information, and the basic file information; The basic file information includes: at least one of the file type, software name, software version, file HASH and file storage location.

8. A processing device for a heterogeneous processor computer system, characterized in that: include: An acquisition module, for acquiring basic information of a target computer system, wherein the target computer system is configured with processors of at least two architecture types; A matching module is configured to query a target backup metadata that matches the basic information of the target computer system from a backup repository; wherein the backup repository stores backup files of processors of various architecture types and backup metadata associated with the backup files, and the backup metadata describes characteristic information of the processor to which the backup file belongs; A recovery module is used to recover the target computer system based on the backup file corresponding to the target backup metadata in the backup repository.

9. An electronic device, comprising: processor; and a memory arranged to store computer executable instructions which, when executed, cause the processor to: Acquire basic information of a target computer system, wherein the target computer system is configured with processors of at least two architecture types; Querying target backup metadata matching the basic information of the target computer system from a backup repository; wherein the backup repository stores backup files of processors of multiple architecture types and backup metadata associated with the backup files, and the backup metadata describes characteristic information of the processor to which the backup files belong; The target computer system is restored based on the backup file corresponding to the target backup metadata in the backup repository.

10. A computer program product, the computer program product comprising a computer readable storage medium storing a computer program, the computer program being operable to cause a computer to perform the following operations: Acquire basic information of a target computer system, wherein the target computer system is configured with processors of at least two architecture types; Querying target backup metadata matching the basic information of the target computer system from the backup repository; in, The backup repository stores backup files of processors of multiple architecture types and backup metadata associated with the backup files, wherein the backup metadata describes feature information of the processor to which the backup files belong; The target computer system is restored based on the backup file corresponding to the target backup metadata in the backup repository.