CN112068713B - Event processing method, device, electronic equipment and readable medium - Google Patents

Event processing method, device, electronic equipment and readable medium Download PDF

Info

Publication number
CN112068713B
CN112068713B CN202010923761.XA CN202010923761A CN112068713B CN 112068713 B CN112068713 B CN 112068713B CN 202010923761 A CN202010923761 A CN 202010923761A CN 112068713 B CN112068713 B CN 112068713B
Authority
CN
China
Prior art keywords
hotkey
hot key
code
driver
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010923761.XA
Other languages
Chinese (zh)
Other versions
CN112068713A (en
Inventor
高翔
吕建民
李雪峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Loongson Technology Corp Ltd
Original Assignee
Loongson Technology Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Loongson Technology Corp Ltd filed Critical Loongson Technology Corp Ltd
Priority to CN202010923761.XA priority Critical patent/CN112068713B/en
Publication of CN112068713A publication Critical patent/CN112068713A/en
Application granted granted Critical
Publication of CN112068713B publication Critical patent/CN112068713B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0238Programmable keyboards

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The invention provides an event processing method, an event processing device, electronic equipment and a readable medium. And meanwhile, separating the hotkey correspondence table from the hotkey driver, and processing the hotkey triggering event by the hotkey driver by using the hotkey correspondence table acquired from preset software independent of the hotkey driver. Thus, the hot key layout can be adapted without adding or modifying a hot key driver to different hot key layouts, the hot key trigger event can be processed for different hot key layouts based on the same hot key driver by setting a hot key corresponding table corresponding to the hot key layout in preset software, and the adaptability of the hot key driver can be improved, and the maintenance cost can be reduced.

Description

Event processing method, device, electronic equipment and readable medium
Technical Field
The embodiment of the invention relates to the technical field of electronic equipment, in particular to an event processing method and device, electronic equipment and a readable medium.
Background
At present, an electronic device is often matched with a keyboard input device provided with hot keys, and a user can trigger the electronic device to quickly execute corresponding operations through the hot keys in the keyboard input device. However, the hotkey layout of different devices may have different designs, for example, different designs of different manufacturers may result in different hotkey layouts for the devices produced, or different designs of different series of devices of the same manufacturer may also result in different hotkey layouts for the devices.
In the related art, in order to ensure that the hotkey triggering event can be normally processed, a corresponding hotkey driver needs to be added or modified for different hotkey layouts. In this way, the suitability of the hot key driver is poor, and the maintenance cost is high.
Disclosure of Invention
The embodiment of the invention provides an event processing method, an event processing device, electronic equipment and a readable medium, which are used for solving the problems of poor suitability of a hot key driver and high maintenance cost in the related art.
In a first aspect, an event processing method is provided and applied to an electronic device, and the method includes:
under the condition that a hotkey triggering event is detected, hotkey information of a target hotkey triggered by the hotkey triggering event is obtained, wherein the hotkey information comprises hotkey scanning codes of the target hotkey;
determining a hotkey value code corresponding to the hotkey scanning code according to the hotkey scanning code of the target hotkey and a hotkey corresponding table obtained from preset software by a hotkey driving program, and executing the operation indicated by the corresponding hotkey value code;
the hotkey driver is independent of the preset software, the hotkey correspondence table is used for representing the correspondence between hotkey scanning codes and hotkey value codes, and the hotkey correspondence table is set according to hotkey layout of the electronic equipment, and hotkey correspondence tables corresponding to different hotkey layouts are different.
Optionally, the method further comprises:
under the condition that the hot key layout of the electronic equipment is changed, generating a new hot key corresponding table according to the hot key scanning codes of all hot keys in the changed hot key layout and the operation expected to be triggered by the hot key scanning codes;
and defining the new hotkey corresponding table to the preset software.
Optionally, the defining the new hotkey correspondence table to the preset software includes:
generating a script file according to the new hotkey corresponding table;
and adding the script file into a basic input and output system, and compiling the script file to define the new hotkey corresponding table to the preset software.
Optionally, different hotkey value codes correspond to different operations; the generating a new hotkey correspondence table according to hotkey scan codes of all hotkeys in the changed hotkey layout and the operation expected to trigger includes:
according to the corresponding relation between the hotkey value codes supported by the operating system and the operation, determining the hotkey value code corresponding to the operation expected to trigger by each hotkey in the changed hotkey layout;
and establishing a corresponding relation between the hot key scanning codes of all hot keys in the changed hot key layout and the hot key value codes corresponding to the hot key scanning codes to obtain the new hot key corresponding table.
Optionally, the electronic device is provided with a basic input/output system and an operating system; the hot key driver is arranged in the operating system, and the preset software is the basic input and output system; the method further comprises the steps of:
in the initialization process of the operating system, the hotkey corresponding table is acquired from the basic input and output system through the hotkey driver, and the hotkey corresponding table is analyzed according to a preset format through the hotkey driver and then registered in a hotkey driving subsystem corresponding to the hotkey driver in the operating system;
registering a method function for processing the hotkey triggering event into the hotkey driving subsystem by the hotkey driver.
Optionally, the hotkey driving subsystem is implemented based on the hotkey driver; the method for determining the hotkey value code corresponding to the hotkey scanning code and executing the operation indicated by the corresponding hotkey value code by the hotkey driving program according to the hotkey scanning code of the target hotkey and a preset hotkey corresponding table comprises the following steps:
calling the method function through the hotkey driving subsystem, and matching the hotkey scanning code of the target hotkey with the hotkey corresponding table according to the method function so as to determine a hotkey code value corresponding to the hotkey scanning code; and executing the operation indicated by the corresponding hotkey key code value.
Optionally, hotkey indexes corresponding to different hotkeys are defined in the hotkey corresponding table;
the hotkey corresponding table comprises at least one table item, and each table item comprises one hotkey index, a hotkey scanning code and a hotkey value code corresponding to the hotkey index.
Optionally, an embedded controller is arranged in the electronic device; the hotkey information also comprises hotkey state data;
after the hot key information of the target hot key triggered by the hot key triggering event is obtained, the method further comprises:
if the target hotkey is a switch type hotkey, the hotkey value code and the hotkey state data are sent to the hotkey driving subsystem through the embedded controller;
if the target hotkey is a hotkey of a non-switching type, the hotkey value code is sent to the hotkey driving subsystem through the embedded controller;
accordingly, the executing the operation indicated by the corresponding hotkey key value includes:
under the condition that only the hotkey key value code is received by the hotkey driving subsystem, determining an operation corresponding to the hotkey value code, and executing the corresponding operation;
and under the condition that the hotkey driving subsystem receives the hotkey value code and the hotkey state data, determining the operation corresponding to the hotkey value code under the hotkey state indicated by the hotkey state data, and executing the corresponding operation.
In a second aspect, there is provided an event processing apparatus for application to an electronic device, the apparatus comprising:
the device comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring hot key information of a target hot key triggered by a hot key triggering event under the condition that the hot key triggering event is detected, and the hot key information comprises a hot key scanning code of the target hot key;
the execution module is used for determining a hotkey value code corresponding to the hotkey scanning code according to the hotkey scanning code of the target hotkey and a hotkey corresponding table obtained from preset software through a hotkey driving program, and executing the operation indicated by the corresponding hotkey value code;
the hotkey driver is independent of the preset software, the hotkey correspondence table is used for representing the correspondence between hotkey scanning codes and hotkey value codes, and the hotkey correspondence table is set according to hotkey layout of the electronic equipment, and hotkey correspondence tables corresponding to different hotkey layouts are different.
Optionally, the apparatus further includes:
the generation module is used for generating a new hotkey corresponding table according to hotkey scanning codes of all hotkeys in the changed hotkey layout and the expected triggering operation of the hotkey scanning codes under the condition that the hotkey layout of the electronic equipment is changed;
And the definition module is used for defining the new hotkey corresponding table to the preset software.
Optionally, the definition module is specifically configured to:
generating a script file according to the new hotkey corresponding table;
and adding the script file into a basic input and output system, and compiling the script file to define the new hotkey corresponding table to the preset software.
Optionally, different hotkey value codes correspond to different operations; the generating module is specifically configured to:
according to the corresponding relation between the hotkey value codes supported by the operating system and the operation, determining the hotkey value code corresponding to the operation expected to trigger by each hotkey in the changed hotkey layout;
and establishing a corresponding relation between the hot key scanning codes of all hot keys in the changed hot key layout and the hot key value codes corresponding to the hot key scanning codes to obtain the new hot key corresponding table.
Optionally, the electronic device is provided with a basic input/output system and an operating system; the hot key driver is arranged in the operating system, and the preset software is the basic input and output system; the apparatus further comprises:
the initialization module is used for acquiring the hotkey corresponding table from the basic input and output system through the hotkey driver in the process of initializing the operating system, analyzing the hotkey corresponding table according to a preset format through the hotkey driver, and registering the hotkey corresponding table in a hotkey driving subsystem corresponding to the hotkey driver in the operating system;
And the registration module is used for registering a method function for processing the hotkey triggering event into the hotkey driving subsystem through the hotkey driving program.
Optionally, the hotkey driving subsystem is implemented based on the hotkey driver; the execution module is specifically configured to:
calling the method function through the hotkey driving subsystem, and matching the hotkey scanning code of the target hotkey with the hotkey corresponding table according to the method function so as to determine a hotkey code value corresponding to the hotkey scanning code; and executing the operation indicated by the corresponding hotkey key code value.
Optionally, hotkey indexes corresponding to different hotkeys are defined in the hotkey corresponding table;
the hotkey corresponding table comprises at least one table item, and each table item comprises one hotkey index, a hotkey scanning code and a hotkey value code corresponding to the hotkey index.
Optionally, an embedded controller is arranged in the electronic device; the hotkey information also comprises hotkey state data; the apparatus further comprises:
the sending module is used for sending the hotkey value code and the hotkey state data to the hotkey driving subsystem through the embedded controller if the target hotkey is a switch type hotkey; if the target hotkey is a hotkey of a non-switching type, the hotkey value code is sent to the hotkey driving subsystem through the embedded controller;
Correspondingly, the execution module is further specifically configured to:
under the condition that only the hotkey key value code is received by the hotkey driving subsystem, determining an operation corresponding to the hotkey value code, and executing the corresponding operation; and under the condition that the hotkey driving subsystem receives the hotkey value code and the hotkey state data, determining the operation corresponding to the hotkey value code under the hotkey state indicated by the hotkey state data, and executing the corresponding operation.
In a third aspect, an electronic device is provided, comprising:
one or more processors; and
one or more machine readable media having instructions stored thereon, which when executed by the one or more processors, cause the electronic device to perform the event processing method.
In a fourth aspect, one or more machine readable media are provided having instructions stored thereon that, when executed by one or more processors, cause the processors to perform the event processing method.
In an embodiment of the present invention, the method includes: under the condition that a hot key triggering event is detected, hot key information of a target hot key triggered by the hot key triggering event is obtained; the hotkey information comprises hotkey scanning codes of target hotkeys; determining a hotkey value code corresponding to the hotkey scanning code according to the hotkey scanning code of the target hotkey and a hotkey corresponding table obtained from preset software by a hotkey driving program, and executing the operation indicated by the corresponding hotkey value code; the hot key driving program is independent of the preset software, the hot key correspondence table is used for representing the correspondence between the hot key scanning codes and the hot key value codes, the hot key correspondence table is set according to the hot key layout of the electronic equipment, and the hot key correspondence tables corresponding to different hot key layouts are different. According to the invention, the hotkey corresponding table is set according to the hotkey layout of the electronic equipment, so that the hotkey corresponding table can accurately represent the current hotkey layout. And meanwhile, separating the hotkey correspondence table from the hotkey driver, and processing the hotkey triggering event by the hotkey driver by using the hotkey correspondence table acquired from preset software independent of the hotkey driver. Thus, the hot key layout can be adapted without adding or modifying a hot key driver to different hot key layouts, the hot key trigger event can be processed for different hot key layouts based on the same hot key driver by setting a hot key corresponding table corresponding to the hot key layout in preset software, and the adaptability of the hot key driver can be improved, and the maintenance cost can be reduced.
The foregoing description is only an overview of the present invention, and is intended to be implemented in accordance with the teachings of the present invention in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present invention more readily apparent.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
FIG. 1 is a flow chart of steps of a method for event processing according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps of another event processing method according to an embodiment of the present invention;
FIG. 3 is a system architecture diagram of an event processing method according to an embodiment of the present invention;
fig. 4 is a block diagram of an event processing device according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
The embodiment of the invention provides an event processing method, an event processing device, electronic equipment and a readable medium, which are used for solving the problems that in the prior art, corresponding hot key drivers are often required to be added or modified aiming at different hot key layouts, so that the suitability of the hot key drivers is poor and the maintenance cost is high.
Fig. 1 is a flowchart of steps of a method for processing an event according to an embodiment of the present invention, as shown in fig. 1, the method may include:
step 101, under the condition that a hotkey triggering event is detected, hotkey information of a target hotkey triggered by the hotkey triggering event is obtained, wherein the hotkey information comprises hotkey scanning codes of the target hotkey.
In the embodiment of the invention, the hot key can be called a shortcut key or a fast key, and the hot key refers to a key used for completing a specific operation in the keyboard. For example, a "ctrl" key, a "Caps Lock" key, and so forth. A hotkey triggering event may be generated when a hotkey is triggered, for example, when the hotkey is pressed by a user. For example, the detection of a hotkey triggering event may be confirmed upon detecting that a hotkey is pressed.
Further, the hot key specifically triggered by the hot key triggering event is the target hot key. By way of example, assuming that a user presses the "Caps Lock" key to generate a hotkey triggering event, the pressed "Caps Lock" key is the target hotkey. The hotkey information of the target hotkey may be used to characterize the particular hotkey that is activated, and the hotkey information may include a hotkey scan code. The hotkey scan code may be an identifier that is output by an embedded controller (Embedded Controller, EC) in the electronic device for a hotkey when the hotkey is pressed on the keyboard. Accordingly, when the hot key information of the target hot key triggered by the hot key triggering event is obtained, the hot key identifier output by the EC as the target hot key can be obtained.
In particular, the identification may be an unsigned 8-bit data. When different hotkeys are pressed, the EC outputs different identifications for the hotkeys. Because the ways in which ECs of different devices determine the output identifiers for hotkeys may be different, hotkey scan codes generated by different devices for the same hotkey may be different, so that different devices may correspond to different hotkey layouts.
Step 102, determining a hotkey value code corresponding to the hotkey scanning code according to the hotkey scanning code of the target hotkey and a hotkey corresponding table obtained from preset software by a hotkey driving program, and executing the operation indicated by the corresponding hotkey value code.
Among them, the hotkey driver may be used to enable the electronic device to perform an operation through hotkeys, and is a special program for communicating between an Operating System (OS) and a hardware layer. The hotkey correspondence table is obtained from preset software of the electronic equipment, is set according to hotkey layout of the electronic equipment, and is used for representing a correspondence between hotkey scanning codes and hotkey value codes, wherein the hotkey scanning codes are used for identifying hotkeys, and the hotkey value codes are used for indicating triggered operations. The hotkey correspondence table may be considered as a concrete expression form of hotkey layout, and hotkey correspondence tables corresponding to different hotkey layouts are different. The hot key layout is used for representing the operation triggered by the corresponding hot keys defined in the electronic device, the hot key driver is independent of the preset software, and the preset software can be software other than the hot key driver.
It should be noted that, the hotkey key code may also be referred to as a hotkey key, and the hotkey key code may be a key code supported by an operating system, and different hotkey code may indicate different operations. The key value code supported by the operating system and the indicated operation thereof can be set when the operating system is designed.
In this embodiment, when determining the hotkey value code corresponding to the hotkey scanning code according to the hotkey scanning code of the target hotkey and the preset hotkey correspondence table, the hotkey scanning code of the target hotkey may be directly compared with each hotkey scanning code in the hotkey correspondence table, and the hotkey value code corresponding to the hotkey scanning code matched with the hotkey scanning code of the target hotkey may be determined as the hotkey value code corresponding to the hotkey scanning code of the target hotkey. Further, when the operation indicated by the corresponding hotkey key code is executed, the operation indicated by the hotkey key code in the operating system can be determined, and then the operation is executed. For example, assuming that the operation indicated by the hotkey key code is to mute the device, the operation of muting the device is performed. According to the embodiment of the invention, the hotkey corresponding table is set according to the hotkey layout of the electronic equipment, so that the hotkey corresponding table can accurately represent the current hotkey layout. And meanwhile, separating the hotkey correspondence table from the hotkey driver, and processing the hotkey triggering event by the hotkey driver by using the hotkey correspondence table acquired from preset software independent of the hotkey driver. Thus, the hot key layout can be adapted without adding or modifying a hot key driver to different hot key layouts, the hot key trigger event can be processed for different hot key layouts based on the same hot key driver by setting a hot key corresponding table corresponding to the hot key layout in preset software, and the adaptability of the hot key driver can be improved, and the realization cost can be reduced.
In summary, the hot key driving method provided by the embodiment of the present invention includes: under the condition that a hot key triggering event is detected, hot key information of a target hot key triggered by the hot key triggering event is obtained; the hotkey information comprises hotkey scanning codes of target hotkeys; determining a hotkey value code corresponding to the hotkey scanning code according to the hotkey scanning code of the target hotkey and a hotkey corresponding table obtained from preset software by a hotkey driving program, and executing the operation indicated by the corresponding hotkey value code; the hot key driving program is independent of the preset software, the hot key correspondence table is used for representing the correspondence between the hot key scanning codes and the hot key value codes, the hot key correspondence table is set according to the hot key layout of the electronic equipment, and the hot key correspondence tables corresponding to different hot key layouts are different. According to the invention, the hotkey corresponding table is set according to the hotkey layout of the electronic equipment, so that the hotkey corresponding table can accurately represent the current hotkey layout. And meanwhile, separating the hotkey correspondence table from the hotkey driver, and processing the hotkey triggering event by the hotkey driver by using the hotkey correspondence table acquired from preset software independent of the hotkey driver. Thus, the hot key layout can be adapted without adding or modifying a hot key driver to different hot key layouts, the hot key trigger event can be processed for different hot key layouts based on the same hot key driver by setting a hot key corresponding table corresponding to the hot key layout in preset software, and the adaptability of the hot key driver can be improved, and the maintenance cost can be reduced.
Optionally, the electronic device in the embodiment of the present invention may be equipped with a basic input output system (Basic Input Output System, BIOS) and an operating system. The hotkey driver may be set in the operating system, and the preset software may be a basic input-output system. Accordingly, fig. 2 is a flowchart of steps of another event processing method according to an embodiment of the present invention, as shown in fig. 2, the method may include:
step 201, in the process of initializing the operating system, the hotkey corresponding table is obtained from the basic input/output system through the hotkey driver, and after the hotkey corresponding table is parsed according to a preset format through the hotkey driver, the hotkey corresponding table is registered in a hotkey driving subsystem corresponding to the hotkey driver in the operating system.
For example, referring to fig. 3, a system architecture diagram of an event processing method according to an embodiment of the present invention is shown, where the system architecture may be implemented based on an electronic device, and the electronic device may include a software layer and a hardware layer, where the software layer includes an operating system and a basic input/output system, and the hardware layer may include a processor and an embedded controller.
The operating system may include a hotkey driver and a hotkey driver subsystem implemented based on the hotkey driver. Specifically, the operating system has a kernel mode, the kernel mode can control hardware resources of the electronic device, and a program running in the kernel mode can access the hardware resources of the hardware layer of the electronic device through system call. In the embodiment of the invention, a hot key driving program and a hot key driving subsystem realized based on the hot key driving program can be operated in a kernel state, wherein the hot key driving program is a special program which can enable the hot key driving subsystem to communicate with a processor in a hardware layer, and the hot key driving program is used for registering a hot key corresponding table provided by a basic input and output system into the hot key driving subsystem, so that the hot key driving subsystem can realize the processing of a hot key triggering event based on the hot key corresponding table through the hot key driving program.
Specifically, during the process of initializing the operating system of the electronic device, the firmware of the basic input/output system often needs to be loaded. Therefore, in the embodiment of the invention, the hotkey correspondence table can be arranged in the basic input/output system, and the hotkey correspondence table is acquired from the basic input/output system by the hotkey driver. Specifically, when the hotkey corresponding table is obtained from the basic input/output system, the basic input/output system may actively output the hotkey corresponding table to the hotkey driver, so as to improve the applicability and stability of the hotkey corresponding table loading process to a certain extent.
Further, the preset format in the embodiment of the invention may be an analysis format matched with the format of the hotkey corresponding table, so that the hotkey corresponding table can be ensured to be successfully analyzed according to the preset format, and an analysis result is obtained. Optionally, the hotkey correspondence table in the embodiment of the present invention may further define hotkey indexes corresponding to different hotkeys, where the hotkey correspondence table may include at least one table entry, and one table entry may include a hotkey index, and a hotkey scan code and a hotkey value code corresponding to the hotkey index. For example, assuming that there are N hotkeys, N entries may be included in the hotkey correspondence table, each consisting of three elements of a hotkey index, a hotkey scan code, and a hotkey value code. Each entry may correspondingly represent a hotkey. For example, the table entry corresponding to the nth hotkey may include a hotkey index of the nth hotkey, a hotkey scan code of the nth hotkey, and a hotkey value code corresponding to the nth hotkey, where the operation indicated by the hotkey value code corresponding to the nth hotkey is an operation required to be triggered by the nth hotkey.
Specifically, the hotkey index may also be called hotkey identification, and may be used to uniquely identify one hotkey, where the hotkey index may be any integer greater than 0, and the hotkey indexes of different hotkeys are different. Accordingly, when registering, each entry in the parsed hotkey corresponding table can be registered in the hotkey driving subsystem in sequence according to the hotkey index. Therefore, by setting the hotkey index, when the hotkey corresponding table is registered, each table item in the hotkey corresponding table can be orderly registered according to the hotkey index, and the registration order can be ensured. Further, the hotkey correspondence table may further include a number of entries, where the number of entries may be used to represent a specific number of entries contained in the hotkey correspondence table. Accordingly, the completion of registration can be confirmed in the case where the number of registered entries reaches the number of entries set in the hotkey correspondence table. Thus, whether the registration is completed can be conveniently confirmed through the set item number.
Step 202, registering a method function for processing the hotkey triggering event into the hotkey driving subsystem through the hotkey driving program.
In the embodiment of the invention, the method function for processing the hot key triggering event can be pre-established, and the hot key driving program registers the method function into the hot key driving subsystem, so that the hot key driving subsystem subsequently has the function of processing the hot key triggering event according to the method function. Specifically, the method function may be registered by assigning an execution address entry of the method function to the hotkey driving subsystem, so as to facilitate subsequent call. The hotkey drive subsystem may be embodied as an Input subsystem. Since hot key-triggered operations often involve control of various components of the device, such as controlling the brightness of a display screen, controlling the brightness of a touch screen of the device, controlling the speaker silence of the device, and so forth. The Input subsystem can be used for realizing an application layer between the software layer and each component, so that the hot key driving subsystem can successfully receive hot key triggering events Input by the keyboard component and communicate with other components to control the components to execute hot key triggering operation. For example, a mute instruction is sent to the speaker to control the speaker to mute.
Step 203, obtaining hot key information of a target hot key triggered by the hot key triggering event; the hotkey information includes hotkey scan codes of the target hotkeys.
Optionally, the hotkey information may further include hotkey status data, that is, the hotkey information may be composed of hotkey status data and hotkey scan codes. The hot key information may be acquired by an embedded controller disposed in the electronic device, the hot key state data may represent a switching state of the hot key, and the hot key state data may include state data representing that the hot key is in an on state and state data representing that the hot key is in an off state.
Further, the hotkey state data is valid only for the hotkey of the switch type, and optionally, the embodiment of the present invention may further transfer hotkey information to the hotkey driving subsystem for use by the hotkey driving subsystem by performing the following steps:
and step A, if the target hotkey is a switch type hotkey, transmitting the hotkey value code and the hotkey state data to the hotkey driving subsystem through the embedded controller.
And B, if the target hotkey is a hotkey of a non-switching type, transmitting the hotkey value code to the hotkey driving subsystem through the embedded controller.
Specifically, in the embodiment of the present invention, the switch type of the target hotkey may be determined first, for example, the key name of the target hotkey may be compared with a preset key name list of the switch type hotkey, and if there is a key name matching with the key name of the target hotkey in the list, it may be determined that the target hotkey is the switch type hotkey. Otherwise, if there is no key name in the list that matches the key name of the target hotkey, it may be determined that the target hotkey is a hotkey of a non-switching type. In the embodiment of the invention, the type of the target hot key is judged, the hot key value code and the hot key state data are simultaneously reported under the condition that the target hot key is a hot key of a switch type, and only the hot key value code is reported under the condition that the target hot key is a hot key of a non-switch type. Thus, unnecessary reporting operation can be avoided under the condition that the hot key state data is invalid, and further processing resources are saved.
Step 204, calling the method function through the hotkey driving subsystem, and matching the hotkey scanning code of the target hotkey with the hotkey corresponding table according to the method function to determine a hotkey code value corresponding to the hotkey scanning code; and executing the operation indicated by the corresponding hotkey key code value.
Optionally, the performing the operation indicated by the corresponding hotkey key value in this step may include:
substep (1): and under the condition that only the hotkey key value code is received by the hotkey driving subsystem, determining the operation corresponding to the hotkey value code, and executing the corresponding operation.
Substep (2): and under the condition that the hotkey driving subsystem receives the hotkey value code and the hotkey state data, determining the operation corresponding to the hotkey value code under the hotkey state indicated by the hotkey state data, and executing the corresponding operation.
Specifically, if the hotkey driving subsystem only receives the hotkey key value code, it can be determined that the target hotkey is a hotkey of a non-switching type, and the on-off state of the hotkey does not affect the operation to be executed. If the hotkey driving subsystem receives the hotkey value code and the hotkey state data, it can be determined that the target hotkey is a switch type hotkey, and the switch state of the hotkey can affect the operation to be executed. Thus, in the first case, the hotkey drive subsystem may directly determine and perform the operation corresponding to the hotkey value code. In the second case, the hotkey driving subsystem may determine, according to the hotkey state indicated by the hotkey state data, an operation corresponding to the hotkey value code in the hotkey state, and execute the corresponding operation. For example, if in the open state, the operation corresponding to the hotkey key value code is an open uppercase, in the closed state, the operation corresponding to the hotkey value code is a close uppercase, and the hotkey state indicated by the hotkey state data received by the hotkey driving subsystem is an open state, then the operation of opening the uppercase may be performed. In the embodiment of the invention, the hot key driving subsystem can execute corresponding operation in a targeted manner according to the specific content of the received hot key information, so that the accuracy of executing the operation can be ensured.
Optionally, the event processing method in the embodiment of the present invention may further include:
and C, under the condition that the hot key layout of the electronic equipment is changed, generating a new hot key correspondence table according to the hot key scanning codes of all hot keys in the changed hot key layout and the operation expected to trigger the hot key scanning codes.
For example, a change in the hot key layout of an electronic device may be due to a replacement of a keyboard assembly to which the electronic device is connected. The specific value of the hotkey scanning code of each hotkey in the changed hotkey layout can be determined by an embedded controller of the electronic equipment, and the expected triggering operation of each hotkey in the changed hotkey layout can be set according to actual requirements. Alternatively, in the embodiment of the present invention, the following substeps may be implemented:
substep (3): and determining the hotkey value code corresponding to the operation expected to trigger by each hotkey in the changed hotkey layout according to the corresponding relation between the hotkey value code supported by the operating system of the electronic equipment and the operation.
Substep (4): and establishing a corresponding relation between the hot key scanning codes of all hot keys in the changed hot key layout and the hot key value codes corresponding to the hot key scanning codes to obtain the new hot key corresponding table.
Specifically, the correspondence between the hotkey key value code supported by the operating system of the electronic device and the operation may be obtained from a configuration file of the operating system. After the corresponding relation is obtained, the hotkey key value codes corresponding to the operations expected to be triggered in the corresponding relation can be searched in sequence. Further, after the search is completed, the corresponding relation between the hotkey scanning codes of each hotkey and the hotkey Value codes corresponding to the hotkey scanning codes in the changed hotkey layout can be established according to the form of Key-Value, so that a new hotkey corresponding table is obtained.
In the embodiment of the invention, the corresponding hotkey value codes of the operation expected to be triggered by each hotkey in the changed hotkey layout are determined by combining the corresponding relation between the hotkey value codes and the operation supported by the operating system, and a new hotkey corresponding table is established. The method and the device can ensure that the established new hot key corresponding table can be adapted to the operating system of the current electronic equipment, and further ensure that the subsequent operation can be triggered normally based on the new hot key corresponding table. Meanwhile, the changed hot key layout can be accurately represented through the established new hot key corresponding table, so that after the hot key layout is changed, the new hot key layout can be adapted through the establishment of the new hot key corresponding table.
And D, defining the new hotkey corresponding table to the preset software.
In the embodiment of the invention, under the condition that the hot key layout is changed, a hot key driver is not required to be added or modified, and only a new hot key corresponding table is required to be redefined into preset software. The original hot key driver processes the hot key trigger event based on the new hot key corresponding table according to the original processing logic, so that the hot key trigger event can be processed normally by adapting to the new hot key layout. Therefore, the adaptation capability of the hot key driver to hardware can be improved, the compatibility of the hot key driver is improved, frequent change of the hot key driver is avoided, and the operation and maintenance cost of the hot key driver is reduced. Meanwhile, since the hotkey driver is arranged in the operating system, in the embodiment of the invention, the hotkey correspondence table is arranged in the basic input/output system, so that under the condition of updating the hotkey correspondence table for adapting to the hotkey layout, the modification of the operating system can be avoided, and the stability of the operating system is further ensured.
Optionally, in the embodiment of the present invention, a script file may be generated according to the new hotkey correspondence table; and adding the script file into a basic input and output system, and compiling the script file to realize the definition of the new hotkey corresponding table to the preset software. Specifically, a script file may be generated according to the content of the new hotkey correspondence table, and the script file may characterize the content of the new hotkey correspondence table. Further, by compiling the script file, a new hotkey correspondence table may be caused to be registered in the basic input output system. Because the time required for compiling the script file is short and the operation is convenient, in the embodiment of the invention, the definition of the new hotkey corresponding table in the basic input and output system is realized in the form of the script file by generating the script file, and the efficiency of defining the new hotkey corresponding table can be improved. It should be noted that, in the embodiment of the present invention, the previous hotkey correspondence table may be registered in the same manner, which is not described herein again. Meanwhile, after a new hotkey corresponding table is defined in the basic input/output system, the previous hotkey corresponding table can be deleted, so that the occupation of the system is reduced.
In summary, according to the hotkey driving method provided by the embodiment of the invention, the hotkey correspondence table is set according to the hotkey layout of the electronic device, so that the hotkey correspondence table can accurately represent the current hotkey layout. And meanwhile, separating the hotkey correspondence table from the hotkey driver, and processing the hotkey triggering event by the hotkey driver by using the hotkey correspondence table acquired from preset software independent of the hotkey driver. Thus, the hot key layout can be adapted without adding or modifying a hot key driver to different hot key layouts, the hot key trigger event can be processed for different hot key layouts based on the same hot key driver by setting a hot key corresponding table corresponding to the hot key layout in preset software, and the adaptability of the hot key driver can be improved, and the maintenance cost can be reduced.
Fig. 4 is a block diagram of an event processing device according to an embodiment of the present invention, including:
an obtaining module 401, configured to obtain, when a hotkey triggering event is detected, hotkey information of a target hotkey triggered by the hotkey triggering event, where the hotkey information includes a hotkey scan code of the target hotkey;
an execution module 402, configured to determine, by using a hotkey driver, a hotkey value code corresponding to the hotkey scan code according to the hotkey scan code of the target hotkey and a hotkey correspondence table obtained from preset software, and execute an operation indicated by the corresponding hotkey value code;
The hotkey driver is independent of the preset software, the hotkey correspondence table is used for representing the correspondence between hotkey scanning codes and hotkey value codes, and the hotkey correspondence table is set according to hotkey layout of the electronic equipment, and hotkey correspondence tables corresponding to different hotkey layouts are different.
Optionally, the apparatus further includes:
the generation module is used for generating a new hotkey corresponding table according to hotkey scanning codes of all hotkeys in the changed hotkey layout and the expected triggering operation of the hotkey scanning codes under the condition that the hotkey layout of the electronic equipment is changed;
and the definition module is used for defining the new hotkey corresponding table to the preset software.
Optionally, the definition module is specifically configured to:
generating a script file according to the new hotkey corresponding table;
and adding the script file into a basic input and output system, and compiling the script file to define the new hotkey corresponding table to the preset software.
Optionally, different hotkey value codes correspond to different operations; the generating module is specifically configured to:
according to the corresponding relation between the hotkey value codes supported by the operating system and the operation, determining the hotkey value code corresponding to the operation expected to trigger by each hotkey in the changed hotkey layout;
And establishing a corresponding relation between the hot key scanning codes of all hot keys in the changed hot key layout and the hot key value codes corresponding to the hot key scanning codes to obtain the new hot key corresponding table.
Optionally, the electronic device is provided with a basic input/output system and an operating system; the hot key driver is arranged in the operating system, and the preset software is the basic input and output system; the apparatus further comprises:
the initialization module is used for acquiring the hotkey corresponding table from the basic input and output system through the hotkey driver in the process of initializing the operating system, analyzing the hotkey corresponding table according to a preset format through the hotkey driver, and registering the hotkey corresponding table in a hotkey driving subsystem corresponding to the hotkey driver in the operating system;
and the registration module is used for registering a method function for processing the hotkey triggering event into the hotkey driving subsystem through the hotkey driving program.
Optionally, the hotkey driving subsystem is implemented based on the hotkey driver; the execution module 402 is specifically configured to:
calling the method function through the hotkey driving subsystem, and matching the hotkey scanning code of the target hotkey with the hotkey corresponding table according to the method function so as to determine a hotkey code value corresponding to the hotkey scanning code; and executing the operation indicated by the corresponding hotkey key code value.
Optionally, hotkey indexes corresponding to different hotkeys are defined in the hotkey corresponding table;
the hotkey corresponding table comprises at least one table item, and each table item comprises one hotkey index, a hotkey scanning code and a hotkey value code corresponding to the hotkey index.
Optionally, an embedded controller is arranged in the electronic device; the hotkey information also comprises hotkey state data; the apparatus further comprises:
the sending module is used for sending the hotkey value code and the hotkey state data to the hotkey driving subsystem through the embedded controller if the target hotkey is a switch type hotkey; if the target hotkey is a hotkey of a non-switching type, the hotkey value code is sent to the hotkey driving subsystem through the embedded controller;
accordingly, the execution module 402 is further specifically configured to:
under the condition that only the hotkey key value code is received by the hotkey driving subsystem, determining an operation corresponding to the hotkey value code, and executing the corresponding operation; and under the condition that the hotkey driving subsystem receives the hotkey value code and the hotkey state data, determining the operation corresponding to the hotkey value code under the hotkey state indicated by the hotkey state data, and executing the corresponding operation.
In summary, according to the event processing device provided by the embodiment of the invention, the hotkey correspondence table is set according to the hotkey layout of the electronic device, so that the hotkey correspondence table can accurately represent the current hotkey layout. And meanwhile, separating the hotkey correspondence table from the hotkey driver, and processing the hotkey triggering event by the hotkey driver by using the hotkey correspondence table acquired from preset software independent of the hotkey driver. Thus, the hot key layout can be adapted without adding or modifying a hot key driver to different hot key layouts, the hot key trigger event can be processed for different hot key layouts based on the same hot key driver by setting a hot key corresponding table corresponding to the hot key layout in preset software, and the adaptability of the hot key driver can be improved, and the maintenance cost can be reduced.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
Preferably, the embodiment of the invention also provides an electronic device, which comprises one or more processors; and one or more machine readable media having instructions stored thereon, which when executed by the one or more processors, cause the electronic device to perform the event processing method provided by the above embodiments.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements each process of the event processing method provided in the above embodiment, and can achieve the same technical effects, so that repetition is avoided, and no further description is provided herein. Wherein the computer readable storage medium is selected from Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
As will be readily appreciated by those skilled in the art: any combination of the above embodiments is possible, and thus is an embodiment of the present invention, but the present specification is not limited by the text.
The methods provided herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general-purpose systems may also be used with the teachings herein. The required structure for a system constructed with aspects of the present invention will be apparent from the description above. In addition, the present invention is not directed to any particular programming language. It will be appreciated that the teachings of the present invention described herein may be implemented in a variety of programming languages, and the above description of specific languages is provided for disclosure of enablement and best mode of the present invention.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the above description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be construed as reflecting the intention that: i.e., the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the apparatus of the embodiments may be adaptively changed and disposed in one or more apparatuses different from the embodiments. The modules or units or components of the embodiments may be combined into one module or unit or component and, furthermore, they may be divided into a plurality of sub-modules or sub-units or sub-components. Any combination of all features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or units of any method or apparatus so disclosed, may be used in combination, except insofar as at least some of such features and/or processes or units are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings), may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
Various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that some or all of the functions of some or all of the components in the head portrait based image processing method according to embodiments of the present invention may be implemented in practice using a microprocessor or Digital Signal Processor (DSP). The present invention can also be implemented as an apparatus or device program (e.g., a computer program and a computer program product) for performing a portion or all of the methods described herein. Such a program embodying the present invention may be stored on a computer readable medium, or may have the form of one or more signals. Such signals may be downloaded from an internet website, provided on a carrier signal, or provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order. These words may be interpreted as names.

Claims (12)

1. An event processing method, applied to an electronic device, comprising:
under the condition that a hotkey triggering event is detected, hotkey information of a target hotkey triggered by the hotkey triggering event is obtained, wherein the hotkey information comprises hotkey scanning codes of the target hotkey;
Determining a hotkey value code corresponding to the hotkey scanning code according to the hotkey scanning code of the target hotkey and a hotkey corresponding table obtained from preset software by a hotkey driving program, and executing the operation indicated by the corresponding hotkey value code;
the method for determining the hotkey value code corresponding to the hotkey scanning code and executing the operation indicated by the corresponding hotkey value code by the hotkey driving program according to the hotkey scanning code of the target hotkey and a hotkey corresponding table obtained from preset software comprises the following steps:
calling a method function through a hot key driving subsystem, and matching the hot key scanning code of the target hot key with the hot key corresponding table according to the method function so as to determine a hot key code value corresponding to the hot key scanning code; executing the operation indicated by the corresponding hotkey key code value; the method function is used for processing the hotkey triggering event, and the hotkey driving subsystem is registered with the method function by the hotkey driving program;
the hotkey driver is independent of the preset software, the hotkey correspondence table is used for representing the correspondence between hotkey scanning codes and hotkey value codes, and the hotkey correspondence table is set according to hotkey layout of the electronic equipment, and hotkey correspondence tables corresponding to different hotkey layouts are different.
2. The method according to claim 1, wherein the method further comprises:
under the condition that the hot key layout of the electronic equipment is changed, generating a new hot key corresponding table according to the hot key scanning codes of all hot keys in the changed hot key layout and the operation expected to be triggered by the hot key scanning codes;
and defining the new hotkey corresponding table to the preset software.
3. The method of claim 2, wherein defining the new hotkey correspondence table to the preset software comprises:
generating a script file according to the new hotkey corresponding table;
and adding the script file into a basic input and output system, and compiling the script file to define the new hotkey corresponding table to the preset software.
4. A method according to any one of claims 1-3, wherein the electronic device is equipped with a basic input output system and an operating system; the hot key driver is arranged in the operating system, and the preset software is the basic input and output system; the method further comprises the steps of:
in the initialization process of the operating system, the hotkey corresponding table is acquired from the basic input and output system through the hotkey driver, and the hotkey corresponding table is analyzed according to a preset format through the hotkey driver and then registered in a hotkey driving subsystem corresponding to the hotkey driver in the operating system;
Registering a method function for processing the hotkey triggering event into the hotkey driving subsystem by the hotkey driver.
5. A method according to any one of claims 1-3, wherein hotkey indexes corresponding to different hotkeys are defined in the hotkey correspondence table;
the hotkey corresponding table comprises at least one table item, and each table item comprises one hotkey index, a hotkey scanning code and a hotkey value code corresponding to the hotkey index.
6. The method of claim 1, wherein the electronic device has an embedded controller disposed therein; the hotkey information also comprises hotkey state data;
after the hot key information of the target hot key triggered by the hot key triggering event is obtained, the method further comprises:
if the target hotkey is a switch type hotkey, the hotkey value code and the hotkey state data are sent to the hotkey driving subsystem through the embedded controller;
if the target hotkey is a hotkey of a non-switching type, the hotkey value code is sent to the hotkey driving subsystem through the embedded controller;
accordingly, the executing the operation indicated by the corresponding hotkey key value includes:
Under the condition that only the hotkey key value code is received by the hotkey driving subsystem, determining an operation corresponding to the hotkey value code, and executing the corresponding operation;
and under the condition that the hotkey driving subsystem receives the hotkey value code and the hotkey state data, determining the operation corresponding to the hotkey value code under the hotkey state indicated by the hotkey state data, and executing the corresponding operation.
7. An event processing apparatus, characterized by being applied to an electronic device, comprising:
the device comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring hot key information of a target hot key triggered by a hot key triggering event under the condition that the hot key triggering event is detected, and the hot key information comprises a hot key scanning code of the target hot key;
the execution module is used for determining a hotkey value code corresponding to the hotkey scanning code according to the hotkey scanning code of the target hotkey and a hotkey corresponding table obtained from preset software through a hotkey driving program, and executing the operation indicated by the corresponding hotkey value code;
the execution module is specifically configured to: calling a method function through a hot key driving subsystem, and matching the hot key scanning code of the target hot key with the hot key corresponding table according to the method function so as to determine a hot key code value corresponding to the hot key scanning code; executing the operation indicated by the corresponding hotkey key code value; the method function is used for processing the hotkey triggering event, and the hotkey driving subsystem is registered with the method function by the hotkey driving program; the hotkey driver is independent of the preset software, the hotkey correspondence table is used for representing the correspondence between hotkey scanning codes and hotkey value codes, and the hotkey correspondence table is set according to hotkey layout of the electronic equipment, and hotkey correspondence tables corresponding to different hotkey layouts are different.
8. The apparatus of claim 7, wherein the apparatus further comprises:
the generation module is used for generating a new hotkey corresponding table according to hotkey scanning codes of all hotkeys in the changed hotkey layout and the expected triggering operation of the hotkey scanning codes under the condition that the hotkey layout of the electronic equipment is changed;
and the definition module is used for defining the new hotkey corresponding table to the preset software.
9. The apparatus according to claim 7 or 8, wherein the electronic device is equipped with a basic input output system and an operating system; the hot key driver is arranged in the operating system, and the preset software is the basic input and output system; the apparatus further comprises:
the initialization module is used for acquiring the hotkey corresponding table from the basic input and output system through the hotkey driver in the process of initializing the operating system, analyzing the hotkey corresponding table according to a preset format through the hotkey driver, and registering the hotkey corresponding table in a hotkey driving subsystem corresponding to the hotkey driver in the operating system;
and the registration module is used for registering a method function for processing the hotkey triggering event into the hotkey driving subsystem through the hotkey driving program.
10. The apparatus of claim 7, wherein the electronic device has an embedded controller disposed therein; the hotkey information also comprises hotkey state data; the apparatus further comprises:
the sending module is used for sending the hotkey value code and the hotkey state data to the hotkey driving subsystem through the embedded controller if the target hotkey is a switch type hotkey; if the target hotkey is a hotkey of a non-switching type, the hotkey value code is sent to the hotkey driving subsystem through the embedded controller;
correspondingly, the execution module is further specifically configured to:
under the condition that only the hotkey key value code is received by the hotkey driving subsystem, determining an operation corresponding to the hotkey value code, and executing the corresponding operation; and under the condition that the hotkey driving subsystem receives the hotkey value code and the hotkey state data, determining the operation corresponding to the hotkey value code under the hotkey state indicated by the hotkey state data, and executing the corresponding operation.
11. An electronic device, comprising:
One or more processors; and one or more machine readable media having instructions stored thereon, which when executed by the one or more processors, cause the electronic device to perform the event processing method of any of claims 1-6.
12. One or more machine readable media having instructions stored thereon that, when executed by one or more processors, cause the processors to perform the event processing method of any of claims 1-6.
CN202010923761.XA 2020-09-04 2020-09-04 Event processing method, device, electronic equipment and readable medium Active CN112068713B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010923761.XA CN112068713B (en) 2020-09-04 2020-09-04 Event processing method, device, electronic equipment and readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010923761.XA CN112068713B (en) 2020-09-04 2020-09-04 Event processing method, device, electronic equipment and readable medium

Publications (2)

Publication Number Publication Date
CN112068713A CN112068713A (en) 2020-12-11
CN112068713B true CN112068713B (en) 2023-12-08

Family

ID=73665555

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010923761.XA Active CN112068713B (en) 2020-09-04 2020-09-04 Event processing method, device, electronic equipment and readable medium

Country Status (1)

Country Link
CN (1) CN112068713B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114780157B (en) * 2022-04-24 2024-06-18 联宝(合肥)电子科技有限公司 System identification method and device, embedded controller and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5973675A (en) * 1996-06-13 1999-10-26 Sharp Kabushiki Kaisha Information processing apparatus
US6323873B1 (en) * 1998-01-28 2001-11-27 Gateway, Inc Computer keyboard display device control
US6429793B1 (en) * 1998-12-03 2002-08-06 International Business Machines Corporation Abstraction of input mapping for keyboards
CN1467610A (en) * 2002-07-10 2004-01-14 群光电子股份有限公司 Interactive keyboard equipment
CN1501238A (en) * 2002-11-18 2004-06-02 神基科技股份有限公司 Apparatus and method for actualizing the hot key function of no-embedded controller by means of software
CN101355365A (en) * 2007-07-27 2009-01-28 佛山市顺德区顺达电脑厂有限公司 Method for detecting and processing scanning code of designable computer keyboard key
CN103000008A (en) * 2012-12-13 2013-03-27 青岛海信宽带多媒体技术有限公司 Method and apparatus for responding remote signals of remote receiving equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5973675A (en) * 1996-06-13 1999-10-26 Sharp Kabushiki Kaisha Information processing apparatus
US6323873B1 (en) * 1998-01-28 2001-11-27 Gateway, Inc Computer keyboard display device control
US6429793B1 (en) * 1998-12-03 2002-08-06 International Business Machines Corporation Abstraction of input mapping for keyboards
CN1467610A (en) * 2002-07-10 2004-01-14 群光电子股份有限公司 Interactive keyboard equipment
CN1501238A (en) * 2002-11-18 2004-06-02 神基科技股份有限公司 Apparatus and method for actualizing the hot key function of no-embedded controller by means of software
CN101355365A (en) * 2007-07-27 2009-01-28 佛山市顺德区顺达电脑厂有限公司 Method for detecting and processing scanning code of designable computer keyboard key
CN103000008A (en) * 2012-12-13 2013-03-27 青岛海信宽带多媒体技术有限公司 Method and apparatus for responding remote signals of remote receiving equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
空管系统中键盘快捷功能的研究与实现;白红利;网络安全技术与应用(第07期);全文 *

