CN110865904A - Computer system management method, device, electronic equipment and storage medium - Google Patents

Computer system management method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110865904A
CN110865904A CN201811274581.2A CN201811274581A CN110865904A CN 110865904 A CN110865904 A CN 110865904A CN 201811274581 A CN201811274581 A CN 201811274581A CN 110865904 A CN110865904 A CN 110865904A
Authority
CN
China
Prior art keywords
environment
operating system
package
generated
target terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811274581.2A
Other languages
Chinese (zh)
Inventor
孙书洋
林长伟
黄显澍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Ahtech Network Safe Technology Ltd
Original Assignee
Beijing Ahtech Network Safe Technology Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Ahtech Network Safe Technology Ltd filed Critical Beijing Ahtech Network Safe Technology Ltd
Priority to CN201811274581.2A priority Critical patent/CN110865904A/en
Publication of CN110865904A publication Critical patent/CN110865904A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1456Hardware arrangements for backup

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses a computer system management method, a computer system management device, electronic equipment and a storage medium, which relate to the technical field of computers and can effectively improve the management efficiency of a computer system, and the method comprises the following steps: generating an environment configuration file according to a user instruction, wherein the environment configuration file comprises an element identifier for indicating an environment element of an operating system to be generated; wherein the environmental element comprises at least one of: an operating system, a version of the operating system, application software; searching the environment elements from a pre-established environment pool according to the environment configuration file; and installing the operating system to be generated for the target terminal according to the searched environment elements. The invention can be used in computer system management.

Description

