CN113198172A - Game key mode adjusting method and electronic device - Google Patents

Game key mode adjusting method and electronic device Download PDF

Info

Publication number
CN113198172A
CN113198172A CN202010078543.0A CN202010078543A CN113198172A CN 113198172 A CN113198172 A CN 113198172A CN 202010078543 A CN202010078543 A CN 202010078543A CN 113198172 A CN113198172 A CN 113198172A
Authority
CN
China
Prior art keywords
game
key mode
objects
electronic device
context
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
CN202010078543.0A
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.)
Acer Inc
Original Assignee
Acer Inc
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 Acer Inc filed Critical Acer Inc
Priority to CN202010078543.0A priority Critical patent/CN113198172A/en
Publication of CN113198172A publication Critical patent/CN113198172A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/22Setup operations, e.g. calibration, key configuration or button assignment
    • 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/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • 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/70Game security or game management aspects
    • A63F13/77Game security or game management aspects involving data related to game devices or game servers, e.g. configuration data, software version or amount of memory

Abstract

The invention provides a game key mode adjusting method and an electronic device. The game key mode adjusting method comprises the following steps: acquiring a display picture; judging the game situation corresponding to the display picture; and obtaining a key mode corresponding to the game situation and processing the keyboard input signal according to the key mode, wherein a plurality of key strokes correspond to a plurality of pressing numerical values in the key mode.

Description

