CN110633178A - Automatic startup and shutdown testing method for touch screen all-in-one machine - Google Patents
Automatic startup and shutdown testing method for touch screen all-in-one machine Download PDFInfo
- Publication number
- CN110633178A CN110633178A CN201810988251.3A CN201810988251A CN110633178A CN 110633178 A CN110633178 A CN 110633178A CN 201810988251 A CN201810988251 A CN 201810988251A CN 110633178 A CN110633178 A CN 110633178A
- Authority
- CN
- China
- Prior art keywords
- touch screen
- machine
- control unit
- switch
- shutdown
- 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
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 41
- 238000004891 communication Methods 0.000 claims abstract description 14
- 238000010998 test method Methods 0.000 claims description 2
- 230000007547 defect Effects 0.000 abstract description 4
- 238000000034 method Methods 0.000 abstract description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2273—Test methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3409—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3466—Performance evaluation by tracing or monitoring
- G06F11/3476—Data logging
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)
- Testing Electric Properties And Detecting Electric Faults (AREA)
Abstract
The invention discloses a method for testing automatic startup and shutdown of a touch screen all-in-one machine, which comprises the following steps: a1, connecting an on-off switch in series with a power supply end of the touch screen all-in-one machine, wherein the on-off switch is controlled by a control unit to be in an open state and a closed state, and the control unit is connected with a communication port of the touch screen all-in-one machine; a2, setting a counting program for recording the startup and shutdown times of the touch screen all-in-one machine in the touch screen all-in-one machine; a3, the control unit reads the on-off times of the touch screen all-in-one machine recorded by the counting program through the communication port, and compares the on-off times with the on-off times of the on-off switch recorded by the control unit. The invention can ensure the accuracy of the startup and shutdown test of the touch screen all-in-one machine for a plurality of times and a long time; the defect that manual testing is prone to errors is overcome, labor cost is reduced, and testing period can be greatly shortened.
Description
Technical Field
The invention relates to the technical field of touch screen integrated machines, in particular to an automatic startup and shutdown testing method for a touch screen integrated machine.
Background
The application of touch-sensitive screen all-in-one is very extensive, fields such as school, service industry, family have been covered, the touch-sensitive screen all-in-one is dispatched from the factory and is all carried out the high frequency on-off test, whether the software and hardware performance index that comes the inspection touch-sensitive screen all-in-one through the on-off test accords with the requirement for quality, the on-off test of prior art's touch-sensitive screen all-in-one is all carried out manually, because the on-off test of touch-sensitive screen all-in-one is high frequency, long-time test, the accuracy of test can't be guaranteed.
Disclosure of Invention
The invention aims to solve the technical problem that aiming at the defects of the prior art, the invention provides the automatic startup and shutdown testing method of the touch screen all-in-one machine, and overcomes the defects that the manual startup and shutdown testing of the touch screen all-in-one machine in the prior art cannot ensure the testing accuracy and is easy to cause testing errors.
The technical scheme adopted by the invention for solving the technical problems is as follows:
a method for testing automatic startup and shutdown of a touch screen all-in-one machine comprises the following steps:
a1, connecting an on-off switch in series with a power supply end of the touch screen all-in-one machine, wherein the on-off switch is controlled by a control unit to be in an open state and a closed state, and the control unit is connected with a communication port of the touch screen all-in-one machine;
a2, setting a counting program for recording the startup and shutdown times of the touch screen all-in-one machine in the touch screen all-in-one machine;
a3, the control unit reads the on-off times of the touch screen all-in-one machine recorded by the counting program through the communication port, and compares the on-off times with the on-off times of the on-off switch recorded by the control unit.
According to an embodiment of the present invention, the step a3 includes the steps of: and if the on-off times of the on-off switch recorded by the control unit are equal to the on-off times of the touch screen all-in-one machine, judging that the touch screen all-in-one machine is qualified, otherwise, judging that the touch screen all-in-one machine is unqualified.
According to an embodiment of the invention, the counting program is set as an APK program.
According to the embodiment of the invention, the control unit comprises an upper control unit and a lower control unit, and the upper control unit sets the preset value of the on-off times of the switch for each test and sends the preset value to the lower control unit.
According to the embodiment of the invention, the lower control unit controls the on-off of the on-off switch according to the preset value of the on-off times of the switch.
According to the embodiment of the invention, the upper control unit is connected with a communication port of the touch screen all-in-one machine, and the on-off times of the touch screen all-in-one machine recorded by the counting program are read through the communication port.
According to the embodiment of the invention, the upper control unit compares the preset switch on-off frequency value with the switch on-off frequency of the touch screen all-in-one machine.
The technical scheme of the invention has the following beneficial effects: the invention can ensure the accuracy of the startup and shutdown test of the touch screen all-in-one machine for a plurality of times and a long time; the defect that manual testing is prone to errors is overcome, labor cost is reduced, and testing period can be greatly shortened.
Drawings
The advantages and realisation of the invention will be more apparent from the following detailed description, given by way of example, with reference to the accompanying drawings, which are given for the purpose of illustration only, and which are not to be construed in any way as limiting the invention, and in which:
FIG. 1 is a hardware diagram of the testing method of the present invention;
FIG. 2 is a flow chart of the testing method of the present invention.
Detailed Description
As shown in fig. 1 and 2, the automatic power on/off test method for the touch screen all-in-one machine of the invention comprises the following steps:
a1, connecting an on-off switch in series with a power supply end of the touch screen all-in-one machine, wherein the on-off switch is controlled by a control unit to be in an open state and a closed state, and the control unit is connected with a communication port of the touch screen all-in-one machine;
a2, setting a counting program for recording the startup and shutdown times of the touch screen all-in-one machine in the touch screen all-in-one machine;
a3, the control unit reads the on-off times of the touch screen all-in-one machine recorded by the counting program through the communication port, and compares the on-off times with the on-off times of the on-off switch recorded by the control unit.
According to an embodiment of the present invention, the step a3 includes the steps of: and if the on-off times of the on-off switch recorded by the control unit are equal to the on-off times of the touch screen all-in-one machine, judging that the touch screen all-in-one machine is qualified, otherwise, judging that the touch screen all-in-one machine is unqualified. The counting program is set as an android APK program. The control unit comprises an upper control unit and a lower control unit, wherein the upper control unit sets a preset value of the on-off times of the switch tested each time and sends the preset value to the lower control unit. And the lower control unit controls the on-off of the on-off switch according to the preset value of the on-off times of the switch. The upper control unit is connected with a communication port of the touch screen all-in-one machine, and the on-off times of the touch screen all-in-one machine recorded by the counting program are read through the communication port. And the upper control unit compares the preset switch on-off frequency value with the on-off frequency of the touch screen all-in-one machine.
According to the automatic on-off testing method, a tester only needs to install an on-off counting APK program on a large screen (a touch screen all-in-one machine) and connects a large screen power supply to a modulatable alternating current timing on-off switch.
The method comprises the following implementation steps:
1. and installing an on-off counting APK program on a large screen.
The startup and shutdown counting APK program can be started automatically at each startup, and the core code is as follows:
the startup and shutdown counting APK program records the core code of the startup and shutdown times:
2. and connecting the large screen power supply to the timing on-off alternating current switch.
3. And setting the on-off times and the total test times of the on-off switch on the upper computer software, and filling in how long time intervals the on-off switch is switched on and off, so that the on-off of the switch is stopped when the set on-off times are reached.
4. Start-up test
The upper computer obtains the set on-off times and the total test times of the on-off switch and sends the on-off times and the total test times to the lower computer through the serial port, the lower computer controls the on-off times of the on-off switch, the large screen is started when the on-off switch is powered on, the large screen automatically starts the on-off counting APK program, and the on-off counting APK program accumulates the starting times and stores the starting times in the large screen after the on-off is started each time.
5. And (4) counting the startup and shutdown data recorded by the startup and shutdown counting APK program after the test is finished, and judging the startup and shutdown test result according to the data.
The host computer obtains the total number of times of opening the large screen, judges whether the total number of times of opening the large screen is equal to the on-off number preset value set by the host computer software, if the number of times of opening the large screen is smaller than the on-off number preset value on the host computer, the large screen on-off test is not passed, and the test result is displayed on the host computer software: fail, if the startup frequency on the large screen is equal to the preset value of the on-off frequency on the upper computer, it indicates that the large screen startup and shutdown test is normal, and the test result is displayed on the upper computer software as follows: pass.
As will be apparent to those skilled in the art, many modifications can be made to the invention without departing from the spirit and scope thereof, and it is intended that the present invention cover all modifications and equivalents of the embodiments of the invention covered by the appended claims.
Claims (7)
1. An automatic startup and shutdown testing method for a touch screen all-in-one machine is characterized by comprising the following steps:
a1, connecting an on-off switch in series with a power supply end of the touch screen all-in-one machine, wherein the on-off switch is controlled by a control unit to be in an open state and a closed state, and the control unit is connected with a communication port of the touch screen all-in-one machine;
a2, setting a counting program for recording the startup and shutdown times of the touch screen all-in-one machine in the touch screen all-in-one machine;
a3, the control unit reads the on-off times of the touch screen all-in-one machine recorded by the counting program through the communication port, and compares the on-off times with the on-off times of the on-off switch recorded by the control unit.
2. The automatic on-off test method for the touch screen all-in-one machine as claimed in claim 1, wherein the step A3 comprises the steps of: and if the on-off times of the on-off switch recorded by the control unit are equal to the on-off times of the touch screen all-in-one machine, judging that the touch screen all-in-one machine is qualified, otherwise, judging that the touch screen all-in-one machine is unqualified.
3. The automatic startup and shutdown testing method of the touch screen all-in-one machine according to claim 1, characterized in that: the counting program is set as an APK program.
4. The automatic startup and shutdown testing method of the touch screen all-in-one machine according to claim 1, characterized in that: the control unit comprises an upper control unit and a lower control unit, wherein the upper control unit sets a preset value of the on-off times of the switch tested each time and sends the preset value to the lower control unit.
5. The automatic startup and shutdown testing method of the touch screen all-in-one machine according to claim 4, characterized in that: and the lower control unit controls the on-off of the on-off switch according to the preset value of the on-off times of the switch.
6. The automatic startup and shutdown testing method of the touch screen all-in-one machine according to claim 5, characterized in that: the upper control unit is connected with a communication port of the touch screen all-in-one machine, and the on-off times of the touch screen all-in-one machine recorded by the counting program are read through the communication port.
7. The automatic startup and shutdown testing method of the touch screen all-in-one machine according to claim 6, characterized in that: and the upper control unit compares the preset switch on-off frequency value with the on-off frequency of the touch screen all-in-one machine.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2018106460168 | 2018-06-21 | ||
CN201810646016 | 2018-06-21 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110633178A true CN110633178A (en) | 2019-12-31 |
Family
ID=68968191
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810988251.3A Pending CN110633178A (en) | 2018-06-21 | 2018-08-28 | Automatic startup and shutdown testing method for touch screen all-in-one machine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110633178A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1971528A (en) * | 2005-11-25 | 2007-05-30 | 鸿富锦精密工业(深圳)有限公司 | Automated computer on-off operation testing device and method |
CN201181320Y (en) * | 2008-04-03 | 2009-01-14 | 英业达科技有限公司 | Test device for computer opening/closing |
CN107632219A (en) * | 2017-10-11 | 2018-01-26 | 四川九州电子科技股份有限公司 | A kind of automatic switching test system and its method of testing |
-
2018
- 2018-08-28 CN CN201810988251.3A patent/CN110633178A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1971528A (en) * | 2005-11-25 | 2007-05-30 | 鸿富锦精密工业(深圳)有限公司 | Automated computer on-off operation testing device and method |
CN201181320Y (en) * | 2008-04-03 | 2009-01-14 | 英业达科技有限公司 | Test device for computer opening/closing |
CN107632219A (en) * | 2017-10-11 | 2018-01-26 | 四川九州电子科技股份有限公司 | A kind of automatic switching test system and its method of testing |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102662701B (en) | CPLD online upgrading method, device and service board | |
CN103149526B (en) | PCBA board test macro and method | |
CN105425201B (en) | metering chip simulation test method for software reliability detection of intelligent electric energy meter | |
CN103970660A (en) | Total system stability automatic test method based on crontab | |
US20140032157A1 (en) | Programmed triggering of diagnostics for a space conditioning system | |
CN105354140A (en) | Automation testing method and system | |
CN100395720C (en) | Automated computer on-off operation testing device and method | |
CN105511993A (en) | UEFI (unified extensible firmware interface) -based server NVME (network video management entity) hard disk backplane function test method | |
CN102236054A (en) | Power on/off test device and method | |
CN103995760A (en) | Computer fault detection device and detection and maintenance method | |
CN110928556A (en) | Automatic program burning method and device for railway vehicle, and testing method and system | |
CN104281479A (en) | Firmware upgrading method and device | |
CN105354122A (en) | Function test optimization method for dual-purpose hard disk backboard of server | |
CN109460359A (en) | A kind of software version test method and system for embedded device | |
CN110764960B (en) | Solid state disk firmware testing method | |
CN110297749B (en) | Method and terminal for testing new function | |
CN110633178A (en) | Automatic startup and shutdown testing method for touch screen all-in-one machine | |
CN108490289B (en) | Electronic equipment testing method and device and electronic equipment | |
CN101763298A (en) | Data storage device, data storagde controller and relevant automatic test method | |
CN108153635B (en) | System memory edge testing method, system device and computer readable storage medium | |
CN108776601B (en) | Android H5 page loading method, device, equipment and storage medium | |
CN104678292A (en) | Test method and device for CPLD (Complex Programmable Logic Device) | |
CN107612786B (en) | Method and system for testing router | |
CN109800163A (en) | A kind of method and system of test b ios upgrade stability | |
CN103956129A (en) | Automatic identification system for electronic product display screen |
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: 20191231 |
|
RJ01 | Rejection of invention patent application after publication |