CN113010360A - Software and hardware combined aging test method for simulating real operation on/off - Google Patents
Software and hardware combined aging test method for simulating real operation on/off Download PDFInfo
- Publication number
- CN113010360A CN113010360A CN202110438594.4A CN202110438594A CN113010360A CN 113010360 A CN113010360 A CN 113010360A CN 202110438594 A CN202110438594 A CN 202110438594A CN 113010360 A CN113010360 A CN 113010360A
- Authority
- CN
- China
- Prior art keywords
- seconds
- power
- points
- single chip
- software system
- 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
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/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2205—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
Abstract
The invention discloses a software and hardware combined aging test method for simulating real operation on/off, which realizes the simulation of the on/off operation of a user through hardware and automatically executes a power-off method by a software system so as to realize the aging test of the on/off of an intelligent terminal. The startup and shutdown aging test method provided by the invention is closer to the real operation of a user, and can more accurately simulate the use habit of the user, so that the problems and hidden dangers existing in the configured product can be more accurately tested. The invention can also set the interval time of the test and adjust the frequency, thereby conveniently counting the time and the times of the test and saving the cost of manual counting.
Description
Technical Field
The invention relates to the technical field of intelligent terminal production testing, in particular to a software and hardware combined aging testing method for simulating real operation on/off.
Background
The development and production of intelligent terminals are very widespread, and the testing of products is also an important link in the production and manufacturing process, wherein the on-off aging test is important. In the past, software is mostly adopted for the on-off aging test, a timer is set for restarting a program layer, and the on-off operation process of a user cannot be perfectly simulated, so that a bug is left.
Disclosure of Invention
Aiming at the defects of the prior art, the invention aims to provide a software and hardware combined aging test method for simulating the real operation of the startup and shutdown.
In order to achieve the purpose, the invention adopts the following technical scheme:
a software and hardware combined aging test method for simulating real operation on/off is disclosed, which comprises the following steps:
s1, adding a switch in a software system of the intelligent terminal for setting a starting or closing test mode; before testing, two points of Power and Gnd on a mainboard of the intelligent terminal to be tested are externally connected to a timing single chip microcomputer through a lead, and the timing single chip microcomputer is set to short-circuit the two points for 3 seconds at a set time interval;
s2, when the timing single chip sends a signal to enable two points of Power and Gnd to be short-circuited, long-time pressing of a Power key is simulated for 3 seconds, and the intelligent terminal to be tested is started; after the set duration, the timing single chip sends a signal again to enable two points of Power and Gnd to be short-circuited for 3 seconds, the simulation of long pressing of a Power key for 3 seconds is achieved, at the moment, a dialog box inquiring whether the terminal is turned off is popped up by the software system, on the premise that the test mode is started, the software system automatically executes a method of mWindowManageFuncs.
S3, after the set time period, step S2 is repeated.
Further, after the test mode is turned off by the switch added in step S1, step S2 is executed to pop up a dialog box asking whether the software system is turned off, the software system does not automatically execute the mwindowmanagemeffuncs.
Furthermore, after the test is stopped, the connection between two Power points and Gnd points on the mainboard of the intelligent terminal to be tested and the timing single chip microcomputer is released.
Further, the set time period is 120 seconds.
The invention has the beneficial effects that: the startup and shutdown aging test method provided by the invention is closer to the real operation of a user, and can more accurately simulate the use habit of the user, so that the problems and hidden dangers existing in the configured product can be more accurately tested. The invention can also set the interval time of the test and adjust the frequency, thereby conveniently counting the time and the times of the test and saving the cost of manual counting.
Drawings
FIG. 1 is a schematic flow chart of a method according to an embodiment of the present invention.
Detailed Description
The present invention will be further described with reference to the accompanying drawings, and it should be noted that the present embodiment is based on the technical solution, and the detailed implementation and the specific operation process are provided, but the protection scope of the present invention is not limited to the present embodiment.
The embodiment provides a software and hardware combined aging test method for simulating real operation of startup and shutdown, as shown in fig. 1, the specific process is as follows:
s1, adding a switch in a software system of the intelligent terminal for setting a starting or closing test mode; before testing, two points of Power and Gnd on a mainboard of the intelligent terminal to be tested are externally connected to a timing single chip microcomputer through a lead, and the timing single chip microcomputer is set to short-circuit the two points for 3 seconds at a set time interval;
s2, when the timing single chip sends a signal to enable two points of Power and Gnd to be short-circuited, long-time pressing of a Power key is simulated for 3 seconds, and the intelligent terminal to be tested is started; after the set duration, the timing single chip sends a signal again to enable two points of Power and Gnd to be short-circuited for 3 seconds, the simulation of long pressing of a Power key for 3 seconds is achieved, at the moment, a dialog box inquiring whether the terminal is turned off is popped up by the software system, on the premise that the test mode is started, the software system automatically executes a method of mWindowManageFuncs.
S3, after the set time period, step S2 is repeated.
Further, after the test mode is turned off by the switch added in step S1, step S2 is executed to pop up a dialog box asking whether the software system is turned off, the software system does not automatically execute the mwindowmanagemeffuncs.
Furthermore, after the test is stopped, the connection between two Power points and Gnd points on the mainboard of the intelligent terminal to be tested and the timing single chip microcomputer is released.
Further, the set time period is 120 seconds.
It should be noted that, in the existing intelligent terminal, when the user uses the intelligent terminal, the normal operation of the power on/off is as follows: pressing a power key for 3 seconds when starting up; and pressing a power key for 3 seconds during the shutdown time, and clicking a shutdown button on the screen after the screen pops up a shutdown prompt. The pressing of the Power key actually touches the switch to short-circuit the two Power and Gnd points on the main board. And clicking the shutdown button actually calls the method of mwndowmanagerfuncs. The method of the embodiment simulates the use scene of the user based on the principle, and realizes the aging test.
Various corresponding changes and modifications can be made by those skilled in the art based on the above technical solutions and concepts, and all such changes and modifications should be included in the protection scope of the present invention.
Claims (4)
1. A software and hardware combined aging test method for simulating real operation on/off is characterized by comprising the following specific processes:
s1, adding a switch in a software system of the intelligent terminal for setting a starting or closing test mode; before testing, two points of Power and Gnd on a mainboard of the intelligent terminal to be tested are externally connected to a timing single chip microcomputer through a lead, and the timing single chip microcomputer is set to short-circuit the two points for 3 seconds at a set time interval;
s2, when the timing single chip sends a signal to enable two points of Power and Gnd to be short-circuited, long-time pressing of a Power key is simulated for 3 seconds, and the intelligent terminal to be tested is started; after the set duration, the timing single chip sends a signal again to enable two points of Power and Gnd to be short-circuited for 3 seconds, the simulation of long pressing of a Power key for 3 seconds is achieved, at the moment, a dialog box inquiring whether the terminal is turned off is popped up by the software system, on the premise that the test mode is started, the software system automatically executes a method of mWindowManageFuncs.
S3, after the set time period, step S2 is repeated.
2. The method of claim 1, wherein when the test mode is turned off by the additional switch of step S1, step S2 proceeds to the step of the software system executing a dialog box that asks whether to turn off, the software system will not automatically execute the mwndowmanagerfuncs.
3. The method as claimed in claim 1 or 2, characterized in that after the test is stopped, the connection between the Power and Gnd points on the main board of the intelligent terminal to be tested and the timing single chip microcomputer is released.
4. The method of claim 1, wherein the set duration is 120 seconds.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110438594.4A CN113010360A (en) | 2021-04-22 | 2021-04-22 | Software and hardware combined aging test method for simulating real operation on/off |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110438594.4A CN113010360A (en) | 2021-04-22 | 2021-04-22 | Software and hardware combined aging test method for simulating real operation on/off |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113010360A true CN113010360A (en) | 2021-06-22 |
Family
ID=76389107
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110438594.4A Pending CN113010360A (en) | 2021-04-22 | 2021-04-22 | Software and hardware combined aging test method for simulating real operation on/off |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113010360A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1983810A (en) * | 2006-04-03 | 2007-06-20 | 华为技术有限公司 | Method and device for repeated switching cell-phone |
CN101247614A (en) * | 2008-03-22 | 2008-08-20 | 深圳华为通信技术有限公司 | Method, system and device for testing mobile terminal power-on and power-off |
CN101359966A (en) * | 2007-08-03 | 2009-02-04 | 深圳富泰宏精密工业有限公司 | GSM module test system and method |
CN106649008A (en) * | 2016-11-21 | 2017-05-10 | 惠州Tcl移动通信有限公司 | Method and system for automatically executing mobile terminal physical startup and shutdown pressure test |
CN108874601A (en) * | 2018-06-13 | 2018-11-23 | 四川斐讯信息技术有限公司 | A kind of method for testing open/close machine and system of mobile terminal |
CN111984479A (en) * | 2020-08-07 | 2020-11-24 | 青岛英泰软件技术有限公司 | Method and system for carrying out startup and shutdown and restart tests on Android mainboard based on single chip microcomputer |
-
2021
- 2021-04-22 CN CN202110438594.4A patent/CN113010360A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1983810A (en) * | 2006-04-03 | 2007-06-20 | 华为技术有限公司 | Method and device for repeated switching cell-phone |
CN101359966A (en) * | 2007-08-03 | 2009-02-04 | 深圳富泰宏精密工业有限公司 | GSM module test system and method |
CN101247614A (en) * | 2008-03-22 | 2008-08-20 | 深圳华为通信技术有限公司 | Method, system and device for testing mobile terminal power-on and power-off |
CN106649008A (en) * | 2016-11-21 | 2017-05-10 | 惠州Tcl移动通信有限公司 | Method and system for automatically executing mobile terminal physical startup and shutdown pressure test |
CN108874601A (en) * | 2018-06-13 | 2018-11-23 | 四川斐讯信息技术有限公司 | A kind of method for testing open/close machine and system of mobile terminal |
CN111984479A (en) * | 2020-08-07 | 2020-11-24 | 青岛英泰软件技术有限公司 | Method and system for carrying out startup and shutdown and restart tests on Android mainboard based on single chip microcomputer |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106569118B (en) | A kind of chip short-circuit failure detection system and method | |
CN102023912B (en) | Dormancy wake-up testing system and method | |
CN104635722B (en) | A kind of abnormal power-down simulating test device | |
CN107819611B (en) | Client test method based on IEC61850 multi-server simulation | |
CN102984376A (en) | Method and device for controlling mobile phone alarm clock and based on acceleration speed induction | |
CN103970630A (en) | Method for testing overall stability of server | |
CN106598783A (en) | Intelligent terminal display control method and device and intelligent terminal | |
TW200609720A (en) | Testing emulator, emulating program and manufacturing method of semiconductor device | |
CN111984479A (en) | Method and system for carrying out startup and shutdown and restart tests on Android mainboard based on single chip microcomputer | |
CN113010360A (en) | Software and hardware combined aging test method for simulating real operation on/off | |
TW201317752A (en) | Computer apparatus and resetting method for real time clock thereof | |
CN104615520A (en) | Test method for evaluating startup and shutdown life of server | |
CN112185039B (en) | Economics teaching is with special ware of racing to be first to answer a question in wisdom classroom | |
CN105388799A (en) | Design method of real-time simulation platform of automatic control device | |
CN106648748A (en) | Program updating method and system | |
CN201429675Y (en) | Vacuum breaker control mechanism running-in test control box | |
CN110561418B (en) | Robot control method, device, storage medium, controller and control system | |
CN101431445B (en) | Network awakening test system and method | |
CN102819474B (en) | Test method and device for system operation | |
CN110658478A (en) | Testing method and device based on power supply balance signal stability and storage medium | |
CN105391833A (en) | Mobile terminal-based memory data loss test system and method | |
CN115437865A (en) | Method, device, equipment and medium for testing abnormal power failure of hard disk | |
CN204695296U (en) | A kind of test macro of hard disc of computer | |
CN115437867A (en) | Computer on-off state testing device and method | |
CN215340184U (en) | Circuit board function testing device |
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 |