CN110245042A - A kind of laptop shipment mode capabilities automatic test approach and system - Google Patents

A kind of laptop shipment mode capabilities automatic test approach and system Download PDF

Info

Publication number
CN110245042A
CN110245042A CN201910543051.1A CN201910543051A CN110245042A CN 110245042 A CN110245042 A CN 110245042A CN 201910543051 A CN201910543051 A CN 201910543051A CN 110245042 A CN110245042 A CN 110245042A
Authority
CN
China
Prior art keywords
laptop
test
power supply
shipment mode
controller
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.)
Pending
Application number
CN201910543051.1A
Other languages
Chinese (zh)
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.)
Guangdong Hongqin Communication Technology Co Ltd
Original Assignee
Guangdong Hongqin Communication Technology 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 Guangdong Hongqin Communication Technology Co Ltd filed Critical Guangdong Hongqin Communication Technology Co Ltd
Priority to CN201910543051.1A priority Critical patent/CN110245042A/en
Publication of CN110245042A publication Critical patent/CN110245042A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/267Reconfiguring circuits for testing, e.g. LSSD, partitioning

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention discloses a kind of laptop shipment mode capabilities automatic test approach and system, this method includes issuing the instruction for allowing battery to enter shipment mode to the embedded controller using test program after laptop powers on booting and enters system;Embedded controller sends Serial Port Information to singlechip controller;Single-chip microcontroller is disconnected by control relay to cut off the circuit where the power supply line and external power supply of wiring board, so that adapter power loss, battery enters shipment mode;Singlechip controller is by control relay closure to connect the circuit where the power supply line and external power supply of wiring board, so that adapter obtains electric, battery exits shipment mode, and laptop re-powers booting, completes once to test.The present invention can be realized the automatic test of batch laptop shipment mode capabilities, and test process is executed without manually or mechanically arm, can be very good to save human cost and equipment cost, and reduce the time of test, improve work efficiency.

Description

