Game control method and device and protective shell of mobile terminal

文档序号:1438206 发布日期:2020-03-24 浏览:22次 中文

阅读说明:本技术 一种游戏控制方法、装置以及移动终端的保护壳 (Game control method and device and protective shell of mobile terminal ) 是由 璧靛己 赵强 于 2019-11-13 设计创作,主要内容包括:本公开提供了一种游戏控制方法、装置以及移动终端的保护壳,涉及移动终端的游戏控制技术。本发明公开的一种游戏控制方法,应用于具备触摸屏的终端设备,包括:启动游戏应用后,接收针对所述游戏发起的控制操作;当接收到的控制操作为非触屏方式的控制操作时,获取所述控制操作对应的坐标信息;根据预设的支持非触屏方式触发的控制指令与游戏界面的操作区域之间的映射关系,以及所述控制操作对应的坐标信息,确定所述控制操作对应的控制指令;按照所述控制指令对所述游戏应用进行对应处理。本申请技术方案可以使用户在触屏操作游戏的同时,结合非触屏操作方式,例如,游戏外设触发的物理按键操作,控制游戏。(The disclosure provides a game control method and device and a protective shell of a mobile terminal, and relates to a game control technology of the mobile terminal. The invention discloses a game control method, which is applied to terminal equipment with a touch screen and comprises the following steps: after starting a game application, receiving control operation initiated aiming at the game; when the received control operation is a non-touch screen control operation, acquiring coordinate information corresponding to the control operation; determining a control instruction corresponding to the control operation according to a mapping relation between a preset control instruction supporting non-touch screen mode triggering and an operation area of a game interface and coordinate information corresponding to the control operation; and carrying out corresponding processing on the game application according to the control instruction. According to the technical scheme, a user can control the game by combining a non-touch screen operation mode, such as physical key operation triggered by a game peripheral, while operating the game on the touch screen.)

1. A game control method is applied to a terminal device with a touch screen, and is characterized by comprising the following steps:

after starting a game application, receiving control operation initiated aiming at the game;

when the received control operation is a non-touch screen control operation, acquiring coordinate information corresponding to the control operation;

determining a control instruction corresponding to the control operation according to a mapping relation between a preset control instruction supporting non-touch screen mode triggering and an operation area of a game interface and coordinate information corresponding to the control operation;

and carrying out corresponding processing on the game application according to the control instruction.

2. The method according to claim 1, wherein when the received control operation is a non-touch screen control operation, acquiring coordinate information corresponding to the control operation includes:

when a control operation initiated by a game peripheral is received, determining that the control operation is a non-touch screen control operation, and acquiring coordinate information corresponding to the control operation from the control operation.

3. The method according to claim 1, wherein when the received control operation is a non-touch screen control operation, acquiring coordinate information corresponding to the control operation includes:

when receiving a control operation containing physical key information, determining that the control operation is a non-touch screen control operation, and acquiring the physical key information from the control operation;

inquiring the physical key information from the mapping relation between the preset physical key and the display screen coordinate information of the terminal equipment;

and determining the coordinate information of the display screen of the terminal equipment corresponding to the inquired physical key information in the mapping relation as the coordinate information corresponding to the control operation.

4. The method according to any one of claims 1 to 3, wherein the determining the control instruction corresponding to the control operation according to a mapping relationship between a preset control instruction triggered by supporting a non-touch screen mode and an operation area of a game interface and coordinate information corresponding to the control operation comprises:

determining coordinate information corresponding to the control operation as first coordinate information, and converting the first coordinate information into second coordinate information in the current game interface;

searching the second coordinate information in the operation area of the game interface according to the mapping relation between the control instruction which supports the non-touch screen mode triggering and the operation area of the game interface;

and when the second coordinate information is searched from any operation area, determining the control instruction corresponding to the operation area containing the second coordinate information in the mapping relation as the control instruction corresponding to the control operation.

5. The method of claim 4, further comprising:

receiving configuration operation, and setting and storing configuration information for triggering control operation in a non-touch screen mode according to the configuration operation, wherein the configuration information at least comprises any one or more of the following information:

one or more control instructions for triggering control operation in a non-touch screen mode are supported;

the type of the game application and one or more control instructions supporting non-touch screen triggering control operation in various types of game applications;

the mapping relation between the control instruction for triggering the control operation in a non-touch screen mode and the operation area of the game interface is supported.

6. The method of claim 5,

when the configuration information includes one or more control instructions supporting non-touch screen mode trigger control operation in multiple types of game applications, the configuration information further includes switching modes between physical key operations corresponding to different types of game applications.

7. The method of claim 2, further comprising:

when the game peripheral receives a physical key operation initiated by a user, determining display screen coordinate information corresponding to the physical key operation according to a preset mapping relation between a physical key and the display screen coordinate information of the terminal equipment;

and the game peripheral sends control operation carrying coordinate information to the terminal equipment, wherein the coordinate information is the determined display screen coordinate information corresponding to the physical key operation.

8. The method according to claim 7, wherein the game peripheral sends the control operation carrying the coordinate information to the terminal device, and the control operation comprises:

and the game peripheral sends the control operation to the terminal equipment through Bluetooth and/or WIFI.

9. The method of claim 2, further comprising:

before receiving the control operation sent by the game peripheral, the terminal equipment starts to receive the control operation sent by the game peripheral when determining that the current game control state is the state of receiving the control of the game peripheral.

10. A game control apparatus, characterized in that the apparatus comprises:

the receiving module is used for receiving control operation initiated by the game after starting the game application;

the control information acquisition module is used for acquiring coordinate information corresponding to the control operation when the received control operation is a non-touch screen control operation;

the mapping module is used for determining a control instruction corresponding to the control operation according to a mapping relation between a preset control instruction supporting non-touch screen triggering and an operation area of a game interface and coordinate information corresponding to the control operation;

and the game control module is used for carrying out corresponding processing on the game application according to the control instruction determined by the mapping module.

11. The apparatus according to claim 10, wherein the obtaining of the control information module, when the received control operation is a non-touch screen control operation, obtains coordinate information corresponding to the control operation, and includes:

when a control operation initiated by a game peripheral is received, determining that the control operation is a non-touch screen control operation, and acquiring coordinate information corresponding to the control operation from the control operation.

12. The apparatus of claim 10, further comprising:

the physical key module receives control operation which is initiated by a user and contains physical key information;

the control information acquisition module comprises:

the first sub-module is used for determining that the control operation is a non-touch screen control operation when receiving the control operation containing the physical key information, and acquiring the physical key information from the control operation;

the second sub-module is used for inquiring the physical key information from the mapping relation between the preset physical key and the coordinate information of the display screen of the terminal equipment;

and the third sub-module is used for determining the coordinate information of the display screen of the terminal equipment corresponding to the inquired physical key information in the mapping relation as the coordinate information corresponding to the control operation.

13. The apparatus of any of claims 10 to 12, wherein the mapping module comprises:

the conversion submodule is used for determining the coordinate information corresponding to the control operation as first coordinate information and converting the first coordinate information into second coordinate information in the current game interface;

the searching submodule is used for searching the second coordinate information from the operation area of the game interface in the mapping relation;

and the mapping processing submodule is used for determining a control instruction corresponding to the control operation in the mapping relation and the operation area containing the second coordinate information when the second coordinate information is searched from any operation area.

14. The apparatus of claim 13, further comprising:

the configuration management module is used for receiving configuration operation, setting and storing configuration information for triggering control operation in a non-touch screen mode according to the configuration operation, wherein the configuration information at least comprises any one or more of the following information:

one or more control instructions for triggering control operation in a non-touch screen mode are supported;

the type of the game application and one or more control instructions supporting non-touch screen triggering control operation in various types of game applications;

the mapping relation between the control instruction for triggering the control operation in a non-touch screen mode and the operation area of the game interface is supported.

15. The apparatus of claim 14,

when the configuration information includes one or more control instructions supporting non-touch screen mode trigger control operation in multiple types of game applications, the configuration information further includes switching modes between physical key operations corresponding to different types of game applications.

16. The apparatus of claim 11, wherein the receiving module receives a control operation initiated by a gaming peripheral, comprising:

and receiving the control operation sent by the game peripheral through Bluetooth and/or WIFI.

17. The apparatus of claim 16, further comprising:

and the judging module is used for informing the receiving module to receive the control operation sent by the game peripheral when the current game control state is determined to be the state of receiving the game peripheral control before the control operation sent by the game peripheral is received.

18. The apparatus of claim 12,

the physical key module comprises one or more physical keys, and the physical keys are arranged at any one or two positions of the following positions:

the device back cover and the device side frame.

19. The apparatus of claim 12,

the physical key module comprises a volume switch key and/or a power-on/power-off key.

20. The utility model provides a mobile terminal's protective housing, includes power module, its characterized in that: the device also comprises a shell and a control module;

one or more physical keys are arranged on the side frame and/or the main body plane of the shell, and the physical keys are electrically connected with the control module;

the control module receives an electric signal sent by a physical key on the shell, determines display screen coordinate information corresponding to the physical key sending the electric signal according to a mapping relation between a preset physical key and display screen coordinate information of the terminal device adaptive to the protective shell, and sends control operation carrying the display screen coordinate information to the terminal device.

21. A game control apparatus, comprising:

a processor;

and a memory storing processor-executable instructions;

wherein the processor is configured to:

executing instructions implementing the game control method of any one of claims 1 to 9.

22. A computer-readable storage medium, having stored thereon a computer program, characterized in that the computer program, when executed, implements the steps of a game control method as claimed in any one of claims 1 to 9.

Technical Field

The present invention relates to a game control technology of a mobile terminal, and in particular, to a game control method and apparatus, and a protection case of a mobile terminal.

Background

At present, games run on a mobile phone basically drag, click and slide the screen, and the like, so that a good mechanical feedback can not be provided during clicking, and the feedback that two hands can click is limited as the screen of the mobile phone is larger. Although some games can be operated by accessing the handle, the game is inconvenient to carry.

Disclosure of Invention

The application provides a game control method and device and a protective shell of a mobile terminal.

The application discloses a game control method, which is applied to terminal equipment with a touch screen, and comprises the following steps:

after starting a game application, receiving control operation initiated aiming at the game;

when the received control operation is a non-touch screen control operation, acquiring coordinate information corresponding to the control operation;

determining a control instruction corresponding to the control operation according to a mapping relation between a preset control instruction supporting non-touch screen mode triggering and an operation area of a game interface and coordinate information corresponding to the control operation;

and carrying out corresponding processing on the game application according to the control instruction.

Optionally, in the method, when the received control operation is a non-touch screen control operation, acquiring coordinate information corresponding to the control operation includes:

when a control operation initiated by a game peripheral is received, determining that the control operation is a non-touch screen control operation, and acquiring coordinate information corresponding to the control operation from the control operation.

Optionally, in the method, when the received control operation is a non-touch screen control operation, acquiring coordinate information corresponding to the control operation includes:

when receiving a control operation containing physical key information, determining that the control operation is a non-touch screen control operation, and acquiring the physical key information from the control operation;

inquiring the physical key information from the mapping relation between the preset physical key and the display screen coordinate information of the terminal equipment;

and determining the coordinate information of the display screen of the terminal equipment corresponding to the inquired physical key information in the mapping relation as the coordinate information corresponding to the control operation.

Optionally, in the method, the determining, according to a mapping relationship between a preset control instruction triggered by supporting a non-touch screen mode and an operation area of a game interface and coordinate information corresponding to the control operation, the control instruction corresponding to the control operation includes:

determining coordinate information corresponding to the control operation as first coordinate information, and converting the first coordinate information into second coordinate information in the current game interface;

searching the second coordinate information in the operation area of the game interface according to the mapping relation between the control instruction which supports the non-touch screen mode triggering and the operation area of the game interface;

and when the second coordinate information is searched from any operation area, determining the control instruction corresponding to the operation area containing the second coordinate information in the mapping relation as the control instruction corresponding to the control operation.

Optionally, the method further includes:

receiving configuration operation, and setting and storing configuration information for triggering control operation in a non-touch screen mode according to the configuration operation, wherein the configuration information at least comprises any one or more of the following information:

one or more control instructions for triggering control operation in a non-touch screen mode are supported;

the type of the game application and one or more control instructions supporting non-touch screen triggering control operation in various types of game applications;

the mapping relation between the control instruction for triggering the control operation in a non-touch screen mode and the operation area of the game interface is supported.

Optionally, in the above method, when the configuration information includes one or more control instructions supporting non-touch screen mode trigger control operations in multiple types of game applications, the configuration information further includes a switching mode between physical key operations corresponding to different types of game applications.

Optionally, the method further includes:

when the game peripheral receives a physical key operation initiated by a user, determining display screen coordinate information corresponding to the physical key operation according to a preset mapping relation between a physical key and the display screen coordinate information of the terminal equipment;

and the game peripheral sends control operation carrying coordinate information to the terminal equipment, wherein the coordinate information is the determined display screen coordinate information corresponding to the physical key operation.

Optionally, in the method, the sending, by the game peripheral to the terminal device, a control operation carrying coordinate information includes:

and the game peripheral sends the control operation to the terminal equipment through Bluetooth and/or WIFI.

Optionally, the method further includes:

before receiving the control operation sent by the game peripheral, the terminal equipment starts to receive the control operation sent by the game peripheral when determining that the current game control state is the state of receiving the control of the game peripheral.

The application also discloses a game control device, includes:

the receiving module is used for receiving control operation initiated by the game after starting the game application;

the control information acquisition module is used for acquiring coordinate information corresponding to the control operation when the received control operation is a non-touch screen control operation;

the mapping module is used for determining a control instruction corresponding to the control operation according to a mapping relation between a preset control instruction supporting non-touch screen triggering and an operation area of a game interface and coordinate information corresponding to the control operation;

and the game control module is used for carrying out corresponding processing on the game application according to the control instruction determined by the mapping module.

Optionally, in the apparatus, when the received control operation is a non-touch screen control operation, the obtaining of the control information module obtains the coordinate information corresponding to the control operation, where the obtaining of the control information module includes:

when a control operation initiated by a game peripheral is received, determining that the control operation is a non-touch screen control operation, and acquiring coordinate information corresponding to the control operation from the control operation.

Optionally, the apparatus further comprises:

the physical key module receives control operation which is initiated by a user and contains physical key information;

the control information acquisition module comprises:

the first sub-module is used for determining that the control operation is a non-touch screen control operation when receiving the control operation containing the physical key information, and acquiring the physical key information from the control operation;

the second sub-module is used for inquiring the physical key information from the mapping relation between the preset physical key and the coordinate information of the display screen of the terminal equipment;

and the third sub-module is used for determining the coordinate information of the display screen of the terminal equipment corresponding to the inquired physical key information in the mapping relation as the coordinate information corresponding to the control operation.

Optionally, in the above apparatus, the mapping module includes:

the conversion submodule is used for determining the coordinate information corresponding to the control operation as first coordinate information and converting the first coordinate information into second coordinate information in the current game interface;

the searching submodule is used for searching the second coordinate information from the operation area of the game interface in the mapping relation;

and the mapping processing submodule is used for determining a control instruction corresponding to the control operation in the mapping relation and the operation area containing the second coordinate information when the second coordinate information is searched from any operation area.

Optionally, the apparatus further comprises:

the configuration management module is used for receiving configuration operation, setting and storing configuration information for triggering control operation in a non-touch screen mode according to the configuration operation, wherein the configuration information at least comprises any one or more of the following information:

one or more control instructions for triggering control operation in a non-touch screen mode are supported;

the type of the game application and one or more control instructions supporting non-touch screen triggering control operation in various types of game applications;

the mapping relation between the control instruction for triggering the control operation in a non-touch screen mode and the operation area of the game interface is supported.

Optionally, in the above apparatus, when the configuration information includes one or more control instructions supporting non-touch screen mode trigger control operations in multiple types of game applications, the configuration information further includes a switching mode between physical key operations corresponding to different types of game applications.

Optionally, in the above apparatus, the receiving module receives a control operation initiated by a game peripheral, and includes:

and receiving the control operation sent by the game peripheral through Bluetooth and/or WIFI.

Optionally, the apparatus further comprises:

and the judging module is used for informing the receiving module to receive the control operation sent by the game peripheral when the current game control state is determined to be the state of receiving the game peripheral control before the control operation sent by the game peripheral is received.

Optionally, in the above apparatus, the physical key module includes one or more physical keys, and the physical keys are placed in any one or two of the following positions:

the device back cover and the device side frame.

Optionally, in the above apparatus, the physical key module includes a volume switch key and/or an on/off key.

The application also discloses a protective shell of the mobile terminal, which comprises a power supply module, a shell and a control module;

one or more physical keys are arranged on the side frame and/or the main body plane of the shell, and the physical keys are electrically connected with the control module;

the control module receives an electric signal sent by a physical key on the shell, determines display screen coordinate information corresponding to the physical key sending the electric signal according to a mapping relation between a preset physical key and display screen coordinate information of the terminal device adaptive to the protective shell, and sends control operation carrying the display screen coordinate information to the terminal device.

The application also discloses a game control device, includes:

a processor;

and a memory storing processor-executable instructions;

wherein the processor is configured to:

instructions to implement the game control method as described above are executed.

The present application also discloses a computer-readable storage medium having stored thereon a computer program which, when executed, implements the steps of a game control method as described above.

The technical scheme provides a game control method, a game control device and a game control medium, which can enable a user to control a game by combining a non-touch screen operation mode while operating the game on a touch screen. For example, the physical key operation triggered by the game peripheral is used for controlling the game while the user touches the screen.

Drawings

Fig. 1(a) is a schematic diagram showing a user holding posture from a main perspective of the front surface of the terminal device when the terminal user plays a game.

Fig. 1(b) is a schematic diagram showing a user holding posture from a main view angle of the back surface of the terminal device when the terminal user plays a game.

Fig. 2 is a schematic flow chart of a game control method in the embodiment of the present application.

Fig. 3 is a schematic flowchart of a control instruction corresponding to a determination control operation in an embodiment of the present application.

Fig. 4 is a schematic flow chart of the game peripheral sending control operation to the terminal device in the embodiment of the present application.

Fig. 5 is a schematic structural diagram of a housing of a mobile phone housing provided in an embodiment of the present application.

Fig. 6 is a flowchart illustrating the operation of the mobile phone shell converting the keys into corresponding screen seating information according to the embodiment of the present application.

Fig. 7 is a flowchart illustrating a process of modifying a corresponding relationship between keys of a mobile phone case and screen coordinate information stored in the mobile phone case by a user in an embodiment of the present application.

Fig. 8 is a flowchart illustrating a user switching a default key configuration through a combination of keys of a mobile phone housing according to an embodiment of the present application.

Fig. 9 is a schematic diagram of a related art user touch screen operated game.

Detailed Description

In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be further described in detail with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments of the present application may be arbitrarily combined with each other without conflict.

22页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种游戏回放方法、装置、电子设备及存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类