A Windows system document installation method and its installation system
By detecting the capacity value in the Windows system document installation method and selecting the installation mode according to its size, the problem of low installation efficiency of large-capacity Windows system documents is solved, and a faster installation process is achieved.
Patent Information
- Application Number
- CN202011301805.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-19
- Publication Date
- 2025-06-17
- Estimated Expiration
- 2040-11-19
AI Technical Summary
In the prior art, when installing large-capacity Windows system documents, the hash value detection and installation process takes too long, resulting in extremely low installation efficiency.
By detecting the capacity value of Windows system documents, if it is less than the threshold, hash value detection and standard comparison are performed; if the capacity value is greater than the threshold, the comment hash value calculation program will be installed directly, and function detection will be performed after the installation is completed.
It effectively improves the installation efficiency of large-capacity Windows system documents and avoids long-term waiting caused by hash detection.
Smart Images

Figure CN114518888B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a system installation method, and in particular to a Windows system document installation method and its installation system.
Background Art
[0002] Currently, in order to prevent the configuration file of the Windows system document to be installed from being modified at the factory end, a hash value detection is performed before installing the Windows system document to ensure that the configuration file of the Windows system document has not been modified, and then the Windows system document is installed. However, if the capacity of the Windows system document to be installed is too large, it will take a lot of time for the hash value detection. Coupled with the operation time for installing the Windows system document, the total installation duration will reach more than 5 hours, resulting in extremely low operation efficiency when installing a Windows system document with a large capacity currently.
[0003] In view of this, it is necessary to develop a Windows system document installation method and its installation system to improve the installation efficiency of a large-capacity Windows system.
Summary of the Invention
[0004] To achieve the above object, the present invention provides a Windows system document installation method for installing a Windows system. The method includes the following steps:
[0005] (1) Read the Windows system document to be installed in an installation directory;
[0006] (2) Detect the capacity value of the Windows system document. If the capacity value of the Windows system document is less than a threshold value, then perform step (3). If the capacity value of the Windows system document is greater than the threshold value, then perform step (7);
[0007] (3) Calculate the hash value of the Windows system document;
[0008] (4) Compare the calculated hash value with the standard value of the Windows system document;
[0009] (5) If the hash value is consistent with the standard value in the comparison, then install the Windows system document;
[0010] (6) If the hash value is inconsistent with the standard value in the comparison, then display an error message;
[0011] (7) Install the Windows system document;
[0012] (8) Perform a function test after the installation is completed;
[0013] (9) If the function test passes, the configuration file of the Windows system document has not been modified;
[0014] (10) If the function test fails, the configuration file of the Windows system document has been modified.
[0015] Optionally, the threshold value of the capacity value of the Windows system document in step (2) is between 10G and 30G.
[0016] Optionally, the hash value in step (3) is calculated from the crc32 value in a configuration document of the Windows system document.
[0017] Optionally, the function test in step (7) includes CPU test, graphics card test, network card test, sound card test, and hard disk test.
[0018] Optionally, before performing step (7), there is also step (11). When the capacity value of the Windows system document is greater than the threshold value, the program for calculating the hash value of the Windows system document is commented out, and then step (7) is performed.
[0019] The present invention also provides a Windows system document installation system, which includes:
[0020] A reading unit, which reads the Windows system document to be installed in an installation directory;
[0021] A capacity detection unit, which detects the capacity value of the Windows system document;
[0022] A hash value calculation unit, which is connected to the capacity detection unit. When the capacity value of the Windows system document detected by the capacity detection unit is greater than a threshold value, the hash value calculation unit calculates the hash value of the Windows system document;
[0023] A comparison unit, which is connected to the hash value calculation unit. The comparison unit compares the calculated hash value with the standard value of the Windows system document;
[0024] A first system installation unit, which is connected to the comparison unit. When the comparison unit compares the calculated hash value with the standard value of the Windows system document and they are consistent, the first system installation unit installs the Windows system document;
[0025] A second system installation unit, which is connected to the capacity detection unit. When the capacity value of the Windows system document detected by the capacity detection unit is less than the threshold, the second system installation unit installs the Windows system document.
[0026] A function detection unit, which is connected to the second system installation unit. The function detection unit performs function detection on the Windows system document after installation. Among them, if the function detection passes, the configuration file of the Windows system document is not modified; if the function detection fails, the configuration file of the Windows system document is modified.
[0027] Optionally, the threshold of the capacity value detected by the capacity detection unit for the Windows system document is between 10G and 30G.
[0028] Optionally, the hash value calculation unit calculates the hash value through the crc32 value in a configuration document of the Windows system document.
[0029] Optionally, the function detection unit includes CPU detection, graphics card detection, network card detection, sound card detection, and hard disk detection.
[0030] A method for installing a Windows system document and its installation system according to the present invention first detects the capacity value of the Windows system document, and then performs installations in different modes according to the size of the capacity value of the Windows system document, avoiding the problem of spending a lot of time due to directly installing the Windows system document, and effectively improving the installation efficiency of the Windows system document.
Description of the Drawings
[0031] Figure 1 It shows a detection flow chart of a method for installing a Windows system document according to the present invention.
[0032] Figure 2 It shows a block diagram of a system for installing a Windows system document according to the present invention.
Detailed Embodiments
[0033] A detailed description and technical content of the present invention will be described below in conjunction with the drawings. However, the attached drawings are only for illustrative purposes and are not intended to limit the creation.
[0034] Please refer to Figure 1 , Figure 1 It shows a detection flow chart of a method for installing a Windows system document according to the present invention. A method for installing a Windows system document provided by the present invention is used to install a Windows system. The method includes the following steps:
[0035] S101: Read the Windows system document to be installed in an installation directory;
[0036] S102: Detect the capacity value of the Windows system document. If the capacity value of the Windows system document is less than 15G, go to step S103. If the capacity value of the Windows system document is greater than 15G, go to step S107;
[0037] S103: Calculate the hash value of the Windows system document, where the hash value is calculated from the crc32 value in a configuration document of the Windows system document;
[0038] S104: Compare the calculated hash value with the standard value of the Windows system document, where the standard value is the standard value of the Windows system document before installation. If the configuration file of the Windows system document is modified, the comparison result between the calculated hash value and the standard value will be inconsistent. Therefore, it can be judged whether the configuration file of the Windows system document is modified through the comparison result;
[0039] S105: If the hash value is consistent with the standard value, install the Windows system document;
[0040] S106: If the hash value is inconsistent with the standard value, display an error message;
[0041] S107: Install the Windows system document;
[0042] S108: Perform function detection after the installation is completed. The function detection includes CPU detection, graphics card detection, network card detection, sound card detection, and hard disk detection;
[0043] S109: If the function detections of CPU detection, graphics card detection, network card detection, sound card detection, and hard disk detection all pass, the configuration file of the Windows system document has not been modified;
[0044] S110: If one of the detections of CPU detection, graphics card detection, network card detection, sound card detection, and hard disk detection fails, the configuration file of the Windows system document has been modified.
[0045] Before performing step S107, step S111 is further included. When the capacity value of the Windows system document is greater than the threshold, the program for calculating the hash value of the Windows system document is commented out, and then step S107 is performed. By commenting out the program for calculating the hash value of the Windows system document, the installation of the Windows system document can be directly performed, saving a lot of time.
[0046] Please refer to Figure 2 , Figure 2 which is a block diagram showing a Windows system document installation system of the present invention. The Windows system document installation system 100 provided by the present invention includes:
[0047] A reading unit 110 that reads the Windows system document to be installed in an installation directory;
[0048] A capacity detection unit 120 that detects the capacity value of the Windows system document;
[0049] A hash value calculation unit 130 that is connected to the capacity detection unit 120. When the capacity value of the Windows system document detected by the capacity detection unit 120 is greater than a threshold, the hash value calculation unit 130 calculates the hash value of the Windows system document;
[0050] A comparison unit 140 that is connected to the hash value calculation unit 130. The comparison unit 140 compares the calculated hash value with the standard value of the Windows system document;
[0051] A first system installation unit 150 that is connected to the comparison unit 140. When the comparison unit 140 compares the calculated hash value with the standard value of the Windows system document and they are consistent, the first system installation unit 150 installs the Windows system document;
[0052] A second system installation unit 160 that is connected to the capacity detection unit 120. When the capacity value of the Windows system document detected by the capacity detection unit 120 is less than the threshold, the second system installation unit 160 installs the Windows system document;
[0053] A function detection unit 170 that is connected to the second system installation unit 160. The function detection unit 170 performs function detection on the Windows system document after installation. If the function detection passes, the configuration file of the Windows system document is not modified. If the function detection fails, the configuration file of the Windows system document is modified.
[0054] Optionally, the threshold value of the capacity detection unit 120 for detecting the capacity value of the Windows system document is between 10G and 30G.
[0055] Optionally, the hash value calculation unit 130 calculates the hash value through the crc32 value in a configuration document of the Windows system document.
[0056] Optionally, the function detection unit 170 includes CPU detection, graphics card detection, network card detection, sound card detection, and hard disk detection.
[0057] Compared with the prior art, a Windows system document installation method and its installation system of the present invention first detect the capacity value of the Windows system document, and then perform installations in different modes according to the size of the capacity value of the Windows system document, avoiding the problem of spending a large amount of time due to directly installing the Windows system document, and effectively improving the installation efficiency of the Windows system document.
[0058] It should be noted that the present invention is not limited to the above embodiments. Any simple modifications, equivalent changes, and decorations made by any person skilled in the art to the above embodiments based on the technical solutions of the present invention fall within the protection scope of the present invention.
Claims
1. A method for installing Windows system documents, characterized in that, The method includes the following steps: (1) Read the Windows system document to be installed in an installation directory; (2) Detect the capacity value of the Windows system document. If the capacity value of the Windows system document is less than a threshold, go to step (3). If the capacity value of the Windows system document is greater than the threshold, go to step (7); (3) Calculate the hash value of the Windows system document; (4) Compare the calculated hash value with the standard value of the Windows system document; (5) If the hash value is consistent with the standard value, install the Windows system document; (6) If the hash value is inconsistent with the standard value, display an error message; (7) Install the Windows system document; (8) Conduct function detection after the installation is completed; (9) If the function detection passes, the configuration file of the Windows system document has not been modified; (10) If the function detection fails, the configuration file of the Windows system document has been modified.
2. The method for installing Windows system documents according to claim 1, characterized in that, In step (2), the threshold of the capacity value of the Windows system document is between 10G and 30G.
3. The method for installing Windows system documents according to claim 1, characterized in that, In step (3), the hash value is calculated from the crc32 value in a configuration document of the Windows system document.
4. The method for installing Windows system documents according to claim 1, characterized in that, In step (7), the function detection includes CPU detection, graphics card detection, network card detection, sound card detection, and hard disk detection.
5. The method for installing Windows system documents according to claim 1, characterized in that, Before executing step (7), step (11) is also included. When the capacity value of the Windows system document is greater than the threshold, comment out the program for calculating the hash value of the Windows system document, and then execute step (7).
6. A Windows system document installation system, characterized in that, It includes: A reading unit that reads the Windows system document to be installed in an installation directory; A capacity detection unit that detects the capacity value of the Windows system document; A hash value calculation unit connected to the capacity detection unit. When the capacity value of the Windows system document detected by the capacity detection unit is less than a threshold, the hash value calculation unit calculates the hash value of the Windows system document; A comparison unit connected to the hash value calculation unit. The comparison unit compares the calculated hash value with the standard value of the Windows system document; A first system installation unit connected to the comparison unit. When the comparison unit compares the calculated hash value with the standard value of the Windows system document and they are consistent, the first system installation unit installs the Windows system document; A second system installation unit connected to the capacity detection unit. When the capacity value of the Windows system document detected by the capacity detection unit is greater than the threshold, the second system installation unit installs the Windows system document; A function detection unit, which is connected to the second system installation unit. The function detection unit performs function detection on the Windows system document after installation. Among them, if the function detection passes, the configuration file of the Windows system document is not modified; if the function detection fails, the configuration file of the Windows system document is modified.
7. The Windows system document installation system according to claim 6, characterized in that, The capacity detection unit detects that the threshold of the capacity value of the Windows system document is between 10G and 30G.
8. The Windows system document installation system according to claim 6, characterized in that, The hash value calculation unit calculates the hash value through the crc32 value in a configuration document of the Windows system document.
9. The Windows system document installation system according to claim 6, characterized in that, The function detection unit includes CPU detection, graphics card detection, network card detection, sound card detection, and hard disk detection.
Citation Information
Patent Citations
Installation method of OS (Operating System), server and system
CN106528214A
File calibration method and system
CN106845278A