[go: up one dir, main page]

CN108744496A - Touch game control method, electronic equipment, storage medium and the device of screen - Google Patents

Touch game control method, electronic equipment, storage medium and the device of screen Download PDF

Info

Publication number
CN108744496A
CN108744496A CN201810642970.XA CN201810642970A CN108744496A CN 108744496 A CN108744496 A CN 108744496A CN 201810642970 A CN201810642970 A CN 201810642970A CN 108744496 A CN108744496 A CN 108744496A
Authority
CN
China
Prior art keywords
touch screen
signal
unit
game
controller
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
CN201810642970.XA
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.)
Guangzhou Xiaojikuaipao Network Technology Co Ltd
Original Assignee
Guangzhou Xiaojikuaipao Network 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 Guangzhou Xiaojikuaipao Network Technology Co Ltd filed Critical Guangzhou Xiaojikuaipao Network Technology Co Ltd
Priority to CN201810642970.XA priority Critical patent/CN108744496A/en
Publication of CN108744496A publication Critical patent/CN108744496A/en
Pending legal-status Critical Current

Links

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/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/10Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals
    • A63F2300/1068Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals being specially adapted to detect the point of contact of the player on a surface, e.g. floor mat, touch pad
    • A63F2300/1075Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals being specially adapted to detect the point of contact of the player on a surface, e.g. floor mat, touch pad using a touch screen
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/60Methods for processing data by generating or executing the game program
    • A63F2300/6045Methods for processing data by generating or executing the game program for mapping control signals received from the input arrangement into game commands

Landscapes

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

Abstract

本发明提供触摸屏幕的游戏控制方法,包括步骤:转换输入指令,接收游戏控制器的输入指令,将输入指令转换为对应触摸屏幕的坐标及触摸动作指令信息;采集扫描信号,根据坐标及触摸动作指令信息采集触摸屏幕的扫描信号;分析扫描信号,将扫描信号转换为数字信号,并分析数字信号的频率和幅度;生成干扰信号,根据频率和幅度生成干扰信号,将干扰信号输出至坐标对应游戏场景中的按钮处。本发明涉及电子设备与可读存储介质,用于执行上述方法。本发明还涉及触摸屏幕的游戏控制装置。本发明实现了直接通过游戏控制器进行触摸屏幕游戏操作,兼容性强,无需改动设备,不受操作系统的限制,提高游戏操作体验,给触摸屏幕游戏操作带来更好的物理反馈体验。

The invention provides a game control method for a touch screen, comprising the steps of: converting an input command, receiving an input command from a game controller, converting the input command into coordinates and touch action command information corresponding to the touch screen; collecting scanning signals, and according to the coordinates and touch action The instruction information collects the scanning signal of the touch screen; analyzes the scanning signal, converts the scanning signal into a digital signal, and analyzes the frequency and amplitude of the digital signal; generates an interference signal, generates an interference signal according to the frequency and amplitude, and outputs the interference signal to the game corresponding to the coordinates button in the scene. The present invention relates to an electronic device and a readable storage medium for executing the above method. The invention also relates to a touch screen game control device. The invention realizes the touch screen game operation directly through the game controller, has strong compatibility, does not need to modify the equipment, is not limited by the operating system, improves the game operation experience, and brings better physical feedback experience to the touch screen game operation.

Description

触摸屏幕的游戏控制方法、电子设备、存储介质及装置Touch screen game control method, electronic device, storage medium and device

技术领域technical field

本发明涉及人机交互技术领域,尤其涉及触摸屏幕的游戏控制方法、电子设备、存储介质及装置。The invention relates to the technical field of human-computer interaction, in particular to a touch screen game control method, electronic equipment, a storage medium and a device.

背景技术Background technique

目前触屏操作为主流的游戏操控方式,能够实现人与设备之间的灵活、直观的交互,特别是在移动设备领域,如手机、平板电脑;目前移动设备的游戏内容操作适配以触屏为主,游戏开发商忽略了接入游戏控制器进行操控,没有对游戏控制器做针对性接入,仅实现触屏操作,触屏操作无法满足物理反馈感高的游戏操控需求,操作体验感差。目前游戏按制器如手柄、键盘鼠标、IMU传感器,需要通过接入设备的标准HID协议、专用SDK、破解或修改改包植入SDK等方式,其中标准HID协议、专用SDK需要游戏开发者主动接入,破解改包植入SDK会影响应用的完整性并存在不确定的风险,如后续升级、法律风险、官方支持等,且还面临不同平台如Android、iOS的限制。At present, touch screen operation is the mainstream game control method, which can realize flexible and intuitive interaction between people and devices, especially in the field of mobile devices, such as mobile phones and tablet computers; currently, the game content operation of mobile devices is adapted to touch screen Mainly, game developers neglected to access the game controller for control, did not make targeted access to the game controller, only realized touch-screen operation, touch-screen operation cannot meet the game control needs with high physical feedback, and the operating experience Difference. At present, game controllers such as handles, keyboards and mice, and IMU sensors need to access the standard HID protocol of the device, a dedicated SDK, crack or modify the package and implant the SDK, etc. Among them, the standard HID protocol and the dedicated SDK require the game developer to take the initiative Accessing, cracking and changing the package to implant the SDK will affect the integrity of the application and have uncertain risks, such as subsequent upgrades, legal risks, official support, etc., and also face restrictions from different platforms such as Android and iOS.

发明内容Contents of the invention

为了克服现有技术的不足,本发明的目的之一在于提供触摸屏幕的游戏控制方法、电子设备、存储介质及装置,解决了无法直接通过游戏控制器进行触摸屏幕游戏操作的问题。In order to overcome the deficiencies of the prior art, one of the purposes of the present invention is to provide a touch screen game control method, electronic equipment, storage medium and device, which solves the problem that the touch screen game operation cannot be performed directly through the game controller.

本发明提供触摸屏幕的游戏控制方法,包括以下步骤:The invention provides a game control method of a touch screen, comprising the following steps:

转换输入指令,接收游戏控制器的输入指令,将所述输入指令转换为对应触摸屏幕的坐标及触摸动作指令信息;Converting the input command, receiving the input command of the game controller, and converting the input command into coordinates corresponding to the touch screen and touch action command information;

采集扫描信号,根据所述坐标及触摸动作指令信息采集所述触摸屏幕的扫描信号;Collecting scanning signals, collecting scanning signals of the touch screen according to the coordinates and touch action instruction information;

分析扫描信号,对所述扫描信号进行分析,获得所述扫描信号的频率和幅度;Analyzing the scanning signal, analyzing the scanning signal to obtain the frequency and amplitude of the scanning signal;

生成干扰信号,根据所述频率和幅度生成干扰信号,将所述干扰信号输出至所述坐标对应游戏场景中的按钮处。Generate an interference signal, generate an interference signal according to the frequency and amplitude, and output the interference signal to the button in the game scene corresponding to the coordinates.

进一步地,所述转换输入指令还包括识别触屏终端的屏幕分辨率、横竖屏状态、当前游戏场景,根据所述屏幕分辨率、横竖屏状态、当前游戏场景匹配对应的映射数据库,通过所述映射数据库将所述输入指令转换为对应触摸屏幕的坐标及触摸动作指令信息,所述映射数据库存储所述游戏控制器的输入指令与触摸动作之间的映射关系及所述游戏控制器的信号输出端对应触摸屏幕的坐标。Further, the conversion input instruction also includes identifying the screen resolution, horizontal and vertical screen status, and current game scene of the touch-screen terminal, and matching the corresponding mapping database according to the screen resolution, horizontal and vertical screen status, and current game scene, through the The mapping database converts the input instruction into coordinates corresponding to the touch screen and touch action instruction information, and the mapping database stores the mapping relationship between the input instruction of the game controller and the touch action and the signal output of the game controller The terminal corresponds to the coordinates of the touch screen.

