[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

GB2532076A - Backup method, pre-testing method for environment updating and system thereof - Google Patents

Backup method, pre-testing method for environment updating and system thereof Download PDF

Info

Publication number
GB2532076A
GB2532076A GB1419929.3A GB201419929A GB2532076A GB 2532076 A GB2532076 A GB 2532076A GB 201419929 A GB201419929 A GB 201419929A GB 2532076 A GB2532076 A GB 2532076A
Authority
GB
United Kingdom
Prior art keywords
environment
operating system
clone
test
software
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.)
Withdrawn
Application number
GB1419929.3A
Other versions
GB201419929D0 (en
Inventor
Kuo Chien-Ting
Chen Shih-Jen
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.)
Institute for Information Industry
Original Assignee
Institute for Information Industry
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 Institute for Information Industry filed Critical Institute for Information Industry
Priority to GB1419929.3A priority Critical patent/GB2532076A/en
Publication of GB201419929D0 publication Critical patent/GB201419929D0/en
Publication of GB2532076A publication Critical patent/GB2532076A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3664Environments for testing or debugging software
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

Method of pre-testing system and software compatibility, vulnerability, and efficiency when updating an operating system environment. System and software information is extracted (S101), e.g. system version, serial code, configuration, application name and settings. After detecting that an environment updating process will be performed (S102), it is decided (S103) whether testing is executed. The test comprises: selecting system/software information (S104); generating (S105) a virtual machine (VM) according to system/software information, i.e. a clone system. After performing the update in the clone environment (S107) the test is implemented (S108) by executing startup, close, input/output value detections (e.g. how web applications execute database queries) and monitoring the error messages and memory contents. It is determined (S110) whether the update can be performed or switching to the clone. Some steps can be performed on computer devices or cloud server systems. The need of taking snapshots for back-up before installation is avoided.

Description

