Fingerprint function detection method and device

The fingerprint function detection method and device analyze operation logs to efficiently and accurately determine the status of fingerprint functions in smart devices, addressing the inefficiencies of traditional methods and ensuring reliable recycling assessments.

CN113254293BActive Publication Date: 2024-12-10YIZHANSHOU
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110588645.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-28
Publication Date
2024-12-10
Estimated Expiration
2041-05-28

AI Technical Summary

Technical Problem

Traditional methods for detecting the fingerprint function of smart devices during recycling are labor-intensive and unreliable, especially when the device cannot install applications, making it difficult to accurately assess the function and residual value.

Method used

A method and device that analyze the fingerprint operation log to determine the operating status and characteristic data, allowing for accurate detection of the fingerprint function without requiring manual operations or installing additional applications.

Benefits of technology

Reduces detection workload and time while ensuring accurate assessment of the fingerprint function, providing a reliable recycling reference even when the fingerprint API cannot be accessed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113254293B_ABST
    Figure CN113254293B_ABST
Patent Text Reader

Abstract

The present invention relates to a fingerprint function detection method and device. After obtaining the fingerprint operation log of the smart device to be detected, the operation status of the fingerprint device of the smart device to be detected is determined according to the fingerprint operation log. Furthermore, when the operation status matches the preset operation status, the characteristic data of the fingerprint operation log is determined, and the fingerprint function status of the smart device to be detected is determined according to the characteristic data. Based on this, a large amount of manual operation is required to reduce the detection workload and detection time. In addition, based on the characteristics of the fingerprint function, the fingerprint function status of the smart device to be detected is determined according to the characteristic data. In the case where the calling application of the fingerprint API cannot be installed, the fingerprint function of the smart device to be detected can also be accurately detected, providing a recycling reference for the smart device to be detected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electronic products, and in particular to a fingerprint function detection method and device. Background Art

[0002] With the advancement of electronic technology, a wide variety of smart devices, such as smartphones, laptops, and tablets, have emerged. When users use these smart devices, the primary means of interaction is through their screens. Therefore, the quality of smart device screens has a significant impact on the user experience. Currently, with the rapid development of the economy and technology, the popularity and replacement of smart devices are accelerating. For example, the advent of the 5G era has accelerated the replacement of smartphones. As smart devices evolve, effective recycling is one way to effectively utilize their residual value, reducing chemical pollution and waste.

[0003] During the recycling process, the quality of a smart device's fingerprint function can impact its residual value. Generally, when recycling smart devices, the fingerprint function is checked for proper function. Faulty fingerprint function can severely impact the device's usability and, in turn, its residual value. Therefore, fingerprint function testing is essential during the recycling process to provide a reference for valuation and mitigate the risk of losses.

[0004] There are two main traditional methods for checking whether the fingerprint function of smart devices is functioning properly. One is that professional quality inspectors operate the device fingerprint application after receiving the recycled mobile phone to observe the fingerprint function of the smart device to determine whether the fingerprint function of the smart device is abnormal. The other is to install a detection application on the mobile phone. Its detection mechanism is to call the fingerprint API (Application Programming Interface) publicly available by the smart device manufacturer, and use the fingerprint API's return results as the basis for judging whether the fingerprint function is functioning properly.

[0005] However, smart devices often cannot install applications during the recycling process, making it difficult to meet the fingerprint API call requirements. Manual detection is labor-intensive and the detection results are unstable. Therefore, the traditional method of detecting whether the fingerprint function of smart devices is normal still has some shortcomings. Summary of the Invention

[0006] Based on this, it is necessary to provide a fingerprint function detection method and device to address the shortcomings of traditional methods for detecting whether the fingerprint function of smart devices is normal.

[0007] A fingerprint function detection method comprises the steps of:

[0008] Obtain the fingerprint operation log of the smart device to be detected;

[0009] Determine the running status of the fingerprint device of the smart device to be detected based on the fingerprint running log;

[0010] When the running state matches the preset running state, determining the characteristic data of the fingerprint running log; wherein the characteristic data corresponds to the running state one by one;

[0011] Determine the fingerprint function status of the smart device to be detected based on the feature data.

[0012] The above-mentioned fingerprint function detection method, after obtaining the fingerprint operation log of the smart device to be detected, determines the operating status of the fingerprint device of the smart device to be detected based on the fingerprint operation log. Furthermore, when the operating status matches the preset operating status, the characteristic data of the fingerprint operation log is determined, and the fingerprint function status of the smart device to be detected is determined based on the characteristic data. Based on this, a large amount of manual operation is required, reducing the detection workload and detection time. In addition, based on the characteristics of the fingerprint function, the fingerprint function status of the smart device to be detected is determined based on the characteristic data. Even if the calling application of the fingerprint API cannot be installed, the fingerprint function of the smart device to be detected can be accurately detected, providing a recycling reference for the smart device to be detected.

[0013] In one embodiment, the process of obtaining the fingerprint operation log of the smart device to be detected includes the following steps:

[0014] Get the fingerprint operation log of the smart device to be detected within the preset time period.

[0015] In one embodiment, the process of determining the operating status of the fingerprint device of the smart device to be detected based on the fingerprint operation log includes the steps of:

[0016] According to the classification of the fingerprint operation log, the operation status of the fingerprint device of the smart device to be detected is determined; wherein one operation status corresponds to one type of fingerprint operation log.

[0017] In one embodiment, when the running state matches the preset running state, the process of determining the characteristic data of the fingerprint running log includes the steps of:

[0018] When the operating states form a complete operating process in a preset time sequence, determining that the operating state matches the preset operating state;

[0019] When the running state matches the preset running state, the flag data of each running state is used as feature data.

[0020] In one embodiment, the process of determining the fingerprint function status of the smart device to be detected based on the feature data includes the steps of:

[0021] Obtaining assignment data based on the matching results of each feature data and the preset data;

[0022] The fingerprint function status of the smart device to be detected is determined based on the matching result of the combination of each assigned data and the preset data combination.

[0023] In one embodiment, the fingerprint function status includes unknown fingerprint function status, normal fingerprint function status, or abnormal fingerprint function status.

[0024] In one embodiment, the steps are further included:

[0025] When the data stream corresponding to the fingerprint operation log is empty, it is determined that the fingerprint function status of the smart device to be detected is unknown.

[0026] A fingerprint function detection device, comprising:

[0027] Log acquisition module, used to obtain fingerprint operation logs of the smart device to be detected;

[0028] A status determination module is used to determine the operating status of the fingerprint device of the smart device to be detected according to the fingerprint operation log;

[0029] A data determination module, configured to determine characteristic data of the fingerprint operation log when the operation state matches the preset operation state; wherein the characteristic data corresponds to the operation state in a one-to-one manner;

[0030] The status detection module is used to determine the fingerprint function status of the smart device to be detected based on the feature data.

[0031] The above-mentioned fingerprint function detection device, after obtaining the fingerprint operation log of the smart device to be detected, determines the operation status of the fingerprint device of the smart device to be detected based on the fingerprint operation log. Furthermore, when the operation status matches the preset operation status, the characteristic data of the fingerprint operation log is determined, and the fingerprint function status of the smart device to be detected is determined based on the characteristic data. Based on this, a large amount of manual operation is required, which reduces the detection workload and detection time. In addition, based on the characteristics of the fingerprint function, the fingerprint function status of the smart device to be detected is determined based on the characteristic data. Even if the calling application of the fingerprint API cannot be installed, the fingerprint function of the smart device to be detected can be accurately detected, providing a recycling reference for the smart device to be detected.

[0032] A computer storage medium stores computer instructions, which, when executed by a processor, implement the fingerprint function detection method of any of the above embodiments.

[0033] After obtaining the fingerprint operation log of the smart device to be detected, the computer storage medium described above determines the operating status of the fingerprint device of the smart device to be detected based on the fingerprint operation log. Furthermore, when the operating status matches the preset operating status, the characteristic data of the fingerprint operation log is determined, and the fingerprint function status of the smart device to be detected is determined based on the characteristic data. Based on this, a large amount of manual operation is required, reducing the detection workload and detection time. In addition, based on the characteristics of the fingerprint function, the fingerprint function status of the smart device to be detected is determined based on the characteristic data. Even if the calling application of the fingerprint API cannot be installed, the fingerprint function of the smart device to be detected can be accurately detected, providing a recovery reference for the smart device to be detected.

[0034] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the fingerprint function detection method of any of the above embodiments is implemented.

[0035] After obtaining the fingerprint operation log of the smart device to be detected, the computer device described above determines the operating status of the fingerprint device of the smart device to be detected based on the fingerprint operation log. Furthermore, when the operating status matches a preset operating status, the computer device determines the characteristic data of the fingerprint operation log and, based on the characteristic data, determines the fingerprint function status of the smart device to be detected. This eliminates the need for extensive manual operations, reducing both the workload and the time required for detection. Furthermore, based on the characteristics of fingerprint functions, determining the fingerprint function status of the smart device to be detected based on the characteristic data allows accurate detection of the fingerprint function of the smart device to be detected even when the application that calls the fingerprint API is unavailable, providing a reference for recovering the smart device to be detected. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 is a flow chart of a fingerprint function detection method according to one embodiment;

