Electronic device and method for triggering key macro using external input signal

The electronic device determines the user's input signal and generates virtual key signals to automatically execute specific key operations in the game, solving the problems of difficult manual operations and incorrect operations in emergencies in the game, and improving the game experience and operating efficiency.

CN113117320BActive Publication Date: 2024-09-10GIGA BYTE TECH CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202010566041.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-12-31
Filing Date
2020-06-19
Publication Date
2024-09-10
Estimated Expiration
2040-06-19

AI Technical Summary

Technical Problem

It is difficult for gamers to manually press hot keys to replenish blood or perform skills in an emergency, and it is easy to make mistakes due to manual operation errors.

Method used

The electronic device determines whether the user's external input signal meets predetermined conditions, generates a virtual input signal and transmits it to the host, and automatically executes the key sequence of a specific key macro, including gesture recognition and voice recognition functions.

Benefits of technology

Automatically trigger specific key macros in the game to avoid errors caused by manual operation errors and improve the game experience and operation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113117320B_ABST
    Figure CN113117320B_ABST
Patent Text Reader

Abstract

The present invention provides an electronic device, comprising: a display device, including a display controller and a display panel; and a host, electrically connected to the display device. The host executes an application to draw a display screen, and transmits the display screen to the display controller through an image transmission channel between the host and the display device, and the display controller plays the display screen on the display panel. The display device determines whether an external input signal from a user meets a predetermined condition. In response to the external input signal meeting the predetermined condition, the display device generates a virtual input signal corresponding to a specific key macro, and transmits the virtual input signal to the host through a data transmission channel between the host and the display controller, so that the host executes a key sequence corresponding to the specific key macro in the application.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to an electronic device, and in particular to an electronic device and a triggering method of a key macro using an external input signal. Background Art

[0002] Currently, the functions of display devices (such as televisions or computer screens) on the market are increasing, and many of them are designed for gamers, such as high frame rate, low response time, etc. However, when gamers are playing games, the game characters often need to manually press the hotkey corresponding to the blood replenishment function by the user to replenish blood, or manually press the key or instruction set corresponding to the skill to perform the skill. However, when the game situation is urgent, the user is often unable to manually press the corresponding hotkey to manually replenish blood or perform skills, or it is easy to press the wrong hotkey and cause mistakes. Summary of the invention

[0003] In view of this, the present invention provides an electronic device and a method for triggering a key macro using an external input signal to solve the above problems.

[0004] The present invention provides an electronic device, comprising: a display device, including a display controller and a display panel; and a host, electrically connected to the display device. The host executes an application to draw a display screen, and transmits the display screen to the display controller through an image transmission channel between the host and the display device, and the display controller plays the display screen on the display panel. The display device determines whether an external input signal from a user meets a predetermined condition. In response to the external input signal meeting the predetermined condition, the display device generates a virtual input signal corresponding to a specific key macro, and transmits the virtual input signal to the host through a data transmission channel between the host and the display controller, so that the host executes a key sequence corresponding to the specific key macro in the application.

[0005] In some embodiments, the display device includes an image capture unit, and the external input signal from the user is a plurality of user images captured by the image capture unit, wherein the predetermined condition is that the user images include a specific gesture action. In addition, the display device further includes a video processing circuit for determining whether the user images captured by the image capture unit include the specific gesture action, wherein in response to determining that the user images captured by the image capture unit include the specific gesture action, the video processing circuit sends a notification signal to the display controller, wherein the display controller generates the virtual input signal of the specific key macro corresponding to the specific gesture action according to the notification signal.

[0006] In some embodiments, the display device further includes a microphone, and the external input signal from the user is a sound signal captured by the microphone, wherein the predetermined condition is that the sound signal includes a specific name corresponding to the specific key macro. In addition, the display device further includes an audio processing circuit for identifying whether the sound signal captured by the microphone includes the specific name, wherein in response to identifying that the sound signal captured by the microphone includes the specific name, the audio processing circuit sends a notification signal to the display controller, and the display controller generates the virtual input signal of the specific key macro corresponding to the specific name according to the notification signal.

[0007] In some embodiments, the display controller generates the virtual input signal corresponding to the specific key macro of the specific name according to the notification signal. In other embodiments, the display controller generates a control signal corresponding to the specific name according to the notification signal, and transmits the control signal to the keyboard controller, wherein the keyboard controller generates the virtual input signal corresponding to the specific key macro of the specific name according to the control signal, and the virtual input signal is a keyboard scan code sequence supporting a universal serial bus (USB) protocol.

[0008] In some embodiments, the display device further includes a keyboard controller and a hub, and the keyboard controller is disposed outside the hub, and the keyboard controller provides a manufacturer identifier and a product identifier for the host to identify. The display controller generates a control signal corresponding to the specific name according to the notification signal, and transmits the control signal to the keyboard controller, wherein the keyboard controller generates the virtual input signal corresponding to the specific key macro of the specific name according to the control signal, and the virtual input signal is a keyboard scan code sequence supporting a universal serial bus (USB) protocol.

[0009] In some other embodiments, the display device further includes a hub, and the hub includes a microcontroller and a keyboard controller, wherein the keyboard controller provides a manufacturer identifier and a product identifier for the host to identify. The display controller generates a control signal corresponding to the specific name according to the notification signal, and transmits the control signal to the microcontroller, wherein the microcontroller notifies the keyboard controller to generate the virtual input signal corresponding to the specific key macro of the specific name according to the control signal, and the virtual input signal is a keyboard scan code sequence supporting a universal serial bus (USB) protocol.

[0010] In some embodiments, the virtual input signal is a keyboard scan code sequence supporting a universal serial bus (USB) protocol or a description element sequence composed of a plurality of description elements. When the virtual input signal is the description element sequence composed of the description elements, a driver corresponding to the data transmission channel executed by the host parses the description element sequence to obtain the key sequence of the specific key macro.

[0011] The present invention further provides a method for triggering a key macro using an external input signal, which is used in an electronic device, wherein the electronic device includes a display device and a host, and the display device includes a display panel and a display controller. The method includes: using the host to execute an application to draw a display screen, and transmitting the display screen to the display controller through an image transmission channel between the host and the display controller, and using the display controller to play the display screen on the display panel; using the display device to determine whether an external input signal from a user meets a predetermined condition; and in response to the external input signal meeting the predetermined condition, using the display device to generate a virtual input signal corresponding to a specific key macro, and transmitting the virtual input signal to the host through a data transmission channel between the host and the display controller, so that the host executes a key sequence corresponding to the specific key macro in the application.

[0012] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments, but is not intended to limit the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1A is a block diagram of an electronic device according to an embodiment of the present invention.

[0014] Figure 1B FIG. 4 is a block diagram of an electronic device according to another embodiment of the present invention.

[0015] Figure 1C FIG. 4 is a block diagram of an electronic device according to another embodiment of the present invention.

[0016] Figure 2A and Figure 2B FIG. 4 is a schematic diagram of a connection method between a host of an electronic device and a display device according to an embodiment of the present invention.

[0017] Figure 3 FIG. 4 is a schematic diagram of a computer game according to an embodiment of the present invention.

[0018] Figure 4 FIG. 4 is a flow chart of a method for triggering a key macro using an external input signal according to an embodiment of the present invention.

[0019] Wherein, the reference numerals are:

[0020] 10~Electronic devices;

[0021] 100~Host;

[0022] 200~display device;

[0023] 110~Processing unit

[0024] 111~system bus;

[0025] 120~Graphics processing unit;

[0026] 130~Memory unit;

[0027] 140~Storage device;

[0028] 141~Application;

[0029] 142~Operation system;

[0030] 143~USB driver;

[0031] 150, 150A-150C~Transmission interface

[0032] 160~Peripheral devices;

[0033] 210~display controller;

[0034] 211~Image scaler;

[0035] 212~timing controller;

[0036] 220~display module;

[0037] 230~Storage unit;

[0038] 231, 232~Firmware;

[0039] 233~The interface is displayed on the screen;

[0040] 240~Image buffer;

[0041] 250, 250A-250C~ transmission interface;

[0042] 260~input interface;

[0043] 261~Physical button;

[0044] 262~Five-way control lever;

[0045] 270~hub;

[0046] 271~Keyboard controller;

[0047] 272~Image capture unit;

[0048] 273~Video processing circuit;

[0049] 274~Microphone;

[0050] 275~Audio processing circuit;

[0051] 276~Microcontroller;

[0052] 300~Game interface;

[0053] 310~Game Characters;

[0054] 320 ~ moves;

[0055] S410-S430~steps. DETAILED DESCRIPTION

[0056] The structural principle and working principle of the present invention are described in detail below in conjunction with the accompanying drawings:

[0057] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, a preferred embodiment is given below and described in detail with reference to the accompanying drawings.

[0058] Figure 1A 1 is a block diagram of an electronic device according to an embodiment of the present invention. The electronic device 10 may be, for example, a personal computer, a notebook computer or a server equipped with a display device. Figure 1A As shown, the electronic device 10 includes a host 100 and a display device 200, wherein the host 100 is signal-connected to the display device 200. The host 100 includes, for example, a processing unit 110, a graphics processing unit 120, a memory unit 130, a storage device 140, one or more transmission interfaces 150, and one or more peripheral devices 160. The processing unit 110, the graphics processing unit 120, the memory unit 130, the storage device 140, the transmission interface 150, and the peripheral devices 160 are coupled to each other via a system bus 111. The processing unit 110 may be, for example, a central processing unit (CPU), a general-purpose processor, etc., but the present invention is not limited thereto. The graphics processing unit 120 may be, for example, a graphics processing unit on a display card or a graphics processing unit integrated into the processor 110.