A kind of laptop shipment mode capabilities automatic test approach and system
Technical field
The present embodiments relate to laptop function automatic detection technical field more particularly to a kind of laptops Shipment mode capabilities automatic test approach and system.
Background technique
Electronic equipment usually has diagnostic mode (Diagnostic Mode) and two kinds of shipment mode (Ship Mode) work Mode.In the diagnostic mode, electronic equipment executes firmware program with controlled manner, so as to be debugged and verified to program Can electronic equipment work normally.Under shipment mode, electronic equipment normally executes firmware program, to realize product function.
Currently, the functional test for laptop shipment mode, only plugs adapter by test man manually, Or the Plug Action of adapter is simulated using mechanical arm;Whether which kind of mode or be faced with it is high it is artificial at This or be faced with the high cost of mechanical arm.
Summary of the invention
The present invention provides a kind of laptop shipment mode capabilities automatic test approach and system, to solve the prior art Deficiency.
To achieve the above object, the present invention provides technical solution below:
In a first aspect, the embodiment of the present invention provides a kind of laptop shipment mode capabilities automatic test approach, it is described Method realizes that the laptop shipment mode capabilities are automatic by laptop shipment mode capabilities Auto-Test System Test macro includes embedded controller, singlechip controller, relay, adapter and wiring board;
The test interface of the embedded controller is connect by Serial Port Line with the singlechip controller;
Power supply line one end of the adapter is connect with the adaptor interface of the embedded controller, the other end with it is described Socket connection on wiring board;
The relay is arranged on the power supply line of the wiring board and the circuit where external power supply, the relay Control terminal is connect by conducting wire with the GPIO interface of the singlechip controller, which comprises
After laptop powers on booting and enters system, is issued and allowed to the embedded controller using test program Battery enters the instruction of shipment mode;
The embedded controller receives and sends Serial Port Information to the singlechip controller after described instruction;
It is described to cut off by controlling the relay disconnection after the singlechip controller receives the Serial Port Information The power supply line of wiring board and the circuit where external power supply, so that the adapter power loss, the battery enter shipment mode;
The singlechip controller connected by controlling the relay closure power supply line of the wiring board with it is external Circuit where power supply, so that the adapter obtains electric, the battery exits shipment mode, and the laptop re-powers Primary test is completed in booting.
Further, in the laptop shipment mode capabilities automatic test approach, in the singlechip controller By controlling the relay closure to connect the circuit where the power supply line and external power supply of the wiring board, so that described suitable The step of orchestration obtains electric, and the battery exits shipment mode, and the laptop re-powers booting, completes primary test it Afterwards, further includes:
After every primary test of completion, the booting number of the laptop is done add 1 accumulation process;
Judge whether the booting number of the laptop has reached preset testing time;
If it is not, it is described after laptop powers on booting and entrance system then to return to execution, using test program to institute State the step of embedded controller issues the instruction for allowing battery to enter shipment mode;
If so, test terminates.
Further, described when on laptop in the laptop shipment mode capabilities automatic test approach After establishing machine by cable and entering system, the instruction for allowing battery to enter shipment mode is issued to the embedded controller using test program The step of include:
After laptop powers on booting and enters system, the test program operation;
The test program, which issues behind preset available machine time interval to the embedded controller, allows battery to enter The instruction of goods mode.
Further, in the laptop shipment mode capabilities automatic test approach, the singlechip controller is logical It crosses and controls the relay closure to connect the circuit where the power supply line and external power supply of the wiring board, so that the adaptation The step of device obtains electric, and the battery exits shipment mode, and the laptop re-powers booting, completes primary test is wrapped It includes:
The singlechip controller starts countdown according to preset countdown is long;
At the end of countdown, the singlechip controller is by controlling the relay closure to connect the wiring board Power supply line and external power supply where circuit so that the adapter obtains electric, the battery exits shipment mode, the notes This computer re-powers booting, completes primary test.
Further, the laptop shipment mode capabilities automatic test approach, further includes:
Testing time is set.
Second aspect, the embodiment of the present invention provide a kind of laptop shipment mode capabilities Auto-Test System, including Embedded controller, singlechip controller, relay, adapter, wiring board and test program;
The test program is stored in the system of laptop;
The test interface of the embedded controller is connect by Serial Port Line with the singlechip controller;
Power supply line one end of the adapter is connect with the adaptor interface of the embedded controller, the other end with it is described Socket connection on wiring board;
The relay is arranged on the power supply line of the wiring board and the circuit where external power supply, the relay Control terminal is connect by conducting wire with the GPIO interface of the singlechip controller;
The test program is used for after laptop powers on booting and enters system, under Xiang Suoshu embedded controller Send out the instruction for allowing battery to enter shipment mode;
The embedded controller sends Serial Port Information to the singlechip controller after described instruction for receiving;
The singlechip controller is for being disconnected by controlling the relay to cut off after receiving the Serial Port Information The power supply line of the wiring board and the circuit where external power supply, so that the adapter power loss, the battery enter shipment mould Formula;
The singlechip controller be used for by controlling relay closure with connect the power supply line of the wiring board with Circuit where external power supply, so that the adapter obtains electric, the battery exits shipment mode, and the laptop is again Booting is powered on, primary test is completed.
Further, in the laptop shipment mode capabilities Auto-Test System, the singlechip controller is also For:
After every primary test of completion, the booting number of the laptop is done add 1 accumulation process;
Judge whether the booting number of the laptop has reached preset testing time;
If it is not, it is described after laptop powers on booting and entrance system then to return to execution, using test program to institute State the step of embedded controller issues the instruction for allowing battery to enter shipment mode;
If so, test terminates.
Further, in the laptop shipment mode capabilities Auto-Test System, the test program is specifically used In:
After laptop powers on booting and enters system, starting is run and behind preset available machine time interval to institute It states embedded controller and issues the instruction for allowing battery to enter shipment mode.
Further, in the laptop shipment mode capabilities Auto-Test System, the singlechip controller tool Body is used for:
Start countdown according to preset countdown is long;
At the end of countdown, by controlling the relay closure to connect the power supply line and external electricity of the wiring board Circuit where source, so that the adapter obtains electric, the battery exits shipment mode, and the laptop re-powers out Machine completes primary test.
Further, in the laptop shipment mode capabilities Auto-Test System, the singlechip controller is also For:
Testing time is set.
A kind of laptop shipment mode capabilities automatic test approach provided in an embodiment of the present invention and system, Neng Goushi The now function automatic detection of batch laptop shipment mode, test process are executed without manually or mechanically arm, can be very Good saving human cost and equipment cost, and the time of test is also reduced, it improves work efficiency.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention without any creative labor, may be used also for those of ordinary skill in the art To obtain other attached drawings according to these attached drawings.
Fig. 1 is a kind of process for laptop shipment mode capabilities automatic test approach that the embodiment of the present invention one provides Schematic diagram;
Fig. 2 is a kind of process of laptop shipment mode capabilities automatic test approach provided by Embodiment 2 of the present invention Schematic diagram;
Fig. 3 is a kind of process for laptop shipment mode capabilities automatic test approach that the embodiment of the present invention three provides Schematic diagram;
Fig. 4 is a kind of process for laptop shipment mode capabilities automatic test approach that the embodiment of the present invention four provides Schematic diagram;
Fig. 5 is a kind of structure for laptop shipment mode capabilities Auto-Test System that the embodiment of the present invention five provides Schematic diagram.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Attached drawing 1 is please referred to, is tested automatically for a kind of laptop shipment mode capabilities that the embodiment of the present invention one provides The flow diagram of method, this method are suitable for simulating the plug of adapter to carry out the scene of shipment mode capabilities test, are somebody's turn to do Method realizes that the laptop shipment mode capabilities are automatic by laptop shipment mode capabilities Auto-Test System Test macro includes embedded controller (EC), singlechip controller, relay, adapter and wiring board;The embedded control The test interface of device processed is connect by Serial Port Line with the singlechip controller;Power supply line one end of the adapter with it is described embedding Enter the adaptor interface connection of formula controller, the other end is connect with the socket on the wiring board;The relay is arranged in institute It states on the power supply line of wiring board and the circuit where external power supply, the control terminal of the relay passes through conducting wire and the single-chip microcontroller The GPIO interface of controller connects.This method specifically comprises the following steps:
S101, after laptop powers on booting and enters system, using test program to the embedded controller Issue the instruction for allowing battery to enter shipment mode.
S102, the embedded controller receive and send Serial Port Information to the singlechip controller after described instruction.
After S103, the singlechip controller receive the Serial Port Information, disconnected by controlling the relay to cut Break the wiring board power supply line and the circuit where external power supply so that the adapter power loss, the battery enter shipment Mode.
This step is the movement that adapter is pulled out in simulation.
S104, the singlechip controller connected by controlling the relay closure power supply line of the wiring board with Circuit where external power supply, so that the adapter obtains electric, the battery exits shipment mode, and the laptop is again Booting is powered on, primary test is completed.
This step is the movement of simulation insertion adapter.
A kind of laptop shipment mode capabilities automatic test approach provided in an embodiment of the present invention can be realized batch The function automatic detection of laptop shipment mode, test process execute without manually or mechanically arm, can be very good to save It saves labor costs and equipment cost, and also reduces the time of test, improve work efficiency.
Embodiment two
As shown in Fig. 2, a kind of laptop shipment mode capabilities automatic test approach provided by Embodiment 2 of the present invention, It is on the basis of the technical solution that embodiment one provides, to step S101 " when laptop powers on booting and enters system Afterwards, the instruction for allowing battery to enter shipment mode is issued to the embedded controller using test program " advanced optimize.With The various embodiments described above are identical or the explanation of corresponding term details are not described herein.That is:
After laptop powers on booting and enters system, the test program operation;
The test program, which issues behind preset available machine time interval to the embedded controller, allows battery to enter The instruction of goods mode.
Based on above-mentioned optimization, as shown in Fig. 2, a kind of laptop shipment mode capabilities provided in this embodiment are surveyed automatically Method for testing may include steps of:
S201, after laptop powers on booting and enters system, test program operation.
S202, the test program issued behind preset available machine time interval to the embedded controller allow battery into Enter the instruction of shipment mode.
The available machine time interval can customize setting, and such as 10 seconds.
S203, the embedded controller receive and send Serial Port Information to the singlechip controller after described instruction.
After S204, the singlechip controller receive the Serial Port Information, disconnected by controlling the relay to cut Break the wiring board power supply line and the circuit where external power supply so that the adapter power loss, the battery enter shipment Mode.
S205, the singlechip controller connected by controlling the relay closure power supply line of the wiring board with Circuit where external power supply, so that the adapter obtains electric, the battery exits shipment mode, and the laptop is again Booting is powered on, primary test is completed.
A kind of laptop shipment mode capabilities automatic test approach provided in an embodiment of the present invention can be realized batch The function automatic detection of laptop shipment mode, test process execute without manually or mechanically arm, can be very good to save It saves labor costs and equipment cost, and also reduces the time of test, improve work efficiency.
Embodiment three
As shown in figure 3, a kind of laptop shipment mode capabilities automatic test approach that the embodiment of the present invention three provides, Be on the basis of the technical solution that embodiment two provides, to step S205 " singlechip controller by control it is described after Electric appliance be closed to connect the circuit where the power supply line and external power supply of the wiring board so that the adapter obtain it is electric, it is described Battery exits shipment mode, and the laptop re-powers booting, completes primary test " advanced optimize.With it is above-mentioned Each embodiment is identical or the explanation of corresponding term details are not described herein.That is:
The singlechip controller starts countdown according to preset countdown is long;
At the end of countdown, the singlechip controller is by controlling the relay closure to connect the wiring board Power supply line and external power supply where circuit so that the adapter obtains electric, the battery exits shipment mode, the notes This computer re-powers booting, completes primary test.
Based on above-mentioned optimization, as shown in figure 3, a kind of laptop shipment mode capabilities provided in this embodiment are surveyed automatically Method for testing may include steps of:
S301, after laptop powers on booting and enters system, test program operation.
S302, the test program issued behind preset available machine time interval to the embedded controller allow battery into Enter the instruction of shipment mode.
S303, the embedded controller receive and send Serial Port Information to the singlechip controller after described instruction.
After S304, the singlechip controller receive the Serial Port Information, disconnected by controlling the relay to cut Break the wiring board power supply line and the circuit where external power supply so that the adapter power loss, the battery enter shipment Mode.
S305, the singlechip controller start countdown according to preset countdown is long.
The countdown length can customize setting, and such as 3 minutes, it is intended to tend to be true by way of being delayed certain time The insert action of simulation adapter.
S306, at the end of countdown, the singlechip controller is described to connect by controlling relay closure The power supply line of wiring board and the circuit where external power supply, so that the adapter obtains electric, the battery is waken up and then exits Shipment mode, the laptop re-power booting, complete primary test.
A kind of laptop shipment mode capabilities automatic test approach provided in an embodiment of the present invention can be realized batch The function automatic detection of laptop shipment mode, test process execute without manually or mechanically arm, can be very good to save It saves labor costs and equipment cost, and also reduces the time of test, improve work efficiency.
Example IV
Fig. 4 is a kind of process for laptop shipment mode capabilities automatic test approach that the embodiment of the present invention four provides Schematic diagram, the present embodiment is on the basis of embodiment three, after step S306, makes optimization to this method.With above-mentioned each reality Apply that example is identical or the explanation of corresponding term details are not described herein, specifically, referring to FIG. 4, this method comprises:
S401, after laptop powers on booting and enters system, test program operation.
S402, the test program issued behind preset available machine time interval to the embedded controller allow battery into Enter the instruction of shipment mode.
S403, the embedded controller receive and send Serial Port Information to the singlechip controller after described instruction.
After S404, the singlechip controller receive the Serial Port Information, disconnected by controlling the relay to cut Break the wiring board power supply line and the circuit where external power supply so that the adapter power loss, the battery enter shipment Mode.
S405, the singlechip controller start countdown according to preset countdown is long.
S406, at the end of countdown, the singlechip controller is described to connect by controlling relay closure The power supply line of wiring board and the circuit where external power supply, so that the adapter obtains electric, the battery exits shipment mode, institute It states laptop and re-powers booting, complete primary test.
After S407, the primary test of every completion, the booting number of the laptop is done add 1 accumulation process.
It is understood that being also possible to the regressive for subtracting 1 processing to the statistics of the booting number of the laptop.
S408, judge whether the booting number of the laptop has reached preset testing time;If it is not, then returning Step S401 is executed, if so, thening follow the steps S409.
The step is the test in order to realize fixed number of times to laptop.
Preferably, the method, further includes:
Preset testing time.
S409, test terminate.
A kind of laptop shipment mode capabilities automatic test approach provided in an embodiment of the present invention can be realized batch The function automatic detection of laptop shipment mode, test process execute without manually or mechanically arm, can be very good to save It saves labor costs and equipment cost, and also reduces the time of test, improve work efficiency.
Embodiment five
Refering to attached drawing 5, is tested automatically for a kind of laptop shipment mode capabilities that the embodiment of the present invention five provides and be The structural schematic diagram of system, the system are adapted for carrying out a kind of laptop shipment mode capabilities provided in an embodiment of the present invention certainly Dynamic test method.The system includes including embedded controller 51, singlechip controller 52, relay 53, adapter 54, plug wire Plate 55 and test program;
The test program is stored in the system of laptop;
The test interface of the embedded controller 51 is connect by Serial Port Line with the singlechip controller 52;
Power supply line one end of the adapter 54 is connect with the adaptor interface of the embedded controller 51, the other end with Socket connection on the wiring board 55;
The relay 53 is arranged on the power supply line of the wiring board 55 and the circuit where external power supply, the relay The control terminal of device 53 is connect by conducting wire with the GPIO interface of the singlechip controller 52;
The test program is used for after laptop powers on booting and enters system, Xiang Suoshu embedded controller 51 Issue the instruction for allowing battery to enter shipment mode;
The embedded controller 51 is believed after being used to receive described instruction to the singlechip controller 52 transmission serial ports Breath;
The singlechip controller 52 for after receiving the Serial Port Information, by control the relay 53 disconnect with The power supply line for cutting off the wiring board 55 and the circuit where external power supply so that 54 power loss of the adapter, the battery into Enter shipment mode;
The singlechip controller 52 is used for by controlling the closure of relay 53 to connect the electricity of the wiring board 55 Circuit where source line and external power supply, so that the adapter 54 must be electric, the battery exits shipment mode, the notebook Computer re-powers booting, completes primary test.
Preferably, the singlechip controller 52 is also used to:
After every primary test of completion, the booting number of the laptop is done add 1 accumulation process;
Judge whether the booting number of the laptop has reached preset testing time;
If it is not, it is described after laptop powers on booting and entrance system then to return to execution, using test program to institute State the step of embedded controller 51 issues the instruction for allowing battery to enter shipment mode;
If so, test terminates.
Preferably, the test program is specifically used for:
After laptop powers on booting and enters system, starting is run and behind preset available machine time interval to institute It states embedded controller 51 and issues the instruction for allowing battery to enter shipment mode.
Preferably, the singlechip controller 52 is specifically used for:
Start countdown according to preset countdown is long;
At the end of countdown, by controlling the relay 53 closure to connect the power supply line of the wiring board 55 and outer The circuit where power supply is connect, so that the adapter 54 must be electric, the battery exits shipment mode.
Preferably, the singlechip controller 52 is also used to:
Preset testing time.
A kind of laptop shipment mode capabilities Auto-Test System provided in an embodiment of the present invention can be realized batch The function automatic detection of laptop shipment mode, test process execute without manually or mechanically arm, can be very good to save It saves labor costs and equipment cost, and also reduces the time of test, improve work efficiency.
Method provided by any embodiment of the invention can be performed in above system, has the corresponding functional module of execution method And beneficial effect.
So far, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (10)

1. a kind of laptop shipment mode capabilities automatic test approach, which is characterized in that the method passes through notebook electricity Brain shipment mode capabilities Auto-Test System realizes that the laptop shipment mode capabilities Auto-Test System includes insertion Formula controller, singlechip controller, relay, adapter and wiring board;
The test interface of the embedded controller is connect by Serial Port Line with the singlechip controller;
Power supply line one end of the adapter is connect with the adaptor interface of the embedded controller, the other end and the plug wire Socket connection on plate;
The relay is arranged on the power supply line of the wiring board and the circuit where external power supply, the control of the relay End is connect by conducting wire with the GPIO interface of the singlechip controller, which comprises
After laptop powers on booting and enters system, is issued using test program to the embedded controller and allow battery Into the instruction of shipment mode;
The embedded controller receives and sends Serial Port Information to the singlechip controller after described instruction;
After the singlechip controller receives the Serial Port Information, disconnected by controlling the relay to cut off the plug wire The power supply line of plate and the circuit where external power supply, so that the adapter power loss, the battery enter shipment mode;
The singlechip controller is by controlling the relay closure to connect the power supply line and external power supply of the wiring board The circuit at place, so that the adapter obtains electric, the battery exits shipment mode, and the laptop re-powers out Machine completes primary test.
2. laptop shipment mode capabilities automatic test approach according to claim 1, which is characterized in that described Singlechip controller is by controlling the relay closure to connect returning where the power supply line and external power supply of the wiring board Road, so that the adapter obtains electric, the battery exits shipment mode, and the laptop re-powers booting, completes one After the step of secondary test, further includes:
After every primary test of completion, the booting number of the laptop is done add 1 accumulation process;
Judge whether the booting number of the laptop has reached preset testing time;
If it is not, it is described after laptop powers on booting and entrance system then to return to execution, using test program to described embedding Enter the step of formula controller issues the instruction for allowing battery to enter shipment mode;
If so, test terminates.
3. laptop shipment mode capabilities automatic test approach according to claim 1, which is characterized in that described to work as After laptop powers on booting and enters system, is issued using test program to the embedded controller and battery is allowed to enter The step of instruction of goods mode includes:
After laptop powers on booting and enters system, the test program operation;
The test program, which issues behind preset available machine time interval to the embedded controller, allows battery to enter shipment mould The instruction of formula.
4. laptop shipment mode capabilities automatic test approach according to claim 1, which is characterized in that the list Piece machine controller is closed by controlling the relay to connect the circuit where the power supply line and external power supply of the wiring board, So that the adapter obtains electric, the battery exits shipment mode, and the laptop re-powers booting, completes primary survey The step of examination includes:
The singlechip controller starts countdown according to preset countdown is long;
At the end of countdown, the singlechip controller is by controlling the relay closure to connect the electricity of the wiring board Source line and the circuit where external power supply, so that the adapter obtains electric, the battery exits shipment mode, the notebook electricity Brain re-powers booting, completes primary test.
5. laptop shipment mode capabilities automatic test approach according to claim 2, which is characterized in that also wrap It includes:
Testing time is set.
6. a kind of laptop shipment mode capabilities Auto-Test System, which is characterized in that including embedded controller, monolithic Machine controller, relay, adapter, wiring board and test program;
The test program is stored in the system of laptop;
The test interface of the embedded controller is connect by Serial Port Line with the singlechip controller;
Power supply line one end of the adapter is connect with the adaptor interface of the embedded controller, the other end and the plug wire Socket connection on plate;
The relay is arranged on the power supply line of the wiring board and the circuit where external power supply, the control of the relay End is connect by conducting wire with the GPIO interface of the singlechip controller;
The test program is used for after laptop powers on booting and enters system, and Xiang Suoshu embedded controller, which issues, to be allowed Battery enters the instruction of shipment mode;
The embedded controller sends Serial Port Information to the singlechip controller after described instruction for receiving;
The singlechip controller is described to cut off for being disconnected after receiving the Serial Port Information by the control relay The power supply line of wiring board and the circuit where external power supply, so that the adapter power loss, the battery enter shipment mode;
The singlechip controller be used for by controlling relay closure with connect the power supply line of the wiring board with it is external Circuit where power supply, so that the adapter obtains electric, the battery exits shipment mode, and the laptop re-powers Primary test is completed in booting.
7. laptop shipment mode capabilities Auto-Test System according to claim 6, which is characterized in that the list Piece machine controller is also used to:
After every primary test of completion, the booting number of the laptop is done add 1 accumulation process;
Judge whether the booting number of the laptop has reached preset testing time;
If it is not, it is described after laptop powers on booting and entrance system then to return to execution, using test program to described embedding Enter the step of formula controller issues the instruction for allowing battery to enter shipment mode;
If so, test terminates.
8. laptop shipment mode capabilities Auto-Test System according to claim 6, which is characterized in that the survey Examination program is specifically used for:
After laptop powers on booting and enters system, starting is run and behind preset available machine time interval to described embedding Enter formula controller and issues the instruction for allowing battery to enter shipment mode.
9. laptop shipment mode capabilities Auto-Test System according to claim 6, which is characterized in that the list Piece machine controller is specifically used for:
Start countdown according to preset countdown is long;
At the end of countdown, by controlling the relay closure to connect power supply line and the external power supply institute of the wiring board Circuit so that the adapter obtains electric, the battery exits shipment mode, and the laptop re-powers booting, Complete primary test.
10. laptop shipment mode capabilities Auto-Test System according to claim 7, which is characterized in that described Singlechip controller is also used to:
Testing time is set.
CN201910543051.1A 2019-06-21 2019-06-21 A kind of laptop shipment mode capabilities automatic test approach and system Pending CN110245042A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910543051.1A CN110245042A (en) 2019-06-21 2019-06-21 A kind of laptop shipment mode capabilities automatic test approach and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910543051.1A CN110245042A (en) 2019-06-21 2019-06-21 A kind of laptop shipment mode capabilities automatic test approach and system

Publications (1)

Publication Number Publication Date
CN110245042A true CN110245042A (en) 2019-09-17

Family

ID=67888749

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910543051.1A Pending CN110245042A (en) 2019-06-21 2019-06-21 A kind of laptop shipment mode capabilities automatic test approach and system

Country Status (1)

Country Link
CN (1) CN110245042A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110609713A (en) * 2019-09-26 2019-12-24 广东虹勤通讯技术有限公司 Implementation method for controlling battery to enter transportation power saving mode and electronic device
CN112306784A (en) * 2020-10-29 2021-02-02 深圳宝新创科技股份有限公司 Test method, test device, electronic equipment and test system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103136076A (en) * 2011-11-22 2013-06-05 英业达科技有限公司 Automatic testing method of computer system
CN103631684A (en) * 2012-08-21 2014-03-12 达丰(上海)电脑有限公司 Transformer type machine table for automatically testing notebook computer mainboard
CN104111390A (en) * 2014-07-03 2014-10-22 北京京东方专用显示科技有限公司 Device for realizing automatic powering-on/off test
CN104615520A (en) * 2015-03-10 2015-05-13 浪潮集团有限公司 Test method for evaluating startup and shutdown life of server
CN104778108A (en) * 2015-04-27 2015-07-15 浪潮集团有限公司 Device and method for abnormal power failure circulating testing of server system
CN105305521A (en) * 2014-07-31 2016-02-03 联想(北京)有限公司 Control method, microcontroller, adapter controller, adapter and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103136076A (en) * 2011-11-22 2013-06-05 英业达科技有限公司 Automatic testing method of computer system
CN103631684A (en) * 2012-08-21 2014-03-12 达丰(上海)电脑有限公司 Transformer type machine table for automatically testing notebook computer mainboard
CN104111390A (en) * 2014-07-03 2014-10-22 北京京东方专用显示科技有限公司 Device for realizing automatic powering-on/off test
CN105305521A (en) * 2014-07-31 2016-02-03 联想(北京)有限公司 Control method, microcontroller, adapter controller, adapter and electronic equipment
CN104615520A (en) * 2015-03-10 2015-05-13 浪潮集团有限公司 Test method for evaluating startup and shutdown life of server
CN104778108A (en) * 2015-04-27 2015-07-15 浪潮集团有限公司 Device and method for abnormal power failure circulating testing of server system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110609713A (en) * 2019-09-26 2019-12-24 广东虹勤通讯技术有限公司 Implementation method for controlling battery to enter transportation power saving mode and electronic device
CN112306784A (en) * 2020-10-29 2021-02-02 深圳宝新创科技股份有限公司 Test method, test device, electronic equipment and test system

