CN104809004B - Windows activates automatic test approach - Google Patents

Windows activates automatic test approach Download PDF

Info

Publication number
CN104809004B
CN104809004B CN201410033934.5A CN201410033934A CN104809004B CN 104809004 B CN104809004 B CN 104809004B CN 201410033934 A CN201410033934 A CN 201410033934A CN 104809004 B CN104809004 B CN 104809004B
Authority
CN
China
Prior art keywords
shelves
log
stages
request
windows8
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
CN201410033934.5A
Other languages
Chinese (zh)
Other versions
CN104809004A (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.)
Mitac Computer Kunshan Co Ltd
Original Assignee
Mitac Computer Kunshan Co 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 Mitac Computer Kunshan Co Ltd filed Critical Mitac Computer Kunshan Co Ltd
Priority to CN201410033934.5A priority Critical patent/CN104809004B/en
Publication of CN104809004A publication Critical patent/CN104809004A/en
Application granted granted Critical
Publication of CN104809004B publication Critical patent/CN104809004B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

A kind of Windows activates automatic test approach, and it includes step:(1)Request marks shelves are generated after the request stage;(2)After Programmable detection to the request remembers shelves, the flash stages are automatic jumped to, delete the request marks shelves after the completion of the flash stages, and generate refreshing mark shelves;(3)After the Programmable detection to the refreshing marks shelves, the report stages are automatic jumped to, are deleted refreshing mark shelves after the completion of the report stages, and generate LOG shelves;(4)The content of the LOG shelves is judged by the program, if the LOG shelves are recorded as " 0 ", performs step(5)If the LOG shelves are recorded as " 1 ", step is performed(7);(5)It is successfully tested, Windows8 activation, then records result and upload onto the server;(6)Restarting operating systems, and the LOG shelves are uploaded into SFCS;(7)Test crash, the Windows8 un-activations, then record result and upload onto the server.Present invention, avoiding the preservation and tracking that the defects of manual operation, ensure that subsequent result.

Description