[0059] The memory unit 130 is a random access memory, such as a dynamic random access memory (DRAM) or a static random access memory (SRAM), but the present invention is not limited thereto. The storage device 140 is a non-volatile memory, such as a hard disk drive, a solid-state disk, a flash memory, or a read-only memory, but the present invention is not limited thereto.

[0060] The transmission interface 150 may include a wired transmission interface and / or a wireless transmission interface, wherein the wired transmission interface may include: High Definition Multimedia Interface (HDMI), DisplayPort (DP) interface, embedded DisplayPort (eDP), Universal Serial Bus (USB) interface, USB Type-C interface, Thunderbolt interface, Digital Video Interface (DVI), Video Graphics Array (VGA) interface, General Purpose Input Output (GPIO) interface, Universal Asynchronous Receiver / Transmitter (UART) interface, Serial Peripheral Interface (SPI), Integrated Circuit Bus (I2C) interface, or a combination thereof, and the wireless transmission interface may include: Bluetooth, WiFi, Near Field Communication (NFC) interface, etc., but the present invention is not limited thereto. The peripheral device 160 may include, for example, input devices such as a keyboard, a mouse, and a touchpad, but the present invention is not limited thereto.

[0061] For example, the storage device 140 may store one or more application programs 141, an operating system 142 (e.g., Windows, Linux, MacOS, etc.), and a universal serial bus (USB) driver 143, and the processing unit 110 reads and executes the one or more application programs 141, the operating system 142, and the USB driver 143 to the memory unit 130. The USB driver 143 is used to allow the host 100 to control different USB devices connected to the host 100, and can parse the description element sequence from the display device 200, and its details will be described in detail later.

[0062] The graphics processing unit 120 can, for example, perform drawing processing of the application executed by the processing unit 110 to generate an image signal including one or more images, and transmit the image signal to the display device 200 via one of the transmission interfaces 150 (eg, an HDMI interface or a DisplayPort interface).

[0063] The display device 200 may be, for example, a flat panel display, a television, a projector, a computer screen, etc., but the present invention is not limited thereto. The display device 200 includes a display controller 210, a display module 220, a storage unit 230, an image buffer 240, one or more transmission interfaces 250, an input interface 260, and a hub 270. The transmission interface 250 may include a wired transmission interface and / or a wireless transmission interface, wherein the wired transmission interface may include: a high definition multimedia interface (HDMI), a display port (DP) interface, an embedded display port (eDP), a low voltage differential signaling (LVDS) interface, a universal serial bus (USB) interface, a USB Type-C interface, a Thunderbolt interface, a digital video interface (DVI), a video graphics array (VGA) interface, a general purpose input and output (GPIO) interface, a universal asynchronous receiver and transmitter (UART) interface, a serial peripheral interface (SPI), an integrated circuit bus (I2C) interface, or a combination thereof, and the wireless transmission interface may include: Bluetooth, Wi-Fi, a near field communication (NFC) interface, etc., but the present invention is not limited thereto.

[0064] The display controller 210 may be, for example, an application-specific integrated circuit, a system-on-chip, a processor, or a microcontroller, but the invention is not limited thereto.

[0065] The display module 220 may be, for example, a liquid crystal panel, a light-emitting diode panel, an organic light-emitting diode panel, a cathode ray tube, an electronic ink (E-Ink) display module, an electroluminescent display module, a plasma display module, a projection display module, or a quantum dot (QuantumDot) display module, but the present invention is not limited thereto.

[0066] The storage unit 230 may be, for example, a non-volatile memory, such as a read-only memory (ROM), an erasable programmable read-only memory (EPROM), or an electronically erasable programmable read-only memory (EEPROM). The storage unit 230 is used to store firmware 231 related to the display device 200. The storage unit 230 may be, for example, external to the display controller 210 or may be integrated into the display controller 210.

[0067] The firmware 231 includes, for example, display settings of the on-screen display interface of the display device 200 and extended display capability identification data (EDID), display settings, and one or more on-screen display interfaces (OSD) 233. The extended display capability identification data includes, for example, the manufacturer, product name, resolution, and display frames per second of the display device 200. The display settings include, for example, the brightness, contrast, sharpness, and color temperature of the display device 200. The firmware 232 is used to control the on-screen display interface 233 of the display device 200.

[0068] In one embodiment, the display controller 210 can read the firmware 231-232 and the OSD interface 233 stored in the storage unit 230 through a bus (e.g., an I2C bus) and set the relevant display parameters accordingly. In addition, the display controller 210 can also transmit the extended display capability identification data of the display device 200 to the host 100 through one of the transmission interfaces 250 (e.g., an image transmission channel or a data transmission channel) so that the processing unit 110 and the graphics processing unit 120 in the host 100 can set the resolution of the image signal to be output and the relevant synchronization signal. The on-screen display interface 233 includes, for example, an on-screen display menu (OSD Menu) and options, an information display interface (information dashboard), a timer, a counter, a crosshair, a specific symbol, a specific color, a specific text, or a combination thereof, but the present invention is not limited thereto.

[0069] The image buffer 240 may be, for example, a volatile memory (e.g., a dynamic random access memory) or a non-volatile memory (e.g., a flash memory), which is used to store an output image to be played on the display module 220, wherein the host 100 or the display controller 210 may generate an output image by causing one or more on-screen display interfaces 233 to cover a specific area of ​​the image signal stored in the image buffer 240 based on an on-screen display enable signal generated by the host 100.

[0070] The input interface 260 is used to control the menu displayed on the screen of the display device 200. The input interface 260 can be implemented by, for example, a five-way joystick 262 or five physical buttons 261 to implement commands such as up, down, left, right, and confirm. The hub 270 can be, for example, a USB hub, and one of the transmission interfaces 250 can be, for example, a USB interface, and the host 100 can transmit data to the display controller 210 through the USB interface of the transmission interfaces 150 and 250 through the hub 270, and the display controller 210 can also transmit data to the host 100 through the USB interface of the transmission interfaces 150 and 250 through the hub 270.

[0071] In one embodiment, when the user operates one direction of the five-way joystick 262 (or presses one of the physical buttons 261), the display controller 210 can read the firmware 232 and the program code of the on-screen display menu and related options in the on-screen display interface 233 from the storage unit 230, and display the on-screen display menu and related options on the display module 220. In one embodiment, the user can operate on the input interface 260 to control the on-screen display menu of the display device 200, thereby adjusting the brightness, contrast, sharpness, color temperature of the display module 220, or opening or closing other interfaces in the on-screen display interface 233. For example, the firmware 231 can be regarded as the default firmware of the display device 200, and the user can control the option settings of the on-screen display interface 233 displayed by the display device 200 via the five-way joystick 262 (or the physical buttons 261).

[0072] In one embodiment, the display controller 210 includes an image scaler 211 and a timing controller 212. The display controller 210 receives an image signal from the host 100 and / or an image signal from other hosts through one of the transmission interfaces 250, and the image scaler 211 can perform image scaling and / or image superposition processing on the image in the received image signal to meet the resolution of the display module 220, and store the image after image scaling (e.g., output image) in the image buffer 240. The timing controller 212 controls the display module 220 to read the output image from the image buffer 240 and play it.

[0073] In another embodiment, the display controller 210 may include a timing controller 212, and the resolution of the image signal from the host 100 matches the resolution of the display module 220, so the display controller 210 can store the image signal in the image buffer 240 without image scaling after receiving the image signal from the host 100. The timing controller 210 can read the output image from the image buffer 240 and control the display module 220 to play the output image.

[0074] In some embodiments, the display device 200 may include, for example, gesture recognition and / or voice recognition functions to enable the display controller 210 to trigger a hotkey control signal, and the display devices 200 with different configurations may generate a keystroke sequence of a corresponding key macro in different ways according to the hotkey control signal, and transmit the keystroke sequence to the host 100 through a data transmission channel, so that the host 100 can execute the input operation of the key macro. The keystroke sequence may be, for example, a keyboard scan code sequence composed of multiple keyboard scan codes, or a description element sequence composed of multiple description elements.

[0075] For example, the display device 200 may include: an image capture unit 272 and a video processing circuit 273, and / or a microphone 274 and an audio processing circuit 275, wherein the gesture recognition function, for example, requires the image capture unit 272 and the video processing circuit 273, and the voice recognition function, for example, requires the microphone 274 and the audio processing circuit 275.

[0076] The image capture unit 272 may be implemented, for example, by a charge-coupled device (CCD) sensor or a complementary metal-oxide semiconductor (CMOS) sensor, but the present invention is not limited thereto. The image capture unit 272 may be disposed, for example, at a specific position on the housing of the display device 200 (e.g., the middle position of the upper edge or the lower edge), and its shooting range is aimed at the user, and the user image including the user's gestures may be captured. The video processing circuit 273 may be implemented, for example, by an application-oriented integrated circuit, a digital signal processor, or a field programmable logic gate array, but the present invention is not limited thereto.