进一步地,还包括更新映射数据库,通过外部数据导入的方式更新所述映射数据库。Further, it also includes updating the mapping database, and updating the mapping database by importing external data.

进一步地,生成干扰信号中,根据所述频率和幅度生成与所述扫描信号同步反向的干扰信号,并判断所述触摸屏幕的扫描状态,当所述扫描状态为正在扫描时,将所述干扰信号输出至所述坐标处,所述扫描状态包括正在扫描和扫描间隔,所述干扰信号具体为脉冲信号。Further, in generating the interference signal, an interference signal synchronously reversed to the scanning signal is generated according to the frequency and amplitude, and the scanning state of the touch screen is judged, and when the scanning state is scanning, the An interference signal is output to the coordinates, the scanning state includes scanning and a scanning interval, and the interference signal is specifically a pulse signal.

进一步地,所述生成干扰信号还包括在信号输出时间内将所述干扰信号输出至所述坐标处。Further, the generating the interference signal further includes outputting the interference signal to the coordinate within the signal output time.

进一步地,所述生成干扰信号还包括在单位输出区域内将所述干扰信号输出至所述坐标处。Further, the generating the interference signal further includes outputting the interference signal to the coordinate within the unit output area.

进一步地,所述生成干扰信号还包括在若干相邻的块输出区域内将所述干扰信号逐块交替的输出至所述触摸屏幕,所述块输出区域由若干相邻的所述单位输出区域组成。Further, the generation of the interference signal also includes alternately outputting the interference signal to the touch screen block by block in several adjacent block output areas, the block output area consists of several adjacent unit output areas composition.

一种电子设备,包括:处理器;An electronic device, comprising: a processor;

存储器;以及程序,其中所述程序被存储在所述存储器中,并且被配置成由处理器执行,所述程序包括用于执行上述触摸屏幕的游戏控制方法。a memory; and a program, wherein the program is stored in the memory and is configured to be executed by a processor, the program including a game control method for executing the touch screen described above.

一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行上述触摸屏幕的游戏控制方法。A computer-readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to execute the above touch screen game control method.

触摸屏幕的游戏控制装置,包括控制器、信号采集单元、信号生成单元、信号输出单元、映射数据库,游戏控制器的信号输出端与所述控制器连接,所述控制器与所述映射数据库连接,所述映射数据库存储所述游戏控制器的输入指令与触摸动作之间的映射关系及所述游戏控制器的信号输出端对应触摸屏幕的坐标,所述控制器通过所述映射数据库将所述输入指令转换为对应触摸屏幕的坐标及触摸动作指令信息,所述控制器与所述信号采集单元、所述信号生成单元连接,所述信号生成单元与所述信号输出单元连接,所述信号采集单元的采集端贴合在所述触摸屏幕上,所述采集端采集触摸屏幕的扫描信号,所述控制器分析所述扫描信号的频率和幅度,所述信号生成单元根据所述频率和幅度生成干扰信号,所述信号输出单元的输出端贴合在触摸屏幕上,所述输出端与当前游戏场景中的按钮位置对应。The game control device of the touch screen includes a controller, a signal acquisition unit, a signal generation unit, a signal output unit, and a mapping database, the signal output end of the game controller is connected to the controller, and the controller is connected to the mapping database , the mapping database stores the mapping relationship between the input instruction of the game controller and the touch action and the coordinates of the signal output end of the game controller corresponding to the touch screen, and the controller uses the mapping database to transfer the Input instructions are converted into coordinates and touch action instruction information corresponding to the touch screen, the controller is connected to the signal acquisition unit and the signal generation unit, the signal generation unit is connected to the signal output unit, and the signal acquisition unit is connected to the signal generation unit. The collection end of the unit is attached to the touch screen, the collection end collects the scanning signal of the touch screen, the controller analyzes the frequency and amplitude of the scanning signal, and the signal generating unit generates As for the interference signal, the output end of the signal output unit is pasted on the touch screen, and the output end corresponds to the position of the button in the current game scene.

进一步地,所述信号采集单元的采集端具体为电极的公共端,所述信号输出单元的输出端具体为所述电极的电极端。Further, the collection terminal of the signal collection unit is specifically the common terminal of the electrodes, and the output terminal of the signal output unit is specifically the electrode terminals of the electrodes.

进一步地,所述电极固定在透明板上,所述透明板与所述触摸屏幕贴合,所述电极位置与当前游戏场景中的按钮位置对应。Further, the electrodes are fixed on the transparent plate, the transparent plate is attached to the touch screen, and the positions of the electrodes correspond to the positions of the buttons in the current game scene.

进一步地,所述电极通过印刷电路搭载在所述透明板上。Further, the electrodes are mounted on the transparent board through a printed circuit.

进一步地,所述电极与所述触摸屏幕吸合,所述电极通过导线接入所述信号采集单元、所述信号输出单元。Further, the electrodes are attracted to the touch screen, and the electrodes are connected to the signal acquisition unit and the signal output unit through wires.

进一步地,若干所述电极组成电极矩阵,所述电极矩阵搭载在透明板上,所述透明板与所述触摸屏幕贴合,所述电极矩阵通过排线接入所述信号采集单元、所述信号输出单元。Further, several of the electrodes form an electrode matrix, and the electrode matrix is carried on a transparent plate, and the transparent plate is bonded to the touch screen, and the electrode matrix is connected to the signal acquisition unit, the Signal output unit.

进一步地,还包括参数识别单元和数据库匹配单元,所述参数识别单元、所述数据库匹配单元与所述控制器连接,所述参数识别单元识别触屏终端的屏幕分辨率、横竖屏状态、当前游戏场景;所述数据库匹配单元根据所述屏幕分辨率、横竖屏状态、当前游戏场景匹配对应的映射数据库。Further, it also includes a parameter identification unit and a database matching unit, the parameter identification unit and the database matching unit are connected to the controller, and the parameter identification unit identifies the screen resolution, horizontal and vertical screen status, current Game scene; the database matching unit matches the corresponding mapping database according to the screen resolution, horizontal and vertical screen status, and the current game scene.

进一步地,还包括数据库更新单元,所述数据库更新单元与所述数据库连接,所述数据库更新单元通过外部数据导入的方式更新所述映射数据库。Further, a database update unit is also included, the database update unit is connected to the database, and the database update unit updates the mapping database by importing external data.

进一步地,还包括开关控制器,所述开关控制器与所述电极端连接。Further, a switch controller is also included, and the switch controller is connected to the electrode terminal.

进一步地,所述透明板包括薄膜和ITO。Further, the transparent plate includes thin film and ITO.

相比现有技术,本发明的有益效果在于:Compared with the prior art, the beneficial effects of the present invention are:

本发明提供触摸屏幕的游戏控制方法,包括以下步骤:转换输入指令,接收游戏控制器的输入指令,将输入指令转换为对应触摸屏幕的坐标及触摸动作指令信息;采集扫描信号,根据坐标及触摸动作指令信息采集触摸屏幕的扫描信号;分析扫描信号,将扫描信号转换为数字信号,并分析数字信号的频率和幅度;生成干扰信号,根据频率和幅度生成干扰信号,将干扰信号输出至坐标对应游戏场景中的按钮处。本发明涉及电子设备与可读存储介质,用于执行触摸屏幕的游戏控制方法。本发明还涉及触摸屏幕的游戏控制装置。本发明通过将游戏控制器的输入指令转换为触摸动作指令,向当前游戏场景中对应的按钮位置处发送干扰信号干扰触摸屏幕的扫描信号,形成电容电场,使当前游戏场景中对应的按钮位置处的扫描信号受到干扰,实现当前游戏场景中对应的按钮位置处的仿真触屏操作;兼容性强,无需改动设备,支持所有电容式触摸屏幕,不受操作系统的限制;提高操作体验,直接通过游戏控制器进行操作,实现仿真的触屏操作;无需内容接入支持,省去开发者接入麻烦、耗时问题,只要游戏内容按触摸屏幕操作开发即可,纯物理方式,免去破解、修改系统带来的麻烦;结合游戏控制器,能给传统的触摸屏幕游戏操作带来更好的物理反馈体验,避免与触摸屏幕直接接触。The invention provides a game control method for a touch screen, comprising the following steps: converting an input command, receiving an input command from a game controller, converting the input command into coordinates and touch action command information corresponding to the touch screen; The action command information collects the scanning signal of the touch screen; analyzes the scanning signal, converts the scanning signal into a digital signal, and analyzes the frequency and amplitude of the digital signal; generates an interference signal, generates an interference signal according to the frequency and amplitude, and outputs the interference signal to the coordinate corresponding button in the game scene. The invention relates to an electronic device and a readable storage medium, which are used for executing a game control method of a touch screen. The invention also relates to a touch screen game control device. The present invention converts the input command of the game controller into a touch action command, sends an interference signal to the corresponding button position in the current game scene to interfere with the scanning signal of the touch screen, and forms a capacitive electric field, so that the corresponding button position in the current game scene The scanning signal is interfered, and the simulated touch screen operation at the corresponding button position in the current game scene is realized; the compatibility is strong, no need to change the device, and all capacitive touch screens are supported, not limited by the operating system; to improve the operating experience, directly through The game controller is operated to realize the simulated touch screen operation; no content access support is required, which saves developers the trouble of accessing and time-consuming problems. As long as the game content is developed according to the touch screen operation, it is purely physical, eliminating the need for cracking, The trouble caused by modifying the system; combined with the game controller, it can bring a better physical feedback experience to the traditional touch screen game operation, and avoid direct contact with the touch screen.

上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,并可依照说明书的内容予以实施,以下以本发明的较佳实施例并配合附图详细说明如后。本发明的具体实施方式由以下实施例及其附图详细给出。The above description is only an overview of the technical solutions of the present invention. In order to understand the technical means of the present invention more clearly and implement them according to the contents of the description, the preferred embodiments of the present invention and accompanying drawings are described in detail below. The specific embodiment of the present invention is given in detail by the following examples and accompanying drawings.

附图说明Description of drawings

此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention and constitute a part of the application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations to the present invention. In the attached picture:

图1为本发明的触摸屏幕的游戏控制方法流程图;Fig. 1 is the flow chart of the game control method of the touch screen of the present invention;

图2为本发明的触摸屏幕的游戏控制装置结构示意图;2 is a schematic structural diagram of a game control device with a touch screen of the present invention;

图3为本发明实施例的电极与触摸屏幕示意图一;FIG. 3 is a first schematic diagram of an electrode and a touch screen according to an embodiment of the present invention;

图4为本发明实施例的电极与触摸屏幕示意图二;FIG. 4 is a second schematic diagram of electrodes and a touch screen according to an embodiment of the present invention;

图5为本发明实施例的电极与触摸屏幕示意图三;FIG. 5 is a third schematic diagram of electrodes and a touch screen according to an embodiment of the present invention;

图6为本发明实施例的电极与触摸屏幕示意图四;FIG. 6 is a fourth schematic diagram of electrodes and a touch screen according to an embodiment of the present invention;

图7为本发明实施例的电极矩阵示意图一;FIG. 7 is a schematic diagram of an electrode matrix according to an embodiment of the present invention;

图8为本发明实施例的电极矩阵示意图二;FIG. 8 is a second schematic diagram of an electrode matrix according to an embodiment of the present invention;

图9为本发明实施例的电极矩阵示意图三。FIG. 9 is a third schematic diagram of an electrode matrix according to an embodiment of the present invention.

图中:1、触摸屏幕;2、透明板;3、电极;4、反向触摸屏。In the figure: 1. touch screen; 2. transparent plate; 3. electrodes; 4. reverse touch screen.

具体实施方式Detailed ways

下面,结合附图以及具体实施方式,对本发明做进一步描述,需要说明的是,在不相冲突的前提下,以下描述的各实施例之间或各技术特征之间可以任意组合形成新的实施例。Below, the present invention will be further described in conjunction with the accompanying drawings and specific implementation methods. It should be noted that, under the premise of not conflicting, the various embodiments described below or the technical features can be combined arbitrarily to form new embodiments. .

触摸屏幕的游戏控制方法,如图1所示,包括以下步骤:The game control method of touching the screen, as shown in Figure 1, comprises the following steps:

转换输入指令,接收游戏控制器的输入指令,将输入指令转换为对应触摸屏幕的坐标及触摸动作指令信息;本实施例中,触摸屏幕具体为电容屏,通过控制器接收输入指令,也可通过触屏终端接收输入指令,优选的,转换输入指令还包括识别触屏终端的屏幕分辨率、横竖屏状态、当前游戏场景,本实施例中,通过触屏终端识别屏幕分辨率和当前游戏场景,并通知到控制器,也可通过控制器识别触屏终端的屏幕分辨率、横竖屏状态、当前游戏场景,如采用ADB的方式获取android系统触屏终端的上述参数。不同的屏幕分辨率、横竖屏状态、当前游戏场景对应不同的映射数据库,根据屏幕分辨率、横竖屏状态、当前游戏场景匹配对应的映射数据库,本实施例中,映射数据库置于控制器内,也可以置于触屏终端内,控制器或触屏终端通过映射数据库将输入指令转换为对应触摸屏幕的坐标及触摸动作指令信息,触屏终端将转换的坐标及触摸动作指令信息发送给控制器,映射数据库存储游戏控制器的输入指令与触摸动作之间的映射关系及游戏控制器的信号输出端对应触摸屏幕的坐标。Convert the input command, receive the input command of the game controller, and convert the input command into coordinates and touch action command information corresponding to the touch screen; in this embodiment, the touch screen is specifically a capacitive screen, and the input command is received through the controller, or through The touch screen terminal receives the input instruction. Preferably, converting the input instruction also includes identifying the screen resolution, the horizontal and vertical screen status, and the current game scene of the touch screen terminal. In this embodiment, the screen resolution and the current game scene are identified by the touch screen terminal. And notify the controller, and also can identify the screen resolution, horizontal and vertical screen status, and current game scene of the touch-screen terminal through the controller, such as adopting ADB to obtain the above-mentioned parameters of the touch-screen terminal of the android system. Different screen resolutions, horizontal and vertical screen states, and current game scenes correspond to different mapping databases. According to the screen resolution, horizontal and vertical screen states, and current game scenes, the corresponding mapping databases are matched. In this embodiment, the mapping database is placed in the controller. It can also be placed in the touch screen terminal. The controller or the touch screen terminal converts the input command into the coordinates and touch action command information corresponding to the touch screen through the mapping database, and the touch screen terminal sends the converted coordinates and touch action command information to the controller. The mapping database stores the mapping relationship between the input command of the game controller and the touch action and the coordinates of the signal output terminal of the game controller corresponding to the touch screen.

采集扫描信号,触摸屏幕的扫描信号在很小的时间内间隔持续扫描,通常触摸屏幕的扫描刷新率为100-200KHz,以微秒为单位,根据坐标及触摸动作指令信息采集触摸屏幕的扫描信号;此坐标对应游戏场景中的按钮坐标,电极覆盖在此坐标位置处。Collect scanning signals, the scanning signals of the touch screen are continuously scanned in a small time interval, usually the scanning refresh rate of the touch screen is 100-200KHz, in microseconds, and the scanning signals of the touch screen are collected according to the coordinates and touch action command information ; This coordinate corresponds to the button coordinate in the game scene, and the electrode is covered at this coordinate position.

分析扫描信号,将扫描信号转换为数字信号,由于不同触摸屏幕的生产厂商及驱动不同,使得触摸屏幕的扫描频率不同,通过对原始信号进行分析,获得数字信号的频率和幅度;通过扫描频率获得扫描的间隔时间,根据扫描频率和幅度判断触摸屏幕的扫描信号状态,扫描状态包括正在扫描和扫描间隔。Analyze the scanning signal and convert the scanning signal into a digital signal. Due to the different manufacturers and drivers of different touch screens, the scanning frequency of the touch screen is different. By analyzing the original signal, the frequency and amplitude of the digital signal are obtained; Scanning interval time, judge the scanning signal state of the touch screen according to the scanning frequency and amplitude, and the scanning state includes scanning and scanning interval.

生成干扰信号,根据频率和幅度生成干扰信号,本实施例中,干扰信号与扫描信号反向且同步,只有在触摸屏幕为正在扫描状态时,将干扰信号输出至坐标对应游戏场景中的按钮处,才有效干扰扫描信号,触摸屏幕的扫描信号与同步干扰信号叠加处对应触摸屏幕的坐标为触摸动作的位置。触屏终端的触摸屏幕驱动发现此坐标的扫描信号受到干扰,从而确定触屏动作的位置。Generate an interference signal, and generate an interference signal according to the frequency and amplitude. In this embodiment, the interference signal is reversed and synchronized with the scanning signal. Only when the touch screen is in the scanning state, the interference signal is output to the button in the game scene corresponding to the coordinates , the scanning signal is effectively interfered, and the coordinates of the touch screen where the scanning signal of the touch screen and the synchronous interference signal are superimposed correspond to the touch screen is the position of the touch action. The touch screen driver of the touch screen terminal finds that the scanning signal of this coordinate is disturbed, so as to determine the position of the touch screen action.

在一实施例中,优选的,还包括更新映射数据库,通过外部数据导入方式如文件、有线通讯、无线通讯等更新映射数据库。In an embodiment, preferably, it also includes updating the mapping database, and updating the mapping database through external data import methods such as files, wired communication, wireless communication, and the like.

在一实施例中,优选的,生成干扰信号中,根据频率和幅度生成与数字信号同步反向的干扰信号,并判断触摸屏幕的扫描状态,当扫描状态为正在扫描时,将干扰信号输出至坐标处。In one embodiment, preferably, in generating the interference signal, an interference signal synchronously reversed with the digital signal is generated according to the frequency and amplitude, and the scanning state of the touch screen is judged, and when the scanning state is scanning, the interference signal is output to coordinates.

在一实施例中,实现单点动作,如单点触摸,包括单点击和长按,优选的,生成干扰信号还包括在信号输出时间内将干扰信号输出至坐标处。本实施例中,游戏控制器输出单点击操作指令时,发送0.3秒的干扰信号至触摸屏幕,游戏控制器输出长按指令时,持续发送干扰信号至触摸屏幕。In an embodiment, realizing a single-point action, such as a single-point touch, includes a single click and a long press. Preferably, generating an interference signal further includes outputting the interference signal to the coordinates within the signal output time. In this embodiment, when the game controller outputs a single-click operation instruction, it sends a 0.3-second interference signal to the touch screen, and when the game controller outputs a long-press instruction, it continuously sends an interference signal to the touch screen.

如图7-图9所示,将干扰信号的输出区域划分为若干单位输出区域,干扰信号的输出区域可覆盖全部触摸屏莫,也可只覆盖部分触摸屏幕,形状可以是规则形状,也可是不规则形状,干扰信号的输出区域与触摸屏幕对应,干扰信号的输出区域的位置与触摸屏幕的坐标对应,优选的,生成干扰信号还包括在单位输出区域内将干扰信号输出至坐标处。图7中每一方块为一单位输出区域,单点操作可以只针对单个单位输出区域发送干扰信号。优选的,生成干扰信号还包括在在若干相邻的块输出区域内将干扰信号逐块交替的输出至触摸屏幕,块输出区域由若干相邻的单位输出区域组成。图8中,块输出区域由一个单位输出区域组成,每一方块为一单位输出区域,箭头为移动操作方向,移动操作可以只针对若干相邻的单位输出区域内逐个交替的发送干扰信号,实现连续移动的触摸动作。图9中每一方块为一单位输出区域,四个单位输出区域组成一个块输出区域,圆圈为块输出区域的中心,箭头为移动操作方向,移动中的块输出区域前后存在衔接,移动操作可以针对若干相邻的块输出区域内逐块交替的发送干扰信号,实现连续移动的触摸动作。As shown in Figures 7-9, the output area of the interference signal is divided into several unit output areas, the output area of the interference signal can cover the entire touch screen, or only cover part of the touch screen, and the shape can be a regular shape or not. Regular shape, the output area of the interference signal corresponds to the touch screen, and the position of the output area of the interference signal corresponds to the coordinates of the touch screen. Preferably, generating the interference signal also includes outputting the interference signal to the coordinates in the unit output area. In Fig. 7, each block is a unit output area, and a single-point operation can only send an interference signal for a single unit output area. Preferably, generating the interference signal further includes alternately outputting the interference signal block by block to the touch screen in several adjacent block output areas, and the block output area is composed of several adjacent unit output areas. In Figure 8, the block output area is composed of a unit output area, each square is a unit output area, and the arrow is the direction of the moving operation, and the moving operation can only send interference signals alternately one by one in several adjacent unit output areas to realize Touch action for continuous movement. In Figure 9, each block is a unit output area, and four unit output areas form a block output area. The circle is the center of the block output area, and the arrow is the direction of the moving operation. There is a connection between the moving block output area and the moving operation can be Interference signals are sent alternately block by block for several adjacent block output areas to realize continuous moving touch action.

一种电子设备,包括:处理器;An electronic device, comprising: a processor;

存储器;以及程序,其中程序被存储在存储器中,并且被配置成由处理器执行,程序包括用于执行上述触摸屏幕的游戏控制方法。a memory; and a program, wherein the program is stored in the memory and configured to be executed by the processor, the program including a game control method for executing the touch screen described above.

一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行上述触摸屏幕的游戏控制方法。A computer-readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to execute the above touch screen game control method.

触摸屏幕的游戏控制装置,如图2所示,包括控制器、信号采集单元、模数转换单元、信号生成单元、信号输出单元、映射数据库,映射数据库置于控制器内,也可以置于触屏终端内,游戏控制器的信号输出端与控制器连接,控制器内与映射数据库连接,映射数据库存储游戏控制器的输入指令与触摸动作之间的映射关系及游戏控制器的信号输出端对应触摸屏幕的坐标,控制器通过映射数据库将输入指令转换为对应触摸屏幕的坐标及触摸动作指令信息,控制器与信号采集单元、信号生成单元、模数转换单元连接,信号生成单元与信号输出单元连接,信号采集单元的采集端贴合在触摸屏幕上,采集端采集触摸屏幕的扫描信号,模数转换单元转换扫描信号为数字信号,控制器分析数字信号的频率和幅度,信号生成单元根据频率和幅度生成干扰信号,信号输出单元的输出端贴合在触摸屏幕上,输出端与当前游戏场景中的按钮位置对应。本实施例中,触摸屏幕具体为电容屏,干扰信号与扫描信号反向且同步。优选的,信号采集单元的采集端具体为电极的公共端,信号输出单元的输出端具体为电极的电极端。The game control device with a touch screen, as shown in Figure 2, includes a controller, a signal acquisition unit, an analog-to-digital conversion unit, a signal generation unit, a signal output unit, and a mapping database. The mapping database is placed in the controller or can be placed in the touch screen In the screen terminal, the signal output terminal of the game controller is connected to the controller, and the controller is connected to the mapping database. The mapping database stores the mapping relationship between the input command of the game controller and the touch action and the corresponding signal output terminal of the game controller. The coordinates of the touch screen, the controller converts the input instruction into the coordinates of the corresponding touch screen and the touch action instruction information through the mapping database, the controller is connected with the signal acquisition unit, the signal generation unit, and the analog-to-digital conversion unit, and the signal generation unit is connected with the signal output unit Connection, the acquisition end of the signal acquisition unit is attached to the touch screen, the acquisition end collects the scanning signal of the touch screen, the analog-to-digital conversion unit converts the scanning signal into a digital signal, the controller analyzes the frequency and amplitude of the digital signal, and the signal generation unit according to the frequency and amplitude to generate an interference signal, the output end of the signal output unit is attached to the touch screen, and the output end corresponds to the position of the button in the current game scene. In this embodiment, the touch screen is specifically a capacitive screen, and the interference signal is reversed and synchronized with the scanning signal. Preferably, the collection terminal of the signal collection unit is specifically the common terminal of the electrodes, and the output terminal of the signal output unit is specifically the electrode terminals of the electrodes.

