CN108874601A - A kind of method for testing open/close machine and system of mobile terminal - Google Patents

A kind of method for testing open/close machine and system of mobile terminal Download PDF

Info

Publication number
CN108874601A
CN108874601A CN201810606990.1A CN201810606990A CN108874601A CN 108874601 A CN108874601 A CN 108874601A CN 201810606990 A CN201810606990 A CN 201810606990A CN 108874601 A CN108874601 A CN 108874601A
Authority
CN
China
Prior art keywords
mobile terminal
test equipment
time required
booting
relay
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
CN201810606990.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.)
Sichuan Feixun Information Technology Co Ltd
Original Assignee
Sichuan Feixun Information 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 Sichuan Feixun Information Technology Co Ltd filed Critical Sichuan Feixun Information Technology Co Ltd
Priority to CN201810606990.1A priority Critical patent/CN108874601A/en
Publication of CN108874601A publication Critical patent/CN108874601A/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/2273Test methods
    • 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/2284Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by power-on test, e.g. power-on self test [POST]

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)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of method for testing open/close machine of mobile terminal and system, method includes the following steps:The power button of mobile terminal is shorted over the ground;Test equipment obtains the time required to booting and the time required to shutdown of mobile terminal;For test equipment according to the time required to booting and the time required to shutdown, control relay carries out periodical on-off;When relay conducting, mobile terminal powers on and starting up;When relay disconnects, mobile terminal is powered off and is shut down.The present invention controls powering on and powering off for mobile terminal by relay, to complete the switching on and shutting down test to mobile terminal, can not only realize the thorough power-off booting test of mobile terminal, but also testing efficiency is higher;The switching on and shutting down of control mobile terminal the time required to according to booting required time and shutdown, so that test equipment can control multiple switch machine time different mobile terminal simultaneously, the versatility of the test macro is not only increased, and can prevent relay too early or on-off too late, prevents the time from wasting.

Description