[0037] Figure 2 is a flow chart of a fingerprint function detection method according to another embodiment;

[0038] Figure 3 This is a module structure diagram of a fingerprint function detection device according to one embodiment;

[0039] Figure 4 A schematic diagram of the internal structure of a computer according to one embodiment. DETAILED DESCRIPTION

[0040] In order to better understand the purpose, technical solutions and technical effects of the present invention, the present invention is further explained below with reference to the accompanying drawings and embodiments. It is also stated that the embodiments described below are only used to illustrate the present invention and are not intended to limit the present invention.

[0041] During the recycling process of the smart device to be tested, the smart device to be tested can be recycled and tested through a self-service terminal or recycling machine. The self-service terminal or recycling machine can establish a data connection with the smart device to be tested through a wired or wireless connection to obtain corresponding data from the smart device to be tested or transmit corresponding data to the smart device to be tested. At the same time, the self-service terminal or recycling machine can serve as a computing platform for hardware testing, or send data to a cloud server for calculation. Based on this, a fingerprint function detection method is provided for hardware detection of the smart device to be tested during the recycling detection of the self-service terminal or recycling machine.

[0042] Figure 1 FIG. 1 is a flow chart of a fingerprint function detection method according to an embodiment of the present invention. Figure 1 As shown, a fingerprint function detection method according to an embodiment includes steps S100 to S103:

[0043] S100, obtaining the fingerprint operation log of the smart device to be detected;

[0044] After the fingerprint device of the smart device to be detected is turned on, it can perform multiple operations such as fingerprint registration, fingerprint unlocking, fingerprint pressing, or fingerprint pressing and releasing. After the fingerprint device is turned off, each operation ends. The fingerprint device is turned on and off. In one embodiment, fingerprint pressing triggers fingerprint registration, and fingerprint registration and fingerprint pressing and releasing constitute a complete operation process.

[0045] In one embodiment, the user or a third-party automatic operation device can actively perform corresponding operations on the fingerprint device according to corresponding prompts or instructions, such as fingerprint pressing, fingerprint entry, etc.

[0046] In one embodiment, the smart device to be detected includes an iOS device. A self-service terminal or recycling machine connects to the smart device via a USB data connection. The self-service terminal or recycling machine runs the usbmuxd daemon to establish a connection channel with the smart device to be detected, and communication is performed via this channel. After the connection channel is established, the self-service terminal or recycling machine launches the idevicesyslog log capture program to capture the system operation log of the smart device to be detected. The idevicesyslog program reads the operation log of the smart device to be detected and stores it in a log cache list to be analyzed. The system operation log includes the fingerprint operation log of the smart device to be detected.

[0047] In one embodiment, Figure 2 FIG. 1 is a flow chart of a fingerprint function detection method according to another embodiment of the present invention. Figure 2 As shown, the process of obtaining the fingerprint operation log of the smart device to be detected in step S100 includes step S200:

[0048] S200: Obtain fingerprint operation logs of the smart device to be detected within a preset time period.

[0049] In one embodiment, the preset time period can be adjusted based on the number of fingerprint device operation stages or device type of the smart device to be detected. By determining the preset time period, the number of fingerprint operation logs obtained is limited, reducing the subsequent data processing volume. As a preferred embodiment, the preset time period provides sufficient time to capture fingerprint operation logs for each operation stage.

[0050] S101, determining the operating status of the fingerprint device of the smart device to be detected according to the fingerprint operation log;

[0051] The fingerprint operation log includes multiple types of logs according to the operation of the fingerprint device. In one embodiment, the fingerprint operation log includes a fingerprint press log, a fingerprint entry and recognition log, or a fingerprint release log.

[0052] Based on this, in one embodiment, the process of determining the operating status of the fingerprint device of the smart device to be detected according to the fingerprint operation log in step S101 includes step S201:

[0053] S201, determining the operation status of the fingerprint device of the smart device to be detected according to the classification of the fingerprint operation log; wherein one operation status corresponds to one type of fingerprint operation log.

[0054] In one embodiment, the running status corresponding to the fingerprint pressing log includes normal pressing or abnormal pressing; the running status corresponding to the fingerprint entry log includes abnormal fingerprint entry or normal fingerprint entry; the fingerprint release log after pressing includes normal release after pressing or abnormal release after pressing.

[0055] S102, when the running state matches the preset running state, determining feature data of the fingerprint running log; wherein the feature data corresponds to the running state in a one-to-one manner;

[0056] The preset running state matching is performed based on the difference in running state corresponding to the fingerprint pressing log. Different running states generate different feature data, and the feature data is associated with the running state difference.

[0057] In one embodiment, Figure 2 As shown, in step S102, when the running state matches the preset running state, the process of determining the characteristic data of the fingerprint running log includes steps S202 and S203:

[0058] S202, when the operating states form a complete operating process in a preset time sequence, determining that the operating state matches the preset operating state;

[0059] S203: When the running state matches the preset running state, the flag data of each running state is used as feature data.

[0060] Among them, the detection of whether the running state constitutes a complete running process is carried out before the feature data conversion. According to the operating characteristics of the fingerprint device, if the running state does not constitute a complete running process in a preset time sequence, the running state cannot accurately reflect the fingerprint function status of the smart device to be detected.

[0061] In one embodiment, the preset operating state includes a time sequence of normal or abnormal fingerprint pressing, normal or abnormal fingerprint entry and recognition, and normal or abnormal release after fingerprint pressing.

[0062] S103: Determine the fingerprint function status of the smart device to be detected based on the feature data.

[0063] The fingerprint function status of the smart device to be detected is determined according to the corresponding relationship or conversion relationship of the feature data.

[0064] In one embodiment, Figure 2 As shown, the process of determining the fingerprint function status of the smart device to be detected based on the feature data in step S103 includes steps S204 and S205:

[0065] S204, obtaining assignment data based on the matching results of each feature data and the preset data;

[0066] S205: Determine the fingerprint function status of the smart device to be detected according to the matching result of the combination of each assigned data and the preset data combination.

[0067] Among them, the matching results between the feature data and the preset data include match and mismatch, which realizes the distinction of the assigned data, such as assignment 0 or assignment 1. Through the combination of each assigned data, the fixed data is determined and matched with the preset data combination. The fingerprint function status is determined according to the correspondence between the preset data combination and the fingerprint function status.

[0068] In one embodiment, the fingerprint function status includes unknown fingerprint function status, normal fingerprint function status, or abnormal fingerprint function status.

[0069] In one embodiment, Figure 2 As shown, another embodiment of the fingerprint function detection method further includes step S206:

[0070] S206: When the data stream corresponding to the fingerprint operation log is empty, it is determined that the fingerprint function status of the smart device to be detected is unknown.

[0071] In any of the above-mentioned embodiments, the fingerprint function detection method determines the operating status of the fingerprint device of the smart device to be detected based on the fingerprint operation log after obtaining the fingerprint operation log of the smart device to be detected. Furthermore, when the operating status matches the preset operating status, the characteristic data of the fingerprint operation log is determined, and the fingerprint function status of the smart device to be detected is determined based on the characteristic data. Based on this, a large amount of manual operation is required, which reduces the detection workload and detection time. In addition, based on the characteristics of the fingerprint function, the fingerprint function status of the smart device to be detected is determined based on the characteristic data. Even if the calling application of the fingerprint API cannot be installed, the fingerprint function of the smart device to be detected can be accurately detected, providing a recycling reference for the smart device to be detected.

[0072] An embodiment of the present invention also provides a fingerprint function detection device.

[0073] Figure 3 FIG. 1 is a module structure diagram of a fingerprint function detection device according to an embodiment of the present invention. Figure 3 As shown, a fingerprint function detection device according to one embodiment includes modules 100, 101, 102, and 103:

[0074] The log acquisition module 100 is used to obtain the fingerprint operation log of the smart device to be detected;

[0075] A status determination module 101 is configured to determine the operating status of the fingerprint device of the smart device to be detected based on the fingerprint operation log;

[0076] The data determination module 102 is configured to determine characteristic data of the fingerprint operation log when the operation state matches the preset operation state; wherein the characteristic data corresponds to the operation state in a one-to-one manner;

[0077] The status detection module 103 is used to determine the fingerprint function status of the smart device to be detected based on the feature data.

[0078] The above-mentioned fingerprint function detection device, after obtaining the fingerprint operation log of the smart device to be detected, determines the operation status of the fingerprint device of the smart device to be detected based on the fingerprint operation log. Furthermore, when the operation status matches the preset operation status, the characteristic data of the fingerprint operation log is determined, and the fingerprint function status of the smart device to be detected is determined based on the characteristic data. Based on this, a large amount of manual operation is required, which reduces the detection workload and detection time. In addition, based on the characteristics of the fingerprint function, the fingerprint function status of the smart device to be detected is determined based on the characteristic data. Even if the calling application of the fingerprint API cannot be installed, the fingerprint function of the smart device to be detected can be accurately detected, providing a recycling reference for the smart device to be detected.

[0079] An embodiment of the present invention further provides a computer storage medium storing computer instructions, which, when executed by a processor, implement the fingerprint function detection method of any of the above embodiments.

[0080] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0081] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention, or the part that contributes to the relevant technology, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a number of instructions for enabling a computer device (which can be a personal computer, terminal, or network device, etc.) to execute all or part of the methods of each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, RAM, ROM, magnetic disks or optical disks.

[0082] Corresponding to the above-mentioned computer storage medium, in one embodiment, a computer device is also provided, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any one of the fingerprint function detection methods in the above-mentioned embodiments is implemented.

[0083] The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 4 As shown. The computer device includes a processor, memory, network interface, display screen and input device connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a fingerprint function detection method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad provided on the computer device housing, or an external keyboard, touchpad or mouse, etc.

[0084] After obtaining the fingerprint operation log of the smart device to be detected, the computer device determines the operating status of the fingerprint device of the smart device to be detected based on the fingerprint operation log. Furthermore, when the operating status matches a preset operating status, the computer device determines the characteristic data of the fingerprint operation log and, based on the characteristic data, determines the fingerprint function status of the smart device to be detected. This eliminates the need for extensive manual operations, reducing the detection workload and time. Furthermore, based on the characteristics of fingerprint functions, determining the fingerprint function status of the smart device to be detected based on the characteristic data allows accurate detection of the fingerprint function of the smart device to be detected even when the application calling the fingerprint API is not installed, providing a reference for recovering the smart device to be detected.

[0085] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0086] The above embodiments merely illustrate several implementations of the present invention, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the patent. It should be noted that a person skilled in the art would be able to make various modifications and improvements without departing from the spirit of the present invention, all of which fall within the scope of protection of the present invention. Therefore, the scope of protection of the patent for this invention shall be determined by the appended claims.

Claims

1. A fingerprint function detection method, characterized in that: Includes steps: Obtain the fingerprint operation log of the smart device to be detected; Determine the operation status of the fingerprint device of the smart device to be detected according to the fingerprint operation log; When the running state matches the preset running state, determining the characteristic data of the fingerprint running log; wherein the characteristic data corresponds to the running state one by one; Determine the fingerprint function status of the smart device to be detected according to the characteristic data; The process of obtaining the fingerprint operation log of the smart device to be detected includes the following steps: Obtaining the fingerprint operation log of the smart device to be detected within a preset time period; The process of determining the operating status of the fingerprint device of the to-be-detected smart device according to the fingerprint operation log comprises the steps of: According to the classification of the fingerprint operation log, determine the operation status of the fingerprint device of the smart device to be detected; wherein one operation status corresponds to one type of fingerprint operation log; The process of determining the characteristic data of the fingerprint operation log when the operation state matches the preset operation state comprises the steps of: When the operating states form a complete operating process in a preset time sequence, determining that the operating state matches the preset operating state; When the operating state matches the preset operating state, using the flag data of each operating state as the characteristic data; The process of determining the fingerprint function status of the smart device to be detected according to the characteristic data comprises the steps of: Obtaining assignment data according to the matching results between each of the characteristic data and the preset data; Determine the fingerprint function status of the smart device to be detected according to the matching result of the combination of each of the assigned data and the preset data combination; The fingerprint function status includes unknown fingerprint function status, normal fingerprint function status or abnormal fingerprint function status; The fingerprint function state further comprises the steps of: When the data stream corresponding to the fingerprint operation log is empty, it is determined that the fingerprint function state of the to-be-detected smart device is unknown.

2. A computer storage medium having computer instructions stored thereon, characterized in that: When the computer instructions are executed by a processor, the fingerprint function detection method according to claim 1 is implemented.

3. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the fingerprint function detection method as claimed in claim 1 is implemented.

Citation Information

Patent Citations

  • Method and device for detecting abnormal operation of fingerprint module and terminal device

    CN106681906A

  • Abnormity handling method and system based on log analysis, terminal and medium

    CN111221702A