Computer system management method, device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for managing a computer system, an electronic device, and a storage medium.
Background
With the rapid development of computer technology, the management requirements of users on computers are gradually increased. However, as computer systems become more complex, the difficulty of managing the computer systems is increasing.
For example, for a multi-os computer, it is often necessary to perform data backup for each os one by one, and when needed (e.g., data loss), perform data restoration one by one. Thus, because the system environments of the operating systems are different, the workload of backup and restoration is large, and the efficiency is low.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, an apparatus, an electronic device, and a storage medium for managing a computer system, which can effectively improve the management efficiency of the computer system.
In a first aspect, an embodiment of the present invention provides a computer system management method, including: generating an environment configuration file according to a user instruction, wherein the environment configuration file comprises an element identifier for indicating an environment element of an operating system to be generated; wherein the environmental element comprises at least one of: an operating system, a version of the operating system, application software; searching the environment elements from a pre-established environment pool according to the environment configuration file; and installing the operating system to be generated for the target terminal according to the searched environment elements.
With reference to the first aspect, in a first implementation manner of the first aspect, the environment element further includes one or more target terminals on which the operating system to be generated is based.
With reference to the first aspect, in a second implementation manner of the first aspect, the environment pool stores at least one of the following backup packages: the system comprises an operating system, version packages corresponding to different versions of the operating system, and an application software package corresponding to each version package.
With reference to the second implementation manner of the first aspect, in a third implementation manner of the first aspect, the application software package corresponds to multiple version packages or multiple operating system packages.
With reference to the second implementation manner of the first aspect, in a fourth implementation manner of the first aspect, the correspondence between the operating system package, the version package, and the application software package is implemented by a preset package naming rule.
With reference to the second implementation manner of the first aspect, in a fifth implementation manner of the first aspect, the environment element further includes user data; the environment pool also stores a user data packet corresponding to the application software packet; the corresponding relation among the operating system package, the version package, the application software package and the user data package is realized through a preset package naming rule.
With reference to the fourth or fifth implementation manner of the first aspect, in a sixth implementation manner of the first aspect, the searching, according to the environment configuration file, for the environment element from a pre-established environment pool includes: comparing the element identifiers in the environment configuration file with the package names of the backup packages in the environment pool respectively; and if the element identification is consistent with the package name, determining that the corresponding backup package is the environment element required by the operating system to be generated.
With reference to the first aspect, in a seventh implementation manner of the first aspect, the installing the operating system to be generated for a target terminal according to the found environment element includes: storing the searched index information of the environment element into a starting option of the target terminal; and when the target terminal is started, entering the operating system to be generated according to the index information in the starting option.
With reference to the first aspect, in an eighth implementation manner of the first aspect, the environment configuration file is generated locally at the target terminal or generated at a server and transmitted to the target terminal through a network connection.
With reference to the first aspect, in a ninth implementation manner of the first aspect, the environment pool is set locally at the target terminal through a preset interface, or is set in a server and connected to the target terminal through a network.
In a second aspect, an embodiment of the present invention further provides a computer system management apparatus, including: the generating unit is used for generating an environment configuration file according to a user instruction, wherein the environment configuration file comprises an element identifier and is used for indicating an environment element of an operating system to be generated; wherein the environmental element comprises at least one of: an operating system, a version of the operating system, application software; the searching unit is used for searching the environment elements from a pre-established environment pool according to the environment configuration file; and the installation unit is used for installing the operating system to be generated for the target terminal according to the searched environment elements.
With reference to the second aspect, in a first implementation manner of the second aspect, the environment element further includes one or more target terminals on which the operating system to be generated is based.
With reference to the second aspect, in a second implementation manner of the second aspect, the environment pool stores at least one of the following backup packages: the system comprises an operating system, version packages corresponding to different versions of the operating system, and an application software package corresponding to each version package.
With reference to the second implementation manner of the second aspect, in a third implementation manner of the second aspect, the application software package corresponds to a plurality of version packages or a plurality of operating system packages.
With reference to the second implementation manner of the second aspect, in a fourth implementation manner of the second aspect, the correspondence between the operating system package, the version package, and the application software package is implemented by a preset package naming rule.
With reference to the second implementation manner of the second aspect, in a fifth implementation manner of the second aspect, the environment element further includes user data; the environment pool also stores a user data packet corresponding to the application software packet; the corresponding relation among the operating system package, the version package, the application software package and the user data package is realized through a preset package naming rule.
With reference to the fourth or fifth implementation manner of the second aspect, in a sixth implementation manner of the second aspect, the search unit includes: the comparison module is used for comparing the element identifiers in the environment configuration file with the package names of the backup packages in the environment pool respectively; and the determining module is used for determining the corresponding backup package as the environment element required by the operating system to be generated if the comparison result of the comparing module is that the element identifier is consistent with the package name.
With reference to the second aspect, in a seventh implementation manner of the second aspect, the mounting unit includes: the storage module is used for storing the searched index information of the environment element into the starting option of the target terminal; and the entering module is used for entering the operating system to be generated according to the index information in the starting option when the target terminal is started.
With reference to the second aspect, in an eighth implementation manner of the second aspect, the environment profile is generated locally at the target terminal or generated at a server and transmitted to the target terminal through a network connection.
With reference to the second aspect, in a ninth implementation manner of the second aspect, the environment pool is disposed locally to the target terminal through a preset interface, or is disposed in a server and connected to the target terminal through a network.
In a third aspect, an embodiment of the present invention further provides an electronic device, including: the device comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; a power supply circuit for supplying power to each circuit or device of the electronic apparatus; the memory is used for storing executable program codes; the processor executes the program corresponding to the executable program code by reading the executable program code stored in the memory, and is used for executing any computer system management method provided by the embodiment of the invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium storing one or more programs, where the one or more programs are executable by one or more processors to implement any one of the computer system management methods provided by the embodiments of the present invention.
The computer system management method, the computer system management device, the electronic device and the storage medium provided by the embodiment of the invention can generate the environment configuration file according to the user instruction, search the environment elements corresponding to the operating system to be generated from the pre-established environment pool according to the operating system, the version of the operating system, the application software and other environment elements indicated by the environment configuration file, and then install the operating system to be generated for the target terminal according to the searched environment elements. Therefore, the required various operating systems to be generated can be generated for the target terminal only through the environment configuration file and the environment pool, and a user does not need to backup or restore the operating systems to be generated one by one, so that the management efficiency of the computer system is greatly improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart of a method for managing a computer system according to an embodiment of the present invention;
FIG. 2 is a detailed flowchart of a method for managing a computer system according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a computer system management apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In a first aspect, an embodiment of the present invention provides a method for managing a computer system, which can effectively improve the management efficiency of the computer system.
It should be noted that the computer system management method provided by the embodiment of the present invention may be applied to the system management of a single computer (i.e., a single terminal), or may be applied to a computer network (i.e., a plurality of terminals) that performs batch management on a plurality of computers. Whether stand-alone or networked, each target terminal may have one or more operating systems installed thereon. When the computer system is managed in batch, the network manager can simultaneously issue the same instruction to a plurality of computers in the network to carry out unified management operation such as system updating and the like, and can also issue different instructions to different computers to carry out personalized management operation.
Fig. 1 is a flowchart of a computer system management method according to an embodiment of the present invention, and as shown in fig. 1, the computer system management method according to the embodiment may include:
s11, generating an environment configuration file according to a user instruction, wherein the environment configuration file comprises an element identifier for indicating an environment element of an operating system to be generated; wherein the environmental element comprises at least one of: an operating system, a version of the operating system, application software;
the user instruction may be a code written by a user, or a command input by the user through a graphical interface. Optionally, the graphical interface may perform command input in a custom form, or may perform command input in a selected form through the basic configuration template, which is not limited in the embodiment of the present invention. Furthermore, a corresponding environment configuration file can be generated according to the user instruction, and the environment identifications corresponding to various environment elements of the operating system to be generated are indicated through the environment configuration file. Alternatively, the environment configuration file may be a script file, and the script file may be run in a system such as WINPE, DOS, or the like.
Optionally, the to-be-generated operating system in the embodiment of the present invention may be an operating system newly generated for the target terminal, may also be an update of an original operating system, and may also be a recovery of a deleted operating system. And the environment elements of the operating system refer to what operating system is employed by the target terminal and what is the specific operating environment of those operating systems. The environment configuration file specifies the required environment elements for the operating system to be generated by indicating the element identification of each environment element. Optionally, the environmental elements may include one or more of: an operating system, a version of the operating system, and application software. The operating system may be, for example, a Windows7 system or an XP system, the version of the operating system may be, for example, a sp1 version, a sp2 version, and a sp3 version of the XP system, and the application software may be, for example, Microsoft office2003, AUTO CAD2010, QQ2018, and the like.
The environment elements indicated by the environment configuration file are different according to whether the operating system to be generated is a newly generated system, an update to the original system or a recovery to a deleted system. For example, in one embodiment of the invention, the operating system to be generated is a newly generated system, then the environment elements may include the operating system, the version of the operating system, and the application software. In another embodiment of the present invention, if the operating system to be generated is an update to the original system, the environment configuration file only needs to indicate an updated portion of the environment element, for example, if the system to be generated is upgraded and the application software a is added compared to the original system, the environment element indicated by the environment configuration file only needs to include the corresponding system upgrade version and the application software a. If the new system is a restore of a deleted system, the environmental profile may indicate by the environmental element of the deleted system.
S12, searching the environment element from the pre-established environment pool according to the environment configuration file;
in this step, the corresponding environment element may be searched from a pre-established environment pool according to the element identifier in the environment configuration file. The environment pool is a set formed by various environment elements corresponding to various operating systems according to preset rules. Through the steps, whether various environment elements required by the operating system to be generated can be found from the environment pool or not can be conveniently checked.
And S13, installing the operating system to be generated for the target terminal according to the found environment elements.
The target terminal is a hardware basis of the operating system to be generated, and may be various computers, intelligent mobile devices, and the like. Optionally, if the environment element required by the operating system to be generated can be found from the environment pool, the operating system to be generated can be generated for the target terminal by using the environment element in the environment pool. If at least a portion of the environment elements required by the operating system to be generated are not found in the environment pool, the user may be prompted for the environment elements that are not found so that the user may incorporate the environment elements into the operating system to be generated by other means (e.g., manual installation).
The computer system management method provided by the embodiment of the invention can generate the environment configuration file according to the user instruction, search the environment element corresponding to the operating system to be generated from the pre-established environment pool according to the operating system, the version of the operating system, the application software and other environment elements indicated by the environment configuration file, and install the operating system to be generated for the target terminal according to the searched environment element. Therefore, the required various operating systems to be generated can be generated for the target terminal only through the environment configuration file and the environment pool, and a user does not need to backup or restore the operating systems to be generated one by one, so that the management efficiency of the computer system is greatly improved.
Optionally, in step S11, the user may input a user instruction at the target terminal, or may input a user instruction at the server (or the network manager), and accordingly, the environment configuration file may be generated locally at the target terminal, or may be generated at the server, and is transmitted to the target terminal through the network connection. Accordingly, the computer system management method provided by the embodiment of the invention can be applied to a single target terminal, and can also be applied to a computer network with a plurality of target terminals. In a computer network, a network manager can simultaneously perform system management on different target terminals in the network respectively by issuing environment configuration files.
In order to clarify to which target terminal each environment configuration file is directed, in one embodiment of the present invention, the environment element may include one or more target terminals on which the operating system to be generated is based, in addition to the operating system, the operating system version, and the application software. For example, a network manager issues two environment configuration files, wherein one environment configuration file indicates that a target terminal with an IP address of IP1 generates a Windows10 operating system with version _10-1 and application software comprises Microsoft office2003, and the other environment configuration file indicates that target terminals with IP addresses of IP2 and IP3 respectively generate Windows7 operating systems with version _7-1 and application software comprises Microsoft office2007 and the like.
And the backup packages of various environment elements are stored in the pre-established environment pool so as to provide support for the operating system to be generated of the target terminal. Alternatively, the environment pool may be locally provided to the target terminal through a preset interface (e.g., a SATA interface or a USB interface), or may be provided to the server and connected to the target terminal through a network.
In particular, the backup packages stored in the environment pool may include one or more of: the system comprises an operating system, version packages corresponding to different versions of the operating system, and an application software package corresponding to each version package.
It is understood that an os may have different versions, such as home version, professional version, mobile version, or upgrade version 1.0, version 1.1, etc., and accordingly, the backup package may also include the os package and the version package corresponding thereto. Because different application software can be installed in the operating system of each version, a certain corresponding relationship also exists between the application software packages and the version packages and between the application software packages and the operating system packages. Optionally, in an embodiment of the present invention, the application software package may correspond to multiple version packages or multiple operating system packages, that is, the same application software may be installed in multiple operating systems or versions. For example, the microsoft office2003 can be installed in a Windows XP system or a Windows7 system, but cannot be installed in an ios system or a Linux system.
In the embodiment of the invention, the environment pool is established in advance, and the environment elements in the environment pool can come from the backup of the operating system of the terminal and can also come from other databases. When the environment pool receives the backup of the operating system uploaded by the terminal, the operating system package, the version package of the operating system and the corresponding application software package of the terminal can be backed up, so that the backup package represents the corresponding relation among the operating system package, the version package of the operating system and the application software package; optionally, only the operating system package, or the version package, or a part of the application software packages of the terminal may be backed up, and in this case, the environment elements in the environment pool may not necessarily represent the correspondence between the backup packages.
Optionally, the backup packages with the corresponding relationship and the backup packages without the corresponding relationship may have different application modes. For example, the backup packages with the corresponding relationship can be used for accurately and completely restoring the operating system environment of the terminal, and the backup packages without the corresponding relationship can be more flexibly combined, so that a richer operating system environment is constructed.
For example, in one embodiment of the present invention, the environment pool stores backup packages having a corresponding relationship: windows XP system, sp2 version, application WPS2015, QQ2017, foxmail, etc. When the operating system to be generated is installed for the target terminal, the environment configuration file only needs to designate any one of the backup packages to restore the entire system environment to the target terminal, for example, the sp2 version is designated in the environment configuration file, and the Windows XP system, the sp2 version, the application software WPS2015, the QQ2017, the foxmail and the like can be all incorporated into the operating system to be generated.
Optionally, in another embodiment of the present invention, the environment pool stores backup packages without a correspondence relationship: windows7 system, Windows XP system, sp1 version, sp2 version, sp3 version, application software WPS2013, WPS2015, QQ2017, QQ2018, foxmail, Google chrome, foxfire, etc. Then, when the operating system to be generated is installed for the target terminal, the environment configuration file can specify the required backup packages one by one, so that richer operating system environments can be constructed, and the customization requirements of the personalized system of the terminal can be met. For example, the environment configuration file may indicate that terminal a has dual operating systems, wherein the environment elements of one operating system include: windows XP system, sp1 version, application software WPS2015, QQ2017, foxfire, another operating system's environment elements include: windows7 system, application software WPS2013, QQ2018, foxmail, Google chrome, foxfire, etc.
Specifically, in the environment pool, for the os package, the version package, and the application package having a correspondence relationship, the correspondence relationship between the os package, the version package, and the application package may be implemented by a preset package naming rule. For example, in one embodiment of the invention, the operating system package may be named windoWs XP1, the version package may be named windoWs XP1_ sp1, the application software package may be named windoWs XP1_ sp1_ QQ2018, windoWs XP1_ sp1_ WPS2015, and so on. In this way, the keywords in the package names of the backup packages having the corresponding relationship are partially overlapped, so that whether the backup packages are corresponding or not can be judged according to the package names of the backup packages. Of course, in other embodiments of the present invention, the naming rule has other expression forms as long as it can embody the relation between different backup packages, and the embodiments of the present invention do not limit this.
In the above embodiments, the environment elements such as the operating system, the version of different operating systems, and the application software have certain generality, but the embodiments of the present invention are not limited thereto, and in other embodiments of the present invention, the environment elements may further include user data, such as various user files and setting information in the application software. The user data has certain privacy, and different terminals with the same operating system and application software have the same user data. For example, the operating system, version, and application software of each computer in the lab room are the same, but the user data stored in each computer may be different for each user. Correspondingly, the environment pool can also store a user data packet corresponding to the application software packet; the corresponding relation among the operating system package, the version package, the application software package and the user data package can also be realized through a preset package naming rule. For example, in one embodiment of the invention, the operating system package may be named windoWs XP1, the version package may be named windoWs XP1_ sp1, the application software package may be named windoWs XP1_ sp1_ WPS2015, and the corresponding user data package may be named windoWs XP1_ sp1_ WPS2015_ user.
After generating the environment configuration instruction according to the user command, in step S12, the environment elements required by the operating system to be generated may be searched from the pre-established environment pool according to the environment configuration file, so as to construct the operating system to be generated by using the environment pool. When the environment elements are searched, the environment elements can be searched according to the environment configuration file and the storage structure and the index relation of the environment elements in the environment pool. Optionally, in an embodiment of the present invention, the element identifiers in the environment configuration file may be respectively compared with the package names of the backup packages in the environment pool; and if the element identification is consistent with the package name, determining the corresponding backup package as the environment element required by the operating system to be generated.
For example, in one embodiment of the invention, the identification of elements in the environment configuration file comprises: the operating system identification is windoWs XP2, the version identification is sp1, the application software identification is QQ2018, and the user data identification is user 2. Finding a system package with a package name of windoWs XP2, a version package with a package name of windoWs XP2_ sp1 and an application software package with a package name of windoWs XP2_ sp1_ QQ2018 in the environment pool, but not finding a user data package with a package name of user2, and generating a system to be generated for a target terminal by using the found system package, version package and application software package. Because the user data packet is not searched in the environment pool, the user data of the system to be generated can be installed by other methods such as manual installation of a user, and the like, so that the management efficiency of the computer system is also greatly improved.
After the environment element indicated by the environment configuration file is found in the environment pool, the operating system to be generated may be installed for the target terminal according to the found environment element in step S13. Specifically, the operating system to be generated is installed for the target terminal, that is, the operating system to be generated is installed on the target terminal, so that the target terminal can be started from the operating system to be generated. In order to achieve the object, optionally, in an embodiment of the present invention, the environment configuration file may store the index information of the found environment element in the boot option of the target terminal during running; and when the target terminal is started, entering the operating system to be generated according to the index information in the starting option. The index information of the environment element may be address information of the environment element, and the corresponding environment element can be found through the index information. Optionally, the index information may point to the environment pool directly, or may point to a copy of the environment element copied from the environment pool to the terminal locally.
Furthermore, in an embodiment of the present invention, a script of the start instruction may be added to the environment configuration file, so that, in the process of generating or entering the system to be generated for the destination terminal, when a start operation or a shutdown operation is required, remote start-up and shutdown may be implemented through the environment configuration file, and the computer system is restarted without human intervention, thereby further improving the management efficiency of the computer system.
The following describes the computer system management method provided by the embodiment of the present invention in detail through a specific embodiment.
As shown in fig. 2, a computer system management method provided by an embodiment of the present invention may include:
s201, receiving a user instruction input by a user from a graphical interface: operating system updates to native CPT 1: adding application software SW1 and SW2, and adding user data user 3; restoring an operating system to a target terminal CPT2 with an IP address of IP 3;
s202, generating a corresponding environment configuration file according to a user instruction;
specifically, the environment configuration file Cfg1 indicates that the environment elements of the CPT1 to be generated with the operating system include: a target terminal CPT1, a windows10 operating system, application software SW1, SW2 and user data user 3; the environment configuration file Cfg2 indicates that the environment elements of the CPT2 to generate the operating system include: a target terminal CPT2, a windows XP operating system, an sp3 version and user data user 4;
s203, comparing the element identifiers CPT1, windows10, SW1, SW2 and user3 in the environment configuration file Cfg1 with the package names of the backup packages in the environment pool;
s204, comparing the element identifiers CPT1, windows10, SW1 and user3 with the package names of the backup packages in the environment pool, and determining the corresponding backup packages as environment elements required by the operating system to be generated; if the SW2 is inconsistent with the package name of the backup package in the environment pool, the SW2 needs to be incorporated into the operating system to be generated of the target terminal CPT1 in other ways;
s205, storing the index information of the searched environmental elements CPT1, windows10, SW1 and user3 into the boot option of the target terminal CPT 1;
s206, when the target terminal CPT1 is started, entering an operating system to be generated according to index information in the starting option;
s207, finding the SW2 from other network servers, and incorporating the SW2 into an operating system to be generated of the target terminal CPT 1;
s208, backing up the newly generated operating system to be generated to an environment pool by the target terminal CPT 1;
optionally, since only SW2 is added compared with the original operating system, the backup is incremental.
S209, comparing the element identifiers CPT2, windows XP, sp3 and user4 in the environment configuration file Cfg2 with the package names of the backup packages in the environment pool;
s210, comparing the element identifiers CPT2, windows XP, sp3 and user4 with the package names of the backup packages in the environment pool, and determining the corresponding backup packages as environment elements required by the operating system to be generated;
s211, storing the index information of the searched environmental elements CPT2, windows XP, sp3 and user4 into a starting option of a target terminal CPT 2;
s212, when the target terminal CPT2 is started, the operating system to be generated is entered according to the index information in the starting option.
In a second aspect, an embodiment of the present invention further provides a computer system management apparatus, which can effectively improve management efficiency of a computer system.
As shown in fig. 3, a computer system management apparatus provided by an embodiment of the present invention may include:
a generating unit 31, configured to generate an environment configuration file according to a user instruction, where the environment configuration file includes an element identifier and is used to indicate an environment element of an operating system to be generated; wherein the environmental element comprises at least one of: an operating system, a version of the operating system, application software;
a searching unit 32, configured to search the environment element from a pre-established environment pool according to the environment configuration file;
and the installation unit 33 is configured to install the operating system to be generated for the target terminal according to the found environment element.
The computer system management device provided by the embodiment of the invention can generate the environment configuration file according to the user instruction, search the environment element corresponding to the operating system to be generated from the pre-established environment pool according to the operating system, the version of the operating system, the application software and other environment elements indicated by the environment configuration file, and install the operating system to be generated for the target terminal according to the searched environment element. Therefore, the required various operating systems to be generated can be generated for the target terminal only through the environment configuration file and the environment pool, and a user does not need to backup or restore the operating systems to be generated one by one, so that the management efficiency of the computer system is greatly improved.
Optionally, the environment element further includes one or more target terminals on which the operating system to be generated is based.
Optionally, the environment pool stores at least one of the following backup packages: the system comprises an operating system, version packages corresponding to different versions of the operating system, and an application software package corresponding to each version package.
Optionally, the application software package corresponds to multiple version packages or multiple operating system packages.
Optionally, the correspondence between the operating system package, the version package, and the application software package is implemented by a preset package naming rule.
Optionally, the environment element further comprises user data; the environment pool also stores a user data packet corresponding to the application software packet; the corresponding relation among the operating system package, the version package, the application software package and the user data package is realized through a preset package naming rule.
Optionally, the searching unit 32 includes: the comparison module is used for comparing the element identifiers in the environment configuration file with the package names of the backup packages in the environment pool respectively; and the determining module is used for determining the corresponding backup package as the environment element required by the operating system to be generated if the comparison result of the comparing module is that the element identifier is consistent with the package name.
Optionally, the mounting unit 33 includes: the storage module is used for storing the searched index information of the environment element into the starting option of the target terminal; and the entering module is used for entering the operating system to be generated according to the index information in the starting option when the target terminal is started.
Optionally, the environment configuration file is generated locally at the target terminal or generated at a server and transmitted to the target terminal through a network connection.
Optionally, the environment pool is set locally in the target terminal through a preset interface, or is set in a server and connected to the target terminal through a network.
In a third aspect, embodiments of the present invention provide an electronic device, which can effectively improve the optimization efficiency and the optimization effect of a washing control program.
As shown in fig. 4, an electronic device provided by an embodiment of the present invention may include: the device comprises a shell 41, a processor 42, a memory 43, a circuit board 44 and a power circuit 45, wherein the circuit board 44 is arranged inside a space enclosed by the shell 41, and the processor 42 and the memory 43 are arranged on the circuit board 44; a power supply circuit 45 for supplying power to each circuit or device of the electronic apparatus; the memory 43 is used for storing executable program code; the processor 42 executes a program corresponding to the executable program code by reading the executable program code stored in the memory 43, for executing the computer system management method according to any of the foregoing embodiments.
For specific execution processes of the above steps by the processor 42 and further steps executed by the processor 42 by running the executable program code, reference may be made to the description of the foregoing embodiments, which are not described herein again.
The electronic device exists in a variety of forms, including but not limited to:
(1) a mobile communication device: such devices are characterized by mobile communications capabilities and are primarily targeted at providing voice, data communications. Such terminals include: smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) Ultra mobile personal computer device: the equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include: PDA, MID, and UMPC devices, etc., such as ipads.
(3) A portable entertainment device: such devices can display and play multimedia content. This type of device comprises: audio, video players (e.g., ipods), handheld game consoles, electronic books, and smart toys and portable car navigation devices.
(4) A server: the device for providing the computing service comprises a processor, a hard disk, a memory, a system bus and the like, and the server is similar to a general computer architecture, but has higher requirements on processing capacity, stability, reliability, safety, expandability, manageability and the like because of the need of providing high-reliability service.
(5) And other electronic equipment with data interaction function.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where one or more programs are stored, and the one or more programs can be executed by one or more processors to implement any one of the computer system management methods provided in the foregoing embodiments, so that corresponding technical effects can also be achieved, which have been described in detail above and are not described herein again.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. The term "comprising", without further limitation, means that the element so defined is not excluded from the group consisting of additional identical elements in the process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments.
In particular, as for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
For convenience of description, the above devices are described separately in terms of functional division into various units/modules. Of course, the functionality of the units/modules may be implemented in one or more software and/or hardware implementations of the invention.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (22)

1. A computer system management method, comprising:
generating an environment configuration file according to a user instruction, wherein the environment configuration file comprises an element identifier for indicating an environment element of an operating system to be generated; wherein the environmental element comprises at least one of: an operating system, a version of the operating system, application software;
searching the environment elements from a pre-established environment pool according to the environment configuration file;
and installing the operating system to be generated for the target terminal according to the searched environment elements.
2. The method of claim 1, wherein the environment elements further comprise one or more target terminals upon which the operating system to be generated is based.
3. The method of claim 1, wherein the context pool stores at least one of the following backup packages: the system comprises an operating system, version packages corresponding to different versions of the operating system, and an application software package corresponding to each version package.
4. The method of claim 3, wherein the application software package corresponds to a plurality of version packages or a plurality of operating system packages.
5. The method according to claim 3, wherein the correspondence between the operating system package, the version package and the application software package is implemented by a preset package naming rule.
6. The method of claim 3, wherein the environment elements further comprise user data; the environment pool also stores a user data packet corresponding to the application software packet; the corresponding relation among the operating system package, the version package, the application software package and the user data package is realized through a preset package naming rule.
7. The method of claim 5 or 6, wherein said searching for said context element from a pre-established context pool according to said context profile comprises:
comparing the element identifiers in the environment configuration file with the package names of the backup packages in the environment pool respectively;
and if the element identification is consistent with the package name, determining that the corresponding backup package is the environment element required by the operating system to be generated.
8. The method according to claim 1, wherein the installing the operating system to be generated for a target terminal according to the found environment element comprises:
storing the searched index information of the environment element into a starting option of the target terminal;
and when the target terminal is started, entering the operating system to be generated according to the index information in the starting option.
9. The method of claim 1, wherein the environment profile is generated locally at the target terminal or generated at a server and transmitted to the target terminal over a network connection.
10. The method according to claim 1, wherein the environment pool is located locally at the target terminal through a preset interface, or is located at a server and is connected with the target terminal through a network.
11. A computer system management apparatus, comprising:
the generating unit is used for generating an environment configuration file according to a user instruction, wherein the environment configuration file comprises an element identifier and is used for indicating an environment element of an operating system to be generated; wherein the environmental element comprises at least one of: an operating system, a version of the operating system, application software;
the searching unit is used for searching the environment elements from a pre-established environment pool according to the environment configuration file;
and the installation unit is used for installing the operating system to be generated for the target terminal according to the searched environment elements.
12. The apparatus of claim 11, wherein the environment elements further comprise one or more target terminals upon which the operating system to be generated is based.
13. The apparatus of claim 11, wherein the context pool stores at least one of the following backup packages: the system comprises an operating system, version packages corresponding to different versions of the operating system, and an application software package corresponding to each version package.
14. The apparatus of claim 13, wherein the application software package corresponds to a plurality of version packages or a plurality of operating system packages.
15. The apparatus of claim 13, wherein the correspondence between the operating system package, the version package, and the application software package is implemented by a preset package naming rule.
16. The apparatus of claim 13, wherein the environment elements further comprise user data; the environment pool also stores a user data packet corresponding to the application software packet; the corresponding relation among the operating system package, the version package, the application software package and the user data package is realized through a preset package naming rule.
17. The apparatus according to claim 15 or 16, wherein the search unit comprises:
the comparison module is used for comparing the element identifiers in the environment configuration file with the package names of the backup packages in the environment pool respectively;
and the determining module is used for determining the corresponding backup package as the environment element required by the operating system to be generated if the comparison result of the comparing module is that the element identifier is consistent with the package name.
18. The apparatus of claim 11, wherein the mounting unit comprises:
the storage module is used for storing the searched index information of the environment element into the starting option of the target terminal;
and the entering module is used for entering the operating system to be generated according to the index information in the starting option when the target terminal is started.
19. The apparatus of claim 11, wherein the environment profile is generated locally at the target terminal or generated at a server and transmitted to the target terminal over a network connection.
20. The apparatus of claim 11, wherein the environment pool is located locally at the target terminal through a preset interface, or is located at a server and is connected to the target terminal through a network.
21. An electronic device, characterized in that the electronic device comprises: the device comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; a power supply circuit for supplying power to each circuit or device of the electronic apparatus; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for performing the computer system management method of any one of the preceding claims 1 to 10.
22. A computer-readable storage medium, characterized in that the computer-readable storage medium stores one or more programs which are executable by one or more processors to implement the computer system management method of any one of preceding claims 1 to 10.
CN201811274581.2A 2018-10-29 2018-10-29 Computer system management method, device, electronic equipment and storage medium Pending CN110865904A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811274581.2A CN110865904A (en) 2018-10-29 2018-10-29 Computer system management method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811274581.2A CN110865904A (en) 2018-10-29 2018-10-29 Computer system management method, device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110865904A true CN110865904A (en) 2020-03-06

Family

ID=69651654

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811274581.2A Pending CN110865904A (en) 2018-10-29 2018-10-29 Computer system management method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110865904A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112099814A (en) * 2020-09-24 2020-12-18 智道网络科技(天津)有限公司 System and method for managing vehicle-mounted machine application software installation environment
CN113391853A (en) * 2021-06-15 2021-09-14 中国工商银行股份有限公司 Method, apparatus, device, medium, and program product for configuring an environment across systems

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104407906A (en) * 2014-12-25 2015-03-11 浪潮电子信息产业股份有限公司 System and method for custom installation of computer software
CN104850437A (en) * 2015-05-19 2015-08-19 曙光信息产业(北京)有限公司 Installation method and apparatus of operating system
CN105141466A (en) * 2015-09-25 2015-12-09 浪潮(北京)电子信息产业有限公司 Operating system automation deployment method based on cloud platform and system thereof
CN105528232A (en) * 2016-01-27 2016-04-27 国家电网公司 Automatic installation method and system for software
CN106484437A (en) * 2016-11-10 2017-03-08 广东浪潮大数据研究有限公司 A kind of method of deployment operation system, apparatus and system
CN106528226A (en) * 2016-10-31 2017-03-22 紫光华山信息技术有限公司 Operation system installation method and apparatus
CN108255500A (en) * 2017-12-14 2018-07-06 广东睿江云计算股份有限公司 A kind of automatic installing method of operating system of the compatibility virtualization architecture based on cobbler
CN108415712A (en) * 2018-03-09 2018-08-17 山东超越数控电子股份有限公司 A method of based on PXE server batch installation acceptance of the bid kylin operating system
CN108696372A (en) * 2017-04-06 2018-10-23 阿里巴巴集团控股有限公司 A kind of method and system keeping system configuration consistency

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104407906A (en) * 2014-12-25 2015-03-11 浪潮电子信息产业股份有限公司 System and method for custom installation of computer software
CN104850437A (en) * 2015-05-19 2015-08-19 曙光信息产业(北京)有限公司 Installation method and apparatus of operating system
CN105141466A (en) * 2015-09-25 2015-12-09 浪潮(北京)电子信息产业有限公司 Operating system automation deployment method based on cloud platform and system thereof
CN105528232A (en) * 2016-01-27 2016-04-27 国家电网公司 Automatic installation method and system for software
CN106528226A (en) * 2016-10-31 2017-03-22 紫光华山信息技术有限公司 Operation system installation method and apparatus
CN106484437A (en) * 2016-11-10 2017-03-08 广东浪潮大数据研究有限公司 A kind of method of deployment operation system, apparatus and system
CN108696372A (en) * 2017-04-06 2018-10-23 阿里巴巴集团控股有限公司 A kind of method and system keeping system configuration consistency
CN108255500A (en) * 2017-12-14 2018-07-06 广东睿江云计算股份有限公司 A kind of automatic installing method of operating system of the compatibility virtualization architecture based on cobbler
CN108415712A (en) * 2018-03-09 2018-08-17 山东超越数控电子股份有限公司 A method of based on PXE server batch installation acceptance of the bid kylin operating system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112099814A (en) * 2020-09-24 2020-12-18 智道网络科技(天津)有限公司 System and method for managing vehicle-mounted machine application software installation environment
CN112099814B (en) * 2020-09-24 2023-04-11 智道网络科技(天津)有限公司 System and method for managing vehicle-mounted machine application software installation environment
CN113391853A (en) * 2021-06-15 2021-09-14 中国工商银行股份有限公司 Method, apparatus, device, medium, and program product for configuring an environment across systems