Similar Documents

Publication Publication Date Title
CN108919778B (en) electric automobile vehicle control unit testing arrangement
US7231553B2 (en) System and method for testing computing devices
WO2018129893A1 (en) Hardware-in-the-loop equipment based testing system
CN104300683B (en) Substation relay protection DC System Monitoring based on SCD modeling
CN214480706U (en) Remote debugging equipment and system
CN110245042A (en) A kind of laptop shipment mode capabilities automatic test approach and system
CN208547675U (en) A kind of plug test module for USB Type-C interface
CN103576018A (en) Testing tool, system and method of electrical equipment
CN212256404U (en) Entrance guard's all-in-one of talkbacking testing tool
CN108732454A (en) A kind of multi-core cable break-make decision maker and method based on Radio Transmission Technology
CN111398861A (en) 2M cable fault detection circuit
CN106936496B (en) Hot plug device for multiple IIC communication devices
CN104268041A (en) Automatic closed loop test method for frequent startup and shutdown of vehicle-mounted display
CN202693709U (en) Test tool and test system of electric equipment
CN210668925U (en) Communication harness, simulation test equipment and system
CN109507571B (en) Testing device and testing system
WO2023245974A1 (en) Io loopback test method for motor train unit power train
CN103576019B (en) Testing tool, system and method of electrical equipment
CN217787754U (en) Automatic testing device and system
CN111220827A (en) Automatic plugging and unplugging test method and control device
CN115903618A (en) Vehicle machine control equipment
CN114443067B (en) CPLD (complex programmable logic device) file burning system and CPLD file burning method
CN220367375U (en) Test circuit board, test device, intelligent terminal and test system
CN106647702B (en) A kind of vehicle and Vehicle Controller interface debugging device
CN213275807U (en) Car machine test circuit, test equipment and vehicle

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190917

RJ01 Rejection of invention patent application after publication