CN113312096A - Mobile terminal double-click awakening automatic test method - Google Patents

Mobile terminal double-click awakening automatic test method Download PDF

Info

Publication number
CN113312096A
CN113312096A CN202110541287.9A CN202110541287A CN113312096A CN 113312096 A CN113312096 A CN 113312096A CN 202110541287 A CN202110541287 A CN 202110541287A CN 113312096 A CN113312096 A CN 113312096A
Authority
CN
China
Prior art keywords
click
double
awakening
counting
mobile terminal
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
CN202110541287.9A
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.)
Ningbo Sagereal Communication Co Ltd
Original Assignee
Ningbo Sagereal Communication 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 Ningbo Sagereal Communication Co Ltd filed Critical Ningbo Sagereal Communication Co Ltd
Priority to CN202110541287.9A priority Critical patent/CN113312096A/en
Publication of CN113312096A publication Critical patent/CN113312096A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording 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/3438Recording 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 monitoring of user actions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Quality & Reliability (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a mobile terminal double-click awakening automatic test method, which comprises the following steps: 1. the mobile terminal to be tested is provided with a double-click awakening counting application, a counting background service is started, the on-off screen broadcast is monitored, and the on-off screen times are recorded; 2. connect double-click and awaken count and connect the ware, double-click awakens count and connects the ware and includes: the system comprises a clicker, a driver, a controller and a counter, wherein one end of the controller is connected with the driver, the other end of the controller is connected with the counter, the other end of the driver is connected with the clicker, and the clicker is arranged on a screen of the mobile terminal to be tested; 3. the double-click awakening counting connection device supplies power, adjusts the test times, starts a counter switch, starts the work of the clicker and starts counting; 4. and comparing the test times recorded in the double-click awakening counting application with the numerical value recorded by the counter, and verifying whether the double-click awakening function of the mobile terminal is normal or not. The advantages are that: simple and convenient operation, high efficiency and low cost.

Description

Mobile terminal double-click awakening automatic test method
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a mobile terminal double-click awakening automatic testing method.
Background
Patent document with patent publication number CN106569583A discloses a double-click awakening screen power supply control method and system based on a mobile terminal, the technology outputs a power supply to be connected to a touch screen through a power management chip, and is also connected to a switch, and the switch is connected to a display screen; the switch is controlled by a power management chip; when the mobile terminal power management chip detects the screen-off operation, detecting whether a touch screen double-click awakening function is used, if so, controlling the switch to be switched off by the power management chip, otherwise, closing the power output by the power management chip; when the power management chip of the mobile terminal detects the bright screen operation, the power management chip outputs power and controls the switch to be closed. However, according to the technology, the power management chip is used for detecting whether the on-off screen is normal or not, whether the double-click awakening function of the mobile terminal is normal or not cannot be verified, the accuracy is not high, and the operation efficiency is low.
Disclosure of Invention
The invention aims to solve the defects of the technology and provide the automatic test method for the double-click awakening of the mobile terminal, which has high accuracy, high operation efficiency and convenient use.
In order to achieve the above object, the present invention provides an automatic test method for double-click wake-up of a mobile terminal, comprising the following steps:
step one, a mobile terminal to be tested is provided with a double-click awakening counting application (apk), a counting background service is started, and the screen-on and screen-off times are recorded by monitoring the screen-on and screen-off broadcast of an Android system;
step two, connecting a double-click awakening counting point connecting device, wherein the double-click awakening counting point connecting device comprises: the system comprises a clicker, a driver, a controller and a counter, wherein one end of the controller is connected with the driver, the other end of the controller is connected with the counter, the other end of the driver is connected with the clicker, and the clicker is arranged on a screen of the mobile terminal to be tested; completing the cyclic operation of double-click screen on and double-click screen off of the mobile terminal to be tested through the action of double-click awakening counting point connecting device;
step three, the double-click awakening counting connection device supplies power, adjusts the testing times, starts a counter switch, starts the work of the clicking device, and starts the counting of the double-click awakening counting connection device;
and step four, comparing the test times recorded in the double-click awakening counting application with the numerical value recorded by the counter, and verifying whether the double-click awakening function of the mobile terminal is normal.
In order to enable the clicking frequency of the clicker to be consistent with the response frequency of the mobile terminal to be tested and prevent the clicking frequency from being larger than the response frequency to influence the test result, the controller sends the appointed control frequency to the driver to control the clicking frequency of the clicker, and the driver responds to the frequency appointed by the controller to control the clicking frequency of the clicker.
In order to make the obtained test result accurate, the test times recorded in the double-click awakening counting application are the sum of the screen-off times and the screen-on times of the mobile terminal to be tested, and the numerical value recorded by the counter is the total times of double-click sent by the clicker.
In order to reduce the test cost, shorten the test time and improve the test economy, after the test times recorded in the double-click awakening counting application and the numerical value recorded by the counter are compared, the error is within 3 times, and the awakening function is considered to be normal, otherwise, the awakening function is abnormal.
In order to prevent the double-click wake-up counting application from stopping responding due to other functions of the mobile terminal to be tested in the double-click wake-up automatic test, the double-click wake-up counting application is always operated in a background under the condition of no power-off.
The invention obtains an automatic testing method for double-click awakening of a mobile terminal, which has the advantages that: the invention monitors the on-off screen broadcast by adopting the codes, performs on-off screen counting, and has the advantages of more accuracy and convenience, high operation efficiency and low cost; the click frequency control technology is adopted, so that the double-click speed is consistent with the response speed of the mobile terminal to be tested, the test success rate is improved, the test times recorded in the double-click awakening counting application are compared with the numerical value recorded by a counter in the double-click awakening counting connector, and the test accuracy is improved; the error range is set within 3 times, and reasonable test equipment and method are selected according to the pre-required result, so that the cost is reduced, the test time is shortened, and the test economy is improved.
Drawings
FIG. 1 is a flow chart of the present invention;
FIG. 2 is a functional schematic of the present invention;
FIG. 3 is a diagram of a double-click wakeup count application interface.
Detailed Description
To further illustrate the technical means and effects of the present invention adopted to achieve the predetermined objects, the following detailed description of the embodiments, structures, features and effects according to the present invention will be made with reference to the accompanying drawings and preferred embodiments.
Example 1:
the automatic test method for double-click awakening of the mobile terminal provided by the embodiment comprises the following steps:
the method comprises the steps that firstly, a mobile terminal to be tested is provided with a double-click awakening counting application, a counting background service is started, and the screen-on and screen-off times are recorded by monitoring the screen-on and screen-off broadcast of an Android system;
step two, connecting a double-click awakening counting point connecting device, wherein the double-click awakening counting point connecting device comprises: the system comprises a clicker, a driver, a controller and a counter, wherein one end of the controller is connected with the driver, the other end of the controller is connected with the counter, the other end of the driver is connected with the clicker, and the clicker is arranged on a screen of the mobile terminal to be tested;
step three, the double-click awakening counting connection device supplies power, adjusts the testing times, starts a counter switch, starts the work of the clicking device, and starts the counting of the double-click awakening counting connection device;
and step four, comparing the test times recorded in the double-click awakening counting application with the numerical value recorded by the counter, and verifying whether the double-click awakening function of the mobile terminal is normal.
The controller sends a designated control frequency to the driver to control the click frequency of the clicker, and the driver responds to the frequency designated by the controller to control the click frequency of the clicker.
The number of testing times recorded in the double-click awakening counting application is the sum of the screen-off times and the screen-on times of the mobile terminal to be tested, and the numerical value recorded by the counter is the total double-click sending times of the clicker.
After the test times recorded in the double-click awakening counting application are compared with the numerical values recorded by the counter, the error is within 3 times, the awakening function is considered to be normal, and otherwise, the awakening function is abnormal.
In the non-power-off state, the double-click wake-up counting application is always running in the background.
Through the above design, as shown in fig. 1-3, in the actual use process, the double-click wake-up function of the mobile terminal to be tested is as follows: double clicking the screen, turning on the screen, continuing double clicking, turning off the screen, and so on. The method comprises the steps of installing a double-click awakening counting application on a mobile terminal to be tested, starting a counting background service, wherein according to the characteristics of an Android system, the Android system can automatically send out a screen-off broadcast and a screen-on broadcast when the mobile terminal to be tested is turned off or on, in the embodiment, the two broadcasts are monitored in the double-click awakening counting application through codes, so that whether the screen is turned off or on at present can be known, the double-click awakening counting application has no time limit for monitoring the screen-on broadcast, the double-click awakening counting application runs in the background all the time in a non-power-off state, as long as the screen is turned on and off, the Android system can send out the screen-on broadcast, the double-click awakening counting application can receive the screen-on screen-off broadcast, counting is carried out, and the number of tests recorded in the double-click awakening counting application is the sum of the screen-off number and the screen-on number of the mobile terminal to be tested.
Double-click awakening counting connector comprises: the device comprises a clicker, a driver, a controller and a counter, wherein one end of the controller is connected with the driver, one end of the controller is connected with the counter, the other end of the driver is connected with the clicker, and the clicker is pasted on the edge of a screen of the mobile terminal to be tested. The method comprises the steps that a mobile terminal to be tested is provided with a wakeup counting application, and counting is achieved by receiving a bright screen and screen-off broadcast of an Android system; the clicker is used for responding to the click operation controlled by the controller and clicking the screen of the mobile terminal to be tested; the driver is used for responding to the frequency specified by the controller to control the clicking frequency of the clicker; the controller is used for sending the appointed control frequency to the driver to control the click frequency of the clicker, different mobile terminals to be tested have different response double-click speeds, the click frequency is controlled through the controller, the double-click speed of the clicker is enabled to be consistent with the response speed of the corresponding mobile terminal to be tested, and the situation that the test result is influenced and the test is failed due to the fact that the double-click speed is larger than the response speed of the mobile terminal to be tested is prevented; the counter is used to record the number of clicks the controller sends to the drive. After the double-click awakening counting point connecting device is connected, power is supplied to the double-click awakening counting point connecting device, the testing times are adjusted, a counter switch is started, the clicker starts to work, the double-click awakening counting point connecting device starts to count, and the number recorded by the counter is the total double-click times of the clicker.
Comparing the sum of the screen-off times and the screen-on times in the double-click awakening counting application with the numerical value recorded by the counter in the double-click awakening counting connector, verifying whether the awakening function of the mobile terminal is normal or not by comparing two test data, and if the error is within 3 times, determining that the double-click awakening function of the mobile terminal is normal, otherwise, determining that the double-click awakening function is abnormal and repairing the mobile terminal.
As shown in fig. 3, three values are recorded on the double-click wake-up counting application interface, which are respectively: screen-off times, screen-on times and screen-off times. In this embodiment, the number of times of unlocking is used only as a reference, and the result of double-click wake-up data is not affected. And the counting service can be started by clicking a counting starting button on the double-click awakening counting application interface. And a clearing counting button is arranged at the upper right corner of the application interface, and the last test data can be cleared after clicking to perform testing again.
Although the present invention has been described with reference to the preferred embodiments, it should be understood that various changes, substitutions and alterations can be made herein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (5)

1. A double-click awakening automatic test method for a mobile terminal is characterized by comprising the following steps:
the method comprises the steps that firstly, a mobile terminal to be tested is provided with a double-click awakening counting application, a counting background service is started, and the screen-on and screen-off times are recorded by monitoring the screen-on and screen-off broadcast of an Android system;
step two, connecting a double-click awakening counting point connecting device, wherein the double-click awakening counting point connecting device comprises: the system comprises a clicker, a driver, a controller and a counter, wherein one end of the controller is connected with the driver, the other end of the controller is connected with the counter, the other end of the driver is connected with the clicker, and the clicker is arranged on a screen of the mobile terminal to be tested;
step three, the double-click awakening counting connection device supplies power, adjusts the testing times, starts a counter switch, starts the work of the clicking device, and starts the counting of the double-click awakening counting connection device;
and step four, comparing the test times recorded in the double-click awakening counting application with the numerical value recorded by the counter, and verifying whether the double-click awakening function of the mobile terminal is normal.
2. The mobile terminal double-click wake-up automation test method as claimed in claim 1, wherein the controller sends a designated control frequency to the driver to control the click frequency of the clicker, and the driver controls the click frequency of the clicker in response to the frequency designated by the controller.
3. The method according to claim 1 or 2, wherein the number of tests recorded in the double-click wake-up counting application is the sum of the screen-off number and the screen-on number of the mobile terminal to be tested, and the number recorded by the counter is the total number of double-click times sent by the clicker.
4. The method as claimed in claim 3, wherein the number of tests recorded in the double-click wake-up counting application is compared with the number recorded in the counter, and the error is within 3 times, so that the mobile terminal is considered to have a normal wake-up function, otherwise, the mobile terminal is not normal.
5. The method as claimed in claim 4, wherein the double-click wake-up counting application is running in the background all the time in a non-power-off state.
CN202110541287.9A 2021-05-18 2021-05-18 Mobile terminal double-click awakening automatic test method Pending CN113312096A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110541287.9A CN113312096A (en) 2021-05-18 2021-05-18 Mobile terminal double-click awakening automatic test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110541287.9A CN113312096A (en) 2021-05-18 2021-05-18 Mobile terminal double-click awakening automatic test method

Publications (1)

Publication Number Publication Date
CN113312096A true CN113312096A (en) 2021-08-27

Family

ID=77373396

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110541287.9A Pending CN113312096A (en) 2021-05-18 2021-05-18 Mobile terminal double-click awakening automatic test method

Country Status (1)

Country Link
CN (1) CN113312096A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103853640A (en) * 2014-03-31 2014-06-11 广州华欣电子科技有限公司 Touch screen test method and device
CN105824755A (en) * 2016-03-17 2016-08-03 厦门美图移动科技有限公司 Automation test method, automation test device and mobile terminal
CN106092210A (en) * 2016-08-06 2016-11-09 广东每通测控科技股份有限公司 A kind of automatic streamline formula mobile phone on-line testing method and system thereof
US20170255307A1 (en) * 2015-09-15 2017-09-07 Shenzhen China Star Optoelectronics Technology Co., Ltd. A full-in-cell touch screen panel and a mobile device
CN108957171A (en) * 2018-05-30 2018-12-07 太仓鸿策拓达科技咨询有限公司 A kind of touch screen number of clicks test macro

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103853640A (en) * 2014-03-31 2014-06-11 广州华欣电子科技有限公司 Touch screen test method and device
US20170255307A1 (en) * 2015-09-15 2017-09-07 Shenzhen China Star Optoelectronics Technology Co., Ltd. A full-in-cell touch screen panel and a mobile device
CN105824755A (en) * 2016-03-17 2016-08-03 厦门美图移动科技有限公司 Automation test method, automation test device and mobile terminal
CN106092210A (en) * 2016-08-06 2016-11-09 广东每通测控科技股份有限公司 A kind of automatic streamline formula mobile phone on-line testing method and system thereof
CN108957171A (en) * 2018-05-30 2018-12-07 太仓鸿策拓达科技咨询有限公司 A kind of touch screen number of clicks test macro

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
ANDREW: "小米10pro为什么双击息屏不可以", 《HTTPS://WWW.ZHIHU.COM/QUESTION/382317540》 *
LINGWU7: "【Android】几种常见广播监听器(Wifi,亮灭屏,Home键,短信)总结", 《HTTPS://BLOG.CSDN.NET/CHENGJUN77/ARTICLE/DETAILS/51340799》 *
O111LDMAN: "android亮屏、黑屏、解锁事件的系统广播接收", 《HTTPS://BLOG.CSDN.NET/O111LDMAN/ARTICLE/DETAILS/46547353》 *
WEIXIN_39665379: "设置熄屏_vivo手机这些骚操作你知道吗?双击能熄屏?学会让你快人一步", 《HTTPS://BAIJIAHAO.BAIDU.COM/S?ID=1677984964620848759》 *
百度经验: "小米怎么设置双击亮屏与熄屏", 《HTTPS://JINGYAN.BAIDU.COM/ARTICLE/BEA41D432FB769F4C41BE678.HTML》 *
苗文源MANUEL: "Android8.0以上监听开关机,息亮屏,解锁等系统广播轻松实现", 《HTTPS://BLOG.CSDN.NET/QQ_41755832/ARTICLE/DETAILS/89402399》 *

Similar Documents

Publication Publication Date Title
CN108919778B (en) electric automobile vehicle control unit testing arrangement
CN103149526B (en) PCBA board test macro and method
CN109992464B (en) VCU automatic test method for integrated application layer software refreshing
CN106909479B (en) Startup and shutdown test fixture
CN204330370U (en) The trouble-shooter of air conditioner
CN104866418A (en) Automatic testing method and system
CN105100796A (en) Television test method, device and system
CN102737721A (en) Hard disk array on-off testing device and method
CN111984479A (en) Method and system for carrying out startup and shutdown and restart tests on Android mainboard based on single chip microcomputer
CN110988654A (en) Device and method for PCBA program burning and impedance testing
CN108802627B (en) Testing method, device and system for BBU independent power supply and readable storage medium
CN108490289B (en) Electronic equipment testing method and device and electronic equipment
CN111698709A (en) Method, system, medium, and electronic device for testing communication function of wireless module
CN215867583U (en) Controller fault diagnosis test system
CN108763005B (en) Memory ECC fault error reporting method and system
CN211148838U (en) Air conditioner internal unit testing device
CN113312096A (en) Mobile terminal double-click awakening automatic test method
CN116860535A (en) Automatic testing device, system and method
CN111475352A (en) JBOD interface testing device and method
CN103577290A (en) Test script playback rhythm control method and system
CN117054721A (en) Current automation test circuit, test method and test device
CN109885437A (en) Baseboard management controller BMC, terminal and power-up state diagnotic module, method
CN111007336A (en) Module production test power-on and power-off automatic detection system and method based on serial port communication
CN110361043B (en) Vehicle-mounted instrument fault detection system and fault detection method thereof
CN114826954A (en) Vehicle-mounted Ethernet monitoring system and monitoring 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
CB02 Change of applicant information

Address after: No. 4-1, Building 9, West Zone, Ningbo New Material Innovation Center, Ningbo Hi tech Zone, 315000, Zhejiang

Applicant after: NINGBO SAGEREAL COMMUNICATION Co.,Ltd.

Address before: 315040 7-1-05, Building 029, Building 3 #, No. 15, Lane 587, Juxian Road, High tech Zone, Ningbo City, Zhejiang Province

Applicant before: NINGBO SAGEREAL COMMUNICATION Co.,Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20210827

RJ01 Rejection of invention patent application after publication