CN113877197A - Game mapping control method, device, equipment and storage medium - Google Patents

Game mapping control method, device, equipment and storage medium Download PDF

Info

Publication number
CN113877197A
CN113877197A CN202110984166.1A CN202110984166A CN113877197A CN 113877197 A CN113877197 A CN 113877197A CN 202110984166 A CN202110984166 A CN 202110984166A CN 113877197 A CN113877197 A CN 113877197A
Authority
CN
China
Prior art keywords
game
key information
mapping
information
input device
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
CN202110984166.1A
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.)
Shenzhen Paramount Technology Co ltd
Original Assignee
Shenzhen Paramount 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 Shenzhen Paramount Technology Co ltd filed Critical Shenzhen Paramount Technology Co ltd
Priority to CN202110984166.1A priority Critical patent/CN113877197A/en
Publication of CN113877197A publication Critical patent/CN113877197A/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/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/214Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads
    • A63F13/2145Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads the surface being also a display device, e.g. touch screens
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention specifically discloses a game mapping control method, a device, equipment and a storage medium, wherein the game mapping control method comprises the following steps: establishing a mapping relation between key information of first input equipment and touch coordinates of a game interface; receiving current key information from a first input device; obtaining current game interface touch coordinate information corresponding to the current key information based on the mapping relation; and reporting the touch coordinate information of the current game interface to the mobile equipment. The invention provides a game mapping control mode, which does not need a user mobile phone to install apps, does not need to acquire advanced system permission, cannot be detected by a game developer, does not need Bluetooth connection, and solves the problem of delay of the Bluetooth connection, thereby solving the problem of poor game playing experience of the user.

Description