在一实施例中,游戏控制器的信号输出端操作指令至控制器,控制器通过映射数据库将游戏控制器的操作指令转换成具体的触摸屏幕上的坐标及触摸动作指令信息。触摸屏幕的扫描信号在很小的时间内间隔持续扫描,通常触摸屏幕的扫描刷新率为100-200KHz,以微秒为单位,控制器控制信号采集单元采集触摸屏幕的扫描信号,通过模数转换单元将扫描信号转换为数字信号,控制器对数字信号进行分析,获得数字信号的频率和幅度,只有在触摸屏幕为正在扫描状态时,发送反向的干扰信号才有效干扰扫描信号,根据扫描频率和幅度判断触摸屏幕的扫描信号状态为正在扫描状态时,控制信号生成单元生成干扰信号,本实施例中干扰信号具体为脉冲信号,信号输出单元将干扰信号输出至触摸屏幕,设备的触摸屏幕驱动发现此坐标的扫描信号受到干扰,从而确定触屏动作的位置。In one embodiment, the signal output terminal of the game controller sends operation instructions to the controller, and the controller converts the operation instructions of the game controller into specific coordinates on the touch screen and touch action instruction information through the mapping database. The scanning signal of the touch screen is continuously scanned in a small time interval. Usually, the scanning refresh rate of the touch screen is 100-200KHz, in microseconds. The controller controls the signal acquisition unit to collect the scanning signal of the touch screen, and converts The unit converts the scanning signal into a digital signal, and the controller analyzes the digital signal to obtain the frequency and amplitude of the digital signal. Only when the touch screen is in the scanning state, the reverse interference signal is sent to effectively interfere with the scanning signal. According to the scanning frequency When the scanning signal state of the touch screen is judged to be in the scanning state based on the sum of the amplitude, the control signal generation unit generates an interference signal. In this embodiment, the interference signal is specifically a pulse signal, and the signal output unit outputs the interference signal to the touch screen, and the touch screen of the device drives It is found that the scan signal at this coordinate is disturbed, so as to determine the position of the touch screen action.

如图3所示,优选的,电极3固定在透明板2上,优选的,透明板2包括薄膜和ITO。透明板2与触摸屏幕1贴合,电极3位置与当前游戏场景中的按钮位置对应。优选的,电极3通过印刷电路搭载在透明板2上,由于电极3的位置固定,故需要将游戏场景中的按钮位置移动到电极3的位置上,大部份游戏都支持按钮位置自定义移动。As shown in FIG. 3 , preferably, the electrodes 3 are fixed on the transparent plate 2 , and preferably, the transparent plate 2 includes a thin film and ITO. The transparent plate 2 is attached to the touch screen 1, and the positions of the electrodes 3 correspond to the positions of the buttons in the current game scene. Preferably, the electrode 3 is mounted on the transparent board 2 through a printed circuit. Since the position of the electrode 3 is fixed, it is necessary to move the position of the button in the game scene to the position of the electrode 3. Most games support custom movement of the button position .

如图4所示,优选的,电极3与触摸屏幕1吸合,电极3通过导线接入信号采集单元、信号输出单元。基于导线方式,电极3可以灵活移动位置。电极3处可以增加粘性材料如胶、吸盘、硅胶等结构贴在触摸屏幕1上,防止脱落。这种方式灵活,不需要设置游戏场景内的按钮位置,直接将电极3贴在游戏场景按钮位置。As shown in FIG. 4 , preferably, the electrodes 3 are attracted to the touch screen 1 , and the electrodes 3 are connected to the signal acquisition unit and the signal output unit through wires. Based on the wire method, the electrode 3 can flexibly move its position. The electrodes 3 can be attached to the touch screen 1 by adding viscous materials such as glue, suction cups, silica gel, etc., to prevent falling off. This method is flexible, and there is no need to set the position of the button in the game scene, and the electrode 3 is directly attached to the button position of the game scene.

如图5-图6所示,优选的,若干电极3组成电极矩阵,电极矩阵搭载在透明板2上,透明板2包括薄膜和ITO,达到不遮挡的效果。透明板2与触摸屏幕1贴合,电极矩阵与透明板2组合形成反向触摸屏4,电极矩阵通过排线接入信号采集单元、信号输出单元。反向触摸屏4可以覆盖全部的触摸屏幕1,也可只覆盖部分的触摸屏幕1,可以是矩形,出于成本的和使用场景的考虑,也可以是其他的不规则形状,可以采用多层反向触摸屏4来达到更好的电路排线安排。图5中反向触摸屏4为矩形,覆盖全部的触摸屏幕1,图6中反向触摸屏4为不规则形状,覆盖部分触摸屏幕1。As shown in FIGS. 5-6 , preferably, several electrodes 3 form an electrode matrix, and the electrode matrix is mounted on a transparent plate 2. The transparent plate 2 includes a thin film and ITO, so as to achieve a non-shielding effect. The transparent plate 2 is attached to the touch screen 1, and the electrode matrix is combined with the transparent plate 2 to form a reverse touch screen 4, and the electrode matrix is connected to the signal acquisition unit and the signal output unit through a cable. The reverse touch screen 4 can cover all of the touch screen 1, or only cover a part of the touch screen 1. It can be rectangular. For the consideration of cost and usage scenarios, it can also be other irregular shapes. To touch screen 4 to achieve better circuit arrangement. In FIG. 5 , the reverse touch screen 4 is rectangular and covers the entire touch screen 1 . In FIG. 6 , the reverse touch screen 4 is irregular in shape and covers part of the touch screen 1 .

如图7-图9所示,反向触摸屏4上的若干电极3组成干扰信号的输出区域,每个电极3为干扰信号的单位输出区域,即干扰信号的输出区域包括若干单位输出区域,干扰信号的输出区域可覆盖全部触摸屏莫,也可只覆盖部分触摸屏幕1,形状可以是规则形状,也可是不规则形状,干扰信号的输出区域与触摸屏幕1对应,干扰信号的输出区域的位置与触摸屏幕1的坐标对应,反向触摸屏4根据信号输出指令在单位输出区域内将干扰信号输出至触摸屏幕1。图7中每一方块为一单位输出区域,单点操作可以只针对单个单位输出区域发送干扰信号。图8中每一方块为一单位输出区域,箭头为移动操作方向,移动操作可以只针对若干相邻的单位输出区域内逐个交替的发送干扰信号,实现连续移动的触摸动作。图9中每一方块为一单位输出区域,四个单位输出区域组成一个块输出区域,圆圈为块输出区域的中心,箭头为移动操作方向,移动中的块输出区域前后存在衔接,移动操作可以针对若干相邻的块输出区域内逐块交替的发送干扰信号,实现连续移动的触摸动作。As shown in Figures 7-9, several electrodes 3 on the reverse touch screen 4 form the output area of the interference signal, and each electrode 3 is a unit output area of the interference signal, that is, the output area of the interference signal includes several unit output areas, and the interference The output area of the signal can cover the entire touch screen 1, or only cover part of the touch screen 1. The shape can be regular or irregular. The output area of the interference signal corresponds to the touch screen 1, and the position of the output area of the interference signal corresponds to the touch screen 1. Corresponding to the coordinates of the touch screen 1 , the reverse touch screen 4 outputs the interference signal to the touch screen 1 in the unit output area according to the signal output instruction. In Figure 7, each block is a unit output area, and a single-point operation can only send an interference signal to a single unit output area. In FIG. 8 , each block is a unit output area, and the arrow is the direction of the moving operation. The moving operation can only alternately send interference signals one by one in several adjacent unit output areas to realize the touch action of continuous movement. In Figure 9, each block is a unit output area, and four unit output areas form a block output area. The circle is the center of the block output area, and the arrow is the direction of the moving operation. There is a connection between the moving block output area and the moving operation can be Interference signals are alternately sent block by block in the output area of several adjacent blocks to realize continuous moving touch action.

在一实施例中,优选的,还包括参数识别单元和数据库匹配单元,参数识别单元、数据库匹配单元与控制器连接,参数识别单元识别触屏终端的屏幕分辨率、横竖屏状态、当前游戏场景;数据库匹配单元根据屏幕分辨率、横竖屏状态、当前游戏场景匹配对应的映射数据库。本实施例中,通过触屏终端的参数识别单元识别屏幕分辨率和当前游戏场景,并通知到控制器,也可通过控制器的参数识别单元识别触屏终端的屏幕分辨率、横竖屏状态、当前游戏场景,如采用ADB的方式获取android系统触屏终端的上述参数。In one embodiment, preferably, it also includes a parameter identification unit and a database matching unit, the parameter identification unit and the database matching unit are connected to the controller, and the parameter identification unit identifies the screen resolution, horizontal and vertical screen status, and current game scene of the touch screen terminal ; The database matching unit matches the corresponding mapping database according to the screen resolution, horizontal and vertical screen status, and the current game scene. In this embodiment, the screen resolution and the current game scene are identified by the parameter identification unit of the touch screen terminal, and the controller is notified, and the screen resolution, horizontal and vertical screen status, In the current game scene, for example, ADB is used to obtain the above parameters of the touch screen terminal of the android system.

在一实施例中,优选的,还包括数据库更新单元,数据库更新单元与数据库连接,数据库更新单元通过外部数据导入的方式如文件、有线通讯、无线通讯等更新映射数据库。In one embodiment, preferably, it further includes a database update unit connected to the database, and the database update unit updates the mapping database through external data import methods such as files, wired communication, wireless communication, and the like.

在一实施例中,优选的,还包括开关控制器,开关控制器与电极端连接实现单点动作,如单点触摸,包括单点击和长按,控制器控制开关控制器导通和关断,当开关控制器导通时,把干扰信号发送至对应位置。本实施例中,外部输入设备输出单点击操作指令时,控制器控制开关控制器导通,并通过电极端发送0.3秒的干扰信号至触摸屏幕,外部输入设备输出长按指令时,控制器控制开关控制器导通,并通过电极端持续发送干扰信号至触摸屏幕。本实施例中,还能通过控制器直接控制电极端输出干扰信号,外部输入设备输出单点击操作指令时,控制器通过电极端发送0.3秒的干扰信号至触摸屏幕,外部输入设备输出长按指令时,控制器通过电极端持续发送干扰信号至触摸屏幕。In one embodiment, preferably, it also includes a switch controller, the switch controller is connected to the electrode terminal to realize a single-point action, such as a single-point touch, including a single click and a long press, and the controller controls the switch controller to be turned on and off , when the switch controller is turned on, the interference signal is sent to the corresponding position. In this embodiment, when the external input device outputs a single-click operation command, the controller controls the switch controller to conduct, and sends a 0.3-second interference signal to the touch screen through the electrode terminal. When the external input device outputs a long-press command, the controller controls The switch controller is turned on and continuously sends an interference signal to the touch screen through the electrode terminal. In this embodiment, the controller can also directly control the electrode terminal to output an interference signal. When the external input device outputs a single-click operation command, the controller sends a 0.3-second interference signal to the touch screen through the electrode terminal, and the external input device outputs a long press command. , the controller continuously sends interference signals to the touch screen through the electrode terminals.

本发明提供触摸屏幕的游戏控制方法,包括以下步骤:转换输入指令,接收游戏控制器的输入指令,将输入指令转换为对应触摸屏幕的坐标及触摸动作指令信息;采集扫描信号,根据坐标及触摸动作指令信息采集触摸屏幕的扫描信号;分析扫描信号,将扫描信号转换为数字信号,并分析数字信号的频率和幅度;生成干扰信号,根据频率和幅度生成干扰信号,将干扰信号输出至坐标对应游戏场景中的按钮处。本发明涉及电子设备与可读存储介质,用于执行触摸屏幕的游戏控制方法。本发明还涉及触摸屏幕的游戏控制装置。本发明通过将游戏控制器的输入指令转换为触摸动作指令,向当前游戏场景中对应的按钮位置处发送干扰信号干扰触摸屏幕的扫描信号,形成电容电场,使当前游戏场景中对应的按钮位置处的扫描信号受到干扰,实现当前游戏场景中对应的按钮位置处的仿真触屏操作;兼容性强,无需改动设备,支持所有电容式触摸屏幕,不受操作系统的限制;提高操作体验,直接通过游戏控制器进行操作,实现仿真的触屏操作;无需内容接入支持,省去开发者接入麻烦、耗时问题,只要游戏内容按触摸屏幕操作开发即可,纯物理方式,免去破解、修改系统带来的麻烦;结合游戏控制器,能给传统的触摸屏幕游戏操作带来更好的物理反馈体验,避免与触摸屏幕直接接触。The invention provides a game control method for a touch screen, comprising the following steps: converting an input command, receiving an input command from a game controller, converting the input command into coordinates and touch action command information corresponding to the touch screen; The action command information collects the scanning signal of the touch screen; analyzes the scanning signal, converts the scanning signal into a digital signal, and analyzes the frequency and amplitude of the digital signal; generates an interference signal, generates an interference signal according to the frequency and amplitude, and outputs the interference signal to the coordinate corresponding button in the game scene. The invention relates to an electronic device and a readable storage medium, which are used for executing a game control method of a touch screen. The invention also relates to a touch screen game control device. The present invention converts the input command of the game controller into a touch action command, sends an interference signal to the corresponding button position in the current game scene to interfere with the scanning signal of the touch screen, and forms a capacitive electric field, so that the corresponding button position in the current game scene The scanning signal is interfered, and the simulated touch screen operation at the corresponding button position in the current game scene is realized; the compatibility is strong, no need to change the device, and all capacitive touch screens are supported, not limited by the operating system; to improve the operating experience, directly through The game controller is operated to realize the simulated touch screen operation; no content access support is required, which saves developers the trouble of accessing and time-consuming problems. As long as the game content is developed according to the touch screen operation, it is purely physical, eliminating the need for cracking, The trouble caused by modifying the system; combined with the game controller, it can bring a better physical feedback experience to the traditional touch screen game operation, and avoid direct contact with the touch screen.

以上,仅为本发明的较佳实施例而已,并非对本发明作任何形式上的限制;凡本行业的普通技术人员均可按说明书附图所示和以上而顺畅地实施本发明;但是,凡熟悉本专业的技术人员在不脱离本发明技术方案范围内,利用以上所揭示的技术内容而做出的些许更动、修饰与演变的等同变化,均为本发明的等效实施例;同时,凡依据本发明的实质技术对以上实施例所作的任何等同变化的更动、修饰与演变等,均仍属于本发明的技术方案的保护范围之内。The above are only preferred embodiments of the present invention, and are not intended to limit the present invention in any form; all those skilled in the art can smoothly implement the present invention as shown in the accompanying drawings and above; however, all Those skilled in the art who make use of the technical content disclosed above without departing from the scope of the technical solution of the present invention, make some changes, modifications and equivalent changes of evolution are all equivalent embodiments of the present invention; meanwhile, Any equivalent changes, modifications and evolutions made to the above embodiments based on the substantive technology of the present invention still fall within the protection scope of the technical solution of the present invention.

Claims (19)

