CN113672299A - BIOS setting method, device, storage medium and device based on handle - Google Patents

BIOS setting method, device, storage medium and device based on handle Download PDF

Info

Publication number
CN113672299A
CN113672299A CN202110888581.7A CN202110888581A CN113672299A CN 113672299 A CN113672299 A CN 113672299A CN 202110888581 A CN202110888581 A CN 202110888581A CN 113672299 A CN113672299 A CN 113672299A
Authority
CN
China
Prior art keywords
handle
key operation
bios
mapping
equipment
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.)
Pending
Application number
CN202110888581.7A
Other languages
Chinese (zh)
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.)
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology Co 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 China Mobile Communications Group Co Ltd, China Mobile Hangzhou Information Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202110888581.7A priority Critical patent/CN113672299A/en
Publication of CN113672299A publication Critical patent/CN113672299A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/24Constructional details thereof, e.g. game controllers with detachable joystick handles
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/90Constructional details or arrangements of video game devices not provided for in groups A63F13/20 or A63F13/25, e.g. housing, wiring, connections or cabinets
    • A63F13/92Video game devices specially adapted to be hand-held while playing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a BIOS setting method, device, storage medium and device based on a handle, wherein the method comprises the following steps: receiving a handle key operation transmitted by handle equipment, mapping the handle key operation to a corresponding keyboard key operation, judging whether to enter a BIOS setting mode according to the keyboard key operation, if so, entering the BIOS setting mode, and setting the BIOS according to the BIOS setting operation transmitted by the handle equipment; according to the invention, the BIOS setting mode can be directly entered according to the key operation of the handle, and the BIOS setting is carried out according to the BIOS setting operation transmitted by the handle equipment, so that the requirement of a user for carrying out the BIOS setting through the handle is met, and the user experience is improved.

Description

BIOS setting method, device, storage medium and device based on handle
Technical Field
The invention relates to the technical field of terminal equipment, in particular to a BIOS setting method, equipment, a storage medium and a device based on a handle.
Background
At present, a Basic Input Output System (BIOS) is often set by a mouse, a keyboard, or a special operation panel. However, in the above manner, when the game player operates the device using the handle, the user must change the keyboard and mouse back to enter the BIOS setting mode to adjust the setting, which results in poor user experience.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a BIOS setting method, equipment, a storage medium and a device based on a handle, and aims to solve the technical problem that in the prior art, when a game player uses the handle to operate equipment, the game player only needs to change a keyboard and a mouse to enter a BIOS setting mode to adjust the setting, so that the user experience is poor.
In order to achieve the above object, the present invention provides a BIOS setting method based on a handle, including the steps of:
receiving handle key operation transmitted by handle equipment;
mapping the handle key operation to a corresponding keyboard key operation;
judging whether to enter a BIOS setting mode according to the keyboard key operation;
and if so, entering the BIOS setting mode, and setting the BIOS according to the BIOS setting operation transmitted by the handle equipment.
Optionally, the step of receiving a handle key operation transmitted by the handle device includes:
acquiring equipment information, and detecting whether the equipment is connected with the handle equipment or not according to the equipment information;
when the connection with the handle equipment is detected, loading equipment drive corresponding to the handle equipment;
and receiving the handle key operation transmitted by the handle equipment based on the equipment drive.
Optionally, the step of acquiring device information and detecting whether to connect to the handle device according to the device information includes:
configuring an initial interface by loading a preset driver to obtain a target interface;
and acquiring equipment information through the target interface, and detecting whether the equipment is connected with the handle equipment or not according to the equipment information.
Optionally, before the step of mapping the handle key operation to a corresponding keyboard key operation, the method further includes:
acquiring BIOS version information and model information of the handle equipment;
determining key operation mapping according to the BIOS version information and the model information;
correspondingly, the mapping the handle key operation to the corresponding keyboard key operation includes:
and mapping the handle key operation to a corresponding keyboard key operation based on the key operation mapping.
Optionally, if so, after the step of entering the BIOS setting mode and performing BIOS setting according to the BIOS setting operation transmitted by the handle device, the method further includes:
after exiting the BIOS setting mode, detecting whether to enter an operating system;
and if so, entering the operating system and deleting the key operation mapping.
Optionally, if yes, entering the operating system, and deleting the key operation mapping, where the step includes:
if yes, entering the operating system, and obtaining a restart key operation mapping;
and determining a key operation mapping to be deleted according to the restart key operation mapping and the key operation mapping, and deleting the key operation mapping to be deleted.
Optionally, after the step of determining a to-be-deleted key operation map according to the restart key operation map and the key operation map, and deleting the to-be-deleted key operation map, the method further includes:
when a handle restart key operation transmitted by the handle equipment is received, mapping the handle restart key operation to a corresponding keyboard restart key operation based on the restart key operation mapping;
and restarting according to the keyboard restarting key operation.
In addition, to achieve the above object, the present invention further provides a handle-based BIOS setting device, which includes a memory, a processor, and a handle-based BIOS setting program stored in the memory and executable on the processor, wherein the handle-based BIOS setting program is configured to implement the handle-based BIOS setting method as described above.
In addition, to achieve the above object, the present invention further provides a storage medium having a handle-based BIOS setting program stored thereon, wherein the handle-based BIOS setting program, when executed by a processor, implements the handle-based BIOS setting method as described above.
In addition, to achieve the above object, the present invention further provides a handle-based BIOS setting apparatus, including: the device comprises a receiving module, a mapping module, a judging module and a setting module;
the receiving module is used for receiving the handle key operation transmitted by the handle equipment;
the mapping module is used for mapping the handle key operation into a corresponding keyboard key operation;
the judging module is used for judging whether to enter a BIOS setting mode according to the keyboard key operation;
and the setting module is used for entering the BIOS setting mode if the BIOS setting mode is the set BIOS setting mode, and carrying out BIOS setting according to the BIOS setting operation transmitted by the handle equipment.
The invention discloses a method for receiving handle key operation transmitted by handle equipment, which comprises the steps of mapping the handle key operation to corresponding keyboard key operation, judging whether to enter a BIOS setting mode according to the keyboard key operation, if so, entering the BIOS setting mode, and setting BIOS according to the BIOS setting operation transmitted by the handle equipment; according to the invention, the BIOS setting mode can be directly entered according to the key operation of the handle, and the BIOS setting is carried out according to the BIOS setting operation transmitted by the handle equipment, so that the requirement of a user for carrying out the BIOS setting through the handle is met, and the user experience is improved.
Drawings
FIG. 1 is a schematic diagram of a configuration of a handle-based BIOS setting device of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of a method for setting BIOS based on handle according to the present invention;
FIG. 3 is a diagram of a handle device according to an embodiment of the BIOS setting method;
FIG. 4 is a diagram illustrating a handle key mapped as a keyboard key according to an embodiment of the BIOS setting method based on a handle;
FIG. 5 is a flowchart illustrating a second embodiment of the BIOS setting method based on handle according to the present invention;
FIG. 6 is a flowchart illustrating a third embodiment of the BIOS setting method based on handle according to the present invention;
fig. 7 is a block diagram illustrating a first embodiment of a BIOS setup device based on a handle according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a BIOS setting device based on a handle in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the handle-based BIOS setting apparatus may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), and the optional user interface 1003 may further include a standard wired interface and a wireless interface, and the wired interface for the user interface 1003 may be a USB interface in the present invention. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (Wi-Fi) interface). The Memory 1005 may be a Random Access Memory (RAM) or a Non-volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in FIG. 1 does not constitute a limitation of the handle-based BIOS setup device, and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
As shown in FIG. 1, memory 1005, identified as one type of computer storage medium, may include an operating system, a network communication module, a user interface module, and a handle-based BIOS setup program.
In the handle-based BIOS setting apparatus shown in fig. 1, the network interface 1004 is mainly used for connecting to a background server and performing data communication with the background server; the user interface 1003 is mainly used for connecting user equipment; the BIOS setting device based on the handle calls a BIOS setting program based on the handle stored in the memory 1005 through the processor 1001 and executes the BIOS setting method based on the handle according to the embodiment of the present invention.
Based on the hardware structure, the embodiment of the BIOS setting method based on the handle is provided.
Referring to fig. 2, fig. 2 is a flowchart illustrating a first embodiment of the method for setting BIOS based on handle according to the present invention.
Step S10: and receiving the handle key operation transmitted by the handle equipment.
It should be understood that the main body of the method of this embodiment may be a terminal device with data processing, network communication and program running functions, such as a computer, a television or a mobile phone, or other electronic devices capable of implementing the same or similar functions, and this embodiment is not limited thereto. In this embodiment and other embodiments, a computer is taken as an example for explanation.
It should be noted that the Basic Input Output System (BIOS) is a set of programs that are solidified on a rom chip on a motherboard of a computer, and stores the most important Basic Input and Output programs of the computer, the power-on self-test program, the System self-start program, and the like. The primary function of the BIOS is to provide the lowest level, most direct hardware setup and control for the computer. In the starting process, the BIOS loads a mouse and a keyboard driver through a driver retrieval and dispatcher in a DXE stage, so that a user is supported to operate BIOS setting items by using the keyboard and the mouse.
The handle device can be an input device of a computer and is connected with the computer through a USB interface. The control of the simulated characters and the like on the computer can be realized by operating the buttons of the handle equipment.
For ease of understanding, the description will be made with reference to fig. 3, but this scheme is not limited thereto. Fig. 3 is a schematic view of a handle device comprising directional keys: up, down, left, right, operation keys: x, Y, A, B, function keys: start, Menu. Here, the key S indicates a function key Start, and the key M indicates a function key Menu.
Note that the handle key operation may be an operation performed by the user through the handle key. For example, a user may issue a handle key operation by pressing a direction key, an operation key, and/or a function key on the handle device.
Step S20: and mapping the handle key operation to a corresponding keyboard key operation.
It should be understood that mapping the handle key operation to a corresponding keyboard key operation may be determining a pressed handle key from the handle key operation, mapping the pressed handle key to a pressed keyboard key, and determining a keyboard key operation from the pressed keyboard key.
For ease of understanding, the description will be made with reference to fig. 4, but this scheme is not limited thereto. Fig. 4 is a schematic diagram of mapping a handle key to a keyboard key, where the upper, lower, left, and right of the handle key correspond to the upper, lower, left, and right of the keyboard key, the handle key M corresponds to the keyboard key General Help, the handle key S corresponds to the keyboard key Enter Setup, the handle key X corresponds to the keyboard keys Save & Exit Setup, the handle key Y corresponds to the keyboard key Exit Saving, the handle key a corresponds to the keyboard key ESC, and the handle key B corresponds to the keyboard key Enter.
Step S30: and judging whether to enter a BIOS setting mode according to the keyboard key operation.
It should be noted that the BIOS setting mode may be a mode in which BIOS setting is set.
It should be understood that the BIOS setup mode may be entered by a preset keyboard key operation. For example, after the user presses the Delete, F1, or F2 key, the BIOS setup mode is entered. Therefore, the step of judging whether to enter the BIOS setting mode according to the keyboard key operation can be to match the keyboard key operation with a preset keyboard key operation and judge whether to enter the BIOS setting mode according to a matching result.
It can be understood that, when the matching is successful, the keyboard key operation is the preset keyboard key, and at this time, the BIOS setting mode is entered; when the matching fails, the keyboard key operation is not the preset keyboard key, and at the moment, the BIOS setting mode is not entered.
Step S40: and if so, entering the BIOS setting mode, and setting the BIOS according to the BIOS setting operation transmitted by the handle equipment.
It should be noted that the BIOS setting operation may be a setting operation performed by a user through a handle button. For example, the user may issue a BIOS setup operation by pressing a direction key, an operation key, and/or a function key on the handle device.
It is to be understood that the performing of the BIOS setting according to the BIOS setting operation transmitted by the handle device may be mapping the BIOS setting operation to a keyboard BIOS setting operation, and performing the BIOS setting based on the keyboard BIOS setting operation.
In the first embodiment, the method comprises the steps of receiving a handle key operation transmitted by a handle device, mapping the handle key operation to a corresponding keyboard key operation, judging whether to enter a BIOS setting mode according to the keyboard key operation, if so, entering the BIOS setting mode, and setting a BIOS according to the BIOS setting operation transmitted by the handle device; because can directly get into BIOS setting mode according to handle button operation in this embodiment to carry out BIOS setting according to the BIOS setting operation of handle equipment transmission, thereby satisfied the demand that the user carries out BIOS setting through the handle, improved user experience.
Referring to fig. 5, fig. 5 is a flowchart illustrating a second embodiment of the method for setting BIOS based on the handle according to the present invention, and the second embodiment of the method for setting BIOS based on the handle according to the present invention is proposed based on the first embodiment illustrated in fig. 2.
In the second embodiment, the step S10 includes:
step S101: and acquiring equipment information, and detecting whether the equipment is connected with the handle equipment or not according to the equipment information.
It should be noted that the device information may be information of an external device, where the external device may be a device connected to the computer through a USB interface.
It should be understood that the acquiring of the device information may be acquiring the device information through a preset interface. Wherein the preset interface can be preset by a user, for example, a USB interface.
It can be understood that detecting whether to connect to the handle device according to the device information may be extracting a device identifier from the device information, determining a device type of the external device according to the device identifier, and determining whether to connect to the handle device according to the device type. Wherein the device identification is used to represent the identity of the device.
Further, in order to improve the reliability of information acquisition, the step S101 includes:
configuring an initial interface by loading a preset driver to obtain a target interface;
and acquiring equipment information through the target interface, and detecting whether the equipment is connected with the handle equipment or not according to the equipment information.
Note that the preset drive may be preset. For example, the USB host controller driver and the USB bus controller driver are set as preset drivers.
The initial interface may also be preset. For example, the USB interface is used as the initial interface.
In specific implementation, for example, in a computer starting process of loading a BIOS firmware conforming to the UEFI standard, the UEFI DXE phase sequentially loads a USB host controller driver and a USB bus controller driver, after the loading is completed, USB device enumeration is performed, the bus controller driver stores device information obtained in the device enumeration process through a USB _ INTERFACE structure, and installs a USB IO protocol for each device, then determines the type of the device, and detects whether to connect to a handle device according to the type of the device.
Step S102: and when the connection with the handle equipment is detected, loading the equipment driver corresponding to the handle equipment.
It should be understood that, in order to receive the information transmitted by the handle device, the device driver corresponding to the handle device needs to be loaded first. Before loading the device driver corresponding to the handle device, the device driver corresponding to the handle device is determined. Determining the device driver corresponding to the handle device may be searching for the device driver corresponding to the handle device through a preset script. Therein, the preset script may be set in advance, for example, gBS- > connectictcontroller () is set as the preset script.
Step S103: and receiving the handle key operation transmitted by the handle equipment based on the equipment drive.
It can be understood that after the device driver corresponding to the handle device is loaded, the computer may establish an I/O connection with the handle device to receive information transmitted by the handle device.
Note that the handle key operation may be an operation performed by the user through the handle key. For example, the user may issue a handle key operation by pressing a direction key, an operation key, or a function key on the handle device.
The second embodiment is implemented by acquiring device information, detecting whether the device is connected with the handle device according to the device information, loading the device driver corresponding to the handle device when the connection with the handle device is detected, and receiving the handle key operation transmitted by the handle device based on the device driver, so that the driver configuration can be performed in advance to receive the key input of the handle before the operating system is started.
Referring to fig. 6, fig. 6 is a flowchart illustrating a third embodiment of the method for setting BIOS based on handle according to the present invention, and the third embodiment of the method for setting BIOS based on handle according to the present invention is proposed based on the first embodiment shown in fig. 2.
In the third embodiment, before the step S20, the method further includes:
step S110: and acquiring BIOS version information and the model information of the handle equipment.
It should be understood that different versions of BIOS may enter the BIOS mode differently and that keys for different models of handles may differ. Therefore, in determining the key operation map, the BIOS version information and the model information of the handle device need to be considered.
It should be noted that the BIOS version information may be information such as a BIOS version number.
Step S120: and determining key operation mapping according to the BIOS version information and the model information.
It can be understood that, the determining the key operation mapping according to the BIOS version information and the model information may be to use the BIOS version information and the model information as reference information and search for the key operation mapping corresponding to the reference information.
Accordingly, the step S20 includes:
step S20': and mapping the handle key operation to a corresponding keyboard key operation based on the key operation mapping.
It should be noted that the key operation map includes a corresponding relationship between the handle key operation and the keyboard key operation. The corresponding relation can be preset by a user according to actual requirements.
It should be appreciated that mapping the handle key operations to corresponding keyboard key operations based on the key operation map may be looking up the keyboard key operations in the key operation map to which the handle key operations correspond.
In the third embodiment, the mapping of the key operation is determined according to the BIOS version information and the model information of the handle device, and the handle key operation is mapped to the corresponding keyboard key operation based on the key operation mapping, so that the BIOS version information and the model information of the handle device can be introduced to map the handle key operation, thereby improving the accuracy of mapping the handle key operation to the corresponding keyboard key operation.
In the third embodiment, after the step S40, the method further includes:
step S50': and after exiting the BIOS setting mode, detecting whether to enter an operating system.
It should be understood that after exiting the BIOS setup mode, it is also necessary to detect whether the operating system is entered to determine whether the user is using the computer normally.
Step S60': and if so, entering the operating system and deleting the key operation mapping.
It is understood that after the user enters the operating system, if the handle key operations are also mapped to corresponding keyboard key operations, the handle may not be used normally. Therefore, the key operation map needs to be deleted, so that the original functions of the handle keys are kept.
Further, it is considered that if all the key operation maps are deleted, the user cannot turn off or restart the computer through the handle device. Therefore, the step S50 includes:
if yes, entering the operating system, and obtaining a restart key operation mapping;
and determining a key operation mapping to be deleted according to the restart key operation mapping and the key operation mapping, and deleting the key operation mapping to be deleted.
It should be noted that the restart key operation map may be a mapping relationship between a handle restart key operation and a keyboard restart key operation. The restart key operation mapping may be preset by a user, for example, the user may set the handle key operation a + B + X + Y and the keyboard key operation Ctrl + Alt + Del as a mapping relationship in advance, and the keyboard key operation Ctrl + Alt + Del may restart or shut down the computer to restart the keyboard, so that the handle key operation a + B + X + Y is a corresponding handle restart key operation.
It is to be understood that the determination of the to-be-deleted key operation map based on the restart key operation map and the key operation map may be such that all key operation maps other than the restart key operation map are regarded as the to-be-deleted key operation map.
Further, after step S50, the method further includes, in order to restart or shut down the computer through the handle device:
when a handle restart key operation transmitted by the handle equipment is received, mapping the handle restart key operation to a corresponding keyboard restart key operation based on the restart key operation mapping;
and restarting according to the keyboard restarting key operation.
In a specific implementation, for example, after a user sequentially presses a + B + X + Y through the handle device, the handle device transmits a handle restart key operation a + B + X + Y to the computer, and the computer maps the handle restart key operation a + B + X + Y to a keyboard restart key operation Ctrl + Alt + Del and restarts according to the keyboard restart key operation Ctrl + Alt + Del.
In the third embodiment, after the BIOS setting mode is exited, whether the operating system is entered is detected, and if so, the operating system is entered, and the key operation mapping is deleted, so that the key operation mapping is deleted when the user normally uses the handle device, and the handle keys maintain the original functions.
In addition, an embodiment of the present invention further provides a storage medium, where a handle-based BIOS setting program is stored on the storage medium, and when the handle-based BIOS setting program is executed by a processor, the handle-based BIOS setting method as described above is implemented.
In addition, referring to fig. 7, an embodiment of the present invention further provides a handle-based BIOS setting apparatus, where the handle-based BIOS setting apparatus includes: the device comprises a receiving module 10, a mapping module 20, a judging module 30 and a setting module 40;
the receiving module 10 is configured to receive a handle key operation transmitted by a handle device.
It should be noted that the Basic Input Output System (BIOS) is a set of programs that are solidified on a rom chip on a motherboard of a computer, and stores the most important Basic Input and Output programs of the computer, the power-on self-test program, the System self-start program, and the like. The primary function of the BIOS is to provide the lowest level, most direct hardware setup and control for the computer. In the starting process, the BIOS loads a mouse and a keyboard driver through a driver retrieval and dispatcher in a DXE stage, so that a user is supported to operate BIOS setting items by using the keyboard and the mouse.
The handle device can be an input device of a computer and is connected with the computer through a USB interface. The control of the simulated characters and the like on the computer can be realized by operating the buttons of the handle equipment.
For ease of understanding, the description will be made with reference to fig. 3, but this scheme is not limited thereto. Fig. 3 is a schematic view of a handle device comprising directional keys: up, down, left, right, operation keys: x, Y, A, B, function keys: start, Menu. Here, the key S indicates a function key Start, and the key M indicates a function key Menu.
Note that the handle key operation may be an operation performed by the user through the handle key. For example, a user may issue a handle key operation by pressing a direction key, an operation key, and/or a function key on the handle device.
The mapping module 20 is configured to map the handle key operation to a corresponding keyboard key operation.
It should be understood that mapping the handle key operation to a corresponding keyboard key operation may be determining a pressed handle key from the handle key operation, mapping the pressed handle key to a pressed keyboard key, and determining a keyboard key operation from the pressed keyboard key.
For ease of understanding, the description will be made with reference to fig. 4, but this scheme is not limited thereto. Fig. 4 is a schematic diagram of mapping a handle key to a keyboard key, where the upper, lower, left, and right of the handle key correspond to the upper, lower, left, and right of the keyboard key, the handle key M corresponds to the keyboard key General Help, the handle key S corresponds to the keyboard key Enter Setup, the handle key X corresponds to the keyboard keys Save & Exit Setup, the handle key Y corresponds to the keyboard key Exit Saving, the handle key a corresponds to the keyboard key ESC, and the handle key B corresponds to the keyboard key Enter.
The judging module 30 is configured to judge whether to enter a BIOS setting mode according to the keyboard key operation.
It should be noted that the BIOS setting mode may be a mode in which BIOS setting is set.
It should be understood that the BIOS setup mode may be entered by a preset keyboard key operation. For example, after the user presses the Delete, F1, or F2 key, the BIOS setup mode is entered. Therefore, the step of judging whether to enter the BIOS setting mode according to the keyboard key operation can be to match the keyboard key operation with a preset keyboard key operation and judge whether to enter the BIOS setting mode according to a matching result.
It can be understood that, when the matching is successful, the keyboard key operation is the preset keyboard key, and at this time, the BIOS setting mode is entered; when the matching fails, the keyboard key operation is not the preset keyboard key, and at the moment, the BIOS setting mode is not entered.
And the setting module 40 is configured to enter the BIOS setting mode if the setting module is in the BIOS setting mode, and perform BIOS setting according to the BIOS setting operation transmitted by the handle device.
It should be noted that the BIOS setting operation may be a setting operation performed by a user through a handle button. For example, the user may issue a BIOS setup operation by pressing a direction key, an operation key, and/or a function key on the handle device.
It is to be understood that the performing of the BIOS setting according to the BIOS setting operation transmitted by the handle device may be mapping the BIOS setting operation to a keyboard BIOS setting operation, and performing the BIOS setting based on the keyboard BIOS setting operation.
In this embodiment, it is disclosed that a handle key operation transmitted by a handle device is received, the handle key operation is mapped to a corresponding keyboard key operation, whether to enter a BIOS setting mode is determined according to the keyboard key operation, if yes, the BIOS setting mode is entered, and a BIOS setting is performed according to the BIOS setting operation transmitted by the handle device; because can directly get into BIOS setting mode according to handle button operation in this embodiment to carry out BIOS setting according to the BIOS setting operation of handle equipment transmission, thereby satisfied the demand that the user carries out BIOS setting through the handle, improved user experience.
In an embodiment, the receiving module 10 is further configured to obtain device information, detect whether the device is connected to a handle device according to the device information, load a device driver corresponding to the handle device when the connection with the handle device is detected, and receive a handle key operation transmitted by the handle device based on the device driver;
in an embodiment, the receiving module 10 is further configured to configure an initial interface by loading a preset driver, obtain a target interface, obtain device information through the target interface, and detect whether to connect to a handle device according to the device information;
in one embodiment, the handle-based BIOS setting means further comprises: a determination module;
the determining module is used for acquiring BIOS version information and model information of the handle equipment and determining key operation mapping according to the BIOS version information and the model information;
correspondingly, the mapping module 20 is further configured to map the handle key operation to a corresponding keyboard key operation based on the key operation mapping;
in one embodiment, the handle-based BIOS setting means further comprises: a deletion module;
the deleting module is used for entering the operating system and acquiring a restarting key operation mapping if the operating system is in the operating system state, determining a key operation mapping to be deleted according to the restarting key operation mapping and the key operation mapping, and deleting the key operation mapping to be deleted;
in an embodiment, the deleting module is further configured to enter the operating system and obtain a restart key operation map if the operation is yes, determine a to-be-deleted key operation map according to the restart key operation map and the key operation map, and delete the to-be-deleted key operation map;
in one embodiment, the handle-based BIOS setting means further comprises: restarting the module;
and the restarting module is used for mapping the handle restarting key operation to a corresponding keyboard restarting key operation based on the restarting key operation mapping when the handle restarting key operation transmitted by the handle equipment is received, and restarting according to the keyboard restarting key operation.
Other embodiments or specific implementation manners of the BIOS setting apparatus based on the handle according to the present invention may refer to the above method embodiments, and are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments. 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, but rather the words first, second, third, etc. are to be interpreted as names.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g., a Read Only Memory (ROM)/Random Access Memory (RAM), a magnetic disk, an optical disk), and includes several instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A BIOS setting method based on handle is characterized by comprising the following steps:
receiving handle key operation transmitted by handle equipment;
mapping the handle key operation to a corresponding keyboard key operation;
judging whether to enter a BIOS setting mode according to the keyboard key operation;
and if so, entering the BIOS setting mode, and setting the BIOS according to the BIOS setting operation transmitted by the handle equipment.
2. The method of claim 1, wherein the step of receiving a handle key operation transmitted by a handle device comprises:
acquiring equipment information, and detecting whether the equipment is connected with the handle equipment or not according to the equipment information;
when the connection with the handle equipment is detected, loading equipment drive corresponding to the handle equipment;
and receiving the handle key operation transmitted by the handle equipment based on the equipment drive.
3. The method of claim 2, wherein the step of obtaining device information and detecting whether a handle device is connected based on the device information comprises:
configuring an initial interface by loading a preset driver to obtain a target interface;
and acquiring equipment information through the target interface, and detecting whether the equipment is connected with the handle equipment or not according to the equipment information.
4. The method of claim 1, wherein mapping the handle key operations to corresponding keyboard key operations is preceded by:
acquiring BIOS version information and model information of the handle equipment;
determining key operation mapping according to the BIOS version information and the model information;
correspondingly, the mapping the handle key operation to the corresponding keyboard key operation includes:
and mapping the handle key operation to a corresponding keyboard key operation based on the key operation mapping.
5. The method for setting BIOS based on the handle as claimed in claim 4, wherein if yes, after entering the BIOS setting mode and performing BIOS setting according to the BIOS setting operation transmitted by the handle device, the method further comprises:
after exiting the BIOS setting mode, detecting whether to enter an operating system;
and if so, entering the operating system and deleting the key operation mapping.
6. The method of claim 5, wherein the step of entering the operating system and deleting the key operation map if the key operation map is a default key operation map comprises:
if yes, entering the operating system, and obtaining a restart key operation mapping;
and determining a key operation mapping to be deleted according to the restart key operation mapping and the key operation mapping, and deleting the key operation mapping to be deleted.
7. The method of claim 6, wherein after the step of determining a to-be-deleted key operation map from the restart key operation map and the key operation map and deleting the to-be-deleted operation map, further comprising:
when a handle restart key operation transmitted by the handle equipment is received, mapping the handle restart key operation to a corresponding keyboard restart key operation based on the restart key operation mapping;
and restarting according to the keyboard restarting key operation.
8. A handle-based BIOS setting apparatus, comprising: memory, a processor and a handle-based BIOS setup program stored on the memory and executable on the processor, the handle-based BIOS setup program when executed by the processor implementing the steps of the handle-based BIOS setup method according to any of claims 1 to 7.
9. A storage medium having stored thereon a handle-based BIOS setup program, which when executed by a processor implements the steps of the handle-based BIOS setup method according to any one of claims 1 to 7.
10. A handle based BIOS setup device, the handle based BIOS setup device comprising: the device comprises a receiving module, a mapping module, a judging module and a setting module;
the receiving module is used for receiving the handle key operation transmitted by the handle equipment;
the mapping module is used for mapping the handle key operation into a corresponding keyboard key operation;
the judging module is used for judging whether to enter a BIOS setting mode according to the keyboard key operation;
and the setting module is used for entering the BIOS setting mode if the BIOS setting mode is the set BIOS setting mode, and carrying out BIOS setting according to the BIOS setting operation transmitted by the handle equipment.
CN202110888581.7A 2021-08-03 2021-08-03 BIOS setting method, device, storage medium and device based on handle Pending CN113672299A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110888581.7A CN113672299A (en) 2021-08-03 2021-08-03 BIOS setting method, device, storage medium and device based on handle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110888581.7A CN113672299A (en) 2021-08-03 2021-08-03 BIOS setting method, device, storage medium and device based on handle

Publications (1)

Publication Number Publication Date
CN113672299A true CN113672299A (en) 2021-11-19

Family

ID=78541274

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110888581.7A Pending CN113672299A (en) 2021-08-03 2021-08-03 BIOS setting method, device, storage medium and device based on handle

Country Status (1)

Country Link
CN (1) CN113672299A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1165333A (en) * 1996-05-13 1997-11-19 宏碁电脑股份有限公司 Method and device for simulating keyboard key on controller
GB0124012D0 (en) * 2001-10-05 2001-11-28 Inventec Corp Method and device for updating keyboard controller bios through serial port
CN1475903A (en) * 2002-08-16 2004-02-18 技嘉科技股份有限公司 Method and device for providing electronic recreation service from computer basic input output system
CN201489479U (en) * 2009-07-24 2010-05-26 河北理工大学 Computer handle commonly used with keyboard
CN103019404A (en) * 2011-09-27 2013-04-03 纬创资通股份有限公司 Keystroke event publishing method and computer system thereof
KR101739337B1 (en) * 2017-01-16 2017-05-24 (주)아이테오솔루션즈 Dedicated USB port security device for keyboard and mouse and method of limiting BIOS access using the same
CN112463227A (en) * 2020-11-18 2021-03-09 广州彩熠灯光股份有限公司 BIOS control method and system based on touch screen and touch screen control panel

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1165333A (en) * 1996-05-13 1997-11-19 宏碁电脑股份有限公司 Method and device for simulating keyboard key on controller
GB0124012D0 (en) * 2001-10-05 2001-11-28 Inventec Corp Method and device for updating keyboard controller bios through serial port
CN1475903A (en) * 2002-08-16 2004-02-18 技嘉科技股份有限公司 Method and device for providing electronic recreation service from computer basic input output system
CN201489479U (en) * 2009-07-24 2010-05-26 河北理工大学 Computer handle commonly used with keyboard
CN103019404A (en) * 2011-09-27 2013-04-03 纬创资通股份有限公司 Keystroke event publishing method and computer system thereof
KR101739337B1 (en) * 2017-01-16 2017-05-24 (주)아이테오솔루션즈 Dedicated USB port security device for keyboard and mouse and method of limiting BIOS access using the same
CN112463227A (en) * 2020-11-18 2021-03-09 广州彩熠灯光股份有限公司 BIOS control method and system based on touch screen and touch screen control panel

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
KENNY: "你的手柄不只能用来玩游戏,还能当鼠标和键盘:Controller Companion", pages 1 - 5, Retrieved from the Internet <URL:https://sspai.com/post/42938> *

Similar Documents

Publication Publication Date Title
CN108174255B (en) Smart television starting method, smart television and computer readable storage medium
US20220100490A1 (en) Firmware updating method, and electronic apparatus and storage media for same
US7080244B2 (en) System and method for configuring hardware devices using a menu for platforms with EFI and legacy option-ROMs
CN113961259A (en) Boot program loading starting method, device, system, electronic equipment and medium
CN112162795A (en) Plug-in starting method and device, computer equipment and storage medium
CN111538523A (en) Differential upgrading method, device and storage medium
CN114661330B (en) Vehicle hardware program updating method, device, equipment and storage medium
CN111338699A (en) Computer mainboard initialization method and device, computer equipment and storage medium
US7991991B2 (en) Apparatus operable under an operating system, method of controlling apparatus and computer-readable recording medium
CN114237743A (en) Interface loading method and device, electronic equipment and storage medium
CN113190279A (en) Pre-boot function control method, system and medium
CN111858383A (en) Mobile APP data point burying method and system, terminal equipment and storage medium
CN113672299A (en) BIOS setting method, device, storage medium and device based on handle
CN111625108A (en) Key simulation method, device, equipment and storage medium based on USB module
CN112004080B (en) Fault detection method, device, storage medium and device of automobile display device
CN114327733A (en) Dynamic updating method, device, equipment and medium for starting interactive interface
CN113138785A (en) Application program updating method and device
CN113805987A (en) Application initialization display method and device, intelligent terminal and readable storage medium
CN111124456A (en) Method and device for upgrading firmware of single chip microcomputer through master control and readable storage medium
US8918630B1 (en) System, apparatus, and method for initiating a reboot of a personal computer system by pressing a button on an attached storage device and causing the operating system on the attached storage device to be booted
CN112882768A (en) Progress bar loading method, device and equipment and computer readable storage medium
CN109922194B (en) Key expansion method, system and terminal
CN113157511B (en) Peripheral detection method, device and readable storage medium
CN112130915A (en) Parameter initialization method and device, electronic equipment and readable storage medium
CN110336857B (en) Method, device, equipment and storage medium for creating network block equipment

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