Also Published As

Publication number Publication date
CN112068713A (en) 2020-12-11

Similar Documents

Publication Publication Date Title
US20050204343A1 (en) Automated test system for testing an application running in a windows-based environment and related methods
US9858057B2 (en) Methods and apparatus to validate translated guest code in a dynamic binary translator
US20110029816A1 (en) Personal computer diagnostic test before executing operating system
CN103150506A (en) Method and device for detecting rogue program
CN105678160B (en) For providing the system and method for the access to the original routine of boot driver
CN114721719B (en) Method and system for containerized deployment of heterogeneous applications in cluster
CN112198820A (en) Interrupt service implementation method, device, equipment and storage medium
CN112068713B (en) Event processing method, device, electronic equipment and readable medium
CN107908679B (en) Script statement conversion method and device and computer readable storage medium
US11449617B2 (en) Information processing device, information processing method, and storage medium
CN113010197B (en) Application silence upgrading method, system, terminal equipment and storage medium
CN109145598B (en) Virus detection method and device for script file, terminal and storage medium
CN111831395B (en) Behavior monitoring analysis method and system
WO2012027886A1 (en) Platform specific application test
CN111931161B (en) RISC-V processor based chip verification method, apparatus and storage medium
CN109426546B (en) Application starting method and device, computer storage medium and equipment
CN115794752A (en) Data processing method, device, equipment, medium and product
JPH05158672A (en) Program start selection system using menu
CN111008147B (en) Application program testing method, terminal and computer readable storage medium
CN112416444A (en) Board switching control method, device, equipment and medium
CN111897726A (en) Abnormity positioning method, abnormity positioning device, storage medium and mobile terminal
US20190294256A1 (en) Information processing apparatus and computer program product
CN115220978B (en) Chip starting method and device including online debugging mode, chip and equipment
CN110928754A (en) Operation and maintenance auditing method, device, equipment and medium
CN113138806B (en) Processing method and device for mobile application running environment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100095 Building 2, Longxin Industrial Park, Zhongguancun environmental protection technology demonstration park, Haidian District, Beijing

Applicant after: Loongson Zhongke Technology Co.,Ltd.

Address before: 100095 Building 2, Longxin Industrial Park, Zhongguancun environmental protection technology demonstration park, Haidian District, Beijing

Applicant before: LOONGSON TECHNOLOGY Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant