CN104572366B - Laptop closes machine suspend mode automatic test approach - Google Patents

Laptop closes machine suspend mode automatic test approach Download PDF

Info

Publication number
CN104572366B
CN104572366B CN201310495069.1A CN201310495069A CN104572366B CN 104572366 B CN104572366 B CN 104572366B CN 201310495069 A CN201310495069 A CN 201310495069A CN 104572366 B CN104572366 B CN 104572366B
Authority
CN
China
Prior art keywords
laptop
steps
described program
suspend mode
follow
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
CN201310495069.1A
Other languages
Chinese (zh)
Other versions
CN104572366A (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 CN201310495069.1A priority Critical patent/CN104572366B/en
Publication of CN104572366A publication Critical patent/CN104572366A/en
Application granted granted Critical
Publication of CN104572366B publication Critical patent/CN104572366B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)
  • Debugging And Monitoring (AREA)

Abstract

A kind of laptop conjunction machine suspend mode test method comprising following steps: (1) in opening test program on the laptop, described program is run under DOS environment;(2) whether it is " 0 " by the value of the position BIT2 of described program judgement " LidStatus_Addr0X600 ", if " 0 ", thens follow the steps (3), if not " 0 ", then follow the steps (6);(3) laptop is closed into machine;(4) as described program judge described in the value of the position BIT2 of " LidStatus_Addr0X600 " whether be " 1 ", if " 1 ", then follow the steps (5), if not " 1 ", then follow the steps (6);(5) described program shows " PASS ", then bolt down procedure, records test result;(6) described program shows " FAIL ", then bolt down procedure, records test result.The test method that laptop of the present invention closes machine suspend mode is simple, can be realized the process tested automatically, to save a large amount of time.

Description

Laptop closes machine suspend mode automatic test approach
[technical field]
The present invention relates to a kind of automatic test approach, and in particular to a kind of laptop closes the machine suspend mode side of test automatically Method.
[background technique]
Nowadays in electronic product industry, laptop is more and more widely used in people's lives.Therefore, people Requirement to its quality it is also higher and higher.General factory also can all survey its various function before laptop factory Examination, so that it is guaranteed that its quality for flowing out product.
Wherein, when laptop closes machine suspend mode project testing, existing test method is manually to close board Whether machine, the power lights for observing the board at this time are flashing;If flashing, then opening the board, while pressing keyboard;If this When the board by normal wakeup, then can prove the board conjunction machine sleep mode be it is good, not vice versa.On however, Stating method testing process is manual operation and artificial judgement, is also easy to produce erroneous judgement and leaks phenomena such as seeing, to it cannot be guaranteed that produce The quality of product, while the result tested cannot save, and be unfavorable for the tracking of subsequent result.
In view of this, it is really necessary to provide a kind of laptop conjunction machine suspend mode test method, to solve above-mentioned artificial hand Dynamic test bring defect.
[summary of the invention]
Therefore, the purpose of the present invention is to provide a kind of laptops to close machine suspend mode test method, to solve manually The defect of test.
In order to achieve the above object, the present invention provides a kind of laptop conjunction machine suspend mode test method comprising following Step:
(1) in opening test program on the laptop, described program is run under DOS environment;
It (2) whether is " 0 " by the value of the position BIT2 of described program judgement " LidStatus_Addr0X600 ", if " 0 ", (3) are thened follow the steps, if not " 0 ", then follow the steps (6);
(3) laptop is closed into machine;
(4) as described program judge described in the value of the position BIT2 of " LidStatus_Addr0X600 " whether be " 1 ", if " 1 " thens follow the steps (5), if not " 1 ", thens follow the steps (6);
(5) described program shows " PASS ", then bolt down procedure, records test result;
(6) described program shows " FAIL ", then bolt down procedure, records test result.
Preferably, the laptop is in an open state before the step (1).
Preferably, the test result in the step (5) and step (6) can be uploaded to SFCS.
Compared to the prior art, the test method of laptop conjunction machine suspend mode of the present invention is simple, can be realized automatic survey The process of examination to save a large amount of time, while also avoiding and being manually also easy to produce erroneous judgement and leak phenomena such as seeing, cannot Guarantee the problem of quality of product and test result cannot save.
[Detailed description of the invention]
Fig. 1 is schematically shown as the flow chart that laptop of the present invention closes machine suspend mode automatic test approach.
[specific embodiment]
The present invention provides a kind of laptop conjunction machine suspend mode test method comprising following steps:
S101: in opening test program on the laptop, described program is run under DOS environment;
S102: whether the value by the position BIT2 of described program judgement " LidStatus_Addr0X600 " is " 0 ", if " 0 ", thens follow the steps S103, if not " 0 ", thens follow the steps S106;
S103: the laptop is closed into machine;
S104: as described program judge described in the value of the position BIT2 of " LidStatus_Addr0X600 " whether be " 1 ", if For " 1 ", S105 is thened follow the steps, if not " 1 ", thens follow the steps S106;
S105: described program shows " PASS ", then bolt down procedure, records test result;
S106: described program shows " FAIL ", then bolt down procedure, records test result.
Wherein, before the step S101, the laptop is in an open state.
Wherein, the test result in the step S105 and step S106 can be uploaded to SFCS(Shop Floor Control System Workshop control system).
In this present embodiment, the BIT2 refers to deputy value (digit since 0) of the binary number from right number, It is exactly right several third numerical value.
The test method that laptop of the present invention closes machine suspend mode is simple, can be realized the process tested automatically, to save The a large amount of time has been saved, while having been also avoided and being manually also easy to produce erroneous judgement and leak phenomena such as seeing, it cannot be guaranteed that the quality of product And test result the problem of cannot saving.
It is noted that the present invention is not limited to the above embodiments, any person skilled in the art is based on this hair Bright technical solution each falls within protection model of the invention to any simple modification made by above-described embodiment, equivalent variations and modification It encloses.

Claims (2)

1. a kind of laptop closes machine suspend mode test method, which is characterized in that the test method the following steps are included:
(1) in opening test program on the laptop, described program is run under DOS environment;
(2) whether the value that the position BIT2 of " LidStatus_Addr0X600 " is judged by described program is that " 0 " is then held if " 0 " Row step (3) thens follow the steps (6) if not " 0 ";
(3) laptop is closed into machine;
(4) as described program judge described in the value of the position BIT2 of " LidStatus_Addr0X600 " whether be " 1 ", if " 1 ", (5) are thened follow the steps, if not " 1 ", then follow the steps (6);
(5) described program shows " PASS ", then bolt down procedure, records test result;
(6) described program shows " FAIL ", then bolt down procedure, records test result;
Test result in the step (5) and step (6) can be uploaded to SFCS.
2. laptop according to claim 1 closes machine suspend mode test method, which is characterized in that before the step (1), The laptop is in an open state.
CN201310495069.1A 2013-10-18 2013-10-18 Laptop closes machine suspend mode automatic test approach Expired - Fee Related CN104572366B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310495069.1A CN104572366B (en) 2013-10-18 2013-10-18 Laptop closes machine suspend mode automatic test approach

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310495069.1A CN104572366B (en) 2013-10-18 2013-10-18 Laptop closes machine suspend mode automatic test approach

Publications (2)

Publication Number Publication Date
CN104572366A CN104572366A (en) 2015-04-29
CN104572366B true CN104572366B (en) 2019-01-29

Family

ID=53088501

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310495069.1A Expired - Fee Related CN104572366B (en) 2013-10-18 2013-10-18 Laptop closes machine suspend mode automatic test approach

Country Status (1)

Country Link
CN (1) CN104572366B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107305514A (en) * 2016-04-22 2017-10-31 神讯电脑(昆山)有限公司 Notebook computer closes machine dormancy Auto-Test System and method
CN111970164A (en) * 2020-07-29 2020-11-20 深圳市广和通无线股份有限公司 System, method, device, terminal and storage medium for detecting state of communication module
CN116736076B (en) * 2023-05-12 2024-04-09 珠海妙存科技有限公司 Chip dormancy state detection method and system, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1355435A (en) * 2000-12-01 2002-06-26 英业达股份有限公司 Autoamtic on-off tester
CN1622005A (en) * 2003-11-24 2005-06-01 顺德市顺达电脑厂有限公司 Power supply status automatic test method for computer apparatus
CN1831784A (en) * 2005-03-09 2006-09-13 深圳市顶星数码网络技术有限公司 Testing device and method of computer
CN2898939Y (en) * 2006-02-07 2007-05-09 上海环达计算机科技有限公司 Automatic counter for testing power-supply switch state circulation
CN101996114A (en) * 2009-08-26 2011-03-30 英业达股份有限公司 Testing method
CN102346700A (en) * 2010-08-03 2012-02-08 神讯电脑(昆山)有限公司 System for testing stability of PDA (Personal Digital Assistant) and method
CN202472629U (en) * 2012-02-23 2012-10-03 昆山元崧电子科技有限公司 System for testing motherboard of laptop computer

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005266861A (en) * 2004-03-16 2005-09-29 Nec Electronics Corp Microcomputer and its test method
CN102023912B (en) * 2009-09-11 2013-11-20 鸿富锦精密工业(深圳)有限公司 Dormancy wake-up testing system and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1355435A (en) * 2000-12-01 2002-06-26 英业达股份有限公司 Autoamtic on-off tester
CN1622005A (en) * 2003-11-24 2005-06-01 顺德市顺达电脑厂有限公司 Power supply status automatic test method for computer apparatus
CN1831784A (en) * 2005-03-09 2006-09-13 深圳市顶星数码网络技术有限公司 Testing device and method of computer
CN2898939Y (en) * 2006-02-07 2007-05-09 上海环达计算机科技有限公司 Automatic counter for testing power-supply switch state circulation
CN101996114A (en) * 2009-08-26 2011-03-30 英业达股份有限公司 Testing method
CN102346700A (en) * 2010-08-03 2012-02-08 神讯电脑(昆山)有限公司 System for testing stability of PDA (Personal Digital Assistant) and method
CN202472629U (en) * 2012-02-23 2012-10-03 昆山元崧电子科技有限公司 System for testing motherboard of laptop computer

Also Published As

Publication number Publication date
CN104572366A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
CN104572366B (en) Laptop closes machine suspend mode automatic test approach
CN105187608B (en) The method and apparatus of application program power consumption on a kind of acquisition mobile terminal
TW200712812A (en) Built-in self test for a thermal processing system
CN108051745A (en) Test system, method and the computer readable storage medium of BMS
CN104090186B (en) A kind of analog quantity automatic checking system based on safety instrument
CN107942235A (en) Single chip testing device
CN105891736A (en) QC2.0 fast charge detection circuit and detection method
CN101464225A (en) Dynamic pressure test device with thermal power expansion valve
WO2020114315A1 (en) Elevator status multi-information fusion diagnosis method
CN204882853U (en) Electric energy meter pressure resistance test installation
CN107305514A (en) Notebook computer closes machine dormancy Auto-Test System and method
CN203965955U (en) The water-level control apparatus of sampling system
CN203164392U (en) LED power source intelligent detection system
CN203552005U (en) Hanging meter abnormality switching device
CN104729840A (en) Safety valve testing device and testing method
CN209560036U (en) A kind of combined measuring device
CN203629819U (en) Safety valve testing device
CN106249070A (en) A kind of test system and method for electric automobile heat management pipeline
CN104461807B (en) DVD dormancy automatic test approach
CN105630623A (en) Flash memory particle detection device
CN204228841U (en) Capacitor high/low temperature proving installation
CN205643660U (en) QC2. 0 fills electrical detection circuitry fast
CN105807215A (en) Test equipment and test method for secondary circuit relay of energy storage unit
CN204903040U (en) Sensor capability test device is discharged to tail gas temperature
CN204188343U (en) The pick-up unit of Urea pipe leakage rate and electrical property

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190129