CN111833044A - Handheld terminal testing method, equipment, system and storage medium - Google Patents

Handheld terminal testing method, equipment, system and storage medium Download PDF

Info

Publication number
CN111833044A
CN111833044A CN202010566947.4A CN202010566947A CN111833044A CN 111833044 A CN111833044 A CN 111833044A CN 202010566947 A CN202010566947 A CN 202010566947A CN 111833044 A CN111833044 A CN 111833044A
Authority
CN
China
Prior art keywords
test
module
flashlight
handheld terminal
instruction
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
CN202010566947.4A
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.)
Shenzhen Pemt Electric Measurement Technology Co ltd
Original Assignee
Shenzhen Pemt Electric Measurement 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 Shenzhen Pemt Electric Measurement Technology Co ltd filed Critical Shenzhen Pemt Electric Measurement Technology Co ltd
Priority to CN202010566947.4A priority Critical patent/CN111833044A/en
Publication of CN111833044A publication Critical patent/CN111833044A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/322Aspects of commerce using mobile devices [M-devices]
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a method, equipment and a system for testing a handheld terminal and a storage medium, wherein the method for testing the handheld terminal is executed by the handheld terminal and comprises the following steps: receiving a test execution instruction, and starting a module to be tested according to the test execution instruction; detecting whether the module to be tested can work normally or not, and acquiring a detection result; and displaying result prompt information according to the detection result. According to the invention, the test of the handheld terminal is automated, the labor is saved and the test precision of the handheld terminal is improved by starting the module to be tested according to the test execution instruction, then detecting whether the module to be tested can normally work or not and displaying the result prompt information according to the detection result.

Description

