Electronic device and hot key automatic triggering method using display screen
By detecting the pixel conditions of the game screen in the display device and triggering the virtual input signal, the problem of difficulty for game players to replenish blood in time in an emergency is solved, automatic blood replenishment operation is realized, and the gaming experience is improved.
Patent Information
- Application Number
- CN202010565043.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-19
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2040-06-19
AI Technical Summary
It is difficult for gamers to manually press hot keys to replenish blood in an emergency, and it is easy for gamers to make mistakes due to operational errors.
By detecting whether the pixels in a specific area of the game screen meet predetermined conditions in the display device, the virtual input signal is triggered to automatically perform operations such as blood replenishment, the image transmission channel is used to transmit the display screen, and the virtual input signal is transmitted to the host through the data transmission channel.
It realizes the automatic triggering of blood replenishment operation in emergency situations, avoiding manual operation errors and improving the game experience.
Smart Images

Figure CN113117319B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to an electronic device, and in particular to an electronic device and a hot key automatic triggering method utilizing a display screen. Background Art
[0002] Currently, the functions of display devices (such as televisions or computer monitors) 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 hotkeys corresponding to the blood replenishment function to replenish blood. However, when the game situation is urgent, the user is often unable to manually press the corresponding hotkey to manually replenish blood, 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 hot key automatic triggering method using a display screen to solve the above-mentioned problem.
[0004] The present invention provides an electronic device, comprising: a display panel; a display controller for controlling the display screen of the display panel; and a host electrically connected to the display controller. 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 controller. The display controller detects whether the pixels in a specific area of the display screen meet a predetermined condition. In response to the pixels in the specific area meeting the predetermined condition, the display controller triggers a virtual input signal, 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 performs a specific operation corresponding to the virtual input signal. In the above embodiment, the image transmission channel is different from the data transmission channel.
[0005] In some embodiments, the predetermined condition includes: the color of the pixels in the specific area has a specific change or presents a specific ratio, or the pixels in the specific area have a specific pattern or specific text. In some embodiments, the virtual input signal is a keyboard scan code supporting a universal serial bus (USB) protocol.
[0006] In some embodiments, the host executes a detection program to detect whether the host executes the application, and when it is detected that the host executes the application, the execution status of the application is transmitted to the display controller through the data transmission channel, so that the display controller reads the firmware corresponding to the application pre-stored in a storage unit of the electronic device and executes it, thereby setting the specific area and the predetermined condition.
[0007] In some embodiments, the specific area and the predetermined condition are set via a user interface of a detection program executed by the host, and the detection program detects whether the host executes the application, and when it is detected that the host executes the application, the information of the set specific area is transmitted to the display controller via the data transmission channel.
[0008] In some embodiments, the specific area and the predetermined condition are set via an on-screen display (OSD) menu of the display device.
[0009] In some embodiments, the electronic device further includes: a hub and a keyboard controller, and the keyboard controller is electrically connected to the display controller via the hub and is used to provide a manufacturer identifier and a product identifier for identification by the host.
[0010] In some embodiments, when the display controller determines that the pixels in the specific area of the display screen meet the predetermined condition, the display controller transmits a hotkey control signal to the keyboard controller, and the keyboard controller converts the hotkey control signal into the corresponding virtual input signal via an encoding program, and transmits the virtual input signal to the host through the data transmission channel.
[0011] In some embodiments, the display controller further tracks a game character and a corresponding character life bar in the display screen, and analyzes whether pixels in the specific area corresponding to the character life bar meet the predetermined condition.
[0012] The present invention further provides a method for automatically triggering a hot key using a display screen, which is used in an electronic device, wherein the electronic device includes a display panel, a display controller and a host. 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; using the display controller to detect whether the pixels in a specific area of the display screen meet a predetermined condition; and in response to the pixels in the specific area meeting the predetermined condition, using the display controller to trigger a virtual input signal, 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 performs a specific operation corresponding to the virtual input signal.
[0013] 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
[0014] Figure 1 is a block diagram of an electronic device in an embodiment of the present invention.
[0015] 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.
[0016] Figure 3A 3B is a schematic diagram of a game interface according to an embodiment of the present invention.
[0017] Figure 4 The figure is a flow chart of a method for automatically triggering a hot key using a display screen according to an embodiment of the present invention.
[0018] Wherein, the reference numerals are:
[0019] 10~Electronic devices;
[0020] 100~Host;
[0021] 200~display device;
[0022] 110~Processing unit
[0023] 111~system bus;
[0024] 120~Graphics processing unit;
[0025] 130~Memory unit;
[0026] 140~Storage device;
[0027] 141~Application;
[0028] 142~Operation system;
[0029] 143~The menu control program is displayed on the screen;
[0030] 150, 150A-150C~Transmission interface
[0031] 160~Peripheral devices;
[0032] 210~display controller;
[0033] 211~Image scaler;
[0034] 212~timing controller;
[0035] 220~display module;
[0036] 230~Storage unit;
[0037] 231, 232~Firmware;
[0038] 233~The interface is displayed on the screen;
[0039] 240~Image buffer;
[0040] 250, 250A-250C~ transmission interface;
[0041] 260~input interface;
[0042] 261~Physical button;
[0043] 262~Five-way control lever;
[0044] 270~hub;
[0045] 271~Keyboard controller;
[0046] 300~Game interface;
[0047] 310~Game Characters;
[0048] 320 ~ box;
[0049] S410-S430~steps. DETAILED DESCRIPTION
[0050] The structural principle and working principle of the present invention are described in detail below in conjunction with the accompanying drawings:
[0051] 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.
[0052] Figure 1 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 1 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.
[0053] 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.
[0054] 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) interface, 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.
[0055] 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 an on-screen display (OSD) menu control program 143, and the processing unit 110 reads the one or more application programs 141, the operating system 142, and the on-screen display menu control program 143 into the memory unit 130 and executes them. The on-screen display menu control program 143 is used to allow the user to control the on-screen display menu of the display device 200 through the peripheral device 160 of the host 100, and its details will be described in detail later. The graphics processing unit 120 may, for example, perform drawing processing of the application program 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 through one of the transmission interfaces 150 (e.g., an HDMI interface or a DisplayPort interface).
[0056] 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.
[0057] 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.
[0058] 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.
[0059] 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.
[0060] 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 EDID 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.
[0061] 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.
[0062] 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) for storing output images 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.
[0063] 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.
[0064] In some embodiments, the display device 200 further includes a keyboard controller 271, wherein 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 product ID for identification by the host 100. In other embodiments, the user can connect a USB keyboard and / or mouse to the hub 270 of the display device 200, so that the host 100 can detect through the USB protocol that a physical keyboard (for example, including a keyboard controller to provide a keyboard ID) and a mouse are connected and available for use.
[0065] When the display device 200 is equipped with a keyboard controller 271, the keyboard controller 271 can generate a corresponding virtual input signal through an encoding program according to a hotkey control signal from the display controller 210. The keyboard controller 271 transmits the generated virtual input signal to the host 100 through the hub 270. For example, the hub 270 is electrically connected to the host 100 through the USB interface in the transmission interface 150 and 250, so the virtual input signal can be a keyboard scan code corresponding to the USB protocol, but the present invention is not limited thereto.
[0066] 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).
[0067] 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.
[0068] 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.
[0069] 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.
[0070] In this embodiment, if Figure 2AAs 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. Among them, the transmission channel between the transmission interface 150A and the transmission interface 250A can be, for example, referred to as an image transmission channel. The transmission channel between the transmission interface 150B and the transmission interface 250B can be, for example, referred to as a data transmission channel or a control signal transmission channel. In some embodiments, if the electronic device 10 is a notebook computer, the transmission interfaces 150A and 250A can be, for example, an embedded display port (eDP) interface or a low voltage differential signaling (LVDS) interface, and the transmission interfaces 150B and 250B can be, for example, an internal bus interface, an I2C interface, or an SPI interface, but the present invention is not limited thereto.
[0071] 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).
[0072] 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).
[0073] In addition, whether in Figure 2A or Figure 2B In the embodiment of the present invention, the display controller 210 of the display device 200 can detect whether the pixels of a specific area or a selected area in the display screen from the host 100 meet a predetermined condition. For example, if the host 100 runs a computer game, and the information displayed in the user interface of the computer game may include the life bar or mana bar of the game protagonist, and the host 100 transmits the image signal of the display screen of the computer game through the transmission interface 150 and 250 (for example, it can be Figure 2A or Figure 2BThe display controller 210 can analyze whether the pixels in the specific area or the selected area of the image signal meet a predetermined condition, wherein the predetermined condition can be, for example, that the color of the pixels in the specific area or the selected area has a specific change or presents a specific ratio, or that the pixels in the specific area or the selected area have a specific pattern or specific text.
[0074] In detail, the specific area or selected area in the display screen detected by the display controller 210 can be set in different ways. For example, in one embodiment, the corresponding firmware settings of the application (such as a specific computer game or utility program) executed by the host 100 can be pre-set and stored in the storage unit 230 in the display device 200. The host 100 can execute a detection program to detect whether the host 100 is executing a specific computer game or application. If it is detected that the host 100 is executing a specific computer game or application, the host 100 can transmit the execution status of the above-mentioned specific computer game or application to the display controller 210 of the display device 200 through the data transmission channel, so the display controller 210 can read the firmware corresponding to the above-mentioned specific computer game or application pre-stored in the storage unit 230 and execute it, and then detect whether the pixels of the specific area in the display screen corresponding to the above-mentioned specific computer game or application meet the predetermined conditions.
[0075] In another embodiment, the detection program executed by the host 100 can not only detect whether the host 100 is executing a specific computer game or application, but also provide a user interface to allow the user to select the size and position of the area that the display device 200 wants to detect in the display screen by using a box, and can select the predetermined conditions to be triggered in the selected area, such as the life bar in the game screen changes from green to red, the life bar is less than a predetermined ratio, or can be set to track the game character and its life bar (for example, it can include different shapes or colors) or blood volume text, or poisoning symbol, etc., but the present invention is not limited to this. When the setting is completed, the host 100 can transmit the selected area after setting to the display controller 210 of the display device 200 through the data transmission channel, and the display controller 210 will detect whether the pixels in the selected area meet the predetermined conditions in the selected area of the display screen.
[0076] In another embodiment, the user can call out the OSD menu of the display device 200 by operating the five-way joystick 262 or the physical button 261 on the display device 200, and can select a corresponding detection setting option from the OSD menu to select a selected area to be detected in the display screen, and select a predetermined condition to be triggered in the selected area, such as the health bar in the game screen changes from green to red, the health bar is less than a predetermined ratio, or the game character and its health bar (for example, it may include different shapes or colors) or health text, or a poisoning symbol, etc. can be set to track, but the present invention is not limited to this. After the setting is completed, the display controller 210 can detect whether the pixels in the selected area meet the predetermined conditions in the selected area of the display screen.
[0077] If the display device 200 does not include a keyboard controller 271, when the display controller 210 detects that the pixels of a specific area or a selected area in the image signal meet the above predetermined conditions, the display controller 210 will generate a virtual input signal that triggers a specific key or key combination, and transmit the virtual input signal to the host 100 through the transmission interfaces 150 and 250, wherein the virtual input signal can be, for example, a keyboard scan code that supports the USB protocol. After receiving the virtual input signal, the host 100 will decode it to obtain the input signal of the specific key or key combination represented by the virtual input signal, and execute the specific key or key combination represented by the input signal.
[0078] If the display device 200 includes a keyboard controller 271, the display controller 210 may send a hotkey control signal to the keyboard controller 271 (e.g., via the hub 270 or directly to the keyboard controller 271), and the keyboard controller 271 may convert the hotkey control signal into a corresponding virtual input signal through an encoding program, wherein the virtual input signal may be, for example, a keyboard scan code supporting the USB protocol. After receiving the virtual input signal, the host 100 decodes it to obtain an input signal of a specific key or key combination represented by the virtual input signal, and executes the specific operation represented by the input signal (e.g., pressing a specific key or key combination).
[0079] For example, in a computer game, the specific key or key combination represented by the input signal may be a specific hot key or hot key combination corresponding to an action set in the computer game, such as using a health recovery item, a detoxification item, or using a character skill, a special move, etc. However, the present invention is not limited to computer games, but may also be applied to other general application programs.
[0080] Figure 3A-3B FIG. 4 is a schematic diagram of a game interface according to an embodiment of the present invention.
[0081] In detail, if the display controller 210 is implemented using a microcontroller with weaker computing power, the display controller 210 can also determine the color change or specific proportion of pixels in a specific area or selected area in the display screen. For example, the image signal transmitted from the host 100 to the display controller 210 is, for example, an RGB signal after channel encoding through the transmission interface 150, and when the transmission interface 250 in the display device 200 performs channel decoding on the received image signal, the RGB signal can be obtained, and the display controller 210 can determine the color of each pixel in the display screen, for example, the values of red, green, and blue sub-pixels within different predetermined ranges can be classified into different colors. Therefore, the display controller 210 can obtain information such as the color change of pixels within the selected range or the proportion of color distribution, and use it to determine whether a virtual input signal needs to be triggered.
[0082] In addition, if the display controller 210 is implemented by a processor with a relatively strong computing power, the display controller 210 can further track the game characters and their health bars in the display screen. For example, the game characters of some computer games are not located at fixed positions in the display screen, so it is necessary to detect the position of the game characters in the display screen and determine the corresponding character life blood bars. However, the character life blood bar is not necessarily presented in a long strip or grid shape, but may also be presented in blood volume text / numbers. In this embodiment, the display controller 210 can also identify the text / numbers of the character life in the display screen to obtain the current life value of the game character, and determine whether the current life value of the game character is less than a predetermined value or a predetermined ratio. A person with ordinary knowledge in the technical field to which the present invention belongs should understand the technical content of identifying the text or numbers in the screen, so the details are not repeated here.
[0083] like Figure 3A As shown, the game character 310 is, for example, located in the middle of the game interface 300, and when the game character 310 is full of blood, the character's life in the box 320 will have a blood bar of a certain length or number of grids (e.g., 5 grids), and can be represented by green, for example, but the present invention is not limited to this.
[0084] When the life of the game character 310 is damaged in the game, the life bar length or number of grids of the character in the box 320 will decrease, and may be, for example, yellow (for example, the life volume is between 50% and 100%) or red (the life volume is less than 50%). When the display controller 210 determines that the life bar length or number of grids in a specific area (i.e., the box 320) of the game display screen is less than a predetermined ratio (for example, less than 3 grids or less than 50%), the display controller 210 will change the health bar length or number of grids in the box 320. Figure 3BAs shown in the figure, there are 2 health bars left. At this time, the display device 200 triggers a virtual input signal (for example, it can represent pressing the health hot key H), and transmits the virtual input signal to the host 100. In addition, in addition to the above determination method, the display controller 210 can also determine that when the color of the health bar in a specific area (i.e., box 320) in the display screen of the game changes to red, the virtual input signal will be triggered.
[0085] Therefore, after receiving the virtual input signal, the host 100 can execute a specific operation corresponding to the virtual input signal (ie, press the blood replenishment hot key H). Figure 2A or Figure 2B The architecture may also be applicable to an architecture in which the display device 200 includes or does not include the keyboard controller 271.
[0086] Figure 4 The figure is a flow chart of a method for automatically triggering a hot key using a display screen according to an embodiment of the present invention.
[0087] 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 a 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.
[0088] In step S420, the display controller 210 is used to detect whether the pixels in a specific area of the display screen meet a predetermined condition. For example, the display controller 210 stores the image signal of the display screen from the host 100 in the image buffer 240, and the display controller 210 can read the pixels of the specific area in the display screen stored in the image buffer 240 for analysis, and determine whether the pixels in the specific area meet the predetermined condition, wherein the predetermined condition can be that the color of the pixels in the specific area (or selected area) has a specific change or presents a specific ratio, or the pixels in the specific area (or selected area) have a specific pattern or specific text. For example, the application executed by the host 100 can be, for example, a computer game, and the surrounding area of the life bar of the game character is, for example, the specific area.
[0089] In the aforementioned embodiments, the specific area or selected area detected by the display controller 210 can be set in a variety of ways, for example: (1) the firmware of a pre-set specific computer game or application can be used to detect whether the host 100 is executing a specific computer game or application through a detection program executed by the host 100. If it is detected that the host 100 is executing a specific computer game or application, the host 100 can transmit the execution status of the specific computer game or application to the display controller 210 of the display device 200 through the data transmission channel, so that the display controller 210 can read the firmware corresponding to the specific computer game or application pre-stored in the storage unit 230 and execute it, thereby detecting whether the pixels of the specific area in the display screen corresponding to the specific computer game or application meet the predetermined conditions; (2) the user interface of the detection program executed by the host 100 can be used to allow the user to select the size and position of the area to be detected by the display device 200 on the display screen with a box, and can select the predetermined condition to be triggered in the selected area; (3) the user can call up the OSD menu of the display device 200 by operating the five-way joystick 262 or the physical button 261 on the display device 200, and can select the corresponding detection setting option from the OSD menu to select the selected area to be detected in the display screen, and select the predetermined condition to be triggered in the selected area.
[0090] In step S430, in response to the pixels in a specific area satisfying a predetermined condition, the display controller 210 generates a virtual input signal, and transmits the virtual input signal to the host 100 through a data transmission channel, so that the host 100 performs a specific operation corresponding to the virtual input signal. For example, the virtual input signal may be a keyboard scan code that supports the USB protocol. After receiving the virtual input signal, the host 100 decodes it to obtain an input signal of a specific key or key combination represented by the virtual input signal, and executes the specific key or key combination represented by the input signal. It should be noted that the above embodiment is applicable to Figure 2A or Figure 2B The architecture may also be applicable to an architecture in which the display device 200 includes or does not include the keyboard controller 271.
[0091] In summary, the present invention provides an electronic device and a method for automatically triggering a hotkey using a display screen, which can use a display controller to detect whether pixels in a specific area or a selected area in the display screen meet a predetermined condition, and when the display controller determines that the predetermined condition is met, it will trigger a virtual input signal, and transmit the virtual input signal to the host through a data transmission channel between the host and the display device, so that the host performs a specific operation corresponding to the virtual input signal (such as pressing a specific key or key combination). Therefore, the function of automatically triggering a hotkey through analyzing the display screen by the display device can avoid the situation where the user can only manually replenish blood or cannot replenish blood in time when operating a game, thereby increasing the user experience.
[0092] 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.
[0093] 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, comprising: a display panel; and a display controller for controlling the display image of the display panel; and a host, electrically connected to the display controller; 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 controller; The display controller detects whether pixels in a specific area of the display screen meet a predetermined condition, wherein the predetermined condition includes: the color of the pixels in the specific area has a specific change or presents a specific ratio, or the pixels in the specific area have a specific pattern or specific text; In response to the pixels in the specific area satisfying the predetermined condition, the display controller triggers a virtual input signal of a specific key or key combination, 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 performs a specific operation corresponding to the virtual input signal.
2. The electronic device according to claim 1, wherein: The image transmission channel is different from the data transmission channel.
3. The electronic device according to claim 1, wherein: The virtual input signal is a keyboard scan code supporting the universal serial bus protocol.
4. The electronic device according to claim 1, wherein: The host executes a detection program to detect whether the host executes the application, and when it is detected that the host executes the application, the execution status of the application is transmitted to the display controller through the data transmission channel, so that the display controller reads the firmware corresponding to the application pre-stored in a storage unit of the electronic device and executes it, thereby setting the specific area and the predetermined condition.
5. The electronic device according to claim 1, wherein: The specific area and the predetermined condition are set via a user interface of a detection program executed by the host, and the detection program detects whether the host executes the application program, and when it is detected that the host executes the application program, the information of the set specific area is transmitted to the display controller via the data transmission channel.
6. The electronic device as claimed in claim 1, wherein: The specific area and the predetermined condition are set via a screen display menu of the display device.
7. The electronic device as claimed in claim 1, characterized in that: The device further comprises a hub and a keyboard controller, wherein the keyboard controller is electrically connected to the display controller via the hub and is used to provide a manufacturer identifier and a product identifier for identification by the host.
8. The electronic device as claimed in claim 6, characterized in that: When the display controller determines that the pixels in the specific area of the display screen meet the predetermined condition, the display controller transmits a hotkey control signal to the keyboard controller, and the keyboard controller converts the hotkey control signal into the corresponding virtual input signal through an encoding program, and transmits the virtual input signal to the host through the data transmission channel.
9. The electronic device as claimed in claim 1, wherein: The display controller further tracks a game character and a corresponding character life bar in the display frame, and analyzes whether pixels in the specific area corresponding to the character life bar meet the predetermined condition.
10. A method for automatically triggering a hot key using a display screen, used in an electronic device, characterized in that: The electronic device includes a display device and a host, the display device includes a display panel and a display controller, and the method includes: Utilizing the host to execute an application program 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; Using the display controller to detect whether pixels in a specific area of the display screen meet a predetermined condition, the predetermined condition including: the color of the pixels in the specific area has a specific change or presents a specific ratio, or the pixels in the specific area have a specific pattern or specific text; and In response to the pixels in the specific area satisfying the predetermined condition, the display controller is used to trigger a virtual input signal of a specific key or key combination, and the virtual input signal is transmitted to the host through a data transmission channel between the host and the display controller, so that the host performs a specific operation corresponding to the virtual input signal.
11. The method according to claim 10, characterized in that The image transmission channel is different from the data transmission channel.
12. The method according to claim 10, characterized in that The virtual input signal is a keyboard scan code supporting a universal serial bus protocol.
13. The method according to claim 10, characterized in that Also includes: Utilizing the host to execute a detection program to detect whether the host executes the application program; and When it is detected that the host executes the application, the host transmits the execution status of the application to the display controller through the data transmission channel, so that the display controller reads the firmware corresponding to the application pre-stored in a storage unit of the electronic device and executes it, thereby setting the specific area and the predetermined condition.
14. The method according to claim 10, characterized in that The specific area and the predetermined condition are set via a user interface of a detection program executed by the host, and the detection program detects whether the host executes the application program, and when it is detected that the host executes the application program, the information of the set specific area is transmitted to the display controller via the data transmission channel.
15. The method according to claim 10, characterized in that The specific area and the predetermined condition are set via a screen display menu of the display device.
16. The method according to claim 10, characterized in that The electronic device further includes a hub and a keyboard controller, and the keyboard controller is electrically connected to the display controller via the hub and is used to provide a manufacturer identifier and a product identifier for identification by the host.
17. The method according to claim 16, characterized in that Also includes: When the pixels in the specific area of the display screen meet the predetermined condition, using the display controller to transmit a hotkey control signal to the keyboard controller; and The keyboard controller is used to convert the hot key control signal into the corresponding virtual input signal through an encoding program, and the virtual input signal is transmitted to the host through the data transmission channel.
18. The method according to claim 10, characterized in that Also includes: The display controller is used to track a game character and a corresponding character life bar in the display screen, and analyze whether the pixels in the specific area corresponding to the character life bar meet the predetermined condition.
Citation Information
Patent Citations
Image processing system for generating information by image recognition and related method
US20150278624A1
Display device and method of driving the same
US20190096316A1