BACKUP METHOD, PRE-TESTING METHOD FOR
ENVIRONMENT UPDATING AND SYSTEM THEREOF
BACKGROUND
1. Technical Field
100011 The present disclosure relates to a backup method adapted to an operating system environment, in particular, to a pre-testing method adapted for environment updating and a system thereof using the backup method.
2. Description of Related Art
[0002] With the technology advancement, information industrial develops rapidly and widely. People in daily life usually use the computing device or the cloud server, and the computing device or the cloud server has an operating system environment, such that the user can operate the computing device or the cloud server through the operating system. However, when the user installs the new software in the operating system environment, the software patch (for updating the software), or the operating system patch (for updating the operating system) in the operating system environment, the incompatible problem or the program flaw may sometimes occur, and thus an error may be generated in portion of softwares and the operating system itself, or the operating system environment is not secure which someone may hack easily.
[0003] To avoid the error generation due to the incompatible problem or the program flaw, further the security flaw problem of the portion of softwares and the operating system itself, a currently used manner is to entirely backup the operating system environment and the installed softwares in each step which the new software or the patch is installed in the operating system environment, such that when the error is generated in the portion of the softwares or the operating system itself, the backup data can be used to recover the operating system environment 100041 A system snapshot is a technology which can backup a system image of the whole operating system environment (comprising the software installed therein) and recover the operating system environment However, when the backup number and the backup organization number increases, the system snapshot consumes a great quantity of the storage space.
[0005] Additionally, another currently used manner is that the user reports the information related to the software installation proceeding, software update proceeding, operating system update proceeding, incompatible problem in the updated operating system environment, or security flaw problem in the updated operating system environment to the software company, and then the software company deals with the problems accordingly. However, the manner passively waits the problem to occur, and then integrates the related data, but does not actively find the incompatible problem or the security flaw problem.
[0006] Regarding the information security check, the operating system environment or the software must be updated to maintain the information security and avoid the hidden risk of the information security. However, if the system snapshot is used to backup the system image periodically, or during the software installation, the software update, or the operating system environment update, the consumption of the storage space is increasing as time advances. If the compatibility, vulnerability, or efficiency is not tested, and the error is generated in the portion of the softwares or the operating system environment or the operating system environment is hacked easily, it may be convenient for the user to use the software or the operating system environment, and even cause the work stop.
100071 In addition, if the computing devices or cloud servers must process the software installation, software update, or the operating system environment update, the management information system (MIS) engineer can understand whether the problem exists merely after each of the computing devices or cloud servers have finished the software installation, software update, or the operating system environment update. If the problem exists, the MIS engineer must recover the operating system environment by using the system image backup by the system snapshot, or report the related information to the corresponding software company to request the software company to deal with the problem. Thus, when the computing devices or cloud server must process the software installation, software update, or operating system environment update, the task of the software installation, software update, or operating system environment update is a heavy burden for the MIS engineer.
SUMMARY
[0008] An exemplary embodiment of the present disclosure provides a pre-testing method adapted for environment updating. The pre-testing method comprises following steps: while detecting an environment updating process should be performed to an operating system environment, determining whether an environment test should be executed; while the environment test is executed, selecting a plurality of pieces of system and software information of the operating system environment, wherein the system and software information of the operating system environment is extracted from the operating system enviromnent; generating a virtual machine having a first clone environment according to the system and software information; performing the environment updating process to the first clone environment of the virtual machine so as to cause the first clone environment to become a second clone environment of the virtual machine; and executing the environment test for the second clone environment [0009] An exemplary embodiment of the present disclosure provides a pre-testing system adapted for environment updating. The pre-testing system comprises a computing device. While detecting that an environment updating process should be performed to an operating system environment, the computing device determines whether an enviromnent test should be executed. While detecting that the environment test should be executed, the computing device selects a plurality of pieces of system and software information of the operating system environment, wherein the system and software information of the operating system environment is extracted from the operating system environment The computing device generates a virtual machine having a first clone environment according to the system and software information. The computing device performs the environment updating process to the first clone environment of the virtual machine so as to cause the first clone environment to become a second clone environment of the virtual machine. The computing device executes the environment test for the second clone environment According to a result of the enviromnent test, the computing device determines whether the operating system environment can be performed with the environment updating process.
[0010] An exemplary embodiment of the present disclosure provides a pre-testing system adapted for environment updating. The pre-testing system comprises a cloud server system. While detecting that an enviromnent updating process should be performed to an operating system environment, the cloud server system determines whether an environment test should be executed. While detecting that the environment test should be executed, the cloud server system selects a plurality of pieces of system and software information of the operating system environment operated in a first virtual machine of the cloud server system, wherein the system and software information of the operating system environment is extracted from the operating system environment. The cloud server system generates a second virtual machine having a first clone environment according to the system and software information. The cloud server system performs the environment updating process to the first clone environment of the second virtual machine to cause the first clone environment to become a second clone environment of the second virtual machine. The cloud server system executes the environment test for the second clone environment [0011] An exemplary embodiment of the present disclosure provides a pre-testing system adapted for environment updating. The pre-testing system comprises a computing device and a cloud server system. The cloud server system links to the computing device through an interne network. While detecting that an environment updating process should be perfonned to an operating system environment, the computing device or the cloud server system determines whether an environment test should be executed. While detecting that the environment test should be executed, the computing device selects a plurality of pieces of system and software information of the operating system environment and transmits to the cloud server system, wherein the system and software information of the operating system environment is extracted from the operating system environment The cloud server system generates a virtual machine having a first clone environment according to the system and software information. The cloud server system performs the environment updating process to the first clone environment so as to cause the first done environment to become a second clone environment of the virtual machine. The cloud server system executes the environment test for the second clone environment. According to a result of the environment test, the computing device determines whether the operating system environment can be performed with the environment updating process on the computing device.
100121 An exemplary embodiment of the present disclosure provides a backup method adapted to an operating system environment The backup method comprises following steps: extracting a plurality of pieces of system and software information of the operating system environment; and generating a virtual machine having a clone environment according to the system and software information.
[00131 To sum up, exemplary embodiments of the present disclosure provide a pre-testing system adapted for environment updating and a systems thereof, wherein the environment of the new software or the patch for the current operating system environment is pre-tested before the new software or the patch is installed in the operating system environment, such that the nuisance for recovering the operating system environment and the serious loss caused by that the operating system environment cannot be recovered can be avoided after the incompatible problem, the program flaw, the information security, or the bad efficiency occur. Furthermore, the backup method provided by the exemplary embodiment of the present disclosure can backup the current operating system environment merely according to the extracted system and software information of the operating system environment, which costs little storage space.
[0014] In order to further understand the techniques, means and effects of the present disclosure, the following detailed descriptions and appended drawings are hereby referred, such that, through which, the purposes, features and aspects of the present disclosure can be thoroughly and concretely appreciated; however, the appended drawings are merely provided for reference and illustration, without any intention to be used for limiting the present disclosure.
BRIEF DESCRIPTION OF THE DRAWINGS
[00151 The accompanying drawings are included to provide a further understanding of the present disclosure, and are incorporated in and constitute a part of this specification. The drawings illustrate exemplary embodiments of the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
100161 FIG. 1 is a flow chart of a pre-testing method for environment updating according to an exemplary embodiment of the present disclosure.
100171 FIG. 2A is a block diagram of a computing device according to an
exemplary embodiment of the present disclosure.
[0018] FIG. 2B is a block diagram of a cloud server system according to
an exemplary embodiment of the present disclosure.
[0019] FIG. 3A and FIG. 3B are schematic diagrams of a pre-testing method for environment updating according to an exemplary embodiment of the present disclosure.
[0020] FIG. 4A and FIG. 4B are schematic diagrams of a pre-testing method for environment updating according to another exemplary embodiment of the present disclosure.
[0021] FIG. 5 is a schematic diagram of a pre-testing system for environment updating according to an exemplary embodiment of the present disclosure.
[0022] FIG. 6A and FIG. 6B are schematic diagrams of a pre-testing method for environment updating according to another exemplary embodiment of the present disclosure.
DESCRIPTION OF THE EXEMPLARY EMBODIMENTS
100231 Reference will now be made in detail to the exemplary embodiments of the present disclosure, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers are used in the drawings and the description to refer to the same or like parts.
[0024] An exemplary embodiment of the present disclosure provides a pre-testing method for environment updating, and the pre-testing method for environment updating can automatically pre-test whether the updating problem, the program flaw, security flaw, or bad efficiency will exist between the operating system environment and the installed/uninstalled software if which the new software/patch is installed or the installed software is uninstalled in the current operating system environment. Since the operating system environment is pre-tested by the pre-testing method for environment updating, the MIS engineer can determine whether the operating system environment can be updated according to the result of the environment test. Thus, the consmnption of the storage space for storing the backup can be reduced efficiently, and the burden for the MIS engineer to install the new software and the patch can be also reduced. Moreover, based upon the concept of the pretesting method for environment updating, another exemplary embodiment of the present disclosure provides a pre-testing system for executing the pretesting method for environment updating. Furthermore, the pre-testing method and system for environment updating use a backup method which costs little storage space. The backup method in an exemplary embodiment of the present disclosure merely stores the system and software information of the operating system environment rather than the system image of the whole operating system environment [0025] Referring to FIG. 1, FIG. 1 is a flow chart of a pre-testing method for environment updating according to an exemplary embodiment of the present disclosure. The pre-testing method for enviromnent updating can be executed in a pre-testing system which can be simply implemented by a computing device or a cloud server system, or alternatively implemented by a system formed by the computing device and the cloud server system.
100261 Firstly, at steps S101, the computing device or the low level monitoring operating system (i.e., hypervisor) of the cloud server system extracts a system and software information, wherein the system information of the system and software information is for example a system version, system serial code, or system setting configuration, and the software information of the system and software information is for example an application software name, application software version, application software setting, and other application software information. The computing device or the low level monitoring operating system of cloud server system uses a software agent, such as a parser, to extract the system and software information. Additionally, the present disclosure does not limit the type of the system and software information. In the exemplary embodiment, the system and software information can for example comprise at least one of an operating system version (such as Windows 7 or Android 4.1), an operating system environment related configuration (such as system setting, registry, registering code, or mobile device setting), an application software version (such as document edition software version or mobile device message software version), an application software setting (such as web browser or document edition software related setting), and an operating system environment and application software patch installation list. However, the present disclosure does not limit the implementation details of step S101.
100271 In the exemplary embodiment, the computing device or the low level monitoring operating system of the cloud server system can be set to periodically extract the system and software information; or alternatively, the computing device or the low level monitoring operating system of the cloud server system can extract the system and software information when the application software is initialized to install in the computing device or the virtual machine of the cloud server system; or alternatively, the computing device or the low level monitoring operating system of the cloud server system can extract the system and software information when a specific event happens during operation, such as the behavior of removing a software or modifying application software setting. In a word, when the computing device or the low level monitoring operating system of the cloud server system extracts the system and software information is not used to limit the present disclosure. For example, the system and software information could be extracted periodically; or alternatively, the system and software information could be extracted according to an operating command inputted by the MIS engineer.
[0028] Next, at step S102, the computing device or the low level monitoring operating system environment of the cloud server system detects whether an environment updating process will be performed to the operating system environment For example, the environment updating process such as installing the patch of the software or the operating system patch to the operating system environment, installing the new software, uninstalling the installed software, or a plurality of different software are performed the process of updating, installing or uninstalling at the same time If that the environment updating process will be performed in the operating system is detected, step S103 is then be executed; if that the environment updating process will be performed in the operating system is not detected, step S112 is then be executed. The computing device or the low level monitoring operating system of the cloud server system judges whether the user selects and clicks a specific file to execute the installation of the new software or the patch to detect whether the new software or the patch will be installed in the operating system; or alternatively, the computing device or the low level monitoring operating system of the cloud server system judges whether the computing device or the low level monitoring operating system of the cloud server system automatically downloads the file or the new software or the patch to automatically execute the installation/uninstallation of the new software or the patch in background to detect whether the new software or the patch will be installed in the operating system. In a word, the present disclosure does not limit the implementation details of step S102.
[0029] Then, at step 5103, the computing device or the low level monitoring operating system of the cloud server system determines whether an environment test should be executed. If that the environment test should be executed is determined, step S104 is then executed; if that the environment test cloud not be executed is determined, step 5112 is then executed. The computing device or the low level monitoring operating system of the cloud server system judges whether the user or the MIS engineer agrees the execution of the environment test to determine whether the environment test should be executed; or alternatively, the computing device or the low level monitoring operating system of the cloud server system judges whether the current environmental resource is suitable for executing the environment test to determine whether the environment test should be executed. However, the environment test comprises at least one of a system and software vulnerability test, a compatibility test, and an efficiency test. By the way, the system and software vulnerability test can be implemented by a fuzzing test for example, but the present disclosure is not limited thereto. In a word, the present disclosure does not limit the implementation details of step S103.
[0030] Next, at step S104, after determined to execute the environment test, the computing device or the low level monitoring operating system of the cloud server system selects the newest system and software information to execute the environment test by pre-setting; or alternatively, further selects the system and software information required by the user or the MIS engineer before agreeing the execution of the environment test to determine whether the environment test should be executed, step S105 is then executed. In a word, the present disclosure does not limit the implementation details of step 5104.
[0031] Next, at step S105, the computing device or the low level monitoring operating system of the cloud server system generates a virtual machine with a clone environment according to the system and software information. To put it concretely, the computing device or the low level monitoring operating system of the cloud server system firstly generates a virtual machine with a clean operating system environment according to the operating system version and the operating system environment related configuration of the system and software information_ operating system, wherein the clean operating system environment is the clone environment which the virtual machine merely installs the initial operating system environment and the required application software, and does not have the redundant system setting and data generated by the user operation. Next, according to the application software version, the application software setting, and the operating system environment and application software patch installation list, the clean operating system can used to generate the operating system which the computing device or the virtual machine of the cloud server system currently uses. In other words, the clone environment of the virtual machine is functionally similar or equal to the operating system of the computing device or the virtual machine of the loud server system.
[0032] In addition, the above implementation of step S105 is not used to limit the present disclosure. Step S105 can be carried out by another implementation. For example, to reduce the time for generating the clone environment, the computing device or the low level monitoring operating system of the cloud server system may store a common use operating system environment generated in advance, and the common use operating system environment has common use software. Next, according to the system and software information, the computing device or the low level monitoring operating system of the cloud server system configures the common use operating system enviromnent, adjusts settings of the common use software, and installs omitting software which have been installed in the operating system environment rather than the common use operating system environment in the common use operating system enviromnent to generate the clone environment, so as to reappear the operating system of the computing device or the virtual machine of the cloud server system.
[0033] It is noted that, the pre-testing method for environment updating in fact uses a backup method costing little storage space. The steps 5101, S104, and S105 can be form the backup method in the exemplary embodiment of the present disclosure. The backup method firstly extracts a system and software information of the operating system environment by using the parser. Essentially, the parser is operated to parse the predetermined particulars of the operating system environment such as the operating system version, the operating system serial code, the operating system environment related configuration, the application software version, the application software setting, and the operating system and application software patch installation list, so as to generate the system and software information (the system and software information such as an XML format). Then, generates a virtual machine with a clone environment according to the system and software information, wherein the clone environment substantially is the same as the operating system environment related to the predetermined particulars parsed from the system and software information.
100341 Next, at step 5106, the computing device or the low level monitoring operating system of the cloud server system obtains corresponding data of all data in the operating system to generate the virtual machine, and copy the corresponding data to the clone environment of the virtual machine, wherein the corresponding data is used for the environment test, i.e. the corresponding data is a subset of all data in the operating system environment, and is a portion of all data, which is used for the environment test. It is noted that, to avoid that the corresponding data may be updated, the computing device or the low level monitoring operating system of the cloud server system obtains the corresponding data, and copy the corresponding data to the clone environment after the virtual machine with the clone environment is generated, such that the accuracy of the environment test can be guaranteed. Then, at step S107, the computing device or the low level monitoring operating system of the cloud server system installs the new software or the patch in the clone environment of the virtual machine. By the way, the backup method in the exemplary embodiment of the present disclosure can further comprises step S107, and the present disclosure is not limited thereto.
100351 In the exemplary embodiment of the present disclosure, when the operating system environment or the software is initialized to install, the computing device or the low level monitoring operating system of the cloud server system takes a shot of the installation proceeding or installation configuration script to generate a corresponding script, and uses the script to generate the virtual machine with the clone environment In another implementation, when the computing device or the low level monitoring operating system of the cloud server system uses the periodically backup system and software information of the operating system, the computing device or the low level monitoring operating system of the cloud server system generates the virtual machine with the clone enviromnent In another implementation, when the computing device or the low level monitoring operating system of the cloud server system backups the operating system according to the specific event (such as the behavior of removing/increasing a software or modifying application software setting) during operation, the computing device or the low level monitoring operating system of the cloud server system generates the virtual machine with the clone environment [0036] At step S108, the computing device or the low level monitoring operating system can use an active detection program to execute the environment test. The environment test comprises at least one of testing functions of the clone environment which has performed with the environment updating process (the environment test is not limited), comparing system states of the operating system environment and the clone environment which has performed with the environment updating process (the environment test is not limited), and comparing user experiences of the operating system and the clone enviromnent which has performed with the environment updating process (the environment test is limited to be the compatibility test or efficiency test).
[0037] To put it concretely, the computing device or the low level monitoring operating system of the cloud server system can execute startup, close, input/output value detections (such as the behavior which the web program executes the database querying) of the specific related software of the clone environment which has performed with the environment updating process, so as to test the functions of the clone environment which has performed with the environment updating process. In another implementation, while the operating system environment and the clone environment which has perfonned with the environment updating process are operated, the computing device or the low level monitoring operating system of the cloud server system extract pieces of infonnation (such as the software error message or the memory content) of the operating system environment and the clone environment which has perfonned with the environment updating process, and compares the extracted pieces of information, so as to compare system states of the operating system environment and the clone environment which has performed with the environment updating process. In another implementation, the computing device or the low level monitoring operating system of the cloud server system continuously switches the operating system environment and the clone environment which has performed with the environment updating process, and detects whether at least one of the user state and behavior (such as the user is disable to write down data in the specific column, and usually opens a specific window, or alternatively, the delay time which the operation command executed between the two systems exists) is changed when an user or a system software operates between the two system, so as to compare the user experiences of operating system environment and the clone environment which has performed with the environment updating process.
100381 Then, at step S109, the computing device or the low level monitoring operating system of the cloud server system reports the result of the environment test to the user or the MIS engineer, such as a human machine interface is provided to report the system compatibility state, program flaw, information security, or error correcting suggest. It is noted that step S109 can be removed in the exemplary embodiment of the present disclosure, i.e. the result of the environment test is not reported to the user or the MIS engineer optionally.
[0039] Next, at step SI10, the computing device or the low level monitoring operating system of the cloud server system determines whether the environment updating process can be performed to the operating system environment, or the low level monitoring operating system determines whether a new operating system environment (i.e. the clone environment which has performed with the environment updating process) can be switched to be used. If that the environment updating process can be to the operating system environment is determined, or that the new operating system environment can be switched to be used is determined, step S111 is then executed; if that the environment updating process cannot be to the operating system environment is determined, and that the new operating system environment cannot switched to be used is determined, step S112 is then executed. The computing device or the low level monitoring operating system of the cloud server system can automatically determines whether the environment updating process can be performed according to the result of environment test; or alternatively, the user or the MIS engineer can input command to the computing device or the low level monitoring operating system of the cloud server system according to the result of environment test, so as to indicate whether the computing device or the low level monitoring operating system of the cloud server system can perform the environment updating process.
[0040] At step S111, the computing device or the low level monitoring operating system performs the environment updating process to the operating system environment of the computing device or the virtual machine of the cloud server system, or alternatively, the cloud server system switches the virtual machine with the operating system environment to the virtual machine with the new operating system environment (i.e. the clone environment which has performed the environment updating process). Then, at step S112, the computing device or the low level monitoring operating system of the cloud server system records the update result. The computing device or the low level monitoring operating system of the cloud server system has the different update result according to different condition.
[0041] At step S113, the computing device or the low level monitoring operating system of the cloud server system provides a corresponding notification according to the update result. It is noted that, the existence of step 5113 is not used to limit the present disclosure (i.e. step SI13 can be removed). For example, the computing device or the low level monitoring operating system of the cloud server system can automatically schedules the next update checking time without notifying the user or the MIS engineer.
[0042] To put it concretely, if the operating system environment does not need to perform the environment updating process, or that the environment test should not be executed is determined, the update result record that the update or installation is not executed, and the operating system environment or the low level monitoring operating system can periodically notifies the user or the MIS engineer to execute the environment test and perform the environment updating process. If the environment updating process is performed, or the new operating system environment is switched to be used after the environment test is executed, the update result records which the environment updating process has been performed, and the operating system environment or the low level monitoring operating system notifies the user or the MIS engineer the message that the environment updating process has been performed. If the environment updating process is not performed, and the new operating system environment is not switched to be used after the environment test is executed, the update result records which the environment updating process has been detected, and the operating system environment or the low level monitoring operating system notifies the user or the MIS engineer whether the environment updating can be executed.
[0043] It is noted that, since the pre-testing method for environment updating can pre-test the environment updating before the environment updating process is performed, the system snapshot is not used to backup the whole operating system environment and the installed software in the operating system environment, and merely the system and software information is extracted. Thus, compared to the system snapshot, the pre-testing method for environment updating can reduce the consumption of the storage space from several ten Giga-bytes to several Mega-bytes. It is worth to note that the clone environment of the virtual machine is also can be used to recover the operating system environment without any testing. Furthermore, the execution order of each step in FIG. 1 is not used to limit the present disclosure. In another exemplary embodiment, the execution order of each step in FIG. 1 can be adjusted slightly. For example, regardless of the corresponding data is newest, steps S105 and S106 can be exchanged, or alternatively, steps S106 and S107 can be exchanged, i.e. the corresponding data is obtained to the clone environment after the environment updating process is performed in the clone environment of the virtual machine.
[0044] The pre-testing method is executed in the pre-testing system for environment updating, and as mentioned above, the pre-testing system can be implemented merely by the computing device or the cloud server system, or alternatively implemented by the system formed by the computing device and the cloud server system. Referring to FIG. 2A, FIG. 2A is a block diagram of a computing device according to an exemplary embodiment of the present disclosure. The computing device 2 comprises a processing unit 21, a memory unit 22, a storage unit 23, an input/output unit 24, and a communication unit 25. The processing unit 21 is electrically connected to the memory unit 22, the storage unit 23, the input/output unit 24, and the communication unit 25. The processing unit 21 is used to access the data in the memory unit 22 and the storage unit 23, and to control the input/output unit 24 and the communication unit 25.
[0045] hi the exemplary embodiment, the codes of the pre-testing method for environment updating, the extracted system and software information, and the data related to the installed software or operating system environment can be stored in the storage unit 23. The memory unit 22 is used to temporally store the data or values generated by the processing unit 21. The input/output unit 24 is an interface between the computing device 2 and the user or the MIS engineer. The communication unit 25 makes the computing device 2 linked to the other computing device or the cloud server system.
[0046] Referring to FIG. 2B, FIG. 2B is a block diagram of a cloud server system according to an exemplary embodiment of the present disclosure. The cloud server system 2' has a low level monitoring operating system 21' and at least two virtual machines 22', 23'. It is noted that, the virtual machines 22', 23', and the low level monitoring operating system 21' are not physically linked to each other, and the low level monitoring operating system 21' allocates resources to generate the virtual machines 22', 23'.
[0047] The low level monitoring operating system 21' has a processing unit 211', a memory unit 212', a storage unit 213', an input/output unit 214', and a communication unit 215'. The processing unit 211' is electrically connected to the memory unit 212', the storage unit 213', the input/output unit 214', and the communication unit 215'. The processing unit 211' is used to access the data in the memory unit 212' and the storage unit 213', and control the input/output unit 214' and the communication unit 215'.
[0048] The codes of the pre-testing method for environment updating and the data related to the installed software or operating system environment can be stored in the storage unit 213'. The memory unit 212' is used to temporally store the data or values generated by the processing unit 211'. The input/output unit 214' is an interface between the low level monitoring operating system 21' and the user or the MIS engineer. The communication unit 215' makes the low level monitoring operating system 21' linked to the other computing device or the cloud server system.
[0049] According to requirements of the generate the virtual machines 22' and 23', the low level monitoring operating system 21' allocates the resources of the processing unit 211', the memory unit 212', the storage unit 213', the input/output unit 214', and the communication unit 215', so generate the virtual machines 22' and 23'. The virtual machines 22' and 23 respectively comprise independent or different operating systems (such as Microsoft Window, Linux, Mac OSX, and Google Android, and the present disclosure is not limited thereto). In addition, the virtual machines 22' and 23' have independent virtual processing unit, virtual storage units, virtual memory units, virtual input/output units, and virtual communication units.
[0050] For example, the virtual machine 22' has a virtual processing unit 221', a virtual memory unit 222', a virtual storage unit 223', a virtual input/output unit 224', and a virtual communication unit 225', wherein the virtual processing unit 221' is logically connected (not physically connected) to the virtual memory unit 222', the virtual storage unit 223', the virtual input/output unit 224', and the virtual communication unit 225'. The virtual processing unit 221' is used to access the data in the virtual memory unit 222' and the virtual storage unit 223', and control the virtual input/output unit 224' and the virtual communication unit 225'.
[0051] The codes of the pre-testing method for environment updating and the data related to the installed software or operating system can be stored in the virtual storage unit 223'. The virtual memory unit 222' is used to temporally store the data or values generated by the processing unit 221'. The virtual input/output unit 224' is an interface between the virtual machine 22' and the user or the MIS engineer. The virtual communication unit 225' makes the virtual machine 22' linked to the other computing device or the cloud server system.
100521 Referring to FIG. 3A and FIG. 3B, FIG. 3A and FIG. 3B are schematic diagrams of a pre-testing method for environment updating according to an exemplary embodiment of the present disclosure. In the exemplary embodiment, the software compatibility pre-testing system can be consisted of merely one computing device, but the present disclosure is not limited thereto. The operating system environment 311 of the computing device has data, application software configuration, and system configuration stored in the storage unit of the computing device. The storage unit has a configuration database 321 and a resource pool 331, wherein the configuration database 321 is used to store at least one system configuration, and the resources pool 331 stores the installation files of the application softwares and patches of the operating systems or the softwares.
100531 At step S301, the computing device extracts the application software configuration and the system configuration (i.e. the system and software information) of the operating system environment 311 to the configuration database 321. When the user or the MIS engineer uses the user interface to check the state of the updated system environment, or the operating system automatically checks software compatibility, step S302 is then executed. At step S302, a virtual machine with a clone environment 341 is generated, wherein the clone environment 341 is functionally similar or equal to the operating system environment 311. The details of step S302 are illustrated. Firstly, the computing device generates a virtual machine with a clean operating system therein according to the system configuration of the configuration database 321. Next, by using the automatic installation program, the related application softwares and the patches of the softwares or the operating system are installed in the clean operating system environment to generate a clone environment, then according to the application software configuration and the system configuration, the clone environment is configured, and the settings of the softwares are adjusted. Next, the computing device obtains the corresponding data from the operating system environment 311 to the clone environment, so as to generate a clone environment 341 which is functionally similar or equal to the operating system environment 311.
[0054] Next, at step S303, the new software or the patch is installed in the clone environment 341, to generate a clone environment 342 which has performed the environment updating process. At step S304, the program of the environment test is introduced in the virtual machine having the clone environment 342 to generate a clone environment 343, wherein the program of the environment test is a script which is used to execute startup, close, input/output value detections of specific related software in the clone environment 342. For example, if the number which the specific related softwares successfully startups, closes, or has the correct input/output values is larger than a specific threshold, the new software or the patch passes the environment test. At step S305, through the human machine interface, the computing device reports the system environment state, program flaw, security information and the error correction. At step S305, after the environment test of the clone environment 343 is executed, a clone environment 344 is generated, wherein the clone environment 344 has the system environment state being presented that the performed the environment updating process has passed the environment test. Then, at step S306, the user or the MIS engineer uses the user interface to confirm the execution for perfortning the environment updating process in the operating system environment 311, and thus the operating system environment 311 becomes an operating system environment 312 which has performed the environment updating process.
[0055] Next, referring to FIG. 4A and FIG. 4B, FIG. 4A and FIG. 4B are schematic diagrams of a pre-testing method for environment updating according to another exemplary embodiment of the present disclosure. In the exemplary embodiment, the software compatibility pre-testing system can be consisted of merely one cloud server system, but the present disclosure is not limited thereto. The operating system environment 411 operated in the virtual machine of the cloud server system has data, application software configuration, and system configuration stored in the storage unit of the cloud server system. In addition, the storage unit has configuration database 421 and a resource pool 431, wherein the configuration database 421 is used to storage at least one system configuration, and the resources pool 431 stores the installation files of the application softwares and patches of the operating systems or the softwares.
100561 At step S401, the cloud server system extracts the application software configuration and the system configuration (i.e. the system and software information) of the operating system environment 411 of the virtual machine to the configuration database 421. When the user or the MIS engineer uses the user interface to check the state of the updated system environment, or the operating system automatically checks software compatibility, step S402 is then executed. At step S402, a virtual machine having a clone environment 441 is generated, wherein the clone environment 441 is functionally similar or equal to the operating system environment 411. The details of step S402 are illustrated. Firstly, the cloud server system generates a virtual machine having a clean operating system therein according to the system configuration of the configuration database 421. Then, by using the automatic installation program, the related application softwares and the patches of the softwares or the operating system are installed in the clean operating system to generate a clone environment, then according to the application software configuration and the system configuration, the clone environment is configured, and the settings of the softwares are adjusted. Next the cloud server system obtains the corresponding data from the operating system environment 411 of the virtual machine therein to the clone environment, so as to generate a clone environment 441 which is functionally similar or equal to the operating system environment 411.
[0057] Next, at step S403, the new software or the patch is installed in the clone environment 441, to generate a clone environment 442 which has perfonned the environment updating process. At step 404, the program of the environment test in the low level monitoring operating system 451 of the cloud server system is executed to extract and compare pieces of information (such as software error message or the memory content) of the operating system environment 411 and the clone environment 442 while the operating system enviromnent 411 and the clone environment 442 are operated, continuously switch the operating system environment 411 and the clone environment 422, and detect whether an user state or behavior is changed when an user or a system software operates between the operating system environment 411 and the clone enviromnent 422 (such as the user is disable to write down data in the specific column, and usually opens a specific window, or alternatively, the delay time which the operation command executed between the two systems exists). Since at step 5404, the operating system environment 411 and the clone environment 442 need to be switched, the program of the environment test is stored in the low level monitoring operating system 451 of the cloud server, and executed by the low level monitoring operating system 451.
[0058] For example, if the number which the extracted pieces of information of the two systems are the same is larger than a specific threshold, or/and the user state or behavior changes slightly, the new software and the patch passes the environment test. The above illustration is just for one exemplary example, and the application scope, using manner, steps, or step execution order of the present disclosure is not limit thereto. At step S405, after the program of the environment test is executed, the a low level monitoring operating system 452 of the cloud server system is generated, wherein the low level monitoring operating system 452 has the system environment state being presented that the installed new software or patch has passed the environment test. Then, at step 5406, the user or the MIS engineer uses the user interface to confirm the execution for performing the environment updating process in the operating system environment 411 of the virtual machine, and thus the operating system environment 411 becomes an operating system 412 which has installed the new software or the patch; or alternatively, the user or the MIS engineer uses the user interface to confirm the execution for replacing the operating system environment 411 with the operating system 442, and copying the other data (except for the corresponding data for the compatibility test) in operating system environment 411 of the virtual machine to the clone environment 442.
[0059] It is noted that, step S404 can merely extract and compare information (such as software error message or the memory content) of the operating system environment 411 and the clone environment 442 while the operating system environment 411 and the clone environment 442 are operated; or alternatively, step S404 can merely continuously switch the operating system environment 411 and the second clone environment 422, and detect whether an user state or behavior is changed when an user or a system software operates between the operating system environment 411 and the clone environment 422.
[0060] If step 5404 merely extracts and compares information of the operating system environment 411 and the clone environment 442 while the operating system environment 411 and the clone environment 442 are operated (i.e. does not switch the operating system environment 411 and the clone environment 442), the program of the environment test can be introduced in the clone environment 442 of the virtual machine, and executed by the clone environment 442. Next, at step S405, the clone environment 442 having the system environment state being presented that the new software or the patch passes the environment test is generated.
100611 Referring to FIG. 5, FIG. 5 is a schematic diagram of a software compatibility pre-testing system according to an exemplary embodiment of the present disclosure. In the exemplary embodiment, the environment updating pre-testing system 5 comprises a computing device 51 and a cloud server system 53, wherein the computing device 51 is linked to the cloud server system 53 through the interne network 52. The user can use the cloud server system 53 through the computing device 51, or directly operate the cloud server system 53. The cloud server system 53 can have the administration right, so as to control the computing device 51 to update the software or the operating system patch. However, the present disclosure is not limited thereto, and in another implementation, the computing device 51 has the administration right itself 100621 Referring to FIG.6A and FIG. 6B, FIG. 6A and FIG. 6B are schematic diagrams of a pre-testing method for environment updating according to another exemplary embodiment of the present disclosure. In the exemplary embodiment, the software compatibility pre-testing system comprises a computing device and a cloud server system. The operating system environment 611 of the computing device has data, application software configuration, and system configuration stored in the storage unit of the computing device. In addition, the storage unit of cloud server system has a configuration database 621 and a resource pool 631, wherein the configuration database 621 is used to storage at least one system configuration, and the resources pool 631 stores the installation files of the application softwares and patches of the operating systems or the softwares.
100631 At step S601, the computing device extracts the application software configuration and the system configuration (i.e. the system and software information) of the operating system environment 611 to the configuration database 621 of the cloud server system. When the user or the MIS engineer uses the user interface to check the state of the updated system environment (can be determined by the computing device or the cloud server system), or the operating system automatically checks software compatibility, step S602 is then executed. At step S602, a virtual machine having a clone environment 641 in the cloud server system is generated, wherein the clone environment 641 is functionally similar or equal to the operating system environment 611. The details of step S602 are illustrated. Firstly, the cloud server system generates a virtual machine with a clean operating system therein according to the system configuration of the configuration database 621. Then, by using the automatic installation program, the related application softwares and the patches of the softwares or the operating system are installed in the clean operating system to generate a clone environment, then according to the application software configuration and the system configuration, the clone environment is configured, and the settings of the softwares are adjusted. Next, the cloud server system obtains the corresponding data from the operating system environment 611 of the computing device to the clone environment, so as to generate a clone environment 641 which is functionally similar or equal to the operating system environment 611.
100641 Next, at step 5603, the new software or the patch is installed in the clone environment 641, to generate a clone environment 642 which has performed the environment updating process. At step S604, the program of the environment test is introduced in the virtual machine having the clone environment 642 to generate a clone environment 643, wherein the program of the environment test is used to is executed to extract and compare pieces of information (such as software error message or the memory content) of the operating system environment 611 and the clone environment 642 while the operating system environment 611 and the clone environment 642 are operated, and the program of the environment test may further executes startup, close, input/output value detections of specific related software in the clone enviromnent 642. For example, if the number which the extracted pieces of information of the two systems are the same is larger than a specific threshold, and the number which the specific related softwares successfully startups, closes, or has the correct input/output values is larger than another specific threshold, the new software or the patch passes the enviromnent test. At step S605, after the compatibility test of the clone environment 643 is executed, a clone environment 644 is generated, wherein the clone environment 644 has the system environment state being presented that the installed new software or patch has passed the environment test. Then, at step S606, the user or the MIS engineer uses the user interface to confirm the execution for performed the environment updating process in the operating system environment 611 (executed by the computing device), and thus the operating system environment 611 becomes an operating system 612 which has installed the new software or the patch.
[0065] To sum up, exemplary embodiments of the present disclosure provide a pre-testing method for environment updating and a system thereof, wherein the compatibility of the new software or the patch for the current operating system environment is pre-tested before the new software or the patch is installed in the operating system environment, such that the nuisance for recovering the operating system environment and the serious loss caused by that the operating system cannot be recovered can be avoided after the incompatible problem, program flaw, security information, or error correction occurs. Furthermore, the patch reliance for the user can be increased, so as to enhance the information security and avoid the attack by the hacker via the program flaw. Moreover, the pre-testing method for environment updating and a system thereof do not cause exhaustive storage space consumption, and can be carried out simply, therefore having beneficial economy result. Furthermore, the pre-testing method and system for environment updating use a backup method which costs little storage space. The backup method in an exemplary embodiment of the present disclosure merely stores the system and software information of the operating system environment rather than the system image of the whole operating system environment.
[00661 The above-mentioned descriptions represent merely the exemplary embodiment of the present disclosure, without any intention to limit the scope of the present disclosure thereto. Various equivalent changes, alternations or modifications based on the claims of present disclosure are all consequently viewed as being embraced by the scope of the present disclosure.

Claims (26)

  1. WHAT IS CLAIMED IS: 1. A pre-testing method adapted for environment updating, comprising: while detecting that an environment updating process should be performed to an operating system environment, determining whether an environment test should be executed (S103); while detecting that the environment test should be executed, selecting a plurality of pieces of system and software information of the operating system environment, wherein the system and software information of the operating system environment is extracted from the operating system environment (S104); generating a virtual machine having a first clone environment according to the system and software information (SI05); performing the environment updating process to the first clone environment of the virtual machine so as to cause the first clone environment to become a second clone environment of the virtual machine(S107); and executing the environment test for the second clone environment (S108).
  2. 2. The pre-testing method adapted for environment updating according to claim 1, wherein before the step for selecting the system and software information of the operating system environment, the operating system environment is extracted periodically to generate the system and software information; or the operating system environment is extracted by an operating command to generate the system and software information (S101).
  3. 3. The pre-testing method adapted for environment updating according to claim 1, further comprising: according to a result of the environment test, determining whether the operating system environment can be performed with the environment updating process, and then performing the environment updating process to the operating system environment (S110).
  4. 4. The pre-testing method adapted for environment updating according to claim 1, further comprising: according to a result of the environment test, determining whether the second clone environment can be switched to be used, and then switching the second clone environment to be used (S110).
  5. 5. The pre-testing method adapted for environment updating according to claim 1, wherein the environment updating process comprises at least one of installing a patch, installing new software, or uninstalling installed software (S107).
  6. 6. The pre-testing method adapted for environment updating according to claim 1, wherein when determining that the environment test should be executed, obtaining corresponding data of all data in the operating system environment to generate the virtual machine (S106), wherein the corresponding data is used for the environment test, and the first clone environment is generated according to the system and software information and the corresponding data.
  7. 7. The pre-testing method adapted for environment updating according to claim 1, wherein in the step for generating the first clone environment, generating a third clone environment according to the system and software information in the virtual machine, then, installing installed softwares and installed patches of the operating system environment in the third clone environment so as to cause the third clone environment to become a fourth clone environment, and obtaining the corresponding data for the fourth clone environment to generate the first clone environment, wherein the third clone environment is a clean operating system environment.
  8. 8. The pre-testing method adapted for environment updating according to claim 1, wherein in the step for generating the first clone environment, obtaining a common use operating system environment which is generated in advance, and the common use operating system environment has connnon use software, then, according to the system and software information, configuring the common use operating system environment, adjusting settings of the common use software, and installing omitting software which have been installed in the operating system environment rather than the common use operating system environment in the common use operating system environment to generate the first clone environment.
  9. 9. The pre-testing method adapted for environment updating according to claim 1, wherein the system and software information comprises at least one of an operating system version, an operating system serial code, an operating system environment related configuration, an application software version, an application software setting, and an operating system and application software patch installation list.
  10. 10. The pre-testing method adapted for environment updating according to claim 1, wherein the environment test comprises at least one of testing functions of the second clone environment, comparing system states of the second clone environment and the operating system environment, and comparing user experiences of the second clone environment and the operating environment I I. The pre-testing method adapted for environment updating according to claim 10, wherein the environment test comprises at least one of a system and software vulnerability test, a compatibility test, and an efficiency test.12. The pre-testing method adapted for environment updating according to claim 11, wherein the system and software vulnerability test is implemented by a fuzzing test.13. The pre-testing method adapted for environment updating according to claim 10, wherein executing startup, close, input/output value detections of specific related software in the second clone environment to test the functions of the second clone environment 14. The pre-testing method adapted for environment updating according to claim 10, wherein extracting information of the operating system environment and the second clone environment while the operating system environment and the second clone environment are operated, and comparing the information to compare the system states of the second clone enviromnent with the operating system enviromnent 15. The pre-testing method adapted for environment updating according to claim 10, wherein continuously switching the operating system environment and the second clone environment, and detecting whether an user state or behavior is changed when an user or a system software operates between the operating system environment and the second clone environment, so as to compare the user experiences of the second clone environment and the operating system environment.16. A pre-testing system adapted for environment updating, comprising: a computing device (2); wherein while detecting that an environment updating process should be performed to an operating system environment, the computing device (2) determines whether an environment test should be executed; while detecting that the environment test should be executed, the computing device (2) selects a plurality of pieces of system and software information of the operating system environment, wherein the system and software information of the operating system environment is extracted from the operating system environment; the computing device (2) generates a virtual machine having a first clone environment according to the system and software information; the computing device (2) performs the environment updating process to the first clone environment of the virtual machine so as to cause the first clone environment to become a second clone environment of the virtual machine; the computing device (2) executes the environment test for the second clone environment; and according to a result of the environment test, the computing device (2) determines whether the operating system environment can be performed with the environment updating process.17. The pre-testing system adapted for environment updating according to claim 16, wherein when that the environment test should be executed is determined, the computing device (2) obtains corresponding data of all data in the operating system to generate the virtual machine, wherein the corresponding data is used for the environment test, and the first clone environment is generated according to the system and software information and the corresponding data.18. A pre-testing system adapted for environment updating, comprising: a cloud server system (2'); wherein while detecting that an environment updating process should be performed to an operating system environment, the cloud server system (2') determines whether an environment test should be executed; while detecting that the environment test should be executed, the cloud server system (2') selects a plurality of pieces of system and software information of the operating system environment operated in a first virtual machine of the cloud server system(2') , wherein the system and software information of the operating system environment is extracted from the operating system environment; the cloud server system (2') generates a second virtual machine having a first clone environment according to the system and software information; the cloud server system (2') performs the environment updating process to the first clone environment of the second virtual machine so as to cause the first clone enviromnent to become a second clone environment of the second virtual machine; and the cloud server system (2') executes the enviromnent test for the second clone environment 19. The pre-testing system adapted for enviromnent updating according to claim 18, wherein according to a result of the environment test, the cloud server system (2') determines whether the operating system environment can be performed with the environment updating process.20. The pre-testing system adapted for environment updating according to claim 18, wherein according to a result of the environment test, the cloud server system (2') determines whether the second virtual machine having the second clone environment can be switched to be used.21. The pre-testing system adapted for environment updating according to claim 18, wherein when determining that the environment test should be executed, the cloud server system (2') obtains corresponding data of all data in the operating system environment to generate the second virtual machine, wherein the corresponding data is used for the enviromnent test, and the first clone environment is generated according to the system and software information and the corresponding data.22. A pre-testing system adapted for environment updating, comprising: a computing device (2); and a cloud server system (2'), linked to the computing device (2) through an internet network; wherein while detecting that an environment updating process should be performed to an operating system environment, the computing device (2) or the cloud server system (2') determines whether an environment test should be executed; while detecting that the environment test should be executed, the computing device (2) selects a plurality of pieces of system and software information of the operating system environment and transmits to the cloud server system (2'), wherein the system and software information of the operating system environment is extracted from the operating system environment; the cloud server system (2') generates a virtual machine having a first clone environment according to the system and software information; the cloud server system (2') performs the environment updating process to the first clone environment so as to cause the first clone environment to become a second clone environment of the virtual machine; the cloud server system (2') executes the environment test for the second clone environment; and according to a result of the environment test, the computing device (2) determines whether the operating system environment can be performed with the environment updating process on the computing device (2).23. The pre-testing system adapted for environment updating according to claim 22, wherein when determining that the environment test should be executed, the cloud server system (2') obtains corresponding data of all data in the operating system environment to generate the second virtual machine, wherein the corresponding data is used for the environment test, and the first clone environment is generated according to the system and software information and the corresponding data.24. A backup method, adapted to an operating system environment, comprising: extracting a plurality of pieces of system and software information of the operating system environment (S101); and generating a virtual machine having a clone environment according to the system and software information (S105); wherein the clone environment substantially is the same as the operating system environment related to the extracted system and software information.AMENDMENTS TO THE CLAIMS HAS BEEN FILED AS FOLLOWSWHAT IS CLAIMED IS: 1. A pre-testing method adapted for environment updating, comprising: in response to detecting that an environment updating process should be performed to an operating system environment, determining whether an environment test should be executed (S103); in response to detecting that the environment test should be executed, selecting a plurality of pieces of system and software information of the operating system environment, wherein the selected system and software information of the operating system environment is extracted from the operating system environment * ..** * (S104); * * * generating a virtual machine having a first clone environment 090* according to the selected system and software information (S105); * * performing the environment updating process to the first clone environment of the virtual machine so as to cause the first clone environment to become a second clone environment of the virtual machine(S107); and 0000 executing the environment test for the second clone environment (S108).* 2. The pre-testing method adapted for environment updating according to claim 1, wherein before the step for selecting the system and software information of the operating system environment, the * * * * so 0 * * operating system environment is extracted periodically to generate the system and software information; or the operating system environment is extracted by an operating command to generate the system and software information (S101). * ** * * * **** * * * * **** * 3. The pre-testing method adapted for environment updating according to claim 1, further comprising: according to a result of the environment test, determining whether the operating system environment can be performed with the environment updating process, and then performing the environment updating process to the operating system environment (S110).4. The pre-testing method adapted for environment updating according to claim 1, further comprising: according to a result of the environment test, determining whether the second clone environment can be switched to be used, and then switching the second clone environment to be used (S110).5. The pre-testing method adapted for environment updating according to claim 1, wherein the environment updating process comprises at least one of installing a patch, installing new software, or uninstalling installed software (S107). * se * *** * * . * * 000O * * 00,0 * * * * * * SO e * * 6. The pre-testing method adapted for environment updating according to claim 1, wherein when determining that the environment test should be executed, obtaining corresponding data of all data in the operating system environment to generate the virtual machine (S106), wherein the corresponding data is used for the environment test, and the first clone environment is generated according to the system and software information and the corresponding data.7. The pre-testing method adapted for environment updating according to claim 1, wherein in the step for generating the first clone environment, generating a third clone environment according to the system and software information in the virtual machine, then, installing installed softwares and installed patches of the operating system environment in the third clone environment so as to cause the third clone environment to become a fourth clone environment, and obtaining the corresponding data for the fourth clone environment to generate the first clone environment, wherein the third clone environment is a clean operating system environment.8. The pre-testing method adapted for environment updating according to claim 1, wherein in the step for generating the first clone environment, obtaining a common use operating system environment which is generated in advance, and the common use operating system environment has common use software, then, according to the system and software information, configuring the common use operating system environment, adjusting settings of the common use software, and installing omitting software which have been installed in the operating system environment rather than the common use operating system environment in the common use operating system environment to generate the first clone environment. ** ** . * ..* * **** * * * ** * * * * 9. The pre-testing method adapted for environment updating according to claim 1, wherein the system and software information comprises at least one of an operating system version, an operating system serial code, an operating system environment related configuration, an application software version, an application software setting, and an operating system and application software patch installation list.10. The pre-testing method adapted for environment updating according to claim 1, wherein the environment test comprises at least one of testing functions of the second clone environment, comparing system states of the second clone environment and the operating system environment, and comparing user experiences of the second clone environment and the operating environment.
  11. 11. The pre-testing method adapted for environment updating according to claim 10, wherein the environment test comprises at least one of a *** system and software vulnerability test, a compatibility test, and an efficiency test.* * ** *** *
  12. 12. The pre-testing method adapted for environment updating according to claim 11, wherein the system and software vulnerability test is implemented by a fuzzing test.
  13. 13. The pre-testing method adapted for environment updating according to claim 10, wherein executing startup, close, input/output value detections of specific related software in the second clone environment to test the functions of the second clone environment. * ** * * *
  14. 14. The pre-testing method adapted for environment updating according to * * * claim 10, wherein extracting information of the operating system * *** * * * environment and the second clone environment while the operating * * system environment and the second clone environment are operated, and comparing the information to compare the system states of the second clone environment with the operating system environment
  15. 15. The pre-testing method adapted for environment updating according to claim 10, wherein continuously switching the operating system environment and the second clone environment, and detecting whether an user state or behavior is changed when an user or a system software operates between the operating system environment and the second clone environment, so as to compare the user experiences of the second clone environment and the operating system environment.
  16. 16. A pre-testing system adapted for environment updating using the pretesting method adapted for environment updating according to claim 1, comprising: a computing device (2); wherein while detecting that an environment updating process should be performed to an operating system environment, the computing device (2) determines whether an environment test should be * *** * *** * executed; while detecting that the environment test should be ** * * executed, the computing device (2) selects a plurality of pieces of **** **** system and software information of the operating system * environment, wherein the system and software information of the **** * * * *** * operating system environment is extracted from the operating * . system environment; the computing device (2) generates a virtual machine having a first clone environment according to the system and software information; the computing device (2) performs the environment updating process to the first clone environment of the virtual machine so as to cause the first clone environment to become a second clone environment of the virtual machine; and the computing device (2) executes the environment test for the second clone environment * ** * * . *** * * * * **** * **** * . **** * . ** * * * *
  17. 17. The pre-testing system adapted for environment updating according to claim 16 wherein, according to a result of the environment test, the computing device (2) determines whether the operating system environment can be performed with the environment updating process.
  18. 18. The pre-testing system adapted for environment updating according to claim 16, wherein when that the environment test should be executed is determined, the computing device (2) obtains corresponding data of all data in the operating system to generate the virtual machine, wherein the corresponding data is used for the environment test, and the first clone environment is generated according to the system and software information and the corresponding data.
  19. 19. A pre-testing system adapted for environment updating using the pretesting method adapted for environment updating according to claim 1, comprising: a cloud server system (2'); wherein while detecting that an environment updating process should be performed to an operating system environment, the cloud server system (2') determines whether an environment test should be executed; while detecting that the environment test should be executed, the cloud server system (2') selects a plurality of pieces of system and software information of the operating system environment operated in a first virtual machine of the cloud server system(2') , wherein the system and software information of the operating system environment is extracted from the operating system environment; the cloud server system (2') generates a second virtual machine having a first clone environment according to the system and software information; the cloud server system (2') performs the environment updating process to the first clone environment of the second virtual machine so as to cause the first clone environment to become a second clone environment of the second virtual machine; and the cloud server system (2') executes the environment test for the second clone environment.* .. * * * . * ** * * * * * * * * * * * * * *
  20. 20. The pre-testing system adapted for environment updating according to claim 19, wherein according to a result of the environment test, the cloud server system (2') determines whether the operating system environment can be performed with the environment updating process.
  21. 21. The pre-testing system adapted for environment updating according to claim 19, wherein according to a result of the environment test, the cloud server system (2') determines whether the second virtual machine having the second clone environment can be switched to be used.
  22. 22. The pre-testing system adapted for environment updating according to claim 19, wherein when determining that the environment test should be executed, the cloud server system (2') obtains corresponding data of all data in the operating system environment to generate the second virtual machine, wherein the corresponding data is used for the environment test, and the first clone environment is generated according to the system and software information and the corresponding data.
  23. 23. A pre-testing system adapted for environment updating using the pretesting method adapted for environment updating according to claim 1, comprising: * ** * * ****** a computing device (2); and * * a cloud server system (2'), linked to the computing device (2) through **** * **** an internet network; * * wherein while detecting that an environment updating process should **** * *** ** * be performed to an operating system environment, the computing * * device (2) or the cloud server system (2') determines whether an environment test should be executed; while detecting that the environment test should be executed, the computing device (2) selects a plurality of pieces of system and software information of the operating system environment and transmits to the cloud server system (2'), wherein the system and software information of the operating system environment is extracted from the operating system environment; the cloud server system (2') generates a virtual machine having a first clone environment according to the system and software information; the cloud server system (2') performs the environment updating process to the first clone environment so as to cause the first clone environment to become a second clone environment of the virtual machine; and the cloud server system (2') executes the environment test for the second clone environment; and according to a result of the environment test.
  24. 24, The pre-testing system adapted for environment updating according to claim 23 wherein, according to a result of the environment test, the computing device (2) determines whether the operating system * ** * * * environment can be performed with the environment updating process on *** * * * * the computing device (2). * **** *****
  25. 25. The pre-testing system adapted for environment updating according to * * claim 23, wherein when determining that the environment test should **** **** * be executed, the cloud server system (2') obtains corresponding data * * * of all data in the operating system environment to generate the second virtual machine, wherein the corresponding data is used for the environment test, and the first clone environment is generated according to the system and software information and the corresponding data.
  26. 26. The pre-testing method adapted for environment updating according to claim I, wherein the first clone environment and the second clone environment are the same as the operating system environment related to the extracted system and software information. * 60 * * 0 *00, * 0000* * ** * * * * * * SO * * * *
GB1419929.3A 2014-11-10 2014-11-10 Backup method, pre-testing method for environment updating and system thereof Withdrawn GB2532076A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
GB1419929.3A GB2532076A (en) 2014-11-10 2014-11-10 Backup method, pre-testing method for environment updating and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
GB1419929.3A GB2532076A (en) 2014-11-10 2014-11-10 Backup method, pre-testing method for environment updating and system thereof

Publications (2)

Publication Number Publication Date
GB201419929D0 GB201419929D0 (en) 2014-12-24
GB2532076A true GB2532076A (en) 2016-05-11

Family

ID=52118222

Family Applications (1)

Application Number Title Priority Date Filing Date
GB1419929.3A Withdrawn GB2532076A (en) 2014-11-10 2014-11-10 Backup method, pre-testing method for environment updating and system thereof

Country Status (1)

Country Link
GB (1) GB2532076A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107423218A (en) * 2017-07-20 2017-12-01 北京小米移动软件有限公司 Application testing method, device and terminal
US11194699B2 (en) 2019-09-17 2021-12-07 Red Hat, Inc. Compatibility testing with different environment configurations

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113836018B (en) * 2021-09-24 2024-04-09 中国建设银行股份有限公司 Backup method and related device for testing environment configuration parameters

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004027541A2 (en) * 2002-09-20 2004-04-01 International Business Machines Corporation Method and apparatus for automatic updating and testing of software
WO2009052424A2 (en) * 2007-10-19 2009-04-23 Kubisys Inc. Virtual computing environments
WO2011085335A2 (en) * 2010-01-08 2011-07-14 Sauce Labs, Inc. Real time verification of web applications
US8839222B1 (en) * 2011-09-21 2014-09-16 Amazon Technologies, Inc. Selecting updates for deployment to a programmable execution service application
US20140281732A1 (en) * 2013-03-15 2014-09-18 Red Hat, Inc. Automated update testing and deployment
GB2518458A (en) * 2013-09-23 2015-03-25 Inst Information Industry Method for pre-testing software compatibility and system thereof.
EP2866408A1 (en) * 2013-10-24 2015-04-29 Kaspersky Lab, ZAO System and method for processing updates to installed software on a computer system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004027541A2 (en) * 2002-09-20 2004-04-01 International Business Machines Corporation Method and apparatus for automatic updating and testing of software
WO2009052424A2 (en) * 2007-10-19 2009-04-23 Kubisys Inc. Virtual computing environments
WO2011085335A2 (en) * 2010-01-08 2011-07-14 Sauce Labs, Inc. Real time verification of web applications
US8839222B1 (en) * 2011-09-21 2014-09-16 Amazon Technologies, Inc. Selecting updates for deployment to a programmable execution service application
US20140281732A1 (en) * 2013-03-15 2014-09-18 Red Hat, Inc. Automated update testing and deployment
GB2518458A (en) * 2013-09-23 2015-03-25 Inst Information Industry Method for pre-testing software compatibility and system thereof.
EP2866408A1 (en) * 2013-10-24 2015-04-29 Kaspersky Lab, ZAO System and method for processing updates to installed software on a computer system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107423218A (en) * 2017-07-20 2017-12-01 北京小米移动软件有限公司 Application testing method, device and terminal
US11194699B2 (en) 2019-09-17 2021-12-07 Red Hat, Inc. Compatibility testing with different environment configurations

Also Published As

Publication number Publication date
GB201419929D0 (en) 2014-12-24

Similar Documents

Publication Publication Date Title
US9146839B2 (en) Method for pre-testing software compatibility and system thereof
US20160132420A1 (en) Backup method, pre-testing method for environment updating and system thereof
KR102268355B1 (en) Cloud deployment infrastructure validation engine
JP5128944B2 (en) Method and system for minimizing data loss in computer applications
US7574627B2 (en) Memory dump method, memory dump program and computer system
US8910172B2 (en) Application resource switchover systems and methods
CN108292342B (en) Notification of intrusions into firmware
US11803412B2 (en) Containerized application management system and management method
CN108509215B (en) System software replacing method and device, terminal equipment and storage medium
US10601955B2 (en) Distributed and redundant firmware evaluation
US10509646B2 (en) Software update rollbacks using file system volume snapshots
US20120036496A1 (en) Plug-in based high availability application management framework (amf)
CN111538613A (en) Cluster system exception recovery processing method and device
CN110990124A (en) Cloud host recovery method and device
GB2532076A (en) Backup method, pre-testing method for environment updating and system thereof
CN114116330B (en) Server performance testing method, system, terminal and storage medium
CN111966520A (en) Database high-availability switching method, device and system
CN106708541A (en) Version upgrading processing method and apparatus
CN111078454A (en) Cloud platform configuration recovery method and device
CN112882871B (en) Host conflict detection method, device, equipment and storage medium
US20200167463A1 (en) Out-of-Band Content Analysis
CN114222972A (en) Application presence monitoring and reinstallation
CN118445001B (en) Heterogeneous system integration method, device and equipment based on plug-in development framework
KR102145403B1 (en) Method for application monitoring in smart devices by big data analysis of excption log
US20240330477A1 (en) System and method for evaluating active backups using penetration testing

Legal Events

Date Code Title Description
WAP Application withdrawn, taken to be withdrawn or refused ** after publication under section 16(1)