CN116301394B - Mechanical keyboard integrated with auxiliary screen and control method thereof - Google Patents
Mechanical keyboard integrated with auxiliary screen and control method thereof Download PDFInfo
- Publication number
- CN116301394B CN116301394B CN202310280999.9A CN202310280999A CN116301394B CN 116301394 B CN116301394 B CN 116301394B CN 202310280999 A CN202310280999 A CN 202310280999A CN 116301394 B CN116301394 B CN 116301394B
- Authority
- CN
- China
- Prior art keywords
- key
- sequence
- interrupt
- user
- time
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 80
- 238000003825 pressing Methods 0.000 claims description 27
- 238000000926 separation method Methods 0.000 claims description 6
- 238000004891 communication Methods 0.000 claims description 3
- 238000004590 computer program Methods 0.000 claims description 3
- 230000006870 function Effects 0.000 description 8
- 230000008859 change Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000010079 rubber tapping Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000010409 thin film Substances 0.000 description 1
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/0202—Constructional details or processes of manufacture of the input device
- G06F3/021—Arrangements integrating additional peripherals in a keyboard, e.g. card or barcode reader, optical scanner
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
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)
- Input From Keyboards Or The Like (AREA)
Abstract
The application provides a mechanical keyboard integrated with an auxiliary screen and a control method thereof, wherein a key knocking sequence is recorded, the key knocking sequence is combined with input scene information provided by computer equipment connected with the mechanical keyboard to generate a plurality of key records, and corresponding key records are displayed on the auxiliary screen of the mechanical keyboard, so that when a user selects the key records on the auxiliary screen, the key knocking sequence corresponding to the key records is output to the computer equipment again, the input efficiency can be greatly improved, the input experience of the user is improved, and the mechanical keyboard has wide application prospect.
Description
Technical Field
The application relates to the technical field of electronics, in particular to a mechanical keyboard integrated with an auxiliary screen and a control method thereof.
Background
The keyboard is one of the peripheral devices essential to a computer as a common computer input device. Because of huge usage groups and high usage frequency, various different types of keyboards are also produced according to different implementation principles and different application scenes, for example, the keyboards can be divided into a mechanical keyboard, a thin film keyboard and a virtual keyboard simulated on a touch screen according to the implementation principles of the keyboards, the keyboards can be divided into a wired keyboard and a wireless keyboard according to the data transmission modes of the keyboards, and the devices connected or integrated according to the keyboards are divided into a desktop keyboard, a notebook keyboard, an industrial control keyboard and the like, which are not listed here one by one. The mechanical keyboard has the advantages of mature technology, high input efficiency, good use experience and the like, and is widely applied to computer equipment commonly used in daily offices and life such as desktops, notebooks and the like.
In order to further enhance the use experience of mechanical keyboards, some manufacturers integrate a multifunctional secondary screen on some mechanical keyboards, especially those integrated on notebooks, for auxiliary information presentation and auxiliary input. One type of application that is more common is integrating a secondary screen with touch functionality as a tablet for a computer, however, the area available to accommodate the secondary screen on a standard size keyboard is not large, and the small size secondary screen has a poor experience as a tablet, and if the size of the keyboard is increased to integrate a large size secondary screen, the portability of the keyboard is sacrificed, and it is believed that more consumers would tend to attach a special tablet in addition to selecting such a keyboard that integrates a large size tablet. Another common application of the auxiliary screen integrated on the mechanical keyboard is as an extension screen of the main display screen of the computer, which is used for displaying the same or an extended display picture as the main display, and the application has higher requirements on various indexes such as the size, resolution, refresh rate, brightness, color gamut and the like of the auxiliary screen, so that a larger data transmission channel is required between the mechanical keyboard and the computer, otherwise, picture delay is easy to generate to reduce the use experience, and the production cost is not advantageous. Meanwhile, the auxiliary screen serving as the expansion screen has higher power, the integrated keyboard serving as the notebook can reduce the cruising ability of the notebook, and the cruising ability of the notebook serving as a wireless external keyboard of a desktop or other computer equipment can be greatly influenced, so that the auxiliary screen does not have a better application prospect.
Disclosure of Invention
Based on the problems, the application provides the mechanical keyboard integrated with the auxiliary screen and the control method thereof, which can greatly improve the input efficiency, improve the input experience of users and have wide application prospect.
In view of this, a first aspect of the present application proposes a mechanical keyboard integrated with a secondary screen, comprising a housing, keys arranged on a surface of the housing, a key circuit arranged inside the housing, the mechanical keyboard further comprising a secondary screen connected to the key circuit for displaying key records, and a communication interface for communicating with a computer device, the key circuit being provided with a memory and a processor for executing a computer program stored in the memory for implementing the following control method:
recording a key knocking sequence when a user operates the mechanical keyboard in real time, wherein the key knocking sequence comprises a scanning code and/or a key name of a key knocked by the user, and the key knocking sequence also comprises time for the user to knock the key and/or time interval between two keys knocked by the user;
acquiring input scene information from computer equipment connected with the mechanical keyboard, wherein the input scene information comprises information of a foreground application program of the computer equipment, and the information of the foreground application program comprises a full name, short name and/or an icon of the foreground application program;
determining an interrupt event according to the key strike sequence and the input scene information;
dividing the key pressing sequence into a plurality of key pressing subsequences by taking the interrupt time corresponding to the interrupt event as separation time;
generating a unique sequence identifier for each of the key stroke subsequences;
displaying the key stroke subsequence, the sequence identifier, and the foreground application in association with the secondary screen;
determining one key knocking subsequence selected by a user according to the operation of the user on the auxiliary screen;
outputting the key stroke subsequence selected by the user to the computer device.
Further, in the above control method, the step of determining the interrupt event according to the key stroke sequence and the input scene information specifically includes:
acquiring a time interval between two keys struck by a user from the key striking sequence;
when the time interval is larger than a preset interruption threshold value, determining an event that the time interval is larger than the preset interruption threshold value as the interruption event;
and determining the last time the user clicks the key before the interrupt event as the interrupt time corresponding to the interrupt event.
Further, in the above control method, the step of determining the interrupt event according to the key stroke sequence and the input scene information specifically includes:
identifying an interrupt key in the key stroke sequence;
when an interrupt key exists in the key pressing sequence, determining an event of inputting the interrupt key by a user as the interrupt event;
and determining the time of inputting the interrupt key by the user as the interrupt time corresponding to the interrupt event.
Further, in the above control method, the input scene information includes a focus control of the foreground application, and before the step of identifying the interrupt key in the key-press sequence, the method further includes:
and identifying an input type according to the key press sequence and the type of the focus control of the foreground application program, wherein the focus control comprises a text input control and a non-text input control, and the input type comprises a text input, an application program control instruction input and an operating system control instruction input.
Further, in the above control method, after the step of generating a unique sequence identifier for each key stroke sub-sequence, the method further includes:
and when the input type is text input, the sequence identifier is sent to the computer equipment, so that the computer equipment performs associated display on the text content corresponding to the key-press subsequence on the interface of the foreground application program on the main display screen.
Further, in the above control method, the step of displaying the key stroke sub-sequence, the sequence identifier and the foreground application program on the secondary screen specifically includes:
when an interrupt event is detected, acquiring interrupt time corresponding to the interrupt event to determine the interrupt time as first interrupt time;
acquiring the interrupt time of the last interrupt event to determine the interrupt time as a second interrupt time;
determining a key stroke subsequence between the first interrupt time and the second interrupt time as a target subsequence;
determining a foreground application program displayed on a main display screen by the computer device between the first interrupt time and the second interrupt time as a target application program;
generating a new key record based on the target subsequence, the name and/or icon of the target application program and the sequence identifier corresponding to the target subsequence;
and displaying the sequence identifier corresponding to the key record and the foreground application program name and/or icon on the secondary screen.
Further, in the above control method, the step of displaying the sequence identifier corresponding to the key record and the foreground application name and/or icon on the secondary screen specifically includes:
when the input type of the target subsequence is input by an application program control instruction or an operating system control instruction, acquiring a key name of each key in the target subsequence;
and displaying the key name of each key on the auxiliary screen according to the input time sequence of each key in the target subsequence.
Further, in the above control method, the step of determining one of the key stroke sub-sequences selected by the user according to the operation of the user on the secondary screen specifically includes:
receiving selection operation of a user on a plurality of key records displayed on the secondary screen;
determining a key record corresponding to the selection operation of a user;
and obtaining a key knocking subsequence corresponding to the key record.
Further, in the above control method, the step of outputting the key stroke sub-sequence selected by the user to the computer device specifically includes:
acquiring a scanning code of each key in the key knocking sub-sequence, a key knocking sequence and a time interval between the two keys knocked by a user;
outputting the scanning codes to the computer equipment according to the key pressing sequence and the time interval in the key pressing sub-sequence.
The second aspect of the present application proposes a control method of a mechanical keyboard integrated with a secondary screen, including:
recording a key knocking sequence when a user operates the mechanical keyboard in real time, wherein the key knocking sequence comprises a scanning code and/or a key name of a key knocked by the user, and the key knocking sequence also comprises time for the user to knock the key and/or time interval between two keys knocked by the user;
acquiring input scene information from computer equipment connected with the mechanical keyboard, wherein the input scene information comprises information of a foreground application program of the computer equipment, and the information of the foreground application program comprises a full name, short name and/or an icon of the foreground application program;
determining an interrupt event according to the key strike sequence and the input scene information;
dividing the key pressing sequence into a plurality of key pressing subsequences by taking the interrupt time corresponding to the interrupt event as separation time;
generating a unique sequence identifier for each of the key stroke subsequences;
displaying the key stroke subsequence, the sequence identifier, and the foreground application in association with the secondary screen;
determining one key knocking subsequence selected by a user according to the operation of the user on the auxiliary screen;
outputting the key stroke subsequence selected by the user to the computer device.
Further, in the above method for controlling a mechanical keyboard with an integrated secondary screen, the step of determining an interrupt event according to the key stroke sequence and the input scene information specifically includes:
acquiring a time interval between two keys struck by a user from the key striking sequence;
when the time interval is larger than a preset interruption threshold value, determining an event that the time interval is larger than the preset interruption threshold value as the interruption event;
and determining the last time the user clicks the key before the interrupt event as the interrupt time corresponding to the interrupt event.
Further, in the above method for controlling a mechanical keyboard with an integrated secondary screen, the step of determining an interrupt event according to the key stroke sequence and the input scene information specifically includes:
identifying an interrupt key in the key stroke sequence;
when an interrupt key exists in the key pressing sequence, determining an event of inputting the interrupt key by a user as the interrupt event;
and determining the time of inputting the interrupt key by the user as the interrupt time corresponding to the interrupt event.
Further, in the above method for controlling a mechanical keyboard integrated with a secondary screen, the input scene information includes a focus control of the foreground application, and before the step of identifying the interrupt key in the key-press sequence, the method further includes:
and identifying an input type according to the key press sequence and the type of the focus control of the foreground application program, wherein the focus control comprises a text input control and a non-text input control, and the input type comprises a text input, an application program control instruction input and an operating system control instruction input.
Further, in the above method for controlling a mechanical keyboard integrated with a secondary screen, after the step of generating a unique sequence identifier for each key stroke sub-sequence, the method further includes:
and when the input type is text input, the sequence identifier is sent to the computer equipment, so that the computer equipment performs associated display on the text content corresponding to the key-press subsequence on the interface of the foreground application program on the main display screen.
Further, in the above method for controlling a mechanical keyboard integrated with a secondary screen, the step of displaying the key stroke sub-sequence, the sequence identifier and the foreground application program on the secondary screen specifically includes:
when an interrupt event is detected, acquiring interrupt time corresponding to the interrupt event to determine the interrupt time as first interrupt time;
acquiring the interrupt time of the last interrupt event to determine the interrupt time as a second interrupt time;
determining a key stroke subsequence between the first interrupt time and the second interrupt time as a target subsequence;
determining a foreground application program displayed on a main display screen by the computer device between the first interrupt time and the second interrupt time as a target application program;
generating a new key record based on the target subsequence, the name and/or icon of the target application program and the sequence identifier corresponding to the target subsequence;
and displaying the sequence identifier corresponding to the key record and the foreground application program name and/or icon on the secondary screen.
Further, in the above method for controlling a mechanical keyboard integrated with a secondary screen, the step of displaying the sequence identifier corresponding to the key record and the foreground application name and/or icon on the secondary screen specifically includes:
when the input type of the target subsequence is input by an application program control instruction or an operating system control instruction, acquiring a key name of each key in the target subsequence;
and displaying the key name of each key on the auxiliary screen according to the input time sequence of each key in the target subsequence.
Further, in the above method for controlling a mechanical keyboard integrated with a secondary screen, the step of determining one of the key tapping subsequences selected by the user according to the operation of the user on the secondary screen specifically includes:
receiving selection operation of a user on a plurality of key records displayed on the secondary screen;
determining a key record corresponding to the selection operation of a user;
and obtaining a key knocking subsequence corresponding to the key record.
Further, in the above method for controlling a mechanical keyboard with an integrated secondary screen, the step of outputting the key stroke sub-sequence selected by the user to the computer device specifically includes:
acquiring a scanning code of each key in the key knocking sub-sequence, a key knocking sequence and a time interval between the two keys knocked by a user;
outputting the scanning codes to the computer equipment according to the key pressing sequence and the time interval in the key pressing sub-sequence.
The application provides a mechanical keyboard integrated with an auxiliary screen and a control method thereof, wherein a key knocking sequence is recorded, the key knocking sequence is combined with input scene information provided by computer equipment connected with the mechanical keyboard to generate a plurality of key records, and corresponding key records are displayed on the auxiliary screen of the mechanical keyboard, so that when a user selects the key records on the auxiliary screen, the key knocking sequence corresponding to the key records is output to the computer equipment again, the input efficiency can be greatly improved, the input experience of the user is improved, and the mechanical keyboard has wide application prospect.
Drawings
Fig. 1 is a flowchart of a control method of a mechanical keyboard integrated with a secondary screen according to an embodiment of the present application.
Detailed Description
In order that the above-recited objects, features and advantages of the present application will be more clearly understood, a more particular description of the application will be rendered by reference to the appended drawings and appended detailed description. It should be noted that, without conflict, the embodiments of the present application and features in the embodiments may be combined with each other.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application, however, the present application may be practiced otherwise than as described herein, and therefore the scope of the present application is not limited to the specific embodiments disclosed below.
In the description of the present application, the term "plurality" means two or more, unless explicitly defined otherwise, the orientation or positional relationship indicated by the terms "upper", "lower", etc. are based on the orientation or positional relationship shown in the drawings, merely for convenience of description of the present application and to simplify the description, and do not indicate or imply that the apparatus or elements referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as limiting the present application. The terms "coupled," "mounted," "secured," and the like are to be construed broadly, and may be fixedly coupled, detachably coupled, or integrally connected, for example; can be directly connected or indirectly connected through an intermediate medium. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art according to the specific circumstances. Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first", "a second", etc. may explicitly or implicitly include one or more such feature. In the description of the present application, unless otherwise indicated, the meaning of "a plurality" is two or more.
In the description of this specification, the terms "one embodiment," "some implementations," "particular embodiments," and the like, mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
A mechanical keyboard integrated with a sub-screen and a control method thereof according to some embodiments of the present application are described below with reference to the accompanying drawings.
The first aspect of the application provides a mechanical keyboard integrated with a secondary screen, which comprises a shell, keys arranged on the surface of the shell, a key circuit arranged in the shell, a secondary screen connected with the key circuit and used for displaying key records, and a communication interface used for communicating with computer equipment, wherein a memory and a processor are arranged on the key circuit.
As shown in fig. 1, the processor is configured to execute a computer program stored in the memory to implement the following control method:
recording a key knocking sequence when a user operates the mechanical keyboard in real time, wherein the key knocking sequence comprises a scanning code and/or a key name of a key knocked by the user, and the key knocking sequence also comprises time for the user to knock the key and/or time interval between two keys knocked by the user;
acquiring input scene information from computer equipment connected with the mechanical keyboard, wherein the input scene information comprises information of a foreground application program of the computer equipment, and the information of the foreground application program comprises a full name, short name and/or an icon of the foreground application program;
determining an interrupt event according to the key strike sequence and the input scene information;
dividing the key pressing sequence into a plurality of key pressing subsequences by taking the interrupt time corresponding to the interrupt event as separation time;
generating a unique sequence identifier for each of the key stroke subsequences;
displaying the key stroke subsequence, the sequence identifier, and the foreground application in association with the secondary screen;
determining one key knocking subsequence selected by a user according to the operation of the user on the auxiliary screen;
outputting the key stroke subsequence selected by the user to the computer device.
Further, in the above control method, the key name is a symbol printed on the key or a pre-configured unique identifier stored in a memory of the mechanical keyboard for representing each key.
Further, in the above control method, the step of determining the interrupt event according to the key stroke sequence and the input scene information specifically includes:
acquiring a time interval between two keys struck by a user from the key striking sequence;
when the time interval is larger than a preset interruption threshold value, determining an event that the time interval is larger than the preset interruption threshold value as the interruption event;
and determining the last time the user clicks the key before the interrupt event as the interrupt time corresponding to the interrupt event.
Further, in the above control method, the step of determining the interrupt event according to the key stroke sequence and the input scene information specifically includes:
identifying an interrupt key in the key stroke sequence;
when an interrupt key exists in the key pressing sequence, determining an event of inputting the interrupt key by a user as the interrupt event;
and determining the time of inputting the interrupt key by the user as the interrupt time corresponding to the interrupt event.
Further, in the above control method, the input scene information includes a focus control of the foreground application, and before the step of identifying the interrupt key in the key-press sequence, the method further includes:
and identifying an input type according to the key press sequence and the type of the focus control of the foreground application program, wherein the focus control comprises a text input control and a non-text input control, and the input type comprises a text input, an application program control instruction input and an operating system control instruction input.
Further, in the above control method, when the focus control of the foreground application is a text input control and the input type is text input, the interrupt button includes a punctuation button, a function button and a combination button.
Further, in the above control method, when the input type is an application control instruction input or an operating system control instruction input, the interrupt key includes a function key and a combination key.
Further, in the above control method, the function keys include an enter key, a delete key, a case switch key, a shift key, a win key, a ctrl key, an alt key, a menu key, a key of a function keyboard region located at the top of the main keyboard region, and a key of a cursor control region located between the main keyboard region and a digital keypad region.
Further, in the above control method, after the step of generating a unique sequence identifier for each key stroke sub-sequence, the method further includes:
and when the input type is text input, the sequence identifier is sent to the computer equipment, so that the computer equipment performs associated display on the text content corresponding to the key-press subsequence on the interface of the foreground application program on the main display screen.
Further, in the above control method, the step of displaying the key stroke sub-sequence, the sequence identifier and the foreground application program on the secondary screen specifically includes:
when an interrupt event is detected, acquiring interrupt time corresponding to the interrupt event to determine the interrupt time as first interrupt time;
acquiring the interrupt time of the last interrupt event to determine the interrupt time as a second interrupt time;
determining a key stroke subsequence between the first interrupt time and the second interrupt time as a target subsequence;
determining a foreground application program displayed on a main display screen by the computer device between the first interrupt time and the second interrupt time as a target application program;
generating a new key record based on the target subsequence, the name and/or icon of the target application program and the sequence identifier corresponding to the target subsequence;
and displaying the sequence identifier corresponding to the key record and the foreground application program name and/or icon on the secondary screen.
Further, in the above control method, the step of displaying the sequence identifier corresponding to the key record and the foreground application name and/or icon on the secondary screen specifically includes:
when the input type of the target subsequence is input by an application program control instruction or an operating system control instruction, acquiring a key name of each key in the target subsequence;
and displaying the key name of each key on the auxiliary screen according to the input time sequence of each key in the target subsequence.
Further, in the above control method, the step of determining one of the key stroke sub-sequences selected by the user according to the operation of the user on the secondary screen specifically includes:
receiving selection operation of a user on a plurality of key records displayed on the secondary screen;
determining a key record corresponding to the selection operation of a user;
and obtaining a key knocking subsequence corresponding to the key record.
Further, in the above control method, the step of outputting the key stroke sub-sequence selected by the user to the computer device specifically includes:
acquiring a scanning code of each key in the key knocking sub-sequence, a key knocking sequence and a time interval between the two keys knocked by a user;
outputting the scanning codes to the computer equipment according to the key pressing sequence and the time interval in the key pressing sub-sequence.
Further, in the above control method, before the step of acquiring the input scene information from the computer device connected to the mechanical keyboard, the method further includes:
and receiving input scene change information sent by the computer equipment, wherein the input scene change information comprises foreground application program switching information and focus control switching information on the computer equipment.
As shown in fig. 1, a second aspect of the present application proposes a control method of a mechanical keyboard integrated with a secondary screen, including:
recording a key knocking sequence when a user operates the mechanical keyboard in real time, wherein the key knocking sequence comprises a scanning code and/or a key name of a key knocked by the user, and the key knocking sequence also comprises time for the user to knock the key and/or time interval between two keys knocked by the user;
acquiring input scene information from computer equipment connected with the mechanical keyboard, wherein the input scene information comprises information of a foreground application program of the computer equipment, and the information of the foreground application program comprises a full name, short name and/or an icon of the foreground application program;
determining an interrupt event according to the key strike sequence and the input scene information;
dividing the key pressing sequence into a plurality of key pressing subsequences by taking the interrupt time corresponding to the interrupt event as separation time;
generating a unique sequence identifier for each of the key stroke subsequences;
displaying the key stroke subsequence, the sequence identifier, and the foreground application in association with the secondary screen;
determining one key knocking subsequence selected by a user according to the operation of the user on the auxiliary screen;
outputting the key stroke subsequence selected by the user to the computer device.
Further, in the above control method of the mechanical keyboard integrated with the secondary screen, the key names are symbols printed on the keys or pre-configured unique identifiers stored in a memory of the mechanical keyboard for representing each key.
Further, in the above method for controlling a mechanical keyboard with an integrated secondary screen, the step of determining an interrupt event according to the key stroke sequence and the input scene information specifically includes:
acquiring a time interval between two keys struck by a user from the key striking sequence;
when the time interval is larger than a preset interruption threshold value, determining an event that the time interval is larger than the preset interruption threshold value as the interruption event;
and determining the last time the user clicks the key before the interrupt event as the interrupt time corresponding to the interrupt event.
Further, in the above method for controlling a mechanical keyboard with an integrated secondary screen, the step of determining an interrupt event according to the key stroke sequence and the input scene information specifically includes:
identifying an interrupt key in the key stroke sequence;
when an interrupt key exists in the key pressing sequence, determining an event of inputting the interrupt key by a user as the interrupt event;
and determining the time of inputting the interrupt key by the user as the interrupt time corresponding to the interrupt event.
Further, in the above method for controlling a mechanical keyboard integrated with a secondary screen, the input scene information includes a focus control of the foreground application, and before the step of identifying the interrupt key in the key-press sequence, the method further includes:
and identifying an input type according to the key press sequence and the type of the focus control of the foreground application program, wherein the focus control comprises a text input control and a non-text input control, and the input type comprises a text input, an application program control instruction input and an operating system control instruction input.
Further, in the above control method for a mechanical keyboard integrated with a secondary screen, when the focus control of the foreground application is a text input control and the input type is text input, the interrupt button includes a punctuation button, a function button and a combination button.
Further, in the above control method for a mechanical keyboard integrated with a secondary screen, when the input type is an application control instruction input or an operating system control instruction input, the interrupt key includes a function key and a combination key.
Further, in the above control method for a mechanical keyboard integrated with a secondary screen, the function keys include an enter key, a delete key, a case switch key, a shift key, a win key, a ctrl key, an alt key, a menu key, a key of a function keyboard area located at the top of the main keyboard area, and a key of a cursor control area located between the main keyboard area and a digital keypad area.
Further, in the above method for controlling a mechanical keyboard integrated with a secondary screen, after the step of generating a unique sequence identifier for each key stroke sub-sequence, the method further includes:
and when the input type is text input, the sequence identifier is sent to the computer equipment, so that the computer equipment performs associated display on the text content corresponding to the key-press subsequence on the interface of the foreground application program on the main display screen.
Further, in the above method for controlling a mechanical keyboard integrated with a secondary screen, the step of displaying the key stroke sub-sequence, the sequence identifier and the foreground application program on the secondary screen specifically includes:
when an interrupt event is detected, acquiring interrupt time corresponding to the interrupt event to determine the interrupt time as first interrupt time;
acquiring the interrupt time of the last interrupt event to determine the interrupt time as a second interrupt time;
determining a key stroke subsequence between the first interrupt time and the second interrupt time as a target subsequence;
determining a foreground application program displayed on a main display screen by the computer device between the first interrupt time and the second interrupt time as a target application program;
generating a new key record based on the target subsequence, the name and/or icon of the target application program and the sequence identifier corresponding to the target subsequence;
and displaying the sequence identifier corresponding to the key record and the foreground application program name and/or icon on the secondary screen.
Further, in the above method for controlling a mechanical keyboard integrated with a secondary screen, the step of displaying the sequence identifier corresponding to the key record and the foreground application name and/or icon on the secondary screen specifically includes:
when the input type of the target subsequence is input by an application program control instruction or an operating system control instruction, acquiring a key name of each key in the target subsequence;
and displaying the key name of each key on the auxiliary screen according to the input time sequence of each key in the target subsequence.
Further, in the above method for controlling a mechanical keyboard integrated with a secondary screen, the step of determining one of the key tapping subsequences selected by the user according to the operation of the user on the secondary screen specifically includes:
receiving selection operation of a user on a plurality of key records displayed on the secondary screen;
determining a key record corresponding to the selection operation of a user;
and obtaining a key knocking subsequence corresponding to the key record.
Further, in the above method for controlling a mechanical keyboard with an integrated secondary screen, the step of outputting the key stroke sub-sequence selected by the user to the computer device specifically includes:
acquiring a scanning code of each key in the key knocking sub-sequence, a key knocking sequence and a time interval between the two keys knocked by a user;
outputting the scanning codes to the computer equipment according to the key pressing sequence and the time interval in the key pressing sub-sequence.
Further, in the above method for controlling a mechanical keyboard integrated with a secondary screen, before the step of acquiring the input scene information from the computer device connected to the mechanical keyboard, the method further includes:
and receiving input scene change information sent by the computer equipment, wherein the input scene change information comprises foreground application program switching information and focus control switching information on the computer equipment.
It should be noted that in this document relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Embodiments in accordance with the present application, as described above, are not intended to be exhaustive or to limit the application to the precise embodiments disclosed. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the application and the practical application, to thereby enable others skilled in the art to best utilize the application and various modifications as are suited to the particular use contemplated. The application is limited only by the claims and the full scope and equivalents thereof.
Claims (10)
1. The mechanical keyboard integrated with the auxiliary screen is characterized by comprising a shell, keys arranged on the surface of the shell, a key circuit arranged inside the shell, the mechanical keyboard further comprises the auxiliary screen connected with the key circuit and used for displaying key records and a communication interface used for communicating with computer equipment, a memory and a processor are arranged on the key circuit, and the processor is used for executing a computer program stored in the memory to realize the following control method:
recording a key knocking sequence when a user operates the mechanical keyboard in real time, wherein the key knocking sequence comprises a scanning code and/or a key name of a key knocked by the user, and the key knocking sequence also comprises time for the user to knock the key and/or time interval between two keys knocked by the user;
acquiring input scene information from computer equipment connected with the mechanical keyboard, wherein the input scene information comprises information of a foreground application program of the computer equipment, and the information of the foreground application program comprises a full name, short name and/or an icon of the foreground application program;
determining an interrupt event according to the key strike sequence and the input scene information;
dividing the key pressing sequence into a plurality of key pressing subsequences by taking the interrupt time corresponding to the interrupt event as separation time;
generating a unique sequence identifier for each of the key stroke subsequences;
displaying the key stroke subsequence, the sequence identifier, and the foreground application in association with the secondary screen;
determining one key knocking subsequence selected by a user according to the operation of the user on the auxiliary screen;
outputting the key stroke subsequence selected by the user to the computer device.
2. The control method of the mechanical keyboard integrated with the auxiliary screen is characterized by comprising the following steps of:
recording a key knocking sequence when a user operates the mechanical keyboard in real time, wherein the key knocking sequence comprises a scanning code and/or a key name of a key knocked by the user, and the key knocking sequence also comprises time for the user to knock the key and/or time interval between two keys knocked by the user;
acquiring input scene information from computer equipment connected with the mechanical keyboard, wherein the input scene information comprises information of a foreground application program of the computer equipment, and the information of the foreground application program comprises a full name, short name and/or an icon of the foreground application program;
determining an interrupt event according to the key strike sequence and the input scene information;
dividing the key pressing sequence into a plurality of key pressing subsequences by taking the interrupt time corresponding to the interrupt event as separation time;
generating a unique sequence identifier for each of the key stroke subsequences;
displaying the key stroke subsequence, the sequence identifier, and the foreground application in association with the secondary screen;
determining one key knocking subsequence selected by a user according to the operation of the user on the auxiliary screen;
outputting the key stroke subsequence selected by the user to the computer device.
3. The method for controlling a mechanical keyboard integrated with a secondary screen according to claim 2, wherein the step of determining an interrupt event according to the key stroke sequence and the input scene information specifically comprises:
acquiring a time interval between two keys struck by a user from the key striking sequence;
when the time interval is larger than a preset interruption threshold value, determining an event that the time interval is larger than the preset interruption threshold value as the interruption event;
and determining the last time the user clicks the key before the interrupt event as the interrupt time corresponding to the interrupt event.
4. The method for controlling a mechanical keyboard integrated with a secondary screen according to claim 2, wherein the step of determining an interrupt event according to the key stroke sequence and the input scene information specifically comprises:
identifying an interrupt key in the key stroke sequence;
when an interrupt key exists in the key pressing sequence, determining an event of inputting the interrupt key by a user as the interrupt event;
and determining the time of inputting the interrupt key by the user as the interrupt time corresponding to the interrupt event.
5. The method of claim 4, wherein the input scene information includes a focus control of the foreground application, and further comprising, prior to the step of identifying an interrupt key in the key stroke sequence:
and identifying an input type according to the key press sequence and the type of the focus control of the foreground application program, wherein the focus control comprises a text input control and a non-text input control, and the input type comprises a text input, an application program control instruction input and an operating system control instruction input.
6. The method of claim 5, further comprising, after the step of generating a unique sequence identifier for each of the sub-sequences of key strokes:
and when the input type is text input, the sequence identifier is sent to the computer equipment, so that the computer equipment performs associated display on the text content corresponding to the key-press subsequence on the interface of the foreground application program on the main display screen.
7. The method of claim 6, wherein displaying the sub-sequence of key strokes, the sequence identifier, and the foreground application associated with the sub-sequence on the sub-screen comprises:
when an interrupt event is detected, acquiring interrupt time corresponding to the interrupt event to determine the interrupt time as first interrupt time;
acquiring the interrupt time of the last interrupt event to determine the interrupt time as a second interrupt time;
determining a key stroke subsequence between the first interrupt time and the second interrupt time as a target subsequence;
determining a foreground application program displayed on a main display screen by the computer device between the first interrupt time and the second interrupt time as a target application program;
generating a new key record based on the target subsequence, the name and/or icon of the target application program and the sequence identifier corresponding to the target subsequence;
and displaying the sequence identifier corresponding to the key record and the foreground application program name and/or icon on the secondary screen.
8. The method for controlling a mechanical keyboard integrated with a secondary screen according to claim 7, wherein the step of displaying the sequence identifier corresponding to the key record and the foreground application name and/or icon on the secondary screen specifically comprises:
when the input type of the target subsequence is input by an application program control instruction or an operating system control instruction, acquiring a key name of each key in the target subsequence;
and displaying the key name of each key on the auxiliary screen according to the input time sequence of each key in the target subsequence.
9. The method for controlling a mechanical keyboard integrated with a secondary screen according to claim 6 or 7, wherein the step of determining one of the key stroke sub-sequences selected by the user according to the operation of the user on the secondary screen specifically comprises:
receiving selection operation of a user on a plurality of key records displayed on the secondary screen;
determining a key record corresponding to the selection operation of a user;
and obtaining a key knocking subsequence corresponding to the key record.
10. The method for controlling a secondary-screen-integrated mechanical keyboard according to claim 9, wherein the step of outputting the user-selected key stroke sub-sequence to the computer device comprises:
acquiring a scanning code of each key in the key knocking sub-sequence, a key knocking sequence and a time interval between the two keys knocked by a user;
outputting the scanning codes to the computer equipment according to the key pressing sequence and the time interval in the key pressing sub-sequence.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310280999.9A CN116301394B (en) | 2023-03-16 | 2023-03-16 | Mechanical keyboard integrated with auxiliary screen and control method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310280999.9A CN116301394B (en) | 2023-03-16 | 2023-03-16 | Mechanical keyboard integrated with auxiliary screen and control method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116301394A CN116301394A (en) | 2023-06-23 |
CN116301394B true CN116301394B (en) | 2023-09-12 |
Family
ID=86802884
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310280999.9A Active CN116301394B (en) | 2023-03-16 | 2023-03-16 | Mechanical keyboard integrated with auxiliary screen and control method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116301394B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106066703A (en) * | 2016-06-02 | 2016-11-02 | 杨朔 | A kind of multi-functional mechanical keyboard and keyboard control system |
CN106468956A (en) * | 2015-08-21 | 2017-03-01 | 张亮亮 | Keyboard |
CN206058117U (en) * | 2016-05-20 | 2017-03-29 | 东莞市索艾电子科技有限公司 | A kind of computor-keyboard for carrying screen |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8159414B2 (en) * | 2005-06-17 | 2012-04-17 | Logitech Europe S.A. | Keyboard with integrated auxiliary display |
-
2023
- 2023-03-16 CN CN202310280999.9A patent/CN116301394B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106468956A (en) * | 2015-08-21 | 2017-03-01 | 张亮亮 | Keyboard |
CN206058117U (en) * | 2016-05-20 | 2017-03-29 | 东莞市索艾电子科技有限公司 | A kind of computor-keyboard for carrying screen |
CN106066703A (en) * | 2016-06-02 | 2016-11-02 | 杨朔 | A kind of multi-functional mechanical keyboard and keyboard control system |
Also Published As
Publication number | Publication date |
---|---|
CN116301394A (en) | 2023-06-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7898527B1 (en) | Systems, methods and devices for efficient communication utilizing a reduced number of selectable inputs | |
US7320111B2 (en) | Method for assigning large sets of characters in different modes to keys of a number keypad for low keypress-data-entry ratio | |
CA2713797C (en) | Touch-sensitive display and method of control | |
US8060138B2 (en) | Handheld electronic device and associated method employing a multiple-axis input device and providing a learning function in a text disambiguation environment | |
TWI420889B (en) | Electronic apparatus and method for symbol input | |
US7979469B2 (en) | Handheld electronic device and associated method employing a multiple-axis input device and arranging words of an existing message thread in various linguistic categories for selection during text entry | |
US20110138275A1 (en) | Method for selecting functional icons on touch screen | |
US20090085875A1 (en) | Input device | |
EP1579289A2 (en) | Method and system for providing a disambiguated keypad | |
US8253690B2 (en) | Electronic device, character input module and method for selecting characters thereof | |
KR20090111752A (en) | Method and apparatus for operating user interface and reconding medium using the same | |
KR20120006503A (en) | Improved text input | |
US20090267900A1 (en) | Operation method of user interface and computer readable medium and portable device | |
KR20070091532A (en) | Method for dialing telephone number using mobile handset and the mobile handset | |
US20070211038A1 (en) | Multifunction touchpad for a computer system | |
US20090289923A1 (en) | Input device and input method | |
US20100123662A1 (en) | Method and apparatus for providing a user interface on a mobile device | |
CN116301394B (en) | Mechanical keyboard integrated with auxiliary screen and control method thereof | |
US9916027B2 (en) | Information processing method and electronic device | |
US20050172039A1 (en) | KVM switch | |
US9075449B2 (en) | Handheld electronic device and associated method employing a multiple-axis input device and selectively disabling disambiguation | |
JP2003076495A (en) | Virtual input device | |
US20080015840A1 (en) | Handheld Electronic Device and Associated Method Employing a Multiple-Axis Input Device and Reinitiating a Text Disambiguation Session Upon Returning to a Delimited Word | |
KR101668476B1 (en) | Letter input apparatus for simple conversion between korean and english | |
US20080114585A1 (en) | Handheld Electronic Device Having Multiple-Axis Input Device and Selectable Input Mode Indicator, and Associated Method |
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 |