Game mapping control method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of game control, in particular to a game mapping control method, a game mapping control device, game mapping control equipment and a storage medium.
Background
The game mapping is mainly realized by connecting peripheral equipment such as a keyboard, a mouse and a gamepad and connecting a mobile phone with a special app to finish touch conversion with the peripheral equipment. At present, a game mapping mode generally needs to install apps on a mobile phone, the apps acquire some permissions of the mobile phone, some apps also acquire data of some game developers, and then the apps are connected with peripherals such as a mouse, a keyboard or a handle through Bluetooth or a wire, and then the system touch permissions are acquired through a developer mode of a mobile phone system, so that a game mapping function is completed. However, the above game mapping method has the following problems: 1. because the mobile phone is required to install the app and some high-level permissions of the system are acquired to complete the operation, the operation can be detected by a game developer, so that a user is signed, or some games know that you use the game peripheral equipment, and a game peripheral player is matched in a battle; 2. the peripheral connected through the Bluetooth has time delay; the above problems all result in poor game playing experience for users.
Disclosure of Invention
The invention aims to provide a game mapping control method, a game mapping control device, game mapping equipment and a storage medium, and solves the problem that the existing game mapping control mode causes poor game playing experience of a user.
According to an aspect of an embodiment of the present invention, there is provided a game mapping control method including the steps of:
establishing a mapping relation between key information of first input equipment and touch coordinates of a game interface;
receiving current key information from a first input device;
obtaining current game interface touch coordinate information corresponding to the current key information based on the mapping relation;
and reporting the touch coordinate information of the current game interface to the mobile equipment.
Further, the specific operation steps of establishing the mapping relationship between the key information of the first input device and the touch coordinate of the display device are as follows:
receiving key information of first input equipment;
reporting the key information to display equipment, and generating a controllable point on a screen of the display equipment;
receiving offset information of a second input device;
reporting the offset information to display equipment, calculating corresponding offset pixel points by the display equipment according to the offset information, and moving the controllable points to the corresponding pixel points;
associating and storing the control information input by the input equipment with the coordinate position of the touch point corresponding to the current pixel point;
and repeating the substeps to obtain the mapping relation between each key information game of the first input device and the coordinate position of the touch point of the interface.
Further, the specific operation step of receiving the current key information from the first input device is as follows:
receiving a key from a first input device;
and sending the received key message of the first input device to the display device.
Further, the first input device includes a keyboard and the second input device includes a mouse.
Further, the specific operation step of obtaining the touch coordinate information of the current game interface corresponding to the current key information based on the mapping relationship is:
searching a corresponding relation between the key information of the first input device and the touch coordinate information of the game interface according to the mapping relation;
and mapping the key information to corresponding game interface touch coordinate information.
According to another aspect of the embodiments of the present invention, there is also provided a game mapping control apparatus including:
a mobile device capable of running a game;
the display device is connected with the mobile device and is used for displaying game content and serving as a medium for controlling a game;
the receiving module is connected with the display device and used for receiving key information from the keyboard and offset information of the mouse and receiving a mapping relation between the key information of the keyboard and touch coordinates of the game interface;
and a keyboard and a mouse connected with the receiving module.
Further, the display device comprises a main control unit and a display unit, wherein the main control unit is used for establishing a mapping relation between key information of a keyboard and touch coordinates of a game interface according to key information of the keyboard and offset information of a mouse, the main control unit is used for receiving video signals of the mobile device, and the display unit is used for receiving screen driving signals of the main control unit.
Further, the mobile terminal further comprises an informing module, wherein the informing module is respectively connected with the receiving module and the mobile device, and the informing module is used for USB communication to inform the mobile device.
According to another aspect of the embodiments of the present invention, there is also provided a computer device including a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor implementing the game mapping control method when executing the computer program.
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium storing a computer program which, when executed by a processor, implements the above-described game mapping control method.
Compared with the prior art, the invention has the beneficial effects that: establishing a mapping relation between the key information of the first input device and the touch coordinate of the game interface; then receiving current key information from the first input device; obtaining current game interface touch coordinate information corresponding to the current key information based on a mapping relation; and finally, reporting the touch coordinate information of the game interface to the mobile equipment to execute the corresponding game function, thereby providing a game mapping control mode, not needing to install apps on a mobile phone of a user, not needing to acquire advanced system permission, not being detected by a game developer and not needing Bluetooth connection, and solving the problem of poor game playing experience of the user.
Drawings
FIG. 1 is a flowchart illustrating a game mapping control method according to an embodiment of the present invention.
FIG. 2 is a schematic diagram of a game mapping control device according to an embodiment of the present invention.
Detailed Description
The present invention will now be described in further detail with reference to the accompanying drawings. These drawings are simplified schematic views illustrating only the basic structure of the present invention in a schematic manner, and thus show only the constitution related to the present invention.
In the present invention, it should be noted that the terms "upper", "lower", "inner", "outer", etc. indicate orientations or positional relationships based on those shown in the drawings, which are merely for convenience of describing the present invention and simplifying the description, but do not indicate or imply that the referred device or element must have a specific orientation, be constructed in a specific orientation, and be operated, and thus should not be construed as limiting the present invention; the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance; furthermore, unless expressly stated or limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, as they may be fixedly connected, detachably connected, or integrally connected, for example; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
Example 1
Referring to fig. 1, according to an aspect of an embodiment of the present invention, there is provided a game mapping control method including the steps of:
s1, establishing a mapping relation between the key information of the first input device and the touch coordinate of the game interface;
as an implementation manner, the specific operation steps of establishing the mapping relationship between the key information of the first input device and the touch coordinate of the game interface include:
s10, receiving key information of the first input device;
s11, reporting the key information to a display device, and generating a controllable point on a screen of the display device;
s12, receiving offset information of the second input device;
s13, reporting the offset information to a display device, calculating a corresponding offset pixel point by the display device according to the offset information, and moving the controllable point to the corresponding pixel point;
s14, associating and storing the control information input by the input equipment with the coordinate position of the touch point corresponding to the current pixel point;
and S15, repeating the sub-steps to obtain the mapping relation between each key information game of the first input device and the coordinate position of the touch point of the interface.
S2, receiving current key information from the first input device;
as an embodiment, the specific operation step of receiving the current key information from the first input device is:
s20, receiving a key from the first input device;
and S21, sending the received key message of the first input device to the display device.
The first input device comprises a keyboard and the second input device comprises a mouse.
S3, obtaining current game interface touch coordinate information corresponding to the current key information based on the mapping relation;
as an embodiment, the specific operation step of obtaining the touch coordinate information of the current game interface corresponding to the current key information based on the mapping relationship is:
s30, searching the corresponding relation between the key information of the first input device and the touch coordinate information of the game interface according to the mapping relation;
and S31, mapping the key information to corresponding game interface touch coordinate information.
And S4, reporting the touch coordinate information of the current game interface to the mobile equipment.
Referring to fig. 2, according to another aspect of the embodiment of the present invention, there is also provided a game mapping control apparatus including:
a mobile device 1 capable of running a game;
a display device 2 connected to the mobile device 1 for displaying game contents and serving as a medium for manipulating a game;
the receiving module 5 connected to the display device 2 is configured to receive key information from the keyboard 3 and offset information of the mouse 4, and is configured to receive a mapping relationship between the key information of the keyboard 3 and touch coordinates of the game interface; and
a keyboard 3 and a mouse 4 connected with the receiving module 5.
Specifically, the display device 2 includes a main control unit 20 and a display unit 21, where the main control unit 20 is configured to establish a mapping relationship between key information of the keyboard and touch coordinates of the game interface according to the key information of the keyboard 3 and offset information of the mouse, and is configured to receive a video signal of the mobile device, and the display unit is configured to receive a screen driving signal of the main control unit.
As an implementation manner, the game mapping control apparatus further includes an informing module 6, where the informing module is respectively connected to the receiving module 5 and the mobile device 1, the informing module 6 is used for USB communication to inform the mobile device 1 that the accessed device is a touch device. By adopting the structure, the USB touch protocol is directly accessed, the delay is low, and the response is fast.
In an embodiment, the receiving module 5 is a CH559 chip, the main control unit 20 of the display device 2 uses an RTD2797UPM chip, and the informing module 6 uses a CH554 chip.
The working principle of the game mapping control device provided by the embodiment is as follows:
the process of establishing the mapping relationship between the key information of the keyboard and the touch coordinates of the game interface is that the CH559 chip converts the received key information of the keyboard from USB DATA into serial DATA and reports the serial DATA to the RTD2797UPM chip, and the RTD2797UPM chip makes prompt information on a display unit, such as: informing the user what key (for example, key a) is pressed, and generating a controllable point on the display unit, for example, drawing a dot in the center of the display unit; and then the mouse is moved, the CH559 chip reports the moving offset of the mouse to the RTD2797UPM chip through a serial port, the RTD2797UPM chip calculates a corresponding offset pixel point according to the offset, the drawn dot is moved to the corresponding pixel point, and meanwhile, the value of the touch point coordinate corresponding to the pixel point corresponds to the mapping key is stored according to a storage instruction.
After the game mapping is started, the RTD2797UPM chip uploads a mapping relation between each stored key information game of the first input device and the touch point coordinate position of the interface to the CH559 chip, when a user presses the keyboard A letter again, the CH559 chip finds the touch point coordinate position corresponding to the keyboard A in the mapping relation, then sends data to the CH554 chip to make touch correspondingly, and finally the game mapping is completed.
For the specific definition of the game mapping control device, reference may be made to the above definition of the game mapping control manner, which is not described herein again. The various modules in the map route construction device described above may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a game mapping control method.
In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
establishing a mapping relation between key information of first input equipment and touch coordinates of a game interface;
receiving current key information from a first input device;
obtaining current game interface touch coordinate information corresponding to the current key information based on the mapping relation;
and reporting the touch coordinate information of the current game interface to the mobile equipment.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
establishing a mapping relation between key information of first input equipment and touch coordinates of a game interface;
receiving current key information from a first input device;
obtaining current game interface touch coordinate information corresponding to the current key information based on the mapping relation;
and reporting the touch coordinate information of the current game interface to the mobile equipment.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, databases, or other media used in embodiments provided herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
In summary, according to the game mapping control method, apparatus, device and storage medium provided in this embodiment, a mapping relationship between the button information of the first input device and the touch coordinate of the game interface is established; then receiving current key information from the first input device; obtaining current game interface touch coordinate information corresponding to the current key information based on a mapping relation; and finally, reporting the touch coordinate information of the game interface to the mobile equipment to execute the corresponding game function, thereby providing a game mapping control mode, not needing to install apps on a mobile phone of a user, not needing to acquire advanced system permission, not being detected by a game developer and not needing Bluetooth connection, and solving the problem of poor game playing experience of the user.
In the description herein, references to the description of the terms "one embodiment," "certain embodiments," "an illustrative embodiment," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While there have been shown and described what are at present considered the fundamental principles and essential features of the invention and its advantages, it will be apparent to those skilled in the art that the invention is not limited to the details of the foregoing exemplary embodiments, but is capable of other specific forms without departing from the spirit or essential characteristics thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.
Furthermore, it should be understood that although the present description refers to embodiments, not every embodiment may contain only a single embodiment, and such description is for clarity only, and those skilled in the art should integrate the description, and the embodiments may be combined as appropriate to form other embodiments understood by those skilled in the art.

Claims (10)

1. A game mapping control method is characterized by comprising the following steps:
establishing a mapping relation between key information of first input equipment and touch coordinates of a game interface;
receiving current key information from a first input device;
obtaining current game interface touch coordinate information corresponding to the current key information based on the mapping relation;
and reporting the touch coordinate information of the current game interface to the mobile equipment.
2. The game mapping control method according to claim 1, wherein the specific operation step of establishing the mapping relationship between the key information of the first input device and the touch coordinates of the display device is:
receiving key information of first input equipment;
reporting the key information to display equipment, and generating a controllable point on a screen of the display equipment;
receiving offset information of a second input device;
reporting the offset information to display equipment, calculating corresponding offset pixel points by the display equipment according to the offset information, and moving the controllable points to the corresponding pixel points;
associating and storing the control information input by the input equipment with the coordinate position of the touch point corresponding to the current pixel point;
and repeating the substeps to obtain the mapping relation between each key information game of the first input device and the coordinate position of the touch point of the interface.
3. The game mapping control method of claim 1, wherein the specific operation step of receiving the current key information from the first input device is:
receiving a key from a first input device;
and sending the received key pressing message of the first input device to the display device.
4. A game mapping control method as claimed in claim 1 or 3, wherein the first input device comprises a keyboard and the second input device comprises a mouse.
5. The game mapping control method according to claim 1, wherein the specific operation step of obtaining the touch coordinate information of the current game interface corresponding to the current key information based on the mapping relationship is:
searching a corresponding relation between the key information of the first input device and the touch coordinate information of the game interface according to the mapping relation;
and mapping the key information to corresponding game interface touch coordinate information.
6. A game mapping control apparatus, comprising:
a mobile device capable of running a game;
the display device is connected with the mobile device and is used for displaying game content and serving as a medium for controlling a game;
the receiving module is connected with the display device and used for receiving key information from the keyboard and offset information of the mouse and receiving a mapping relation between the key information of the keyboard and touch coordinates of the game interface; and
and the keyboard and the mouse are connected with the receiving module.
7. The apparatus of claim 6, wherein the display device comprises a main control unit and a display unit, the main control unit is configured to establish a mapping relationship between the key information of the keyboard and the touch coordinates of the game interface according to the key information of the keyboard and the offset information of the mouse, the main control unit is configured to receive the video signal of the mobile device, and the display unit is configured to receive the screen driving signal of the main control unit.
8. The game mapping control device of claim 6, further comprising an informing module, wherein the informing module is connected to the receiving module and the mobile device, respectively, and the informing module is configured to inform the mobile device through USB communication.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the game mapping control method according to any one of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the game mapping control method according to any one of claims 1 to 5.
CN202110984166.1A 2021-08-25 2021-08-25 Game mapping control method, device, equipment and storage medium Pending CN113877197A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110984166.1A CN113877197A (en) 2021-08-25 2021-08-25 Game mapping control method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110984166.1A CN113877197A (en) 2021-08-25 2021-08-25 Game mapping control method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113877197A true CN113877197A (en) 2022-01-04

Family

ID=79011503

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110984166.1A Pending CN113877197A (en) 2021-08-25 2021-08-25 Game mapping control method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113877197A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117398677A (en) * 2023-12-12 2024-01-16 荣耀终端有限公司 Game adaptation method, game adaptation device, electronic equipment and computer readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117398677A (en) * 2023-12-12 2024-01-16 荣耀终端有限公司 Game adaptation method, game adaptation device, electronic equipment and computer readable storage medium
CN117398677B (en) * 2023-12-12 2024-05-07 荣耀终端有限公司 Game adaptation method, game adaptation device, electronic equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
US11809705B2 (en) Touch control method and apparatus
KR101657379B1 (en) Method and apparatus for providing data entry content to a remote environment
US20110258329A1 (en) Method and system for providing online services corresponding to multiple mobile devices, server, mobile device, and computer program product
WO2017107155A1 (en) Method of displaying multiple application windows on mobile terminal and mobile terminal
US9875109B2 (en) Method and apparatus for generating user adaptive application in mobile terminal
WO2018077041A1 (en) Method and apparatus for running application
CN110516218B (en) Method for generating table, terminal and computer readable storage medium
US9357337B2 (en) Terminal device and method for transceiving data thereof
CN109711972A (en) Contract generation method, device, equipment and readable storage medium storing program for executing
US20120017241A1 (en) Handheld device and text input method
CN113877197A (en) Game mapping control method, device, equipment and storage medium
CN111949314A (en) Method and device for generating application installation package, server and storage medium
CN115766851A (en) Device registration method and device, mobile terminal and storage medium
CN109828770B (en) Software upgrading method, terminal equipment and server
CN109544265B (en) Electronic lock information processing method, electronic device and storage medium
AU2022203591A1 (en) Method and apparatus for switching display interface, and electronic device
CN114265653A (en) Interface display method, device, equipment, storage medium and program product
CN112969206B (en) Terminal application layer network management method, device, equipment and computer storage medium
CN114397997A (en) Control method for interactive operation and multi-screen interactive system
US20090158202A1 (en) Information processing method, information processing system and display control device
CN110321321B (en) Snapshot read-write method, device and equipment for network block equipment and storage medium
CN106375862B (en) A kind of method, apparatus and terminal obtaining GIF picture
CN114422236B (en) Intelligent device access method and device and electronic device
US10917842B2 (en) Access point connection method and terminal
CN110865943A (en) Interface testing method and device, computer equipment and storage medium

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