Handheld terminal testing method, equipment, system and storage medium
Technical Field
The invention relates to the technical field of equipment testing, in particular to a handheld terminal testing method, equipment, a system and a storage medium.
Background
Along with the digitization of information, more and more merchants adopt the handheld terminal to acquire the information of the commodity, and along with the development of mobile payment, more and more merchants adopt the handheld terminal to carry out mobile payment. Therefore, handheld terminals have become common devices in our daily lives.
The performance of the handheld terminal determines the service life of the handheld terminal, so the PCBA board of the handheld terminal needs to be tested before the handheld terminal completes the assembly of each module. However, at present, the PCBA board of the handheld terminal is detected in a manual mode, testers manually weld the PCBA board and each module, and then manually observe whether each module can normally work or not, and manually record test data in a manual mode. Adopt manual mode to carry out the test of handheld terminal PCBA board, consume the manpower on the one hand, on the other hand test accuracy is low.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art. Therefore, the invention provides a testing method of a handheld terminal, which can automatically test functional modules on a PCBA of the handheld terminal, saves labor and improves testing precision.
The invention further provides the handheld terminal.
The invention further provides a handheld terminal testing system.
The invention also provides a computer readable storage medium.
In a first aspect, an embodiment of the present invention provides a handheld terminal testing method, executed by a handheld terminal, including:
receiving a test execution instruction, and starting a module to be tested according to the test execution instruction;
detecting whether the module to be tested can work normally or not, and acquiring a detection result;
and displaying result prompt information according to the detection result.
The handheld terminal testing method of the embodiment of the invention at least has the following beneficial effects: the method comprises the steps of receiving and controlling a to-be-tested module to start according to a test execution instruction, detecting whether the to-be-tested module can normally work to detect the performance of the to-be-tested module, obtaining a detection result, and displaying result prompt information to express the detection result, so that an operator can visually check the result prompt information to judge the detection result and further judge whether the to-be-tested module is normal, the to-be-tested module on the PCBA of the handheld terminal is easy to test, labor is saved, and the test precision is improved.
According to the handheld terminal test method of other embodiments of the invention, further comprising:
receiving a test instruction, and converting a displayed main test page into a test page corresponding to the test instruction according to the test instruction;
and receiving a test completion instruction, and converting the test page into the main test page according to the test completion instruction.
According to another embodiment of the present invention, a method for testing a handheld terminal, 3, the displaying a result prompt message according to the detection result includes:
if the detection result indicates that the module to be tested works normally, the test page displays test passing information;
and if the detection result indicates that the module to be tested cannot work normally, displaying test failure information on the test page.
According to other embodiments of the invention, the module under test comprises one or more of the following: the device comprises a flashlight module, a key module, an encryption module, a speaker module and a camera module.
According to other embodiments of the invention, the test instructions include one or more of the following: the method comprises the following steps of (1) testing a flashlight, a key, an encryption test, a loudspeaker and a camera; the test execution instructions include one or more of: the test system comprises a flashlight test execution instruction, an encryption test execution instruction, a loudspeaker test execution instruction and a camera test execution instruction.
According to the handheld terminal testing method of other embodiments of the present invention, the controlling the module to be tested to start according to the test execution instruction includes one or more of the following steps:
sending a variable voltage signal to the flashlight module according to the flashlight test execution instruction;
powering on the key module according to the key test execution instruction;
supplying power to the encryption module according to the encryption test execution instruction, and sending system data to the encryption module;
sending an audio signal to the loudspeaker module according to the loudspeaker test execution instruction;
and supplying power to the camera module according to the camera test execution instruction, and communicating with the camera module.
According to the handheld terminal testing method of the other embodiments of the present invention, the detecting whether the module to be tested can work normally includes one or more of the following steps:
detecting whether the flashlight module flickers normally to judge whether the flashlight module works normally;
detecting whether the electrical levels at two ends of the key module change or not so as to judge whether the key module works normally or not;
detecting whether system data sent by the encryption module is encrypted or not so as to judge whether the encryption module works normally or not;
detecting whether the loudspeaker module emits music or not so as to judge whether the loudspeaker module works normally or not;
and detecting whether the camera module sends a real-time dynamic image or not so as to judge whether the camera module works normally or not.
In a second aspect, an embodiment of the present invention provides a handheld terminal, including:
the receiving module is used for receiving a test execution instruction;
the execution module starts the module to be tested according to the test execution instruction;
the detection module is used for detecting whether the module to be tested works normally or not so as to obtain a detection result;
and the display module is used for displaying result prompt information according to the detection result.
The handheld terminal of the embodiment of the invention at least has the following beneficial effects: after the receiving module receives the test instruction, the switching module converts the displayed main test page into a corresponding test page, then according to the test execution instruction, the execution module starts the module to be tested, the detection module detects whether the module to be tested can be normally started, the display module displays the detection result through result prompt information, so that an operator can know the detection result through checking the result prompt information, the detection of the module to be tested on the handheld terminal is automatic, labor is saved, and the detection precision is improved.
In a third aspect, an embodiment of the present invention provides a handheld terminal testing system, including: a hand-held terminal as in the second aspect;
the test key is used for sending a test instruction;
and the display is used for displaying the result prompt information obtained by the detection of the handheld terminal.
The handheld terminal testing system of the embodiment of the invention at least has the following beneficial effects: different testing modules to be tested of the handheld terminal are detected by pressing different testing cases, and a detection result is displayed through the displayer, so that the testing module to be tested of the whole handheld terminal is visual and simple to detect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer-executable instructions for causing a computer to perform the handheld terminal testing method according to the first aspect.
The computer-readable storage medium of the embodiment of the invention has at least the following beneficial effects: the handheld terminal testing method of the first aspect is stored through a computer readable storage medium, so that the handheld terminal testing method is easy to execute.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
FIG. 1 is a flowchart illustrating a method for testing a handheld terminal according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating another embodiment of a method for testing a handheld terminal according to the present invention;
FIG. 3 is a flowchart illustrating an embodiment of step S1000 of FIG. 1;
FIG. 4 is a flowchart illustrating an embodiment of step S2000 in FIG. 1;
FIG. 5 is a flowchart illustrating an embodiment of step S3000 of FIG. 1;
FIG. 6 is a flowchart illustrating an embodiment of step S4000 in FIG. 1;
FIG. 7 is a flowchart illustrating another embodiment of a method for testing a handheld terminal according to the present invention;
fig. 8 is a block diagram of a handheld terminal according to an embodiment of the present invention.
Reference numerals: 100. a receiving module; 200. a switching module; 300. an execution module; 400. a detection module; 500. and a display module.
Detailed Description
The concept and technical effects of the present invention will be clearly and completely described below in conjunction with the embodiments to fully understand the objects, features and effects of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments, and those skilled in the art can obtain other embodiments without inventive effort based on the embodiments of the present invention, and all embodiments are within the protection scope of the present invention.
In the description of the embodiments of the present invention, if "a number" is referred to, it means one or more, if "a plurality" is referred to, it means two or more, if "greater than", "less than" or "more than" is referred to, it is understood that the number is not included, and if "greater than", "lower" or "inner" is referred to, it is understood that the number is included. If reference is made to "first", "second", etc., this should be understood to distinguish between technical features and not to indicate or imply relative importance or to implicitly indicate the number of technical features indicated or to implicitly indicate the precedence of the technical features indicated.
In a common test of the handheld terminal, after the PCBA of the handheld terminal is connected through a flat cable, each functional module on the handheld terminal is detected independently by manpower, and not only is manpower consumed, but also misoperation is easily caused by adopting manual operation.
Based on this, the embodiment of the application provides a handheld terminal testing method, which can automatically test each functional module on a handheld terminal, improve testing efficiency, save manpower, and improve testing accuracy.
It should be noted that, in the following embodiments, the handheld terminal is a code scanning gun, and the code scanning gun can scan two-dimensional codes, bar codes, pictures, and the like. The commodity information is then acquired by scanning one of the two-dimensional code, the barcode and the picture. Before testing, the PCBA board of the handheld terminal needs to be connected to each functional module to be tested, then a test signal is sent to each functional module to be tested when the PCBA board of the handheld terminal is tested, and each functional module to be tested is started while the test signal is sent. The PCBA board on the handheld terminal is connected with the functional module to be tested through the interface board, the test signal is transmitted to the functional module to be tested through the interface board, and the functional module to be tested is started normally after receiving the test signal, so that whether the functional module to be tested can be started normally after receiving the test signal through the functional test module to be tested is judged, and if the functional module to be tested can be started normally, the functional module to be tested is proved to be abnormal. If the functional module to be tested still can not be started normally after receiving the test signal, the functional module to be tested is proved to be abnormal and needs to be checked again.
Referring to fig. 1, an embodiment of the present invention discloses a handheld terminal testing method, including:
s2000, receiving a test execution instruction, and starting a module to be tested according to the test instruction;
s3000, detecting whether the module to be tested can work normally or not, and acquiring a detection result;
and S4000, displaying test prompt information according to the detection result.
The testing method comprises the steps of starting a module to be tested according to a test execution instruction, detecting whether the module to be tested can normally work after the module to be tested is started, obtaining a detection result, and displaying test prompt information according to the detection result, so that each module to be tested of the handheld terminal is automatically tested, manpower is saved, and the testing operation is simple and easy.
In some embodiments, referring to fig. 2, a handheld terminal testing method further comprises: and S1000, receiving a test instruction, and converting the displayed main test page into a test page corresponding to the test instruction according to the test instruction. And the test prompt information is displayed on the test page.
And after the handheld terminal is started, the handheld terminal is adjusted to enter the main test page, and when a test instruction is received, the handheld terminal enters a test page corresponding to the test instruction from the main test page. And if the test instruction is received for execution, starting a module to be tested corresponding to the test execution instruction according to the test instruction, then detecting whether the module to be tested can work normally or not, and obtaining a detection result. And displaying test prompt information corresponding to the detection result on the test page after the detection result is obtained. Different functional modules are tested according to different test instructions, and test prompt information is displayed on a test page according to a test result to prompt an operator, so that on one hand, the function of automatically detecting the module to be tested is realized, on the other hand, the operator can know whether the module to be tested can normally work or not through the test prompt information, and the operator can maintain the module to be tested in time.
In some embodiments, the module under test comprises: the device comprises a flashlight module, a key module, an encryption module, a speaker module and a camera module. The test instructions include: the test system comprises a flashlight test instruction, a key test instruction, an encryption test instruction, a loudspeaker test instruction and a camera test instruction.
Through the test instruction that corresponds according to the module setting that awaits measuring of difference to in detect the module that awaits measuring that corresponds according to the test instruction of difference, the pertinence detects, thereby detects each functional module of handheld terminal one by one, detects handheld terminal in order to detect comprehensively, thereby guarantees that the test of handheld terminal is comprehensive, and automatic, uses manpower sparingly.
In some embodiments, the test page comprises: the test system comprises a flashlight test page, a key test page, an encryption test page, a loudspeaker test page and a camera test page.
Before testing, the handheld terminal is connected with a plurality of test buttons, and each test button corresponds to the same test of the module to be tested. The test button is pressed by the operator to form a corresponding test instruction.
Referring to fig. 3, step S1000 includes:
s1100, receiving a flashlight test instruction, and converting a displayed main test page into a flashlight test page corresponding to the flashlight test instruction according to the flashlight test instruction;
s1200, receiving a key test instruction, and converting a displayed main test page into a key test page according to the key test instruction;
s1300, receiving an encryption test instruction, and converting a displayed main test page into an encryption test page according to the encryption test instruction;
s1400, receiving a loudspeaker test instruction, and converting the displayed main test page into a loudspeaker test page according to the loudspeaker test instruction;
s1500, receiving a camera test instruction, and converting the displayed main test page into a camera test page according to the camera test instruction.
In some embodiments, after the handheld terminal starts the test, a main test page is displayed on the handheld terminal. And if the detection operator presses the flashlight test button, receiving a flashlight test instruction, and converting a main test page displayed by the handheld terminal into a flashlight test page according to the flashlight test instruction. The flashlight test page displays an icon with a test button. If the operator presses the key test button, the key test instruction is received, the main test page displayed by the handheld terminal is converted into a key test page according to the key test instruction, and a plurality of functional blocks for key test are displayed on the key test page, so that the operator can test each key on the handheld terminal conveniently. And if the detection operator presses the encryption test button, receiving an encryption test instruction, and converting the main test page displayed on the handheld terminal into an encryption test page according to the encryption test instruction. An icon of the test button is displayed on the encryption test page, so that an operator can directly press the test button to execute the test of the encryption module. If the detection operator presses the loudspeaker test button, the loudspeaker test instruction is received, the main test page displayed by the handheld terminal is converted into the loudspeaker test page according to the loudspeaker test instruction, and the test button is displayed on the loudspeaker test page, so that the operator can conveniently click the test button to start testing the loudspeaker module of the handheld terminal. If the detection operator presses the camera test button, a camera test instruction is received, the main test page is converted into a camera test page according to the camera test instruction, and an icon of the test button is displayed on the camera test page.
Different test buttons are pressed by an operator, different test instructions are received, and the corresponding test page is entered according to the test instructions, so that the operator can know which module is currently tested through the test page.
Referring to fig. 4, in some embodiments, step S2000 includes:
s2100, receiving a flashlight test execution instruction, and sending a changed voltage signal to a flashlight module according to the flashlight test execution instruction;
s2200, receiving a key test execution instruction, and powering on the key module according to the key test execution instruction;
s2300, receiving an encryption test execution instruction, supplying power to an encryption module according to the encryption test execution instruction, and sending system data to the encryption module;
s2400, receiving a loudspeaker test execution instruction, and sending an audio signal to a loudspeaker module according to the loudspeaker test execution instruction;
and S2500, receiving a camera test execution instruction, supplying power to the camera module according to the camera test instruction, and communicating with the camera module.
Referring to fig. 5, step S3000 includes:
s3100, detecting whether the flashlight module flickers normally to judge whether the flashlight module works normally, and acquiring a flashlight detection result;
s3200, detecting whether the electrical levels at two ends of the key module change or not so as to judge whether the key module works normally or not and obtain an encryption detection result;
s3300, detecting whether system data sent by an encryption module is encrypted to judge whether the encryption module works normally and obtain an encryption detection result;
s3400, detecting whether the loudspeaker module emits music or not to judge whether the loudspeaker module works normally or not and acquiring a loudspeaker detection result;
s3500, detecting whether the camera module sends a real-time dynamic image to judge whether the camera module works normally and acquiring a camera detection result.
When the flashlight module is tested, the test needles are connected with the two ends of the flashlight module on the PCBA of the handheld terminal. The flashlight test page displays an icon of the test button, when an operator presses the test button, the test button receives a flashlight test execution instruction, and a variable voltage signal is sent to the flashlight module according to the flashlight test execution instruction. The input of the varying voltage signal to the flashlight module is specifically: the electric level of one end of the flashlight module is increased to 1.8V, so that the flashlight module is lightened, and after the flashlight module is lightened to a preset delay time, the electric level of the flashlight module is reduced by a system, so that the flashlight module is turned off. After the voltage signal of whether passing through the flashlight module high low level change, whether the condition that whether takes place the bright circumstances of going out judges the flashlight module and can normally work to obtain the flashlight testing result.
During key test, the key module comprises a plurality of keys, and two pins of each key are respectively connected with two pins on the PCBA of the handheld terminal. And displaying the functional blocks of the plurality of keys on the key test page, sending a high level to the key when an operator clicks the functional block of any key, and acquiring a corresponding key detection result if the key is conducted and whether the levels at the two ends of the key change or not is detected. If the key detection result shows that the electrical levels at the two ends of the key are changed, the key is proved to be normal, and if the electrical levels at the two ends of the key are not changed, the key is proved to be in fault. In the embodiment, seven keys are arranged, the functional blocks of the seven keys are displayed on the key test page, and the keys are correspondingly tested by pressing the functional block of any one key, so that the key test is simple and convenient.
When the encryption module is tested, the power supply chip supplies power to the encryption module according to the encryption test execution instruction, then the encryption module is communicated with the encryption module, and system data are sent to the encryption module. And if the encryption module is normal, encrypting the system data and returning. If the received system data is detected to be encrypted, the encryption detection result is that the encryption module is normal, and if the received system data is not encrypted, the encryption detection result is that the encryption module is in failure. Whether the encryption module can work normally or not is judged through the mode, so that the detection of the encryption module is simple and easy.
When the loudspeaker module is tested, according to the loudspeaker test execution instruction, the audio signal is sent to the loudspeaker module, if the loudspeaker module receives the audio signal and then sends music, the loudspeaker detection result is successful in testing, if the loudspeaker module does not send sound, the loudspeaker detection result is failed in testing, the loudspeaker module needs to be checked, and therefore the loudspeaker module is easy to test.
When the camera module tests, according to the camera test execution instruction, the power supply chip is controlled to supply power to the camera module, then the camera module is communicated with the power supply chip, data input and receiving with the camera module are achieved, received data are processed, if a real-time dynamic image of the camera module is displayed on a display screen of the handheld terminal, a camera detection result is that the camera module can normally work, and if the display screen does not display the dynamic image, the camera detection result is that the camera module is damaged. The camera module is simple and easy to test in the mode, and labor is saved.
Referring to fig. 6, in some embodiments, step S4000 specifically includes:
s4100, if the detection result is that the module to be tested works normally, displaying test passing information on a test page;
and S4200, if the detection result shows that the module to be tested cannot work normally, displaying test failure information on the test page.
Wherein the detection result comprises: the detection result of the flashlight, the detection result of the key, the detection result of the encryption, the detection result of the loudspeaker and the detection result of the camera. Therefore, step S4100 includes:
s4110, if the flashlight detection result indicates that the flashlight module works normally, displaying flashlight test passing information on a flashlight test page;
s4120, if the key detection result is that the key module works normally, displaying key test passing information on the key test page;
s4130, if the encryption detection result indicates that the encryption module works normally, displaying encryption test passing information on an encryption test page;
s4140, if the loudspeaker detection result indicates that the loudspeaker module works normally, displaying loudspeaker test passing information on a loudspeaker test page;
s4150, if the camera has a detection result that the camera module normally works, displaying camera test passing information on a camera test page.
Step S4200 specifically includes:
s4210, if the flashlight detection result indicates that the flashlight module cannot work normally, displaying flashlight test failure information on a flashlight test page;
s4220, if the key module cannot work normally, displaying key test failure information on a key test page;
s4230, if the encryption detection result shows that the encryption module cannot work normally, displaying encryption test failure information on an encryption test page;
s4240, if the loudspeaker detection result indicates that the loudspeaker module cannot work normally, displaying loudspeaker test failure information on a loudspeaker test page;
and S4250, if the camera has a detection result that the camera module cannot work normally, displaying camera test failure information on a camera test page.
In some embodiments, if the flashlight detection result indicates that the flashlight module is working normally, the flashlight test page displays a flashlight test passing message, and specifically, a "PASS" box is displayed on the flashlight test page, and the box is green. If the flashlight detection result indicates that the flashlight module cannot work normally, the flashlight test page displays flashlight test failure information, the flashlight test failure information is a 'FALL' square frame, and the square frame is red.
And if the key detection result indicates that the key module can work normally, the key test passing information indicates that the square frame corresponding to the key on the key test page is changed into red. If the key detection result is that the key can not work normally, the key test page displays that the corresponding key frame does not change color, and a frame of a FALL character is displayed on the key test page independently. Whether the key is normally tested or not is represented by displaying boxes with different colors on the key test page, so that an operator can visually judge and carry out the next operation.
And if the encryption detection result is that the encryption module works normally, displaying a square frame of the character of 'SUCCESS' on the encryption test page, wherein the square frame is green. If the encryption detection result is that the encryption module can not work normally, the encryption test page displays a frame with a character of 'FALL', and the frame is red. Different detection results are represented by different box characters and colors, so that an operator can directly grasp the test results.
If the loudspeaker detection result indicates that the loudspeaker module works normally, the loudspeaker test page displays a square frame with the character of PASS, and the color of the square frame is green. If the loudspeaker detection result indicates that the loudspeaker module cannot work normally, the loudspeaker test page displays a square frame with a character of 'FALL', and the color of the square frame is green. Whether the loudspeaker module normally works is judged through different colors, so that an operator can directly master the loudspeaker detection result.
And if the camera detection result indicates that the camera module works normally, displaying a green square root on the camera test page. And if the camera detection result indicates that the camera module cannot work normally, displaying a red X-shaped frame on the camera test page. Different camera detection results are represented by boxes with different colors and different symbols, so that an operator can visually know the camera detection results.
Referring to fig. 7, in some embodiments, the handheld terminal testing method further includes:
and S5000, receiving a test completion instruction, and converting the test page into a main test page according to the test completion instruction.
The method comprises the following steps of displaying corresponding result prompt information on different test pages according to different detection results, wherein the result prompt information comprises the following steps: the flashlight test passing information, the flashlight test failure information, the key test passing information, the key test failure information, the encryption test passing information, the encryption test failure information, the speaker test success information, the speaker test failure information, the camera test success information and the camera test failure information.
The test completion instruction includes: the test system comprises a flashlight test completion instruction, a key test completion instruction, an encryption test completion instruction, a speaker test completion instruction and a camera test completion instruction.
In some embodiments, the flashlight test page is converted into a main test page according to the flashlight test completion instruction. If the operator clicks the flashlight test pass information, a green 'V' is displayed on the flashlight test item of the main test page. If the operator clicks the flashlight test failure information, a red X is displayed on the flashlight test item of the main test page.
If the operator clicks the key test passing information, the key test item of the main test page displays a green "√". If the operator clicks the key test failure information, the key test item of the main test page displays a red 'X'.
If the operator clicks the encryption test passing information, the encryption test item of the main test page displays a green "√". If the operator clicks the encryption test failure information, the encryption test item of the main test page displays a red 'X'.
Clicking on the speaker test pass message, the speaker test item of the main test page shows a green "√". If the operator clicks the speaker test failure information, the speaker test item of the main test page displays a red "X".
Clicking the camera test passing information, and displaying a green V on the camera test item of the main test page. If the operator clicks the camera test failure information, the camera test item of the main test page displays a red 'X'.
And entering a main test page after the test is finished, and displaying symbols corresponding to colors and characters on the function items corresponding to the main test page so that an operator can know the detection result of which function module from the main test page, and the function module can be detected in time according to the detection result. The detection of the functional module on the handheld terminal is simple and easy, and labor is saved.
The following describes a hand-held terminal testing method according to an embodiment of the present invention in a specific embodiment with reference to fig. 1 to 7. It is to be understood that the following description is only exemplary, and not a specific limitation of the invention.
When the test of the module to be tested on the handheld terminal is started, the PCBA of the handheld terminal is connected with the power supply, and then the handheld terminal is started. The test process of each module to be tested on the handheld terminal is the same, so the test example of the flashlight module is used for illustration. An operator presses the flashlight test button, the flashlight test instruction is received, the flashlight test instruction is sent to the flashlight module according to the flashlight test instruction, the flashlight module is conducted when receiving the high level, the flashlight module is switched on after the high level is received, and the flashlight module is switched on after the low level is switched on after the preset delay time, so that the flashlight module can flicker after the high level and the low level are switched on. If the flashlight module is detected to flicker, the flashlight detection result indicates that the flashlight module normally works, if the flashlight module is detected to be incapable of normally working, a green square frame of a 'PASS' word is displayed on a flashlight test page, an operator clicks the green square frame and then receives a flashlight test completion instruction, the flashlight test page is converted into a main test page according to the flashlight test completion instruction, and a green 'check square' character is displayed at the flashlight test item of the main test page, so that the operator can know that the flashlight test is completed and the test is passed. If the flashlight detection result is that the flashlight module cannot work normally, a red square frame of a FALL character is displayed on the flashlight test page, an operator clicks the red square frame, the flashlight test page is converted into a main test page, and a red X character is displayed on the flashlight test item of the main test page, so that the operator can know that the flashlight test is unqualified through the red X character and can detect the flashlight in time. Therefore, the automatic testing is carried out on different testing modules, and the testing results are displayed through different colors and characters, so that the handheld terminal is simple, easy and visual in testing.
In a second aspect, referring to fig. 8, an embodiment of the present invention discloses a handheld terminal, including: a receiving module 100, configured to receive a test instruction and a test execution instruction; the execution module 300 starts the module to be tested according to the test instruction; the detection module 400 is used for detecting whether the module to be tested works normally or not so as to obtain a detection result; and the display module 500 is configured to display result prompt information according to the detection result.
In some embodiments, a handheld terminal further comprises: and the switching module 200 is used for switching the displayed main test page into a test page corresponding to the test instruction according to the test instruction, and displaying the result prompt information on the test page.
For a specific operation process of the handheld terminal, reference is made to the handheld terminal testing method of the first aspect, which is not described herein again.
In a third aspect, an embodiment of the present invention discloses a handheld terminal testing system, including: a hand-held terminal as in the second aspect; the test key is used for sending a test instruction; and the display is used for displaying the test page displayed by the handheld terminal according to the test instruction.
The specific operation process of the handheld terminal refers to the handheld terminal testing method of the first aspect, and details are not repeated here.
In a fourth aspect, an embodiment of the present invention discloses a computer-readable storage medium, where computer-executable instructions are stored, and the computer-executable instructions are configured to enable a computer to execute the handheld terminal testing method in the first aspect.
One of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge of those skilled in the art without departing from the gist of the present invention. Furthermore, the embodiments of the present invention and the features of the embodiments may be combined with each other without conflict.

Claims (10)

1. A handheld terminal test method is characterized in that the method is executed by a handheld terminal and comprises the following steps:
receiving a test execution instruction, and starting a module to be tested according to the test execution instruction;
detecting whether the module to be tested can work normally or not, and acquiring a detection result;
and displaying result prompt information according to the detection result.
2. The method for testing a handheld terminal according to claim 1, further comprising:
receiving a test instruction, and converting a displayed main test page into a test page corresponding to the test instruction according to the test instruction;
and receiving a test completion instruction, and converting the test page into the main test page according to the test completion instruction.
3. The method according to claim 2, wherein the displaying a result prompt message according to the detection result specifically comprises:
if the detection result indicates that the module to be tested works normally, the test page displays test passing information;
and if the detection result indicates that the module to be tested cannot work normally, displaying test failure information on the test page.
4. The hand-held terminal testing method of claim 2, wherein the module under test comprises one or more of: the device comprises a flashlight module, a key module, an encryption module, a speaker module and a camera module.
5. The hand-held terminal testing method of claim 4, wherein the testing instructions include one or more of: the method comprises the following steps of (1) testing a flashlight, a key, an encryption test, a loudspeaker and a camera; the test execution instructions include one or more of: the test system comprises a flashlight test execution instruction, an encryption test execution instruction, a loudspeaker test execution instruction and a camera test execution instruction.
6. The method for testing the handheld terminal according to claim 5, wherein the controlling the module to be tested to start according to the test execution instruction comprises one or more of the following steps:
sending a variable voltage signal to the flashlight module according to the flashlight test execution instruction;
powering on the key module according to the key test execution instruction;
supplying power to the encryption module according to the encryption test execution instruction, and sending system data to the encryption module;
sending an audio signal to the loudspeaker module according to the loudspeaker test execution instruction;
and supplying power to the camera module according to the camera test execution instruction, and communicating with the camera module.
7. The method for testing the handheld terminal according to claim 6, wherein the step of detecting whether the module to be tested can work normally comprises one or more of the following steps:
detecting whether the flashlight module flickers normally to judge whether the flashlight module works normally;
detecting whether the electrical levels at two ends of the key module change or not so as to judge whether the key module works normally or not;
detecting whether system data sent by the encryption module is encrypted or not so as to judge whether the encryption module works normally or not;
detecting whether the loudspeaker module emits music or not so as to judge whether the loudspeaker module works normally or not;
and detecting whether the camera module sends a real-time dynamic image or not so as to judge whether the camera module works normally or not.
8. A handheld terminal, comprising:
the receiving module is used for receiving a test execution instruction;
the execution module starts the module to be tested according to the test execution instruction;
the detection module is used for detecting whether the module to be tested works normally or not so as to obtain a detection result;
and the display module is used for displaying result prompt information according to the detection result.
9. A hand-held terminal testing system, comprising: the hand-held terminal of claim 8;
the test key is used for sending a test instruction;
and the display is used for displaying the result prompt information obtained by the detection of the handheld terminal.
10. A computer-readable storage medium storing computer-executable instructions for causing a computer to perform the hand-held terminal testing method of any one of claims 1 to 7.
CN202010566947.4A 2020-06-19 2020-06-19 Handheld terminal testing method, equipment, system and storage medium Pending CN111833044A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010566947.4A CN111833044A (en) 2020-06-19 2020-06-19 Handheld terminal testing method, equipment, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010566947.4A CN111833044A (en) 2020-06-19 2020-06-19 Handheld terminal testing method, equipment, system and storage medium

Publications (1)

Publication Number Publication Date
CN111833044A true CN111833044A (en) 2020-10-27

Family

ID=72897870

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010566947.4A Pending CN111833044A (en) 2020-06-19 2020-06-19 Handheld terminal testing method, equipment, system and storage medium

Country Status (1)

Country Link
CN (1) CN111833044A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101262681A (en) * 2008-04-16 2008-09-10 青岛海信移动通信技术股份有限公司 Automatic testing mobile terminal and its implementation method
WO2014169565A1 (en) * 2013-08-21 2014-10-23 中兴通讯股份有限公司 Terminal testing method and device
CN104166610A (en) * 2014-07-24 2014-11-26 深圳天珑无线科技有限公司 Mobile terminal detection method and detection system
WO2016095471A1 (en) * 2014-12-18 2016-06-23 中兴通讯股份有限公司 Test device and test method
CN109388532A (en) * 2018-09-26 2019-02-26 Oppo广东移动通信有限公司 Test method, device, electronic equipment and computer-readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101262681A (en) * 2008-04-16 2008-09-10 青岛海信移动通信技术股份有限公司 Automatic testing mobile terminal and its implementation method
WO2014169565A1 (en) * 2013-08-21 2014-10-23 中兴通讯股份有限公司 Terminal testing method and device
CN104166610A (en) * 2014-07-24 2014-11-26 深圳天珑无线科技有限公司 Mobile terminal detection method and detection system
WO2016095471A1 (en) * 2014-12-18 2016-06-23 中兴通讯股份有限公司 Test device and test method
CN109388532A (en) * 2018-09-26 2019-02-26 Oppo广东移动通信有限公司 Test method, device, electronic equipment and computer-readable storage medium

