CN118131919A - Keyboard control method, device, system and storage medium - Google Patents

Keyboard control method, device, system and storage medium Download PDF

Info

Publication number
CN118131919A
CN118131919A CN202410331333.6A CN202410331333A CN118131919A CN 118131919 A CN118131919 A CN 118131919A CN 202410331333 A CN202410331333 A CN 202410331333A CN 118131919 A CN118131919 A CN 118131919A
Authority
CN
China
Prior art keywords
keyboard
target
controlled
instruction
key
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410331333.6A
Other languages
Chinese (zh)
Inventor
褚明华
殷洪霞
袁智超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Lofree Culture Co ltd
Original Assignee
Shenzhen Lofree Culture Co ltd
Filing date
Publication date
Application filed by Shenzhen Lofree Culture Co ltd filed Critical Shenzhen Lofree Culture Co ltd
Publication of CN118131919A publication Critical patent/CN118131919A/en
Pending legal-status Critical Current

Links

Abstract

The disclosure provides a keyboard control method, device, system and storage medium, and relates to the technical field of computer software, wherein the method comprises the following steps: displaying a visual configuration interface of a keyboard to be controlled; responding to the selected operation of a target key on a keyboard to be controlled, and displaying at least one operation configuration item of the target key, wherein each operation configuration item corresponds to an operation instruction; responding to a selected instruction of the target operation configuration item, and mapping a target operation instruction of a target key to a target function control instruction; and responding to a target operation instruction executed by a target key on the keyboard to be controlled, and executing a corresponding target function control instruction. The method and the device can multiplex keys on the keyboard to realize control of the self-defining function, meet personalized use requirements of different users on the keyboard under the condition of not increasing hardware cost of the keyboard, and greatly improve user experience of the keyboard user.

Description

