CN111599622B - Key control method, device, keyboard and readable storage medium - Google Patents

Key control method, device, keyboard and readable storage medium Download PDF

Info

Publication number
CN111599622B
CN111599622B CN202010409237.0A CN202010409237A CN111599622B CN 111599622 B CN111599622 B CN 111599622B CN 202010409237 A CN202010409237 A CN 202010409237A CN 111599622 B CN111599622 B CN 111599622B
Authority
CN
China
Prior art keywords
key
stroke
coil
mode
preset
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.)
Active
Application number
CN202010409237.0A
Other languages
Chinese (zh)
Other versions
CN111599622A (en
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 Jingyang Electronics And Technology Co ltd
Original Assignee
Dongguan Jingyang Electronics And 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 Jingyang Electronics And Technology Co ltd filed Critical Dongguan Jingyang Electronics And Technology Co ltd
Priority to CN202010409237.0A priority Critical patent/CN111599622B/en
Publication of CN111599622A publication Critical patent/CN111599622A/en
Priority to PCT/CN2021/092815 priority patent/WO2021228045A1/en
Application granted granted Critical
Publication of CN111599622B publication Critical patent/CN111599622B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01HELECTRIC SWITCHES; RELAYS; SELECTORS; EMERGENCY PROTECTIVE DEVICES
    • H01H13/00Switches having rectilinearly-movable operating part or parts adapted for pushing or pulling in one direction only, e.g. push-button switch
    • H01H13/70Switches having rectilinearly-movable operating part or parts adapted for pushing or pulling in one direction only, e.g. push-button switch having a plurality of operating members associated with different sets of contacts, e.g. keyboard
    • H01H13/84Switches having rectilinearly-movable operating part or parts adapted for pushing or pulling in one direction only, e.g. push-button switch having a plurality of operating members associated with different sets of contacts, e.g. keyboard characterised by ergonomic functions, e.g. for miniature keyboards; characterised by operational sensory functions, e.g. sound feedback
    • H01H13/85Switches having rectilinearly-movable operating part or parts adapted for pushing or pulling in one direction only, e.g. push-button switch having a plurality of operating members associated with different sets of contacts, e.g. keyboard characterised by ergonomic functions, e.g. for miniature keyboards; characterised by operational sensory functions, e.g. sound feedback characterised by tactile feedback features
    • 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/016Input arrangements with force or tactile feedback as computer generated output to the user
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01HELECTRIC SWITCHES; RELAYS; SELECTORS; EMERGENCY PROTECTIVE DEVICES
    • H01H13/00Switches having rectilinearly-movable operating part or parts adapted for pushing or pulling in one direction only, e.g. push-button switch
    • H01H13/70Switches having rectilinearly-movable operating part or parts adapted for pushing or pulling in one direction only, e.g. push-button switch having a plurality of operating members associated with different sets of contacts, e.g. keyboard
    • H01H13/702Switches having rectilinearly-movable operating part or parts adapted for pushing or pulling in one direction only, e.g. push-button switch having a plurality of operating members associated with different sets of contacts, e.g. keyboard with contacts carried by or formed from layers in a multilayer structure, e.g. membrane switches
    • H01H13/705Switches having rectilinearly-movable operating part or parts adapted for pushing or pulling in one direction only, e.g. push-button switch having a plurality of operating members associated with different sets of contacts, e.g. keyboard with contacts carried by or formed from layers in a multilayer structure, e.g. membrane switches characterised by construction, mounting or arrangement of operating parts, e.g. push-buttons or keys
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01HELECTRIC SWITCHES; RELAYS; SELECTORS; EMERGENCY PROTECTIVE DEVICES
    • H01H13/00Switches having rectilinearly-movable operating part or parts adapted for pushing or pulling in one direction only, e.g. push-button switch
    • H01H13/70Switches having rectilinearly-movable operating part or parts adapted for pushing or pulling in one direction only, e.g. push-button switch having a plurality of operating members associated with different sets of contacts, e.g. keyboard
    • H01H13/702Switches having rectilinearly-movable operating part or parts adapted for pushing or pulling in one direction only, e.g. push-button switch having a plurality of operating members associated with different sets of contacts, e.g. keyboard with contacts carried by or formed from layers in a multilayer structure, e.g. membrane switches
    • H01H13/705Switches having rectilinearly-movable operating part or parts adapted for pushing or pulling in one direction only, e.g. push-button switch having a plurality of operating members associated with different sets of contacts, e.g. keyboard with contacts carried by or formed from layers in a multilayer structure, e.g. membrane switches characterised by construction, mounting or arrangement of operating parts, e.g. push-buttons or keys
    • H01H13/7065Switches having rectilinearly-movable operating part or parts adapted for pushing or pulling in one direction only, e.g. push-button switch having a plurality of operating members associated with different sets of contacts, e.g. keyboard with contacts carried by or formed from layers in a multilayer structure, e.g. membrane switches characterised by construction, mounting or arrangement of operating parts, e.g. push-buttons or keys characterised by the mechanism between keys and layered keyboards

Abstract

The invention provides a key control method, a device, a keyboard and a readable storage medium, wherein the key control method is applied to keys provided with coils and magnets opposite to the coils, and comprises the following steps: acquiring a preset key mode, wherein the key mode comprises a common mode or an enhanced mode; when the preset key mode is the enhanced mode, the transmission of the current in the first direction and/or the current in the second direction to the coil is controlled after the key stroke acquired in real time reaches the preset stroke, so that the coil and the magnet generate corresponding repulsion and/or attraction, and the key feedback is enhanced. According to the key control method, the repulsion force and/or the attraction force can be generated between the control coil and the magnet which is arranged oppositely, so that a user can adjust the key feedback according to the requirement, and the experience degree of the user is improved.

Description

Key control method, device, keyboard and readable storage medium
Technical Field
The invention relates to the field of keys, in particular to a key control method, a key control device, a keyboard and a readable storage medium.
Background
The existing keyboards are of various types, for example, including membrane keyboards and mechanical keyboards, and the mechanical keyboards are popular among people because they can provide not only feedback of key force but also a certain degree of key segment sense when being knocked. The key force, paragraph feeling and other key feedback of the mechanical keyboard are related to the mechanical structure of the keys, and the key force, paragraph feeling and other strengths are fixed and cannot be adjusted in the key production process, so that a user often needs to try through various key keyboards to select a keyboard really suitable for the user, and the experience degree is low.
Disclosure of Invention
In view of the above problems, the present invention provides a key control method, device, keyboard and readable storage medium, so as to provide the user with the experience of freely adjusting key feedback, thereby improving the user experience.
In order to achieve the purpose, the invention adopts the following technical scheme:
a key control method is applied to a key provided with a coil and a magnet arranged opposite to the coil, and comprises the following steps:
acquiring a preset key mode, wherein the key mode comprises a common mode or an enhanced mode;
when the preset key mode is the enhanced mode, the transmission of the current in the first direction and/or the current in the second direction to the coil is controlled after the key stroke acquired in real time reaches the preset stroke, so that the coil and the magnet generate corresponding repulsion and/or attraction, and the key feedback is enhanced.
Preferably, the key control method further includes:
and when the preset key mode is the common mode, controlling the coil not to be electrified when the preset stroke is reached.
Preferably, in the key control method, the key stroke includes a pressing stroke and a rebounding stroke;
the pressing stroke comprises a key conduction front stroke and a key conduction rear stroke;
the rebound stroke comprises a key release front stroke and a key release rear stroke;
the stroke of the key after being switched on comprises a first repulsion force enhancing stroke and/or a suction force enhancing stroke of the key; and/or
And the stroke after the key is released comprises a key second repulsive force enhancing stroke.
Preferably, in the key control method, the controlling of transmitting a first direction current and/or a second direction current to the coil after the key stroke acquired in real time reaches a preset stroke to enable the coil and the magnet to generate a corresponding repulsion force and/or an attraction force so as to enhance the key feedback includes:
and after the pressing stroke reaches the key first repulsion force enhancing stroke, controlling to transmit a first-direction current to the coil, so that the coil and the magnet enhance the key repulsion force during the key first repulsion force enhancing stroke.
Preferably, in the key control method, the controlling of transmitting a first direction current and/or a second direction current to the coil after the key stroke acquired in real time reaches a preset stroke to enable the coil and the magnet to generate a corresponding repulsion force and/or an attraction force so as to enhance the key feedback includes:
and after the pressing stroke reaches the key suction force enhancing stroke, controlling to transmit a second direction current to the coil, so that the coil and the magnet generate a suction force enhancing key section falling feeling during the key suction force enhancing stroke.
Preferably, in the key control method, the controlling of transmitting a first direction current and/or a second direction current to the coil after the key stroke acquired in real time reaches a preset stroke to enable the coil and the magnet to generate a corresponding repulsion force and/or an attraction force so as to enhance the key feedback includes:
and after the rebound stroke reaches the key second repulsion force enhancing stroke, controlling to transmit a first-direction current to the coil, so that the coil and the magnet generate repulsion force to enhance the key rebound speed in the key second repulsion force enhancing stroke.
Preferably, in the key control method, the coil is only electrified in the first repulsion force enhancing stroke and/or the suction force enhancing stroke and/or the second repulsion force enhancing stroke of the key.
Preferably, the key control method further includes:
obtaining preset current parameters, and adjusting the magnitude of the first direction current and/or the second direction current and/or adjusting the duration of the first direction current and/or the second direction current according to the current parameters.
The present invention also provides a key control device applied to a key provided with a coil and a magnet disposed opposite to the coil, comprising:
the key mode acquisition module is used for acquiring preset key modes, and the key modes comprise a common mode or an enhanced mode;
and the key feedback enhancement module is used for controlling and transmitting first-direction current and/or second-direction current to the coil after the key stroke acquired in real time reaches a preset stroke when the preset key mode is the enhancement mode, so that the coil and the magnet generate corresponding repulsion and/or attraction to enhance the key feedback.
The invention also provides a keyboard, which comprises a memory and a processor, wherein the memory stores a computer program, and the processor runs the computer program to enable the keyboard to execute the key control method.
The invention also provides a readable storage medium, which stores a computer program, and the computer program executes the key control method when running on a processor.
The invention provides a key control method, which is applied to a key provided with a coil and a magnet opposite to the coil, and comprises the following steps: acquiring a preset key mode, wherein the key mode comprises a common mode or an enhanced mode; when the preset key mode is the enhanced mode, the transmission of the current in the first direction and/or the current in the second direction to the coil is controlled after the key stroke acquired in real time reaches the preset stroke, so that the coil and the magnet generate corresponding repulsion and/or attraction, and the key feedback is enhanced. According to the key control method, the repulsion force and/or the attraction force can be generated between the control coil and the magnet which is arranged oppositely, so that a user can adjust the key feedback according to the requirement, and the experience degree of the user is improved.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings required to be used in the embodiments will be briefly described below, and it should be understood that the following drawings only illustrate some embodiments of the present invention, and therefore should not be considered as limiting the scope of the present invention. Like components are numbered similarly in the various figures.
Fig. 1 is a flowchart of a key control method according to embodiment 1 of the present invention;
fig. 2 is a schematic mechanism diagram of a key according to embodiment 1 of the present invention;
fig. 3 is a flowchart of another key control method provided in embodiment 1 of the present invention;
FIG. 4 is a graph of key force versus stroke provided in embodiment 2 of the present invention;
fig. 5 is a flowchart of a key control method according to embodiment 2 of the present invention;
fig. 6 is a flowchart of another key control method according to embodiment 2 of the present invention;
fig. 7 is a flowchart of a third key control method according to embodiment 2 of the present invention;
fig. 8 is a flowchart of a key control method according to embodiment 3 of the present invention;
fig. 9 is a schematic structural diagram of a key control device according to embodiment 4 of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
Hereinafter, the terms "including", "having", and their derivatives, which may be used in various embodiments of the present invention, are only intended to indicate specific features, numbers, steps, operations, elements, components, or combinations of the foregoing, and should not be construed as first excluding the existence of, or adding to, one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing.
Furthermore, the terms "first," "second," "third," and the like are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of the present invention belong. The terms (such as terms defined in a commonly used dictionary) will be construed to have the same meaning as the contextual meaning in the related art and will not be construed to have an idealized or overly formal meaning unless expressly so defined in various embodiments of the present invention.
Example 1
Fig. 1 is a flowchart of a key control method provided in embodiment 1 of the present invention, where the method is applied to a key provided with a coil and a magnet arranged opposite to the coil, and includes the following steps:
step S11: and acquiring a preset key mode, wherein the key mode comprises a common mode or an enhanced mode.
In the embodiment of the invention, after the keyboard is started, the keyboard can acquire a preset key mode and operate the keyboard in the preset key mode, specifically, the key mode comprises a common mode and an enhancement mode, the common mode is a mode for completing the whole key work through an elastic piece of the key, the enhancement mode is a mode for generating a force in the same direction or a force in the opposite direction of the elastic piece through controlling a coil, so that the feedback of the key is enhanced, and the coil is an electrified coil which can generate magnetic force after being electrified. Specifically, the key feedback comprises key repulsion force, key section falling feeling and key resilience force, wherein the key repulsion force increases the resistance of the key when the key is pressed, the key section falling feeling reduces the resistance of the key when the key is pressed at a preset point of the stroke, and the key resilience force increases the key elasticity when the key is rebounded at the preset point of the stroke. The combination or enhancement adjustment of the key repulsion, the key section falling feeling and the key resilience can be realized by a control coil, and the detailed description refers to the following description.
In the embodiment of the present invention, for the enhanced mode, the user may further set one, two, or all of the key repulsion, the key segment falling feeling, and the key rebound force in the enhanced mode, and adjust the intensities of the key repulsion, the key segment falling feeling, and the key rebound force, which is not limited herein. Specifically, an application program may be provided in the keyboard, and the application program is used to perform the adjustment of the enhancement mode and generate a corresponding control process of the coil, which is not limited herein.
Fig. 2 is a schematic mechanism diagram of a key provided in embodiment 1 of the present invention, wherein a key cap of the key 100 may be provided with a magnet 150, and a bottom of the key 100 may be provided with the coil 140 and the stroke sensor 110. The stroke sensor 110 is connected to a controller 120 of the keypad, and the controller 120 is connected to the driving module 130 to control the driving module 130 to transmit a preset voltage or current to the coil 140.
Step S12: when the preset key mode is the enhanced mode, the transmission of the current in the first direction and/or the current in the second direction to the coil is controlled after the key stroke acquired in real time reaches the preset stroke, so that the coil and the magnet generate corresponding repulsion and/or attraction, and the key feedback is enhanced.
In the embodiment of the present invention, as shown in fig. 2, the stroke of the key can be obtained in real time through the stroke sensor, the stroke sensor can be arranged inside the key, specifically, the stroke sensor can be a hall sensor, the hall sensor is arranged in a bottom plate of the key, that is, inside the key, correspondingly, a magnet can be arranged on a keycap of the key, and the hall sensor is used for sensing the magnitude of the magnetic flux of the magnet, so that the key stroke can be obtained in real time according to the magnitude of the magnetic flux. The travel sensor may also be arranged outside the key, and specifically may be a light sensor, and the light sensor may include a photosensitive sensor or an infrared sensor, i.e. a PT light-to-tube sensor or an IR light-to-tube sensor. The stroke sensor may also be a digital sensor, which is not limited herein.
In the embodiment of the invention, after the real-time information of the travel sensor is received, the real-time analysis of the key travel is carried out according to the information of the travel sensor, and the corresponding current or voltage is controlled to be transmitted to the coil when the key travel reaches the preset travel, so that the key feedback is enhanced. For example, a driving module may be disposed in the keyboard, and when it is detected that the key stroke reaches a preset stroke, a driving command may be sent to the driving module, so that the driving module transmits a corresponding current or voltage to the coil, so that the coil and the magnet generate an attractive force or a repulsive force, thereby generating key feedback, or enhancing key feedback.
In the embodiment of the invention, the stroke of the key comprises a pressing stroke and a rebounding stroke; the pressing stroke comprises a key conduction front stroke and a key conduction rear stroke; the rebound stroke comprises a key release front stroke and a key release rear stroke; the key conduction rear stroke comprises a key first repulsion force enhancing stroke and/or a key suction force enhancing stroke; and/or the stroke after the key is released comprises a key second repulsive force enhancing stroke. The pressing stroke is the stroke of pressing the key by the user until the key contacts the keyboard bottom plate. The rebound stroke is a stroke that the key returns to the initial state from a state of contacting the bottom plate after the user releases the pressed key.
The key is provided with a conduction point, when a user presses the key to the conduction point, the key can be conducted, namely the pressing stroke can be divided into a key conduction front stroke and a key conduction rear stroke, and in the key conduction rear stroke, a key first repulsion force enhancing stroke or a key suction force enhancing stroke can be added, or a key first repulsion force enhancing stroke and a key suction force enhancing stroke are added in sequence. And the first direction current is controlled to be transmitted to the coil in the first repulsion force enhancing stroke of the key, so that the coil and the magnet generate repulsion force, and the key repulsion force is enhanced. And in the key suction force enhancing stroke, the control unit transmits a second direction current to the coil so as to enable the coil and the magnet to generate suction force, thereby generating or enhancing paragraph feeling.
In the process of the return stroke of the key, the same position of the conduction point of the key can be a release point, namely the rebound stroke can be divided into a key release front stroke and a key release rear stroke. And a first repulsion force enhancing stroke of the key can be increased in the stroke after the key is released, and the transmission of first-direction current to the coil is controlled in a second repulsion force enhancing stroke of the key, so that the coil and the magnet generate repulsion force, thereby enhancing the return elasticity of the key and increasing the rebound speed.
In the embodiment of the invention, by increasing the stroke and controlling and transmitting the current in the corresponding direction to the coil in the corresponding stroke, the adjustment of the key repulsion force, the key section falling feeling and the key resilience force can be realized, and at least one key feedback can be selectively realized, so that a user can adjust the key repulsion force, the key section falling feeling and the key resilience force as required, and the user experience degree is improved.
In the embodiment of the present invention, the process of determining whether the stroke reaches the preset stroke may be implemented by using an algorithm or an application program, for example, an application program may be set in the keyboard, and the application program acquires the real-time stroke detected by the stroke sensor, determines whether the stroke reaches the preset stroke, and generates a corresponding instruction to control the current transmitted to the coil after the stroke reaches the preset stroke.
Fig. 3 is a flowchart of another key control method provided in embodiment 1 of the present invention, further including the following steps:
step S13: and when the preset key mode is the common mode, controlling the coil not to be electrified when the preset stroke is reached.
In the embodiment of the invention, if the preset key mode is the common mode, the coil is not electrified when the preset stroke is reached, namely, the generation of key feedback or the enhancement of the key feedback is not carried out. The method can be applied to common keys, the coil and the magnet are added in the common keys, and various combined key feedbacks can be generated by controlling the coil, wherein the key feedbacks comprise at least one of key repulsion, key section falling feeling and key elasticity. The mechanical keyboard can be applied to a mechanical keyboard, and at least one key feedback of original key repulsion, key section falling feeling and key elasticity can be enhanced by newly adding a coil and a magnet and controlling the coil, and the method is not limited here. The keyboard may be provided with an application program for receiving an instruction of a user to switch between a normal mode and an enhanced mode, which is not limited herein.
Example 2
Fig. 4 is a graph of key force versus stroke provided in embodiment 2 of the present invention.
In fig. 4, point a is an initial stroke point of the key, point B is a conduction point of the key, point C is a peak point of the key force, i.e., a peak point of the repulsive force generated by the coil, point D is a valley point of the key force, i.e., a segment where the coil generates the suction force and the spring are superposed, point E is a release point of the key, and point F is a release point of the coil after the return elastic force is generated. The point A to the point B represent an initial state before the key is conducted, the point B to the point C represent a first repulsion force enhancing stroke of the key, namely a state that the key reaches a key force peak value after being conducted, the point C to the point D represent a suction force enhancing stroke of the key, namely a state that the key performs paragraph feedback, the point D returns to the point E to represent a state that the key performs return stroke only through spring force or through superposition of the spring force and the key suction force, and the point E to the point F represent a second repulsion force enhancing stroke of the key, namely a state that a suction force feedback return stroke is added. That is, the states from point B to point C, from point C to point D, and from point E to point F may be implemented by the above-mentioned stroke detection and coil, so as to implement the feedback of the key, and the feedback implemented by each state may be implemented individually or in combination, so that the user may select the required key feedback by himself.
In the embodiment of the invention, in order to achieve the purpose of saving power, the coil can be controlled not to be electrified in the AB section stroke and the initial state before the key is conducted before the AB section stroke. And can also control the electric current in the coil in the DE section to reduce the button power, so that the user has good button to experience under the condition of holding the button for a long time, and can also control not to supply power to the coil in the DE section, thereby further accomplishing the effect of power saving. And the current magnitude, direction and duration of the coil in each section of stroke can be regulated and controlled, so that a user can face various keyboard use scenes according to requirements.
Fig. 5 is a flowchart of a key control method according to embodiment 2 of the present invention, including the following steps:
step S51: and acquiring a preset key mode, wherein the key mode comprises a common mode or an enhanced mode.
This step is identical to the step S11, and is not described herein again.
Step S52: and when the preset key mode is the enhanced mode, controlling to transmit a first-direction current to the coil after the pressing stroke reaches the key first repulsion enhanced stroke, so that the coil and the magnet enhance the key repulsion during the key first repulsion enhanced stroke.
In the embodiment of the invention, if the enhanced key repulsion force is set in the enhanced mode, after the pressing stroke is detected to reach the enhanced stroke of the first key repulsion force, namely after the pressing stroke passes through the conducting point of the key, the current in the first direction can be controlled and transmitted to the coil, so that the coil and the magnet generate the repulsion force, and the direction of the repulsion force is consistent with the elastic force direction of the key elastic part, therefore, the resistance of the key is increased, namely the key repulsion force is enhanced in the enhanced stroke of the first key repulsion force.
Fig. 6 is a flowchart of another key control method provided in embodiment 2 of the present invention, including the following steps:
step S53: and after the pressing stroke reaches the key suction force enhancing stroke, controlling to transmit a second direction current to the coil, so that the coil and the magnet generate a suction force enhancing key segment falling feeling during the key suction force enhancing stroke.
In the embodiment of the invention, if the enhanced key segment sense is set in the enhanced mode, after the detection of the enhanced stroke of the key attraction, the current in the second direction can be controlled to be transmitted to the coil, so that the coil and the magnet generate the attraction, and the direction of the attraction is opposite to the elastic direction of the key elastic piece, so that the resistance of the key is reduced, namely the key generates the segment sense during the enhanced stroke of the key attraction, or the segment sense of the key is enhanced.
Fig. 7 is a flowchart of a third key control method provided in embodiment 2 of the present invention, including the following steps:
step S54: and after the rebound stroke reaches the key second repulsion force enhancing stroke, controlling to transmit a first-direction current to the coil, so that the coil and the magnet generate repulsion force enhancing key rebound speed during the key second repulsion force enhancing stroke.
In the embodiment of the invention, if the enhanced key rebound speed is set in the enhanced mode, after the enhanced stroke of the second repulsive force of the key is detected, the current in the first direction can be controlled and transmitted to the coil, so that the coil and the magnet generate the repulsive force, and the direction of the repulsive force is consistent with the elastic direction of the key elastic piece, thereby accelerating the key rebound speed.
In the embodiment of the present invention, at least one of the steps S52, S53, and S54 may be selectively executed in the enhanced mode of the keyboard according to the setting of the user, so that the user can freely combine the keys as required, and adjust the key repulsion, the key segment falling feeling, and the key rebound speed.
In the embodiment of the invention, the coil is electrified only in the first repulsion force enhancing stroke and/or the suction force enhancing stroke and/or the second repulsion force enhancing stroke of the key. That is, in the key stroke other than the above-mentioned stroke, the coil is not energized, thereby achieving the function of saving electric power.
Example 3
Fig. 8 is a flowchart of a key control method according to embodiment 3 of the present invention, including the following steps:
step S81: and acquiring a preset key mode, wherein the key mode comprises a common mode or an enhanced mode.
This step is identical to the step S11, and is not described herein again.
Step S82: and acquiring preset current parameters, and adjusting the magnitude of the current in the first direction and/or the current in the second direction according to the current parameters, and/or adjusting the duration of the current in the first direction and/or the current in the second direction.
In the embodiment of the present invention, the magnitude and duration of the first-direction current or the second-direction current may also be adjusted by adjusting a current parameter, for example, when the key repulsion is enhanced, the magnitude of the enhanced key repulsion may be adjusted by adjusting the magnitude of the first-direction current, and the duration of the enhanced key repulsion is adjusted by adjusting the time of the current. In addition, when the long-time pressing of the key is detected, the duration of the current in the second direction can be prolonged, the resistance of the key is reduced, and better long-time pressing experience of the key is provided for a user.
In the embodiment of the present invention, the preset current parameter may be adjusted through an application program, for example, the application program may be set in a keyboard, the keyboard is connected to a computer terminal, and a user may adjust the current parameter after opening the application program at the computer terminal, which is not limited herein.
Step S83: when the preset key mode is the enhanced mode, the current in the first direction and/or the current in the second direction are controlled to be transmitted to the coil after the key stroke acquired in real time reaches the preset stroke, so that the coil and the magnet generate corresponding repulsion and/or attraction, and the key feedback is enhanced.
This step is identical to the step S12, and is not described herein again.
Example 4
Fig. 9 is a schematic structural diagram of a key control device according to embodiment 4 of the present invention.
This button controlling means 900 is applied to the button that is provided with the coil and with the magnet that the coil set up relatively, includes:
a key mode obtaining module 910, configured to obtain a preset key mode, where the key mode includes a normal mode or an enhanced mode;
and a key feedback enhancing module 920, configured to, when the preset key mode is the enhanced mode, control to transmit a first-direction current and/or a second-direction current to the coil after the key stroke obtained in real time reaches a preset stroke, so that the coil and the magnet generate a corresponding repulsion force and/or attraction force, so as to enhance the key feedback.
In the embodiment of the present invention, for more detailed description of functions of the above modules, reference may be made to contents of corresponding parts in the foregoing embodiment, which are not described again here.
Furthermore, the present invention also provides a keyboard comprising a memory and a processor, wherein the memory is used for storing a computer program, and the processor executes the computer program, so that the keyboard executes the method or the functions of the modules in the keying device.
The memory may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the keypad, etc. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The embodiment also provides a readable storage medium for storing the computer program used in the keyboard.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative and, for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, each functional module or unit in each embodiment of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention or a part of the technical solution that contributes to the prior art in essence can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a smart phone, a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, and various media capable of storing program codes.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (9)

1. A key control method applied to a key provided with a coil and a magnet disposed opposite to the coil, comprising:
acquiring a preset key mode, wherein the key mode comprises a common mode or an enhanced mode;
when the preset key mode is the enhanced mode, controlling to transmit a first direction current and/or a second direction current to the coil after the key stroke acquired in real time reaches a preset stroke, so that the coil and the magnet generate corresponding repulsion and/or attraction to enhance key feedback;
the key stroke comprises a pressing stroke which comprises a key conduction back stroke;
the stroke of the key after being switched on comprises a first repulsion force enhancing stroke and/or a suction force enhancing stroke of the key;
when the preset key mode is the enhanced mode, controlling to transmit a first direction current and/or a second direction current to the coil after the key stroke acquired in real time reaches the preset stroke, so that the coil and the magnet generate corresponding repulsion and/or attraction to enhance the key feedback, and the method comprises the following steps:
after the pressing stroke reaches the key first repulsion force enhancing stroke, controlling to transmit a first-direction current to the coil, so that the coil and the magnet enhance the key repulsion force in the key first repulsion force enhancing stroke; and/or
And after the pressing stroke reaches the key suction force enhancing stroke, controlling to transmit a second direction current to the coil, so that the coil and the magnet generate a suction force enhancing key segment falling feeling during the key suction force enhancing stroke.
2. The key control method according to claim 1, further comprising:
and when the preset key mode is the common mode, controlling the coil not to be electrified when the preset stroke is reached.
3. The key control method of claim 1, wherein the key stroke further comprises a rebound stroke;
the pressing stroke also comprises a key conduction front stroke;
the rebound stroke comprises a key release front stroke and a key release rear stroke;
and the stroke after the key is released comprises a key second repulsive force enhancing stroke.
4. The key control method according to claim 3, wherein the controlling of transmitting a first direction current and/or a second direction current to the coil after the key stroke acquired in real time reaches a preset stroke to enable the coil and the magnet to generate a corresponding repulsion force and/or attraction force so as to enhance the key feedback comprises:
and after the rebound stroke reaches the key second repulsion force enhancing stroke, controlling to transmit a first-direction current to the coil, so that the coil and the magnet generate repulsion force to enhance the key rebound speed in the key second repulsion force enhancing stroke.
5. A key control method according to claim 3, wherein said coil is energized only at said key first repulsive force enhancing stroke and/or key attractive force enhancing stroke and/or key second repulsive force enhancing stroke.
6. The key control method of claim 1, further comprising:
obtaining preset current parameters, and adjusting the magnitude of the first direction current and/or the second direction current and/or adjusting the duration of the first direction current and/or the second direction current according to the current parameters.
7. A key control device, applied to a key provided with a coil and a magnet disposed opposite to the coil, comprising:
the key mode acquisition module is used for acquiring preset key modes, and the key modes comprise a common mode or an enhanced mode;
the key feedback enhancement module is used for controlling and transmitting first-direction current and/or second-direction current to the coil after the key stroke acquired in real time reaches a preset stroke when the preset key mode is the enhancement mode, so that the coil and the magnet generate corresponding repulsion and/or attraction to enhance key feedback;
the key stroke comprises a pressing stroke which comprises a key conduction back stroke;
the key conduction rear stroke comprises a key first repulsion force enhancing stroke and/or a key suction force enhancing stroke;
the key feedback enhancing module is further used for controlling and transmitting a first-direction current to the coil after the pressing stroke reaches the key first repulsion enhancing stroke, so that the coil and the magnet enhance the key repulsion during the key first repulsion enhancing stroke; and/or
And after the pressing stroke reaches the key suction force enhancing stroke, controlling to transmit a second direction current to the coil, so that the coil and the magnet generate a suction force enhancing key section falling feeling during the key suction force enhancing stroke.
8. A keyboard comprising a memory storing a computer program and a processor executing the computer program to cause the keyboard to perform the key control method according to any one of claims 1 to 6.
9. A readable storage medium, characterized in that it stores a computer program which, when run on a processor, performs the key control method of any one of claims 1 to 6.
CN202010409237.0A 2020-05-14 2020-05-14 Key control method, device, keyboard and readable storage medium Active CN111599622B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010409237.0A CN111599622B (en) 2020-05-14 2020-05-14 Key control method, device, keyboard and readable storage medium
PCT/CN2021/092815 WO2021228045A1 (en) 2020-05-14 2021-05-10 Key control method and device, keyboard, and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010409237.0A CN111599622B (en) 2020-05-14 2020-05-14 Key control method, device, keyboard and readable storage medium

Publications (2)

Publication Number Publication Date
CN111599622A CN111599622A (en) 2020-08-28
CN111599622B true CN111599622B (en) 2022-10-11

Family

ID=72187406

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010409237.0A Active CN111599622B (en) 2020-05-14 2020-05-14 Key control method, device, keyboard and readable storage medium

Country Status (2)

Country Link
CN (1) CN111599622B (en)
WO (1) WO2021228045A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111599622B (en) * 2020-05-14 2022-10-11 东莞璟阳电子科技有限公司 Key control method, device, keyboard and readable storage medium
CN112614326A (en) * 2020-12-09 2021-04-06 无锡迪富智能电子股份有限公司 Self-generating remote controller for intelligent closestool

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020044132A1 (en) * 1999-07-21 2002-04-18 Fish Daniel E. Force feedback computer input and output device with coordinated haptic elements
CN101499380A (en) * 2008-01-29 2009-08-05 联想(北京)有限公司 Keyboard and computer with automatic keyboard touch regulation function
EP2244168A2 (en) * 2009-04-20 2010-10-27 Dav Control device with haptic feedback and corresponding actuator
CN102832067A (en) * 2012-06-21 2012-12-19 珠海市智迪科技有限公司 Force feedback button device and click device employing the device
CN207116292U (en) * 2017-07-20 2018-03-16 东莞璟阳电子科技有限公司 Controllable force magnetic button and its mechanical keyboard

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6962452B2 (en) * 2004-04-13 2005-11-08 Wen Lung Cheng Keyboard having key floating device
CN104571536A (en) * 2013-10-10 2015-04-29 宁夏先锋软件有限公司 Computer keyboard with adjustable key touch feeling
CN206921732U (en) * 2017-07-24 2018-01-23 苏州杰锐思自动化设备有限公司 Magnetic attractive button and the mechanical keyboard using the button
CN109036924A (en) * 2018-08-14 2018-12-18 东莞璟阳电子科技有限公司 A kind of controllable magnetic button control system
CN111599622B (en) * 2020-05-14 2022-10-11 东莞璟阳电子科技有限公司 Key control method, device, keyboard and readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020044132A1 (en) * 1999-07-21 2002-04-18 Fish Daniel E. Force feedback computer input and output device with coordinated haptic elements
CN101499380A (en) * 2008-01-29 2009-08-05 联想(北京)有限公司 Keyboard and computer with automatic keyboard touch regulation function
EP2244168A2 (en) * 2009-04-20 2010-10-27 Dav Control device with haptic feedback and corresponding actuator
CN102832067A (en) * 2012-06-21 2012-12-19 珠海市智迪科技有限公司 Force feedback button device and click device employing the device
CN207116292U (en) * 2017-07-20 2018-03-16 东莞璟阳电子科技有限公司 Controllable force magnetic button and its mechanical keyboard

Also Published As

Publication number Publication date
WO2021228045A1 (en) 2021-11-18
CN111599622A (en) 2020-08-28

Similar Documents

Publication Publication Date Title
CN111599622B (en) Key control method, device, keyboard and readable storage medium
US10180726B2 (en) Keyboard
US20050237306A1 (en) Tactile feedback through a computer keyboard key
US20120326986A1 (en) Keyboard Adaptive Haptic Response
JP6096092B2 (en) Tactile feedback system with memorized effect
US7667623B2 (en) Key input apparatus using magnetic force, operating method thereof, and computer-readable recording medium storing computer programs for performing the method
US11360573B2 (en) Selectively displaced keys for input and output
CN113438564B (en) Control system, terminal processing method, wireless switch and processing method thereof
WO2023036145A1 (en) Control method and apparatus for vibration motor, and electronic device and storage medium
CN103246400A (en) Device and method for quickly selecting characters/terms during input operation for intelligent touch screen mobile phone
WO2023138296A1 (en) Key switch
CN109036924A (en) A kind of controllable magnetic button control system
CN104598067A (en) Information processing method and electronic equipment
WO2020044633A1 (en) Key input device that generates simulated tactile sensation
CN116320563A (en) Control method and device for intelligent television, intelligent television and medium
CN114446695A (en) Key switch control method and system
CN211980479U (en) Magnetic type key, key control device and keyboard
CN219149207U (en) Game controller with force feedback
JP2008219709A (en) Remote controller
CN111481924B (en) Control signal generation method and control device
JP7484226B2 (en) Key input device
WO2021176992A1 (en) Key input device
CN110794716A (en) Wireless switch-based electric equipment control method, wireless switch and receiver
CN111081000B (en) Remote control device and control method
CN111725017B (en) Key control method, electronic device and readable storage medium

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
GR01 Patent grant
GR01 Patent grant