Method for calling AI assistant through keyboard, keyboard, storage medium and program product

By setting the AI ​​assistant call key position and key combination information matching on the keyboard, the inconvenience of calling AI assistant in the existing technology is solved, and users can flexibly call AI assistants through the keyboard, improving user experience and efficiency.

CN119024974APending Publication Date: 2024-11-26珠海确励电子有限公司
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411167526.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-23
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

In the prior art, calling large language models or customizing AI Agents is not convenient enough, especially for models and agents not provided by Microsoft, users need to open corresponding software to operate, resulting in inconvenience in use.

Method used

By setting the AI ​​assistant call keys on the keyboard and using the key combination information to match the calling command library, adjusting the pointing and display color of the AI ​​assistant call keys, users can flexibly call different AI assistants through the keyboard and process them through terminal devices. Voice input information.

Benefits of technology

It improves the convenience and user experience of users calling AI assistants, allows users to set up and call AI assistants separately through the keyboard, and enhances the efficiency of AI assistants.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119024974A_ABST
    Figure CN119024974A_ABST
Patent Text Reader

Abstract

The invention provides a method for calling an AI assistant through a keyboard, the keyboard, a storage medium and a program product, and the method comprises the following steps: obtaining currently input combination key information; determining a target AI assistant calling command and target color information corresponding to the currently input combination key information in a calling command library; the calling command library comprises at least two AI assistant calling commands, at least two pieces of combination key information and at least two pieces of color information, and the AI assistant calling commands, the combination key information and the color information are in one-to-one correspondence; according to the target color information, controlling a display color of a light-emitting unit at an AI assistant calling key position on the keyboard to be converted into a target color; after the key position coding information of the AI assistant calling key position is obtained, a target AI assistant calling command is sent to external terminal equipment, and the terminal equipment calls the target AI assistant according to the target AI assistant calling command. Different AI assistants are called through the keyboard, and the calling mode is flexible.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of keyboard technology, and in particular to a method for calling an AI assistant through a keyboard. Background Art

[0002] Large Language Model (LLM) refers to a deep learning model trained using large amounts of text data.

[0003] There are a large number of large language models on the market, based on which personal AI Agents (Artificial Intelligence Agents) can be customized. AI Agents are customized AI assistants for different groups of people in different work scenarios. Some are based on local large language models, and some are based on cloud-based large language models, and their calling modes are different.

[0004] When a large language model or a customized AI Agent is needed, it is often necessary to open the corresponding large language model software or the corresponding AI Agent software, which brings inconvenience to users. In response to this, Microsoft has set a Copy key on the keyboard to call the large language model it provides, making it easier for users to use the large language model. However, for the use of other large language models or other AI Agents, the calling method is still not convenient enough and needs further improvement. Summary of the invention

[0005] The first object of the present invention is to provide a method for calling an AI assistant via a keyboard which is convenient to call.

[0006] A second object of the present invention is to provide a keyboard that implements the above-mentioned method of calling an AI assistant through a keyboard.

[0007] A third object of the present invention is to provide a computer-readable storage medium for implementing the above-mentioned method of calling an AI assistant through a keyboard.

[0008] A fourth object of the present invention is to provide a computer program product for implementing the above-mentioned method of calling an AI assistant through a keyboard.

[0009] In order to achieve the above-mentioned first purpose, the present invention provides a method for calling an AI assistant through a keyboard, which is applied to a keyboard, and includes the following steps: obtaining the currently input key combination information; determining the target AI assistant calling command and target color information corresponding to the currently input key combination information in the calling command library; the calling command library includes at least two AI assistant calling commands, at least two key combination information and at least two color information, and there is a one-to-one correspondence between the AI ​​assistant calling command, the key combination information and the color information; controlling the display color of the light-emitting unit at the AI ​​assistant calling key position on the keyboard to change to the target color according to the target color information; after obtaining the key position code information of the AI ​​assistant calling key position, sending the target AI assistant calling command to an external terminal device, and the terminal device calls the target AI assistant according to the target AI assistant calling command.

[0010] It can be seen from the above scheme that the present invention adjusts the AI ​​assistant pointed to by the AI ​​assistant calling key position and the display light color by matching the currently input key combination information with the calling command library, and can flexibly determine the selected AI assistant to be called according to the key combination pressed by the user. In addition, a separate AI assistant calling key position is set to call the AI ​​assistant. By changing the light color, the user can clearly know the AI ​​assistant that will be called after pressing the AI ​​assistant calling key position, which is convenient for users to call different AI assistants through the keyboard, thereby improving the user experience.

[0011] A further solution is to obtain voice input information after sending a target AI assistant call command to an external terminal device, send the voice input information to the terminal device, and the target AI assistant processes the voice input information.

[0012] It can be seen that after calling the target AI assistant, the voice input information entered by the user can be further obtained to improve the efficiency of using the AI ​​assistant.

[0013] A further solution is that the method of calling the AI ​​assistant through the keyboard also includes obtaining call update information; and updating the call command library according to the call update information.

[0014] A further solution is that before obtaining the currently input key combination information, the following steps are also included: obtaining call setting information; and setting a call command library according to the call setting information.

[0015] A further solution is to obtain the call setting information from the terminal device.

[0016] It can be seen from this that the calling command library can be set by acquiring the calling setting information from the terminal device, and the calling command library can be updated by acquiring the calling update information from the terminal device.

[0017] In order to achieve the above-mentioned first purpose, the present invention provides a method for calling an AI assistant through a keyboard, which is applied to a terminal device, wherein: calling setting information is sent to the keyboard; the calling setting information includes multiple calling combinations, and the calling combination includes a combination key information, an AI assistant calling instruction, and a color information; a target AI assistant calling command is obtained from the keyboard; and the corresponding target AI assistant is called according to the target AI assistant calling command.

[0018] It can be seen from the above scheme that the present invention can associate different target AI assistant call commands with the AI ​​assistant call key positions of the keyboard according to the user's settings, so that after the AI ​​assistant call key position is pressed, the corresponding target AI assistant call command is processed to call the corresponding target AI assistant.

[0019] In order to achieve the above-mentioned second purpose, the present invention provides a keyboard, including a processor and a memory, wherein: a computer program is stored in the memory, and when the computer program is executed by the processor, the above-mentioned method of calling an AI assistant through the keyboard is implemented.

[0020] In order to achieve the third purpose mentioned above, the present invention provides a computer-readable storage medium, on which a computer program is stored, wherein: when the computer program is executed by a processor, the method of calling an AI assistant through the keyboard is implemented.

[0021] In order to achieve the fourth purpose mentioned above, the present invention provides a computer program product, including computer instructions, wherein: when the computer instructions are executed by the processor, the method of calling the AI ​​assistant through the keyboard is implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 It is a system block diagram of an AI calling system in a keyboard embodiment of a method for calling an AI assistant via a keyboard of the present invention.

[0023] Figure 2 It is a flowchart executed by the keyboard in the keyboard embodiment of the method of calling the AI ​​assistant through the keyboard of the present invention.

[0024] The present invention is further described below in conjunction with the accompanying drawings and embodiments. DETAILED DESCRIPTION

[0025] The method for calling an AI assistant through a keyboard of the present invention determines the corresponding target AI assistant calling instruction according to the combination key information entered by the user, and after the user presses the AI ​​assistant calling key, sends the target AI assistant calling instruction to the external terminal device to call the target AI assistant. The present invention also provides a keyboard, a computer-readable storage medium, and a computer program product for implementing the above method for calling an AI assistant through a keyboard.

[0026] A keyboard implementation of the method of calling the AI ​​assistant through the keyboard:

[0027] See also Figure 1 , the AI ​​assistant calling system implementing this embodiment includes a keyboard 1 and a terminal device 2, and the keyboard 1 is connected to the terminal device 2.

[0028] The keyboard 1 can be connected to the terminal device 2 through an existing connection method to realize data transmission. The specific connection method can be a wireless connection method such as Bluetooth connection, 2.4GHz connection, or a wired connection method such as USB. Optionally, the terminal device 2 can be a personal computer, a smart phone, or a tablet computer.

[0029] The keyboard 1 is provided with an AI assistant calling key, and a light-emitting unit is provided at the AI ​​assistant calling key. The keyboard 1 switches the target AI assistant pointed to by the AI ​​assistant calling key according to the key combination information currently input by the user, and controls the light-emitting unit to display the corresponding color. When the AI ​​assistant calling key is pressed, the target AI assistant is called on the terminal device 2.

[0030] The keyboard 1 stores a call command library, which includes multiple call combinations. The call combination represents the call control information of the AI ​​assistant. The keyboard 1 implements the call of different AI assistants based on the call combination, and different call combinations correspond to different AI assistants. Each call combination includes an AI assistant call command, a combination key information, and a color information. The AI ​​assistant call command represents the command for calling the AI ​​assistant. The combination key information represents the key combination information on the keyboard 1. For example, the combination key information can be FN+A. The color information represents the color that the light-emitting unit set at the AI ​​assistant call key position should display.

[0031] Optionally, the AI ​​assistant calling command is a macro operation command in the Windows environment, and the AI ​​assistant is called through the macro operation command based on an API interface provided by the AI ​​assistant.

[0032] Optionally, the AI ​​assistant is a large language model or an AI Agent.

[0033] Optionally, the light-emitting unit is an LED lamp bead.

[0034] Terminal device 2 is used to implement writing and updating of the call command library of keyboard 1, and to call the target AI assistant according to the target AI call command sent by keyboard 1.

[0035] See also Figure 2 This embodiment is implemented based on a computer program executed by a keyboard, and specifically includes the following steps:

[0036] S1: Get call setting information.

[0037] The calling setting information is obtained from the terminal device, and the calling setting information includes a plurality of calling combinations. The calling combinations are set by the user on the terminal device.

[0038] S2: Set the call command library according to the call setting information.

[0039] Among them, multiple call combinations in the call setting information are stored to form a call command library.

[0040] For the update of the call command library, the keyboard can be updated by obtaining the call update information, which can be generated by the user's settings on the terminal device. For example, the user modifies the color information of a certain call combination on the terminal device, generates corresponding call update information and sends it to the keyboard, which then updates the call combination in the call command library.

[0041] S3: Get the key combination information currently input.

[0042] When the user uses the keyboard, by pressing a specific key combination on the keyboard, for example, the key combination is a combination of key positions "FN" and "A", the keyboard can obtain the currently input key combination information, for example, the currently input key combination information is "FN+A".

[0043] S4: Determine the target AI assistant calling command and target color information corresponding to the currently input key combination information in the calling command library.

[0044] Among them, the currently input key combination information is matched with the key combination information in the call command library. If the match is consistent, the call combination where the key combination information is located is determined to be the target combination, the AI ​​assistant call command in the call combination is the target AI assistant call command, and the color information in the call combination is the target color information.

[0045] S5: Control the display color of the light-emitting unit at the key position where the AI ​​assistant is called on the keyboard to change to the target color according to the target color information.

[0046] Among them, the color displayed by the LED lamp bead under the key cap of the AI ​​assistant calling key, which can be specifically set at the AI ​​assistant calling key, is changed to the target color, thereby prompting the user of the AI ​​assistant called by the current AI assistant calling key.

[0047] Thereafter, the display color of the light-emitting unit at the AI ​​assistant calling key position remains as the target color, and the AI ​​assistant indicated by the AI ​​assistant calling key position remains as the target AI assistant until new combination key information is obtained, and the target color and target AI assistant are re-determined based on the matching results of the new combination key information and the calling command library.

[0048] S6: After obtaining the key code information of the AI ​​assistant calling key, send the target AI assistant calling command to the external terminal device.

[0049] Among them, after the user presses the AI ​​assistant calling key on the keyboard, the keyboard can obtain the key code information of the AI ​​assistant calling key to confirm that the AI ​​assistant calling key is pressed, thereby sending the target AI assistant calling command to the connected external terminal device, and the terminal device calls the target AI assistant according to the target AI assistant calling command.

[0050] After the terminal device calls the target AI assistant according to the target AI assistant call command, the voice input function of the target AI assistant is activated. In this embodiment, the voice input information obtained based on the user's voice processing can also be obtained through the keyboard, so that the voice input information input by the user is sent to the target AI assistant for processing.

[0051] In summary, the present invention determines the target AI assistant calling command and target color information according to the currently input key combination information, thereby adjusting the AI ​​assistant pointed to by the AI ​​assistant calling key position and the display light color, so that users can call different AI assistants through the keyboard in a flexible calling method.

[0052] Keyboard Example:

[0053] The keyboard of this embodiment includes a processor and a memory. The memory stores a computer program. When the processor executes the computer program, the above-mentioned method embodiment of calling the AI ​​assistant through the keyboard is implemented.

[0054] The keyboard may include but is not limited to a processor and a memory. Those skilled in the art will appreciate that the keyboard may include more or fewer components, or a combination of certain components, or different components, for example, the keyboard may also include a housing, key caps, shafts, and the like.

[0055] For example, the processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microcontroller or any conventional processor, etc. The processor is the control center of the keyboard, and various interfaces and lines are used to connect the various parts of the entire keyboard.

[0056] The memory can be used to store computer programs and / or modules, and the controller realizes various functions of the keyboard by running or executing the computer programs and / or modules stored in the memory, and calling the data stored in the memory. For example, the memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function, etc.; the data storage area can store data created according to use, etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Medi a Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (FlashCard), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0057] Computer readable storage medium embodiment:

[0058] If the keyboard-integrated module of the above embodiment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the process of the method embodiment of calling an AI assistant through a keyboard can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the controller, the steps of the method embodiment of calling an AI assistant through a keyboard can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The storage medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electric carrier signals and telecommunication signals.

[0059] Computer program product embodiment:

[0060] The computer program product of this embodiment includes computer instructions, which are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the various steps of the above-mentioned method embodiment of calling an AI assistant through a keyboard.

[0061] Finally, it should be emphasized that the above is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various changes and modifications. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for calling an AI assistant via a keyboard, applied to a keyboard, characterized in that: The following steps are involved: Get the key combination information currently entered; Determine a target AI assistant calling command and target color information corresponding to the currently input key combination information in a calling command library; the calling command library includes at least two AI assistant calling commands, at least two key combination information and at least two color information, and the AI ​​assistant calling command, the key combination information and the color information correspond one to one; According to the target color information, the display color of the light-emitting unit at the key position where the AI ​​assistant is called on the keyboard is changed to the target color; After acquiring the key position code information of the AI ​​assistant calling key position, the target AI assistant calling command is sent to an external terminal device, and the terminal device calls the target AI assistant according to the target AI assistant calling command.

2. A method for calling an AI assistant through a keyboard as claimed in claim 1, characterized in that: After sending the target AI assistant call command to the external terminal device, voice input information is obtained, the voice input information is sent to the terminal device, and the target AI assistant processes the voice input information.

3. A method for calling an AI assistant through a keyboard as claimed in claim 2, characterized in that: Also includes: Get call update information; The calling command library is updated according to the calling update information.

4. A method for calling an AI assistant through a keyboard as claimed in claim 2, characterized in that: Before obtaining the currently input key combination information, the following steps are also included: Get call setting information; The calling command library is set according to the calling setting information.

5. A method for calling an AI assistant through a keyboard as claimed in claim 4, characterized in that: The call setting information is obtained from the terminal device.

6. A method for calling an AI assistant via a keyboard, applied to a terminal device, characterized in that: The following steps are involved: Sending call setting information to the keyboard; the call setting information includes multiple call combinations, and the call combination includes a combination key information, an AI assistant call instruction, and a color information; Obtain a target AI assistant calling command from the keyboard; The corresponding target AI assistant is called according to the target AI assistant calling command.

7. A keyboard, comprising a processor and a memory, characterized in that: The memory stores a computer program, and when the computer program is executed by the processor, the method for calling an AI assistant through a keyboard as described in any one of claims 1 to 6 above is implemented.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for calling an AI assistant through a keyboard as described in any one of claims 1 to 6 above is implemented.

9. A computer program product comprising computer instructions, characterized in that: When the computer instructions are executed by the processor, the method for calling an AI assistant through the keyboard as described in any one of claims 1 to 6 is implemented.

Citation Information

Cited By

  • Electronic device and method for operating artificial intelligence assistant by same

    WO2026142114A1