CN111291346B - Test method, test device, computer equipment and storage medium - Google Patents

Test method, test device, computer equipment and storage medium Download PDF

Info

Publication number
CN111291346B
CN111291346B CN202010123412.XA CN202010123412A CN111291346B CN 111291346 B CN111291346 B CN 111291346B CN 202010123412 A CN202010123412 A CN 202010123412A CN 111291346 B CN111291346 B CN 111291346B
Authority
CN
China
Prior art keywords
test
current
fingerprint
progress information
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.)
Active
Application number
CN202010123412.XA
Other languages
Chinese (zh)
Other versions
CN111291346A (en
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.)
Wingtech Communication Co Ltd
Original Assignee
Wingtech 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 Wingtech Communication Co Ltd filed Critical Wingtech Communication Co Ltd
Priority to CN202010123412.XA priority Critical patent/CN111291346B/en
Publication of CN111291346A publication Critical patent/CN111291346A/en
Application granted granted Critical
Publication of CN111291346B publication Critical patent/CN111291346B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/13Sensors therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/1365Matching; Classification

Abstract

The embodiment of the invention discloses a testing method, a testing device, computer equipment and a storage medium. The method comprises the following steps: triggering the simulated fingerprint operation of the test fixture when the sensor is shielded by the test fixture; collecting current simulated fingerprints of the test clamp through the fingerprint sensing equipment; performing a current fingerprint test based on the current simulated fingerprint to obtain a current fingerprint test result; determining current test progress information according to the current fingerprint test result, and displaying the current test progress information; and determining a fingerprint test result according to the current test progress information and the preset standard progress information. According to the embodiment of the invention, whether the test clamp shields the sensor in the terminal is monitored, so that the current fingerprint test state is adjusted, the current test result of the terminal is conveniently obtained in real time by the test clamp through displaying the current test progress information, the current fingerprint test state of the terminal is controlled, and further the ordered implementation of fingerprint tests is realized.

Description

Test method, test device, computer equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of automation, in particular to a testing method, a testing device, computer equipment and a storage medium.
Background
For each function of the terminal, testing and calibration are required to ensure the validity and usability of the terminal function. Testing and calibration of terminal performance typically includes multiple steps and stages, with the end of the previous step followed by the next step of testing.
In the testing process, an automatic testing fixture is generally required to test and control the terminal, so that the testing process is realized. However, since the automated test fixture generally does not have a communication function with the terminal, the automated test fixture cannot determine the step of testing the performance of the terminal, and thus, the automated test fixture needs to be manually controlled to realize the orderly performance of the test of each step. If the interactive software of the automatic test fixture and the terminal is developed in addition, additional hardware or software is required to be added, so that the test difficulty and the test cost are increased.
Disclosure of Invention
The embodiment of the invention provides a testing method, a testing device, computer equipment and a storage medium, which are used for realizing real-time acquisition of testing progress so as to effectively control the testing state.
In one embodiment, the embodiment of the invention provides a testing method, which is applied to a terminal, wherein a sensor and fingerprint sensing equipment are arranged on the terminal, and the method comprises the following steps:
triggering the simulated fingerprint operation of the test fixture when the sensor is shielded by the test fixture;
collecting current simulated fingerprints of the test clamp through the fingerprint sensing equipment;
performing a current fingerprint test based on the current simulated fingerprint to obtain a current fingerprint test result;
determining current test progress information according to the current fingerprint test result, and displaying the current test progress information;
determining a fingerprint test result according to the current test progress information and preset standard progress information;
if the current fingerprint test is judged to be successful according to the test result, the shielding part is controlled to be removed from the terminal sensor, the current fingerprint test is ended, and the test fixture is controlled to continuously shield the sensor; and if the current test is judged to be failed, the shielding part is controlled to be removed from the terminal sensor, and the current fingerprint test is ended.
In yet another embodiment, an embodiment of the present invention provides a test method applied to a test fixture, the method including:
Shielding an induction sensor of a terminal and receiving a trigger instruction sent by the terminal;
triggering the operation of the simulated fingerprints according to the triggering instruction, and generating the current simulated fingerprints so that the terminal can acquire the current simulated fingerprints of the test fixture through the fingerprint sensing equipment; performing a current fingerprint test based on the current simulated fingerprint to obtain a current fingerprint test result;
receiving a current fingerprint test result obtained by the terminal performing a current fingerprint test based on the current simulated fingerprint;
if the current fingerprint test is judged to be successful according to the test result, the shielding part is controlled to be removed from the terminal sensor, the current fingerprint test is ended, and the test fixture is controlled to continuously shield the sensor; and if the current test is judged to be failed, the shielding part is controlled to be removed from the terminal sensor, and the current fingerprint test is ended.
In one embodiment, the embodiment of the invention provides a testing device, which is configured on a terminal, and is provided with a sensor and a fingerprint sensing device, and the testing device comprises:
the monitoring module is used for triggering the simulated fingerprint operation of the test fixture when the sensor is shielded by the test fixture;
The acquisition module is used for acquiring the current simulated fingerprint of the test fixture through the fingerprint sensing equipment;
the current fingerprint test module is used for carrying out a current fingerprint test based on the current simulated fingerprint to obtain a current fingerprint test result;
the progress information display module is used for determining current test progress information according to the current fingerprint test result and displaying the current test progress information;
the fingerprint test result determining module is used for determining a fingerprint test result according to the current test progress information and preset standard progress information; if the current fingerprint test is judged to be successful according to the test result, the shielding part is controlled to be removed from the terminal sensor, the current fingerprint test is ended, and the test fixture is controlled to continuously shield the sensor; and if the current test is judged to be failed, the shielding part is controlled to be removed from the terminal sensor, and the current fingerprint test is ended.
In yet another embodiment, a test apparatus is provided, configured to a test fixture, the apparatus comprising:
the triggering instruction receiving module is used for shielding the induction sensor of the terminal and receiving the triggering instruction sent by the terminal;
the current simulated fingerprint generation module is used for triggering the simulated fingerprint operation according to the triggering instruction;
The current test result receiving module is used for receiving a current fingerprint test result obtained by the terminal for performing a current fingerprint test based on the current simulated fingerprint;
the corresponding operation execution module is used for controlling the shielding part to be removed from the terminal sensor to finish the current fingerprint test and controlling the test fixture to continuously shield the sensor if the current fingerprint test is judged to be successful according to the test result; and if the current test is judged to be failed, the shielding part is controlled to be removed from the terminal sensor, and the current fingerprint test is ended.
In one embodiment, the present invention further provides a computer device, including:
one or more processors;
a memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the test method applied to the terminal according to any one of the embodiments of the present invention, or the test method applied to the test fixture according to any one of the embodiments of the present invention.
In an embodiment, the embodiment of the present invention further provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the test method applied to a terminal according to any one of the embodiments of the present invention, or the test method applied to a test fixture according to any one of the embodiments of the present invention.
In the embodiment of the invention, the current fingerprint test is started if the sensor is blocked by the test fixture, so that the automatic starting of the current fingerprint test is realized, and the test progress information in the screen is updated according to the current test result if the current fingerprint test is finished, so that the test fixture is instructed to obtain the current test result according to the test progress information, the test progress information is displayed in real time, the test fixture is convenient to obtain the test progress information, the test state of the terminal is controlled, the automatic ending control of the current fingerprint test is realized, and the ordered execution of the test operation is realized.
Drawings
FIG. 1 is a flow chart of a testing method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of interaction between a user, a terminal and a test fixture according to an embodiment of the present invention;
FIG. 3 is a first schematic diagram of a display icon according to an embodiment of the present invention;
FIG. 4 is a second schematic diagram of a display icon according to an embodiment of the present invention;
FIG. 5 is a flow chart of a testing method according to another embodiment of the present invention;
FIG. 6 is a first schematic diagram of a display icon according to another embodiment of the present invention;
FIG. 7 is a second schematic diagram of a display icon according to another embodiment of the present invention;
FIG. 8 is a third schematic diagram of a display icon according to another embodiment of the present invention;
FIG. 9 is a flow chart of a testing method according to another embodiment of the present invention;
FIG. 10 is a schematic structural diagram of a testing device according to an embodiment of the present invention;
FIG. 11 is a schematic structural diagram of a testing device according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
Fig. 1 is a flowchart of a testing method according to an embodiment of the present invention. The test method provided by the embodiment of the invention can be suitable for the condition of testing the terminal, and typically, the embodiment of the invention can be suitable for the condition of controlling the test state of the terminal according to the test progress through the test fixture. In this embodiment of the application, the terminal can be the touch-sensitive screen equipment of applicable fingerprint such as cell-phone, panel computer, wearing equipment, is provided with fingerprint sensing equipment in the terminal, can respond to or gather response fingerprint. The method may in particular be performed by a testing device, which may be implemented in software and/or hardware, which may be integrated in a terminal. Referring to fig. 1, the method in the embodiment of the present invention specifically includes:
S110, triggering the simulated fingerprint operation of the test fixture when the test fixture is monitored to shield the sensor.
The test fixture is an automatic test fixture and can comprise a controller, a shielding part and an induction part, wherein the controller is used for controlling the shielding part to shield or cancel shielding of the terminal sensor according to an induction signal of the induction part. The sensing part may include an illuminance sensor or an image acquisition device for detecting a display icon of the terminal screen.
The terminal is provided with a fingerprint test application, and the performance of the terminal can be tested and calibrated, for example, the under-screen fingerprint identification function of the terminal can be tested and calibrated. The terminal is provided with the induction sensor, the induction sensor can be a proximity sensor, and the detection clamp can be monitored to shield the proximity sensor and shield the sensing signal of the induction sensor.
Fig. 2 is an interaction schematic diagram of a user, a terminal and a test fixture provided in an embodiment of the present invention, as shown in fig. 2, the user first opens a fingerprint test application in the terminal, and if the terminal monitors that the test fixture shields a sensor, triggers the fingerprint test application in the terminal to start a current fingerprint test. Because the fingerprint test needs to sense the simulated fingerprint to be tested, the terminal sends a trigger signal to trigger the test fixture to perform the simulated fingerprint operation, and the test fixture acts the simulated fingerprint on the terminal screen, so that the terminal screen senses the simulated fingerprint to perform the fingerprint test.
S120, collecting the current simulated fingerprint of the test fixture through the fingerprint sensing equipment.
As shown in fig. 3, in the fingerprint test application in the terminal in the open state, it is necessary to receive a start test indication signal of the test fixture, and detect an analog fingerprint of the test fixture placed on the screen of the terminal, and start the current fingerprint test, so in the embodiment of the present invention, as shown in fig. 4, if it is detected that the test fixture shields the sensor, the operation of the analog fingerprint of the test fixture is triggered.
S130, performing a current fingerprint test based on the current simulated fingerprint to obtain a current fingerprint test result.
The fingerprint sensing device in the terminal collects current simulated fingerprints of the test fixture acting on the screen of the terminal, the fingerprint test application obtains the current simulated fingerprints, and current fingerprint tests are conducted based on the current simulated fingerprints to obtain current fingerprint test results.
And S140, determining current test progress information according to the current fingerprint test result, and displaying the current test progress information.
Since the operation step of testing the terminal performance may be more than one step, each step needs to be tested separately, when detecting that the test fixture obscures the sensor, it is necessary to determine which step the current fingerprint test initiated should be the test operation. In the embodiment of the invention, if the detection that the test fixture shields the induction sensor, the number of times of successful test is determined according to the test progress information displayed in the terminal screen, and the current test step which should be started is determined according to the number of times of successful test. For example, if it is determined by the test progress information shown in the terminal screen that the current test has been successfully performed 4 times, the current fingerprint test of the 5 th step should be started at this time.
Wherein the test progress information is used for indicating the number of steps of the completed test operation. For example, 4 steps of testing the terminal have been completed currently, and the number represented by the test progress information presentation content is 4. The end of the current fingerprint test may be that the test of the current fingerprint test step by the test software in the terminal is completed, but the whole test process of the terminal is not completed, at this time, the terminal updates the test progress information in the screen according to the test result of the test software on the current fingerprint test, so as to display the number of completed test operation steps, so that the test fixture can timely acquire the steps of the completed test operation, and instruct the test fixture to obtain the current fingerprint test result according to the test progress information, so that the test fixture can control the test operation of the terminal test software to enter the next stage. The test fixture can detect the displayed content on the screen through the illuminance sensor of the sensing part so as to acquire the test progress information, and can acquire the images of the displayed content on the screen through the image acquisition device and identify the images of the displayed content so as to acquire the test progress information.
In the embodiment of the application, the method further comprises the following steps: when the detection that the test fixture of the shielding sensor is removed is detected, ending the current fingerprint test; when the sensor is shielded by the test fixture, the next fingerprint test is triggered.
If the detection of the removal of the test fixture of the shielding sensor is detected, the current fingerprint test is ended, the terminal sensor is continuously shielded later, and the fingerprint test application in the terminal is triggered to conduct the fingerprint test of the next step.
And S150, determining a fingerprint test result according to the current test progress information and the preset standard progress information.
The preset standard test progress information indicates that the whole test flow of the current simulated fingerprint is finished, and the required test steps correspond to the test steps. By way of example, based on a comparison of the current test progress information and the preset standard progress information, it may be determined whether the current test progress information indicates the test progress information at the completion of the test, thereby determining a final fingerprint test result at the completion of the fingerprint test.
In the embodiment of the application, the test progress information is binary data; determining a fingerprint test result according to the current test progress information and the preset standard progress information comprises the following steps: and if the data bits in the current test progress information are corresponding to the data bits in the preset standard test progress information, determining that the fingerprint test is successful and displaying the corresponding icon. If the correspondence of each data bit in the current test progress information is inconsistent with that of each data bit in the preset standard test progress information, re-triggering the simulated fingerprint operation of the test fixture; and returning the fingerprint test to the step of collecting the current simulated fingerprint of the test fixture through the fingerprint sensing equipment by taking the fingerprint test as the current fingerprint test until each data bit in the current test progress information corresponds to each data bit in the preset standard test progress information, and obtaining a corresponding fingerprint test result.
Illustratively, the number of test steps required for performing fingerprint test on the current simulated fingerprint is known in advance, and after the current fingerprint test is completed, if the test result is that the test is successful, the number of times of the current test is updated to represent the number of steps of the currently completed test. If each data bit in the current test progress information corresponds to each data bit in the preset standard test progress information, the number of the steps for indicating that the current test is successful is the same as the number of the test steps required for carrying out fingerprint test on the current simulated fingerprint, so that the test on the current simulated fingerprint is completed, the fingerprint test is determined to be successful, and a corresponding icon, such as a pass, is displayed to display that the fingerprint test is successful. If the correspondence of each data bit in the current test progress information is inconsistent with the correspondence of each data bit in the preset standard test progress information, the step of performing fingerprint test on the current simulated fingerprint is not completely executed, so that the simulated fingerprint operation of the test fixture needs to be continuously triggered to perform fingerprint test of the next step.
Illustratively, if the terminal detects that the test fixture is removed from the sensor, it indicates that the current fingerprint test is complete, so the terminal determines that the current fingerprint test is complete to await a test indication of the next stage of the test fixture. If the test fixture judges that the current fingerprint test is successful according to the test result, the shielding part is controlled to be removed from the terminal sensor, the current fingerprint test is ended, and the test fixture continues to shield the sensor again so as to instruct the terminal test software to enter the test operation of the next step. If the test fixture judges that the current test fails according to the test result, the shielding part is controlled to be removed from the terminal sensor, and the current fingerprint test is ended.
In the embodiment of the invention, the current fingerprint test is started if the sensor is shielded by the test fixture, so that the automatic starting of the current fingerprint test is realized, and the test progress information in the screen is updated according to the current test result if the current fingerprint test is finished, so that the test fixture is instructed to obtain the current test result according to the test progress information, the test progress information is displayed in real time, the test fixture is convenient to acquire the test progress information, the test state of the terminal is controlled, the automatic ending control of the current fingerprint test is realized, and the orderly execution of the test operation is realized.
Fig. 5 is a flowchart of a testing method according to another embodiment of the present invention. The embodiments of the present invention are optimized on the basis of the above embodiments, and details not described in detail in this embodiment are detailed in the above embodiments. Referring to fig. 5, the test method provided in this embodiment may include:
and S210, triggering the operation of simulating fingerprints of the test clamp when the sensor is shielded by the test clamp.
S220, collecting the current simulated fingerprint of the test fixture through the fingerprint sensing equipment.
S230, performing current fingerprint test based on the current simulated fingerprint.
S240, if the current fingerprint test is completed, judging whether the current fingerprint test result is successful, if so, executing S250; if not, S260 is performed.
The terminal software tests the performance of the terminal, specifically, calibrates parameters of the terminal for realizing functions, if the calibration is passed, the test is successful, and if the calibration is not passed, the calibration is failed.
S250, updating the number of times of fingerprint test which is successfully tested, and determining the brightness of the displayed icon in the screen according to the number of times.
If the test software judges that the current test result is successful, the number of successful operations already tested is determined according to the test progress information displayed in the terminal screen, and the number of successful operations already tested is updated according to the number of successful operations already tested and the current fingerprint test successfully tested, for example, the number of successful operations already tested represented in the test progress information in the current terminal screen is 4, and the current fingerprint test is successful, the number of successful operations already tested is updated to be 5, and the brightness of the displayed icon in the screen is determined according to the number of successful operations already tested.
In the embodiment of the present application, determining, according to the number of operations, brightness of a displayed icon in a screen includes: converting the operation number into binary digits with preset digits; if the data bit in the binary digit is 1, the brightness of the display icon corresponding to the data bit in the screen is a first preset brightness value; if the data bit in the binary digit is 0, the brightness of the display icon corresponding to the data bit in the screen is set to be a second preset brightness value.
The luminance value in the embodiment of the present invention may be a color, for example. As shown in fig. 6, three display icons may be preset, where the three display icons may be respectively displayed in black or white to represent binary data 0 or 1, and if the three display icons are displayed in a manner that the number 1 icon is displayed in black and the other two icons are displayed in white, the three display icons represent binary digits 001, and decimal digits are 1, to represent that the test progress information is 1 step completed; if the icons 1 and 2 are black and the icon 3 is white, the icon represents a binary digit 011, and the decimal digit is 3, which indicates that the test progress information is 3 steps completed. If the number of the operations which are tested successfully at present is determined to be 5 and the binary number is converted to 101, the icons 1 and 3 are enabled to display black, and the icon 2 is enabled to display white. The number of successfully tested operations is updated, and the test progress information is displayed through the display icons in the screen, so that the test fixture can conveniently and timely acquire the current test progress, and the test state of the terminal is indicated according to the test progress.
In this embodiment of the present application, the total number of test operation steps required for testing the terminal is known in advance by the terminal test software and the test fixture, and if the number indicated by the content displayed by the icon displayed in the terminal screen is equal to the total number of test operation steps, as shown in fig. 7, it is determined that the test operation of all the steps of the terminal has been completed and succeeded, the test is displayed to pass the test, and the terminal test is exited.
And S260, setting the brightness of the icons displayed in the screen to be a third preset brightness value.
If the test result of the current fingerprint test is failure, the brightness of the icons displayed in the screen is set to a third preset brightness value. As shown in fig. 8, all display icons may be set to black to indicate that the test result of the current fingerprint test is a failure. It should be noted that, when the brightness of the displayed icons is set to the third preset brightness value, the number represented by the displayed icons should be greater than the total number of the test operation steps, so as to avoid that the icon display mode representing the test failure is the same as the icon display mode representing the number of test operations that have been tested successfully.
And S270, if the test fixture is monitored to be removed from the sensor according to the current test result, ending the current fingerprint test.
According to the technical scheme, when the current test result is that the test is successful, the operation quantity which is already tested successfully is updated, and the brightness of the displayed icons in the screen is determined according to the operation quantity, so that the operation quantity which is already tested successfully is displayed in real time through the displayed icons, the test fixture is enabled to acquire the current specific test progress, and the next step of terminal test is indicated according to the test progress; and when the test result is the test failure, setting the brightness of the icons displayed in the screen to be a third preset brightness value, so that the state of the test failure is displayed in real time, and the test fixture acquires the failed test result to instruct the terminal to exit the test operation.
Fig. 9 is a flowchart of a testing method according to another embodiment of the present invention. The test method provided by the embodiment of the invention can be suitable for the condition of testing the terminal, and typically, the embodiment of the invention can be suitable for the condition of controlling the test state of the terminal according to the test progress through the test fixture. In this embodiment of the application, the terminal can be the touch-sensitive screen equipment of applicable fingerprint such as cell-phone, panel computer, wearing equipment, is provided with fingerprint sensing equipment in the terminal, can respond to or gather response fingerprint. The method may in particular be performed by a test device, which may be implemented in software and/or hardware, which may be integrated in a test fixture. Details of the detailed description of the embodiments of the present invention are not shown in fig. 9, where the method of the embodiment of the present invention specifically includes:
S310, shielding an induction sensor of the terminal and receiving a trigger instruction sent by the terminal.
For example, if the test software of the terminal is in an open state, the test fixture controls the sensor of the terminal to be blocked by the blocking portion, so that the current fingerprint test is started when the sensor is blocked by the test fixture. The test fixture sends a trigger instruction to the test fixture while shielding the sensor in the terminal to instruct the test fixture to apply the simulated fingerprint to a screen in the terminal. For example, if the terminal performs an on-screen fingerprint test, the test fixture places an object carrying the test fingerprint at a fingerprint test position of the terminal so that the terminal detects the test fingerprint and corrects the performance of the terminal according to test data of the test fingerprint.
S320, triggering the operation of the simulated fingerprints according to the triggering instruction, and generating the current simulated fingerprints.
The terminal sends out a trigger signal to trigger the test fixture to perform fingerprint simulation operation, and the test fixture acts the simulated fingerprint on the terminal screen so that the terminal screen senses the simulated fingerprint to perform fingerprint test.
S330, receiving a current fingerprint test result obtained by the terminal performing the current fingerprint test based on the current simulated fingerprint.
In this embodiment of the present application, the test fixture may determine a current test result according to current test progress information displayed in a terminal screen, including: and detecting the brightness of the displayed icon in the terminal screen, and determining the current test result according to the detection result.
The test fixture may detect the content displayed on the screen through the illuminance sensor of the sensing portion, so as to obtain the test progress information, for example, when the terminal screen includes three display icons, the sensing portion of the test fixture is correspondingly provided with three illuminance sensors, so as to determine the number of successfully tested test operations represented by the display icons according to the illuminance values detected by the three illuminance sensors, so as to determine the test progress information. For example, when the illuminance sensor detects that the brightness of the icon No. 1 is a first preset brightness value and the brightness of the icons No. 2 and No. 3 is a second preset brightness value, it is determined that the number of operations that are currently successful in the test is 1. The image acquisition device can acquire the image of the display content on the screen, identify the image of the display content, and determine the representation of the display icon according to the identification result so as to acquire the test progress information.
The current test progress is obtained in real time according to the test progress information of the terminal, so that the test fixture can instruct the terminal to perform the next test step in order according to the current test progress, and the test efficiency is improved.
In this embodiment of the present application, detecting brightness of a display icon in a terminal screen, and determining a current test result according to a detection result includes: if the operation quantity which is successfully tested is updated according to the detection result, the current test result is determined to be the test success.
For example, since the test fixture monitors the brightness of the display icon in the terminal screen in real time, if it is determined that the number of successfully tested operations is updated according to the brightness of the display icon, that is, the number of successfully tested operations represented by the display icon is changed, it is determined that the current test result is successful in testing, so that the terminal can be conveniently indicated to perform the next test step according to the test result of successful testing.
In this embodiment of the present application, detecting brightness of a display icon in a terminal screen, and determining a current test result according to a detection result includes: if the brightness of the displayed icons in the terminal screen is determined to be the third preset brightness value according to the detection result, the current test result is determined to be failure.
The third preset brightness value is preset display information indicating that the current test result is test failure, and if the number represented by the display icons in the test fixture is not any value smaller than the total number of the test steps according to the number represented by the display icons in the screen, the display icons are all the third preset brightness value, the test fixture judges that the current test result is failure, and the terminal is conveniently instructed to exit the test.
S340, executing corresponding operation according to the fingerprint test result.
In the embodiment of the application, corresponding operations are executed according to the fingerprint test result, including: when the fingerprint test result is that the test is successful, the test clamp is removed to enable the terminal induction sensor to be in a non-shielding state, the current fingerprint test is ended, and when the test clamp is monitored to shield the sensor again, the next fingerprint test is triggered.
For example, if the current test result is that the test is successful, the test operation of the next step needs to be entered, so that the test fixture cancels the shielding of the sensor in the terminal, ends the current fingerprint test, and continues to shield the sensor in the terminal to instruct the terminal to perform the test operation of the next step.
When the current fingerprint test is failed, the fingerprint test is exited, so that the terminal re-executes the trigger operation which responds to the fingerprint test application and enters the current fingerprint test preparation stage; displaying initial test progress information, wherein the initial test progress information comprises data bits with preset bits; the data bit is configured to an initial preset value.
For example, if the current test result is a test failure, the test of the next step is not required to be continued, so that the test fixture cancels the shielding of the sensor in the terminal, and the terminal is instructed to exit the test operation. When the terminal monitors the sensor shielding by the test fixture again, triggering to start a new fingerprint test process.
According to the technical scheme, the current fingerprint test is started when the sensor in the terminal is shielded by the sensor, so that the control of the test state of the terminal by the test clamp is realized, and the current test result is determined according to the test progress information in the terminal screen, so that the test clamp can master the test progress of the terminal in real time, the current test result is convenient to determine, and the test state of the terminal is controlled according to the test result. According to the current test result, the sensor in the terminal is blocked, when the terminal detects that the test clamp blocks the sensor, the current fingerprint test is ended, so that the ending control of the terminal test is realized, and the current fingerprint test is orderly carried out.
Fig. 10 is a schematic structural diagram of a testing device according to an embodiment of the present invention. The device is suitable for the condition of testing the terminal, and typically, the embodiment of the invention can be suitable for the condition of controlling the testing state of the terminal according to the testing progress through the testing fixture. The apparatus may be implemented in software and/or hardware, and the apparatus may be configured in a terminal. Referring to fig. 10, the apparatus specifically includes:
The monitoring module 410 is configured to trigger an operation of simulating a fingerprint of the test fixture when the test fixture is monitored to block the sensor.
The collection module 420 is configured to collect, by using the fingerprint sensing device, a current simulated fingerprint of the test fixture.
The current fingerprint test module 430 is configured to perform a current fingerprint test based on the current simulated fingerprint, to obtain a current fingerprint test result.
The progress information display module 440 is configured to determine current test progress information according to the current fingerprint test result, and display the current test progress information.
The fingerprint test result determining module 450 is configured to determine a fingerprint test result according to the current test progress information and the preset standard progress information.
In the embodiment of the present application, the progress information display module 440 includes:
and the data bit determining unit is used for determining the data bit in the current test progress information according to the number of times of success of the current fingerprint test if the current fingerprint test is successful.
The current test progress information display unit is used for determining display marks of display icons corresponding to the data bits according to the data bits so as to display the current test progress information.
The test progress information is binary data.
Fingerprint test result determination module 450, comprising:
And the fingerprint test success determining unit is used for determining that the fingerprint test is successful and displaying a corresponding icon if each data bit in the current test progress information is corresponding to each data bit in the preset standard test progress information.
In an embodiment of the present application, further includes:
and the retrigger module is used for retrigging the simulated fingerprint operation of the test fixture if the data bits in the current test progress information are inconsistent with the data bits in the preset standard test progress information.
And the retest module is used for taking the fingerprint test as a current fingerprint test, and returning to the step of collecting the current simulated fingerprint of the test fixture through the fingerprint sensing equipment until all data bits in the current test progress information are corresponding to and consistent with all data bits in the preset standard test progress information, and obtaining a corresponding fingerprint test result.
In an embodiment of the present application, further includes:
and the test preparation module is used for responding to the triggering operation acted on the fingerprint test application and entering the current fingerprint test preparation stage.
The initial test progress information display module is used for displaying initial test progress information, wherein the initial test progress information comprises data bits with preset bits; the data bits are configured to an initial preset value.
In an embodiment of the present application, further includes:
and the current fingerprint test ending module is used for ending the current fingerprint test when the test fixture of the shielding sensor is monitored to be removed.
And the next fingerprint test triggering module is used for triggering the next fingerprint test when the sensor is shielded by the test fixture.
According to the technical scheme, when the monitoring module monitors that the test clamp shields the sensor, the simulation fingerprint operation of the test clamp is triggered, so that the automatic starting of the current fingerprint test is realized, and the current simulation fingerprint of the test clamp is acquired through the fingerprint sensing equipment by the acquisition module; the current fingerprint test module performs a current fingerprint test based on the current simulated fingerprint to obtain a current fingerprint test result; the progress information display module determines current test progress information according to the current fingerprint test result and displays the current test progress information; therefore, the test progress information is displayed in real time, the test fixture is convenient to acquire the test progress information so as to control the test state of the terminal, the automatic ending control of the current fingerprint test is realized, and the orderly execution of the test operation is realized.
Fig. 11 is a schematic structural diagram of a testing device according to an embodiment of the present invention. The device is suitable for the condition of testing the terminal, and typically, the embodiment of the invention can be suitable for the condition of controlling the testing state of the terminal according to the testing progress through the testing fixture. The apparatus may be implemented in software and/or hardware, and the apparatus may be configured in a test fixture. Referring to fig. 11, the apparatus specifically includes:
The trigger instruction receiving module 510 is configured to shade an inductive sensor of the terminal and receive a trigger instruction sent by the terminal.
The current simulated fingerprint generation module 520 is configured to trigger a simulated fingerprint operation according to the trigger instruction, and generate a current simulated fingerprint.
The current test result receiving module 530 is configured to receive a current fingerprint test result obtained by performing a current fingerprint test based on a current simulated fingerprint by the terminal.
And a corresponding operation execution module 540 for executing corresponding operation according to the fingerprint test result.
In the embodiment of the present application, the corresponding operation execution module 530 includes:
and the removing unit is used for removing the test clamp to enable the terminal induction sensor to be in a non-shielding state when the fingerprint test result is that the test is successful, ending the current fingerprint test, and triggering the next fingerprint test when the test clamp shields the sensor again.
In the embodiment of the present application, the corresponding operation execution module 530 further includes:
and the exiting fingerprint test unit is used for exiting the fingerprint test when the current fingerprint test fails, so that the terminal re-executes the triggering operation which is responded to the fingerprint test application and enters the current fingerprint test preparation stage.
Displaying initial test progress information, wherein the initial test progress information comprises data bits with preset bits; the data bit is configured to an initial preset value.
According to the technical scheme, the current fingerprint test is started when the sensor in the terminal is shielded by the sensor, so that the control of the test state of the terminal by the test clamp is realized, and the current test result is determined according to the test progress information in the terminal screen, so that the test clamp can master the test progress of the terminal in real time, the current test result is convenient to determine, and the test state of the terminal is controlled according to the test result. According to the current test result, the sensor in the terminal is blocked, when the terminal detects that the test clamp blocks the sensor, the current fingerprint test is ended, so that the ending control of the terminal test is realized, and the current fingerprint test is orderly carried out.
Fig. 12 is a schematic structural diagram of a computer device according to an embodiment of the present invention. FIG. 12 illustrates a block diagram of an exemplary computer device 612 suitable for use in implementing embodiments of the invention. The computer device may be a terminal or a test fixture. The computer device 612 depicted in fig. 12 is merely an example, and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 12, the computer device 612 includes: one or more processors 616; the memory 628 is configured to store one or more programs, where the one or more programs are executed by the one or more processors 616, so that the one or more processors 616 implement the testing method applied to the terminal provided by the embodiment of the present invention, including: triggering the simulated fingerprint operation of the test fixture when the test fixture is monitored to shield the sensor; collecting the current simulated fingerprint of the test fixture through fingerprint sensing equipment; performing a current fingerprint test based on the current simulated fingerprint to obtain a current fingerprint test result; determining current test progress information according to the current fingerprint test result, and displaying the current test progress information; and determining a fingerprint test result according to the current test progress information and the preset standard progress information.
In one embodiment, the one or more processors 616 when executing the computer program also implement the following steps: if the current fingerprint test is successful, determining data bits in the current test progress information according to the times of the success of the current fingerprint test; and determining display marks of display icons corresponding to the data bits according to the data bits so as to display the current test progress information.
In one embodiment, the one or more processors 616 when executing the computer program also implement the following steps: and if the data bits in the current test progress information are corresponding to the data bits in the preset standard test progress information, determining that the fingerprint test is successful and displaying the corresponding icon.
In one embodiment, the one or more processors 616 when executing the computer program also implement the following steps: if the correspondence of each data bit in the current test progress information is inconsistent with the correspondence of each data bit in the preset standard test progress information, re-triggering the simulated fingerprint operation of the test fixture; and returning the fingerprint test as a current fingerprint test to the step of collecting the current simulated fingerprint of the test fixture through the fingerprint sensing equipment until all data bits in the current test progress information are corresponding to and consistent with all data bits in the preset standard test progress information, and obtaining a corresponding fingerprint test result.
In one embodiment, the test progress information is binary data; the one or more processors 616, when executing the computer program, also implement the following steps: determining a fingerprint test result according to the current test progress information and the preset standard progress information comprises the following steps: and if the data bits in the current test progress information are corresponding to the data bits in the preset standard test progress information, determining that the fingerprint test is successful and displaying the corresponding icon.
In one embodiment, the one or more processors 616 when executing the computer program also implement the following steps: if the correspondence of each data bit in the current test progress information is inconsistent with that of each data bit in the preset standard test progress information, re-triggering the simulated fingerprint operation of the test fixture; and returning the fingerprint test to the step of collecting the current simulated fingerprint of the test fixture through the fingerprint sensing equipment by taking the fingerprint test as the current fingerprint test until each data bit in the current test progress information corresponds to each data bit in the preset standard test progress information, and obtaining a corresponding fingerprint test result.
In one embodiment, the one or more processors 616 when executing the computer program also implement the following steps: responding to the triggering operation acted on the fingerprint test application, and entering a current fingerprint test preparation stage; displaying initial test progress information, wherein the initial test progress information comprises data bits with preset bits; the data bits are configured to an initial preset value.
In one embodiment, the one or more processors 616 when executing the computer program also implement the following steps: when the detection that the test fixture of the shielding sensor is removed is detected, ending the current fingerprint test; when the sensor is shielded by the test fixture, the next fingerprint test is triggered.
In this embodiment of the present application, the one or more processors 616 may further implement a testing method applied to a testing fixture according to an embodiment of the present invention, including: shielding an induction sensor of the terminal and receiving a trigger instruction sent by the terminal; triggering the operation of the simulated fingerprints according to the triggering instruction, and generating the current simulated fingerprints; receiving a current fingerprint test result obtained by a terminal performing a current fingerprint test based on a current simulated fingerprint; and executing corresponding operation according to the fingerprint test result.
In one embodiment, the one or more processors 616 when executing the computer program also implement the following steps: when the fingerprint test result is that the test is successful, the test clamp is removed to enable the terminal induction sensor to be in a non-shielding state, the current fingerprint test is ended, and when the test clamp is monitored to shield the sensor again, the next fingerprint test is triggered.
In one embodiment, the one or more processors 616 when executing the computer program also implement the following steps: when the current fingerprint test fails, the fingerprint test is exited, so that the terminal re-executes the trigger operation which responds to the fingerprint test application and enters the current fingerprint test preparation stage; displaying initial test progress information, wherein the initial test progress information comprises data bits with preset bits; the data bit is configured to an initial preset value.
In the form of a general purpose computer device. Components of computer device 612 may include, but are not limited to: one or more processors or processors 616, a system memory 628, and a bus 618 that connects the various system components, including the system memory 628 and the processor 616.
Bus 618 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, micro channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 612 typically includes a variety of computer system readable storage media. Such storage media can be any available storage media that is accessible by computer device 612 and includes both volatile and nonvolatile storage media, removable and non-removable storage media.
The system memory 628 may include computer-system-readable storage media in the form of volatile memory, such as Random Access Memory (RAM) 630 and/or cache memory 632. The computer device 612 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 634 can be used to read from or write to non-removable, nonvolatile magnetic storage media (not shown in FIG. 12, commonly referred to as a "hard disk drive"). Although not shown in fig. 12, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical storage medium), may be provided. In such cases, each drive may be coupled to bus 618 through one or more data storage medium interfaces. Memory 628 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of embodiments of the invention.
A program/utility 640 having a set (at least one) of program modules 642 may be stored in, for example, the memory 628, such program modules 662 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 662 generally perform the functions and/or methods in the embodiments described herein.
The computer device 612 may also communicate with one or more external computer devices 614 (e.g., keyboard, pointing computer device, display 626, etc.), with one or more computer devices that enable a user to interact with the computer device 612, and/or with any computer device (e.g., network card, modem, etc.) that enables the computer device 612 to communicate with one or more other computer devices. Such communication may occur through an input/output (I/O) interface 622. Moreover, the computer device 612 may also communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, through a network adapter 620. As shown, the network adapter 620 communicates with other modules of the computer device 612 over the bus 618. It should be appreciated that although not shown in fig. 12, other hardware and/or software modules may be used in connection with computer device 612, including, but not limited to: microcode, computer device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The processor 616 executes various functional applications and tests, such as implementing a test method provided by embodiments of the present invention, by running at least one of the other programs in a plurality of programs stored in the system memory 628.
The embodiments of the present invention provide a storage medium containing computer executable instructions which, when executed by a computer processor, are used to perform a test method applied to a terminal: triggering the simulated fingerprint operation of the test fixture when the test fixture is monitored to shield the sensor; collecting the current simulated fingerprint of the test fixture through fingerprint sensing equipment; performing a current fingerprint test based on the current simulated fingerprint to obtain a current fingerprint test result; determining current test progress information according to the current fingerprint test result, and displaying the current test progress information; and determining a fingerprint test result according to the current test progress information and the preset standard progress information.
In one embodiment, the computer program when executed by the processor further performs the steps of: if the current fingerprint test is successful, determining data bits in the current test progress information according to the times of the success of the current fingerprint test; and determining display marks of display icons corresponding to the data bits according to the data bits so as to display the current test progress information.
In one embodiment, the test progress information is binary data; the computer program when executed by the processor also performs the steps of: and if the data bits in the current test progress information are corresponding to the data bits in the preset standard test progress information, determining that the fingerprint test is successful and displaying the corresponding icon.
In one embodiment, the computer program when executed by the processor further performs the steps of: if the correspondence of each data bit in the current test progress information is inconsistent with that of each data bit in the preset standard test progress information, re-triggering the simulated fingerprint operation of the test fixture; and returning the fingerprint test to the step of collecting the current simulated fingerprint of the test fixture through the fingerprint sensing equipment by taking the fingerprint test as the current fingerprint test until each data bit in the current test progress information corresponds to each data bit in the preset standard test progress information, and obtaining a corresponding fingerprint test result.
In one embodiment, the computer program when executed by the processor further performs the steps of: responding to the triggering operation acted on the fingerprint test application, and entering a current fingerprint test preparation stage; displaying initial test progress information, wherein the initial test progress information comprises data bits with preset bits; the data bits are configured to an initial preset value.
In one embodiment, the computer program when executed by the processor further performs the steps of: when the detection that the test fixture of the shielding sensor is removed is detected, ending the current fingerprint test; when the sensor is shielded by the test fixture, the next fingerprint test is triggered.
In an embodiment of the present application, the computer executable instructions, when executed by the computer processor, are further for performing a test method applied to the test fixture: shielding an induction sensor of the terminal and receiving a trigger instruction sent by the terminal; triggering the operation of the simulated fingerprints according to the triggering instruction, and generating the current simulated fingerprints; receiving a current fingerprint test result obtained by a terminal performing a current fingerprint test based on a current simulated fingerprint; and executing corresponding operation according to the fingerprint test result.
In one embodiment, the computer executable instructions, when executed by the computer processor, are further for performing the method of: when the fingerprint test result is that the test is successful, the test clamp is removed to enable the terminal induction sensor to be in a non-shielding state, the current fingerprint test is ended, and when the test clamp is monitored to shield the sensor again, the next fingerprint test is triggered.
In one embodiment, the computer program when executed by the processor further performs the steps of: when the current fingerprint test fails, the fingerprint test is exited, so that the terminal re-executes the trigger operation which responds to the fingerprint test application and enters the current fingerprint test preparation stage; displaying initial test progress information, wherein the initial test progress information comprises data bits with preset bits; the data bit is configured to an initial preset value.
The computer storage media of embodiments of the present invention may take the form of any combination of one or more computer-readable storage media. The computer readable storage medium may be a computer readable signal storage medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In embodiments of the present invention, a computer readable storage medium may be any tangible storage medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal storage medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal storage medium may also be any computer readable storage medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable storage medium may be transmitted using any appropriate storage medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or device. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.

Claims (10)

1. A test method, characterized in that it is applied to a terminal on which a sensor and a fingerprint sensing device are provided, said method comprising:
triggering the simulated fingerprint operation of the test fixture when the sensor is shielded by the test fixture;
collecting current simulated fingerprints of the test clamp through the fingerprint sensing equipment;
performing a current fingerprint test based on the current simulated fingerprint to obtain a current fingerprint test result;
determining current test progress information according to the current fingerprint test result, and displaying the current test progress information;
determining a fingerprint test result according to the current test progress information and preset standard progress information;
if the current fingerprint test is judged to be successful according to the test result, the shielding part is controlled to be removed from the terminal sensor, the current fingerprint test is ended, and the test fixture is controlled to continuously shield the sensor; and if the current test is judged to be failed, the shielding part is controlled to be removed from the terminal sensor, and the current fingerprint test is ended.
2. The method of claim 1, wherein determining current test progress information from the current fingerprint test result and displaying the current test progress information comprises:
If the current fingerprint test is successful, determining data bits in the current test progress information according to the times of the success of the current fingerprint test;
and determining display marks of display icons corresponding to the data bits according to the data bits so as to display the current test progress information.
3. The method of claim 1, wherein the test progress information is binary data;
the step of determining the fingerprint test result according to the current test progress information and the preset standard progress information comprises the following steps:
and if the data bits in the current test progress information are corresponding to the data bits in the preset standard test progress information, determining that the fingerprint test is successful and displaying the corresponding icon.
4. A method according to claim 3, characterized in that the method further comprises:
if the correspondence of each data bit in the current test progress information is inconsistent with the correspondence of each data bit in the preset standard test progress information, re-triggering the simulated fingerprint operation of the test fixture;
and returning the fingerprint test as a current fingerprint test to the step of collecting the current simulated fingerprint of the test fixture through the fingerprint sensing equipment until all data bits in the current test progress information are corresponding to and consistent with all data bits in the preset standard test progress information, and obtaining a corresponding fingerprint test result.
5. The method of claim 1, wherein when the sensor is detected to be blocked by a test fixture, before triggering the simulated fingerprint operation of the test fixture, further comprising:
responding to the triggering operation acted on the fingerprint test application, and entering a current fingerprint test preparation stage;
displaying initial test progress information, wherein the initial test progress information comprises data bits with preset bits; the data bits are configured to an initial preset value.
6. A method of testing, applied to a test fixture, the method comprising:
shielding an induction sensor of a terminal and receiving a trigger instruction sent by the terminal;
triggering the operation of the simulated fingerprints according to the triggering instruction, and generating the current simulated fingerprints;
receiving a current fingerprint test result obtained by the terminal performing a current fingerprint test based on the current simulated fingerprint;
if the current fingerprint test is judged to be successful according to the test result, the shielding part is controlled to be removed from the terminal sensor, the current fingerprint test is ended, and the test fixture is controlled to continuously shield the sensor; and if the current test is judged to be failed, the shielding part is controlled to be removed from the terminal sensor, and the current fingerprint test is ended.
7. A test apparatus for use with a terminal having a sensor and a fingerprint sensing device disposed thereon, the apparatus comprising:
the monitoring module is used for triggering the simulated fingerprint operation of the test fixture when the sensor is shielded by the test fixture;
the acquisition module is used for acquiring the current simulated fingerprint of the test fixture through the fingerprint sensing equipment;
the current fingerprint test module is used for carrying out a current fingerprint test based on the current simulated fingerprint to obtain a current fingerprint test result;
the progress information display module is used for determining current test progress information according to the current fingerprint test result and displaying the current test progress information;
the fingerprint test result determining module is used for determining a fingerprint test result according to the current test progress information and preset standard progress information; if the current fingerprint test is judged to be successful according to the test result, the shielding part is controlled to be removed from the terminal sensor, the current fingerprint test is ended, and the test fixture is controlled to continuously shield the sensor; and if the current test is judged to be failed, the shielding part is controlled to be removed from the terminal sensor, and the current fingerprint test is ended.
8. A test apparatus for use with a test fixture, the apparatus comprising:
the triggering instruction receiving module is used for shielding the induction sensor of the terminal and receiving the triggering instruction sent by the terminal;
the current simulated fingerprint generation module is used for triggering the simulated fingerprint operation according to the triggering instruction to generate a current simulated fingerprint;
the current test result receiving module is used for receiving a current fingerprint test result obtained by the terminal for performing a current fingerprint test based on the current simulated fingerprint;
the corresponding operation execution module is used for controlling the shielding part to be removed from the terminal sensor to finish the current fingerprint test and controlling the test fixture to continuously shield the sensor if the current fingerprint test is judged to be successful according to the test result; and if the current test is judged to be failed, the shielding part is controlled to be removed from the terminal sensor, and the current fingerprint test is ended.
9. A computer device, the device comprising: a terminal or a test fixture, the terminal or the test fixture comprising:
one or more processors;
a memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement a test method as claimed in any one of claims 1-5 for a terminal or a test method as claimed in claim 6 for a test fixture.
10. A computer-readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements a test method as claimed in any one of claims 1-5 for a terminal or a test method as claimed in claim 6 for a test fixture.
CN202010123412.XA 2020-02-27 2020-02-27 Test method, test device, computer equipment and storage medium Active CN111291346B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010123412.XA CN111291346B (en) 2020-02-27 2020-02-27 Test method, test device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010123412.XA CN111291346B (en) 2020-02-27 2020-02-27 Test method, test device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111291346A CN111291346A (en) 2020-06-16
CN111291346B true CN111291346B (en) 2023-04-21

Family

ID=71021916

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010123412.XA Active CN111291346B (en) 2020-02-27 2020-02-27 Test method, test device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111291346B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6138252A (en) * 1996-07-01 2000-10-24 Sun Microsystems, Inc. Graphical test progress monitor
CN101159498A (en) * 2007-11-07 2008-04-09 中兴通讯股份有限公司 Method of testing radio frequency hardware module
CN102650528A (en) * 2011-02-25 2012-08-29 鸿富锦精密工业(深圳)有限公司 Security processing system and method
CN104008052A (en) * 2014-05-26 2014-08-27 上海大学 Universal computer product testing system and method
CN107807885A (en) * 2017-11-08 2018-03-16 广州酷狗计算机科技有限公司 Mission bit stream display methods and device
CN109522234A (en) * 2018-11-22 2019-03-26 郑州云海信息技术有限公司 Show method, system and the automated testing method of test case implementation progress
CN109634847A (en) * 2018-11-21 2019-04-16 广州小鹏汽车科技有限公司 Embedded product automated testing method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109725209B (en) * 2017-10-31 2022-08-30 富泰华工业(深圳)有限公司 Test fixture and test device with same

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6138252A (en) * 1996-07-01 2000-10-24 Sun Microsystems, Inc. Graphical test progress monitor
CN101159498A (en) * 2007-11-07 2008-04-09 中兴通讯股份有限公司 Method of testing radio frequency hardware module
CN102650528A (en) * 2011-02-25 2012-08-29 鸿富锦精密工业(深圳)有限公司 Security processing system and method
CN104008052A (en) * 2014-05-26 2014-08-27 上海大学 Universal computer product testing system and method
CN107807885A (en) * 2017-11-08 2018-03-16 广州酷狗计算机科技有限公司 Mission bit stream display methods and device
CN109634847A (en) * 2018-11-21 2019-04-16 广州小鹏汽车科技有限公司 Embedded product automated testing method and system
CN109522234A (en) * 2018-11-22 2019-03-26 郑州云海信息技术有限公司 Show method, system and the automated testing method of test case implementation progress

