CN104699556B - The operating system CRC check method and system of computer - Google Patents

The operating system CRC check method and system of computer Download PDF

Info

Publication number
CN104699556B
CN104699556B CN201510129103.2A CN201510129103A CN104699556B CN 104699556 B CN104699556 B CN 104699556B CN 201510129103 A CN201510129103 A CN 201510129103A CN 104699556 B CN104699556 B CN 104699556B
Authority
CN
China
Prior art keywords
crc check
computer
operating system
verified
winpe
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.)
Expired - Fee Related
Application number
CN201510129103.2A
Other languages
Chinese (zh)
Other versions
CN104699556A (en
Inventor
黎昌伟
庄红星
陈业达
陈洪标
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vtron Group Co Ltd
Original Assignee
Vtron Technologies Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vtron Technologies Ltd filed Critical Vtron Technologies Ltd
Priority to CN201510129103.2A priority Critical patent/CN104699556B/en
Publication of CN104699556A publication Critical patent/CN104699556A/en
Application granted granted Critical
Publication of CN104699556B publication Critical patent/CN104699556B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The present invention provides a kind of operating system CRC check method and system of computer, and its method includes step:After computer to be verified completes burn-in test, the operating system of the computer to be verified is activated, wherein, first subregion of the operating system loading in the hard disk of the computer to be verified;WinPE running tools and CRC check program are obtained, and the WinPE running tools and CRC check program covering are installed to the second subregion of the hard disk, wherein, second zonal loading has the test system of the computer to be verified;Start the WinPE running tools, after the computer to be verified enters WinPE environment, run the CRC check program, CRC check is carried out to the operating system by the CRC check program.The verification efficiency high of the present invention program, verification accuracy rate is high and can reduce heavy industry possibility, can reduce producing line cost.

Description

The operating system CRC check method and system of computer
Technical field
The present invention relates to computer testing technology field, more particularly to a kind of operating system CRC check side of computer Method and system.
Background technology
For the user having, comparing to tend to after computer is bought directly start shooting just can enter operating system, not exist Whether the operating system of this computer is extracted installation for the first time.However, for other user, calculating is but wished to Machine system is from the process unziped into desktop, to represent the computer for the first time by using installation.
In order to meet the needs of latter user, traditional mode be by OBA test (detection of unpacking) by shipment number Amount ratio randomly selects partial computer and carries out CRC check, is in order to which analog subscriber carries out detection of unpacking using process first. However, with such a mode, flow relatively lags behind, and can not in time detect, treats out for the computer to be gone wrong in burn-in test When goods sampling observation finds quality problems, caused expense is very high.Secondly, OBA test are the partial computers to final shipment Detection is sampled, it is necessary to after to the machine solution press operation system of every sampling observation, is reruned CRC schools into operating system desktop Test instrument (be usually start the CRC check instrument from USB flash disk), the checkout procedure is than relatively time-consuming and need special messenger to carry out operation inspection Survey.
In addition, the sampling Detection in OBA test stages, is simply detected in shipment ratio, can not be very to other computers Good covering, caused result be OBA sampling observations error rate it is of a relatively high, it is necessary to the labour cost of heavy industry costly.Even if OBA The sampling observation in test stages passes through, and for the shipment computer do not inspected by random samples, can also there is quality risk.
The content of the invention
It is an object of the invention to provide a kind of verification efficiency high, verification accuracy rate is high and can reduce heavy industry possibility The operating system CRC check method and system of computer, can reduce producing line cost.
The purpose of the present invention is achieved through the following technical solutions:
A kind of operating system CRC check method of computer, comprises the following steps:
After computer to be verified completes burn-in test, the operating system of the computer to be verified is activated, wherein, institute State first subregion of the operating system loading in the hard disk of the computer to be verified;
Obtain WinPE running tools and CRC check program, and by the WinPE running tools and the CRC check program Covering is installed to the second subregion of the hard disk, wherein, second zonal loading has the test system of the computer to be verified System;
Start the WinPE running tools, after the computer to be verified enters WinPE environment, run the CRC Checking routine, CRC check is carried out to the operating system by the CRC check program.
A kind of operating system CRC check system of computer, including:
Active module, after completing burn-in test in computer to be verified, activate the behaviour of the computer to be verified Make system, wherein, first subregion of the operating system loading in the hard disk of the computer to be verified;
Module is installed, for obtaining WinPE running tools and CRC check program, and by the WinPE running tools and institute The second subregion that the covering of CRC check program is installed to the hard disk is stated, wherein, second zonal loading has the meter to be verified The test system of calculation machine;
Correction verification module, for starting the WinPE running tools, WinPE environment is entered in the computer to be verified Afterwards, the CRC check program is run, CRC check is carried out to the operating system by the CRC check program.
According to the scheme of the invention described above, it is after computer to be verified completes burn-in test, and it is to be verified to activate this The operating system of computer, obtains WinPE running tools and CRC check program, and by WinPE running tools and described CRC check program covers the second subregion for being installed to the hard disc of computer to be verified, starts WinPE running tools, is treated described After verification computer enters WinPE environment, the CRC check program is run, by CRC check program to the operating system CRC check is carried out, due to being just to be cut into after burn-in test is completed in CRC check so that every computer to be verified is all CRC check is completed, rather than is only verified in proportion, in this way, while verification accuracy rate is improved Also the possibility of the heavy industry of reduction, some expensive heavy industry expenses is avoided, reduce producing line cost, further, since being to treat Verification computer is completed automatically activate the operating system of the computer to be verified after burn-in test, and can automatically obtain WinPE running tools and CRC check program, and after computer to be verified enters WinPE environment, can automatic running CRC schools Test program so that the operating system without decompressing computer to be verified can be achieved with the CRC check to operating system, and whole mistake With regard to that can be automatically performed, checkability is high for Cheng Wuxu manual interventions.
Brief description of the drawings
Fig. 1 is the testing process schematic diagram of traditional computer;
Fig. 2 is the schematic flow sheet of the operating system CRC check embodiment of the method for the computer of the present invention;
Fig. 3 is when the operating system CRC check method of the computer of the present invention is applied in the testing process of computer Schematic diagram;
Fig. 4 is the schematic flow sheet of the operating system CRC check system embodiment of the computer of the present invention.
Embodiment
For the objects, technical solutions and advantages of the present invention are more clearly understood, below in conjunction with drawings and Examples, to this Invention is described in further detail.It should be appreciated that embodiment described herein is only to explain the present invention, Do not limit protection scope of the present invention.
For ease of understanding the present invention program, the testing process of traditional computer is briefly described first, and Computer Equipment has The flow testing of comparison system, as shown in figure 1, computer needed before shipment first successively by Pre Test (functional test), Several test ranks such as Run-in Test (burn-in test), Final Test (being tested before shipment), OBA test (detection of unpacking) Section, wherein, verified if desired for CRC (Cyclic Redundancy Check, CRC), then in detection of unpacking Stage carries out the CRC check to the operating system of computer.And the present invention program is to have carried out burn-in test completion to computer Afterwards, CRC check is carried out.The present invention program is described in detail below.
In the following description, carried out first against the embodiment of the operating system CRC check method of the computer of the present invention Illustrate, then each embodiment of the operating system CRC check system of the computer of the present invention is illustrated.
It is shown in Figure 2, for the schematic flow sheet of the operating system CRC check embodiment of the method for the computer of the present invention. As shown in Fig. 2 the operating system CRC check method of the computer of the present embodiment comprises the following steps:
Step S101:After computer to be verified completes burn-in test, the operation system of the computer to be verified is activated System, wherein, the operating system loading the hard disk of the computer to be verified the first subregion, into step S102;
The hard disk of each computer to be verified is broadly divided into two subregions, and a subregion is then equipped with the behaviour of computer to be verified Make system (operating system during shipment), the subregion is in hidden state before burn-in test finishes, in the present embodiment, will This subregion is referred to as the first subregion;One zonal loading has the test system of the computer to be verified, and the general test system is Windows test systems, only for test, in the present embodiment, this subregion is referred to as the second subregion;
Because before burn-in test finishes, the first subregion is in the stage of hiding, and operating system is to be loaded into first Subregion, therefore, it is necessary to first activate the operation system of the computer to be verified for being loaded into the first subregion before CRC check is carried out System is, it is necessary to which explanation, the activation will not decompress the operating system of computer to be verified;
Step S102:Obtain WinPE (Windows Preinstallation Environment, Windows pre-installations Environment, also referred to as Windows PE) running tool and CRC check program, and by the WinPE running tools and the CRC schools The second subregion that program covering is installed to the hard disk is tested, wherein, second zonal loading has the computer to be verified Test system, into step S103;
Wherein, obtaining WinPE running tools and the mode of CRC check program can be selected according to being actually needed, It can include step in one of embodiment, the step of the acquisition WinPE running tools and CRC check program:To service Device sends download instruction, and receives WinPE running tools and the CRC check journey that the server returns according to the download instruction Sequence, that is to say, that download the WinPE running tools and CRC check program from server;
After WinPE running tools and CRC check download program to local, ghost softwares can be run, by CRC check Program and WinPE running tools ghost coverings are installed in the second subregion;
Step S103:Start the WinPE running tools, after the computer to be verified enters WinPE environment, fortune The row CRC check program, CRC check is carried out to the operating system by the CRC check program;
Wherein, it can be installed to the covering of WinPE running tools in previous step to start the WinPE running tools Performed automatically after second subregion, without manual intervention.
Accordingly, according to the scheme of above-described embodiment, due to being just to be cut into after burn-in test is completed in CRC check, So that every computer to be verified is completed CRC check, rather than only verified in proportion, in this way, The possibility of the also heavy industry of reduction, avoids some expensive heavy industry expenses, reduces production while improving verification accuracy rate Line cost, further, since being to complete automatically activate the computer to be verified after burn-in test in computer to be verified Operating system, and WinPE running tools and CRC check program can be automatically obtained, and enter WinPE in computer to be verified , can automatic running CRC check program after environment so that the operating system without decompressing computer to be verified can be achieved with to operation The CRC check of system, and whole process without manual intervention with regard to that can be automatically performed, checkability is high.
In one of the embodiments, it is above-mentioned that CRC check is carried out to the operating system by the CRC check program The step of can specifically include step:By whether depositing the operation system in the first subregion described in the CRC check programmed check The record that system is extracted, if the record be present, the information that output verification does not pass through.
Using scheme in the present embodiment, allow for during the burn-in test of computer to be verified, if operating personnel Imprudence artificially decompresses operating system, corresponding decompression daily record can be generated in the first subregion, therefore, if being looked into the first subregion The decompression daily record is found, then illustrates that the computer to be verified is undesirable, it is necessary to prompt operating personnel's meter to be verified The check results of the CRC check of calculation machine are not pass through.
The record that operating system in the present embodiment is extracted is typically referred to decompress daily record, but this is not formed to the present invention The limitation of scheme.
Meanwhile in one of the embodiments, in the case of in the absence of the record, the CRC check can be passed through Program reads each system file of the operating system, and more each system file in the CRC check program with protecting successively Whether each stamper file deposited is consistent, if unanimously, the information that output verification passes through, if inconsistent, output verification does not pass through Information.
In the present embodiment, each stamper preserved in more each system file successively and the CRC check program It is to be compared each system file and each corresponding stamper file one by one during whether file is consistent, Once detecting inconsistent in some system file stamper file corresponding with some, then it can perform what output verification did not passed through The operation of information.
Wherein, the information that above-mentioned output verification passes through information, output verification do not pass through can be with word, image, sound The diversified forms such as sound are exported, for example, when verification passes through, can show " PASS ", and verify obstructed out-of-date, then are shown " FAIL ", but also and it is limited to this mode.
In addition, in one of the embodiments, can also be by the calculating to be verified after the information that output verification passes through The check results of machine are uploaded onto the server, wherein, after the server receives the check results, start the meter to be verified Next test phase of calculation machine.
Wherein, next test phase is tested before generally referring to the shipment in Fig. 1, can be with using the scheme in the present embodiment Strengthen the continuity of the testing process of computer to be verified, be favorably improved testing efficiency.
It is shown in Figure 3, it is the test that the operating system CRC check method of the computer of the present invention is applied to computer Schematic diagram when in flow.As described in Figure 3, every computer is carried out after burn-in test is completed using the present invention program CRC check, so, the computer not passed through for CRC check, being returned directly to the functional test stage re-starts test, and Need not wait for unpacking detection-phase inspection and go wrong and carry out heavy industry (doing over again again) again, and if in unpacking detection-phase inspection Go wrong, batches of computer is often subjected to heavy industry, rather than a certain or several computers progress heavy industrys, this master If in view of not knowing which computer is problematic, and using the solution of the present invention, the possibility of heavy industry can be reduced Property, unnecessary expense expenditure is reduced, simultaneously as all having carried out CRC check to each computer, can effectively be reduced The quality risk for the computer do not inspected by random samples in unpacking detection.
According to the operating system CRC check method of the computer of the invention described above, the present invention also provides a kind of computer Operating system CRC check system, the embodiment of the operating system CRC check system of the computer of the present invention is carried out in detail below Explanation.The structural representation of the embodiment of the operating system CRC check system of the computer of the present invention is shown in Fig. 4.In order to It is easy to illustrate, merely illustrates part related to the present invention in Fig. 4.
As shown in figure 4, the operating system CRC check system of the computer in the present embodiment, including active module 201, peace Die-filling piece 202, correction verification module 203, wherein:
Active module 201, after completing burn-in test in computer to be verified, activate the computer to be verified Operating system, wherein, first subregion of the operating system loading in the hard disk of the computer to be verified;
Module 202 is installed, for obtaining WinPE running tools and CRC check program, and by the WinPE running tools The second subregion of the hard disk is installed to CRC check program covering, wherein, second zonal loading, which has, described treats school Test the test system of computer;
Correction verification module 203, for starting the WinPE running tools, WinPE rings are entered in the computer to be verified Behind border, the CRC check program is run, CRC check is carried out to the operating system by the CRC check program.
In one of the embodiments, correction verification module 203 can pass through the first subregion described in the CRC check programmed check In whether deposit the record that the operating system is extracted, if the record is not present, pass through the CRC check program read institute Each system file of operating system is stated, successively more each system file and each stamper preserved in the CRC check program Whether file is consistent, if unanimously, the information that output verification passes through, if the record or inconsistent, output verification be present The information not passed through.
In one of the embodiments, correction verification module 203 can also can not be read by the CRC check program it is described During system file, information that output system file can not be read.
In one of the embodiments, correction verification module 203 can also treat school after the information that output verification passes through by described The check results for testing computer are uploaded onto the server, wherein, it is described to be verified after the server receives the check results Computer enters next test phase.
In one of the embodiments, module 202 is installed and sends download instruction to server, and receive the server root The WinPE running tools and CRC check program returned according to the download instruction.
The operating system CRC check system of the computer of the present invention and the operating system CRC check of the computer of the present invention Method corresponds, in the technical characteristic and its beneficial that the embodiment of the operating system CRC check method of above computer illustrates Effect suitable for the embodiment of the operating system CRC check system of computer, hereby give notice that.
Embodiment described above only expresses the several embodiments of the present invention, and its description is more specific and detailed, but simultaneously Therefore the limitation to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that for one of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the guarantor of the present invention Protect scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (11)

1. a kind of operating system CRC check method of computer, it is characterised in that comprise the following steps:
After computer to be verified completes burn-in test, the operating system of the computer to be verified is activated, wherein, the behaviour Make first subregion of the system loading in the hard disk of the computer to be verified;
WinPE running tools and CRC check program are obtained, and the WinPE running tools and the CRC check program are covered The second subregion of the hard disk is installed to, wherein, second zonal loading has the test system of the computer to be verified;
Start the WinPE running tools, after the computer to be verified enters WinPE environment, run the CRC check Program, CRC check is carried out to the operating system by the CRC check program.
2. the operating system CRC check method of computer according to claim 1, it is characterised in that described by described The step of CRC check program carries out CRC check to the operating system comprises the following steps:
The record being extracted by whether depositing the operating system in the first subregion described in the CRC check programmed check;
If the record be present, the information that output verification does not pass through.
3. the operating system CRC check method of computer according to claim 2, it is characterised in that described by described The step of CRC check program carries out CRC check to the operating system also comprises the following steps:
When in the absence of the record, then each system file of the operating system is read by the CRC check program, successively Whether compare each system file consistent with each stamper file for being preserved in the CRC check program;
If consistent, the information that output verification passes through;
If inconsistent, information that output verification does not pass through.
4. the operating system CRC check method of computer according to claim 3, it is characterised in that also including step:
If the system file can not be read, the information that output system file can not be read.
5. the operating system CRC check method of computer according to claim 1, it is characterised in that:
The step of acquisition WinPE running tools and CRC check program, includes step:Download instruction is sent to server, and Receive WinPE running tools and the CRC check program that the server returns according to the download instruction.
6. the operating system CRC check method of computer according to claim 1, it is characterised in that also including step:
After the information that output verification passes through, the check results of the computer to be verified are uploaded onto the server, wherein, it is described After server receives the check results, start next test phase of the computer to be verified.
A kind of 7. operating system CRC check system of computer, it is characterised in that including:
Active module, after completing burn-in test in computer to be verified, activate the operation system of the computer to be verified System, wherein, first subregion of the operating system loading in the hard disk of the computer to be verified;
Module is installed, for obtaining WinPE running tools and CRC check program, and by WinPE running tools and described CRC check program covers the second subregion for being installed to the hard disk, wherein, second zonal loading has the calculating to be verified The test system of machine;
Correction verification module, for starting the WinPE running tools, after the computer to be verified enters WinPE environment, fortune The row CRC check program, CRC check is carried out to the operating system by the CRC check program.
8. the operating system CRC check system of computer according to claim 7, it is characterised in that:
The correction verification module is extracted by whether depositing the operating system in the first subregion described in the CRC check programmed check Record, if the record is not present, each system file of the operating system is read by the CRC check program, according to Whether secondary more each system file and each stamper file preserved in the CRC check program are consistent, if unanimously, exporting The information passed through is verified, if the record or inconsistent, the information that output verification does not pass through be present.
9. the operating system CRC check system of computer according to claim 8, it is characterised in that:
The correction verification module also when by the CRC check program system file can not be read, output system file without The information that method is read.
10. the operating system CRC check system of computer according to claim 8, it is characterised in that:
The check results of the computer to be verified are also uploaded to clothes by the correction verification module after the information that output verification passes through Business device, wherein, after the server receives the check results, the computer to be verified enters next test phase.
11. the operating system CRC check system of computer according to claim 7, it is characterised in that:
The installation module sends download instruction to server, and receives what the server returned according to the download instruction WinPE running tools and CRC check program.
CN201510129103.2A 2015-03-23 2015-03-23 The operating system CRC check method and system of computer Expired - Fee Related CN104699556B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510129103.2A CN104699556B (en) 2015-03-23 2015-03-23 The operating system CRC check method and system of computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510129103.2A CN104699556B (en) 2015-03-23 2015-03-23 The operating system CRC check method and system of computer

Publications (2)

Publication Number Publication Date
CN104699556A CN104699556A (en) 2015-06-10
CN104699556B true CN104699556B (en) 2017-12-08

Family

ID=53346717

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510129103.2A Expired - Fee Related CN104699556B (en) 2015-03-23 2015-03-23 The operating system CRC check method and system of computer

Country Status (1)

Country Link
CN (1) CN104699556B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111966581B (en) * 2020-07-25 2022-10-25 芯发威达电子(上海)有限公司 Mobile terminal testing method and system for multiple operating systems and electronic equipment
CN111985010A (en) * 2020-08-20 2020-11-24 深圳忆联信息系统有限公司 Interception verification method and device for notebook hard disk, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101149699A (en) * 2006-09-21 2008-03-26 中兴通讯股份有限公司 Method for reliably acquiring abnormal and repositioning information
CN101501637A (en) * 2005-03-25 2009-08-05 索尼株式会社 Modular imaging download system
CN101848120A (en) * 2010-06-04 2010-09-29 中兴通讯股份有限公司 High-temperature testing method and device
WO2013086040A2 (en) * 2011-12-05 2013-06-13 Doyenz Incorporated Universal pluggable cloud disaster recovery system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101501637A (en) * 2005-03-25 2009-08-05 索尼株式会社 Modular imaging download system
CN101149699A (en) * 2006-09-21 2008-03-26 中兴通讯股份有限公司 Method for reliably acquiring abnormal and repositioning information
CN101848120A (en) * 2010-06-04 2010-09-29 中兴通讯股份有限公司 High-temperature testing method and device
WO2013086040A2 (en) * 2011-12-05 2013-06-13 Doyenz Incorporated Universal pluggable cloud disaster recovery system

Also Published As

Publication number Publication date
CN104699556A (en) 2015-06-10

Similar Documents

Publication Publication Date Title
US9846633B2 (en) Generating tests for testing software applications
CN104978270A (en) Automatic software testing method and apparatus
WO2019169760A1 (en) Test case range determining method, device, and storage medium
KR20110052579A (en) A method and system for improvements in or relating to off-line virtual environments
DE102021133809A1 (en) METHOD AND DEVICE FOR AUTOMATIC DETECTION OF SOFTWARE ERRORS
WO2016206361A1 (en) Method and device for detecting software upgrade of database
US11232020B2 (en) Fault detection using breakpoint value-based fingerprints of failing regression test cases
CN105335265A (en) LINUX platform-based BMC upgrading and downgrading automatic testing method
CN104699556B (en) The operating system CRC check method and system of computer
CN110781612A (en) Fault diagnosis method and device for ball screw, computer device and storage medium
CN102622295B (en) Self-adapting software defect positioning method based on predicate execution information analysis
US10970197B2 (en) Breakpoint value-based version control
CN111611154B (en) Regression testing method, device and equipment
CN107766240A (en) UEFI Shell internal command automatic running detection methods and system
CN110716843A (en) System fault analysis processing method and device, storage medium and electronic equipment
US7668680B2 (en) Operational qualification by independent reanalysis of data reduction patch
CN113468058B (en) Regression testing method and device for software as service platform and electronic equipment
CN104008336A (en) ShellCode detecting method and device
CN111274585B (en) Method, device, equipment and medium for detecting unauthorized vulnerability of Web application
CN110633204B (en) Program defect detection method and device
CN110806981B (en) Application program testing method, device, equipment and storage medium
CN112527672B (en) Detection method and equipment for shell adding tool
CN116483396B (en) Implementation method for multi-kckstart combined automatic installation
CN115774677B (en) Fuzzy test method and device based on multi-parameter input
KR102226387B1 (en) Test Execution Reduction Method and Apparatus for Efficient Product Line Regression Testing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Kezhu road high tech Industrial Development Zone, Guangzhou city of Guangdong Province, No. 233 510670

Patentee after: VTRON GROUP Co.,Ltd.

Address before: 510670 Guangdong city of Guangzhou province Kezhu Guangzhou high tech Industrial Development Zone, Road No. 233

Patentee before: VTRON TECHNOLOGIES Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171208