Similar Documents

Publication Publication Date Title
US9542174B2 (en) Deployment of software images with distinct configuration logic
CN104182255A (en) Method and terminal for upgrading library files of system application
WO2016127446A1 (en) Switching method and terminal among multiple systems
CN110162429B (en) System repair method, server and storage medium
CN113760306B (en) Method and device for installing software, electronic equipment and storage medium
CN110865904A (en) Computer system management method, device, electronic equipment and storage medium
CN112256348A (en) Cloud service platform creation method and system, electronic equipment and storage medium
CN113821221A (en) Method, apparatus, storage medium, and computer program product for installing operating system
CN115421764A (en) Method, device, equipment and storage medium for identifying module to be upgraded
CN114780019A (en) Electronic device management method and device, electronic device and storage medium
CN110652728A (en) Game resource management method and device, electronic equipment and storage medium
CN117369840A (en) Method for constructing embedded operating system based on customized software source
US20150212866A1 (en) Management system for service of multiple operating environments, and methods thereof
CN114706608A (en) Method for upgrading firmware and electronic equipment
CN114296718A (en) Setting method and device of Windows system component
CN114356867A (en) Method and device for opening compressed package file, electronic equipment and storage medium
CN113721959A (en) Information processing method and device and electronic equipment
CN109669672B (en) Neutral version construction and page response method, system and related device
CN112650713A (en) File system operation method, device, equipment and storage medium
CN112036133A (en) File saving method and device, electronic equipment and storage medium
CN111241553A (en) BIOS (basic input output System) permission setting method, device, equipment and storage medium
CN110007973B (en) Information processing method and electronic equipment
CN115981734A (en) Operating system running method and device, electronic equipment and readable storage medium
KR100670797B1 (en) Apparatus for real-time patching without auxiliary storage device and method therefor
WO2019011312A1 (en) Method for naming stk module, communications terminal and device having storage function

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination