CN109144590B - Mobile terminal fingerprint data processing method, mobile terminal and storage medium - Google Patents

Mobile terminal fingerprint data processing method, mobile terminal and storage medium Download PDF

Info

Publication number
CN109144590B
CN109144590B CN201810983470.2A CN201810983470A CN109144590B CN 109144590 B CN109144590 B CN 109144590B CN 201810983470 A CN201810983470 A CN 201810983470A CN 109144590 B CN109144590 B CN 109144590B
Authority
CN
China
Prior art keywords
fingerprint
function
code
mobile terminal
chip
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
CN201810983470.2A
Other languages
Chinese (zh)
Other versions
CN109144590A (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.)
TCL Mobile Communication Technology Ningbo Ltd
Original Assignee
TCL Mobile Communication Technology Ningbo 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 TCL Mobile Communication Technology Ningbo Ltd filed Critical TCL Mobile Communication Technology Ningbo Ltd
Priority to CN201810983470.2A priority Critical patent/CN109144590B/en
Publication of CN109144590A publication Critical patent/CN109144590A/en
Application granted granted Critical
Publication of CN109144590B publication Critical patent/CN109144590B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Image Input (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a mobile terminal fingerprint data processing method, a mobile terminal and a storage medium, wherein the method comprises the following steps: acquiring the operation of a user on a certain function of the fingerprint, and generating a fingerprint operation code; judging whether the fingerprint operation instruction in the fingerprint operation code is a fingerprint opening operation, if so, adding the fingerprint operation code at the tail end of the code storage module, searching a corresponding fingerprint function according to the fingerprint function number in the fingerprint operation code, and resetting the fingerprint chip to start the fingerprint function. By the method, when a user opens the fingerprint function A and then puts the fingerprint function A into the background, and then opens another fingerprint function B and closes the fingerprint function B, the fingerprint function A running in the background is not closed. Therefore, the influence of the fingerprint function opened after the plurality of functions are closed by using the same fingerprint chip on the previously opened fingerprint function in the prior art is effectively solved, and convenience is provided for a user.

Description

Mobile terminal fingerprint data processing method, mobile terminal and storage medium
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a mobile terminal fingerprint data processing method, a mobile terminal and a storage medium.
Background
At present, more and more mobile terminals are provided with fingerprint identification modules in order that users use the mobile terminals more safely and more humanizedly. The user only needs to enter the fingerprint in advance in the mobile terminal configured with the fingerprint identification module, and then sets the relevant application program for starting the fingerprint, for example, the user unlocks the mobile terminal through the fingerprint, carries out mobile payment through the fingerprint, and the like. Therefore, after the fingerprint is recorded, the fingerprint may be used by a plurality of application programs, and the applications which generally use the fingerprint are as follows:
mobile payment; unlocking; some private functionality is entered.
The fingerprint functions are all realized by the same fingerprint chip in the mobile terminal, but the application software corresponding to each fingerprint function only focuses on the function of the application software, so that when a user opens the fingerprint function a (for example, a program unlocked by using a fingerprint is opened), the fingerprint function a is put into the background, and then opens another fingerprint function B (for example, a program for mobile payment by using a fingerprint is opened) and closes the fingerprint function B, which causes the fingerprint function a running in the background to be closed. The reason is that the fingerprint functions are independent from each other on the application program, but the same fingerprint chip is controlled; when one function is closed, the fingerprint chip is turned off, so that other functions using fingerprints are also indirectly closed, and the functions are sometimes inconvenient for users to use.
Accordingly, the prior art is yet to be improved and developed.
Disclosure of Invention
In view of the above-mentioned shortcomings of the prior art, the present invention is directed to provide a method for processing fingerprint data of a mobile terminal, a mobile terminal and a storage medium, which can effectively solve the problem in the prior art that the closed fingerprint function is affected by the previously opened fingerprint function due to the use of the same fingerprint chip by a plurality of functions, thereby providing convenience for the user.
In order to achieve the purpose, the invention adopts the following technical scheme:
a mobile terminal fingerprint data processing method comprises the following steps:
a, when a mobile terminal is started, acquiring all applications related to fingerprints in the mobile terminal, and allocating a unique fingerprint function number to each application; establishing a corresponding relation between the fingerprint function number and the fingerprint application;
b, obtaining the operation of the user on a certain function of the fingerprint at this time, and generating a fingerprint operation code;
and C, judging whether the fingerprint operation instruction in the fingerprint operation code is the fingerprint opening operation or not, if so, adding the fingerprint operation code at the tail end of the code storage module, searching the corresponding fingerprint function according to the fingerprint function number in the fingerprint operation code, resetting the fingerprint chip, starting the fingerprint function, and configuring the fingerprint chip into the setting of the function.
The fingerprint data processing method of the mobile terminal, wherein the step C further comprises:
c11, when judging that the fingerprint operation instruction in the fingerprint operation code is a fingerprint closing operation; deleting the fingerprint operation code recorded at the tail end in the code storage module, and then executing the step C12;
c13, judging whether the fingerprint operation code of the code storage module is empty, if so, executing the step C14, and if not, executing the step C15;
c14, turning off the fingerprint chip;
and C15, finding out the corresponding fingerprint function according to the fingerprint function number in the fingerprint operation code, resetting the fingerprint chip, restarting the fingerprint function, and configuring the fingerprint chip into the setting of the function.
A mobile terminal, comprising: the fingerprint chip, the processor, the memory and the communication bus;
the memory stores a mobile terminal fingerprint data processing program executable by the processor;
the processor is connected with the memory through the communication bus for communication, and the fingerprint chip is connected with the processor through the communication bus;
the processor comprises an operation acquisition module, an operation coding module, a judgment and execution module and a coding storage module which are sequentially connected;
the operation acquisition module is used for acquiring the operation of each function related to the fingerprint of the user; the acquired information comprises a fingerprint function number and a fingerprint operation instruction;
the operation coding module is used for coding a fingerprint operation code according to the fingerprint function number and the fingerprint operation instruction acquired by the operation acquisition module, and the operation coding module codes the fingerprint function number and the fingerprint operation instruction acquired by the operation acquisition module into a format as follows: a fingerprint function number plus fingerprint operation instruction;
the judging and executing module is used for judging or executing the fingerprint operation code obtained by the operation code; judging whether the fingerprint operation instruction in the fingerprint operation code is the fingerprint opening operation or not, if so, adding the fingerprint operation code at the tail end of the code storage module, searching the corresponding fingerprint function according to the fingerprint function number in the fingerprint operation code, resetting the fingerprint chip, restarting the fingerprint function, and configuring the fingerprint chip into the setting of the function.
The mobile terminal, wherein the processor further comprises:
the registration module is used for acquiring all fingerprint-related applications in the mobile terminal when the mobile terminal is started, distributing a unique fingerprint function number to each application, and establishing a corresponding relation between the fingerprint function number and the fingerprint application.
The mobile terminal, wherein the fingerprint function number is a number used for identifying functions related to each fingerprint, and the function number of each fingerprint function is different.
The mobile terminal, wherein the fingerprint operation instruction only has two instructions of opening and closing, the opening is represented by 1, and the closing is represented by 0; when a certain fingerprint function is opened, the fingerprint operation instruction is opened, and when the certain fingerprint function is closed, the fingerprint operation instruction is closed.
The mobile terminal, wherein the processor further implements the following steps when executing the mobile terminal fingerprint data processing program:
c11, when judging that the fingerprint operation instruction in the fingerprint operation code is a fingerprint closing operation; deleting the fingerprint operation code recorded at the tail end in the code storage module, and then executing the step C12;
c13, judging whether the fingerprint operation code of the code storage module is empty, if so, executing the step C14, and if not, executing the step C15;
c14, turning off the fingerprint chip;
and C15, finding out the corresponding fingerprint function according to the fingerprint function number in the fingerprint operation code, resetting the fingerprint chip, restarting the fingerprint function, and configuring the fingerprint chip into the setting of the function.
A computer readable storage medium, wherein the computer readable storage medium stores one or more programs, which are executable by one or more processors to implement steps in a mobile terminal fingerprint data processing method as described.
Compared with the prior art, the mobile terminal fingerprint data processing method, the mobile terminal and the storage medium provided by the invention have the advantages that by the method, after the fingerprint function A is opened by a user, the fingerprint function A is placed in the background, and then the other fingerprint function B is opened and closed, so that the fingerprint function A running in the background is not closed. Therefore, the influence of the fingerprint function opened after the plurality of functions are closed by using the same fingerprint chip on the previously opened fingerprint function in the prior art is effectively solved, and convenience is provided for a user.
Drawings
Fig. 1 is a flowchart of a method for processing fingerprint data of a mobile terminal according to the present invention.
Fig. 2 is a functional block diagram of a mobile terminal according to a preferred embodiment of the invention.
FIG. 3 is a schematic diagram of a preferred embodiment of a processor of the present invention.
FIG. 4 is a flow chart of a determining and executing module of the present invention. Detailed Description
In order to make the objects, technical solutions and effects of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, the method for processing fingerprint data of a mobile terminal according to the present invention includes the following steps:
step S100, when the mobile terminal is started, acquiring all applications related to fingerprints in the mobile terminal, and distributing a unique fingerprint function number to each application; establishing a corresponding relation between the fingerprint function number and the fingerprint application;
for example, when the mobile terminal is powered on, all applications related to fingerprints in the mobile terminal are acquired as application X1, application X2, application X3 and application X4, and a unique fingerprint function number is assigned to each application as follows:
the fingerprint function number of application X1 is 111, the fingerprint function number of application X2 is 222, the fingerprint function number of application X3 is 333, and the fingerprint function number of application X4 is 444; and establishing a corresponding relation between the fingerprint function number and the fingerprint application, namely that the fingerprint function number 111 corresponds to the application X1, the fingerprint function number 222 corresponds to the application X2, the fingerprint function number 333 corresponds to the application X3, and the fingerprint function number 444 corresponds to the application X4.
Step S200, obtaining the operation of the user on a certain function of the fingerprint, and generating a fingerprint operation code;
specifically, the operation of a user on each function related to the fingerprint is acquired; the acquired information comprises a fingerprint function number and a fingerprint operation instruction;
wherein, the fingerprint function number;
the fingerprint operation instruction only comprises an opening instruction and a closing instruction, wherein the opening instruction is represented by 1, and the closing instruction is represented by 0; when a certain fingerprint function is opened, the fingerprint operation instruction is opened, and when the certain fingerprint function is closed, the fingerprint operation instruction is closed.
Further, a fingerprint operation code is compiled according to the acquired fingerprint function number and the acquired fingerprint operation instruction, and the operation coding module compiles the fingerprint function number and the fingerprint operation instruction acquired by the operation acquisition module into a format as follows: a fingerprint function number plus fingerprint operation instruction; in the above example, for example, if the fingerprint function number of the application X1 is 111, the command is on, then a fingerprint operation code is generated as 111plus1, and for example, if the fingerprint function number of the application X1 is 111, the command is off, then a fingerprint operation code is generated as 111plus 0.
Step S300, judging whether the fingerprint operation instruction in the fingerprint operation code is the fingerprint opening operation, if so, adding the fingerprint operation code at the tail end of the code storage module, searching the corresponding fingerprint function according to the fingerprint function number in the fingerprint operation code, resetting the fingerprint chip, then starting the fingerprint function, and configuring the fingerprint chip into the setting of the function.
For example, the fingerprint operation code is 111plus1, the fingerprint operation command is to open the fingerprint operation, the fingerprint operation code is added at the end of the code storage module, according to the fingerprint function number 111 in the fingerprint operation code, the corresponding fingerprint function is found to be application X1, then the fingerprint chip is reset to restart the fingerprint function, namely application X1, and the fingerprint chip is configured to be the setting of the function, namely application X1
Wherein, the step S300 further includes:
c11, when judging that the fingerprint operation instruction in the fingerprint operation code is a fingerprint closing operation; deleting the fingerprint operation code recorded at the tail end in the code storage module, and then executing the step C12;
c12, judging whether the fingerprint operation code of the code storage module is empty, if so, executing the step C13, and if not, executing the step C14;
c13, turning off the fingerprint chip;
and C14, finding out the corresponding fingerprint function according to the fingerprint function number in the fingerprint operation code, resetting the fingerprint chip, restarting the fingerprint function, and configuring the fingerprint chip into the setting of the function.
For example, the fingerprint operation code is 111plus0, and in step c11, the fingerprint operation command in the fingerprint operation code is determined to be a close fingerprint operation; deleting the fingerprint operation code recorded at the tail end in the code storage module, then executing the step C12 to judge whether the fingerprint operation code of the code storage module is empty, if so, executing the step C13 to close the fingerprint chip, if not, executing the step C14 to find the corresponding fingerprint function according to the fingerprint function number in the fingerprint operation code, then resetting the fingerprint chip to start the fingerprint function, and configuring the fingerprint chip to the setting of the function.
For another example, the fingerprint operation code is 111plus0, and in step c11, the fingerprint operation command in the fingerprint operation code is determined to be a close fingerprint operation; the fingerprint operation code recorded at the end is deleted in the code storage module, and then step C12 is executed to determine whether the fingerprint operation code of the code storage module is empty, and if the code storage module is empty, step C13 is executed to shut down the fingerprint chip. At this point no application needs to use the fingerprint, and it is reasonable to turn off the fingerprint.
For another example, the fingerprint operation code is 111plus0, and in step c11, the fingerprint operation command in the fingerprint operation code is determined to be a close fingerprint operation (according to the prior art, the fingerprint function is closed, and all applications cannot use fingerprints); deleting the fingerprint operation code recorded at the tail end in the code storage module, then executing step C12, namely judging whether the fingerprint operation code of the code storage module is empty, if the operation code at the tail end in the code storage module is 222plus1, executing step C14, namely finding the corresponding fingerprint function application X2 according to the fingerprint function number 222 in the fingerprint operation code, then resetting the fingerprint chip and starting the fingerprint function application X2, and configuring the fingerprint chip into the setting of the function application X2. Thereby enabling the X2 application to still use the fingerprint function.
By the method, when the user opens the fingerprint function A and then puts the fingerprint function A into the background, and then opens another fingerprint function B and closes the fingerprint function B, the fingerprint function A running in the background is not closed. Therefore, the influence of the fingerprint function opened after the plurality of functions are closed by using the same fingerprint chip on the previously opened fingerprint function in the prior art is effectively solved.
As shown in fig. 2, the present invention provides a mobile terminal, which may be a mobile phone, a desktop computer, a notebook, a palmtop computer, a server, and other computing devices. The mobile terminal comprises a processor 10, a memory 20, a display screen 30 and a fingerprint chip 60, wherein the processor 10 is connected with the memory 20 through a communication bus 50, the display screen 30 is connected with the processor 10 through the communication bus 50, and the fingerprint chip is connected with the processor through the communication bus. FIG. 2 shows only some of the components of the mobile terminal, but it is to be understood that not all of the shown components are required to be implemented, and that more or fewer components may be implemented instead;
the memory 20 may in some embodiments be an internal storage unit of the mobile terminal, such as a memory of the mobile terminal. The memory 20 may also be an external storage device of the mobile terminal in other embodiments, such as a plug-in usb disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the mobile terminal. Further, the memory 20 may also include both an internal storage unit and an external storage device of the mobile terminal. The memory 20 is used for storing application software installed in the mobile terminal and various data, such as program codes of the installed mobile terminal. The memory 20 may also be used to temporarily store data that has been output or is to be output. In one embodiment, the memory stores a mobile terminal fingerprint data processing program executable by the processor; the mobile terminal fingerprint data processing method program 40 can be executed by the processor 10, thereby implementing the mobile terminal fingerprint data processing method in the present application.
The processor 10 may be a Central Processing Unit (CPU), a microprocessor, a mobile phone baseband processor or other data Processing chip in some embodiments, and is configured to execute program codes stored in the memory 20 or process data, such as executing the fingerprint data Processing method of the mobile terminal.
The display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch panel, or the like in some embodiments. The display screen 30 is used for displaying information at the mobile terminal and for displaying a visual user interface.
As shown in fig. 3, the processor 10 further includes an operation obtaining module 110, an operation encoding module 120, a judging and executing module 130, and an encoding storage module 140, which are connected in sequence;
an operation acquiring module 110, configured to acquire operations of the user on various functions related to the fingerprint; the acquired information comprises a fingerprint function number and a fingerprint operation instruction; the fingerprint function number is a number used for identifying functions related to each fingerprint, and the function number of each fingerprint function is different; the fingerprint operation instruction only comprises an opening instruction and a closing instruction, wherein the opening instruction is represented by 1, and the closing instruction is represented by 0; when a certain fingerprint function is opened, the fingerprint operation instruction is opened, and when the certain fingerprint function is closed, the fingerprint operation instruction is closed.
In order to facilitate the operation of the obtaining module 110 to work normally, a registration module 150 is further provided in the processor 10, and the registration module 150 is configured to obtain all applications related to fingerprints in the mobile terminal when the mobile terminal is powered on, and assign a unique fingerprint function number to each application; therefore, it is possible to find out which fingerprint function is in the registration module 150 as long as the fingerprint function number is known.
An operation encoding module 120, which is used for encoding a fingerprint operation code according to the fingerprint function number and the fingerprint operation instruction acquired by the operation acquiring module 110, and the purpose of the operation encoding module 120 is to convert the operation of the user on the fingerprint function into a code for convenient storage and management; the operation encoding module 120 will format the fingerprint function number and the fingerprint operation instruction acquired by the operation acquiring module 110 as follows: the fingerprint function number plus fingerprint operation instruction.
A judging and executing module 130, configured to judge or execute the fingerprint operation code obtained by the operation coding module 120 of this time; specifically, as shown in fig. 4, the determining and executing module executes the following steps:
step S130-1, if the fingerprint operation instruction in the fingerprint operation code is 1, executing step S130-2; if the fingerprint operation instruction in the fingerprint operation code is 0, executing the step S130-3;
step S130-2, adding the fingerprint operation code at the last position of the code storage module 140, finding the corresponding fingerprint function in the registration module 150 according to the fingerprint function number in the fingerprint operation code, and then resetting the fingerprint chip 60 and starting the fingerprint function;
step S130-3, deleting the fingerprint operation code recorded at the tail end in the code storage module 140, and then executing step S130-4;
step S130-4, judging whether the code storage module 140 is empty, if so, closing the fingerprint chip, and if not, processing the fingerprint operation code recorded at the tail end of the code storage module 140;
in step S130-4, the processing of the fingerprint operation code recorded at the last of the code storage module 140 refers to finding the corresponding fingerprint function in the registration module 150 according to the fingerprint function number in the fingerprint operation code, and then resetting the fingerprint chip 60 to restart the fingerprint function.
For example, the fingerprint operation code is 111plus0, and in step c11, the fingerprint operation command in the fingerprint operation code is determined to be a close fingerprint operation; deleting the fingerprint operation code recorded at the tail end in the code storage module, then executing the step C12 to judge whether the fingerprint operation code of the code storage module is empty, if so, executing the step C13 to close the fingerprint chip, if not, executing the step C14 to find the corresponding fingerprint function according to the fingerprint function number in the fingerprint operation code, then resetting the fingerprint chip to start the fingerprint function, and configuring the fingerprint chip to the setting of the function.
For another example, the fingerprint operation code is 111plus0, and in step c11, the fingerprint operation command in the fingerprint operation code is determined to be a close fingerprint operation; the fingerprint operation code recorded at the end is deleted in the code storage module, and then step C12 is executed to determine whether the fingerprint operation code of the code storage module is empty, and if the code storage module is empty, step C13 is executed to shut down the fingerprint chip. At this point no application needs to use the fingerprint, and it is reasonable to turn off the fingerprint.
For another example, the fingerprint operation code is 111plus0, and in step c11, the fingerprint operation command in the fingerprint operation code is determined to be a close fingerprint operation (according to the prior art, the fingerprint function is closed, and all applications cannot use fingerprints); deleting the fingerprint operation code recorded at the tail end in the code storage module, then executing step C12, namely judging whether the fingerprint operation code of the code storage module is empty, if the operation code at the tail end in the code storage module is 222plus1, executing step C14, namely finding the corresponding fingerprint function application X2 according to the fingerprint function number 222 in the fingerprint operation code, then resetting the fingerprint chip and starting the fingerprint function application X2, and configuring the fingerprint chip into the setting of the function application X2. Thereby enabling the X2 application to still use the fingerprint function.
Wherein, the step S130-2 and the step S130-4 refer to "starting the fingerprint function", and further include configuring the fingerprint chip to a setting corresponding to the function;
a code storage module 140 for storing the currently opened fingerprint functions in sequence according to the starting time, wherein the earlier opened fingerprint function is arranged in front of the time, and the later opened fingerprint function is arranged behind the time; specifically, recorded in the code storage module 140 is a fingerprint operation code obtained by operating the encoding module 120 each time the fingerprint function is turned on;
when the processor executes the mobile terminal fingerprint data processing program, the following steps are realized:
step S1, when the mobile terminal is powered on, the registration module 150 obtains all applications related to the fingerprint in the mobile terminal, and assigns a unique fingerprint function number to each application; and establishes a corresponding relationship between the fingerprint function number and the fingerprint application in the registration module 150;
step S2, the operation obtaining module 110 obtains the operation of the user on a certain function of the fingerprint, and the operation encoding module 120 generates a fingerprint operation code;
step S3, judging whether the fingerprint operation command in the fingerprint operation code is 1, if so, executing step S4, otherwise, executing step S6;
step S4, adding the fingerprint operation code at the end of the code storage module 140, and then executing step S5;
step S5, finding the corresponding fingerprint function in the registration module 150 according to the fingerprint function number in the fingerprint operation code, then resetting the fingerprint chip 60 to restart the fingerprint function, and configuring the fingerprint chip to the setting of the function;
step S6, deleting the fingerprint operation code recorded at the end in the code storage module 140, and then executing step S7;
step S7, determining whether the code storage module 140 is empty, if so, executing step S8, and if not, executing step S9;
step S8, closing the fingerprint chip;
step S9, finding the corresponding fingerprint function in the registration module 150 according to the fingerprint function number in the fingerprint operation code, then resetting the fingerprint chip 60 to restart the fingerprint function, and configuring the fingerprint chip to the setting of the function.
For example, the fingerprint operation code is 111plus0, and in step c11, the fingerprint operation command in the fingerprint operation code is determined to be a close fingerprint operation (according to the prior art, the fingerprint function is closed, and all applications cannot use fingerprints); deleting the fingerprint operation code recorded at the tail end in the code storage module, then executing step C12, namely judging whether the fingerprint operation code of the code storage module is empty, if the operation code at the tail end in the code storage module is 222plus1, executing step C14, namely finding the corresponding fingerprint function application X2 according to the fingerprint function number 222 in the fingerprint operation code, then resetting the fingerprint chip and starting the fingerprint function application X2, and configuring the fingerprint chip into the setting of the function application X2. Thereby enabling the X2 application to still use the fingerprint function.
By the method and the device, when the user opens the fingerprint function A and then puts the fingerprint function A into the background, then opens another fingerprint function B and closes the fingerprint function B, the fingerprint function A running in the background is not closed. Therefore, the influence of the fingerprint function opened after the plurality of functions are closed by using the same fingerprint chip on the previously opened fingerprint function in the prior art is effectively solved.
Of course, it will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by a computer program instructing relevant hardware (such as a processor, a controller, etc.), and the program may be stored in a computer readable storage medium, and when executed, the program may include the processes of the above method embodiments. The storage medium may be a memory, a magnetic disk, an optical disk, etc.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.

Claims (5)

1. A mobile terminal fingerprint data processing method is characterized by comprising the following steps:
a, when a mobile terminal is started, acquiring all applications related to fingerprints in the mobile terminal, and allocating a unique fingerprint function number to each application; establishing a corresponding relation between the fingerprint function number and the fingerprint application;
b, acquiring the operation of the user on a certain function of the fingerprint, wherein the acquired information comprises a fingerprint function number and a fingerprint operation instruction, and generating a fingerprint operation code according to the acquired fingerprint function number and the fingerprint operation instruction;
c, judging whether a fingerprint operation instruction in the fingerprint operation code is a fingerprint opening operation or not, if so, adding the fingerprint operation code at the tail end of the code storage module, searching a corresponding fingerprint function according to a fingerprint function number in the fingerprint operation code, resetting the fingerprint chip, starting the fingerprint function, and configuring the fingerprint chip into the setting of the function;
the step C further comprises the following steps:
c11, when judging that the fingerprint operation instruction in the fingerprint operation code is a fingerprint closing operation; deleting the fingerprint operation code recorded at the tail end in the code storage module, and then executing the step C12;
c12, judging whether the fingerprint operation code of the code storage module is empty, if so, executing the step C13, and if not, executing the step C14;
c13, turning off the fingerprint chip;
and C14, finding out the corresponding fingerprint function according to the fingerprint function number in the fingerprint operation code, resetting the fingerprint chip, restarting the fingerprint function, and configuring the fingerprint chip into the setting of the function.
2. A mobile terminal, comprising: the fingerprint chip, the processor, the memory and the communication bus;
the memory stores a mobile terminal fingerprint data processing program executable by the processor;
the processor is connected with the memory through the communication bus for communication, and the fingerprint chip is connected with the processor through the communication bus;
the processor comprises an operation acquisition module, an operation coding module, a judgment and execution module and a coding storage module which are sequentially connected;
the operation acquisition module is used for acquiring the operation of each function related to the fingerprint of the user; the acquired information comprises a fingerprint function number and a fingerprint operation instruction;
the operation coding module is used for coding a fingerprint operation code according to the fingerprint function number and the fingerprint operation instruction acquired by the operation acquisition module, and the operation coding module codes the fingerprint function number and the fingerprint operation instruction acquired by the operation acquisition module into a format as follows: a fingerprint function number plus fingerprint operation instruction;
the judging and executing module is used for judging or executing the fingerprint operation code obtained by the operation code; judging whether a fingerprint operation instruction in the fingerprint operation code is a fingerprint opening operation or not, if so, adding the fingerprint operation code at the tail end of the code storage module, finding a corresponding fingerprint function according to a fingerprint function number in the fingerprint operation code, resetting a fingerprint chip, starting the fingerprint function, and configuring the fingerprint chip into the setting of the function;
the processor further comprises: the system comprises a registration module, a fingerprint application module and a fingerprint application module, wherein the registration module is used for acquiring all fingerprint-related applications in a mobile terminal when the mobile terminal is started, allocating a unique fingerprint function number to each application and establishing a corresponding relation between the fingerprint function numbers and the fingerprint applications;
when the processor executes the fingerprint data processing program of the mobile terminal, the following steps are also realized:
c11, when judging that the fingerprint operation instruction in the fingerprint operation code is a fingerprint closing operation; deleting the fingerprint operation code recorded at the tail end in the code storage module, and then executing the step C12;
c12, judging whether the fingerprint operation code of the code storage module is empty, if so, executing the step C13, and if not, executing the step C14;
c13, turning off the fingerprint chip;
and C14, finding out the corresponding fingerprint function according to the fingerprint function number in the fingerprint operation code, resetting the fingerprint chip, restarting the fingerprint function, and configuring the fingerprint chip into the setting of the function.
3. The mobile terminal of claim 2, wherein the fingerprint function number is a number for identifying each fingerprint-related function, and the function number of each fingerprint function is different.
4. The mobile terminal according to claim 2, wherein the fingerprint operation command has only two commands of opening and closing, wherein 1 is used for opening and 0 is used for closing; when a certain fingerprint function is opened, the fingerprint operation instruction is opened, and when the certain fingerprint function is closed, the fingerprint operation instruction is closed.
5. A computer-readable storage medium, characterized in that the computer-readable storage medium stores one or more programs, which are executable by one or more processors to implement the steps in the mobile terminal fingerprint data processing method according to claim 1.
CN201810983470.2A 2018-08-27 2018-08-27 Mobile terminal fingerprint data processing method, mobile terminal and storage medium Active CN109144590B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810983470.2A CN109144590B (en) 2018-08-27 2018-08-27 Mobile terminal fingerprint data processing method, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810983470.2A CN109144590B (en) 2018-08-27 2018-08-27 Mobile terminal fingerprint data processing method, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN109144590A CN109144590A (en) 2019-01-04
CN109144590B true CN109144590B (en) 2021-11-23

Family

ID=64828523

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810983470.2A Active CN109144590B (en) 2018-08-27 2018-08-27 Mobile terminal fingerprint data processing method, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN109144590B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104823434A (en) * 2013-11-15 2015-08-05 Lg电子株式会社 Mobile terminal and method of controlling the same
CN105868709A (en) * 2016-03-28 2016-08-17 北京小米移动软件有限公司 Method and apparatus for closing fingerprint identifying function
CN107451577A (en) * 2017-08-09 2017-12-08 锤子科技(北京)股份有限公司 A kind of terminal and fingerprint identification method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010061577A (en) * 2008-09-05 2010-03-18 Fujitsu Ltd Function starting device, function starting method, and function start processing program
CN105302329A (en) * 2014-05-27 2016-02-03 姚文杰 Fingerprint code input method and apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104823434A (en) * 2013-11-15 2015-08-05 Lg电子株式会社 Mobile terminal and method of controlling the same
CN105868709A (en) * 2016-03-28 2016-08-17 北京小米移动软件有限公司 Method and apparatus for closing fingerprint identifying function
CN107451577A (en) * 2017-08-09 2017-12-08 锤子科技(北京)股份有限公司 A kind of terminal and fingerprint identification method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"华为Mate9如何使用指纹访问应用锁";亿智蘑菇;《http://www.yzmg.com/jiaocheng/169757.html》;20161221;第1-3页 *

Also Published As

Publication number Publication date
CN109144590A (en) 2019-01-04

Similar Documents

Publication Publication Date Title
CN110085224B (en) Intelligent terminal whole-course voice control processing method, intelligent terminal and storage medium
WO2020015190A1 (en) Method for generating business rule, electronic device, and readable storage medium
CN107113349B (en) The method of terminal device and identification fingerprint
CN109656608A (en) A kind of MCU firmware upgrade method and its relevant device
CN107832134B (en) Multitasking method, application server and storage medium
CN110727595B (en) Application login interface identification method, intelligent terminal and storage medium
CN109766273A (en) Localization method, device, computer equipment and the storage medium of endless loop
CN110737463A (en) analysis method of key function source information, intelligent terminal and storage medium
CN102346456A (en) Programmable intelligent terminal device and programmable intelligent terminal operation method
CN107729341B (en) Electronic device, information inquiry control method, and computer-readable storage medium
CN109144590B (en) Mobile terminal fingerprint data processing method, mobile terminal and storage medium
CN104137074A (en) Optimization of resource usage in a multi-environment computing system
CN111158777B (en) Component calling method, device and computer readable storage medium
CN112529711A (en) Transaction processing method and device based on block chain virtual machine multiplexing
CN110399166B (en) ME Nonce value saving method, device, equipment and storage medium
CN114741121B (en) Method and device for loading module and electronic equipment
CN105446785A (en) Method and system for unloading application program
CN114741260A (en) Interface compatibility detection method and device, electronic equipment and storage medium
CN110968566A (en) Migration tool-based domestic application system migration method
CN109670294B (en) Mobile terminal multi-file classification processing method, mobile terminal and storage medium
CN114650436B (en) Remote control method, device, equipment and medium based on background service
CN108388370B (en) Mobile terminal touch screen interruption detection method, mobile terminal and storage medium
CN109451136B (en) Mobile terminal contact information processing method, mobile terminal and storage medium
CN111444253A (en) Data import method and device, computer readable storage medium and computer equipment
CN113885963B (en) Secondary development file execution method, device 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