CN114546140A - Control method and device of external input equipment and electronic equipment - Google Patents

Control method and device of external input equipment and electronic equipment Download PDF

Info

Publication number
CN114546140A
CN114546140A CN202210197429.9A CN202210197429A CN114546140A CN 114546140 A CN114546140 A CN 114546140A CN 202210197429 A CN202210197429 A CN 202210197429A CN 114546140 A CN114546140 A CN 114546140A
Authority
CN
China
Prior art keywords
input
event
triggered
input device
parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210197429.9A
Other languages
Chinese (zh)
Inventor
宋显林
孙龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dongguan Huabei Electronic Technology Co Ltd
Original Assignee
Dongguan Huabei Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dongguan Huabei Electronic Technology Co Ltd filed Critical Dongguan Huabei Electronic Technology Co Ltd
Priority to CN202210197429.9A priority Critical patent/CN114546140A/en
Publication of CN114546140A publication Critical patent/CN114546140A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03543Mice or pucks

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a control method and a control device of an external input device and an electronic device, wherein when an anti-misoperation function is started, biological characteristic parameters forming an input event on the input device are obtained; judging whether the input event is not triggered by user operation or not based on the biological characteristic parameters; and when the input event is not triggered by user operation, the input event is not responded, and the input blocking state of the input equipment is entered. The invention can judge the input event triggered by non-user operation when the anti-misoperation function is started, carry out non-response processing on the input event and enter the input blocking state of the input equipment so as to block the input event triggered subsequently on the input equipment, thereby effectively avoiding the misoperation of the input equipment.

Description

Control method and device of external input equipment and electronic equipment
Technical Field
The invention relates to the technical field of electronic equipment, in particular to a control method and device of an external input device and the electronic equipment.
Background
The appearance of external input equipment greatly improves the usability of a computer, and taking a mouse as an example, the mouse becomes an essential accessory in the computer and other equipment at present. With the continuous updating and iteration of the mouse technology, the input efficiency is continuously improved from the original mouse, the mechanical mouse and the optical mouse to the current touch mouse. However, even today, the use of a mouse is quite convenient, there are still use drawbacks that plague users: the mouse, one of the most frequently operated devices, often causes the computer to execute some wrong instructions due to the misoperation of the keys, and if the document is damaged or lost, the irreparable loss is caused.
Therefore, how to avoid the misoperation of the external input device becomes a technical problem to be solved urgently by those skilled in the art.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides a control method and device of an external input device and an electronic device, and solves the problem that the external input device is easy to operate by mistake in the prior art.
In order to achieve the above purpose, the present invention provides the following technical solutions:
a control method of an external input device comprises the following steps:
when the anti-misoperation function is started, acquiring biological characteristic parameters forming an input event on the input equipment;
judging whether the input event is not triggered by user operation or not based on the biological characteristic parameters;
and when the input event is not triggered by user operation, the input event is not responded, and the input blocking state of the input equipment is entered.
Optionally, the determining, based on the biometric parameter, whether the input event is a non-user operation trigger includes:
judging whether the biological characteristic parameter exceeds a preset first detection parameter range or not; if yes, judging that the input event is not triggered by user operation; and if not, judging that the input event is triggered by the life body.
Optionally, the determining, based on the biometric parameter, whether the input event is a non-user operation trigger further includes:
when the input event is triggered by a living body, judging whether the biological characteristic parameter exceeds a preset second parameter range; if yes, judging that the input event is not triggered by user operation; if not, judging that the biological characteristic parameters are triggered by user operation;
responding to the input event when the biometric parameter is triggered by a user operation.
Optionally, after responding to the input event, the method for controlling an external input device further includes:
acquiring continuous input time of the input event;
entering an input receiving state of the input device when the continuous input time exceeds a preset time threshold;
wherein, in an input receiving state of the input device, an input function of the input device is turned on.
The biometric parameters include a moisture content parameter and/or a blood oxygen content parameter.
Optionally, when entering an input blocking state of the input device, sending an alarm prompt;
and under the input blocking state of the input equipment, the input function of the input equipment is closed.
Optionally, the method for controlling an external input device further includes:
detecting the distance between more than one operation area in the input equipment and an external object, and starting the anti-misoperation function when the distance enters a preset distance range; or,
and when an anti-misoperation instruction of a user is received, starting the anti-misoperation function.
Optionally, the method for controlling an external input device further includes:
detecting a distance between one or more operation areas in the input device and an external object in the input blocking state or the input receiving state of the input device;
and when the distance exceeds a preset distance range, exiting the current input blocking state or the input receiving state, and closing the anti-misoperation function.
The invention also provides an anti-misoperation detection device for realizing the control method of the external input equipment, which comprises the following steps:
the function starting module is used for starting the anti-misoperation function under the preset condition;
a parameter acquisition module for acquiring biometric parameters constituting an input event on an input device;
the judging module is used for judging whether the input event is triggered by user operation or not based on the biological characteristic parameters;
the input management module is used for not responding to the input event and entering an input blocking state of the input equipment when the input event is not triggered by user operation; the input management module is used for blocking subsequent triggered input events on the input equipment in the input blocking state.
The invention also provides an electronic device comprising at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, the computer program being executed by the at least one processor to cause the at least one processor to perform the method of controlling an external input device as described in any one of the above.
Compared with the prior art, the invention has the following beneficial effects:
the invention provides a control method and a control device of an external input device and an electronic device, which can judge an input event triggered by non-user operation when an anti-misoperation function is started, carry out non-response processing on the input event and enter an input blocking state of the input device so as to block the input event triggered subsequently on the input device, thereby effectively avoiding the misoperation of the input device.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart of a control method of an external input device according to the present invention;
FIG. 2 is a schematic diagram of an input device, such as a mouse;
FIG. 3 is a flowchart illustrating steps S0-S1 of the method for controlling an external input device according to the present invention;
FIG. 4 is a flowchart illustrating steps S0-S1 of the method for controlling an external input device according to the present invention;
FIG. 5 is a flowchart illustrating a method for controlling an external input device according to another embodiment of the present invention;
fig. 6 is a block diagram of a control apparatus of an external input device according to the present invention.
In the above figures: 10. a function enabling module; 20. a parameter acquisition module; 30. a judgment module; 40. and an input management module.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Input devices such as a mouse and a keyboard, which are one of the most frequently operated devices, often cause a computer to execute some wrong instructions due to mistaken touch of other external objects or even other parts of the user, and in a serious case, a document may be damaged or lost, so that irreparable loss is caused.
The present invention is directed to a method for controlling an external input device, so as to overcome the above-mentioned problems in the prior art. For convenience of explaining the present invention, a mouse is taken as an example, and the technical solution of the present invention is further described in the following by the accompanying drawings and the detailed implementation manner.
Referring to fig. 1, an embodiment of the present invention provides a method for controlling an external input device, including:
and S1, when the anti-misoperation function is started, acquiring the biological characteristic parameters forming the input event on the input device.
In this embodiment, the biometric parameters include a moisture content parameter and/or a blood oxygen content parameter. Whether the external object is a human body is identified by acquiring the moisture content parameter and/or the blood oxygen content parameter of the external object within the preset distance range, so that input events triggered by other objects contacting with the input device are filtered out, and the purpose of preventing misoperation is achieved.
In addition, the biological characteristic parameters can also comprise temperature parameters, and living bodies and non-living bodies are distinguished through the temperature parameters, so that whether the input event is operated by the user or not is judged.
Referring to fig. 2, taking a mouse as an example, detection holes may be formed around left and right buttons and a wheel of the mouse (i.e., an operation area), and a detection contact a is disposed in the detection hole, and the detection contact a is connected to an acquirer B disposed in the mouse, so as to acquire biometric parameters.
Specifically, the acquirer B comprises a short-wave infrared measurement light source for acquiring moisture content parameters, and can quantitatively analyze and judge the moisture content of the skin by selecting characteristic wavelengths with strong moisture absorption and utilizing a proportion model of short-wave infrared spectrum response by utilizing a short-wave infrared spectrum detection technology. It will be appreciated that the scale model can be obtained from the prior art.
Wherein, through setting up the detection angle of shortwave infrared measurement light source, make the detection area can satisfy actual demand.
In addition, the acquirer B also comprises a photodiode module for acquiring the blood oxygen content parameter, and the photodiode module is used for amplifying current signals generated by the photodiode under the preset luminous flux and the like, and finally acquiring the blood oxygen content parameter.
S2, judging whether the input event is triggered by non-user operation based on the biological characteristic parameters; if yes, go to step S3; if not, go to step S4.
Specifically, when the biological characteristic parameter exceeds a preset first detection parameter range, the input event is determined to be a non-user operation trigger.
The blood oxygen content and the skin moisture content of the human body are obviously different from those of non-living bodies; in this embodiment, the biometric parameters at least include a moisture content parameter and a blood oxygen content parameter, and the first detection parameter range is set with reference to the human body parameter, and when at least one of the moisture content parameter and the blood oxygen content parameter is within the first detection parameter range, it can be determined that the current input event is triggered by the living body; and if the moisture content parameter and the blood oxygen content parameter both exceed the first detection parameter range, determining that the input event is not triggered by user operation.
And S3, not responding to the input event, and entering an input blocking state of the input device.
In the input blocking state of the input device, the input function of the input device is turned off. It will be appreciated that the input function may be disabled by locking a mechanical button on the input device or by blocking a response to an input event by the software program, thereby blocking a subsequently triggered input event on the input device.
Further, in step S3, when the input blocking state of the input device is entered, an alarm is sent out by an alarm device, for example, a buzzer sends out an alarm sound, or a warning light sends out an alarm light, etc., to indicate that the input device is triggering an input event due to a false touch, so that the user can remove an object acting on the input device in time.
S4, judging whether the biological characteristic parameters meet the specified input conditions; if yes, go to step S5; if not, go to step S3.
And S5, responding to the input event.
In order to determine whether the input event is triggered by the user operation, in the present embodiment, the operation site of the user is distinguished in step S4, and the biological parameter of the corresponding site of the human body is matched based on the type of the input device, so that the active operation of the user can be distinguished from the misoperation of the user and the misoperation due to the mistaken touch of the pet, even if the object triggering the input event satisfies the biological characteristics of the human body, which may be triggered by the mistaken touch of the user, or by the touch of the pet.
Specifically, when the biological characteristic parameter is within the second detection parameter range, the biological characteristic parameter is judged to meet the specified input condition, and at the moment, the input event can be judged to be the user operation trigger; when the biological characteristic parameter is in the first detection parameter range and exceeds the second detection parameter range, judging that the biological characteristic parameter is triggered by a living body but does not meet the specified input condition, and judging that the biological characteristic parameter is triggered by non-user operation; wherein the second detection parameter range is within the first detection parameter range.
And if the input device such as a mouse is used, matching the skin moisture content parameter of the finger with the blood oxygen content parameter of the finger part to set a second detection parameter range so as to distinguish the finger operation from the contact operation of other parts of the user body.
Referring to fig. 3 to 5, before step S1, the method further includes:
and S0, judging whether the condition for starting the anti-misoperation function is met, and starting the anti-misoperation function when the condition for the anti-misoperation function is met, wherein the anti-misoperation function can be started through automatic detection or user operation.
Specifically, the anti-misoperation function is automatically started through the following steps:
s01, detecting the distance between more than one operation area in the input equipment and the external object;
s02, judging whether the distance between the operation area and the external object enters a preset distance range or not; if yes, go to step S1; if not, the process returns to step S01.
The method realizes that the anti-misoperation function is started under the operation of a user through the following steps:
s03, receiving an operation instruction of a user;
s04, judging whether the operation instruction is consistent with a preset anti-misoperation instruction, if so, executing a step S1; if not, the process returns to step S03.
Specifically, taking a mouse as an example, the anti-misoperation instruction may be set to continuously click a plurality of lower left keys or right keys, and the anti-misoperation function is manually started.
In addition, a manual closing instruction can be set, and the manual closing instruction is used for closing the anti-misoperation function, so that the input device can be normally used when the user wears gloves and the like and is not beneficial to accurately acquiring the biological characteristic parameters.
When the anti-misoperation function is started, the biological characteristic parameters are acquired and subsequent detection is carried out, so that the working time of the acquirer B for acquiring the release parameters is shortened, the power consumption of the acquirer B is reduced, and the service life of the acquirer B is prolonged.
Further, since power consumption is high and it is easy to increase the system load for continuously acquiring and detecting the biometric parameters, in the present embodiment, when the user continuously acts on the input device to constitute the input event with an operation satisfying the specified input condition, the continuous detection of the biometric parameters is stopped.
Referring to fig. 5 again, specifically, step S5 includes the following steps:
s51, responding to the input event;
s52, acquiring the continuous input time of the input event, and judging whether the continuous input time exceeds a preset time threshold; if yes, go to step S53; if not, returning to the step S51;
s53, entering an input receiving state of the input device;
wherein, in the input receiving state of the input device, the input function of the input device is turned on.
It is understood that, in step S52, by continuously detecting the biometric parameters on the input device and determining whether the biometric parameters satisfy the specified input conditions, the input event is considered to be in a continuous input state when the biometric parameters in a period of time all satisfy the specified input conditions; the duration of the input event in the continuous input state is timed to obtain a continuous input time for the input event.
When the continuous input time of the input event exceeds a preset time threshold, such as a numerical value of 1 second, 2 seconds or 3 seconds, indicating that the current user is stably using the input device for input, entering an input receiving state of the input device at this time, and responding to input events triggered by the subsequent use of the input device by the user.
Referring to fig. 5 again, further, in order to make the input management of the input device more humanized and achieve the purpose of improving the user experience, in the input blocking state or the input receiving state of the input device, the following steps are performed:
s6, detecting the distance between more than one operation area in the input equipment and the external object;
s7, judging whether the distance between the operation area and an external object exceeds a preset distance range or not; if yes, go to step S8; if not, returning to the step S6;
and S8, exiting the current input blocking state or input receiving state, closing the anti-misoperation function and returning to the standby state.
For example, when the input device is in an input blocking state, that is, a contact event is formed by a contact between an external object which is not a user and the input device, a distance between the external object and an operation area on the input device is detected to determine whether the external object is removed from the input device.
When the distance between the operation area and the external object exceeds the preset distance range, namely the external object withdraws from the input device, the current input blocking state is withdrawn, so that the input blocking of the input device is cancelled, and the subsequent input event can be responded; and simultaneously, closing the misoperation preventing function and returning to the standby state.
When the input device is in an input receiving state, namely the user is continuously inputting by using the input device at present, the distance between the external object and the operation area on the input device is detected to judge whether the user finishes operating the input device.
When the distance between the detection operation area and the external object exceeds the preset distance range, namely the user finishes the operation on the input equipment, the current input receiving state is exited, and the subsequent misoperation caused by continuously responding to the input event triggered on the input equipment is avoided; and simultaneously, closing the misoperation preventing function and returning to the standby state.
In the standby state, the steps S01 and S03 may be performed simultaneously to determine whether the re-enabling of the anti-misoperation function is satisfied, and if so, the anti-misoperation function is timely enabled.
Referring to fig. 6, based on the foregoing embodiment, the present invention further provides an anti-misoperation detection apparatus, for implementing the method for controlling the external input device, including:
a function starting module 10 for starting the anti-misoperation function under a predetermined condition; when the anti-misoperation function is started, the biological characteristic parameters are acquired and subsequent detection is carried out, so that the working time of the acquirer B for acquiring the release parameters is shortened, the power consumption of the acquirer B is reduced, and the service life of the acquirer B is prolonged.
A parameter obtaining module 20, configured to obtain biometric parameters constituting an input event on an input device; in this embodiment, the biometric parameters include a moisture content parameter and/or a blood oxygen content parameter. Whether the external object is a human body is identified by acquiring the moisture content parameter and/or the blood oxygen content parameter of the external object within the preset distance range, so that input events triggered by other objects contacting with the input device are filtered out, and the purpose of preventing misoperation is achieved.
Taking a mouse as an example, detection holes are formed around left and right buttons and a roller (i.e., an operation area) of the mouse, and the parameter obtaining module 20 includes a detection contact a disposed in the detection hole and an acquirer B disposed in the mouse and connected to the detection contact a, so as to obtain the biometric parameters.
Specifically, the acquirer B comprises a short-wave infrared measurement light source for acquiring moisture content parameters, and the moisture content parameters of the skin are acquired by selecting characteristic wavelengths with strong moisture absorption and utilizing a proportional model by utilizing a short-wave infrared spectrum detection technology. Through setting up the detection angle of shortwave infrared measurement light source, make the detection area can satisfy actual demand.
In addition, the acquirer B also comprises a photodiode module for acquiring the blood oxygen content parameter, and the photodiode module is used for amplifying current signals generated by the photodiode under the preset luminous flux and the like, and finally acquiring the blood oxygen content parameter.
A judging module 30, configured to judge whether the input event is triggered by a user operation based on the biometric parameter; specifically, when the biological characteristic parameter exceeds a preset first detection parameter range, the input event is determined to be a non-user operation trigger.
Because the blood oxygen content in the human body is obviously different from that of a non-living body, and the skin moisture content is also obviously different from that of pets such as cats and dogs; in this embodiment, the biometric parameters at least include a moisture content parameter and a blood oxygen content parameter, and the second detection parameter range is set with reference to the human body parameter, and when both the moisture content parameter and the blood oxygen content parameter satisfy the second detection parameter range, it can be determined that the current input event is triggered by the user operation.
The input management module 40 is used for not responding to the input event and entering an input blocking state of the input equipment when the input event is triggered by non-user operation; the input management module 40 is configured to block subsequently triggered input events on the input device in the input blocking state.
In the input blocking state of the input device, the input function of the input device is turned off. It will be appreciated that the input function may be disabled by locking a mechanical button on the input device or by blocking a response to an input event by the software program, thereby blocking a subsequently triggered input event on the input device.
In addition, when the input blocking state of the input device is entered, an alarm prompt is sent through an alarm device, for example, a buzzer sends out alarm sound, or a warning lamp sends out warning light, and the like, so that the current input device is prompted to trigger an input event due to mistaken touch, and therefore a user can remove an object acting on the input device in time.
When the judgment module 30 judges that the current input event is triggered by the user operation, it is further judged whether the biometric parameters satisfy the specified input conditions.
Specifically, when the biometric parameter is within the second detection parameter range, it is determined that the biometric parameter satisfies the specified input condition; when the biological characteristic parameter is in the first detection parameter range and exceeds the second detection parameter range, judging that the biological characteristic parameter does not meet the specified input condition; wherein the second detection parameter range is within the first detection parameter range.
And if the input device such as a mouse is used, matching the skin moisture content parameter of the finger with the blood oxygen content parameter of the finger part to set a second detection parameter range so as to distinguish the finger operation from the contact operation of other parts of the user body.
Further, in this embodiment, after the input management module 40 responds to the input event, the parameter obtaining module 20 obtains the continuous input time of the input event, and the determining module 30 determines whether the continuous input time exceeds a preset time threshold; if yes, the input management module 40 enters an input receiving state of the input device, and the input function of the input device is started in the input receiving state of the input device; if not, the input management module 40 continues to respond to the current input event, and the parameter obtaining module 20 obtains the continuous input time of the input event until the continuous input time exceeds the preset time threshold.
Continuously detecting biological characteristic parameters on the input equipment, judging whether the biological characteristic parameters meet the specified input conditions, and when the biological characteristic parameters in a period of time meet the specified input conditions, regarding the input event as being in a continuous input state; the duration of the input event in the continuous input state is timed to obtain a continuous input time for the input event.
When the continuous input time of the input event exceeds a preset time threshold, such as a value of 1 second, 2 seconds, or 3 seconds, indicating that the user is currently using the input device for input stably, the input management module 40 enters an input receiving state of the input device, and responds to input events triggered by subsequent use of the input device by the user.
Further, in the input blocking state or the input receiving state of the input device, the parameter obtaining module 20 detects a distance between more than one operation area in the input device and an external object, and the determining module 30 determines whether the distance between the operation area and the external object exceeds a preset distance range;
if yes, the input management module 40 exits the current input blocking state or input receiving state, closes the anti-misoperation function, and returns to the standby state; if not, the parameter obtaining module 20 continues to detect the distance between more than one operation area in the input device and the external object until the distance between the operation area and the external object exceeds the preset distance range.
For example, when the input device is in an input blocking state, that is, there is a contact event that an external object other than the user is in contact with the input device, the distance between the external object and the operation area on the input device is detected to determine whether the external object is removed from the input device.
When the distance between the operation area and the external object exceeds the preset distance range, namely the external object withdraws from the input device, the current input blocking state is withdrawn, so that the input blocking of the input device is cancelled, and the subsequent input event can be responded; and simultaneously, closing the misoperation preventing function and returning to the standby state.
When the input device is in an input receiving state, namely the user is currently using the input device to perform continuous input, the distance between the external object and the operation area on the input device is detected to judge whether the user finishes operating the input device.
When the distance between the detection operation area and the external object exceeds the preset distance range, namely the user finishes the operation on the input equipment, the current input receiving state is exited, and the subsequent misoperation caused by continuously responding to the input event triggered on the input equipment is avoided; and simultaneously, closing the misoperation preventing function and returning to the standby state.
In the standby state, the distance between more than one operation area in the input equipment and an external object is detected at the same time, and an operation instruction of a user is received so as to judge whether the requirement of re-starting the anti-misoperation function is met, and the anti-misoperation function is started in time under the condition of meeting the conditions.
Based on the foregoing embodiments, the present invention also provides an electronic device, including at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor, so that the at least one processor executes the control method of the external input device in the above embodiment.
The above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A control method of an external input device is characterized by comprising the following steps:
when the anti-misoperation function is started, acquiring biological characteristic parameters forming an input event on the input equipment;
judging whether the input event is not triggered by user operation or not based on the biological characteristic parameters;
and when the input event is not triggered by user operation, the input event is not responded, and the input blocking state of the input equipment is entered.
2. The method for controlling an external input device according to claim 1, wherein the determining whether the input event is a non-user-operated trigger based on the biometric parameter comprises:
judging whether the biological characteristic parameter exceeds a preset first detection parameter range or not; if yes, judging that the input event is not triggered by user operation; and if not, judging that the input event is triggered by the life body.
3. The method as claimed in claim 2, wherein the determining whether the input event is a non-user-operation trigger based on the biometric parameter further comprises:
when the input event is triggered by a living body, judging whether the biological characteristic parameter exceeds a preset second parameter range; if yes, judging that the input event is not triggered by user operation; if not, judging that the biological characteristic parameters are triggered by user operation;
responding to the input event when the biometric parameter is triggered by a user operation.
4. The method of claim 3, wherein after responding to the input event, further comprising:
acquiring continuous input time of the input event;
entering an input receiving state of the input device when the continuous input time exceeds a preset time threshold;
wherein, in an input receiving state of the input device, an input function of the input device is turned on.
5. The method as claimed in claim 4, wherein the biometric parameters comprise a moisture content parameter and/or a blood oxygen content parameter.
6. The method for controlling an external input device according to claim 1, wherein when entering the input blocking state of the input device, an alarm prompt is issued;
and under the input blocking state of the input equipment, the input function of the input equipment is closed.
7. The method for controlling an external input device according to claim 1, further comprising:
detecting the distance between more than one operation area in the input equipment and an external object, and starting the anti-misoperation function when the distance enters a preset distance range; or,
and when an anti-misoperation instruction of a user is received, starting the anti-misoperation function.
8. The method for controlling an external input device according to claim 1, further comprising:
detecting a distance between one or more operation areas in the input device and an external object in the input blocking state or the input receiving state of the input device;
and when the distance exceeds a preset distance range, exiting the current input blocking state or the input receiving state, and closing the anti-misoperation function.
9. An anti-misoperation detection device, which is used for realizing the control method of the external input device according to any one of claims 1 to 8, and comprises the following steps:
the function starting module is used for starting the anti-misoperation function under the preset condition;
a parameter acquisition module for acquiring biometric parameters constituting an input event on an input device;
the judging module is used for judging whether the input event is triggered by user operation or not based on the biological characteristic parameters;
the input management module is used for not responding to the input event and entering an input blocking state of the input equipment when the input event is not triggered by user operation; the input management module is used for blocking subsequent triggered input events on the input equipment in the input blocking state.
10. An electronic device comprising at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to cause the at least one processor to perform the method of controlling an external input device according to any one of claims 1 to 8.
CN202210197429.9A 2022-03-01 2022-03-01 Control method and device of external input equipment and electronic equipment Pending CN114546140A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210197429.9A CN114546140A (en) 2022-03-01 2022-03-01 Control method and device of external input equipment and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210197429.9A CN114546140A (en) 2022-03-01 2022-03-01 Control method and device of external input equipment and electronic equipment