Windows activates automatic test approach
【Technical field】
The present invention relates to a kind of automatic test approach, and in particular to a kind of windows activates automatic test approach.
【Background technology】
Activation technique is always Windows important component, and Microsoft provides OA to manufacturer(OEM Activation)Activation technique, using OA activation techniques, original equipment manufacturer can be specific by mainboard bulk activation Windows system copies.Such as the respectively OA2.1 and OA2.0 activation technique that existing Window7/Vista is carried.
With the development of science and technology, OA technologies have been upgraded to OA3.0 by Window8, by adding the mechanism of online validation, use To prevent situation of traditional information by simulating BIOS around activation, the activation process of the OA3.0 is:(1)Ask rank Section:By OEM/ODM manufacturers(Can be that factory can also be company)Purchase DPK is proposed to Microsoft(Digital Product Key)Demand, OEM/ODM manufacturers remove the DPK that takes by WEB or proprietary channel modes after paying a bill;(2)Flash ranks Section:Sequence number of the factory end by the DPK taken using OA3.0tool generations DPK, and be inserted into the BIOS of board, while root A hardware cryptographic Hash is generated by OA3.0 instruments again according to the configuration of board(hashcode), the sequence number and the cryptographic Hash CBR can be generated(computer Build Report);(3)The report stages:The CBR is sent to Microsoft, by Microsoft according to After the sequence number and cryptographic Hash received is judged and give OEM/ODM manufacturers feedback.At factory end, above-mentioned activation process it is each Stage is individual operations, it is necessary to manually perform the activation in each stage, while individually judges test result by each stage, Finally by manually according to the test result in each stage so as to judge whether the process of activation succeeds, but manual operation may Cause the test leakage in some stage, and artificially check, be easily caused erroneous judgement, leak phenomena such as seeing, and the result after activation can not also preserve, Subsequently it can not also follow the trail of.
In view of this, it is necessary to provide a kind of Windows activation automatic test approach in fact, to solve above-mentioned activation process Each stage can not connect automatically redirects the problem of performing next stage, while solves manual operation and seen in each stage test leakage or leakage, And result the problem of can not preserving and following the trail of of activation.
【The content of the invention】
It is therefore an object of the present invention to a kind of Windows activation automatic test approach is provided, to solve the above problems.
In order to achieve the above object, Windows activation automatic test approach provided by the invention, it is applied to Windows8 Activation technique in, the flow of the activation of the Windows8 includes three phases successively:Request stage, the flash stages and In the report stages, it the described method comprises the following steps:
(1)Request marks shelves are generated after the request stage;
(2)After Programmable detection is to the request note shelves, the flash stages are automatic jumped to, in the flash stages After the completion of by the request marks shelves delete, and generate refreshing mark shelves;
(3)After described program detects the refreshing mark shelves, the report stages are automatic jumped to, described Mark shelves to delete described refresh after the completion of the report stages, and generate LOG shelves;
(4)The content of the LOG shelves is judged by described program, if the LOG shelves are recorded as " 0 ", performs step(5), If the LOG shelves are recorded as " 1 ", step is performed(7);
(5)It is successfully tested, the Windows8 activation, then records result and upload onto the server;
(6)Restarting operating systems, and the LOG shelves are uploaded into SFCS(shop floor control System, Workshop control system), so as to by being missed the stop automatically after SFCS processing;
(7)Test crash, the Windows8 un-activations, then record result and upload onto the server.
Preferably, the LOG shelves also record the information of the DPK sequence numbers generated after the flash stages, hardware Hash The information and product SN of value(Serial Number, product serial number)Information.
Preferably, the request marks shelves are named with " reqflag.txt ".
Preferably, the mark shelves that refresh are named with " flashflag.txt ".
Compared to prior art, Windows activation automatic test approach of the present invention is realized in Windows8 activation processes The automatic connection in each stage, overcomes the defects of each stage need to manually perform in activation process, avoids artificial individual operations production The problem of raw test leakage and leakage is seen, and the present invention can also preserve the result whether Windows8 is activated, so as to ensure that production The quality of product, follow-up tracking is ensure that by upload server and SFCS.
【Brief description of the drawings】
Fig. 1 is schematically shown as the flow chart of Windows activation automatic test approach of the present invention.
【Embodiment】
In order to achieve the above object, Fig. 1 being referred to illustrate, Windows provided by the invention activates automatic test approach, its In activation technique applied to Windows8 OA3.0, the flow of the activation of the Windows8 includes three phases successively:Please Stage, flash stages and report stages are asked, the described method comprises the following steps:
S101:Request marks shelves are generated after the request stage;
S102:After Programmable detection is to the request note shelves, the flash stages are automatic jumped to, in the flash ranks The request marks shelves are deleted after the completion of section, and generate refreshing mark shelves;
S103:After described program detects the refreshing mark shelves, the report stages are automatic jumped to, described Mark shelves to delete described refresh after the completion of the report stages, and generate LOG shelves;
S104:The content of the LOG shelves is judged by described program, if the LOG shelves are recorded as " 0 ", performs step S105, if the LOG shelves are recorded as " 1 ", perform step S107;
S105:It is successfully tested, the Windows8 activation, then records result and upload onto the server;
S106:Restarting operating systems, and the LOG shelves are uploaded into SFCS(shop floor control System, Workshop control system), so as to by being missed the stop automatically after SFCS processing;
S107:Test crash, the Windows8 un-activations, then record result and upload onto the server.
Wherein, the LOG shelves also record the information of the DPK sequence numbers generated after the flash stages, hardware cryptographic Hash Information and product SN(Serial Number, product serial number)Information.
Wherein, the request marks shelves are named with " reqflag.txt ".
Wherein, the mark shelves that refresh are named with " flashflag.txt ".
When test, product SN information on traveler and the information of DPK item numbers are swept by barcode scanner by staff Enter board, the request stage in activation process is now performed by program, in the present embodiment, in order to not waste each DPK, Therefore after asking to DPK, before the flash stages, program can first judge board with the presence or absence of refreshing mark shelves, if in the presence of The DPK asked can now be deleted, if being not present, the flash stages are performed according to the method for testing of the present invention successively With the report stages.
Windows activation automatic test approach of the present invention realizes the automatic of each stage in Windows8 activation processes and connected Connect, overcome the defects of each stage need to manually perform in activation process, avoid test leakage caused by artificial individual operations and leakage is seen The problem of, and the present invention can also preserve the result whether Windows8 is activated, so as to ensure that the quality of product, by upper Pass server and SFCS ensure that follow-up tracking.

Claims (4)

1. a kind of Windows activates automatic test approach, it is applied in Windows8 activation technique, the Windows8's The flow of activation includes three phases successively:Request stage, flash stages and report stages, it is characterised in that methods described Comprise the following steps:
(1) request marks shelves are generated after the request stage;
(2) after Programmable detection is to the request marks shelves, the flash stages are automatic jumped to, it is complete in the flash stages The request marks shelves are deleted after, and generate refreshing mark shelves;
(3) after described program detects the refreshing mark shelves, the report stages are automatic jumped to, in the report Mark shelves to delete described refresh after the completion of stage, and generate LOG shelves;
(4) content of the LOG shelves is judged by described program, if the LOG shelves are recorded as " 0 ", step (5) is performed, if institute State LOG shelves and be recorded as " 1 ", then perform step (7);
(5) it is successfully tested, the Windows8 activation, then records result and upload onto the server;
(6) after the completion of step (5), restarting operating systems, and the LOG shelves are uploaded into Workshop control system, so as to Missed the stop automatically after being handled by the Workshop control system;
(7) test crash, the Windows8 un-activations, then record result and upload onto the server.
2. Windows according to claim 1 activates automatic test approach, it is characterised in that the LOG shelves have also recorded The information of the information of the DPK sequence numbers generated after the flash stages, the information of hardware cryptographic Hash and product SN.
3. Windows according to claim 1 activates automatic test approach, it is characterised in that the request marks shelves with " reqflag.txt " is named.
4. Windows according to claim 1 activates automatic test approach, it is characterised in that it is described refresh mark shelves with " flashflag.txt " is named.
CN201410033934.5A 2014-01-24 2014-01-24 Windows activates automatic test approach Expired - Fee Related CN104809004B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410033934.5A CN104809004B (en) 2014-01-24 2014-01-24 Windows activates automatic test approach

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410033934.5A CN104809004B (en) 2014-01-24 2014-01-24 Windows activates automatic test approach

