Control method and system of application programTechnical Field
The invention relates to the field of electronic communication, in particular to a control method and a control system for an application program.
Background
Fingerprint identification is to identify by comparing minutiae of different fingerprints. Today, fingerprint identification technology has been applied to various terminal devices, such as smart phones, and users can be authenticated through fingerprint identification, and after the users are authenticated, corresponding usage rights can be obtained. Similarly, the gesture operation technology and the pressure screen technology are widely applied and rapidly developed on the mobile terminal, and through the support of different sensors, the terminal equipment can increasingly sense the change of the thinking of the user and translate the change into the language of human-computer interaction, but the fingerprint identification, the gesture operation technology and the pressure screen technology on the current terminal have single functions, cannot sense rich languages contained in the operation actions of the user, cannot sense the slight change of the operation, and further has defects in the aspect of the mutual translation of the human-computer interaction language.
In the prior art, although the method is also applied to fingerprint identification to realize the control of the application program, the method is relatively simple, and the phenomena of program confusion, screen blackness, crash and the like are easily caused.
Disclosure of Invention
The purpose of the invention is: the application program is controlled in a grading way through fingerprint information, pressing gestures and pressing gesture force values, and systematic application program function control is achieved.
The technical scheme for realizing the purpose is as follows: a control method of an application program is applied to touch equipment, and comprises the steps of defining a first mapping relation between a pressing gesture and the application program, defining a second mapping relation between a pressing gesture force value and an application program function, and generating a fingerprint information database;
when a user operates the touch equipment, a touch screen of the touch equipment collects fingerprint information and collects a pressing gesture and a pressing gesture force value at the same time; the touch control equipment processes the collected fingerprint information, the pressing gesture and the pressing force gesture value; the touch device controls the function of the application program through the first mapping relation and the second mapping relation.
Further, after the fingerprint information is collected, the touch control equipment matches the collected fingerprint information with the fingerprint information in the database; and if the matching is successful, determining that the user is a legal user.
Further, after the fingerprints are successfully matched, the touch control device matches the collected pressing gestures with a pre-stored first mapping relation, and if the matching is successful, the corresponding application program is started.
Further, after the pressing gesture is successfully matched, the touch control equipment matches the collected pressing gesture force value with a second mapping relation; and if the matching is successful, responding to the corresponding application program function.
Further, when defining the first mapping relationship, a plurality of press gestures are defined, each press gesture corresponding to an application.
Further, when defining the second mapping relationship, dividing the force value of the pressing gesture into a plurality of levels according to the numerical value or interval of the force value, wherein each level corresponds to an application function under a corresponding application.
Further, when the user operates the touch device, the touch screen of the touch device collects the pressing force gesture value, performs analog-to-digital conversion on the pressing force gesture value, and puts the digital pressing force gesture value and the program function corresponding to the force value on the touch screen to remind the user of adjusting the pressing force in time.
Another object of the invention is: a control system for an application is provided.
The technical scheme for realizing the purpose is as follows: a control system for an application program includes
The fingerprint acquisition module is used for acquiring fingerprint information of a finger;
the data or information acquisition module is used for acquiring fingerprint information, pressing gestures and pressing gesture force values during finger operation;
the processor is used for analyzing and matching the fingerprint information, the pressing gesture and the pressing gesture force value obtained by the module during the finger operation;
a response module for responding the matched result;
and the database is used for storing data and information, including the first mapping relation, the second mapping relation and the fingerprint information acquired by the fingerprint acquisition module.
Further, the control system of the application program further comprises a setting module for setting the first mapping relationship and the second mapping relationship.
Further, the data or information acquisition module comprises
The fingerprint reading module is used for reading fingerprint information of a user during finger operation in real time;
the pressing gesture acquisition module is used for acquiring the pressing gesture of the finger of the user in real time;
and the pressing gesture force value acquisition module is used for acquiring the pressing gesture force value of the finger of the user in real time.
The invention has the advantages that: according to the control method and the system of the application program, the touch or operation of the touch screen of the mobile terminal can be effectively reduced under the unconscious condition according to the definition and detection judgment of the fingerprint information, the pressing gesture and the force value of the pressing gesture, so that the misoperation caused by the response entering the operable state is generated, the user requirement is more comprehensively met, the correct recognition rate of the black screen gesture is improved, the operation experience of the user is obviously improved, and the cruising ability of the mobile phone is improved; various controls on the terminal application program can be realized; fingerprint identification, gesture operation technology and pressure screen technology are effectively combined, and better human-computer interaction experience can be obtained.
Drawings
The invention is further explained below with reference to the figures and examples.
Fig. 1 is a schematic block diagram of a control system of an application program according to embodiment 1 of the present invention.
Fig. 2 is a flowchart of the steps of the control method of the application program in embodiment 1 of the method of the present invention.
Fig. 3 is a flowchart of the steps of the control method of the application program according to embodiment 3 of the method of the present invention.
Wherein,
1, a fingerprint acquisition module; 2, a data or information acquisition module;
3, a processor; 4 a response module;
5, a database; 6, setting a module;
21 fingerprint reading module; 22 pressing the gesture acquisition module;
23 pressing gesture force value acquisition module.
Detailed Description
The following description of the embodiments refers to the accompanying drawings for illustrating the specific embodiments in which the invention may be practiced.
Embodiment 1, as shown in fig. 1, a control system of an application includes a fingerprint acquisition module 1, a data or information acquisition module 2, a processor 3, a response module 4, a database 5, and a setting module 6.
The control system of the embodiment is integrated in a touch device, such as a mobile phone, a tablet computer, and the like.
Specifically, the fingerprint collection module 1 is configured to collect fingerprint information, and the collected fingerprint information is stored in the database 5. The fingerprint collecting module 1 is used for collecting fingerprints of users to form a fingerprint database, and is used for judging and comparing whether the current user is a user in the fingerprint database. The fingerprint acquisition module 1 in the embodiment is a fingerprint acquisition device based on a biological radio frequency fingerprint identification technology, the fingerprint acquisition device transmits a trace radio frequency signal through a sensor, penetrates through the epidermal layer of a finger to control and measure the texture of the inner layer, so as to obtain the best fingerprint image, the anti-counterfeiting fingerprint capability is strong, and the anti-counterfeiting fingerprint acquisition device only reacts on human dermis skin, so that the problem of artificial fingerprints is fundamentally solved.
The data or information acquisition module 2 is used for acquiring fingerprint information, pressing gestures and pressing gesture force values during user operation. Specifically, the data or information acquiring module 2 includes a fingerprint reading module 21, a pressing gesture acquiring module 22, and a pressing gesture force value acquiring module 23.
The fingerprint reading module 21 is used for reading fingerprint information of a user during finger operation in real time. In this embodiment, the fingerprint collection module 1 and the fingerprint reading module 21 may be integrated into the same module. Of course, the fingerprint collection module 1 and the fingerprint reading module 21 may be separately disposed, and in order to save cost, they are integrated into the same module.
The pressing gesture obtaining module 22 is used for obtaining the pressing gesture of the user finger in real time. The pressing gesture obtaining module 22 may be a sensor for obtaining a pressing gesture by using an infrared sensing technology, or may be a sensor for obtaining a pressing gesture by using a pressure sensing technology. The pressing gesture force value obtaining module 23 is configured to obtain a pressing gesture force value of a finger of the user in real time. Therefore, considering the cost of the embodiment, the pressing gesture obtaining module 22 and the pressing gesture strength value obtaining module 23 are integrated into a sensor for obtaining the pressing gesture by using pressure sensing technology.
In this embodiment, the pressing gesture obtaining module 22, the pressing gesture strength value obtaining module 23, and the collecting module are integrated on a touch screen. When the user operates, the collection of fingerprint can be realized through the touch screen, and the acquisition of pressing gesture and the acquisition of pressing pressure degree are high-efficient, convenient.
The processor 3 is used for analyzing and matching the fingerprint information, the pressing gesture and the pressing gesture force value obtained by the module during the finger operation. The response module 4 is used for responding to the matched result.
The database 5 is used for storing data and information, including a first mapping relationship between the pressing gesture and the application program, a second mapping relationship between the force value of the pressing gesture and the function of the application program, and fingerprint information acquired by the fingerprint acquisition module 1.
The setting module 6 is configured to set a first mapping relationship and a second mapping relationship. In the setting module 6, the developer or the programmer may store the first mapping relationship and the second mapping relationship in the database in the form of a list, and in the list, the user may not modify the first mapping relationship and the second mapping relationship.
In order to more clearly describe the control system of the application program of the above embodiment 1, the above embodiment 1 will be specifically described below with reference to the control method of the application program.
Method example 1
As shown in fig. 2, a control method of an application program is applied to a touch device. The specific steps are as follows.
Defining a first mapping relation between the pressing gesture and the application program, a second mapping relation between the force value of the pressing gesture and the function of the application program, and generating a fingerprint information database.
Wherein, in the above step, when defining the first mapping relationship, a number of press gestures are defined.
Each press gesture corresponds to an application. As a press gesture W is defined, the corresponding press gesture W corresponds to an application. As shown in table 1.
| Press gesture | Application program |
| W | WeChat |
| C | Micro blog |
| Z | Telephone set |
| V | Taobao (treasure made of Chinese herbal medicine) |
| …… | …… |
Table 1: a first mapping relation table.
When defining the second mapping relation, dividing the force value of the pressing gesture into a plurality of levels according to the numerical value or interval of the force value, wherein each level corresponds to the corresponding applicationAn application function under the program. If the pressing gesture force value F is defined, the corresponding defined pressing gesture force value is F0-FNThe interval can be divided into F0-F1;F1-F2;F2-F3… …, the second mapping relationship corresponding to the pressing gesture W is shown in Table 2.
| Pressing gesture W | Application program function |
| F0-F1 | Opening WeChat |
| F1-F2 | Cleaning WeChat background process |
| F2-F3 | Clearing WeChat notification bar information |
| F3-F4 | Offload WeChat |
| …… | …… |
Table 2: a second mapping table under the press gesture W.
In this embodiment, the first mapping relationship, the second mapping relationship, or the system developer is defined in advance and stored in the database.
Fingerprint information of the user, which is the basis for determining whether the operating user is a legitimate user, is collected and stored in the database 5. The step is to verify whether the current user is a legal user or not, and to ensure the safety of user information.
When a user operates the touch equipment, fingerprint information is collected by a touch screen of the touch equipment, and meanwhile a pressing gesture and a pressing gesture force value are collected.
The touch control equipment processes the collected fingerprint information, the pressing gesture and the pressing force gesture value; the touch device controls the function of the application program through the first mapping relation and the second mapping relation.
Specifically, after collecting the fingerprint information, the touch device matches the collected fingerprint information with the fingerprint information in the database 5; and if the matching is successful, determining that the user is a legal user.
And after the fingerprints are successfully matched, the touch control equipment matches the collected pressing gestures with a pre-stored first mapping relation, and if the matching is successful, the corresponding application program is entered. And if the acquired pressing gesture is W, inquiring the first mapping relation table, matching the acquired pressing gesture W with the pressing gesture in the first mapping relation table, and if the acquired pressing gesture W is matched with the pressing gesture in the first mapping relation table, entering an application program corresponding to the pressing gesture W.
When the pressing gesture is successfully matched, the touch control equipment matches the collected pressing gesture force value with a second mapping relation; and if the matching is successful, responding to the corresponding application program function. Inquiring and inquiring the second mapping relation table; and matching the collected pressing gesture force value f with the pressing gesture force values in the second mapping relation table.
And if the matching is successful, the control system makes a response of a specific application program function, namely, the operations of starting, cleaning the background, cleaning the notification bar, unloading and the like of the application program are realized according to the pressing force value.
Example 2
The difference between this embodiment and embodiment 1 is that, in this embodiment, a user can modify the first mapping relationship and the second mapping relationship by himself through the setting module 6. After the system developer stores the first mapping relation table and the second mapping relation table in the database, the user can correspondingly modify the corresponding relation between the pressing gesture and the corresponding application program in the first mapping relation table and the second mapping relation table according to the own operation habit.
As in table 1 of method embodiment 1 above, the user may modify the previously defined press gesture W to correspond to the application. A new first mapping relationship table 1-1 is formed. As shown in table 1-1 below.
| Press gesture | Application program |
| W | Micro blog |
| C | WeChat |
| D | Telephone set |
| T | Taobao (treasure made of Chinese herbal medicine) |
| …… | …… |
Tables 1 to 1: and a new first mapping relation table.
Similarly, after the first mapping relation table is modified, the system automatically modifies the second mapping relation table correspondingly, and if the user modifies the application program corresponding to the pressing gesture W into the microblog in table 1-1, the system automatically modifies the second mapping relation table under the pressing gesture W. After the system is modified, the user can modify the second mapping relation table according to the operation habit of the user. A new second mapping relation table 2-1 is formed. As shown in the table below, the following table is a press gesture:
| pressing gesture W | Application program function |
| F0-F1 | Cleaning microblog background process |
| F1-F2 | Opening a micro blog |
| F2-F3 | Offload WeChat |
| F3-F4 | Clearing WeChat notification bar information |
| …… | …… |
Table 2-1: the second mapping under the press gesture W is Table 2-1.
Method example 2
The embodiment is to specifically describe the embodiment 2, and the difference between the embodiment and the method embodiment 1 is that a user manually defines the first mapping relationship and the second mapping relationship. The setting combines the operation habit of the user, so that the system presents the flexibility of operation and embodies the personality of the user.
In specific operation, the user defines a first mapping relationship according to the operation habit of the user, and as shown in table 1 of the above method embodiment 1, the user may change the application program corresponding to the previously defined pressing gesture W. A new first mapping relationship table 1-1 is formed. As shown in table 1-1 below.
| Press gesture | Application program |
| W | Micro blog |
| C | WeChat |
| D | Telephone set |
| T | Taobao (treasure made of Chinese herbal medicine) |
| …… | …… |
Tables 1 to 1: and a new first mapping relation table.
After the user defines the first mapping relation table, the system stores the first mapping relation table, and meanwhile, the second mapping relation table is correspondingly modified according to the program setting. At this time, the user may modify the second mapping table again according to the operation habit of the user to form a new second mapping table 2-1. As shown in the following table, the following table is a press gesture
Table 2-1: the second mapping under the press gesture W is Table 2-1.
After the user modifies the second mapping relationship table, the system forms a new mapping relationship table 2-1 and stores the table 2-1 to the database.
Example 3
The difference between this embodiment and embodiment 1 or embodiment 2 is that, during user operation, the system performs analog-to-digital conversion on the acquired pressing force, and displays the pressing force gesture value on the touch screen in real time, so as to remind the user to change and correct the pressing force in time, and ensure the accuracy of user operation.
Method example 3
As shown in fig. 3, a control method of an application program is applied to a touch device. The specific steps are as follows.
Defining a first mapping relation between the pressing gesture and the application program, a second mapping relation between the force value of the pressing gesture and the function of the application program, and generating a fingerprint information database.
Wherein, in the above step, when defining the first mapping relationship, a number of press gestures are defined.
Each press gesture corresponds to an application. As a press gesture W is defined, the corresponding press gesture W corresponds to an application. Of course, in this embodiment, the user may also modify the first mapping relationship according to the steps in method embodiment 2 to meet the personalized operation of the user, which is not described herein again.
| Press gesture | Application program |
| W | WeChat |
| C | Micro blog |
| Z | Telephone set |
| V | Taobao (treasure made of Chinese herbal medicine) |
| …… | …… |
Table 1: a first mapping relation table.
When the second mapping relation is defined, the force value of the pressing gesture is determined according to the numerical value or the interval of the force value
The hierarchy is divided into several levels, each level corresponding to an application function under a respective application. If the pressing gesture force value F is defined, the corresponding defined pressing gesture force value is F0-FNThe interval can be divided into F0-F1;F1-F2;F2-F3… …, the second mapping relationship corresponding to the pressing gesture W is shown in Table 2. In this step, if the user modifies the first mapping relationship, the system may correspondingly modify the second mapping relationship, and the user may modify the second mapping relationship according to the step of method embodiment 2, which is not described in detail herein.
| Pressing gesture W | Application program function |
| F0-F1 | Opening WeChat |
| F1-F2 | Cleaning WeChat background process |
| F2-F3 | Clearing WeChat notification bar information |
| F3-F4 | Offload WeChat |
| …… | …… |
Table 2: a second mapping table under the press gesture W.
Fingerprint information of the user is collected and stored in the database 5, and the fingerprint information is used for judging operation
Whether the user is the basis of a legitimate user. The step is to verify whether the current user is a legal user or not, and to ensure the safety of user information.
When a user operates the touch equipment, fingerprint information is collected by a touch screen of the touch equipment, and meanwhile a pressing gesture and a pressing gesture force value are collected.
The touch control equipment processes the collected fingerprint information, the pressing gesture and the pressing force gesture value; the touch device controls the function of the application program through the first mapping relation and the second mapping relation. In this step, the system performs analog-to-digital conversion on the pressing force and gesture values in time, converts the pressing force and gesture values of the analog quantity into the pressing force and gesture values of the digital quantity, and displays the force values of the digital quantity and program functions corresponding to the force values on the touch screen, so that a user can adjust the pressing force in time according to the displayed force values.
Specifically, after collecting the fingerprint information, the touch device matches the collected fingerprint information with the fingerprint information in the database 5; and if the matching is successful, determining that the user is a legal user.
And after the fingerprints are successfully matched, the touch control equipment matches the collected pressing gestures with a pre-stored first mapping relation, and if the matching is successful, the corresponding application program is entered. And if the acquired pressing gesture is W, inquiring the first mapping relation table, matching the acquired pressing gesture W with the pressing gesture in the first mapping relation table, and if the acquired pressing gesture W is matched with the pressing gesture in the first mapping relation table, entering an application program corresponding to the pressing gesture W as the WeChat.
After the pressing gesture is successfully matched, the touch equipment converts the collected pressing gesture force value of the analog quantity into a pressing gesture force value of the digital quantity, displays the pressing gesture force value of the digital quantity on the touch screen and simultaneously displays the function of the application program corresponding to the pressing gesture force value, and meanwhile, the user gesture is pressed on the touch screen. If the force value F of the pressing gesture is F1-F2Meanwhile, the corresponding program function displayed on the touch screen is to clear the background process of the WeChat, and the user wants to unload the WeChat, the user can adjust the magnitude of the pressing gesture force value F in time according to the displayed pressing gesture force value, and when the pressing gesture force value F is adjusted to F3-F4And then, the touch screen displays a WeChat cleaning background process, the adjustment is completed, the user removes the finger from the touch screen, and the device reads the force value F of the pressing gesture to be F3-F4And if the matching is successful, cleaning the WeChat background process.
The present invention is not limited to the above preferred embodiments, and any modifications, equivalent substitutions and improvements made within the spirit and principle of the present invention should be included in the protection scope of the present invention.