Also Published As

Publication number Publication date
CN111291346A (en) 2020-06-16

Similar Documents

Publication Publication Date Title
US9519401B2 (en) Providing context menu based on predicted commands
CN105808257B (en) Application popup identification method and device
CN113532882A (en) Automobile instrument testing method, device and system and storage medium
CN110806965A (en) Automatic test method, device, equipment and medium
CN109358827A (en) Method, system, equipment and the storage medium of serially printing are applied in control
JP2008232968A (en) Signal analyzer, method, and program
CN111291346B (en) Test method, test device, computer equipment and storage medium
CN108845924B (en) Control response area display control method, electronic device, and storage medium
CN109240928A (en) A kind of test method, device, equipment and storage medium
CN112667212A (en) Buried point data visualization method and device, terminal and storage medium
CN112731030A (en) Electronic component detection method and device, terminal equipment and storage medium
CN111258875A (en) Interface test method and system, electronic device and storage medium
CN116087626A (en) Method for testing influence degree of touch function of protective film
CN105893203A (en) CEC verification method and device
CN109522174A (en) Control adb enabled method, apparatus, terminal and storage medium
CN112596966B (en) Chip verification method, device, equipment and storage medium
CN111124862B (en) Intelligent device performance testing method and device and intelligent device
JP3735484B2 (en) Memory leak detection system, memory leak detection method, and recording medium
CN110968519A (en) Game testing method, device, server and storage medium
CN106708705A (en) Terminal background process monitoring method and system
CN111338860A (en) Memory monitoring method, device, equipment and storage medium
CN116820946B (en) Method and device for automatically testing compatibility of target software
CN110443180B (en) System, method, device, medium and equipment for processing brightness of fingerprint image under screen
CN114995919B (en) Method and equipment for adaptively configuring MIPI module initialization code
CN113495844B (en) Automatic testing method, device and system based on virtual click and storage medium

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
GR01 Patent grant
GR01 Patent grant