A kind of method for testing open/close machine and system of mobile terminal
Technical field
The invention belongs to equipment the field of test technology, in particular to the method for testing open/close machine of a kind of mobile terminal and it is System.
Background technique
When mobile terminal is researched and developed and is manufactured, in order to guarantee that the q&r of mobile terminal, mobile terminal must lead to Cross the test of various indexs.Wherein, the switching on and shutting down testing fatigue of mobile terminal, is important one of reliability test project.
Existing method for testing open/close machine is largely to control mobile terminal using the switching on and shutting down APK on mobile terminal Automatic switching is carried out, such method can not measure the fully powered-off situation of mobile terminal;And using removing electricity after artificial shutdown Pond is loaded on cell switch machine after thoroughly powering off, although such method can measure the fully powered-off situation of mobile terminal, Testing efficiency is lower.
Summary of the invention
The object of the present invention is to provide a kind of method for testing open/close machine of mobile terminal and systems, can not only realize mobile whole Thorough cut-off switch machine is held to test, and testing efficiency is higher.
Technical solution provided by the invention is as follows:
A kind of method for testing open/close machine of mobile terminal, includes the following steps:
The power button of mobile terminal is shorted over the ground;
Test equipment obtains the time required to booting and the time required to shutdown of the mobile terminal;
The test equipment according to the time required to the booting of the mobile terminal and the time required to shutdown, control relay into Row periodicity on-off;
When relay conducting, the mobile terminal powers on and starting up;It is described when the relay disconnects Mobile terminal is powered off and is shut down.
Further, the booting required time and shutdown required time that the test equipment obtains the mobile terminal are specifically Including:
The test equipment controls the relay conducting, and starts timing;;
The test equipment monitors whether the mobile terminal is completed to be switched on, when the mobile terminal is completed to be switched on, knot Beam timing, the time required to obtaining the booting of the mobile terminal;
The test equipment controls the relay and disconnects, and starts timing;
The test equipment monitors whether the mobile terminal is completed to shut down, when the mobile terminal is completed to shut down, knot Beam timing, the time required to obtaining the shutdown of the mobile terminal.
Further, the test equipment obtains also wrapping the time required to booting and the time required to shutdown for the mobile terminal It includes:
Before the test equipment controls the relay conducting, the test equipment and the mobile terminal are established USB connection;
After the time required to the booting for being recorded the mobile terminal and the time required to shutdown, disconnect the test equipment with The USB connection of the mobile terminal;
Whether the test equipment monitors the mobile terminal, which completes booting, is specially:
The test equipment reads whether the standby communication terminal is completed to be switched on by the USB;
Whether the test equipment monitors the mobile terminal, which completes shutdown, is specially:
The test equipment reads whether the standby communication terminal is completed to shut down by the USB.
Further, further include:
The test equipment monitors whether the mobile terminal is interior the time required to the booting completes to be switched on, when the shifting Terminal is moved the time required to the booting when interior unfinished booting, alert.
Further, further include:
The test equipment records and shows testing time and the testing time of the mobile terminal;
When the testing time reaches default testing time or the testing time reaches the default testing time, the survey Examination equipment controls the relay and stops working.
The present invention also provides a kind of on-off testing systems of mobile terminal, including mobile terminal, test equipment and relay Device;
The power button of the mobile terminal is shorted over the ground;
The test equipment, the time required to the booting for obtaining the mobile terminal and the time required to shutdown;It is also used to Periodical on-off is carried out according to the relay the time required to the booting of the mobile terminal and the time required to shutdown, is controlled;
The relay, for when relay conducting powering on, the mobile terminal and starting up;When described When relay disconnects, powers off the mobile terminal and shut down.
Further, the test equipment includes:
Control module, for controlling the relay conducting;It is also used to control the relay to disconnect;
Timing module is used to start timing when the test equipment controls relay conducting, when described mobile whole When booting is completed at end, terminate timing, the time required to obtaining the booting of the mobile terminal;It is also used to control when the test equipment When the relay disconnects, start timing, when the mobile terminal is completed to shut down, terminates timing, obtain the mobile terminal Shutdown the time required to;
Monitoring modular, for monitoring whether the mobile terminal is completed to be switched on;Whether it is also used to monitor the mobile terminal Complete shutdown.
Further, the test equipment further includes:
Link block, for before the test equipment controls relay conducting, establish the test equipment with The USB connection of the mobile terminal;
Module is disconnected, for disconnecting after the time required to the booting that the mobile terminal is recorded and the time required to shutdown The test equipment is connect with the USB of the mobile terminal;
The monitoring modular is also used to read whether the standby communication terminal is completed to be switched on by the USB;And for leading to It crosses the USB and reads whether the standby communication terminal is completed to shut down.
Further, the test equipment includes:
Monitoring modular, for monitoring, whether the mobile terminal is interior the time required to the booting completes to be switched on;
Alarm module, for issuing alarm when the mobile terminal interior unfinished booting the time required to the booting Information.
Further, the test equipment includes:
Logging modle, for recording testing time and the testing time of the mobile terminal;
Display module, for showing testing time and the testing time of the mobile terminal;
Control module, for working as, the testing time reaches default testing time or the testing time reaches default test When the time, controls the relay and stop working.
The method for testing open/close machine and system of a kind of mobile terminal provided through the invention can bring following at least one Kind beneficial effect:
1, the present invention controls powering on and powering off for mobile terminal by relay, to complete the switching on and shutting down survey to mobile terminal Examination can not only realize the thorough cut-off switch machine test of mobile terminal, but also testing efficiency is higher.
2, it the time required to booting of the present invention by obtaining mobile terminal and the time required to shutdown, and is taken according to booting Between and shutdown the time required to control the switching on and shutting down of corresponding mobile terminal, when so that test equipment can control multiple switch machine simultaneously Between different mobile terminal, not only increase the versatility of the test macro, and relay too early or too late logical can be prevented It is disconnected, not only switching on and shutting down test accurately can be carried out to mobile terminal, but also can prevent the time from wasting.
3, whether the present invention completes to be switched on by the way that monitoring mobile terminal is interior the time required to booting, and is sent out according to monitoring result Warning message out can facilitate tester to know the test case of mobile terminal, to take timely measure.
Detailed description of the invention
Below by clearly understandable mode, preferred embodiment is described with reference to the drawings, to a kind of switch of mobile terminal Above-mentioned characteristic, technical characteristic, advantage and its implementation of machine test method and system are further described.
Fig. 1 is a kind of flow diagram of the method for testing open/close machine of mobile terminal of the embodiment of the present invention one;
Fig. 2 is a kind of flow diagram of the method for testing open/close machine of mobile terminal of the embodiment of the present invention two;
Fig. 3 is a kind of flow diagram of the method for testing open/close machine of mobile terminal of the embodiment of the present invention three;
Fig. 4 is a kind of structural representation of the on-off testing system of mobile terminal of the embodiment of the present invention five and embodiment six Block diagram;
Fig. 5 is a kind of connection schematic diagram of the on-off testing system of mobile terminal of the embodiment of the present invention seven.
Specific embodiment
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, Detailed description of the invention will be compareed below A specific embodiment of the invention.It should be evident that drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing, and obtain other embodiments.
To make simplified form, part related to the present invention is only schematically shown in each figure, they are not represented Its practical structures as product.In addition, there is identical structure or function in some figures so that simplified form is easy to understand Component only symbolically depicts one of those, or has only marked one of those.Herein, "one" is not only indicated " only this ", can also indicate the situation of " more than one ".
The first embodiment provided according to the present invention, as shown in Figure 1,
A kind of method for testing open/close machine of mobile terminal, includes the following steps:
The power button of mobile terminal is shorted over the ground;
Test equipment obtains the time required to booting and the time required to shutdown of the mobile terminal;
The test equipment according to the time required to the booting of the mobile terminal and the time required to shutdown, control relay into Row periodicity on-off;
When relay conducting, the mobile terminal powers on and starting up;It is described when the relay disconnects Mobile terminal is powered off and is shut down.
Specifically, mobile terminal can be mobile phone, IPAD etc..Test equipment can be a PC machine, and test equipment is connect by RS485 Mouth is communicated with relay, and test software is provided in test equipment, passes through the on-off that test software controls relay.Test When, the power button of mobile terminal is shorted over the ground, so that Auto Power On starts when mobile terminal powers on, automatic shutdown when power-off. Mobile terminal further includes a false battery, and false battery is connect by relay with charger, controls charger and vacation by relay On-off between battery, to control powering on and powering off for mobile terminal.The vacation battery does not have storage function, when relay is connected When, charger is false battery power supply, and mobile terminal is made to power on simultaneously starting up, and when relay disconnects, charger can not be false Battery power supply, and false battery makes mobile terminal power-off and automatic shutdown without storage function.The present invention is controlled by relay and is moved Terminal powering on and powering off, and to complete the switching on and shutting down test to mobile terminal, can not only realize that the thorough power-off of mobile terminal is opened Shutdown test, and testing efficiency is higher.
Test equipment first obtains the time required to booting and the time required to shutdown of mobile terminal before testing, and booting is taken Between refer to that mobile terminal completes the required time from starting power up to being switched on;Refer to mobile terminal from starting to break the time required to shutdown Electricity time to needed for completing shutdown.When test, test equipment first controls relay conducting, so that mobile terminal is powered on and is switched on and opens Dynamic, after being then spaced the time required to the booting of mobile terminal, control relay is disconnected, and mobile terminal is made to power off and shut down;Between again After the time required to the shutdown of mobile terminal, control relay conducting makes mobile terminal power on simultaneously starting up.The present invention passes through The booting required time and shutdown required time of mobile terminal are obtained, and according to booting required time and shutdown required time control The switching on and shutting down of mobile terminal can rationally control the on-off of relay, to complete to test the switching on and shutting down of mobile terminal, can prevent after Electric appliance too early or on-off too late, not only accurately can carry out switching on and shutting down test to mobile terminal, but also can prevent the time from wasting.
When mobile terminal be it is multiple, and when model difference, settable multiple relays form relay group, pass through test Equipment controls every on-off all the way of relay group.Before testing, test equipment obtain in relay group per all the way The time required to the booting of mobile terminal and the time required to shutdown, then according to the booting per mobile terminal all the way the time required to and The time required to shutdown, controlled respectively per on-off all the way, to complete to test the switching on and shutting down per mobile terminal all the way;So that surveying Examination equipment can control multiple switch machine time different mobile terminal simultaneously, improve the versatility and test effect of the test macro Rate.
The second embodiment of the method for testing open/close machine of a kind of mobile terminal provided according to the present invention, on the present embodiment is The preferred embodiment of first embodiment is stated, as shown in Fig. 2, the test equipment obtains the booting required time of the mobile terminal It is specifically included with the time required to shutdown:
The test equipment controls the relay conducting, and starts timing;;
The test equipment monitors whether the mobile terminal is completed to be switched on, when the mobile terminal is completed to be switched on, knot Beam timing, the time required to obtaining the booting of the mobile terminal;
The test equipment controls the relay and disconnects, and starts timing;
The test equipment monitors whether the mobile terminal is completed to shut down, when the mobile terminal is completed to shut down, knot Beam timing, the time required to obtaining the shutdown of the mobile terminal.
Specifically, test equipment can obtain the booting required time of mobile terminal in several ways and shutdown is taken Between, judge whether to can search for the bluetooth equipment information of mobile terminal as test equipment passes through, to judge the booting of mobile terminal And shutdown, to obtain the time required to booting and the time required to shutdown of mobile terminal.Such as led in test equipment control relay When logical, starting timing, when test equipment searches the bluetooth equipment information of mobile terminal, it is believed that mobile terminal completes booting, And terminate timing, from relay begin to turn on to terminate timing time be mobile terminal booting the time required to.It is testing When equipment controls relay disconnection, starts timing and recognize when test equipment can not search the bluetooth equipment information of mobile terminal For mobile terminal complete shut down, terminate timing, from relay begin breaking to terminate timing time be mobile terminal pass The time required to machine.
But when not being completely switched off also due to being likely to occur mobile terminal, test equipment can not just search mobile terminal Bluetooth equipment information the case where, therefore, when test equipment can not search the bluetooth equipment information of mobile terminal, can postpone Terminate timing again within 2-3 seconds, so that the relatively real power-off time of mobile terminal the time required to the shutdown got.
A kind of 3rd embodiment of the method for testing open/close machine of the mobile terminal provided according to the present invention, as shown in Fig. 3,
More accurate, any of the above-described reality the time required to booting required time and shutdown in order to make the mobile terminal got It applies in example, test equipment can be also attached by USB connecting line with mobile terminal, then be directly read by USB mobile whole Whether startup and shutdown are completed in end.The scheme tool the time required to booting and the time required to shutdown of mobile terminal is obtained by USB Body is:
Establish the USB connection of test equipment and mobile terminal;
Test equipment controls relay conducting, and starts timing;;
Test equipment reads whether mobile terminal is completed to be switched on by USB, when mobile terminal is completed to be switched on, terminates meter When, the time required to obtaining the booting of mobile terminal;
Test equipment controls relay and disconnects, and starts timing;
Test equipment reads whether mobile terminal is completed to shut down by USB, when mobile terminal is completed to shut down, terminates meter When, the time required to obtaining the shutdown of mobile terminal;
After the time required to the booting that mobile terminal is recorded and the time required to shutdown, test equipment and mobile terminal are disconnected USB connection.
Mobile terminal and test equipment are established after USB connect, and test equipment directly can read opening for mobile terminal by USB Power down condition, to get accurately the time required to booting and the time required to shutdown.Since mobile terminal and test equipment are established When USB connection, test equipment can be powered by USB to mobile terminal, therefore test equipment is getting mobile terminal by USB Booting the time required to and shutdown the time required to after, need to disconnect the USB connection of test equipment and mobile terminal, to prevent USB It connects and the cut-off switch machine test of mobile terminal is had an impact.
The fourth embodiment of the method for testing open/close machine of a kind of mobile terminal provided according to the present invention, on the present embodiment is The preferred embodiment of any embodiment is stated, the method for testing open/close machine of the mobile terminal further includes:
The test equipment monitors whether the mobile terminal is interior the time required to the booting completes to be switched on, when the shifting Terminal is moved the time required to the booting when interior unfinished booting, alert.
The test equipment records and shows testing time and the testing time of the mobile terminal;
When the testing time reaches default testing time or the testing time reaches the default testing time, the survey Examination equipment controls the relay and stops working.
Specifically, during carrying out switching on and shutting down test to mobile terminal, test equipment needs to monitor mobile terminal and exists Whether complete to be switched in the time required to booting, so that test equipment judges whether mobile terminal breaks down.Mobile terminal occurs The scene of failure is:1, for mobile terminal in start process, flash reads exception, causes mobile terminal can not normal boot-strap;2, Mobile terminal can be switched on, but generate delay the time required to its booting, cause to be unable to normal boot-strap in the time required to booting, from And when controlling relay on-off the time required to the booting for causing test equipment to get before and the time required to shutdown, occur When mobile terminal is also not keyed up, relay has just been disconnected, and will affect the switching on and shutting down test result of mobile terminal in this case Accuracy;Therefore, when there is mobile terminal interior unfinished booting the time required to booting, alert is needed, to mention Show that tester tests to break down.
Whether the present embodiment can judge mobile terminal by judging whether to search the bluetooth equipment information of mobile terminal Complete booting.The bluetooth of mobile terminal is opened before testing, after mobile terminal is completed to be switched on, test equipment will search automatically Rope is to the bluetooth equipment information of mobile terminal, if mobile terminal does not complete booting, test equipment will be unable to search mobile terminal Bluetooth equipment information.Test equipment monitors whether mobile terminal is interior the time required to booting completes to be switched on by bluetooth, and root According to monitoring result alert, tester can be facilitated to know the test case of mobile terminal, to take timely measure.
In test, test equipment also records and shows testing time and the testing time of mobile terminal;Work as mobile terminal Testing time reach default testing time or when the testing time reaches the default testing time, test equipment controls relay and stops Work, i.e. completion switching on and shutting down test.Default testing time and default testing time can set in test equipment in advance, preset Testing time is that mobile terminal needs number to be tested, and presetting the testing time is that mobile terminal needs the time to be tested.Pass through note It records and shows the testing time of mobile terminal, tester can be facilitated to know the completed testing time of mobile terminal, also, In test process, when breaking down such as mobile terminal, it can also know that mobile terminal is opened in progress how many times convenient for tester The failure occurred when shutdown test, consequently facilitating tester understands the reliability of mobile terminal.
The 5th embodiment provided according to the present invention, as shown in figure 4,
A kind of on-off testing system of mobile terminal, including mobile terminal 101, test equipment 106 and relay 108;
The power button of the mobile terminal 101 is shorted over the ground;
The test equipment 106, the time required to the booting for obtaining the mobile terminal 101 and the time required to shutdown; It is also used to control the relay 108 the time required to the booting according to the mobile terminal 101 and the time required to shutdown and carry out week Phase property on-off;
The relay 108, for making the mobile terminal 101 power on and be switched on and opening when the relay 108 conducting It is dynamic;When the relay 108 disconnects, powers off the mobile terminal 101 and shut down.
The concrete mode that modules in the present embodiment execute operation carries out in the embodiment of the method Detailed description, no detailed explanation will be given here.
The sixth embodiment provided according to the present invention, as shown in figure 4,
A kind of on-off testing system of mobile terminal, including mobile terminal 101, test equipment 106 and relay 108;
The power button of the mobile terminal 101 is shorted over the ground;
The test equipment 106, the time required to the booting for obtaining the mobile terminal 101 and the time required to shutdown; It is also used to control the relay 108 the time required to the booting according to the mobile terminal 101 and the time required to shutdown and carry out week Phase property on-off;
The relay 108, for making the mobile terminal 101 power on and be switched on and opening when the relay 108 conducting It is dynamic;When the relay 108 disconnects, powers off the mobile terminal 101 and shut down.
Preferably, the test equipment 106 includes:
Control module is connected for controlling the relay 108;It is also used to control the relay 108 to disconnect;
Timing module, for starting timing, when described when the test equipment 106 controls the relay 108 conducting When mobile terminal 101 completes booting, terminate timing, the time required to obtaining the booting of the mobile terminal 101;It is also used to when described When test equipment 106 controls the relay 108 disconnection, start timing, when the mobile terminal 101 is completed to shut down, terminates Timing, the time required to obtaining the shutdown of the mobile terminal 101;
Monitoring modular, for monitoring whether the mobile terminal 101 is completed to be switched on;It is also used to monitor the mobile terminal Whether 101 complete to shut down.
Preferably, the test equipment 106 further includes:
Link block, for establishing the test before the test equipment 106 controls the conducting of relay 108 Equipment 106 is connect with the USB of the mobile terminal 101;
Module is disconnected, for breaking after the time required to the booting that the mobile terminal 101 is recorded and the time required to shutdown The test equipment 106 is opened to connect with the USB of the mobile terminal 101;
The monitoring modular is also used to read whether the standby communication terminal 101 is completed to be switched on by the USB;It is used in combination Whether complete to shut down in by the USB reading standby communication terminal 101.
Preferably, the test equipment 106 includes:
Monitoring modular, for monitoring, whether the mobile terminal 101 is interior the time required to the booting completes to be switched on;
Alarm module, for issuing report when the interior unfinished booting the time required to booting of mobile terminal 101 Alert information.
Preferably, the test equipment 106 includes:
Logging modle, for recording testing time and the testing time of the mobile terminal 101;
Display module, for showing testing time and the testing time of the mobile terminal 101;
Control module, for working as, the testing time reaches default testing time or the testing time reaches default test When the time, controls the relay 108 and stop working.
The concrete mode that modules in the present embodiment execute operation carries out in the embodiment of the method Detailed description, no detailed explanation will be given here.
The 7th embodiment provided according to the present invention, as shown in figure 5,
A kind of on-off testing system of mobile terminal, including mobile terminal 101, false battery 102, charger 103, relay Device group 104, RS485 interface 105, test equipment 106 and USB connecting line 107, Fig. 5 are opening for the mobile terminal of the present embodiment The connection schematic diagram for test macro of shutting down, as shown in figure 5, test equipment 106 passes through RS485 interface 105 and relay group 104 Communication connection, relay group 104 include multiple relays, are equipped with test program, test program control in test equipment 106 Every opening and closing all the way of relay group 104 processed.The every of relay group 104 is separately connected a charger all the way 103, the false battery 102 of the connection of charger 103 one, false battery 102 is that mobile terminal 101 is powered, false battery 102 without storage function, The model ADAM-4069 of relay group 104.The time required to needing to obtain certain booting of mobile terminal 101 all the way and close When the time required to machine, test equipment 106 is connect by USB connecting line 107 with the mobile terminal 101, and being read by USB should Whether mobile terminal 101 completes switching on and shutting down.After having obtained the time required to the booting of the mobile terminal 101 and the time required to shutdown, Test equipment 106 is disconnected to connect with the USB of the mobile terminal 101.Test equipment 106 is every by control relay group 104 Opening and closing all the way, to complete the test of the switching on and shutting down to mobile terminal 101.It can not only realize that mobile terminal 101 is thoroughly disconnected Establish machine by cable, and testing efficiency is higher.
It should be noted that above-described embodiment can be freely combined as needed.The above is only of the invention preferred Embodiment, it is noted that for those skilled in the art, in the premise for not departing from the principle of the invention Under, several improvements and modifications can also be made, these modifications and embellishments should also be considered as the scope of protection of the present invention.