Similar Documents

Publication Publication Date Title
US11253066B2 (en) Apparatus and method for simultaneously testing a plurality of mobile devices
CN102724343A (en) Mobile phone hardware module test method and test device
US9983061B2 (en) Method, apparatus and system for testing optical characteristics of display module
EP3122023B1 (en) Smart wristband testing method and testing system thereof
CN104881344A (en) Automatic testing method and system for PCBA
US7928745B2 (en) Endurance testing system and method
CN211826353U (en) DDR tests mainboard and DDR test platform
CN111833044A (en) Handheld terminal testing method, equipment, system and storage medium
CN107452306B (en) Tool jig for detecting display panel and detection method thereof
KR970056992A (en) Color linear CD (CCD) image device and driving method thereof
CN215954317U (en) Test equipment for testing screen-free code scanning machine
CN104750101A (en) Detection apparatus and method of digital signal processing module of airborne interrogator
CN103929768A (en) Test method and device
CN111711240B (en) Method and device for testing wireless charging equipment
CN212322247U (en) Verification device of intelligent terminal
CN112188188A (en) Detection method and equipment of panoramic image device
CN109522170B (en) Front shell display module detection device and system
JP6878392B2 (en) Mobile terminal test equipment and its test case extraction method
CN112083312A (en) Hardware testing method and system for master control PCBA (printed circuit board assembly) of VR (virtual reality) film watching equipment
CN106405430B (en) Lithium ion battery on-line detection conversion control equipment, system and method
CN112306765A (en) Portable device, method, apparatus and storage medium for detecting hard disk failure
KR20070005350A (en) Endurance test apparatus for audio
KR101054865B1 (en) Display module testing apparatus
CN106841973B (en) Logic testing device and method
US20230141053A1 (en) Mobile terminal test device and parameter setting method thereof

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