CN111381686A - Key processing method, device, equipment and storage medium - Google Patents
Key processing method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN111381686A CN111381686A CN201811642486.3A CN201811642486A CN111381686A CN 111381686 A CN111381686 A CN 111381686A CN 201811642486 A CN201811642486 A CN 201811642486A CN 111381686 A CN111381686 A CN 111381686A
- Authority
- CN
- China
- Prior art keywords
- key
- state
- shortcut
- control variable
- shortcut key
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
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 provides a key processing method, a key processing device, key processing equipment and a storage medium. The method comprises the following steps: acquiring the current state of a key; acquiring the state of a state control variable of a key; monitoring the state of the acquired state control variable of the key; and when monitoring that the state of the state control variable of the key is abnormal, setting the state of the state control variable of the key to be in accordance with the current state of the key according to the current state of the key. According to the embodiment of the invention, when the state of the state control variable of the key is monitored to be abnormal, the state of the state control variable of the key is set to be the state consistent with the current state of the key by acquiring the current state of the key, so that the state of the key can be accurately known no matter whether a keyboard processing program catches a bounce or press event of the key, and the subsequent key operation is not influenced.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a storage medium for key processing.
Background
The keyboard is one of the most common basic peripherals of the computer, belongs to input equipment, and is indispensable for the use of various application software, such as various office software, and can process various key operations in use, namely, call corresponding functions according to user operation; if pressing "c", the operation for inputting the character c; pressing "ctrl + c" then is a copy operation.
The inventor discovers that in the process of implementing the invention: in the using process of the software, some keyboard operation abnormal conditions can occur, for example, a popup event of a shortcut key after being used is not captured by a keyboard processing program, so that a key state error of the shortcut key is identified subsequently, and a corresponding function of the software cannot be used normally.
Disclosure of Invention
The invention provides a key processing method, a key processing device, key processing equipment and a storage medium, which are used for solving the problem of key operation errors when a keyboard processing program has a bounce event which is used for capturing a shortcut key.
In a first aspect, the present invention provides a key processing method, including:
acquiring the current state of the key;
acquiring the state of a state control variable of a key; monitoring the state of the acquired state control variable of the key;
and when monitoring that the state of the state control variable of the key is abnormal, setting the state of the state control variable of the key to be in accordance with the current state of the key according to the current state of the key.
In a second aspect, the present invention provides a key processing apparatus, including:
the acquisition module is used for acquiring the current state of the key;
the acquisition module is also used for acquiring the state of the state control variable of the key;
the monitoring module is used for monitoring the state of the acquired state control variable of the key;
and the processing module is used for setting the state of the state control variable of the key to be consistent with the current state of the key according to the current state of the key when the monitoring module monitors that the state of the state control variable of the key is abnormal.
In a third aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the method described in any one of the first aspect.
In a fourth aspect, an embodiment of the present invention provides an electronic device, including:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the method of any of the first aspects via execution of the executable instructions.
According to the key processing method, the key processing device, the key processing equipment and the storage medium, the current state of the key is obtained; acquiring the state of a state control variable of a key; monitoring the state of the acquired state control variable of the key; according to the scheme, when the state of the state control variable of the key is monitored to be abnormal, the state of the state control variable of the key is set to be the state consistent with the current state of the key.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a schematic flow chart diagram illustrating a key processing method according to an embodiment of the present invention;
FIG. 2A is a schematic diagram illustrating a key event classification process according to an embodiment of a key processing method provided by the present invention;
FIG. 2B is a schematic diagram illustrating an embodiment of a key processing method according to the present invention;
FIG. 3 is a schematic structural diagram of a key processing device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an embodiment of an electronic device provided in the present invention.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terms "comprising" and "having," and any variations thereof, in the description and claims of this invention and the drawings described herein are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Firstly, the application scene related to the invention is introduced:
during the process of processing key events by the keyboard processing program, state control variables of keys are used, and the state control variables are responsible for recording processing results or indicating states during the process of processing the key events.
The inventor discovers that in the process of implementing the invention: in the use process of software, it is found that some keys are abnormal after the shortcut keys are used, and corresponding characters cannot be input or functional disorder corresponding to the shortcut keys cannot be input. By analyzing the processing flow of the key event in the keyboard processing program, the bounce event of the shortcut key is found not to be captured by the keyboard processing program, so that the key bounce state corresponding to the state control variable in the keyboard processing program is not effective, that is, the state control variable of the shortcut key does not correspond to the current state of the shortcut key, which causes the processing branch to be missed when the key state is judged subsequently, so that the key event is not executed according to correct logic, and finally the corresponding function of the software cannot be normally used.
In the embodiment of the present invention, there may be other key anomalies, such as case conflict, for example, an uppercase is set when an application is used, after a window of the application is minimized but not closed, and at this time, a lowercase is set, and after the application is turned on again, the state is inconsistent with the current keyboard state, and the uppercase state is still maintained in the application, but the keyboard is set to the lowercase.
For example, the user presses the shortcut key Ctrl + F, and assuming that after the shortcut key is popped up, the pop-up state of Ctrl is not captured by the keyboard handler, and the state of Ctrl in the keyboard handler is still the pressed state, the keyboard handler may treat the key F as the shortcut key Ctrl + F after the user presses the key F again, which may cause an abnormal situation.
According to the method provided by the embodiment of the invention, when the state of the state control variable of the key is monitored to be abnormal, the state of the state control variable of the key is set to be in accordance with the current state of the key, so that the state of the key can be accurately known no matter whether a keyboard processing program catches a bounce or press event of the key, and the subsequent key operation is not influenced.
The embodiment of the invention is suitable for the Linux operating system, in particular suitable for the scene of key abnormity under the window switching state under the Linux operating system; in addition, the embodiment of the invention is also suitable for a scene of key abnormity under the window switching state in remote operation under the Linux operating system.
Fig. 1 is a schematic flowchart of a key processing method according to an embodiment of the present invention. As shown in fig. 1, the method provided by this embodiment includes:
102, acquiring the state of a state control variable of a key; monitoring the state of the acquired state control variable of the key;
and 103, when monitoring that the state of the state control variable of the key is abnormal, setting the state of the state control variable of the key to be in accordance with the current state of the key according to the current state of the key.
Specifically, the state of the state control variable of the key is monitored, and if it is monitored that the state of the state control variable of the key is abnormal, the state of the state control variable of the key needs to be set according to the current state of the key, that is, the state of the state control variable of the key is set to be the state consistent with the current state of the key.
Optionally, the key is a shortcut key, and before step 101, the method may further include:
and when the pressing operation of the user on the shortcut key is acquired, executing the function corresponding to the shortcut key according to the pressing operation.
Specifically, when the user operates the keys of the keyboard, for example, a pressing operation is performed on a shortcut key, which includes a single key or a combination key, for example, Ctrl + F, Alt + F, F1, and so on.
And executing the function of the shortcut key corresponding to the pressing operation according to the pressing operation. For example, Ctrl + F corresponds to a window full screen function in a keyboard handler of a remote control application.
Further, step 101 may be specifically implemented as follows:
acquiring the current state of the shortcut key as a bounce state;
and setting the state of the state control variable of the shortcut key as a key-up state according to the current state of the shortcut key.
In the related art, for example, when a user executes a shortcut minimization function using a remote control application, the shortcut key is bounced at a moment, the function of the shortcut key has been completed before a keyboard handler in the remote control application captures a bounce event, that is, the system has switched from a state of executing the remote control application to a local state, and after the system has switched to the local state, the remote control application is in a dormant state, so that the keyboard handler in the remote control application does not capture the bounce event of the shortcut key, so that a state control variable in the keyboard handler is not set according to normal logic, that is, the state of the state control variable of the shortcut key is not set to a key bounce state.
In the embodiment of the invention, after the function corresponding to the shortcut key is executed, whether the bounce event of the shortcut key is captured or not, the state of the state control variable of the shortcut key is set according to the acquired current state of the key, and the state of the state control variable of the shortcut key is set to be the key bounce state, so that the state of the state control variable of the shortcut key can be kept consistent with the state under normal conditions, and a keyboard processing program can be executed according to normal logic. The current state of the key can be acquired through physical equipment, for example, a physical keyboard, and after the physical keyboard acquires the current state of the key, the current state of the key is transmitted to the kernel in a signal transmission mode; the kernel passes the current state of the key to the application. Further, whether the state control variable of the key is abnormal or not can be determined according to whether the function of the key is realized or not and the state of the state control variable of the key.
The state of the state control variable of the shortcut key is set to be a key-up state according to the current state of the shortcut key, and the method can be specifically realized in the following manner:
and setting the state control variable of the shortcut key in the key processing program to be in an invalid state, wherein the invalid state is used for indicating that the shortcut key is in the key bounce state.
Specifically, the setting of the state of the shortcut key to the key-up state may be implemented by setting a state control variable of the shortcut key in the key processing program to an invalid state, where the invalid state is used to indicate that the shortcut key is in the key-up state.
The method of the embodiment acquires the current state of the key; acquiring the state of a state control variable of a key; monitoring the state of the acquired state control variable of the key; according to the scheme, when the state of the state control variable of the key is monitored to be abnormal, the state of the state control variable of the key is set to be the state consistent with the current state of the key.
On the basis of the foregoing embodiment, optionally, if the shortcut key is a combination key, where the combination key includes a first key and a second key, step 101 may be specifically implemented by:
acquiring the pressing operation of a user on a first key in the combined keys;
setting the state of the first key as a key pressing state; and the number of the first and second electrodes,
and acquiring the pressing operation of the user on a second key in the combined keys.
Further, the setting the state of the state control variable of the shortcut key to the key bounce state includes:
and modifying the state of the state control variable of the first key from the key pressing state to a key bouncing state.
Specifically, if the shortcut key is a combination key, the combination key includes a first key and a second key, and when the pressing operation of the shortcut key by the user is identified, the pressing operation of the user on the first key in the combination key is firstly obtained, the state of the first key is set as a key pressing state, and then the pressing operation of the user on the second key in the combination key is obtained, so that the function of the combination key is executed.
For example, the combination key is Ctrl + F, the first key is Ctrl, and the second key is F; firstly, acquiring the pressing operation of a user on a Ctrl key, setting the state of the Ctrl key as a key pressing state, and then acquiring the pressing operation of an F key; finally, the function of Ctrl + F is performed.
Furthermore, after the function of the combined key is executed, the state of the state control variable of the first key in the combined key is changed from the key pressing state to the key bouncing state, so that the state of the first key can be correctly identified when the keyboard processing program does not capture the bouncing event of the first key.
The combined keys can be pressed simultaneously or in sequence. For three or more combined keys, the first key may be the first key and the other keys may be the second keys.
The processing logic of the keyboard processing method is shown in fig. 2A, the key operation is divided into a key up event and a key down event, and the key up event and the key down event are respectively divided into a first key of a combined key, a second key of the combined key and a single key up or down.
The following is a specific implementation flow of the keyboard processing program:
as shown in fig. 2B, first, it is determined whether the key is flipped up, and if the key is flipped up, it is determined whether a shortcut key is already set, and the flipped up is the shortcut key; if the shortcut key is set and the flicked shortcut key is the shortcut key, setting the state of the shortcut key as a non-effective state; determining whether the shortcut key is matched with other keys for use; if the shortcut key is matched with other keys for use, sending a bounce event of the shortcut key;
if the flick is not a shortcut key, determining whether the shortcut key is in an effective state; if the shortcut key is in an effective state, sending a common key bounce event matched with the shortcut key; if the shortcut key is in an invalid state, sending a bounce event of the common key;
if the key is not bounced (namely the key is pressed), determining whether a shortcut key is set or not, and pressing the shortcut key; if the shortcut key is set and the shortcut key is pressed, setting the state of the shortcut key as an effective state; determining whether the shortcut key is matched with other keys for use; if the shortcut key is matched with other keys for use, setting the state of the shortcut key as a non-effective state, and sending a common key pressing event matched with the shortcut key; if the shortcut key is not matched with other keys for use, sending a pressing event of the shortcut key;
if the pressed shortcut key is not the shortcut key, determining whether the shortcut key is in an invalid state; if the shortcut key is in an effective state, determining whether the shortcut key is matched with other keys for use; if the shortcut key is matched with other keys for use, setting the state of the shortcut key as a non-effective state, and sending a common key pressing event matched with the shortcut key; if the shortcut key is in an invalid state, sending a pressing event of the common key;
the method comprises the steps that a state control variable cnnhld- > host key _ activated of a shortcut key is set to be in an invalid state, namely FALSE, and if the key is bounced under an abnormal condition, if the key is not captured, the operation is not executed, so that the abnormality is introduced.
After the shortcut key is pressed down and the matching operation with other keys is executed, setting the state control variable cnnhld- > hostkey _ activated of the shortcut key to be in an invalid state, namely, to be FALSE; namely, the state control variable host _ activated of the key is set to FALSE before the key is bounced after being pressed in the original keyboard processing program, and the problem of logic deviation can not exist in the next key operation.
Wherein the relevant variables are specified below:
the hostkey _ activated represents whether the first key in the shortcut key is in a valid state (belonging to a state control variable).
On the basis of the foregoing embodiment, optionally, before executing the function corresponding to the shortcut key, the method further includes:
establishing a corresponding relation between the shortcut key and the function;
correspondingly, the executing the function corresponding to the shortcut key includes:
and executing the function corresponding to the shortcut key according to the pressing operation and the corresponding relation.
Specifically, the corresponding relationship between the shortcut key and the function thereof may be preset.
After the shortcut key is pressed, the function corresponding to the shortcut key can be executed according to the preset corresponding relation.
In practical application, the functions corresponding to the shortcut keys, namely the functions corresponding to the shortcut keys in the corresponding relationship, can be modified according to requirements.
Fig. 3 is a structural diagram of an embodiment of a key processing device provided in the present invention, and as shown in fig. 3, the key processing device of the embodiment includes:
the acquisition module is used for acquiring the current state of the key;
the acquisition module is also used for acquiring the state of the state control variable of the key;
the monitoring module is used for monitoring the state of the acquired state control variable of the key;
and the processing module is used for setting the state of the state control variable of the key to be consistent with the current state of the key according to the current state of the key when the monitoring module monitors that the state of the state control variable of the key is abnormal.
Optionally, the key is a shortcut key, and the processing module is further configured to:
when the pressing operation of the user on the shortcut key is acquired, executing the function corresponding to the shortcut key according to the pressing operation;
correspondingly, the obtaining module is further configured to:
acquiring the current state of the shortcut key as a key bounce state;
correspondingly, the processing module is specifically configured to:
and setting the state of the state control variable of the shortcut key as a key-up state according to the current state of the shortcut key.
Optionally, the processing module is specifically configured to:
and setting the state control variable of the shortcut key in the key processing program to be in an invalid state, wherein the invalid state is used for indicating that the shortcut key is in the key bounce state.
Optionally, if the shortcut key is a combination key, where the combination key includes a first key and a second key, the processing module 302 is specifically configured to:
acquiring the pressing operation of the user on a first key in the combined keys;
setting the state of the first key as a key pressing state; and the number of the first and second electrodes,
acquiring the pressing operation of a user on a second key in the combined keys;
correspondingly, the processing module 302 is specifically configured to:
and modifying the state of the state control variable of the first key from the key pressing state to a key bouncing state.
Optionally, the processing module 302 is further configured to:
establishing a corresponding relation between the shortcut key and the function;
correspondingly, the processing module 302 is specifically configured to:
and executing the function corresponding to the shortcut key according to the pressing operation and the corresponding relation.
The apparatus of this embodiment may be configured to implement the technical solutions of the above method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
Fig. 4 is a structural diagram of an embodiment of an electronic device provided in the present invention, and as shown in fig. 4, the electronic device includes:
a processor 401, and a memory 402 for storing executable instructions for the processor 401.
Optionally, a communication interface 403 may also be included for communicating with other devices.
The processor 401 is configured to execute the corresponding method in the foregoing method embodiment by executing the executable instruction, and the specific implementation process of the method may refer to the foregoing method embodiment, which is not described herein again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the method in the foregoing method embodiment is implemented.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (10)
1. A key processing method, comprising:
acquiring the current state of the key;
acquiring the state of a state control variable of a key; monitoring the state of the acquired state control variable of the key;
and when monitoring that the state of the state control variable of the key is abnormal, setting the state of the state control variable of the key to be in accordance with the current state of the key according to the current state of the key.
2. The method of claim 1, wherein the key is a shortcut key, and before the obtaining the current state of the key, further comprising:
when the pressing operation of the user on the shortcut key is acquired, executing the function corresponding to the shortcut key according to the pressing operation;
the obtaining the current state of the key comprises:
acquiring the current state of the shortcut key as a key bounce state;
setting the state of the state control variable of the key to be in accordance with the current state of the key according to the current state of the key, wherein the setting comprises the following steps:
and setting the state of the state control variable of the shortcut key as a key-up state according to the current state of the shortcut key.
3. The method according to claim 2, wherein the setting the state of the state control variable of the shortcut key to a key up state according to the current state of the shortcut key comprises:
and setting the state control variable of the shortcut key in the key processing program to be in an invalid state, wherein the invalid state is used for indicating that the shortcut key is in the key bounce state.
4. The method according to claim 2 or 3, wherein if the shortcut key is a combination key, and the combination key comprises a first key and a second key, the method for obtaining the pressing operation of the shortcut key by the user comprises:
acquiring the pressing operation of the user on a first key in the combined keys;
setting the state of the first key as a key pressing state; and the number of the first and second electrodes,
acquiring the pressing operation of a user on a second key in the combined keys;
the setting of the state control variable of the shortcut key into a key bounce state comprises:
and modifying the state of the state control variable of the first key from the key pressing state to a key bouncing state.
5. The method according to claim 2 or 3, wherein before executing the function corresponding to the shortcut key, the method further comprises:
establishing a corresponding relation between the shortcut key and the function;
the executing the function corresponding to the shortcut key comprises the following steps:
and executing the function corresponding to the shortcut key according to the pressing operation and the corresponding relation.
6. A key processing apparatus, the method comprising:
the acquisition module is used for acquiring the current state of the key;
the acquisition module is also used for acquiring the state of the state control variable of the key;
the monitoring module is used for monitoring the state of the acquired state control variable of the key;
and the processing module is used for setting the state of the state control variable of the key to be consistent with the current state of the key according to the current state of the key when the monitoring module monitors that the state of the state control variable of the key is abnormal.
7. The apparatus of claim 6, wherein the key is a shortcut key, and wherein the processing module is further configured to:
when the pressing operation of the user on the shortcut key is acquired, executing the function corresponding to the shortcut key according to the pressing operation;
the obtaining module is further configured to:
acquiring the current state of the shortcut key as a key bounce state;
the processing module is specifically configured to:
and setting the state of the state control variable of the shortcut key as a key-up state according to the current state of the shortcut key.
8. The apparatus of claim 7, wherein the processing module is specifically configured to:
and setting the state control variable of the shortcut key in the key processing program to be in an invalid state, wherein the invalid state is used for indicating that the shortcut key is in the key bounce state.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of any one of claims 1-5.
10. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the method of any of claims 1-5 via execution of the executable instructions.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811642486.3A CN111381686A (en) | 2018-12-29 | 2018-12-29 | Key processing method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811642486.3A CN111381686A (en) | 2018-12-29 | 2018-12-29 | Key processing method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111381686A true CN111381686A (en) | 2020-07-07 |
Family
ID=71214865
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811642486.3A Pending CN111381686A (en) | 2018-12-29 | 2018-12-29 | Key processing method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111381686A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113054979A (en) * | 2021-02-26 | 2021-06-29 | 深圳前海云充科技有限公司 | Control method and device for key fool-proofing, computer equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1294347A (en) * | 1999-10-21 | 2001-05-09 | 神达电脑股份有限公司 | Exception detecting method for keyboard input system |
CN1953334A (en) * | 2006-11-17 | 2007-04-25 | 北京中星微电子有限公司 | A method and system for keyboard scan |
CN101520648A (en) * | 2009-04-03 | 2009-09-02 | 四川长虹电器股份有限公司 | Method and system for eliminating key jitter |
CN102508552A (en) * | 2011-10-31 | 2012-06-20 | 深圳市大富科技股份有限公司 | Method for eliminating jittering of buttons, device and keyboard |
CN104184479A (en) * | 2014-07-31 | 2014-12-03 | 山东神戎电子股份有限公司 | De-jittering button detection method capable of avoiding omission of events |
CN106604164A (en) * | 2016-04-29 | 2017-04-26 | 福建先创电子有限公司 | Jitter elimination method and apparatus for key of earphone |
-
2018
- 2018-12-29 CN CN201811642486.3A patent/CN111381686A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1294347A (en) * | 1999-10-21 | 2001-05-09 | 神达电脑股份有限公司 | Exception detecting method for keyboard input system |
CN1953334A (en) * | 2006-11-17 | 2007-04-25 | 北京中星微电子有限公司 | A method and system for keyboard scan |
CN101520648A (en) * | 2009-04-03 | 2009-09-02 | 四川长虹电器股份有限公司 | Method and system for eliminating key jitter |
CN102508552A (en) * | 2011-10-31 | 2012-06-20 | 深圳市大富科技股份有限公司 | Method for eliminating jittering of buttons, device and keyboard |
CN104184479A (en) * | 2014-07-31 | 2014-12-03 | 山东神戎电子股份有限公司 | De-jittering button detection method capable of avoiding omission of events |
CN106604164A (en) * | 2016-04-29 | 2017-04-26 | 福建先创电子有限公司 | Jitter elimination method and apparatus for key of earphone |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113054979A (en) * | 2021-02-26 | 2021-06-29 | 深圳前海云充科技有限公司 | Control method and device for key fool-proofing, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107402835B (en) | Application program exception handling method and device, storage medium and mobile terminal | |
CN107145782B (en) | Abnormal application program identification method, mobile terminal and server | |
US20200151417A1 (en) | Fingerprint Capturing Method, Electronic Device, and Storage Medium | |
CN108632533B (en) | Camera control method, mobile terminal and computer readable storage medium | |
US20150220417A1 (en) | Monitoring user activity and performance of computerized devices | |
CN104246696A (en) | Image-based application automation | |
CN108089737B (en) | Multi-mouse control method and device for single computer | |
CN111381686A (en) | Key processing method, device, equipment and storage medium | |
CN111694490A (en) | Setting method and device and electronic equipment | |
CN114253841A (en) | Test script generation method and device and storage medium | |
CN110275623B (en) | Method and device for triggering key values of keys | |
US9131089B2 (en) | Image processing system including image forming apparatus having touch panel | |
US10235150B2 (en) | System and methods for touch pattern detection and user interface adaptation | |
WO2024087618A1 (en) | Screen capture method, screen capture apparatus, screen capture device, and computer storage medium | |
CN111124519B (en) | Method and system for optimizing starting speed of android application program based on input response | |
CN110570830B (en) | Equipment adjusting method and device, storage medium and electronic equipment | |
CN109491825B (en) | Method, device, storage medium and terminal for positioning abnormal starting problem | |
CN108710477B (en) | Display method, mobile terminal and storage medium | |
CN108391120B (en) | Camera starting test method, device, equipment and storage medium | |
CN114510429B (en) | Debugging method, system and medium based on dynamic symbol execution | |
CN110704127B (en) | Button control method, device, electronic equipment and storage medium | |
CN111221723B (en) | Test record generation method and device, storage medium and electronic equipment | |
CN113138888A (en) | Function detection method and device, electronic equipment and storage medium | |
CN111475043A (en) | Operation method and device of terminal equipment | |
CN111506477B (en) | Log capture method and device of touch screen and mobile terminal |
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 | ||
CB02 | Change of applicant information |
Address after: 100095 Building 2, Longxin Industrial Park, Zhongguancun environmental protection technology demonstration park, Haidian District, Beijing Applicant after: Loongson Zhongke Technology Co.,Ltd. Address before: 100095 Building 2, Longxin Industrial Park, Zhongguancun environmental protection technology demonstration park, Haidian District, Beijing Applicant before: LOONGSON TECHNOLOGY Corp.,Ltd. |
|
CB02 | Change of applicant information |