[0077] The video processing circuit 273 is used to identify any specific gesture performed by the user from the user image, wherein the display device 200 may include a gesture database ( Figure 1AThe video processing circuit 273 stores one or more images of the above-mentioned specific gesture actions. When the video processing circuit 273 determines that one of the specific gesture actions in the gesture database appears in the user image, the video processing circuit 273 sends a notification signal to the display controller 210 to notify the display controller 210 that the user has performed the specific gesture action. When the display controller 210 receives the notification signal, the display controller 210 generates a keyboard scan code sequence corresponding to a key macro corresponding to the specific gesture action, and transmits the above-mentioned keyboard scan code sequence to the host 100 via the hub 270 and the transmission interfaces 250 and 150, so that the processing unit 110 executes the above-mentioned keyboard scan code sequence to perform a specific operation. In addition, the above-mentioned keyboard scan code sequence is, for example, one or more keyboard scan codes that support the USB protocol. When the host 100 is equipped with a physical USB keyboard, the host 100 will regard the keyboard scan code of the physical USB keyboard and the keyboard scan code from the display device 200 as coming from different USB devices, such as from the physical USB keyboard and the emulated keyboard of the display device 200, so there will be no conflict between them.

[0078] For example, the host 100 may execute a computer game (e.g., a fighting game: Street Fighter), and the game protagonist needs to perform a complex special move (e.g., Hadouken), for example, by continuously pressing the down, right down, right, and punch buttons within a predetermined time. At this time, the user only needs to use his hand or head to perform a gesture corresponding to a specific move, and when the video processing circuit 273 determines that the specific gesture corresponding to the specific move appears in the user image captured by the image capture unit 272, the video processing circuit 273 sends a notification signal to the display controller 210 to notify the display controller 210 that the user has performed a specific gesture corresponding to the specific move, so the display controller 210 generates a keyboard scan code sequence corresponding to the key macro corresponding to the specific gesture and transmits it to the host 100, so that the host 100 can input the key macro corresponding to the specific move in the computer game to allow the game protagonist to perform the specific move, or use props and other in-game instructions. It should be noted that the gesture of the present invention may include but is not limited to the hand or head, or other body gestures.

[0079] The microphone 274 may be a directional microphone, for example, to point in the direction of the user to capture the sound signal emitted by the user. The audio processing circuit 275 may be implemented by, for example, an application-oriented integrated circuit, a digital signal processor, or a field programmable logic gate array, but the present invention is not limited thereto. The audio processing circuit 275 is used to perform speech recognition on the above-mentioned sound signal to determine whether the sound signal emitted by the user contains a predefined specific move name (for example, which can be stored in a voice database, Figure 1A (not shown). When the audio processing circuit 275 determines that the sound signal sent by the user contains a specific move name, the audio processing circuit 275 sends a notification signal to the display controller 210 to notify the display controller 210 that the user has sent a sound signal containing the specific move name. When the display controller 210 receives the notification signal, the display controller 210 generates a keyboard scan code sequence corresponding to a key macro corresponding to the specific move name, and transmits the above keyboard scan code sequence to the host 100 via the hub 270 and the transmission interfaces 250 and 150, so that the processing unit 110 executes the above keyboard scan code sequence to perform specific operations, such as allowing the game protagonist to cast a specific move, or use props and other in-game instructions. Therefore, the user can issue a voice to cast the corresponding move without manually pressing a button, so it is easier to win the game, thereby increasing the user experience.

[0080] In some cases, the computer game or game platform executed by the host 100 may include a detection program to detect and prevent instructions issued by improper programs from interfering with the fairness of the game. The electronic device in the present invention can perform gesture recognition and voice recognition through a display device, and can transmit a corresponding keyboard scan code sequence or description element sequence to the host 100, so that the host 100 performs a corresponding specific operation, which can avoid being judged as an improper program by the detection program.

[0081] It should be noted that the present invention is not limited to computer games, but can also be applied to other general applications. Generally speaking, the amount of computation required to perform voice recognition or gesture recognition is quite large. If the display controller 210 is implemented using a general microcontroller, the display controller 210 needs to be equipped with a video processing circuit 273 and an audio processing circuit 275 to perform gesture recognition and voice recognition respectively. If the display controller 210 is implemented using a CPU with powerful computing power, gesture recognition and / or voice recognition can be completely processed by the display controller 210, which means that Figure 1A The video processing circuit 273 and / or the audio processing circuit 275 are omitted.

[0082] In some embodiments, the host 100 and the display device 200 may support the technology of "dynamic device mapping". When the display controller 210 receives a notification signal from the video processing circuit 273 or the audio processing circuit 275, the display controller 210 may generate a descriptor sequence corresponding to a key macro of a specific move, wherein each descriptor represents the time point when a different key is pressed / released. Therefore, in this embodiment, the display controller 210 does not need to generate a keyboard scan code sequence corresponding to the key macro, and may directly transmit the descriptor sequence to the host 100 through the hub 270 and the transmission interfaces 250 and 150. Therefore, the USB driver 143 executed by the host 100 may execute the obtained key sequence after parsing the descriptor sequence, so as to allow the game protagonist to perform a specific move, or use props and other in-game instructions.

[0083] Figure 1B is a block diagram of an electronic device according to another embodiment of the present invention.

[0084] Figure 1B and Figure 1A Similar, the difference is that Figure 1B The display device 200 further includes a keyboard controller 271 electrically connected to the display controller 210 and the hub 270. The keyboard controller 271 may be implemented, for example, by an embedded microcontroller or a keyboard integrated circuit (IC) to provide a physical vendor ID and product ID for the host 100 to identify.

[0085] In this embodiment, when the display controller 210 receives a notification signal from the video processing circuit 273 or the audio processing circuit 275, the display controller 210 may generate a control signal of a specific move (e.g., a number representing a key macro) to notify the keyboard controller 271, and the keyboard controller 271 generates a keyboard scan code sequence of a key macro corresponding to the specific move, wherein the keyboard scan code sequence is, for example, one or more keyboard scan codes supporting the USB protocol. Therefore, the keyboard controller 271 may transmit the keyboard scan code of the key macro corresponding to the specific move to the host 100 through the hub 270 and the transmission interfaces 250 and 150, so that the processing unit 110 executes the keyboard scan code to perform a specific operation, such as allowing the game protagonist to perform a specific move, or use a prop or other in-game instructions.

[0086] Figure 1C FIG. 4 is a block diagram of an electronic device according to another embodiment of the present invention.

[0087] Figure 1C and Figure 1A Similar, the difference is that Figure 1B The hub 270 in the display device 200 further includes a keyboard controller 271 and a microcontroller 276. The keyboard controller 271 can be implemented, for example, by an embedded microcontroller or a keyboard integrated circuit (IC) to provide a physical vendor ID and a product ID for identification by the host 100. In some embodiments, the microcontroller 276 and the keyboard controller 271 in the hub 270 are different physical components. In other embodiments, the functions of the keyboard controller 271 can be integrated into the microcontroller 276, and the firmware executed by the microcontroller 276 includes the related functions of the keyboard controller 271.

[0088] When the display controller 210 receives the notification signal from the video processing circuit 273 or the audio processing circuit 275, the display controller 210 may generate a control signal of a specific move (e.g., a number representing a key macro) and transmit it to the hub 270. The microcontroller 276 of the hub 270 may identify the control signal and process the control signal through the keyboard controller 271. The keyboard controller 271 generates a keyboard scan code sequence of a key macro corresponding to the specific move according to the control signal, wherein the keyboard scan code sequence is, for example, one or more keyboard scan codes supporting the USB protocol.

[0089] Figure 2A and Figure 2B FIG. 4 is a schematic diagram of a connection method between a host of an electronic device and a display device according to an embodiment of the present invention.

[0090] In this embodiment, if Figure 2A As shown, the image signal generated by the graphics processing unit 120 of the host 100 is transmitted to the display controller 210 of the display device 200 through the transmission interface 150A (for example, an HDMI interface) of the host 100 and the corresponding transmission interface 250A (for example, an HDMI interface) of the display device 200. The transmission channel between the transmission interface 150A and the transmission interface 250A can be called, for example, an image transmission channel. The transmission channel between the transmission interface 150B and the transmission interface 250B can be called, for example, a data transmission channel or a control signal transmission channel. Figures 1A to 1CIn the embodiment, the display controller 210, the keyboard controller 271 or the hub 270 transmits the keyboard scan code or the description element sequence to the host 100 through the data transmission channel between the host 100 and the display device 200. In some embodiments, if the electronic device 10 is a notebook computer, the transmission interfaces 150A and 250A may be, for example, an embedded display port (eDP) interface or a low voltage differential signaling (LVDS) interface, and the transmission interfaces 150B and 250B may be, for example, an internal bus interface, an I2C interface or an SPI interface, but the present invention is not limited thereto.

[0091] In other embodiments, Figure 2B As shown, the image signal generated by the graphics processing unit 120 of the host 100 is transmitted to the display controller 210 of the display device 200 through the transmission interface 150C of the host 100 (for example, a USB Type-C interface) and the corresponding transmission interface 250C of the display device 200 (for example, a USB Type-C interface).

[0092] It should be noted that, because the USB Type-C communication protocol can support audio and video transmission (such as supporting DisplayPort or HDMI), it also provides high-speed (Hi-Speed) and super-speed (SuperSpeed) data transmission functions, which means that the image transmission channel and the data transmission channel can be combined. Therefore, the host 100 can also transmit the screen display enable signal to the display device 200 through the transmission interface 150C of the host 100 (such as a USB Type-C interface) and the corresponding transmission interface 250C of the display device 200 (such as a USB Type-C interface).

[0093] It should be noted that the display device 200 may be used in the following manner depending on its hardware configuration (e.g., whether a physical keyboard controller is configured) and the computing capability of the display controller 210. Figures 1A to 1C An electronic device 10 as one of the above, and Figure 2A or Figure 2B The connection method is applicable.

[0094] Figure 3 FIG. 4 is a schematic diagram of a computer game according to an embodiment of the present invention.

[0095] For example, in one embodiment, the host 100 executes a specific computer game (such as Street Fighter), and the game interface 300 is as follows: Figure 3As shown. The user can use the gesture recognition function or voice recognition function of the display device 200 to let the game protagonist 310 perform specific moves, or use props and other in-game instructions. For example, the user can perform a specific gesture of a specific move (such as Hadouken 320). When the display device 200 captures the user's image and recognizes the above-mentioned specific gesture, the display device 200 can use Figures 1A to 1C One of the embodiments of the present invention generates a keyboard scan code sequence or a description element sequence corresponding to a key macro of a specific move. The display device 200 transmits the keyboard scan code sequence or the description element sequence to the host 100, so that the host 100 can parse the keyboard scan code sequence or the description element sequence and execute the corresponding key sequence to allow the game protagonist 310 to perform a specific move 320, or use a prop or other in-game instructions.

[0096] In addition, the user can also issue a voice command of a specific move to the display device 200. When the display device 200 captures the user's voice signal and recognizes the name of the specific move, the display device 200 can use Figures 1A to 1C One of the embodiments of the present invention generates a keyboard scan code sequence or a description element sequence corresponding to a key macro of a specific move. The display device 200 transmits the keyboard scan code sequence or the description element sequence to the host 100, so that the host 100 can parse the keyboard scan code sequence or the description element sequence and execute the corresponding key sequence to allow the game protagonist 310 to perform a specific move 320, or use a prop or other in-game instructions.

[0097] Figure 4 FIG. 4 is a flow chart of a method for triggering a key macro using an external input signal according to an embodiment of the present invention.

[0098] In step S410, the host 100 executes an application to draw a display screen, and transmits the display screen to the display controller 210 via an image transmission channel between the host 100 and the display controller 210. For example, the host 100 can use the image transmission channel to transmit the image signal of the display screen to the display device 200, and when the display device 200 determines that the virtual input signal needs to be triggered, the display device 200 transmits the virtual input signal to the host 100 via the data transmission channel, wherein the connection method of the data transmission channel and the image transmission channel can refer to Figure 2A-2B Embodiment of the invention.

[0099] In step S420, the display device 200 is used to determine whether an external input signal from a user meets a predetermined condition. For example, the display device 200 may include gesture recognition and / or voice recognition functions to allow the display controller 210 to trigger a hotkey control signal, and the display devices 200 with different configurations may generate a keystroke sequence of a corresponding key macro in different ways according to the hotkey control signal, and transmit the keystroke sequence to the host 100 through a data transmission channel, so that the host 100 can execute the input operation of the key macro. The keystroke sequence is, for example, a keyboard scan code sequence composed of multiple keyboard scan codes, or a description element sequence composed of multiple description elements. In addition, the external input signal may be, for example, a gesture of the user or a sound signal emitted by the user.

[0100] In step S430, in response to the external input signal satisfying the predetermined condition, the display device 200 generates a virtual input signal corresponding to a specific key macro, and transmits the virtual input signal to the host 100 through a data transmission channel between the host 100 and the display controller 210, so that the host 100 executes the key sequence corresponding to the specific key macro in the application. The above-mentioned virtual input signal can be, for example, a keyboard scan code sequence supporting a universal serial bus (USB) protocol or a description element sequence composed of multiple description elements. When the virtual input signal is a keyboard scan code sequence, the host 100 can directly execute the key sequence of the keyboard scan code sequence. When the virtual input signal is a description element sequence, the USB driver 143 executed by the host 100 can parse the description element sequence to obtain the key sequence of the specific key macro.

[0101] In summary, the present invention provides an electronic device and a method for automatically triggering hot keys using a display screen, which can utilize a display device to determine whether an external input signal from a user satisfies a predetermined condition. In response to the external input signal satisfying the predetermined condition, the display device generates a virtual input signal corresponding to a specific key macro, and transmits the virtual input signal to the host, so that the host executes a key sequence corresponding to the specific key macro in the application. Therefore, the function of the specific key macro can be automatically triggered by the user performing a specific gesture or emitting a specific sound signal, so that the host can instantly execute the key sequence of the above-mentioned specific key macro in the game to issue the corresponding moves, thereby avoiding the situation where the user cannot manually press the corresponding hot key to manually replenish blood during the game, or easily presses the wrong hot key and causes mistakes, thereby increasing the user experience.

[0102] The words "first", "second", "third", etc. are used in the claims to modify the elements in the claims. They are not used to indicate a priority order, a prior relationship, or that one element precedes another element, or a temporal sequence in performing method steps. They are only used to distinguish elements with the same name.

[0103] Of course, the present invention may have many other embodiments. Without departing from the spirit and essence of the present invention, those skilled in the art may make various corresponding changes and modifications based on the present invention, but these corresponding changes and modifications should all fall within the scope of protection of the claims attached to the present invention.

Claims

1. An electronic device, characterized in that: include: A display device includes an image capture unit, a video processing circuit, a microphone, an audio processing circuit, a keyboard controller, a display controller and a display panel; and a host, electrically connected to the display device; The keyboard controller may be implemented by an embedded microcontroller or a keyboard integrated circuit to provide a manufacturer identifier and a product identifier for the host to identify. The host executes an application to draw a display image, and transmits the display image to the display controller through an image transmission channel between the host and the display device, and the display controller plays the display image on the display panel. The display device determines whether an external input signal from a user satisfies a predetermined condition. In response to the external input signal satisfying the predetermined condition, the display device generates a virtual input signal corresponding to a specific key macro, and transmits the virtual input signal to the host through a data transmission channel between the host and the display controller, so that the host executes a key sequence corresponding to the specific key macro in the application program. The external input signal from the user is a plurality of user images captured by the image capture unit or a sound signal captured by the microphone, wherein the predetermined condition is that the plurality of user images include a specific gesture action or the sound signal includes a specific name corresponding to the specific key macro, The video processing circuit is used to determine whether the multiple user images captured by the image capture unit include the specific gesture action, and the audio processing circuit is used to identify whether the sound signal captured by the microphone includes the specific name. In response to determining that the plurality of user images captured by the image capture unit include the specific gesture action or recognizing that the sound signal captured by the microphone includes the specific name, the video processing circuit or the audio processing circuit sends a notification signal to the display controller, The display controller generates a control signal corresponding to the specific gesture action or the specific name according to the notification signal and transmits the control signal to the keyboard controller. The keyboard controller generates a virtual input signal corresponding to the specific gesture action or the specific key macro with the specific name according to the control signal, and the virtual input signal is a keyboard scan code sequence supporting a universal serial bus protocol.

2. The electronic device according to claim 1, wherein: The display device further includes a hub, and the keyboard controller is arranged outside the hub.

3. The electronic device according to claim 1, wherein: The display device further includes a hub, and the hub includes a microcontroller and the keyboard controller. The display controller transmits the control signal to the microcontroller. The microcontroller notifies the keyboard controller to generate a virtual input signal of the specific key macro according to the control signal.

4. A method for triggering a key macro using an external input signal, used in an electronic device, characterized in that: The electronic device includes a display device and a host, and the display device includes an image capture unit, a video processing circuit, a microphone, an audio processing circuit, a keyboard controller, a display panel and a display controller. The method includes: Utilizing the host to execute an application program to draw a display image, transmitting the display image to the display controller through an image transmission channel between the host and the display controller, and utilizing the display controller to play the display image on the display panel; Using the display device to determine whether an external input signal from a user satisfies a predetermined condition; and In response to the external input signal satisfying the predetermined condition, the display device generates a virtual input signal corresponding to a specific key macro, and transmits the virtual input signal to the host through a data transmission channel between the host and the display controller, so that the host executes a key sequence corresponding to the specific key macro in the application program; The keyboard controller may be implemented by an embedded microcontroller or a keyboard integrated circuit to provide a manufacturer identifier and a product identifier for identification by the host; The external input signal from the user is a plurality of user images captured by the image capture unit or a sound signal captured by the microphone, wherein the predetermined condition is that the plurality of user images include a specific gesture action or the sound signal includes a specific name corresponding to the specific key macro, The video processing circuit is used to determine whether the multiple user images captured by the image capture unit include the specific gesture action, and the audio processing circuit is used to identify whether the sound signal captured by the microphone includes the specific name. In response to determining that the plurality of user images captured by the image capture unit include the specific gesture action or recognizing that the sound signal captured by the microphone includes the specific name, the video processing circuit or the audio processing circuit sends a notification signal to the display controller, The display controller generates a control signal corresponding to the specific gesture action or the specific name according to the notification signal and transmits the control signal to the keyboard controller. The keyboard controller generates a virtual input signal corresponding to the specific gesture action or the specific key macro with the specific name according to the control signal, and the virtual input signal is a keyboard scan code sequence supporting a universal serial bus protocol.

5. The method according to claim 4, characterized in that The display device further includes a hub, and the keyboard controller is arranged outside the hub.

6. The method according to claim 4, characterized in that The display device further includes a hub, and the hub includes a microcontroller and the keyboard controller, and the method further includes: transmitting the control signal to the microcontroller using the display controller; and The microcontroller is used to notify the keyboard controller to generate a virtual input signal of the specific key macro according to the control signal.

Citation Information

Patent Citations

  • Display enabling users to operate host through control

    CN103246443A

  • Method for acquiring upgrade file by automobile virtual instrument

    CN108600211A

  • System for virtual desktop screen transmission supporting zero client

    KR101263706B1

  • Display apparatus, remote controller and associated display system

    TW201227309A

  • Methods and systems for control of multiple multimedia tuners

    US20120027374A1