1.触摸屏幕的游戏控制方法,其特征在于包括以下步骤:1. The game control method of touch screen is characterized in that comprising the following steps: 转换输入指令,接收游戏控制器的输入指令,将所述输入指令转换为对应触摸屏幕的坐标及触摸动作指令信息;Converting the input command, receiving the input command of the game controller, and converting the input command into coordinates corresponding to the touch screen and touch action command information; 采集扫描信号,根据所述坐标及触摸动作指令信息采集所述触摸屏幕的扫描信号;Collecting scanning signals, collecting scanning signals of the touch screen according to the coordinates and touch action instruction information; 分析扫描信号,对所述扫描信号进行分析,获得所述扫描信号的频率和幅度;Analyzing the scanning signal, analyzing the scanning signal to obtain the frequency and amplitude of the scanning signal; 生成干扰信号,根据所述频率和幅度生成干扰信号,将所述干扰信号输出至所述坐标对应游戏场景中的按钮处。Generate an interference signal, generate an interference signal according to the frequency and amplitude, and output the interference signal to the button in the game scene corresponding to the coordinates. 2.如权利要求1所述的触摸屏幕的游戏控制方法,其特征在于:所述转换输入指令还包括识别触屏终端的屏幕分辨率、横竖屏状态、当前游戏场景,根据所述屏幕分辨率、横竖屏状态、当前游戏场景匹配对应的映射数据库,通过所述映射数据库将所述输入指令转换为对应触摸屏幕的坐标及触摸动作指令信息,所述映射数据库存储所述游戏控制器的输入指令与触摸动作之间的映射关系及所述游戏控制器的信号输出端对应触摸屏幕的坐标。2. The game control method of touch screen as claimed in claim 1, characterized in that: the conversion input instruction also includes identifying the screen resolution of the touch screen terminal, the horizontal and vertical screen status, and the current game scene, according to the screen resolution , the state of the horizontal and vertical screen, and the corresponding mapping database of the current game scene, through which the input instruction is converted into coordinates of the corresponding touch screen and touch action instruction information, and the mapping database stores the input instruction of the game controller The mapping relationship with the touch action and the coordinates of the touch screen corresponding to the signal output terminal of the game controller. 3.如权利要求2所述的触摸屏幕的游戏控制方法,其特征在于:还包括更新映射数据库,通过外部数据导入的方式更新所述映射数据库。3. The method for controlling a game with a touch screen according to claim 2, further comprising updating the mapping database, and updating the mapping database by importing external data. 4.如权利要求1所述的触摸屏幕的游戏控制方法,其特征在于:生成干扰信号中,根据所述频率和幅度生成与所述扫描信号同步反向的干扰信号,并判断所述触摸屏幕的扫描状态,当所述扫描状态为正在扫描时,将所述干扰信号输出至所述坐标处,所述扫描状态包括正在扫描和扫描间隔,所述干扰信号具体为脉冲信号。4. The game control method of the touch screen according to claim 1, characterized in that: in generating the interference signal, an interference signal synchronously reversed with the scanning signal is generated according to the frequency and amplitude, and the touch screen is judged to be When the scanning state is scanning, the interference signal is output to the coordinates, the scanning state includes scanning and scanning interval, and the interference signal is specifically a pulse signal. 5.如权利要求4所述的触摸屏幕的游戏控制方法,其特征在于:所述生成干扰信号还包括在信号输出时间内将所述干扰信号输出至所述坐标处。5 . The method for controlling a game with a touch screen according to claim 4 , wherein the generating the disturbance signal further comprises outputting the disturbance signal to the coordinate within the signal output time. 6 . 6.如权利要求4所述的触摸屏幕的游戏控制方法,其特征在于:所述生成干扰信号还包括在单位输出区域内将所述干扰信号输出至所述坐标处。6 . The method for controlling a game with a touch screen according to claim 4 , wherein the generating the disturbance signal further comprises outputting the disturbance signal to the coordinate within a unit output area. 7 . 7.如权利要求6所述的触摸屏幕的游戏控制方法,其特征在于:所述生成干扰信号还包括在若干相邻的块输出区域内将所述干扰信号逐块交替的输出至所述触摸屏幕,所述块输出区域由若干相邻的所述单位输出区域组成。7. The game control method of touch screen as claimed in claim 6, characterized in that: said generating interference signal further comprises outputting said interference signal alternately block by block to said touch screen in several adjacent block output areas. screen, the block output area is composed of several adjacent unit output areas. 8.一种电子设备,其特征在于包括:处理器;8. An electronic device, characterized in that it comprises: a processor; 存储器;以及程序,其中所述程序被存储在所述存储器中,并且被配置成由处理器执行,所述程序包括用于执行权利要求1-7任意一项所述的方法。a memory; and a program, wherein the program is stored in the memory and is configured to be executed by a processor, the program comprising means for performing the method of any one of claims 1-7. 9.一种计算机可读存储介质,其上存储有计算机程序,其特征在于:所述计算机程序被处理器执行如权利要求1-7任意一项所述的方法。9. A computer-readable storage medium, on which a computer program is stored, wherein the computer program is executed by a processor according to the method according to any one of claims 1-7. 10.触摸屏幕的游戏控制装置,其特征在于:包括控制器、信号采集单元、信号生成单元、信号输出单元、映射数据库,游戏控制器的信号输出端与所述控制器连接,所述控制器与所述映射数据库连接,所述映射数据库存储所述游戏控制器的输入指令与触摸动作之间的映射关系及所述游戏控制器的信号输出端对应触摸屏幕的坐标,所述控制器通过所述映射数据库将所述输入指令转换为对应触摸屏幕的坐标及触摸动作指令信息,所述控制器与所述信号采集单元、所述信号生成单元连接,所述信号生成单元与所述信号输出单元连接,所述信号采集单元的采集端贴合在所述触摸屏幕上,所述采集端采集触摸屏幕的扫描信号,所述控制器分析所述扫描信号的频率和幅度,所述信号生成单元根据所述频率和幅度生成干扰信号,所述信号输出单元的输出端贴合在触摸屏幕上,所述输出端与当前游戏场景中的按钮位置对应。10. The game control device of touch screen, it is characterized in that: comprise controller, signal acquisition unit, signal generation unit, signal output unit, mapping database, the signal output end of game controller is connected with described controller, and described controller Connected with the mapping database, the mapping database stores the mapping relationship between the input instruction of the game controller and the touch action and the coordinates of the signal output terminal of the game controller corresponding to the touch screen, and the controller passes the The mapping database converts the input instruction into coordinates corresponding to the touch screen and touch action instruction information, the controller is connected with the signal acquisition unit and the signal generation unit, and the signal generation unit is connected with the signal output unit connection, the acquisition end of the signal acquisition unit is attached to the touch screen, the acquisition end collects the scan signal of the touch screen, the controller analyzes the frequency and amplitude of the scan signal, and the signal generation unit according to The frequency and amplitude generate an interference signal, and the output end of the signal output unit is attached to the touch screen, and the output end corresponds to the position of the button in the current game scene. 11.如权利要求10所述的触摸屏幕的游戏控制装置,其特征在于:所述信号采集单元的采集端具体为电极的公共端,所述信号输出单元的输出端具体为所述电极的电极端。11. The game control device with touch screen according to claim 10, characterized in that: the collection terminal of the signal collection unit is specifically the common terminal of the electrodes, and the output terminal of the signal output unit is specifically the electric terminals of the electrodes. extreme. 12.如权利要求11所述的触摸屏幕的游戏控制装置,其特征在于:所述电极固定在透明板上,所述透明板与所述触摸屏幕贴合,所述电极位置与当前游戏场景中的按钮位置对应。12. The game control device with a touch screen according to claim 11, characterized in that: the electrodes are fixed on a transparent plate, the transparent plate is attached to the touch screen, and the position of the electrodes is the same as that in the current game scene. corresponding to the button position. 13.如权利要求12所述的触摸屏幕的游戏控制装置,其特征在于:所述电极通过印刷电路搭载在所述透明板上。13. The game control device with a touch screen according to claim 12, wherein the electrodes are mounted on the transparent board through a printed circuit. 14.如权利要求12所述的触摸屏幕的游戏控制装置,其特征在于:所述电极与所述触摸屏幕吸合,所述电极通过导线接入所述信号采集单元、所述信号输出单元。14. The game control device with touch screen according to claim 12, characterized in that: the electrodes are attracted to the touch screen, and the electrodes are connected to the signal acquisition unit and the signal output unit through wires. 15.如权利要求11所述的触摸屏幕的游戏控制装置,其特征在于:若干所述电极组成电极矩阵,所述电极矩阵搭载在透明板上,所述透明板与所述触摸屏幕贴合,所述电极矩阵通过排线接入所述信号采集单元、所述信号输出单元。15. The game control device with a touch screen as claimed in claim 11, characterized in that: several electrodes form an electrode matrix, and the electrode matrix is carried on a transparent plate, and the transparent plate is bonded to the touch screen, The electrode matrix is connected to the signal acquisition unit and the signal output unit through cables. 16.如权利要求11所述的触摸屏幕的游戏控制装置,其特征在于:还包括参数识别单元和数据库匹配单元,所述参数识别单元、所述数据库匹配单元与所述控制器连接,所述参数识别单元识别触屏终端的屏幕分辨率、横竖屏状态、当前游戏场景;所述数据库匹配单元根据所述屏幕分辨率、横竖屏状态、当前游戏场景匹配对应的映射数据库。16. The game control device of touch screen as claimed in claim 11, characterized in that: it also includes a parameter identification unit and a database matching unit, the parameter identification unit and the database matching unit are connected to the controller, the The parameter identification unit identifies the screen resolution, horizontal and vertical screen status, and current game scene of the touch-screen terminal; the database matching unit matches the corresponding mapping database according to the screen resolution, horizontal and vertical screen status, and current game scene. 17.如权利要求16所述的触摸屏幕的游戏控制装置,其特征在于:还包括数据库更新单元,所述数据库更新单元与所述数据库连接,所述数据库更新单元通过外部数据导入的方式更新所述映射数据库。17. The game control device with a touch screen as claimed in claim 16, further comprising a database update unit, the database update unit is connected to the database, and the database update unit updates the database by importing external data. Mapping database described above. 18.如权利要求11所述的触摸屏幕的游戏控制装置,其特征在于:还包括开关控制器,所述开关控制器与所述电极端连接。18. The game control device with a touch screen according to claim 11, further comprising a switch controller connected to the electrode terminal. 19.如权利要求15所述的触摸屏幕的游戏控制装置,其特征在于:所述透明板包括薄膜和ITO。19. The game control device with a touch screen as claimed in claim 15, wherein the transparent plate comprises film and ITO.
CN201810642970.XA 2018-06-21 2018-06-21 Touch game control method, electronic equipment, storage medium and the device of screen Pending CN108744496A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810642970.XA CN108744496A (en) 2018-06-21 2018-06-21 Touch game control method, electronic equipment, storage medium and the device of screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810642970.XA CN108744496A (en) 2018-06-21 2018-06-21 Touch game control method, electronic equipment, storage medium and the device of screen

Publications (1)

Publication Number Publication Date
CN108744496A true CN108744496A (en) 2018-11-06

Family

ID=63979722

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810642970.XA Pending CN108744496A (en) 2018-06-21 2018-06-21 Touch game control method, electronic equipment, storage medium and the device of screen

Country Status (1)

Country Link
CN (1) CN108744496A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110502180A (en) * 2019-08-14 2019-11-26 Oppo广东移动通信有限公司 Method and device for controlling electronic equipment by external control equipment and electronic equipment
WO2020151068A1 (en) * 2019-01-23 2020-07-30 深圳市利达成科技有限公司 Synchronization configuration method, synchronization configuration device, storage medium and processor
WO2020151067A1 (en) * 2019-01-23 2020-07-30 深圳市利达成科技有限公司 Synchronously configured control circuit and processor

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120256835A1 (en) * 2006-07-14 2012-10-11 Ailive Inc. Motion control used as controlling device
CN105457274A (en) * 2015-11-26 2016-04-06 成都掌趣环球科技有限公司 Control device of gamepad and achievement method of control device
CN105549869A (en) * 2014-10-22 2016-05-04 Lg电子株式会社 Watch type terminal and method for controlling the same
CN107362533A (en) * 2017-07-12 2017-11-21 深圳市山弯科技有限公司 The game paddle system of mobile cursor function is realized using suspended window
CN107890666A (en) * 2017-10-27 2018-04-10 上海飞智电子科技有限公司 Touch-control handheld device and its entertainment systems of application
CN208389346U (en) * 2018-06-21 2019-01-18 广州小鸡快跑网络科技有限公司 Touch the game control device of screen

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120256835A1 (en) * 2006-07-14 2012-10-11 Ailive Inc. Motion control used as controlling device
CN105549869A (en) * 2014-10-22 2016-05-04 Lg电子株式会社 Watch type terminal and method for controlling the same
CN105457274A (en) * 2015-11-26 2016-04-06 成都掌趣环球科技有限公司 Control device of gamepad and achievement method of control device
CN107362533A (en) * 2017-07-12 2017-11-21 深圳市山弯科技有限公司 The game paddle system of mobile cursor function is realized using suspended window
CN107890666A (en) * 2017-10-27 2018-04-10 上海飞智电子科技有限公司 Touch-control handheld device and its entertainment systems of application
CN208389346U (en) * 2018-06-21 2019-01-18 广州小鸡快跑网络科技有限公司 Touch the game control device of screen

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020151068A1 (en) * 2019-01-23 2020-07-30 深圳市利达成科技有限公司 Synchronization configuration method, synchronization configuration device, storage medium and processor
WO2020151067A1 (en) * 2019-01-23 2020-07-30 深圳市利达成科技有限公司 Synchronously configured control circuit and processor
CN110502180A (en) * 2019-08-14 2019-11-26 Oppo广东移动通信有限公司 Method and device for controlling electronic equipment by external control equipment and electronic equipment

Similar Documents

Publication Publication Date Title
CN103984442A (en) Embedded active matrix OLED (organic light emitting diode) touch panel
CN108744496A (en) Touch game control method, electronic equipment, storage medium and the device of screen
CN109478108A (en) Stylus communication channel
CN101937267A (en) Method for simulating mouse input and device thereof
CN107807778A (en) A kind of control method of display system and display system
JP2017501464A (en) System and method for multi-touch gesture detection using ultrasonic beamforming
CN103309592B (en) A kind of method adjusting screen and electronic equipment
CN110377266B (en) Audio playback control method, device, mobile terminal and storage medium
CN208389346U (en) Touch the game control device of screen
JP2022528806A (en) Electronic device with fingerprint detection function
CN104202637A (en) Key remote control and target dragging method
CN114327092A (en) A miniature wireless ring mouse control system
WO2020093599A1 (en) Peripheral system for dynamically controlling device end touch screen
KR101964192B1 (en) Smart table apparatus for simulation
CN109002203B (en) External device operation implementation method of touch screen, electronic device and storage medium
CN103083906A (en) Intelligent game system and intelligent game method utilizing game peripheral with contact points
CN212135395U (en) An analog touch device based on electric field induction
CN201383135Y (en) A multi-touch interactive device
CN109271056A (en) Simulate touch control method and device
CN107329578A (en) A kind of gesture identifying device, remote writing system and its application process
CN204009771U (en) A kind of sense of touch type controller
CN109254714A (en) Simulate touch control method and touch device component
CN109126117B (en) Touch method, touch device and touch system applied to capacitive touch screen
CN104657066A (en) Back control device utilization method
CN203405807U (en) Simulator for interface of touch screen

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20181106