Publications (2)

Publication Number Publication Date
CN104809004A CN104809004A (en) 2015-07-29
CN104809004B true CN104809004B (en) 2018-02-27

Family

ID=53693857

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410033934.5A Expired - Fee Related CN104809004B (en) 2014-01-24 2014-01-24 Windows activates automatic test approach

Country Status (1)

Country Link
CN (1) CN104809004B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7702536B1 (en) * 2002-12-04 2010-04-20 Microsoft Corporation Method, system, apparatus, and computer-readable medium for tracking referrals and product sell-through
CN101895671A (en) * 2010-07-21 2010-11-24 深圳创维数字技术股份有限公司 Set top box Loader module updating method and set top box thereof
CN102737200A (en) * 2010-12-14 2012-10-17 微软公司 Software activation using digital licenses
CN103383647A (en) * 2012-05-04 2013-11-06 鸿富锦精密工业(深圳)有限公司 Computer hardware configuration information acquiring system and method
CN103399815A (en) * 2013-07-16 2013-11-20 广东欧珀移动通信有限公司 Automated testing method and automated testing device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8949813B2 (en) * 2011-07-29 2015-02-03 Dell Products Lp Systems and methods for facilitating activation of operating systems

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7702536B1 (en) * 2002-12-04 2010-04-20 Microsoft Corporation Method, system, apparatus, and computer-readable medium for tracking referrals and product sell-through
CN101895671A (en) * 2010-07-21 2010-11-24 深圳创维数字技术股份有限公司 Set top box Loader module updating method and set top box thereof
CN102737200A (en) * 2010-12-14 2012-10-17 微软公司 Software activation using digital licenses
CN103383647A (en) * 2012-05-04 2013-11-06 鸿富锦精密工业(深圳)有限公司 Computer hardware configuration information acquiring system and method
CN103399815A (en) * 2013-07-16 2013-11-20 广东欧珀移动通信有限公司 Automated testing method and automated testing device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Win8的OA3.0技术探秘;平淡;《电脑爱好者》;20121201;第30页 *

Also Published As

Publication number Publication date
CN104809004A (en) 2015-07-29

Similar Documents

Publication Publication Date Title
CN111399873B (en) Model updating method and device
US9250257B2 (en) Sample processing method, device and system for an assembly line workstation
CN102789405A (en) Automated testing method and system for mainboard
CN104469409A (en) Automatic testing method for smart television software differential upgrading
US20190087251A1 (en) Runtime failure detection and correction
CN107357694A (en) Error event reporting system and its method during startup self-detection
WO2020096665A3 (en) Software application error detection
CN110941519B (en) Chip testing method and device of network equipment
CN110716843B (en) System fault analysis processing method and device, storage medium and electronic equipment
CN104809004B (en) Windows activates automatic test approach
CN107515821B (en) Control testing method and device
CN114328158A (en) Abnormity monitoring method and device, electronic equipment and storage medium
CN114116353A (en) Equipment testing method, device, equipment and storage medium
CN112882897A (en) Abnormal scene processing method and device, electronic equipment and storage medium
CN104699556B (en) The operating system CRC check method and system of computer
CN105278993A (en) Linux system based drive module upgrading method and apparatus
CN103778060B (en) Automatic software receiving and testing device and testing method thereof
CN116684382B (en) Domain name detection and automation application domain name certificate method, system and storage medium
CN116449810B (en) Fault detection method and device, electronic equipment and storage medium
CN104932907B (en) Hard disk mirror-image is automatically loaded method
TW201926038A (en) Server detection method and device thereof
CN110858171A (en) System, method and device for application test, terminal equipment and medium
US20110246827A1 (en) Testing Device and Testing Method
JP2012108773A (en) Automatic software test device and automatic software test method
CN111258826B (en) Method and device for testing command sequence of storage device and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180227

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