Keyboard control method, device, system and storage medium
By displaying the visual configuration interface on the keyboard, users can customize the functions of keyboard keys, solving the problems of single shortcut key functions and cumbersome operations in the existing technology, realizing personalized keyboard control, and improving user experience.
Patent Information
- Application Number
- CN202410331333.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-21
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2044-03-21
AI Technical Summary
The existing keyboard shortcuts have single functions and cumbersome operations, which are difficult to meet the differentiated needs of users.
By displaying the visual configuration interface, users can customize the functions of keyboard keys, display the operation configuration items after selecting the target key, and map the target operation instructions into function control instructions, and execute the corresponding function control instructions.
It realizes custom function control of keyboard keys, meets the personalized needs of different users and improves user experience.
Smart Images

Figure CN118131919B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer software technology, and in particular to a keyboard control method, device, system and storage medium. Background Art
[0002] The contents stated in this section are only for enhancement of understanding of the background of the present disclosure and therefore may contain information that does not form the prior art already known to one of ordinary skill in the art.
[0003] Keyboard shortcuts are an important tool for improving work efficiency, allowing users to perform complex operations or commands through simple keyboard operations. In various software and operating systems, the use of shortcut keys has become very common. Users can use a combination of one key, three keys, or even more keys to achieve various functions. For example, in text editing software, users can use shortcut keys to quickly achieve operations such as copy, paste, undo, and redo. In web browsers, shortcut keys can be used to move forward, back, open a new tab, etc. In operating systems, shortcut keys can be used to start applications, switch desktops, lock the screen, etc.
[0004] However, as the number of shortcut keys increases, the keyboard shortcut keys that users need to remember become more and more complicated. Different software and operating systems may use different shortcut keys, and different users may be accustomed to using different shortcut keys.
[0005] It can be seen that the current keyboard shortcuts are difficult to meet the differentiated needs of users, and the functions implemented by shortcuts are relatively simple. Therefore, how to provide a simple and easy-to-use shortcut management tool to help users customize keyboard shortcuts is a technical problem that needs to be solved urgently. Summary of the invention
[0006] The present disclosure provides a keyboard control method, device, system and storage medium, which at least to some extent overcome the technical problems of shortcut keys implemented on current keyboards, such as single function, complicated operation and poor user experience.
[0007] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.
[0008] According to one aspect of the present disclosure, a keyboard control method is provided, the method comprising: displaying a visual configuration interface of a keyboard to be controlled, wherein the visual configuration interface is used to configure the functions implemented by one or more keys on the keyboard to be controlled in a visual manner; in response to a selection operation of a target key on the keyboard to be controlled, 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; in response to a selection instruction for a target operation configuration item, mapping a 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; in response to a target operation instruction executed on the target key on the keyboard to be controlled, executing a target function control instruction corresponding to the target operation instruction.
[0009] In some embodiments, the target function control instruction includes at least one of the following: a system function control instruction, an application function control instruction, and a device function control instruction.
[0010] In some embodiments, when the target function control instruction is an application control instruction, in response to the target operation instruction executed on the target key on the keyboard to be controlled, the target function control instruction corresponding to the target operation instruction is executed, including: in response to the target operation instruction executed on the target key on the keyboard to be controlled, detecting whether the application to be controlled is started; if it is detected that the application to be controlled is started, directly executing the corresponding application function; if it is not detected that the application to be controlled is not started, starting the application to be controlled and executing the corresponding function.
[0011] In some embodiments, when the target function control instruction is a device function control instruction, in response to the target operation instruction executed on the target key on the keyboard to be controlled, the target function control instruction corresponding to the target operation instruction is executed, including: in response to the target operation instruction executed on the target key on the keyboard to be controlled, detecting whether the device to be controlled is started; if it is detected that the device to be controlled is started, sending the target function control instruction to the device to be controlled to control the device to be controlled to perform the corresponding function; if it is not detected that the device to be controlled is not started, starting the device to be controlled and sending the target function control instruction to the device to be controlled to control the device to be controlled to perform the corresponding function.
[0012] In some embodiments, the target key is a reusable key on the keyboard to be controlled, and a visual configuration interface of the keyboard to be controlled is displayed, including: obtaining keyboard information of the keyboard to be controlled; displaying a virtual keyboard of the keyboard to be controlled on the visual configuration interface based on the keyboard information of the keyboard to be controlled; and marking and displaying one or more reusable keys on the virtual keyboard.
[0013] In some embodiments, displaying a visual configuration interface of a keyboard to be controlled includes: in response to a long press instruction of a space bar on the keyboard to be controlled, displaying the visual configuration interface of the keyboard to be controlled on a display screen connected to the keyboard to be controlled.
[0014] In some embodiments, the operation configuration items include: key press duration and / or key press times.
[0015] According to one aspect of the present disclosure, a keyboard control device is also provided, which includes: a visual interface display module, which is used to display a visual configuration interface of the keyboard to be controlled, wherein the visual configuration interface is used to configure the functions implemented by one or more keys on the keyboard to be controlled in a visual manner; a key configuration module, which is used to display at least one operation configuration item of the target key in response to a selection operation of a target key on the keyboard to be controlled, wherein the target key includes: one or more keys, and each operation configuration item of the target key corresponds to an operation instruction; an instruction mapping module, which is used to map the target operation instruction of the target key to a target function control instruction in response to a selection instruction of the 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 the operation instruction corresponding to the target operation configuration item; an instruction execution module, which is used to execute the target function control instruction corresponding to the target operation instruction in response to the target operation instruction executed on the target key on the keyboard to be controlled.
[0016] According to one aspect of the present disclosure, a keyboard control system is also provided, the system comprising: a display screen, for displaying a visual configuration interface of a keyboard to be controlled, and in response to a selection operation on a target key on the keyboard to be controlled, displaying at least one operation configuration item of the target key, wherein the visual configuration interface is used to configure the functions implemented by one or more keys on the keyboard to be controlled in a visual manner, and the target keys comprise: one or more keys, each operation configuration item of the target keys corresponding to an operation instruction; a processor, for mapping a target operation instruction of the target key to a target function control instruction in response to an instruction to select 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; a keyboard, for receiving a target operation instruction executed on a target key; wherein the processor is also used to execute a target function control instruction corresponding to the target operation instruction in response to the target operation instruction executed on the target key on the keyboard to be controlled.
[0017] According to one aspect of the present disclosure, a computer-readable storage medium is further provided, on which a computer program is stored. When the computer program is executed by a processor, the keyboard control method described in any one of the above is implemented.
[0018] The keyboard control method, device, system and storage medium provided in the embodiments of the present disclosure configure the functions implemented by one or more keys on the keyboard to be controlled in a visual manner through a visual configuration interface. In response to the selection operation of one or more keys on the visual configuration interface, the selected one or more keys are used as target keys for implementing a certain function control, and at least one operation configuration item of the target key is displayed. When the user selects a certain operation configuration item, the operation instruction of the target key is mapped to the control instruction of a certain function. Finally, after the operation instruction of the selected key is detected, the control instruction of the corresponding function is executed to implement the corresponding function control.
[0019] Through the embodiments of the present disclosure, the keys on the keyboard can be reused to realize the control of customized functions, and the personalized usage requirements of different users for the keyboard can be met without increasing the hardware cost of the keyboard, thereby greatly improving the user experience of keyboard users. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0021] Figure 1 This is a schematic diagram of a keyboard control system architecture in an embodiment of the present disclosure;
[0022] Figure 2 This is a flow chart of a keyboard control method in an embodiment of the present disclosure;
[0023] Figure 3 This is a schematic diagram of an optional keyboard visualization configuration interface in an embodiment of the present disclosure;
[0024] Figure 4 This is a schematic diagram of another optional keyboard visualization configuration interface in an embodiment of the present disclosure;
[0025] Figure 5 This is a schematic diagram of another optional keyboard visualization configuration interface in an embodiment of the present disclosure;
[0026] Figure 6 This is a schematic diagram of an interface for starting a button in a visual configuration interface according to an embodiment of the present disclosure;
[0027] Figure 7 Schematic diagram of a keyboard control device in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0028] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure more clear, the embodiments of the present disclosure are further described in detail below in conjunction with the accompanying drawings. Here, the illustrative embodiments of the present disclosure and their descriptions are used to explain the present disclosure, but are not intended to limit the present disclosure.
[0029] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.
[0030] Figure 1 A schematic diagram of a keyboard control system architecture is shown. Figure 1 As shown, the system architecture may include a display screen 10 , a processor 20 and a keyboard 30 .
[0031] Among them, the display screen 10 is used to display the visual configuration interface of the keyboard 30, and in response to the selection operation of the target key on the keyboard to be controlled, at least one operation configuration item of the target key is displayed, wherein the visual configuration interface is used to configure the functions implemented by one or more keys on the keyboard to be controlled in a visual manner, and the target key includes: one or more keys, and each operation configuration item of the target key corresponds to an operation instruction; the processor 20 is used to map the target operation instruction of the target key to a target function control instruction in response to the selection instruction of the 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 the operation instruction corresponding to the target operation configuration item; the keyboard 30 is used to receive the target operation instruction executed on the target key; the above-mentioned processor 20 is also used to execute the target function control instruction corresponding to the target operation instruction in response to the target operation instruction executed on the target key on the keyboard to be controlled.
[0032] It should be noted that, in the keyboard control method provided in the embodiments of the present disclosure, when selecting a target key, in some embodiments, the corresponding key (i.e., physical key) on the keyboard 30 may be directly selected to customize the corresponding shortcut key (i.e., target key); 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 can select the corresponding key from the key menu to customize the 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 can customize the corresponding shortcut key by directly selecting (such as clicking) the virtual key. This method can make the keyboard configuration more intuitive and simplified, and allow the user to quickly configure the corresponding shortcut key.
[0033] In some embodiments, the display screen 10 and the keyboard 30 may be connected via a wired connection; in still other embodiments, the display screen 10 and the keyboard 30 may be connected wirelessly.
[0034] Optionally, the keyboard 30 in the disclosed embodiment can be a normal keyboard or a mechanical keyboard. Rubber membrane switches are usually used. There is a rubber key membrane under these switches. When the key is pressed, the rubber key membrane will be compressed, so that the circuit is closed and a signal is sent to the computer. There is a mechanical switch under each key of the mechanical keyboard. When the key is pressed, the switch will be triggered, the circuit is closed, and a signal is sent. Different types of mechanical switches (such as linear, tactile, and click) will bring different tapping sensations and sounds.
[0035] Further, in some embodiments, the keyboard 30 may be an illuminating keyboard. An illuminating keyboard refers to a keyboard with a backlight function. This keyboard can illuminate the keys in a dark environment, so that the user can clearly see the characters and key positions on the keyboard at night or in a dimly lit environment. The working principle of the illuminating keyboard is to add a backlight system on the basis of a traditional keyboard. In some embodiments, the keyboard 30 in the disclosed embodiment may be an illuminating keyboard that uses LED lights to provide light sources, and one or more LED lights are installed under each key. Each LED lamp has three lamp beads, and the lights of the three lamp beads correspond to the R (Red) color channel, G (Green) color channel, and B (Blue) color channel of the RGB color model. By adding the colored lights of the R color channel, the G color channel, and the B color channel in different proportions, a variety of colored lights can be generated.
[0036] The keyboard control method provided in the embodiment of the present disclosure can control the light color or brightness of the LED lights under each key through a custom shortcut key, which can be controlled individually or as a whole.
[0037] In other embodiments, the keyboard 30 in the embodiment of the present disclosure may be a modular keyboard, and each module may be connected via a detachable interface. In this embodiment, the keyboard control method provided in the embodiment of the present disclosure may control the functions of each module via a custom shortcut key.
[0038] Under the above system architecture, a keyboard control method is provided in an embodiment of the present disclosure, and the method can be executed by any electronic device with computing and processing capabilities.
[0039] Figure 2 A flowchart of a keyboard control method in an embodiment of the present disclosure is shown. Figure 2 As shown, the keyboard control method provided in the embodiment of the present disclosure includes the following steps:
[0040] S202, displaying a visual configuration interface of the keyboard to be controlled, wherein the visual configuration interface is used to configure functions realized by one or more keys on the keyboard to be controlled in a visual manner.
[0041] It should be noted that the visual configuration interface in the embodiment of the present disclosure can be any interface that can configure the functions implemented by one or more keys on the keyboard to be controlled in a visual manner. It can be a web page interface, an application interface, or a mini-program interface.
[0042] In some embodiments, a key menu of the keyboard to be controlled can be set on the visual configuration interface so that the user can select the corresponding key from the key menu to customize the corresponding shortcut key; in other embodiments, the virtual keyboard corresponding to the keyboard to be controlled can be displayed on the visual configuration interface, so that the user can customize the corresponding shortcut key by directly selecting (such as clicking) the virtual key.
[0043] S204, in response to a selection operation on a target key on the keyboard to be controlled, display at least one operation configuration item of the target key, wherein the target key includes: one or more keys, and each operation configuration item of the target key corresponds to an operation instruction.
[0044] It should be noted that the selection operation of the target key on the keyboard to be controlled in the above S204 may be a selection operation of the corresponding key on the physical keyboard, or a selection operation of selecting the corresponding key from the key menu, or a selection operation of the corresponding key on the virtual keyboard. In the disclosed embodiment, the target key refers to a shortcut key for realizing a certain function control, which may be a single key or a combination of multiple keys.
[0045] In some embodiments, the operation configuration items in the embodiments of the present disclosure include, but are not limited to: key press duration and / or key press number.
[0046] S206, in response to the selection instruction of the target operation configuration item, mapping the target operation instruction of the target button to the target function control instruction, wherein the target operation configuration item is any operation configuration item of the target button, and the target operation instruction is the operation instruction corresponding to the target operation configuration item.
[0047] It should be noted that after selecting the target button, you can configure the operation corresponding to the target button, for example, click the target button once, or long press the target button, or short press the target button; for different operations, it can be mapped to achieve different functions, thereby reducing the number of shortcut keys while meeting the same functional requirements.
[0048] like Figure 3 As shown in , you can configure the "Esc" key to be pressed once and held for 2 seconds as a shortcut key (target key) to "exit" all application windows on the current display; Figure 4 As shown in , you can configure the "F11" and "F12" keys to be pressed once and held for 1 second as a shortcut key to "open" all application windows on the current display; Figure 5 As shown, you can configure the "F11" and "F12" keys to be pressed simultaneously once and for 3 seconds as a shortcut key for "minimizing" all application windows on the current display.
[0049] S208: In response to the target operation instruction executed on the target key on the keyboard to be controlled, execute the target function control instruction corresponding to the target operation instruction.
[0050] It should be noted that the target function control instructions in the embodiments of the present disclosure may be control instructions for any function. In some embodiments, the target function control instructions in the embodiments of the present disclosure may include but are not limited to any one or more of the following: system function control instructions, application function control instructions, and device function control instructions.
[0051] Among them, system function control instructions can be control instructions at the operating system level; application function control instructions can be control instructions at the application level; device function control instructions can be control instructions at the device level. The device here can be the keyboard itself or a device external to the keyboard (such as a handwriting tablet, voice collector, etc.).
[0052] In some embodiments, when the target function control instruction is an application control instruction, such as Figure 3 As shown, after mapping the target operation instruction of the target key to the target function control instruction in response to the selection instruction of the target operation configuration item, the keyboard control method provided in the embodiment of the present disclosure may also include the following steps: in response to the target operation instruction executed on the target key on the keyboard to be controlled, detecting whether the application to be controlled is started; if it is detected that the application to be controlled is started, directly executing the corresponding application function; if it is not detected that the application to be controlled is not started, starting the application to be controlled and executing the corresponding function.
[0053] In other embodiments, when the target function control instruction is an application control instruction, such as Figure 3 As shown, in response to the selection instruction of the target operation configuration item, after mapping the target operation instruction of the target key to the target function control instruction, the keyboard control method provided in the embodiment of the present disclosure may also include the following steps: in response to the target operation instruction executed on the target key on the keyboard to be controlled, detecting whether the device to be controlled is started; if it is detected that the device to be controlled is started, sending the target function control instruction to the device to be controlled to control the device to be controlled to perform the corresponding function; if it is not detected that the device to be controlled is not started, starting the device to be controlled, and sending the target function control instruction to the device to be controlled to control the device to be controlled to perform the corresponding function.
[0054] In some embodiments, the target key is a reusable key on the keyboard to be controlled, and a visual configuration interface of the keyboard to be controlled is displayed, including: obtaining keyboard information of the keyboard to be controlled; displaying a virtual keyboard of the keyboard to be controlled on the visual configuration interface based on the keyboard information of the keyboard to be controlled; and marking and displaying one or more reusable keys on the virtual keyboard.
[0055] It should be noted that the keyboard information here can be information such as the model of the keyboard, so as to determine the number of keys and layout of the keyboard to be controlled based on the keyboard information of the keyboard to be controlled, and display a virtual keyboard with the same number of keys and layout as the keyboard to be controlled on the visual configuration interface. It should be noted here that one or more keys that can be reused on the keyboard to be controlled can be directly obtained from the Internet platform or the big data platform based on the keyboard information of the keyboard to be controlled, and can be reused keys; they can also be reusable keys configured by the user; they can also be reusable keys predicted by collecting the user's historical keyboard usage data and using a pre-trained keyboard reuse key prediction model. By marking and displaying the reusable keys, users can quickly configure custom shortcut keys.
[0056] In some embodiments, the user's keyboard usage data can also be collected regularly, and a pre-trained keyboard reuse key prediction model can be used to predict the user's infrequently used keys as reusable keys, and shortcut key customization prompt information can be output to prompt the user whether the shortcut keys need to be changed again or new shortcut keys need to be added.
[0057] It should be noted that the keyboard visualization configuration interface in the embodiment of the present disclosure can be started in the following three ways but not limited to:
[0058] 1) Develop a separate application or applet and install it in an electronic device (such as a desktop computer, laptop or mobile phone, etc.) connected to the keyboard to be controlled. The user can directly open the corresponding application from the electronic device.
[0059] 2) Start the corresponding application program by voice command through a voice collector (which can be a voice collector set on the keyboard to be controlled or a voice collector connected to the keyboard to be controlled). This method can meet the needs of some special user groups who are not proficient in operating electronic devices, such as elderly user groups.
[0060] 3) The configurable interface of the keyboard to be controlled is started by reusing the existing keys on the keyboard to be controlled. For example, in some embodiments, in response to a long press command of the space bar on the keyboard to be controlled, a visual configuration interface of the keyboard to be controlled is displayed on a display screen connected to the keyboard to be controlled. By reusing the existing keys on the keyboard, the visual configuration interface is started, which can be applicable to all keyboards without modifying the keyboard.
[0061] Figure 6 FIG. 1 is a schematic diagram of an interface of a start button of a visual configuration interface in an embodiment of the present disclosure, such as Figure 6 As shown, the space key 600 can be configured to be pressed once and held for 3 seconds as a shortcut key for starting the visual configuration interface.
[0062] From the above, it can be seen that the keyboard control method provided in the embodiment of the present disclosure configures the functions implemented by one or more keys on the keyboard to be controlled in a visual manner through a visual configuration interface. In response to the selection operation of one or more keys on the visual configuration interface, the selected one or more keys are used as target keys for implementing a certain function control, and at least one operation configuration item of the target key is displayed. When the user selects a certain operation configuration item, the operation instruction of the target key is mapped to the control instruction of a certain function. Finally, after the operation instruction of the selected key is detected, the control instruction of the corresponding function is executed to implement the corresponding function control.
[0063] Through the keyboard control method provided in the embodiment of the present disclosure, the keys on the keyboard can be reused to realize the control of customized functions, and the personalized usage requirements of different users for the keyboard can be met without increasing the hardware cost of the keyboard, thereby greatly improving the user experience of keyboard users.
[0064] Based on the same inventive concept, the present disclosure also provides a keyboard control device in the following embodiments. Since the principle of solving the problem in the device embodiment is similar to that in the above method embodiment, the implementation of the device embodiment can refer to the implementation of the above method embodiment, and the repeated parts will not be repeated.
[0065] Figure 7 A schematic diagram of a keyboard control device in an embodiment of the present disclosure is shown. Figure 7 As shown, the device includes: a visual interface display module 701, a button configuration module 702, an instruction mapping module 703 and an instruction execution module 704.
[0066] Among them, the visual interface display module 701 is used to display the visual configuration interface of the keyboard to be controlled, wherein the visual configuration interface is used to configure the functions realized by one or more keys on the keyboard to be controlled in a visual manner; the key configuration module 702 is used to display at least one operation configuration item of the target key in response to the selection operation of the target key on the keyboard to be controlled, wherein the target key includes: one or more keys, and each operation configuration item of the target key corresponds to an operation instruction; the instruction mapping module 703 is used to map the target operation instruction of the target key to the target function control instruction in response to the selection instruction of the 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 the operation instruction corresponding to the target operation configuration item; the instruction execution module 704 is used to execute the target function control instruction corresponding to the target operation instruction in response to the target operation instruction executed on the target key on the keyboard to be controlled.
[0067] As can be seen from the above, the keyboard control device provided in the embodiment of the present disclosure configures the functions implemented by one or more keys on the keyboard to be controlled in a visual manner through the visual interface display module 701, and responds to the selection operation of one or more keys on the visual configuration interface through the key configuration module 702, and uses the selected one or more keys as the target keys for implementing a certain function control, and displays at least one operation configuration item of the target key. When the user selects a certain operation configuration item, the operation instruction of the target key is mapped to the control instruction of a certain function through the instruction mapping module 703, and finally, after the operation instruction of the selected key is detected, the control instruction of the corresponding function is executed by the instruction execution module 704 to implement the corresponding function control.
[0068] Through the keyboard control device provided in the embodiment of the present disclosure, the keys on the keyboard can be reused to realize the control of customized functions, and the personalized usage requirements of different users for the keyboard can be met without increasing the hardware cost of the keyboard, thereby greatly improving the user experience of keyboard users.
[0069] In some embodiments, the target function control instruction may include but is not limited to at least one of the following: a system function control instruction, an application function control instruction, and a device function control instruction.
[0070] In some embodiments, when the target function control instruction is an application control instruction, the above-mentioned instruction execution module 704 may specifically include: an application function control execution unit 7041, which is used to respond to the target operation instruction executed on the target key on the keyboard to be controlled, and detect whether the application to be controlled is started; if it is detected that the application to be controlled is started, the corresponding application function is directly executed; if it is not detected that the application to be controlled is not started, the application to be controlled is started and the corresponding function is executed.
[0071] In some embodiments, when the target function control instruction is a device function control instruction, the above-mentioned instruction execution module 704 may specifically include: a device function control execution unit 7042, which is used to detect whether the device to be controlled is started in response to the target operation instruction executed on the target key on the keyboard to be controlled; if it is detected that the device to be controlled is started, the target function control instruction is sent to the device to be controlled to control the device to be controlled to perform the corresponding function; if it is not detected that the device to be controlled is not started, the device to be controlled is started, and the target function control instruction is sent to the device to be controlled to control the device to be controlled to perform the corresponding function.
[0072] In some embodiments, the target key is a reusable key on the keyboard to be controlled, and the above-mentioned visual interface display module 701 is also used to: obtain keyboard information of the keyboard to be controlled; display the 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 mark and display one or more reusable keys on the virtual keyboard.
[0073] In some embodiments, the above-mentioned visual interface display module 701 is also used to: in response to a long press instruction of the space bar on the keyboard to be controlled, display a visual configuration interface of the keyboard to be controlled on a display screen connected to the keyboard to be controlled.
[0074] In some embodiments, the operation configuration items in the above device embodiments may include but are not limited to: key press duration and / or key press times.
[0075] It should be noted that the examples and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the contents disclosed in the above method embodiments. It should be noted that the above modules as part of the device can be executed in a computer system such as a set of computer executable instructions.
[0076] Based on the same inventive concept, the embodiment of the present disclosure also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, any of the above keyboard control methods is implemented. Since the principle of solving the problem in the embodiment of the computer-readable storage medium is similar to that in the above method embodiment, the implementation of the embodiment of the computer-readable storage medium can refer to the implementation of the above method embodiment, and the repeated parts will not be repeated.
[0077] More specific examples of computer-readable storage media in the present disclosure may include, but are not limited to, an electrical connection having one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0078] In the present disclosure, a computer readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, wherein a readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A readable signal medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0079] Alternatively, the program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
[0080] In a specific implementation, the program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type 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., using an Internet service provider to connect through the Internet).
[0081] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0082] The present disclosure is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present disclosure. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0083] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0084] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0085] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present disclosure. It should be understood that the above description is only a specific embodiment of the present disclosure and is not intended to limit the protection scope of the present disclosure. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present disclosure should be included in the protection scope of the present disclosure.
Claims
1. A keyboard control method, characterized in that: include: Displaying a visual configuration interface of the keyboard to be controlled, wherein the visual configuration interface is used to configure the functions realized by one or more keys on the keyboard to be controlled in a visual manner; In response to a selection operation on a target key on the keyboard to be controlled, at least one operation configuration item of the target key is displayed, wherein the target key includes: one or more keys, and each operation configuration item of the target key corresponds to an operation instruction; In response to a selection instruction for a target operation configuration item, mapping the target operation instruction of the target button to a target function control instruction, wherein the target operation configuration item is any operation configuration item of the target button, and the target operation instruction is an operation instruction corresponding to the target operation configuration item; In response to a target operation instruction executed on a target key on the keyboard to be controlled, executing a target function control instruction corresponding to the target operation instruction; Wherein, the operation configuration items include: key duration and / or key number; the target function control instruction includes at least one of the following: system function control instruction, application function control instruction and device function control instruction; Among them, the system function control instruction is a control instruction at the operating system level; the application function control instruction is a control instruction at the application level; the device function control instruction is a control instruction at the device level, and the device is a keyboard or a device connected to the keyboard; 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: obtaining 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; marking and displaying one or more reusable keys on the virtual keyboard; The method further includes: regularly collecting keyboard usage data of the user, and using a pre-trained keyboard reuse key prediction model to predict keys that are not frequently used by the user as reusable keys.
2. The keyboard control method according to claim 1, characterized in that: When the target function control instruction is an application function control instruction, in response to a target operation instruction to be executed on a target key on the keyboard to be controlled, executing the target function control instruction corresponding to the target operation instruction includes: In response to a target operation instruction executed on a target key on the keyboard to be controlled, detecting whether the application to be controlled is started; If it is detected that the application to be controlled has been started, the corresponding application function is directly executed; If it is detected that the application to be controlled is not started, the application to be controlled is started and a corresponding function is executed.
3. The keyboard control method according to claim 1, characterized in that: When the target function control instruction is a device function control instruction, in response to a target operation instruction to be executed on a target key on the keyboard to be controlled, executing the target function control instruction corresponding to the target operation instruction includes: In response to a target operation instruction executed on a target key on the keyboard to be controlled, detecting whether the device to be controlled is started; If it is detected that the device to be controlled has been started, the target function control instruction is sent to the device to be controlled to control the device to be controlled to perform a corresponding function; If it is detected that the device to be controlled is not started, the device to be controlled is started, and the target function control instruction is sent to the device to be controlled to control the device to be controlled to perform a corresponding function.
4. The keyboard control method according to claim 1, characterized in that: Displays the visual configuration interface of the keyboard to be controlled, including: In response to a long press instruction of the space bar on the keyboard to be controlled, a visual configuration interface of the keyboard to be controlled is displayed on a display screen connected to the keyboard to be controlled.
5. A keyboard control device, characterized in that: include: A visual interface display module, used to display a visual configuration interface of the keyboard to be controlled, wherein the visual configuration interface is used to configure the functions realized by one or more keys on the keyboard to be controlled in a visual manner; A key configuration module, for displaying at least one operation configuration item of a target key on the keyboard to be controlled in response to a selection operation of the target key, wherein the target key includes: one or more keys, and each operation configuration item of the target key corresponds to an operation instruction; An instruction mapping module, configured to map a target operation instruction of the target key to a target function control instruction in response to a selection 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; An instruction execution module, configured to execute a target function control instruction corresponding to the target operation instruction in response to a target operation instruction to be executed on a target key on the control keyboard; Wherein, the operation configuration items include: key duration and / or key number; the target function control instruction includes at least one of the following: system function control instruction, application function control instruction and device function control instruction; Among them, the system function control instruction is a control instruction at the operating system level; the application function control instruction is a control instruction at the application level; the device function control instruction is a control instruction at the device level, and the device is a keyboard or a device connected to the keyboard; The target key is a reusable key on the keyboard to be controlled, and the visual interface display module is further used to: obtain keyboard information of the keyboard to be controlled; display 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 mark and display one or more reusable keys on the virtual keyboard; The visualization interface display module is also used to: regularly collect keyboard usage data of the user, and use a pre-trained keyboard reuse key prediction model to predict keys that are not frequently used by the user as reusable keys.
6. A keyboard control system, characterized in that: include: A display screen, used to display a visual configuration interface of the keyboard to be controlled, and in response to a selection operation of a target key on the keyboard to be controlled, display at least one operation configuration item of the target key, wherein the visual configuration interface is used to configure the functions realized by one or more keys on the keyboard to be controlled in a visual manner, wherein the target key includes: one or more keys, and each operation configuration item of the target key corresponds to an operation instruction; a processor, configured to map the target operation instruction of the target key to a target function control instruction in response to a selection instruction of the 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; A keyboard, for receiving a target operation instruction to be performed on a target key; Wherein, the processor is further used to respond to the target operation instruction executed on the target key on the controlled keyboard, and execute the target function control instruction corresponding to the target operation instruction; Wherein, the operation configuration items include: key duration and / or key number; the target function control instruction includes at least one of the following: system function control instruction, application function control instruction and device function control instruction; Among them, the system function control instruction is a control instruction at the operating system level; the application function control instruction is a control instruction at the application level; the device function control instruction is a control instruction at the device level; The target key is a reusable key on the keyboard to be controlled, and the display screen is further used to: obtain keyboard information of the keyboard to be controlled; display 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 mark and display one or more reusable keys on the virtual keyboard; The processor is further used to: regularly collect keyboard usage data of the user, and use a pre-trained keyboard reuse key prediction model to predict keys that are not frequently used by the user as reusable keys.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the keyboard control method according to any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Control function configuration method, device, console and system
CN117631936A