Claims (10)

1. a kind of method for testing open/close machine of mobile terminal, which is characterized in that include the following steps:
The power button of mobile terminal is shorted over the ground;
Test equipment obtains the time required to booting and the time required to shutdown of the mobile terminal;
For the test equipment according to the mobile terminal the time required to booting and the time required to shutdown, control relay carries out week Phase property on-off;
When relay conducting, the mobile terminal powers on and starting up;When the relay disconnects, the movement Terminal is powered off and is shut down.
2. a kind of method for testing open/close machine of mobile terminal according to claim 1, which is characterized in that the test equipment It obtains the time required to the booting of the mobile terminal and is specifically included the time required to shutdown:
The test equipment controls the relay conducting, and starts timing;;
The test equipment monitors whether the mobile terminal is completed to be switched on, and when the mobile terminal is completed to be switched on, terminates meter When, the time required to obtaining the booting of the mobile terminal;
The test equipment controls the relay and disconnects, and starts timing;
The test equipment monitors whether the mobile terminal is completed to shut down, and when the mobile terminal is completed to shut down, terminates meter When, the time required to obtaining the shutdown of the mobile terminal.
3. a kind of method for testing open/close machine of mobile terminal according to claim 2, which is characterized in that the test equipment It obtains the time required to the booting of the mobile terminal and further includes the time required to shutdown:
Before the test equipment controls the relay conducting, the USB of the test equipment Yu the mobile terminal is established Connection;
After the time required to the booting for being recorded the mobile terminal and the time required to shutdown, disconnect the test equipment with it is described The USB connection of mobile terminal;
Whether the test equipment monitors the mobile terminal, which completes booting, is specially:
The test equipment reads whether the standby communication terminal is completed to be switched on by the USB;
Whether the test equipment monitors the mobile terminal, which completes shutdown, is specially:
The test equipment reads whether the standby communication terminal is completed to shut down by the USB.
4. a kind of method for testing open/close machine of mobile terminal according to claim 1-3, which is characterized in that also wrap It includes:
The test equipment monitors whether the mobile terminal is interior the time required to the booting completes to be switched on, when described mobile whole It holds the time required to the booting when interior unfinished booting, alert.
5. a kind of method for testing open/close machine of mobile terminal according to claim 1, which is characterized in that further include:
The test equipment records and shows testing time and the testing time of the mobile terminal;
When the testing time reaches default testing time or the testing time reaches the default testing time, the test is set The standby control relay stops working.
6. a kind of on-off testing system of mobile terminal, which is characterized in that including mobile terminal, test equipment and relay;
The power button of the mobile terminal is shorted over the ground;
The test equipment, the time required to the booting for obtaining the mobile terminal and the time required to shutdown;It is also used to basis The time required to the booting of the mobile terminal and the time required to shutdown, controls the relay and carry out periodical on-off;
The relay, for when relay conducting powering on, the mobile terminal and starting up;When the relay When device disconnects, powers off the mobile terminal and shut down.
7. a kind of on-off testing system of mobile terminal according to claim 6, which is characterized in that the test equipment Including:
Control module, for controlling the relay conducting;It is also used to control the relay to disconnect;
Timing module, for starting timing, when the mobile terminal is complete when the test equipment controls relay conducting When at booting, terminate timing, the time required to obtaining the booting of the mobile terminal;Described in being also used to control when the test equipment When relay disconnects, start timing, when the mobile terminal is completed to shut down, terminates timing, obtain the pass of the mobile terminal The time required to machine;
Monitoring modular, for monitoring whether the mobile terminal is completed to be switched on;It is also used to monitor whether the mobile terminal is completed Shutdown.
8. a kind of on-off testing system of mobile terminal according to claim 7, which is characterized in that the test equipment Further include:
Link block, for before the test equipment controls relay conducting, establish the test equipment with it is described The USB connection of mobile terminal;
Module is disconnected, after for the time required to the booting that the mobile terminal is recorded and the time required to shutting down, described in disconnection Test equipment is connect with the USB of the mobile terminal;
The monitoring modular is also used to read whether the standby communication terminal is completed to be switched on by the USB;And for passing through institute It states USB and reads whether the standby communication terminal is completed to shut down.
9. according to a kind of described in any item on-off testing systems of mobile terminal of claim 6-8, which is characterized in that described Test equipment includes:
Monitoring modular, for monitoring, whether the mobile terminal is interior the time required to the booting completes to be switched on;
Alarm module is used for the alert when the mobile terminal interior unfinished booting the time required to the booting.
10. a kind of on-off testing system of mobile terminal according to claim 6, which is characterized in that the test is set It is standby to include:
Logging modle, for recording testing time and the testing time of the mobile terminal;
Display module, for showing testing time and the testing time of the mobile terminal;
Control module, for working as, the testing time reaches default testing time or the testing time reaches the default testing time When, it controls the relay and stops working.
CN201810606990.1A 2018-06-13 2018-06-13 A kind of method for testing open/close machine and system of mobile terminal Pending CN108874601A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810606990.1A CN108874601A (en) 2018-06-13 2018-06-13 A kind of method for testing open/close machine and system of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810606990.1A CN108874601A (en) 2018-06-13 2018-06-13 A kind of method for testing open/close machine and system of mobile terminal

Publications (1)

Publication Number Publication Date
CN108874601A true CN108874601A (en) 2018-11-23

Family

ID=64338764

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810606990.1A Pending CN108874601A (en) 2018-06-13 2018-06-13 A kind of method for testing open/close machine and system of mobile terminal

Country Status (1)

Country Link
CN (1) CN108874601A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109581124A (en) * 2018-12-24 2019-04-05 西南技术物理研究所 A kind of switching on and shutting down pilot system for focus planar detector test
CN113010360A (en) * 2021-04-22 2021-06-22 读书郎教育科技有限公司 Software and hardware combined aging test method for simulating real operation on/off

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140266243A1 (en) * 2013-03-14 2014-09-18 National Instruments Corporation Power leveling of a system under test
CN105391833A (en) * 2015-11-25 2016-03-09 惠州Tcl移动通信有限公司 Mobile terminal-based memory data loss test system and method
CN106603790A (en) * 2016-12-29 2017-04-26 上海青橙实业有限公司 Start-up and shutdown test method for mobile terminal
CN107632219A (en) * 2017-10-11 2018-01-26 四川九州电子科技股份有限公司 A kind of automatic switching test system and its method of testing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140266243A1 (en) * 2013-03-14 2014-09-18 National Instruments Corporation Power leveling of a system under test
CN105391833A (en) * 2015-11-25 2016-03-09 惠州Tcl移动通信有限公司 Mobile terminal-based memory data loss test system and method
CN106603790A (en) * 2016-12-29 2017-04-26 上海青橙实业有限公司 Start-up and shutdown test method for mobile terminal
CN107632219A (en) * 2017-10-11 2018-01-26 四川九州电子科技股份有限公司 A kind of automatic switching test system and its method of testing

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109581124A (en) * 2018-12-24 2019-04-05 西南技术物理研究所 A kind of switching on and shutting down pilot system for focus planar detector test
CN113010360A (en) * 2021-04-22 2021-06-22 读书郎教育科技有限公司 Software and hardware combined aging test method for simulating real operation on/off

Similar Documents

Publication Publication Date Title
CN205450758U (en) Novel generator set controller suitable for long -range failure diagnosis
CN102294102A (en) Fire extinguishing system network intelligent control device
CN108121326A (en) A kind of fault diagnosis method and system
CN205330813U (en) Long -range failure diagnosis of generating set and health monitoring's data collection station
CN107045334B (en) Testing method and testing device for charging pile management system
CN110456761B (en) Energy management device testing system and method and vehicle
CN108874601A (en) A kind of method for testing open/close machine and system of mobile terminal
CN107764142A (en) A kind of double set Redundancy Design all-electronin fuse testers and its method of testing
CN105548742A (en) Remote relay protection test system
CN110905733B (en) Become oar cabinet test system
CN107169388A (en) Realize the automatization test system and method for testing of SIM card hot plug function
CN104268041A (en) Automatic closed loop test method for frequent startup and shutdown of vehicle-mounted display
CN202199019U (en) Intelligent network control device for firefighting system
CN108535563A (en) A kind of method for testing open/close machine and test system
CN104795796A (en) Motor fault monitoring device and method of intelligent ring main unit
CN207588113U (en) Network interface plug-in and pull-off device and network interface insert-pull detection system
CN112799377A (en) Ring crane overspeed protection checking system and method
CN104485747B (en) A kind of transforming plant distributed power-supply system and method
CN110245042A (en) A kind of laptop shipment mode capabilities automatic test approach and system
CN112437103A (en) Intelligent photovoltaic junction box monitoring system
CN105892379B (en) A kind of method and intelligent controller to pre- power purchase arrearage trip(ping) circuit implementing monitoring
CN109065086A (en) A kind of test macro storing power failure protection of equipment circuit
CN101995556A (en) Remote fault detection and processing system of DC power supply screen
CN209510393U (en) Downhole intelligent inspection substation
CN111289815B (en) HMI-based portable high-voltage chain type APF module tester and HMI-based portable high-voltage chain type APF module testing method

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20181123