Game key mode adjusting method and electronic device
Technical Field
The present invention relates to a method for adjusting a game key mode and an electronic device, and more particularly, to a method for adjusting a game key mode in real time according to game content and an electronic device.
Background
With the increasing influence of games on economy and society, electronic sports becomes one of the official sports items. For different games, the user often needs to manually adjust the keyboard mode setting, which causes inconvenience in the game. Therefore, how to automatically adjust the key mode to increase the convenience of the game is an objective that should be addressed by those skilled in the art.
Disclosure of Invention
The invention provides a game key mode adjusting method and an electronic device, which can adjust the key mode in real time according to game contents.
The invention provides a method for adjusting a game key mode, which comprises the following steps: acquiring a display picture; judging the game situation corresponding to the display picture; and obtaining a key mode corresponding to the game situation and processing the keyboard input signal according to the key mode, wherein a plurality of key strokes correspond to a plurality of pressing numerical values in the key mode.
The invention provides an electronic device, which comprises a processor. The processor acquires a display screen. The processor judges that the display frame corresponds to the game situation. The processor obtains a key mode corresponding to the game situation and processes the keyboard input signal according to the key mode, wherein a plurality of key strokes correspond to a plurality of pressing values in the key mode.
Based on the above, the game key mode adjustment method and the electronic device of the invention can obtain the display picture and automatically judge the corresponding game situation to obtain the corresponding key mode and process the keyboard input signal according to the key mode. Therefore, when the user switches different games or different game modes of the same game, the electronic device can automatically apply the corresponding key mode without jumping out of the game for manual setting.
In order to make the aforementioned and other features and advantages of the invention more comprehensible, embodiments accompanied with figures are described in detail below.
Drawings
The accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the invention and together with the description serve to explain the principles of the invention.
FIG. 1 is a block diagram of an electronic device according to an embodiment of the invention;
FIG. 2 is a flowchart illustrating a method for adjusting a game key mode according to an embodiment of the present invention;
FIG. 3 is a schematic illustration of object identification in a racing game according to an embodiment of the invention;
FIG. 4A is a diagram illustrating a simulation curve corresponding to a racing game scenario according to an embodiment of the present invention;
FIG. 4B is a diagram illustrating simulation curves corresponding to a shooting game scenario according to an embodiment of the present invention;
FIG. 4C is a diagram of simulation curves corresponding to other situations according to an embodiment of the invention.
The reference numbers illustrate:
110: an electronic device;
111: a processor;
112: a memory;
120: a keyboard;
s201 to S204: a step of adjusting a game key mode;
210: a racing car game picture;
220: shooting game pictures;
230: an AI model;
240: a user;
250: the user is present;
310: a steering wheel;
320: a rear-view mirror;
330: an instrument panel.
Detailed Description
Reference will now be made in detail to exemplary embodiments of the invention, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers will be used throughout the drawings and the description to refer to the same or like parts.
Fig. 1 is a block diagram of an electronic device according to an embodiment of the invention.
Referring to fig. 1, an electronic device 110 according to an embodiment of the invention includes a processor 111 and a memory 112. The processor 111 is, for example, a central processing unit or other similar component. The memory 112 is, for example, any volatile memory or non-volatile memory. In one embodiment, the electronic device 110 may be a notebook computer and the keyboard 120 may be a notebook computer keyboard or an external wired/wireless keyboard. In another embodiment, the electronic device 110 is a personal computer and the keyboard is an external wired/wireless keyboard. The invention is not limited to the coupling manner of the keyboard 120 and the electronic device 110.
In one embodiment, keyboard 120 may include at least partial linear axis keys. For example, the travel (travel) of a linear axis key may be between 0 millimeters and 2.8 millimeters, and a key travel between 0 millimeters and 2.8 millimeters may correspond to a press value of 0 to 255. The corresponding relationship between the key stroke and the pressed value can be linear corresponding or non-linear corresponding.
In an embodiment, the processor 111 may obtain the display frame and determine that the display frame corresponds to the game situation. The processor 111 obtains a key mode corresponding to a game situation and processes the keyboard input signal according to the key mode, wherein a plurality of key strokes correspond to a plurality of pressed values in the key mode.
FIG. 2 is a flowchart illustrating a method for adjusting a game key mode according to an embodiment of the invention. FIG. 3 is a schematic diagram of object recognition in a racing game according to an embodiment of the present invention.
Referring to fig. 1 to 3, in the training process, a game context preprocessing (S201) may be performed by using a racing game screen 210 or a shooting game screen 220 to train an Artificial Intelligence (AI) model 230. The artificial intelligence model 230 may be stored or cached in the memory 111 of the electronic device 110. For example, objects such as steering wheel 310, rear view mirror 320, dashboard 330, etc. in the racing game of FIG. 3, or objects such as firearms, minimaps, etc. in the shooting game may be used to train the artificial intelligence model 230 to determine the game scene and classify the game context. The trained artificial intelligence model 230 may be stored or temporarily stored in the memory 112.
When the user 240 plays the game, the processor 111 may obtain the user' S current screen 250 through a Windows application programming interface (Windows API) to perform real-time pre-processing of the image using the trained artificial intelligence model 230 (S202) to determine a specific object in the game screen. The following table is a game scenario list according to an embodiment of the present invention.
Watch 1
Figure BDA0002379388900000031
Figure BDA0002379388900000041
Next, the game screen object determination result can be input into the game context correlation analysis (S203), as shown in the following Table two.
Watch two
Figure BDA0002379388900000042
Figure BDA0002379388900000051
For example, in the timestamp 000006, when the number of recognized objects (i.e., 3) divided by the number of default objects (i.e., 5) is greater than a predetermined percentage (e.g., 50%), it is determined that the display corresponds to the shooting game context.
After the display screen is determined to correspond to the racing game situation, shooting game situation or other situations, the key mode can be intelligently adjusted (S204). FIG. 4A is a diagram illustrating simulation curves corresponding to a racing game situation according to an embodiment of the invention. Referring to fig. 4A, since a racing game requires sensitive push controls to grasp a transient overtaking opportunity, a maximum push value is generated at a small key stroke (e.g., within 0.5mm of the key stroke). FIG. 4B is a diagram illustrating simulation curves corresponding to a shooting game scenario according to an embodiment of the invention. Referring to fig. 4B, since the shooting game requires a slight press of the keyboard to control the character to move slowly so as not to be found by the opponent, the press value of the front part of the key stroke (e.g. 0mm to 1.0mm) is close to 0 for the user to easily operate. FIG. 4C is a diagram of simulation curves corresponding to other situations according to an embodiment of the invention. Referring to fig. 4C, the simulation curves of other situations may adopt a linear mode, so that the pressing output is more stable.
Taking the game of the knight-errant hunting driver (GTA) as an example, when a user finds a car at the roadside and is preparing to drive the car to escape from the next place for pursuing the next place of the police to perform a task, as soon as the user enters the picture of driving the car, the game key mode adjusting method can judge that the current game situation is the car racing situation according to the steering wheel, the instrument panel and the rearview mirror in the picture and switch the key mode of the keyboard to the car racing key mode, so that the user can more easily control the car to achieve good game experience. If a vehicle controlled by a user is damaged in the game process and needs to get off to fight with police, the game picture is converted into a first-person shooting picture, the user needs to avoid the shooting of the police and carry out counterattack through slight operation, the current game situation can be judged to be the shooting situation according to a gun, a tool and a sighting telescope in the picture, the key mode of a keyboard is switched to the shooting key mode, the user can carry out manual key mode switching without jumping out of a game window, and the game can be smoothly carried out. Although the above describes that different key modes are automatically switched in the same game, the present invention is not limited thereto. The method for adjusting the game key mode can also automatically switch different key modes in different games.
In summary, the game key mode adjustment method and the electronic device of the present invention can obtain the display frame and automatically determine the corresponding game situation to obtain the corresponding key mode and process the keyboard input signal according to the key mode. Therefore, when the user switches different games or different game modes of the same game, the electronic device can automatically apply the corresponding key mode without jumping out of the game for manual setting.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for adjusting a game key mode is characterized by comprising the following steps:
acquiring a display picture;
judging the game situation corresponding to the display picture; and
and obtaining a key mode corresponding to the game situation and processing a keyboard input signal according to the key mode, wherein a plurality of key strokes in the key mode correspond to a plurality of pressing numerical values.
2. The method for adjusting key mode of game play according to claim 1, further comprising: and identifying a plurality of objects contained in the display picture and judging the game situation according to the plurality of objects.
3. The method for adjusting key mode of game play according to claim 2, further comprising: and training an artificial intelligence model according to the display picture containing the plurality of objects, and judging the game situation according to the artificial intelligence model.
4. The method of claim 2, wherein the game context corresponds to a plurality of default objects, and the display screen is determined to correspond to the game context when the number of the identified objects divided by the number of the default objects is greater than a predetermined percentage.
5. The method of claim 1, wherein the game situation includes a racing situation, a shooting situation, and other situations.
6. An electronic device, comprising:
a processor, wherein
The processor acquires a display picture and acquires a display picture,
the processor judges that the display picture corresponds to a game situation,
the processor obtains a key mode corresponding to the game situation and processes a keyboard input signal according to the key mode, wherein a plurality of key strokes in the key mode correspond to a plurality of pressed numerical values.
7. The electronic device of claim 6, wherein the processor identifies a plurality of objects included in the display and determines the game context according to the plurality of objects.
8. The electronic device of claim 7, wherein the processor trains an artificial intelligence model according to the display comprising the plurality of objects, and determines the game context according to the artificial intelligence model.
9. The electronic device of claim 7, wherein the game context corresponds to a plurality of default objects, and the display screen is determined to correspond to the game context when the number of the identified objects divided by the number of the default objects is greater than a predetermined percentage.
10. The electronic device of claim 6, wherein the game context comprises a racing context, a shooting context, and other contexts.
CN202010078543.0A 2020-02-03 2020-02-03 Game key mode adjusting method and electronic device Pending CN113198172A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010078543.0A CN113198172A (en) 2020-02-03 2020-02-03 Game key mode adjusting method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010078543.0A CN113198172A (en) 2020-02-03 2020-02-03 Game key mode adjusting method and electronic device

Publications (1)

Publication Number Publication Date
CN113198172A true CN113198172A (en) 2021-08-03

Family

ID=77024837

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010078543.0A Pending CN113198172A (en) 2020-02-03 2020-02-03 Game key mode adjusting method and electronic device

Country Status (1)

Country Link
CN (1) CN113198172A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1758788A (en) * 2004-10-05 2006-04-12 乐金电子(中国)研究开发中心有限公司 Keypad defining system and method of mobile communication terminal
KR20060118640A (en) * 2005-05-16 2006-11-24 엘지전자 주식회사 Apparatus and method for input using variable keypad in mobile terminal
CN101491127A (en) * 2006-05-30 2009-07-22 Sk电信有限公司 Method for configurating keypad of terminal and the terminal and system including the terminal and the keypad capable of reconfiguration
CN101868769A (en) * 2007-09-19 2010-10-20 雷蛇(亚太)私人有限公司 System and method for key function switching
CN103309756A (en) * 2013-06-14 2013-09-18 广东欧珀移动通信有限公司 Method for preventing application program from quitting or being interrupted accidently and mobile terminal
CN104508621A (en) * 2012-08-02 2015-04-08 夏普株式会社 Information processing device, selection operation detection method, and program
CN107329757A (en) * 2017-06-29 2017-11-07 努比亚技术有限公司 Mobile terminal key adaptive approach, mobile terminal and readable storage medium storing program for executing
CN108970114A (en) * 2018-08-21 2018-12-11 苏州蜗牛数字科技股份有限公司 A method of visual field adjustment is realized by customized mapping keys
CN109063662A (en) * 2018-08-09 2018-12-21 腾讯科技(成都)有限公司 Data processing method, device, equipment and storage medium
CN109189648A (en) * 2018-07-26 2019-01-11 深圳市沃特沃德股份有限公司 Game monitor method and device
CN110652726A (en) * 2019-09-27 2020-01-07 杭州顺网科技股份有限公司 Game auxiliary system based on image recognition and audio recognition

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1758788A (en) * 2004-10-05 2006-04-12 乐金电子(中国)研究开发中心有限公司 Keypad defining system and method of mobile communication terminal
KR20060118640A (en) * 2005-05-16 2006-11-24 엘지전자 주식회사 Apparatus and method for input using variable keypad in mobile terminal
CN101491127A (en) * 2006-05-30 2009-07-22 Sk电信有限公司 Method for configurating keypad of terminal and the terminal and system including the terminal and the keypad capable of reconfiguration
CN101868769A (en) * 2007-09-19 2010-10-20 雷蛇(亚太)私人有限公司 System and method for key function switching
CN104508621A (en) * 2012-08-02 2015-04-08 夏普株式会社 Information processing device, selection operation detection method, and program
CN103309756A (en) * 2013-06-14 2013-09-18 广东欧珀移动通信有限公司 Method for preventing application program from quitting or being interrupted accidently and mobile terminal
CN107329757A (en) * 2017-06-29 2017-11-07 努比亚技术有限公司 Mobile terminal key adaptive approach, mobile terminal and readable storage medium storing program for executing
CN109189648A (en) * 2018-07-26 2019-01-11 深圳市沃特沃德股份有限公司 Game monitor method and device
CN109063662A (en) * 2018-08-09 2018-12-21 腾讯科技(成都)有限公司 Data processing method, device, equipment and storage medium
CN108970114A (en) * 2018-08-21 2018-12-11 苏州蜗牛数字科技股份有限公司 A method of visual field adjustment is realized by customized mapping keys
CN110652726A (en) * 2019-09-27 2020-01-07 杭州顺网科技股份有限公司 Game auxiliary system based on image recognition and audio recognition

Similar Documents

Publication Publication Date Title
CN109523485B (en) Image color correction method, device, storage medium and mobile terminal
US20190333508A1 (en) Voice recognition system
CN110417999B (en) Screen brightness adjusting method, mobile terminal and computer readable storage medium
CN108536367B (en) Interactive page jamming processing method, terminal and readable storage medium
CN110600000A (en) Voice broadcasting method and device, electronic equipment and storage medium
EP2448249A2 (en) Method for displaying an identified region together with an image, and imaging apparatus
CN111880640B (en) Screen control method and device, electronic equipment and storage medium
CN112835456A (en) Touch control pen and control method
CN111149172B (en) Emotion management method, device and computer-readable storage medium
CN113198172A (en) Game key mode adjusting method and electronic device
TWI775031B (en) Gaming key mode adjusting method and electronic device
US20200082590A1 (en) Vehicle and control method thereof
CN110636225A (en) Photographing method and electronic equipment
CN111491124B (en) Video processing method and device and electronic equipment
CN112333511A (en) Control method, device and equipment of smart television and computer readable storage medium
CN111966321A (en) Volume adjusting method, AR device and storage medium
CN115659959B (en) Image text error correction method and device, electronic equipment and storage medium
CN115424598A (en) Display screen brightness adjusting method and device and storage medium
CN111442490B (en) Air conditioner and control method thereof
CN111383346B (en) Interactive method and system based on intelligent voice, intelligent terminal and storage medium
CN110868537B (en) Shooting method and electronic equipment
CN114612635A (en) Method and device capable of switching between augmented reality mode and virtual reality mode
CN112822468A (en) Projection control method and device, projection equipment and laser controller
CN110585696A (en) Method, system and control platform for displaying vehicle-mounted virtual reality content
CN115437705B (en) Method, device, electronic equipment and storage medium for providing vehicle service

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210803