Keyboard control method, device, system and storage medium
Technical Field
The disclosure relates to the technical field of computer software, and in particular relates to a keyboard control method, device, system and storage medium.
Background
The statements in this section merely serve to enhance the understanding of the background of the present disclosure and may thus comprise information not constituting prior art known to a person of ordinary skill in the art.
Keyboard shortcuts are an important tool to improve work efficiency, allowing users to perform complex operations or commands through simple keyboard operations. The use of shortcuts has become commonplace in various software and operating systems, and users may implement various functions by a combination of a pair of keys, a combination of three keys, or even more. For example, in text editing software, a user can quickly implement operations such as copy, paste, undo, and redo through a shortcut key. In a web browser, shortcuts may be used to forward, backward, open new tab pages, etc. In an operating system, shortcuts may be used to launch applications, switch desktops, lock screens, etc.
However, as the number of shortcuts increases, keyboard shortcuts that a user needs to memorize become more and more complex. And different software and operating systems may use different shortcuts, and different users may also use different shortcuts in habit.
Therefore, the current keyboard shortcut key is difficult to meet the differentiated requirements of users, and the functions realized by the shortcut key are relatively single, so how to provide a simple and easy-to-use shortcut key management tool for helping users to customize the keyboard shortcut key is a technical problem to be solved urgently.
Disclosure of Invention
The disclosure provides a keyboard control method, a device, a system and a storage medium, which at least overcome the technical problems of single function, complex operation and poor user experience of the shortcut key realized by the prior keyboard to a certain extent.
Other features and advantages of the present disclosure will be apparent from the following detailed description, or may be learned in part by the practice of the disclosure.
According to one aspect of the present disclosure, there is provided a keyboard control method including: displaying a visual configuration interface of a keyboard to be controlled, wherein the visual configuration interface is used for configuring functions realized by one or more keys on the keyboard to be controlled in a visual mode; responding to the selected operation of a target key on a keyboard to be controlled, and displaying at least one operation configuration item of the target key, wherein the target key comprises: one or more keys, wherein each operation configuration item of the target key corresponds to an operation instruction; responding to a selected instruction of a target operation configuration item, and mapping the target operation instruction of the target key to a target function control instruction, wherein the target operation configuration item is any operation configuration item of the target key, and the target operation instruction is an operation instruction corresponding to the target operation configuration item; and responding to a target operation instruction executed by a target key on a keyboard to be controlled, and executing a target function control instruction corresponding to the target operation instruction.
In some embodiments, the target function control instruction includes at least one of: system function control instructions, application function control instructions, and device function control instructions.
In some embodiments, when the target function control instruction is an application control instruction, the target function control instruction corresponding to the target operation instruction is executed in response to the target operation instruction executed by the target key on the keyboard to be controlled, including: detecting whether an application to be controlled is started or not in response to a target operation instruction executed by a target key on a keyboard to be controlled; if the application to be controlled is detected to be started, directly executing the corresponding application function; and if the application to be controlled is not detected to be started, starting the application to be controlled, and executing corresponding functions.
In some embodiments, when the target function control instruction is a device function control instruction, responding to a target operation instruction executed by a target key on a keyboard to be controlled, and executing a target function control instruction corresponding to the target operation instruction, where the target function control instruction includes: responding to a target operation instruction executed by a target key on a keyboard to be controlled, and detecting whether the equipment to be controlled is started; if the equipment to be controlled is detected to be started, the target function control instruction is sent to the equipment to be controlled so as to control the equipment to be controlled to execute the corresponding function; and if the equipment to be controlled is not detected to be started, starting the equipment to be controlled, and sending the target function control instruction to the equipment to be controlled so as to control the equipment to be controlled to execute the corresponding function.
In some embodiments, the target key is a reusable key on the keyboard to be controlled, and the visual configuration interface of the keyboard to be controlled is displayed, including: acquiring keyboard information of the keyboard to be controlled; displaying a virtual keyboard of the keyboard to be controlled on the visual configuration interface according to the keyboard information of the keyboard to be controlled; and marking and displaying one or more keys which can be multiplexed on the virtual keyboard.
In some embodiments, a visual configuration interface of a keyboard to be controlled is presented, comprising: and responding to a long-press instruction of a space key on the keyboard to be controlled, and displaying a visual configuration interface of the keyboard to be controlled on a display screen connected with the keyboard to be controlled.
In some embodiments, the operational configuration items include: key duration and/or number of key presses.
According to an aspect of the present disclosure, there is also provided a keyboard control device including: the visual interface display module is used for displaying a visual configuration interface of the keyboard to be controlled, wherein the visual configuration interface is used for configuring functions realized by one or more keys on the keyboard to be controlled in a visual mode; the key configuration module is used for responding to the selected operation of a target key on a keyboard to be controlled and displaying at least one operation configuration item of the target key, wherein the target key comprises: one or more keys, wherein each operation configuration item of the target key corresponds to an operation instruction; the instruction mapping module is used for mapping the target operation instruction of the target key into a target function control instruction in response to a selected instruction of a target operation configuration item, wherein the target operation configuration item is any operation configuration item of the target key, and the target operation instruction is an operation instruction corresponding to the target operation configuration item; the instruction execution module is used for responding to a target operation instruction executed by a target key on a keyboard to be controlled and executing a target function control instruction corresponding to the target operation instruction.
According to one aspect of the present disclosure, there is also provided a keyboard control system, the system comprising: the display screen is used for displaying a visual configuration interface of a keyboard to be controlled, responding to the selected operation of a target key on the keyboard to be controlled, and displaying at least one operation configuration item of the target key, wherein the visual configuration interface is used for configuring the functions realized by one or more keys on the keyboard to be controlled in a visual mode, and the target key comprises: one or more keys, wherein each operation configuration item of the target key corresponds to an operation instruction; the processor is used for responding to a selected instruction of a target operation configuration item and mapping the target operation instruction of the target key to a target function control instruction, wherein the target operation configuration item is any operation configuration item of the target key, and the target operation instruction is an operation instruction corresponding to the target operation configuration item; the keyboard is used for receiving a target operation instruction executed on the target key; the processor is further used for responding to a target operation instruction executed by a target key on the keyboard to be controlled and executing a target function control instruction corresponding to the target operation instruction.
According to an aspect of the present disclosure, there is also provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the keyboard control method of any one of the above.
The keyboard control method, device, system and storage medium provided in the embodiments of the present disclosure configure functions implemented by one or more keys on a keyboard to be controlled in a visual manner through a visual configuration interface, respond to a selected operation of one or more keys on the visual configuration interface, take the selected one or more keys as a target key for implementing a certain function control, display at least one operation configuration item of the target key, map an operation instruction of the target key to a control instruction of a certain function after a certain operation configuration item is selected by a user, and finally execute a control instruction of a corresponding function after detecting the operation instruction of the selected key, so as to implement a corresponding function control.
According to the embodiment of the disclosure, the keys on the keyboard can be multiplexed to realize the control of the self-defining function, so that the personalized use requirements of different users on the keyboard are met under the condition of not increasing the hardware cost of the keyboard, and the user experience of the keyboard user is greatly improved.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and other drawings may be obtained according to these drawings without inventive effort to a person of ordinary skill in the art. In the drawings:
FIG. 1 is a schematic diagram of a keyboard control system architecture according to an embodiment of the disclosure;
FIG. 2 is a flowchart of a keyboard control method according to an embodiment of the disclosure;
FIG. 3 is a schematic diagram of an alternative keyboard visualization configuration interface in an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of yet another alternative keyboard visualization configuration interface in an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of yet another alternative keyboard visualization configuration interface in an embodiment of the present disclosure;
FIG. 6 is an interface diagram of a visual configuration interface start button according to an embodiment of the present disclosure;
fig. 7 is a schematic diagram of a keyboard control device according to an embodiment of the disclosure.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, the embodiments of the present disclosure will be further described in detail with reference to the accompanying drawings. The illustrative embodiments of the present disclosure and their description herein are intended to explain the present disclosure and are not intended to be limiting of the present disclosure.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software or in one or more hardware modules or integrated circuits or in different networks and/or processor devices and/or microcontroller devices.
FIG. 1 shows a schematic diagram of a keyboard control system architecture. As shown in fig. 1, the system architecture may include a display 10, a processor 20, and a keyboard 30.
The display screen 10 is configured to display a visual configuration interface of the keyboard 30, and respond to a selected operation of a target key on the keyboard to be controlled, and display at least one operation configuration item of the target key, where the visual configuration interface is configured to visually configure a function implemented by one or more keys on the keyboard to be controlled, and the target key includes: one or more keys, wherein each operation configuration item of the target key corresponds to an operation instruction; the processor 20 is configured to map a target operation instruction of a target key to a target function control instruction in response to a selected instruction of a target operation configuration item, where the target operation configuration item is any operation configuration item of the target key, and the target operation instruction is an operation instruction corresponding to the target operation configuration item; a keyboard 30 for receiving a target operation instruction to be executed on a target key; the processor 20 is further configured to execute a target function control instruction corresponding to the target operation instruction in response to the target operation instruction executed by the target key on the keyboard to be controlled.
It should be noted that, in the keyboard control method provided in the embodiments of the present disclosure, when the target key is selected, in some embodiments, the corresponding shortcut key (i.e. the target key) may be defined by directly selecting the corresponding key (i.e. the entity key) on the keyboard 30; in other embodiments, a corresponding key menu may be set on the visual configuration interface displayed on the display screen 10, so that the user selects a corresponding key from the key menu to define a corresponding shortcut key; in other embodiments, a virtual keyboard corresponding to the keyboard 30 may be displayed on the visual configuration interface displayed on the display screen 10, so that the user may define the corresponding shortcut key by directly selecting (e.g. clicking) the virtual key.
In some embodiments, the display 10 and the keyboard 30 may be connected by a wired connection; in still other embodiments, the display 10 and the keyboard 30 may be connected wirelessly.
Alternatively, the keyboard 30 in the embodiments of the present disclosure may be a normal keyboard or a mechanical keyboard. Rubber membrane switches are commonly used, which have a rubber membrane underneath them, which is compressed when a key is pressed, thereby closing the circuit and sending a signal to the computer. A mechanical switch is arranged under each key of the mechanical keyboard, and when the key is pressed, the switch is triggered to close a circuit and send a signal. Different mechanical switch types (e.g., linear, tactile, click) can give different click feel and sounds.
Further, in some embodiments, the keyboard 30 may be a lighted keyboard, which refers to a keyboard with a backlight function, which may illuminate keys in dark environments so that the user can clearly see the characters and key positions on the keyboard at night or in dark environments. The principle of operation of the lighted keypad is to add a set of backlighting systems to a conventional keypad, and in some embodiments, the keypad 30 in the disclosed embodiments may be a lighted keypad using LED lights to provide a light source, with one or more LED lights mounted under each key. Three lamp beads of each LED lamp are arranged, and the lamplight of the three lamp beads corresponds to an R (Red) color channel, a G (Green) color channel and a B (Blue) color channel of the RGB color model. By adding the color lights of the R color channel, the G color channel, and the B color channel in different proportions, various color lights can be generated.
The keyboard control method provided by the embodiment of the disclosure can control the light color or brightness of the LED lamp under each key through the custom shortcut key. Can be controlled independently or integrally.
In other embodiments, the keyboard 30 of the disclosed embodiments may be a modular design keyboard, with the modules being connectable by removable interfaces. In this embodiment, the keyboard control method provided in the embodiments of the present disclosure may control the functions of each module through a custom shortcut key.
Under the system architecture described above, the embodiments of the present disclosure provide a keyboard control method that may be performed by any electronic device with computing processing capabilities.
Fig. 2 shows a flowchart of a keyboard control method according to an embodiment of the present disclosure, and as shown in fig. 2, the keyboard control method provided in the embodiment of the present disclosure includes the following steps:
s202, displaying a visual configuration interface of the keyboard to be controlled, wherein the visual configuration interface is used for configuring functions realized by one or more keys on the keyboard to be controlled in a visual mode.
It should be noted that, the visual configuration interface in the embodiment of the present disclosure may be any interface capable of configuring, in a visual manner, a function implemented by one or more keys on a keyboard to be controlled, and may be a web page interface, an application interface, or a applet interface.
In some embodiments, a key menu of the keyboard to be controlled can be set on the visual configuration interface, so that a user selects a corresponding key from the key menu to define a corresponding shortcut key; in other embodiments, a virtual keyboard corresponding to the keyboard to be controlled may be displayed on the visual configuration interface, so that the user may define the corresponding shortcut key by directly selecting (e.g. clicking) the virtual key.
S204, responding to the selected operation of the target key on the keyboard to be controlled, and displaying at least one operation configuration item of the target key, wherein the target key comprises: one or more keys, each operation configuration item of the target key corresponds to an operation instruction.
It should be noted that, in S204, the selection operation of the target key on the keyboard to be controlled may be the selection operation of the corresponding key on the physical keyboard, the selection operation of selecting the corresponding key from the key menu, or the selection operation of the corresponding key on the virtual keyboard. In the embodiment of the present disclosure, the target key refers to a shortcut key for realizing a certain function control, and may be one key or a combination of multiple keys.
In some embodiments, the operational configuration items in embodiments of the present disclosure include, but are not limited to: key duration and/or number of key presses.
S206, responding to a selected instruction of a target operation configuration item, and mapping the target operation instruction of the target key to a target function control instruction, wherein the target operation configuration item is any operation configuration item of the target key, and the target operation instruction is an operation instruction corresponding to the target operation configuration item.
It should be noted that, after the target key is selected, an operation corresponding to the target key may be configured, for example, clicking the target key once, or long pressing the target key, or short pressing the target key; different operations can be mapped to realize different functions, so that the number of shortcut keys is reduced while the same functional requirements are met.
As shown in fig. 3, the "Esc" key may be configured to be pressed 1 time and for 2 seconds as a shortcut (target key) to "exit" all application windows on the current display; as shown in fig. 4, two keys of "F11" and "F12" may be configured to be pressed simultaneously 1 time and for 1 second as one shortcut key for "opening" all application windows on the current display screen; as shown in fig. 5, the two keys "F11" and "F12" may be configured to be pressed simultaneously 1 time and for 3 seconds as one shortcut to "minimize" all application windows on the current display.
S208, responding to a target operation instruction executed by a target key on the keyboard to be controlled, and executing a target function control instruction corresponding to the target operation instruction.
It should be noted that, the target function control instruction in the embodiments of the present disclosure may be a control instruction of any function, and in some embodiments, the target function control instruction in the embodiments of the present disclosure may include, but is not limited to, any one or more of the following: system function control instructions, application function control instructions, and device function control instructions.
Wherein, the system function control instruction can be an operating system level control instruction; the application function control instruction may be an application-level control instruction; the device function control command can be a control command of a device layer, wherein the device can be a keyboard, or can be a device (such as a handwriting board, a voice collector and the like) externally connected with the keyboard.
In some embodiments, when the target function control instruction is an application control instruction, as shown in fig. 3, after mapping the target operation instruction of the target key to the target function control instruction in response to the selected instruction of the target operation configuration item, the keyboard control method provided in the embodiments of the present disclosure may further include the steps of: detecting whether an application to be controlled is started or not in response to a target operation instruction executed by a target key on a keyboard to be controlled; if the application to be controlled is detected to be started, directly executing the corresponding application function; and if the application to be controlled is not detected to be started, starting the application to be controlled, and executing the corresponding function.
In other embodiments, when the target function control instruction is an application control instruction, as shown in fig. 3, after mapping the target operation instruction of the target key to the target function control instruction in response to the selected instruction of the target operation configuration item, the keyboard control method provided in the embodiments of the present disclosure may further include the following steps: responding to a target operation instruction executed by a target key on a keyboard to be controlled, and detecting whether the equipment to be controlled is started; if the equipment to be controlled is detected to be started, a target function control instruction is sent to the equipment to be controlled so as to control the equipment to be controlled to execute a corresponding function; if the equipment to be controlled is not detected to be started, the equipment to be controlled is started, and a target function control instruction is sent to the equipment to be controlled so as to control the equipment to be controlled to execute the corresponding function.
In some embodiments, the target key is a reusable key on the keyboard to be controlled, and the visual configuration interface of the keyboard to be controlled is displayed, including: acquiring keyboard information of a keyboard to be controlled; displaying a virtual keyboard of the keyboard to be controlled on a visual configuration interface according to the keyboard information of the keyboard to be controlled; and marking and displaying one or more keys which can be multiplexed on the virtual keyboard.
It should be noted that, the keyboard information here may be information such as a model of a keyboard, so as to determine, according to the keyboard information of the keyboard to be controlled, the number of keys and the layout situation on the keyboard to be controlled, and display, on the visual configuration interface, a virtual keyboard having the same number of keys and layout situation as those of the keyboard to be controlled. It should be noted that, for the one or more keys that can be multiplexed on the keyboard to be controlled, the possible multiplexed keys may be directly obtained from the internet platform or the big data platform according to the keyboard information of the keyboard to be controlled; the system can also be a reusable key which is configured by user definition; it is also possible to multiplex the reusable keys predicted by the key prediction model with a pre-trained keyboard by collecting historical keyboard usage data of the user. The user can conveniently and quickly configure the custom shortcut key by marking and displaying the reusable keys.
In some embodiments, keyboard usage data of a user may also be collected periodically, and a pre-trained keyboard multiplexing key prediction model is used to predict that a key that is not commonly used by the user is a reusable key, and shortcut key custom prompt information is output to prompt the user whether to need to change the shortcut key again or to add a new shortcut key.
It should be noted that, the starting of the visual configuration interface of the keyboard in the embodiment of the disclosure may be performed by, but not limited to, the following three modes:
1) A separate application or applet is developed and installed in an electronic device (such as a desktop computer, a notebook computer or a mobile phone, etc.) connected to a keyboard to be controlled, and a user can directly open the corresponding application from the electronic device.
2) Corresponding application programs are started in a voice instruction mode through a voice collector (which can be a voice collector arranged on a keyboard to be controlled or can be a voice collector connected with the keyboard to be controlled). This approach can be used to address specific user groups that are not skilled in the operation of the electronic device, such as the elderly.
3) The configurable interface of the keyboard to be controlled is started by multiplexing existing keys on the keyboard to be controlled, for example, in some embodiments, the visual configuration interface of the keyboard to be controlled is displayed on a display screen connected with the keyboard to be controlled in response to a long-press instruction of a space key on the keyboard to be controlled. The starting of the visual configuration interface is realized by multiplexing the existing keys on the keyboard, so that the method is applicable to all keyboards without modifying the keyboards.
Fig. 6 is an interface schematic diagram of a visual configuration interface start key according to an embodiment of the present disclosure, where, as shown in fig. 6, a configurable space key 600 is pressed once and lasts for 3 seconds as a shortcut key for starting the visual configuration interface.
As can be seen from the foregoing, in the keyboard control method provided in the embodiments of the present disclosure, functions implemented by one or more keys on a keyboard to be controlled are configured in a visual manner through a visual configuration interface, in response to a selected operation of one or more keys on the visual configuration interface, the selected one or more keys are used as target keys for implementing control of a certain function, at least one operation configuration item of the target keys is displayed, after a user selects a certain operation configuration item, an operation instruction of the target key is mapped to a control instruction of a certain function, and finally after an operation instruction of the selected key is detected, a control instruction of a corresponding function is executed, so as to implement control of the corresponding function.
By the keyboard control method provided by the embodiment of the disclosure, the keys on the keyboard can be multiplexed to realize the control of the self-defining function, and under the condition of not increasing the hardware cost of the keyboard, the personalized use requirements of different users on the keyboard are met, and the user experience of the keyboard user is greatly improved.
Based on the same inventive concept, the embodiments of the present disclosure also provide a keyboard control device, such as the following embodiments. Since the principle of solving the problem of the embodiment of the device is similar to that of the embodiment of the method, the implementation of the embodiment of the device can be referred to the implementation of the embodiment of the method, and the repetition is omitted.
Fig. 7 is a schematic diagram of a keyboard control device according to an embodiment of the disclosure, as shown in fig. 7, where the device includes: a visual interface presentation module 701, a key configuration module 702, an instruction mapping module 703 and an instruction execution module 704.
The visual interface display module 701 is configured to display a visual configuration interface of the keyboard to be controlled, where the visual configuration interface is configured to visually configure functions implemented by one or more keys on the keyboard to be controlled; the key configuration module 702 is configured to respond to a selected operation of a target key on a keyboard to be controlled, and display at least one operation configuration item of the target key, where the target key includes: one or more keys, wherein each operation configuration item of the target key corresponds to an operation instruction; the instruction mapping module 703 is configured to map, in response to a selected instruction for a target operation configuration item, a target operation instruction of a target key to a target function control instruction, where the target operation configuration item is any operation configuration item of the target key, and the target operation instruction is an operation instruction corresponding to the target operation configuration item; the instruction execution module 704 is configured to execute a target function control instruction corresponding to a target operation instruction in response to the target operation instruction executed by a target key on the keyboard to be controlled.
As can be seen from the foregoing, in the keyboard control device provided in the embodiments of the present disclosure, the function implemented by one or more keys on the keyboard to be controlled is configured in a visual manner through the visual interface display module 701, the selected one or more keys are used as target keys for implementing a certain function control through the key configuration module 702 in response to the selected operation of the one or more keys on the visual configuration interface, at least one operation configuration item of the target keys is displayed, after a certain operation configuration item is selected by a user, the operation instruction of the target keys is mapped into a control instruction of a certain function through the instruction mapping module 703, and finally, after the operation instruction of the selected key is detected through the instruction execution module 704, the control instruction of the corresponding function is executed, so as to implement the corresponding function control.
By the keyboard control device provided by the embodiment of the disclosure, the keys on the keyboard can be multiplexed to realize the control of the self-defining function, and under the condition of not increasing the hardware cost of the keyboard, the personalized use requirements of different users on the keyboard are met, and the user experience of the keyboard user is greatly improved.
In some embodiments, the target function control instructions may include, but are not limited to, at least one of: system function control instructions, application function control instructions, and device function control instructions.
In some embodiments, when the target function control instruction is an application control instruction, the instruction execution module 704 may specifically include: an application function control execution unit 7041, configured to detect whether an application to be controlled is started in response to a target operation instruction executed by a target key on a keyboard to be controlled; if the application to be controlled is detected to be started, directly executing the corresponding application function; and if the application to be controlled is not detected to be started, starting the application to be controlled, and executing the corresponding function.
In some embodiments, when the target function control instruction is a device function control instruction, the instruction execution module 704 may specifically include: the device function control execution unit 7042 is configured to detect whether a device to be controlled is started in response to a target operation instruction executed by a target key on a keyboard to be controlled; if the equipment to be controlled is detected to be started, a target function control instruction is sent to the equipment to be controlled so as to control the equipment to be controlled to execute a corresponding function; if the equipment to be controlled is not detected to be started, the equipment to be controlled is started, and a target function control instruction is sent to the equipment to be controlled so as to control the equipment to be controlled to execute the corresponding function.
In some embodiments, the target key is a reusable key on the keyboard to be controlled, and the visual interface display module 701 is further configured to: acquiring keyboard information of a keyboard to be controlled; displaying a virtual keyboard of the keyboard to be controlled on a visual configuration interface according to the keyboard information of the keyboard to be controlled; and marking and displaying one or more keys which can be multiplexed on the virtual keyboard.
In some embodiments, the visual interface presentation module 701 is further configured to: and responding to a long-press instruction of a space key on the keyboard to be controlled, and displaying a visual configuration interface of the keyboard to be controlled on a display screen connected with the keyboard to be controlled.
In some embodiments, the operational configuration items in the apparatus embodiments described above may include, but are not limited to: key duration and/or number of key presses.
It should be noted that the above modules are the same as examples and application scenarios implemented by the corresponding steps, but are not limited to what is disclosed in the above method embodiments. It should be noted that the modules described above may be implemented as part of an apparatus in a computer system, such as a set of computer-executable instructions.
Based on the same inventive concept, there is also provided in an embodiment of the present disclosure a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the keyboard control method of any one of the above. Since the principle of the solution of the problem of the embodiment of the computer readable storage medium is similar to that of the embodiment of the method, the implementation of the embodiment of the computer readable storage medium can be referred to the implementation of the embodiment of the method, and the repetition is omitted.
More specific examples of the computer readable storage medium in the present disclosure may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
In this disclosure, a computer readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Alternatively, the program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
In particular implementations, the program code for carrying out operations of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
It will be apparent to those skilled in the art that embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the foregoing embodiments have been described in some detail for purposes of clarity of understanding, it will be understood that the above description is by way of example only and is not intended to limit the scope of the disclosure, and that any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the disclosure are intended to be included within the scope of the disclosure.

Claims (10)

1. A keyboard control method, comprising:
Displaying a visual configuration interface of a keyboard to be controlled, wherein the visual configuration interface is used for configuring functions realized by one or more keys on the keyboard to be controlled in a visual mode;
responding to the selected operation of a target key on a keyboard to be controlled, and displaying at least one operation configuration item of the target key, wherein the target key comprises: one or more keys, wherein each operation configuration item of the target key corresponds to an operation instruction;
Responding to a selected instruction of a target operation configuration item, and mapping the target operation instruction of the target key to a target function control instruction, wherein the target operation configuration item is any operation configuration item of the target key, and the target operation instruction is an operation instruction corresponding to the target operation configuration item;
And responding to a target operation instruction executed by a target key on a keyboard to be controlled, and executing a target function control instruction corresponding to the target operation instruction.
2. The keyboard control method of claim 1, wherein the target function control instruction comprises at least one of: system function control instructions, application function control instructions, and device function control instructions.
3. The keyboard control method of claim 2, wherein when the target function control instruction is an application control instruction, executing a target function control instruction corresponding to a target operation instruction executed by a target key on a keyboard to be controlled in response to the target operation instruction, comprises:
Detecting whether an application to be controlled is started or not in response to a target operation instruction executed by a target key on a keyboard to be controlled;
If the application to be controlled is detected to be started, directly executing the corresponding application function;
and if the application to be controlled is not detected to be started, starting the application to be controlled, and executing corresponding functions.
4. The keyboard control method of claim 2, wherein when the target function control instruction is a device function control instruction, executing a target function control instruction corresponding to a target operation instruction executed by a target key on a keyboard to be controlled in response to the target operation instruction, comprises:
responding to a target operation instruction executed by a target key on a keyboard to be controlled, and detecting whether the equipment to be controlled is started;
If the equipment to be controlled is detected to be started, the target function control instruction is sent to the equipment to be controlled so as to control the equipment to be controlled to execute the corresponding function;
and if the equipment to be controlled is not detected to be started, starting the equipment to be controlled, and sending the target function control instruction to the equipment to be controlled so as to control the equipment to be controlled to execute the corresponding function.
5. The keyboard control method of claim 1, wherein the target key is a reusable key on the keyboard to be controlled, and displaying a visual configuration interface of the keyboard to be controlled comprises:
Acquiring keyboard information of the keyboard to be controlled;
Displaying a virtual keyboard of the keyboard to be controlled on the visual configuration interface according to the keyboard information of the keyboard to be controlled;
and marking and displaying one or more keys which can be multiplexed on the virtual keyboard.
6. The keyboard control method of claim 1, wherein displaying a visual configuration interface of a keyboard to be controlled comprises:
And responding to a long-press instruction of a space key on the keyboard to be controlled, and displaying a visual configuration interface of the keyboard to be controlled on a display screen connected with the keyboard to be controlled.
7. The keyboard control method of any one of claims 1 to 6, wherein the operation configuration item includes: key duration and/or number of key presses.
8. A keyboard control device, comprising:
The visual interface display module is used for displaying a visual configuration interface of the keyboard to be controlled, wherein the visual configuration interface is used for configuring functions realized by one or more keys on the keyboard to be controlled in a visual mode;
The key configuration module is used for responding to the selected operation of a target key on a keyboard to be controlled and displaying at least one operation configuration item of the target key, wherein the target key comprises: one or more keys, wherein each operation configuration item of the target key corresponds to an operation instruction;
the instruction mapping module is used for mapping the target operation instruction of the target key into a target function control instruction in response to a selected instruction of a target operation configuration item, wherein the target operation configuration item is any operation configuration item of the target key, and the target operation instruction is an operation instruction corresponding to the target operation configuration item;
The instruction execution module is used for responding to a target operation instruction executed by a target key on a keyboard to be controlled and executing a target function control instruction corresponding to the target operation instruction.
9. A keyboard control system, comprising:
the display screen is used for displaying a visual configuration interface of a keyboard to be controlled, responding to the selected operation of a target key on the keyboard to be controlled, and displaying at least one operation configuration item of the target key, wherein the visual configuration interface is used for configuring the functions realized by one or more keys on the keyboard to be controlled in a visual mode, and the target key comprises: one or more keys, wherein each operation configuration item of the target key corresponds to an operation instruction;
the processor is used for responding to a selected instruction of a target operation configuration item and mapping the target operation instruction of the target key to a target function control instruction, wherein the target operation configuration item is any operation configuration item of the target key, and the target operation instruction is an operation instruction corresponding to the target operation configuration item;
The keyboard is used for receiving a target operation instruction executed on the target key;
The processor is further used for responding to a target operation instruction executed by a target key on the keyboard to be controlled and executing a target function control instruction corresponding to the target operation instruction.
10. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when executed by a processor, implements the keyboard control method of any one of claims 1 to 7.
CN202410331333.6A 2024-03-21 Keyboard control method, device, system and storage medium Pending CN118131919A (en)

Publications (1)

Publication Number Publication Date
CN118131919A true CN118131919A (en) 2024-06-04

Family

ID=

Similar Documents

Publication Publication Date Title
CN105630290B (en) A kind of mobile device-based interface processing method and device
US8384566B2 (en) Pressure-sensitive keyboard and associated method of operation
CN101482790B (en) Electronic device capable of transferring object between two display elements and its control method
CN107357508A (en) Singly-bound multifunctional control method and equipment
WO2018040943A1 (en) Display data control method, device, and system
CN109062479A (en) Split screen application switching method, device, storage medium and electronic equipment
JP2000207108A (en) Device and method for switching keyboard
CN104598134A (en) Fingerprint operating method and system for mobile terminal
CN109189295A (en) display control method, device and terminal device
KR20070119946A (en) Apparatus and method for user interface
JPWO2010067618A1 (en) Operation support method, operation support system, operation support apparatus, and operation support program
CN103955327B (en) Information processing method and electronic equipment
KR100643301B1 (en) System and method for outputting icons by hot-key input
CN115066074A (en) Method and device for controlling visualization of matching of lamps
CN103744606A (en) Control method and electronic device
CN101292531A (en) Surveillance system workstation
CN112817555B (en) Volume control method and volume control device
CN103294351A (en) Display method and electronic device
CN105677135A (en) Play control method and device for projector
CN105511733A (en) Method, system and electronic device for adjusting multitask arraying sequence through pressure touch control
CN118131919A (en) Keyboard control method, device, system and storage medium
CN111510554A (en) Dial switching method, dial switching equipment and storage medium
CN110531881A (en) The centralized kvm system of mouse calling OSD menu
CN101751197A (en) Multi-level input system, computer program product and method thereof
CN111143631A (en) Data processing method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication