Disclosure of Invention
The invention mainly solves the technical problems of providing the intelligent terminal, the control method thereof and the device with the storage function, and being capable of more accurately identifying the situation that the physical key of the intelligent terminal is mistakenly touched, saving electric quantity and improving user experience.
In order to solve the technical problems, the invention adopts a technical scheme that: the control method of the intelligent terminal comprises the following steps: detecting whether the intelligent terminal physical key is triggered or not; if the fact that the physical key is triggered is detected in the intelligent terminal, the effective stress area of the physical key and the effective stress area of the physical key in the preset range are obtained; judging whether the characteristic information of the effective stress area is matched with preset characteristic information or not; and if the characteristic information of the effective stressed area is matched with preset characteristic information, responding and executing a control instruction corresponding to the physical key.
Wherein the control method further comprises: and if the characteristic information of the effective stressed area is not matched with the preset characteristic information, the physical key keeps a locked state.
And the effective stress area is the area of the touch area with the stress larger than a preset value.
The step of judging whether the characteristic information of the effective stressed area is matched with preset characteristic information specifically comprises the following steps:
judging whether the ratio of the effective stressed area of the physical keys to the effective stressed area in a preset range on the surface of the physical keys is in the preset range or not and whether only 1 physical key is triggered or not;
if the characteristic information of the effective stressed area is matched with preset characteristic information, the step of responding and executing the control instruction corresponding to the physical key specifically comprises the following steps:
and if the ratio of the effective stressed area of the physical key to the effective stressed area in the preset range on the surface of the physical key is in the preset range and only 1 physical key is triggered, responding to and executing a control instruction corresponding to the physical key.
Wherein, if the characteristic information of the effective stressed area is not matched with the preset characteristic information, the step of keeping the physical key in the locked state specifically comprises the following steps:
and if the ratio of the effective stress area of the physical keys to the effective stress area of the physical keys in the preset range on the surface of the physical keys is in the preset range and 2 or more physical keys are triggered, the physical keys are all kept in a locked state.
Wherein, if the characteristic information of the effective stressed area is not matched with the preset characteristic information, the step of keeping the physical key in the locked state specifically comprises the following steps:
and if the ratio of the effective stressed area of the physical key to the effective stressed area in the preset range on the surface of the physical key is not in the preset range, the physical key keeps a locked state.
Judging whether the ratio of the effective stressed area of the physical key to the effective stressed area in the preset range on the surface of the physical key is in the preset range specifically comprises the following steps:
if the ratio of the effective stressed area of the physical key to the effective stressed area within the preset range on the surface of the physical key is smaller than the preset ratio, the ratio of the effective stressed area of the physical key to the effective stressed area within the preset range on the surface of the physical key is not within the preset range;
wherein, whether the ratio of the effective stressed area of the physical key to the effective stressed area in the preset range on the surface of the physical key is in the preset range or not specifically comprises:
and if the ratio of the effective stressed area of the physical key to the effective stressed area within the preset range on the surface of the physical key is larger than or equal to the preset ratio, the ratio of the effective stressed area of the physical key to the effective stressed area within the preset range on the surface of the physical key is within the preset range.
In order to solve the technical problem, the invention adopts another technical scheme that: provided is a smart terminal including: the system comprises a processor and a man-machine circuit which are coupled with each other, wherein the man-machine circuit is matched with the processor to realize the following steps when in work:
detecting whether the intelligent terminal physical key is triggered or not; if the fact that the physical key is triggered is detected in the intelligent terminal, the effective stress area of the physical key and the effective stress area of the physical key in the preset range are obtained; judging whether the characteristic information of the effective stress area is matched with preset characteristic information or not; and if the characteristic information of the effective stressed area is matched with preset characteristic information, responding and executing a control instruction corresponding to the physical key.
In order to solve the technical problem, the invention adopts another technical scheme that: there is provided an apparatus having a storage function, storing program data executable to implement the steps in the method as described above.
The invention has the beneficial effects that: different from the situation of the prior art, the method and the device have the advantages that the accuracy of recognizing the mistaken touch by the intelligent terminal is improved and the user experience is improved by judging whether the characteristic information of the effective stress area is matched with the preset characteristic information, specifically, whether the ratio of the effective stress area of the physical key to the effective stress area in the preset range on the surface of the physical key is matched with the preset ratio and combining the situation that whether each physical key is triggered independently.
Detailed Description
In order to make the technical problems solved, the technical solutions adopted, and the technical effects achieved by the present invention clearer, the technical solutions of the embodiments of the present invention will be further described in detail with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Referring to fig. 1, fig. 1 is a schematic flowchart of an embodiment of a method for controlling an intelligent terminal provided by the present invention, where the method for controlling an intelligent terminal of the present embodiment includes the following steps:
step 101: and detecting whether the physical key of the intelligent terminal is triggered.
In a specific implementation scenario, the smart terminal may be a handheld electronic device such as a music player, a mobile phone, a personal digital assistant, a smart phone, an electronic book, a game console, a tablet computer, and a notebook computer, or may be any electronic device provided with a physical key switch such as a control panel of a desktop computer, an elevator, or an electronic machine, which is not limited by the present invention.
Taking a mobile phone as an example, the physical keys include at least one of a power key and a volume key. The user executes a control instruction corresponding to a physical key by pressing the physical key, for example, adjusting the volume by touching the volume key, waking up the screen by touching the power key, turning off the mobile phone or restarting the mobile phone by pressing the power key for a long time, and the like.
In other embodiments, physical keys may also include a physical HOME key, a return key, and the like, without limitation.
Step 102: and if the fact that the physical key is triggered in the intelligent terminal is detected, obtaining the effective stress area of the physical key and the preset range on the surface of the physical key.
Correspondingly, the preset ranges of the surfaces of the physical keys of the intelligent terminals with different models and different types are different. Wherein, the surface of the physical key is a plane or a curved surface.
The effective stress area is the area of the touch area with the stress larger than the preset value.
In a specific implementation scenario, still taking a mobile phone as an example, the preset stress value is set to F1. When the power key is triggered, the intelligent terminal firstly detects all stress areas of the power key, and then screens out stress areas with stress larger than F1I.e. the effective force-bearing area S of the power keyp。
In another specific implementation scenario, still taking the mobile phone as an example, the preset stress value is set to F1. When the volume key is triggered, the intelligent terminal firstly detects all stress areas of the volume key, and then screens out stress areas with stress larger than F1I.e. the effective force area S of the volume keya。
In another specific implementation scenario, still taking the mobile phone as an example, the preset stress value is set to F1. When the power key and the volume key are triggered simultaneously, the intelligent terminal firstly detects all stress areas of the power key and the volume key, and then screens out stress areas with stress larger than F1Respectively obtaining effective stress area S of the power keypAnd effective force area S of volume keya。
Furthermore, in any of the above implementation scenarios, the intelligent terminal screens out the force greater than F from the preset range on the plane where the power key and/or the volume key are located1The effective stress area S of the preset range on the plane of the power key and/or the volume key is obtained2。
Step 103: and judging whether the characteristic information of the effective stressed area is matched with preset characteristic information.
The characteristic information of the effective stress area is the effective stress of the preset physical keyArea of force (i.e. S)p+Sa) The effective stress area (namely S) within the preset range on the surface of the physical key2) The ratio of (a) to (b). The preset characteristic information comprises a preset ratio N and the number of actually touched physical keys. The determination method of the preset ratio may be various, for example, the conditions of the area size, the distribution distance, the user holding manner and the like of the physical keys on the intelligent terminals with different models or shapes by the user group may be investigated, a reasonable preset ratio is obtained through statistics and analysis, and the intelligent terminal performs factory setting. For another example, before the user starts using the intelligent terminal, the user can enter a key mode entry function, the key habit of the user is collected by the intelligent terminal, and a reasonable preset ratio is obtained according to the collected data analysis.
Step 104: and if the characteristic information of the effective stressed area is matched with preset characteristic information, responding and executing a control instruction corresponding to the physical key.
In a specific implementation scenario, when a user triggers a physical key, since the shape of a finger is greatly different from the shape of the physical key, the user inevitably touches the plane of the physical key within a preset range while triggering the physical key. However, in the case of normal activation of a physical key, there is a specific relationship between the effective force-receiving areas of the two regions.
In a specific implementation scenario, if the ratio of the effective force-bearing area of the physical key to the effective force-bearing area within a preset range on the surface of the physical key is within a preset range (i.e. the ratio is within the preset range)
) And only 1 physical key is triggered, responding and executing the control instruction corresponding to the physical key.
In another specific implementation scenario, if the ratio of the effective force-bearing area of the physical key to the effective force-bearing area within a preset range on the surface of the physical key is within a preset range (i.e. the ratio is within the preset range)
) And 2 or more physical keys are triggered, and all the physical keys are kept in a locked state.
In another specific implementation scenario, if the ratio of the effective force-bearing area of the physical key to the effective force-bearing area within the preset range on the surface of the physical key is not within the preset range (i.e. the ratio is not within the preset range)
) The physical key remains in a locked state.
Hereinafter, the details will be described by taking a mobile phone as an example. When the power key and/or the volume key are/is triggered, the intelligent terminal detects that the effective stress area of the power key is S
pEffective force area S of volume key
aEffective stress area S in preset range on plane of power key and/or volume key
2. When a user wants to wake up the mobile phone in a standby state, the user needs to touch the power key with a large force (larger than a preset stress value), and under a normal condition, the user only needs to touch the power key, and the mobile phone obtains S through stress detection and analysis
aIs equal to 0, and
the characteristic information indicating the effective stressed area is matched with the preset characteristic information, and the mobile phone responds to and executes the instruction of waking up the mobile phone by the power key. However, in an unexpected situation, the user touches the volume key at the same time, and the mobile phone obtains the volume through stress detection and analysis
And S
p≠0,S
aAnd not equal to 0, the characteristic information of the effective stress area is not matched with the preset characteristic information, the mobile phone is identified as mistaken touch at the moment, the power key and the volume key are both kept in a locked state, and the screen is not awakened.
In another case, for example, the mobile phone is placed in a backpack, the whole side surface of the mobile phone provided with the volume key is extruded, and the mobile phone is detected and analyzed through stress to obtain
The characteristic information indicating the effective stressed area is not matched with the preset characteristic information, the mobile phone is identified as mistaken touch at the moment, the volume key is kept in a locked state, and the control instruction corresponding to the volume key does not generate response.
According to the description, the situation that the error touch is identified by the intelligent terminal is different from the situation in the prior art, whether the characteristic information of the effective stress area is matched with the preset characteristic information or not is judged, specifically, whether the ratio of the effective stress area of the physical key to the effective stress area in the preset range on the surface of the physical key is matched with the preset ratio or not is judged comprehensively according to whether each physical key is triggered independently or not, so that the accuracy of identifying the error touch by the intelligent terminal is improved, and the user experience is improved.
Referring to fig. 2, fig. 2 is a schematic structural diagram of an embodiment of an intelligent terminal provided in the present invention. The intelligent terminal 20 comprises a processor 21 and a man-machine circuit 22, wherein the processor 21 is coupled with the man-machine circuit 22. The man-machine circuit 22 is used for performing man-machine interaction with a user, and the processor 21 is used for analyzing according to the user touch condition sensed by the man-machine circuit 22 and executing a corresponding judgment result.
In a specific implementation scenario, the human-machine circuit 22 detects whether a physical key of the smart terminal 20 is triggered.
The intelligent terminal 20 may be a handheld electronic device such as a music player, a mobile phone, a personal digital assistant, a smart phone, an electronic book, a game machine, a tablet computer, and a notebook computer, or may be any electronic device provided with a physical key switch such as a control panel of a desktop computer, an elevator, or an electronic machine, which is not limited in the present invention.
Taking a mobile phone as an example, the physical keys include at least one of a power key and a volume key. The user executes a control instruction corresponding to a physical key by pressing the physical key, for example, adjusting the volume by touching the volume key, waking up the screen by touching the power key, turning off the mobile phone or restarting the mobile phone by pressing the power key for a long time, and the like.
In other embodiments, physical keys may also include a physical HOME key, a return key, and the like, without limitation.
When the man-machine circuit 22 detects that a physical key exists in the intelligent terminal 20 and is triggered, the processor 21 obtains the physical key and an effective stressed area within a preset range on the surface of the physical key.
Correspondingly, the preset ranges of the surfaces of the physical keys of the intelligent terminals with different models and different types are different. Wherein, the surface of the physical key is a plane or a curved surface.
The effective stress area is the area of the touch area with the stress larger than the preset value.
In a specific implementation scenario, still taking a mobile phone as an example, the preset stress value is set to F1. When the power key is triggered, the intelligent terminal 20 first detects all the stress areas of the power key, and the processor 21 then selects the stress larger than F from the stress areas1I.e. the effective force-bearing area S of the power keyp。
In another specific implementation scenario, still taking the mobile phone as an example, the preset stress value is set to F1. When the volume key is triggered, the intelligent terminal 20 first detects all the stress areas of the volume key, and the processor 21 then screens out the stress areas with the stress larger than F1I.e. the effective force area S of the volume keya。
In another specific implementation scenario, still taking the mobile phone as an example, the preset stress value is set to F1. When the power key and the volume key are triggered at the same time, the intelligent terminal 20 first detects all the stress areas of the power key and the volume key, and the processor 21 then screens out the stress areas with the stress larger than F1Respectively obtaining effective stress area S of the power keypAnd effective force area S of volume keya。
Further, in any of the above implementation scenarios, the intelligent terminal 20 selects the force greater than F from the preset range on the plane where the power key and/or the volume key are located1The effective stress area S within the preset range on the plane of the power key and/or the volume key is obtained2。
The processor 21 then determines whether the characteristic information of the effective stressed area matches with the preset characteristic information according to the obtained effective stressed area.
The characteristic information of the effective stressed area comprises the effective stressed area (namely S) of the preset physical keyp+Sa) The effective stress area (namely S) within the preset range on the surface of the physical key2) The ratio of (a) to (b). The preset characteristic information comprises a preset ratio N and the number of actually touched physical keys. The determination method of the preset ratio may be various, for example, the conditions of the area size, the distribution distance, the user holding manner and the like of the physical keys on the intelligent terminals with different models or shapes by the user group may be investigated, a reasonable preset ratio is obtained through statistics and analysis, and the intelligent terminal performs factory setting. For another example, before the user starts using the intelligent terminal, the user can enter a key mode entry function, the key habit of the user is collected by the intelligent terminal, and a reasonable preset ratio is obtained according to the collected data analysis.
And if the characteristic information of the effective stressed area is matched with the preset characteristic information, the processor 21 responds and executes the control instruction corresponding to the physical key.
In a specific implementation scenario, when a user triggers a physical key, since the shape of a finger is greatly different from the shape of the physical key, the user inevitably touches the plane of the physical key within a preset range while triggering the physical key. However, in the case of normal activation of a physical key, there is a specific relationship between the effective force-receiving areas of the two regions.
In a specific implementation scenario, if the ratio of the effective force-bearing area of the physical key to the effective force-bearing area within a preset range on the surface of the physical key is within a preset range (i.e. the ratio is within the preset range)
) And only 1 physical key is triggered, responding and executing the control instruction corresponding to the physical key.
In another specific implementation scenario, if the ratio of the effective force-bearing area of the physical key to the effective force-bearing area within a preset range on the surface of the physical key is within a preset range (i.e. the ratio is within the preset range)
) And 2 or more physical keys are triggered, and all the physical keys are kept in a locked state.
In another specific implementation scenario, if the ratio of the effective force-bearing area of the physical key to the effective force-bearing area within the preset range on the surface of the physical key is not within the preset range (i.e. the ratio is not within the preset range)
) The physical key remains in a locked state.
Hereinafter, the details will be described by taking a mobile phone as an example. When the power key and/or the volume key are/is triggered, the intelligent terminal detects that the effective stress area of the power key is S
pEffective force area S of volume key
aEffective stress area S in preset range on plane of power key and/or volume key
2. When a user wants to wake up the mobile phone in a standby state, the user needs to touch the power key with a large force (larger than a preset stress value), and under a normal condition, the user only needs to touch the power key, and the mobile phone obtains S through stress detection and analysis
aIs equal to 0, and
the characteristic information indicating the effective stressed area is matched with the preset characteristic information, and the mobile phone responds to and executes the instruction of waking up the mobile phone by the power key. However, in an unexpected situation, the user touches the volume key at the same time, and the mobile phone obtains the volume through stress detection and analysis
And S
p≠0,S
aNot equal to 0, the characteristic information of the effective stress area is not matched with the preset characteristic information, the mobile phone is identified as mistaken touch at the moment, the power key and the volume key are both kept in a locked state, and the screen is usedThe screen is not woken up.
In another case, for example, the mobile phone is placed in a backpack, the whole side surface of the mobile phone provided with the volume key is extruded, and the mobile phone is detected and analyzed through stress to obtain
The characteristic information indicating the effective stressed area is not matched with the preset characteristic information, the mobile phone is identified as mistaken touch at the moment, the volume key is kept in a locked state, and the control instruction corresponding to the volume key does not generate response.
According to the description, the situation that the error touch is identified by the intelligent terminal is different from the situation in the prior art, whether the characteristic information of the effective stress area is matched with the preset characteristic information or not is judged, specifically, whether the ratio of the effective stress area of the physical key to the effective stress area in the preset range on the surface of the physical key is matched with the preset ratio or not is judged comprehensively according to whether each physical key is triggered independently or not, so that the accuracy of identifying the error touch by the intelligent terminal is improved, and the user experience is improved. Referring to fig. 3, fig. 3 is a schematic structural diagram of an embodiment of the device with a storage function according to the present invention. The device 30 having a storage function stores at least one program or instruction 31, and the program 31 or instruction is used to execute the above-described control method of the smart terminal. In one embodiment, the apparatus with storage function may be a storage chip in a terminal, a hard disk, or a removable hard disk or other readable and writable storage tool such as a flash disk, an optical disk, or the like, and may also be a server or the like.
Different from the situation of the prior art, the method and the device have the advantages that the accuracy of recognizing the mistaken touch by the intelligent terminal is improved and the user experience is improved by judging whether the characteristic information of the effective stress area is matched with the preset characteristic information, specifically, whether the ratio of the effective stress area of the physical key to the effective stress area in the preset range on the surface of the physical key is matched with the preset ratio and combining the situation that whether each physical key is triggered independently.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.