Publications (1)

Publication Number Publication Date
CN114546140A true CN114546140A (en) 2022-05-27

Family

ID=81660801

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210197429.9A Pending CN114546140A (en) 2022-03-01 2022-03-01 Control method and device of external input equipment and electronic equipment

Country Status (1)

Country Link
CN (1) CN114546140A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102841684A (en) * 2012-08-30 2012-12-26 北京小米科技有限责任公司 Method, device and apparatus for preventing accidental operation
CN105353901A (en) * 2015-09-25 2016-02-24 小米科技有限责任公司 Method and apparatus for determining validity of touch operation
CN108205394A (en) * 2018-01-03 2018-06-26 中兴通讯股份有限公司 Screen touch method, device, storage medium and electronic device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102841684A (en) * 2012-08-30 2012-12-26 北京小米科技有限责任公司 Method, device and apparatus for preventing accidental operation
CN105353901A (en) * 2015-09-25 2016-02-24 小米科技有限责任公司 Method and apparatus for determining validity of touch operation
CN108205394A (en) * 2018-01-03 2018-06-26 中兴通讯股份有限公司 Screen touch method, device, storage medium and electronic device

Similar Documents

Publication Publication Date Title
CN108537929B (en) Remote unlocking system and remote unlocking method
CN107808669B (en) Voice control method, intelligent home system, storage medium and computer equipment
WO2017181797A1 (en) Washing machine and child lock control method therefor
CN109516334B (en) Elevator taking protection method, device, system, equipment and storage medium
CN112050970B (en) Environment monitoring method and device
CN109480708A (en) The position reminding method of clean robot
CN107257410A (en) Screen unlocking method and device and electronic equipment
CN111931652A (en) Dressing detection method and device and monitoring terminal
CN114546140A (en) Control method and device of external input equipment and electronic equipment
TWI584630B (en) Method and system for recognizing distance between a mobile phone and a shielding object
JP2003169780A (en) Photoelectric pulse wave type pulse measuring instrument
CN113392716A (en) Personnel safety detection method, device and system and computer equipment
CN113075438A (en) Electricity stealing detection method and device, electricity stealing prevention device and readable storage medium
CN114582052A (en) Control method and device of intelligent door lock, intelligent door lock and storage medium
CN113017591B (en) Wearable device wearing state detection method, wearable device wearing state detection device, wearable device wearing state detection equipment and storage medium
CN105887419B (en) The detection method and device of washing machine article to be washed
CN113591600A (en) Cooking equipment control method and device based on user identification and gas stove
CN113995390A (en) Working mode control method of wearable device, wearable device and medium
CN114415593A (en) Internet-based numerical control machine tool remote operation system
CN110401775B (en) Alarm clock setting method, alarm clock setting device and mobile terminal
CN111554070A (en) Intelligent carpet management method, system, device and storage medium
CN110992648A (en) Intelligent crutch, alarm method thereof and computer readable storage medium
CN113668177B (en) Remote operation method and device for washing machine, washing machine and storage medium
CN115206042B (en) Intelligent monitoring method, device, equipment and medium for industrial control safety
CN110747603A (en) Washing machine and safety detection method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination