Equipment control method and device, storage medium and electronic equipment
By obtaining the information to be identified, the anti-touch threshold is dynamically adjusted, and the error rate of the anti-touch mode is reduced and the user experience is improved.
Patent Information
- Application Number
- CN202410115526.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-26
- Publication Date
- 2025-07-29
AI Technical Summary
In the prior art, electronic devices are prone to misjudgment when determining whether the screen is blocked, resulting in a high error rate of anti-error touch mode and affecting user experience.
By obtaining the information to be identified by the electronic device, the anti-touch threshold value is dynamically adjusted to determine whether the electronic device is in a preset state, and the device is controlled to enter the anti-touch mode when the detection value exceeds the adjusted threshold value.
It effectively reduces the frequency of electronic devices entering the anti-touch mode in the wrong state, and improves the convenience and experience of users' operations.
Smart Images

Figure CN120386464A_ABST
Abstract
Description
Technical Field
[0001] The technical solution of the present disclosure relates to the field of human-computer interaction technology, and particularly relates to a device control method, device, storage medium, and electronic device. Background Art
[0002] Nowadays, users usually perform human-computer interaction through a touch screen on an electronic device (such as a mobile phone). However, this way of human-computer interaction through a touch screen is prone to accidental triggering. For example, when a user puts the mobile phone in their pocket, the touch screen is likely to misidentify the pressure in the pocket as the user's touch operation, resulting in accidental triggering.
[0003] To address this phenomenon of accidental triggering, an anti-accidental-touch mode is usually set for the electronic device. In this way, when the electronic device recognizes that the screen is blocked, it will automatically enter the anti-accidental-touch mode. At this time, any operation on the touch screen will be invalid, avoiding the problem of accidental triggering.
[0004] Research has found that when the electronic device determines whether the screen is blocked, there may be a misjudgment, and the electronic device will then turn on the anti-accidental-touch mode, resulting in the invalidation of the user's touch operation on the touch screen, which greatly reduces the user experience. Summary of the Invention
[0005] In view of this, the present disclosure provides a device control method, device, storage medium, and electronic device to solve the problem of poor user experience caused by the incorrect operation of the anti-accidental-touch mode.
[0006] According to the first aspect of the embodiments of the present disclosure, a device control method is provided. The method includes:
[0007] Obtain information to be recognized;
[0008] When it is determined based on the information to be recognized that the electronic device is in a preset state, adjust the anti-accidental-touch threshold of the electronic device; the preset state is used to indicate that the error rate of the electronic device running the anti-accidental-touch mode reaches a specified value;
[0009] When the detected value in the information to be recognized is greater than the adjusted anti-accidental-touch threshold, control the electronic device to enter the anti-accidental-touch mode.
[0010] According to the second aspect of the embodiments of the present disclosure, a device control device is provided. The device includes:
[0011] An obtaining module, configured to obtain information to be recognized;
[0012] An adjustment module, configured to adjust an anti-mis-touch threshold of the electronic device when it is determined based on the information to be recognized that the electronic device is in a preset state; the preset state is used to indicate that an error rate of the electronic device running in an anti-mis-touch mode reaches a specified value;
[0013] A control module, configured to control the electronic device to enter an anti-mis-touch mode when a detection value in the information to be recognized is greater than the adjusted anti-mis-touch threshold.
[0014] According to a third aspect of the embodiments of the present disclosure, there is provided an electronic device, including:
[0015] A processor;
[0016] A memory for storing executable instructions of the processor;
[0017] Wherein, the processor is configured to implement the steps of any of the device control methods in the first aspect by running the executable instructions.
[0018] According to a fourth aspect of the embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps of any of the device control methods in the first aspect are implemented.
[0019] The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
[0020] By dynamically adjusting the anti-mis-touch threshold of the electronic device in a preset state, it is possible to avoid the problem of too high an error rate of running the anti-mis-touch mode caused by too low (or too high) a threshold in many states (such as the preset state) due to setting a fixed anti-mis-touch threshold.
[0021] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present disclosure and used together with the specification to explain the principles of the present disclosure.
[0023] Figure 1 is a flowchart of a device control method shown according to an exemplary embodiment of the present disclosure;
[0024] Figure 2 is a flowchart of another device control method shown according to an exemplary embodiment of the present disclosure;
[0025] Figure 3 is a flowchart of another device control method shown according to an exemplary embodiment of the present disclosure;
[0026] Figure 4 is a schematic structural diagram of a device control device shown according to an exemplary embodiment of the present disclosure;
[0027] Figure 5 is a schematic structural diagram of an electronic device shown according to an exemplary embodiment of the present disclosure. Detailed Description of the Invention
[0028] Here, the exemplary embodiments will be described in detail, and the examples are shown in the drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0029] The terms used in the present disclosure are for the purpose of describing specific embodiments only and are not intended to limit the present disclosure. The singular forms "a", "the", and "said" used in the present disclosure and the appended claims are also intended to include the plural forms unless the context clearly dictates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more of the associated listed items.
[0030] It should be understood that although the terms first, second, third, etc. may be used in the present disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "when" or "while" or "in response to determining".
[0031] Nowadays, users usually perform human-computer interaction through the touch screen on an electronic device (hereinafter, a mobile phone is used as an example for exemplary introduction). However, this way of performing human-computer interaction through the touch screen is prone to accidental triggering. For example, when the user puts the mobile phone in the pocket, the touch screen is likely to misidentify the pressure in the pocket as the user's touch operation, resulting in the problem of accidental triggering.
[0032] To address this phenomenon of accidental triggering, an anti-accidental-touch mode is usually set for the mobile phone. In this way, when the mobile phone detects that the screen is blocked, it will automatically enter the anti-accidental-touch mode, and at this time, any operation on the touch screen will be invalid, avoiding the problem of accidental triggering.
[0033] Mobile phones usually use proximity sensors to identify whether the screen is blocked. Simply put, a proximity sensor is usually set under the mobile phone screen. The proximity sensor usually consists of two components: one component (the transmitting component) is used to emit infrared rays, and the other component (the receiving component) is used to receive infrared rays. These two components are arranged at a certain angle so that when there is no object approaching, the emitted infrared rays will not be directly received by the receiving component. When an object (such as the user's face, palm, or desktop) approaches, the infrared rays will be reflected by the object and partially returned to the receiving component. By detecting the change in the intensity of the received infrared rays (which can also be called the detection value) or analyzing the pattern of the received signal, the sensor can determine whether an object is approaching or blocking the screen.
[0034] Therefore, the larger the detection value received by the receiving component, the closer the object is to the screen, and the smaller the detection value, the farther the object is from the screen. At this time, an anti-mis-touch threshold can be set. Once the detection value is greater than or equal to this anti-mis-touch threshold, it is considered that there is an obstruction in front of the screen, and at this time, the mobile phone enters the anti-mis-touch mode.
[0035] In this way, any operation on the screen is invalid, avoiding the phenomenon of accidental touch on the screen.
[0036] Nowadays, many users will apply a film to the screen to protect it from being scratched. Due to various problems such as different materials of the mobile phone film (resulting in different media for light propagation) and the easy coverage of the proximity sensor by the film application position, the mobile phone is likely to identify the screen film as an obstruction, thus resulting in the problem of incorrect activation of the anti-mis-touch mode, which is not convenient for users.
[0037] To solve the above problems, the present disclosure provides a device control method, device, storage medium, and electronic device. Among them, the device control method is specifically as follows:
[0038] By obtaining the information to be recognized of the electronic device, it can be determined whether the electronic device is in a preset state. Among them, when the anti-mis-touch threshold of the electronic device is set unreasonably, it is easy to cause the electronic device to be difficult to enter the anti-mis-touch mode due to too high an anti-mis-touch threshold, or the electronic device is easy to enter the anti-mis-touch mode and difficult to exit the anti-mis-touch mode due to too low an anti-mis-touch threshold, which results in too high an error rate (reaching a specified value) for the electronic device to operate the anti-mis-touch mode.
[0039] It has been found through research that when the electronic device is in the preset state, the error rate of operating the anti-mis-touch mode is relatively high. At this time, in order to optimize the user experience, it is necessary to adjust the anti-mis-touch threshold of the electronic device.
[0040] The following is a detailed description:
[0041] Figure 1The following is a flowchart of a device control method shown according to an exemplary embodiment of the present disclosure, as Figure 1 shown, the method includes:
[0042] Step 101, obtain information to be recognized.
[0043] The information to be recognized is used to assist in determining the state of the electronic device. Exemplarily, the states of the electronic device include: user trigger state, obstacle trigger state, non-trigger state, film application state, non-film application state, and so on.
[0044] Exemplarily, when the information to be recognized includes: the fingerprint touch information of the user, the state of the electronic device should be the user trigger state at this time.
[0045] Furthermore, other information to be recognized can also be used to assist in determining whether it is in the film application state or the non-film application state. For example, obtain the touch information of the user's fingerprint touch. If the touch value meets the specified conditions (for example, due to film application, the fingerprint touch pressure or the capacitance between the finger and the screen becomes smaller), it is considered that the electronic device is in the film application state. At this time, the electronic device is simultaneously in: the user trigger state and the film application state.
[0046] Step 102, when it is determined based on the information to be recognized that the electronic device is in a preset state, adjust the anti-mis-touch threshold of the electronic device; the preset state is used to indicate that the error rate of the electronic device running the anti-mis-touch mode reaches a specified value.
[0047] When the electronic device is in the preset state, it is considered that the error rate of the electronic device running the anti-mis-touch mode at the current anti-mis-touch threshold (usually the default value) is relatively high (reaches the specified value).
[0048] Exemplarily, the preset state can be: the user trigger state. At this time, assuming that there is an obstacle blocking the distance sensor set on the screen, after the electronic device enters the anti-mis-touch mode, without moving the mobile phone and the obstacle, no matter how the user touches the mobile phone, the mobile phone is always in the anti-mis-touch mode. However, in fact, the obstacle may only block part of the screen or only block the distance sensor, and does not affect the user's continued use of the mobile phone. This solution that cannot exit the anti-mis-touch mode makes it impossible for the user to control the mobile phone and will reduce the user experience. At this time, it is considered that the mobile phone is difficult to exit the anti-mis-touch mode because the current anti-mis-touch threshold is too low (detecting any value is considered as occlusion, so the anti-mis-touch mode cannot be exited).
[0049] At this time, the obtaining of the information to be recognized includes:
[0050] In response to the electronic device starting the anti-mis-touch mode, obtain the fingerprint touch information of the user.
[0051] Among them, the fingerprint touch information at least includes: the fingerprint data of the user. After the electronic device activates the anti-misoperation mode, if the electronic device collects the user's fingerprint touch information (such as fingerprint data), although it is in the anti-misoperation mode at this time, it is still considered that the user wants to actively touch and operate the electronic device. Therefore, it is necessary to determine whether the electronic device is in a preset state through the fingerprint touch information.
[0052] When it is determined that the electronic device is in a preset state based on the information to be recognized, adjusting the anti-misoperation threshold of the electronic device includes:
[0053] When the fingerprint touch information matches the fingerprint information in the database, it is determined that the electronic device is in the user-triggered state, and the anti-misoperation threshold is increased to exit the anti-misoperation mode.
[0054] If the user's fingerprint touch information matches the fingerprint information in the database, it is considered that the user himself wants to operate the electronic device. At this time, in order to exit the anti-misoperation mode, it is necessary to increase the anti-misoperation threshold (for example, set it to a preset threshold), so that the detection value measured by the distance sensor is less than the increased anti-misoperation threshold, and then the electronic device exits the anti-misoperation mode.
[0055] For another example, the preset state can be: the film-applied state. After the mobile phone screen is film-applied, due to the influence of the film, the detection values received by the distance sensor will all increase. At this time, because the anti-misoperation threshold is set too low, when the user touches the mobile phone casually (maybe the screen is not blocked), the anti-misoperation mode will be entered, resulting in a situation where it is very easy to enter the anti-misoperation mode incorrectly.
[0056] Regardless of which preset state it is, it is necessary to adjust the anti-misoperation threshold to avoid the problem of too high error rate of running the anti-misoperation mode caused by too large or too small anti-misoperation threshold.
[0057] Step 103, when the detection value in the information to be recognized is greater than the adjusted anti-misoperation threshold, control the electronic device to enter the anti-misoperation mode.
[0058] In this way, the adjusted anti-misoperation threshold makes it difficult for the electronic device to enter the anti-misoperation mode incorrectly, which helps to reduce the problem that the incorrect operation of the anti-misoperation mode of the electronic device affects the user's operation.
[0059] Optionally, in addition to obtaining the user's fingerprint touch information, the obtaining of the information to be recognized further includes:
[0060] Transmitting a set of detection signals; receiving the reflected signals obtained by the external reflection of the detection signals.
[0061] Exemplarily, a set of detection signals can be emitted by a distance sensor (such as an infrared sensor), and then the reflected signals of this set of detection signals reflected back by an external object are received.
[0062] Based on the signal value (detection value, representing the intensity of the signal) of the reflected signal, it can be determined whether the screen is blocked.
[0063] The response to the electronic device starting the anti-misoperation mode includes:
[0064] In response to determining that the signal value of the reflected signal is greater than or equal to the current anti-misoperation threshold of the electronic device, control the electronic device to start the anti-misoperation mode.
[0065] When the signal value of the reflected signal is greater than or equal to the anti-misoperation threshold, it is considered that the screen is blocked, and the anti-misoperation mode will be automatically started.
[0066] In this way, when raising the anti-misoperation threshold, it can be achieved through the following steps:
[0067] Determine the signal value of the reflected signal as the anti-misoperation threshold.
[0068] Directly determine the signal value of the reflected signal as the adjusted (raised) anti-misoperation threshold. At this time, even if the electronic device is not moved and the blocking object on the screen is not moved, in the case where the detection value is less than or equal to the anti-misoperation threshold, the anti-misoperation mode will not be entered. Even if the anti-misoperation mode is entered, after the user touches the fingerprint, it will be raised to a higher detection value again, enabling the user to operate the electronic device more conveniently, and there will be no situation where the user cannot operate the screen due to being unable to exit the anti-misoperation mode.
[0069] Optionally, the preset state includes a first state and a second state. Figure 2 It is a flowchart of another device control method shown by the present disclosure according to an exemplary embodiment. As Figure 2 shown, when performing step 101 to obtain the information to be recognized, the following steps are included:
[0070] Step 201, emit at least one set of detection signals according to a preset period; receive at least one set of reflected signals obtained by the external reflection of the detection signals to obtain the information to be recognized.
[0071] The electronic device has a device (such as an infrared sensor device, a distance sensor) that can emit detection signals and receive the reflected signals of the detection signals. The preset period can be a preset value or set according to the sampling frequency of the sensor device. For example, if the sampling frequency is 20Hz, then the number of times of collecting and updating data per second is 20 times. On average, a set of detection signals is emitted and a set of reflected signals is received every 0.05s, so as to obtain the information to be recognized.
[0072] At this time, when performing step 102 and adjusting the anti-misoperation threshold of the electronic device when it is determined based on the information to be recognized that the electronic device is in a preset state, the following steps are included:
[0073] Step 202, when it is determined based on the reflection signal that the electronic device is in the first state, increase the anti-misoperation threshold; the probability that the electronic device enters the anti-misoperation mode by mistake in the first state is higher than the first value.
[0074] The first state refers to the situation where the electronic device is likely to enter the anti-misoperation mode by mistake. For example, due to the film sticking, the overall detection value is too high, which easily causes the electronic device to enter the anti-misoperation mode, but in fact it should not enter the anti-misoperation mode, and frequently entering the anti-misoperation mode will also greatly affect the user experience.
[0075] Exemplarily, it is possible to judge whether it is in the first state according to the following method:
[0076] The mean-square error value of the reflection signal within a preset period is less than or equal to the third value, and the signal value of any one of the reflection signals is greater than the current anti-misoperation threshold of the electronic device and less than the preset maximum detection value.
[0077] Among them, the mean-square error (MSE) is a measure reflecting the degree of difference between the estimator and the estimated quantity.
[0078] Generally, after the screen of the electronic device (the screen is provided with a sensor device) is film-stuck and the sensor device is affected by the film sticking, relatively large detection values are usually collected, but the mean-square error values of these detection values are small, and the signal value of the reflection signal received by the sensor device of the electronic device after film sticking will be less than the preset maximum detection value (such as the maximum detection range of the sensor device). Therefore, based on the detection value and the mean-square error value of the detection value, it is possible to determine whether the electronic device is film-stuck or blocked.
[0079] Therefore, when the mean-square error value of the reflection signal within a preset period is less than or equal to the third value, and the signal value of any one of the reflection signals is greater than the current anti-misoperation threshold of the electronic device and less than the preset maximum detection value, it can be determined that the electronic device is in the film-stuck state rather than the screen being blocked.
[0080] At this time, it is necessary to increase the anti-misoperation threshold to prevent the electronic device from frequently entering the anti-misoperation mode in the film-stuck state.
[0081] The method of increasing the anti-mis-touch threshold may be: determining the signal value of the target reflection signal as the current anti-mis-touch threshold of the electronic device; the target reflection signal is the set of reflection signals with the largest value among the at least one set of reflection signals.
[0082] Determine the signal value of the largest reflection signal during normal operation after applying a film to the electronic device as the anti-mis-touch threshold. In this way, the anti-mis-touch threshold can be increased as much as possible, avoiding frequent triggering of the anti-mis-touch mode when the user performs normal operations (rather than covering the screen) after applying a film to the electronic device.
[0083] Or step 203, when it is determined based on the reflection signal that the electronic device is in the second state, reducing the anti-mis-touch threshold; the probability that the electronic device fails to accurately enter the anti-mis-touch mode in the second state is higher than a second value.
[0084] The first state means that it is difficult for the electronic device to enter the anti-mis-touch mode because: the anti-mis-touch threshold is too high, resulting in difficulty in entering the anti-mis-touch mode even if there is an occlusion on the screen, and false triggering is likely to occur. At this time, it is necessary to reduce the anti-mis-touch threshold.
[0085] Exemplarily, it can be determined whether it is in the second state according to the following method:
[0086] The signal value of the reflection signal is less than a fourth value; the fourth value is less than the current anti-mis-touch threshold of the electronic device.
[0087] When the signal value of any one reflection signal is less than the fourth value, it is considered that the currently set anti-mis-touch threshold may be too high. For example, after applying a film to the electronic device, the anti-mis-touch threshold is increased and it has been running in the increased anti-mis-touch mode. After that, when the user removes the film on the electronic device, the signal value of the reflection signal will be small without being affected by the film. Since the set anti-mis-touch threshold is too high, it is easy to occur that even if the screen is occluded, it cannot enter the anti-mis-touch mode due to the high signal value of the detected reflection signal, which will lead to false triggering.
[0088] At this time, it is necessary to reduce the anti-mis-touch threshold. The method of reducing the anti-mis-touch threshold may be: determining the fourth value as the anti-mis-touch threshold; the fourth value is the historical anti-mis-touch threshold or a preset standard anti-mis-touch threshold, and the historical anti-mis-touch threshold is the anti-mis-touch threshold set by the electronic device before the current anti-mis-touch threshold.
[0089] Among them, the setting method of the historical anti-mis-touch threshold may be:
[0090] Before performing step 202 to increase the anti-mis-touch threshold, first record the current anti-mis-touch threshold (assumed to be 100) as the historical anti-mis-touch threshold (assumed historical anti-mis-touch threshold B = 100), and then increase the current anti-mis-touch threshold to 300 (then the current anti-mis-touch threshold A = 300).
[0091] After that, when performing step 203, if the current anti-mis-touch threshold A = 300, the reduction can be: set the current anti-mis-touch threshold A = B = 100.
[0092] Figure 3 It is a flowchart of another device control method shown by the present disclosure according to an exemplary embodiment, as Figure 3 shown. First, perform step 101 to obtain the information to be recognized.
[0093] Then, perform step 301: according to the information to be recognized, determine whether the detection value is greater than the anti-mis-touch threshold; if so, enter the anti-mis-touch mode and perform step 302 or step 303; if not, perform step 304.
[0094] In step 302, whether the user unlocks with fingerprint (user trigger state), if so, perform step 305; if not, return to step 301.
[0095] In step 303, whether to enter the first state. If so, perform step 305; if not, return to step 301.
[0096] In step 304, whether to enter the second state. If so, perform step 306.
[0097] In step 305, increase the anti-mis-touch threshold.
[0098] In step 306, reduce the anti-mis-touch threshold.
[0099] Among them, the relevant content involved in steps 301 - 306 has been described in the foregoing embodiments and will not be elaborated here.
[0100] For the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations. However, those skilled in the art should know that the present disclosure is not limited by the described action sequence, because according to the present disclosure, certain steps can be performed in other sequences or simultaneously.
[0101] Secondly, those skilled in the art should also know that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily essential to the present disclosure.
[0102] Corresponding to the foregoing method embodiments for implementing application functions, the present disclosure also provides an embodiment of a device control device and a corresponding terminal.
[0103] Figure 4 This is a schematic structural diagram of a device control device shown by the present disclosure according to an exemplary embodiment. As Figure 4 shown, the device control device may include:
[0104] An acquisition module 401, configured to acquire information to be recognized.
[0105] An adjustment module 402, configured to adjust the anti-mis-touch threshold of the electronic device when it is determined based on the information to be recognized that the electronic device is in a preset state; the preset state is used to indicate that the error rate of the electronic device running the anti-mis-touch mode reaches a specified value.
[0106] A control module 403, configured to control the electronic device to enter the anti-mis-touch mode when the detection value in the information to be recognized is greater than the adjusted anti-mis-touch threshold.
[0107] Optionally, the preset state includes a user trigger state.
[0108] When the acquisition module 401 is configured to acquire information to be recognized, it is configured to:
[0109] In response to the electronic device starting the anti-mis-touch mode, acquire the fingerprint touch information of the user.
[0110] When the adjustment module 402 is configured to adjust the anti-mis-touch threshold of the electronic device when it is determined based on the information to be recognized that the electronic device is in a preset state, it is configured to:
[0111] When the fingerprint touch information matches the fingerprint information in the database, determine that the electronic device is in the user trigger state, and increase the anti-mis-touch threshold to exit the anti-mis-touch mode.
[0112] Optionally, when the acquisition module 401 is configured to acquire information to be recognized, it is further configured to:
[0113] Transmit a set of detection signals.
[0114] Receive the reflected signals obtained by the external reflection of the detection signals.
[0115] When the acquisition module 401 is configured to respond to the electronic device starting the anti-mis-touch mode, it is configured to:
[0116] In response to determining that the signal value of the reflected signal is greater than or equal to the current anti-mis-touch threshold of the electronic device, control the electronic device to start the anti-mis-touch mode.
[0117] When the adjustment module 402 is configured to increase the anti-mis-touch threshold, it is configured to:
[0118] Determine the signal value of the reflected signal as the anti-misoperation threshold value.
[0119] Optionally, the preset state includes a first state and a second state.
[0120] When the obtaining module 401 is used to obtain the information to be recognized, it includes:
[0121] Transmit at least one set of detection signals according to a preset period.
[0122] Receive at least one set of reflected signals obtained by the external reflection of the detection signal to obtain the information to be recognized.
[0123] When the adjustment module 402 is used to adjust the anti-misoperation threshold value of the electronic device when it is determined that the electronic device is in a preset state based on the information to be recognized, it is used for:
[0124] When it is determined that the electronic device is in the first state based on the reflected signal, increase the anti-misoperation threshold value; the probability that the electronic device mistakenly enters the anti-misoperation mode in the first state is higher than a first value.
[0125] When it is determined that the electronic device is in the second state based on the reflected signal, decrease the anti-misoperation threshold value; the probability that the electronic device fails to accurately enter the anti-misoperation mode in the second state is higher than a second value.
[0126] Optionally, when the adjustment module 402 is used to determine that the electronic device is in the first state based on the reflected signal, it is used for:
[0127] The mean square error value of the reflected signal within a preset period is less than or equal to a third value.
[0128] And, the signal value of any one of the reflected signals is greater than the current anti-misoperation threshold value of the electronic device and less than a preset maximum detection value.
[0129] Optionally, when the adjustment module 402 is used to increase the anti-misoperation threshold value, it is used for:
[0130] Determine the signal value of the target reflected signal as the current anti-misoperation threshold value of the electronic device; the target reflected signal is the set of reflected signals with the largest value among the at least one set of reflected signals.
[0131] Optionally, when the adjustment module 402 is used to determine that the electronic device is in the second state based on the reflected signal, it is used for:
[0132] The signal value of the reflected signal is less than a fourth value; the fourth value is less than the current anti-misoperation threshold value of the electronic device.
[0133] Optionally, when the adjustment module 402 is used to lower the accidental touch prevention threshold, it is used for:
[0134] Determine the fourth value as the accidental touch prevention threshold; the fourth value is a historical accidental touch prevention threshold or a preset standard accidental touch prevention threshold, and the historical accidental touch prevention threshold is the accidental touch prevention threshold set by the electronic device before the current accidental touch prevention threshold.
[0135] For the device embodiment, since it basically corresponds to the method embodiment, the relevant parts can be referred to the partial description of the method embodiment. The device embodiments described above are only illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of the present disclosure. Those of ordinary skill in the art can understand and implement it without creative work.
[0136] Correspondingly, an embodiment of the present disclosure provides an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein, the processor is configured to implement the steps of any of the above device control methods by running the executable instructions.
[0137] Figure 5 FIG. is a schematic structural diagram of an electronic device shown according to an exemplary embodiment of the present disclosure. For example, the electronic device 500 may be a user device, and may specifically be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, a wearable device such as a smart watch, smart glasses, a smart bracelet, smart running shoes, etc.
[0138] Referring to Figure 5 , the electronic device 500 may include one or more of the following components: a processing component 502, a memory 504, a power component 506, a multimedia component 508, an audio component 510, an input / output (I / O) interface 512, a sensor component 514, and a communication component 516.
[0139] The processing component 502 generally controls the overall operation of the electronic device 500, such as operations associated with display, telephone calls, data communication, camera operations, and recording operations. The processing component 502 may include one or more processors 520 to execute instructions to complete all or part of the steps of the above - mentioned methods. In addition, the processing component 502 may include one or more modules to facilitate the interaction between the processing component 502 and other components. For example, the processing component 502 may include a multimedia module to facilitate the interaction between the multimedia component 508 and the processing component 502.
[0140] The memory 504 is configured to store various types of data to support the operation of the device 500. Examples of such data include instructions for any application or method operating on the electronic device 500, contact data, phone book data, messages, pictures, videos, etc. The memory 504 can be implemented by any type of volatile or non - volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read - only memory (EEPROM), erasable programmable read - only memory (EPROM), programmable read - only memory (PROM), read - only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.
[0141] The power component 506 provides power to various components of the electronic device 500. The power component 506 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the electronic device 500.
[0142] The multimedia component 508 includes a screen that provides an output interface between the above - mentioned electronic device 500 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The above - mentioned touch sensors can not only sense the boundaries of touch or swipe actions, but also detect the duration and pressure associated with the above - mentioned touch or swipe operations. In some embodiments, the multimedia component 508 includes a front - facing camera and / or a rear - facing camera. When the electronic device 500 is in an operating mode, such as a shooting mode or a video mode, the front - facing camera and / or the rear - facing camera can receive external multimedia data. Each front - facing camera and rear - facing camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
[0143] The audio component 510 is configured to output and / or input audio signals. For example, the audio component 510 includes a microphone (MIC), which is configured to receive external audio signals when the electronic device 500 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 504 or transmitted via the communication component 516. In some embodiments, the audio component 510 further includes a speaker for outputting audio signals.
[0144] The I / O interface 512 provides an interface between the processing component 502 and peripheral interface modules, and the peripheral interface modules can be a keyboard, a click wheel, buttons, etc. These buttons can include but are not limited to: a home button, a volume button, a power button, and a lock button.
[0145] The sensor component 514 includes one or more sensors for providing status assessments of various aspects of the electronic device 500. For example, the sensor component 514 can detect the on / off state of the electronic device 500, the relative positioning of components, such as the display and keypad of the electronic device 500. The sensor component 514 can also detect a change in the position of the electronic device 500 or a component of the electronic device 500, the presence or absence of user contact with the electronic device 500, the orientation or acceleration / deceleration of the electronic device 500, and the temperature change of the electronic device 500. The sensor component 514 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor component 514 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 514 can further include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0146] The communication component 516 is configured to facilitate communication between the electronic device 500 and other devices in a wired or wireless manner. The electronic device 500 can access a wireless network based on communication standards, such as WiFi, 4G or 5G, 4G LTE, 5G NR, or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 further includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0147] In an exemplary embodiment, the electronic device 500 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above method.
[0148] In an exemplary embodiment, a non-transitory computer-readable storage medium is also provided, such as a memory 504 including instructions, which when executed by a processor 520 of the electronic device 500, enables the electronic device 500 to perform any of the above device control methods.
[0149] The non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0150] Those skilled in the art will readily conceive of other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common general knowledge or conventional technical means in the technical field not disclosed herein. The specification and examples are only to be considered as exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.
[0151] It should be understood that the present disclosure is not limited to the exact structures described above and shown in the drawings, and various modifications and changes may be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.
Claims
1. A device control method, characterized in that, The method includes: Obtaining information to be recognized; When it is determined based on the information to be recognized that the electronic device is in a preset state, adjusting the anti-mis-touch threshold of the electronic device; the preset state is used to indicate that the error rate of the electronic device running the anti-mis-touch mode reaches a specified value; When the detection value in the information to be recognized is greater than the adjusted anti-mis-touch threshold, controlling the electronic device to enter the anti-mis-touch mode.
2. The method according to claim 1, characterized in that, The preset state includes a user trigger state; The obtaining of the information to be recognized includes: In response to the electronic device starting the anti-mis-touch mode, obtaining the fingerprint touch information of the user; The adjusting of the anti-mis-touch threshold of the electronic device when it is determined based on the information to be recognized that the electronic device is in a preset state includes: When the fingerprint touch information matches the fingerprint information in the database, determining that the electronic device is in the user trigger state and increasing the anti-mis-touch threshold to exit the anti-mis-touch mode.
3. The method according to claim 2, characterized in that The obtaining of the information to be recognized further includes: Transmitting a set of detection signals; Receiving the reflected signals obtained by the external reflection of the detection signals; The responding to the electronic device starting the anti-mis-touch mode includes: In response to determining that the signal value of the reflected signal is greater than or equal to the current anti-mis-touch threshold of the electronic device, controlling the electronic device to start the anti-mis-touch mode; The increasing of the anti-mis-touch threshold includes: Determining the signal value of the reflected signal as the anti-mis-touch threshold.
4. The method according to claim 1, wherein The preset state includes a first state and a second state; The obtaining of the information to be recognized includes: Transmitting at least one set of detection signals according to a preset period; Receiving at least one set of reflected signals obtained by the external reflection of the detection signals to obtain the information to be recognized; The adjusting of the anti-mis-touch threshold of the electronic device when it is determined based on the information to be recognized that the electronic device is in a preset state includes: When it is determined based on the reflected signal that the electronic device is in the first state, increasing the anti-mis-touch threshold; the probability that the electronic device mistakenly enters the anti-mis-touch mode in the first state is higher than a first value; When it is determined based on the reflected signal that the electronic device is in the second state, decreasing the anti-mis-touch threshold; the probability that the electronic device fails to accurately enter the anti-mis-touch mode in the second state is higher than a second value.
5. The method according to claim 4, wherein The determining that the electronic device is in the first state based on the reflected signal includes: The mean square error value of the reflected signal within a preset period is less than or equal to a third value; And, the signal value of any one of the reflected signals is greater than the current anti-mis-touch threshold of the electronic device and less than a preset maximum detection value.
6. The method according to claim 5, characterized in that, The increasing of the anti-mis-touch threshold includes: Determining the signal value of the target reflected signal as the current anti-mis-touch threshold of the electronic device; the target reflected signal is the set of reflected signals with the largest value among the at least one set of reflected signals.
7. The method according to claim 4, characterized in that, The determining that the electronic device is in the second state based on the reflected signal includes: The signal value of the reflected signal is less than a fourth value; the fourth value is less than the current anti-mis-touch threshold of the electronic device.
8. The method according to claim 7, wherein The decreasing of the anti-mis-touch threshold includes: Determine the fourth value as the anti-mis-touch threshold; the fourth value is a historical anti-mis-touch threshold or a preset standard anti-mis-touch threshold, and the historical anti-mis-touch threshold is the anti-mis-touch threshold set by the electronic device before the current anti-mis-touch threshold.
9. A device control apparatus, characterized in that, The device includes: An acquisition module, configured to acquire information to be recognized; An adjustment module, configured to adjust the anti-mis-touch threshold of the electronic device when it is determined based on the information to be recognized that the electronic device is in a preset state; the preset state is used to indicate that the error rate of the electronic device running the anti-mis-touch mode reaches a specified value; A control module, configured to control the electronic device to enter the anti-mis-touch mode when the detection value in the information to be recognized is greater than the adjusted anti-mis-touch threshold.
10. An electronic device, characterized in that, Comprising: A processor; A memory for storing instructions executable by the processor; Wherein, the processor is configured to implement the steps of the method according to any one of claims 1 to 8 by running the executable instructions.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, the steps of the method according to any one of claims 1 to 8 are implemented.