WO2020000815A1 - Touch screen drive-based input device, operation method and system, and storage medium - Google Patents

Touch screen drive-based input device, operation method and system, and storage medium Download PDF

Info

Publication number
WO2020000815A1
WO2020000815A1 PCT/CN2018/111882 CN2018111882W WO2020000815A1 WO 2020000815 A1 WO2020000815 A1 WO 2020000815A1 CN 2018111882 W CN2018111882 W CN 2018111882W WO 2020000815 A1 WO2020000815 A1 WO 2020000815A1
Authority
WO
WIPO (PCT)
Prior art keywords
touch screen
unit
input
smart device
input device
Prior art date
Application number
PCT/CN2018/111882
Other languages
French (fr)
Chinese (zh)
Inventor
王荣峰
马尧
Original Assignee
广州小鸡快跑网络科技有限公司
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 广州小鸡快跑网络科技有限公司 filed Critical 广州小鸡快跑网络科技有限公司
Publication of WO2020000815A1 publication Critical patent/WO2020000815A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers

Definitions

  • the present invention relates to the field of smart device manipulation, and in particular, to an input device based on a touch screen drive, an operation method, a system, and a storage medium.
  • Touch screen operation is a very common input method. Using touch screen can complete direct and flexible interaction between people and devices, especially in the field of mobile devices, such as mobile phones and tablet computers.
  • the wide application of touch screen operation makes the adaptation of content operation mainly based on touch screen, so content developers ignore the access to external devices for manipulation, but in many cases, it is necessary to access external devices. .
  • one of the objectives of the present invention is to provide an input device based on a touch screen drive, which can implement touch screen manipulation of a smart device through an external input device.
  • Another object of the present invention is to provide an operation method based on a touch screen drive, which can implement touch screen control of a smart device through an external input device.
  • a third object of the present invention is to provide an operating system based on a touch screen driver, which can implement touch screen manipulation of a smart device through an external input device.
  • a fourth object of the present invention is to provide a computer-readable storage medium.
  • touch control of a smart device through an external input device can be implemented.
  • An input device based on a touch screen drive includes a central processing unit, a power supply unit, an input unit, and an output unit; the central processing unit is connected to the power supply unit, the input unit, and the output unit, respectively; the The central processing unit can match the corresponding XY coordinates and actions according to the input signal of the input unit, convert the XY coordinates and actions into touch screen instructions that can be recognized by the touch screen drive, and then output the touch screen instructions through the output unit To the host of the smart device so that the host of the smart device is converted into a corresponding system layer touch screen action according to the system driver and is reflected at the application layer.
  • the input unit is a built-in key unit and / or an expansion port unit.
  • the output unit includes a USB chip and an output port, and the USB chip is connected to the output port.
  • the central processing unit has a USB processing module, and the output unit is an output port.
  • the output port is a lighting interface, a USB interface, or an extension cable with an input interface.
  • the output unit includes a wireless communication module.
  • An operation method based on a touch screen driver is implemented on the basis of the input device as described above.
  • the input device is connected to the host of a smart device.
  • the system of the smart device has a touch screen driver.
  • the method includes the following: step:
  • the output unit of the input device is a USB chip and an output port, or a wireless communication module, the USB chip is connected to the output port, and the connection method between the input device and the host of the smart device may be USB Interface connection or wireless connection.
  • the output port is a USB interface, and the way to obtain the current environment of the smart device host is to obtain through a program on the smart device host or through a USB interface.
  • the template database is stored in the input device or an external associated device.
  • the input unit of the input device is a built-in key unit and / or an expansion port unit, and the way to obtain the input signal is through an IO bus, through an expansion port unit, or through wireless communication.
  • the manner of sending the touch screen instruction to the host of the smart device may be a wired transmission manner or a wireless transmission manner.
  • the wired transmission mode is specifically a USB interface wired transmission
  • the wireless transmission mode is specifically a USB wireless transmission, a Bluetooth wireless transmission, or a WIFI wireless transmission.
  • An operating system based on a touch screen driver includes a smart device and an input device based on the touch screen driver as described above, and a host of the smart device is connected to the input device.
  • a computer-readable storage medium stores an executable computer program, and when the computer program runs, the operation method based on the touch screen driver described above is implemented.
  • the touch screen-driven input device controls the touch screen through the input unit, which allows traditional touch screen operations to bring a better physical feedback experience and avoid direct contact with the touch screen; strong compatibility, the input device is based on intelligence
  • the built-in touch screen driver of the device system is used to control the touch screen without changing the device or physical touch screen.
  • the screen resolution is flexible and controllable, small in size, and easy to store and carry; no content access support is required, eliminating the need for developers Problems such as inconvenience and time consuming, as long as the content is developed according to the touch screen operation, this input device can be applied to implement touch screen operation; the built-in touch screen driving method of the smart device is used to avoid unnecessary troubles caused by cracking and modifying the system .
  • FIG. 1 is a schematic structural diagram of an input device based on a touch screen drive provided by the present invention
  • FIG. 2 is a schematic flowchart of a touch screen driving-based operation method provided by the present invention.
  • FIG. 1 is a structural block diagram of an input device based on a touch screen drive.
  • the input device includes: a central processing unit, a power supply unit, an input unit, and an output unit; the central processing unit and the power supply unit, the input unit, and the output are respectively Unit connection; the central processing unit can match the corresponding XY coordinates and actions according to the input signal of the input unit, convert the XY coordinates and actions into touch screen instructions that can be recognized by the touch screen drive, and then output the touch screen instructions to
  • the host of the smart device is converted into a corresponding system layer touch screen action according to the system driver and is reflected in the application layer.
  • mainstream smart device platforms (Android, iOS) have supported device management (Device Drivers).
  • the default support in the system kernel is the usbtouchscreen driver.
  • the input device can be based on the smart device's system driver to implement touch screens from external devices.
  • the touch screen operation effect is not restricted by the size of the host screen, and can be flexibly adjusted.
  • the power supply unit can supply power to the built-in battery, or OTG supplies power from the data port.
  • the input unit is a built-in key unit and / or an expansion unit.
  • the built-in key unit is the MCU and key unit.
  • the built-in key unit is the built-in key unit;
  • the expansion port unit can be a USB interface, which is used to connect external standard equipment such as keyboards and mice.
  • the output unit includes a USB chip and an output port, and the USB chip is connected to the output port.
  • the USB wired communication function is realized through a USB chip, and data is transmitted through a USB interface.
  • USB chip When the central processing unit has a USB processing module, the output unit is only an output port, and a USB chip is no longer needed.
  • the output port is a lighting interface, a USB interface, or an extension cable with an input interface.
  • the output unit includes a wireless communication module.
  • wireless communication can also be achieved through a wireless communication module.
  • the wireless communication module includes a wireless communication chip and a USB receiver. The wireless communication chip is built into the input device, and the USB receiver is inserted into the input port of the smart device. .
  • the input device further includes a storage unit, which is connected to the central processing unit; the storage unit is used to store logic programs, data, and the like.
  • the present invention also provides a touch screen-driven operation method.
  • the method is implemented on the basis of the input device described above.
  • the input device is connected to the host of the smart device.
  • the system of the smart device has a touch screen.
  • the driver includes the following steps:
  • the environment includes the screen resolution and screen scene. Since the screen parameters (size, resolution) of different devices may be different, and the corresponding templates for different scenes are different, Therefore, it is necessary to obtain the current environment of the smart device.
  • the touch screen action includes XY coordinates and actions
  • S5. Convert the XY coordinates and actions corresponding to the input signal into corresponding touch screen instructions that can be recognized by the touch screen driver, and send the touch screen instructions to the host of the smart device so that the host of the smart device is converted into the corresponding one according to the system driver.
  • the system layer touches the screen and is reflected in the application layer.
  • the method mainly matches input signals of external devices with touch screen actions one by one, matches input signals received from external devices to corresponding touch screen actions, and then converts the touch screen actions into the built-in touch screen driver of the smart device. Recognizable touch screen instructions to enable touch screen manipulation of smart devices.
  • the input signal is a key signal, such as a signal generated by a keyboard, a mouse, and a handle.
  • the touch screen instruction is sent to the host of the smart device in a single point or multi-point manner, where single point means that only one position is operated on the touch screen at the same time, and multi-point means that it can operate in multiple positions at the same time .
  • single point means that only one position is operated on the touch screen at the same time
  • multi-point means that it can operate in multiple positions at the same time .
  • the output unit of the input device is a USB chip and an output port, or a wireless communication module
  • the USB chip is connected to the output port
  • the connection method between the input device and the host of the smart device may be a USB interface connection or Wireless connections.
  • the wireless communication module includes a wireless communication chip and a USB receiver. The wireless communication chip is set in the input device, and the USB receiver is inserted into the input port of the smart device.
  • the output port is a USB interface
  • the way to obtain the current environment of the host of the smart device is to obtain it through a program on the host of the smart device or through a USB interface, such as an Android ADB command.
  • the template database is stored in an input device, such as a built-in FLASH, or in an external associated device, such as a mobile phone.
  • an input device such as a built-in FLASH
  • an external associated device such as a mobile phone.
  • the input unit of the input device is a built-in key unit and / or an expansion port unit, and the input signal is obtained through an IO bus, through an expansion port unit, or through wireless communication.
  • the input unit is a built-in button unit
  • the input signal generated by the built-in button unit can be obtained through the IO bus; if the input unit is an expansion port unit, the input signal generated by the wired keyboard or mouse is obtained through the expansion port unit.
  • Use a wireless receiver to get input signals from a wireless keyboard, mouse, or wireless terminal.
  • a manner for sending the touch screen instruction to the host of the smart device may be a wired transmission manner or a wireless transmission manner.
  • the wired transmission method is specifically a USB interface wired transmission
  • the wireless transmission method is specifically USB wireless transmission, Bluetooth wireless transmission, or WIFI wireless transmission.
  • the invention also provides an operating system based on a touch screen driver, which includes a smart device and an input device based on a touch screen driver as described above, and a host of the smart device is connected to the input device.
  • the present invention also provides a computer-readable storage medium.
  • the computer-readable storage medium stores an executable computer program, and when the computer program runs, the operation method based on the touchscreen driver described above is implemented.

Abstract

A touch screen drive-based input device, an operation method, a system, and a storage medium. The input device comprises a central processing unit, a power supply unit, an input unit and an output unit. The central processing unit is connected to the power supply unit, the input unit and the output unit. According to an input signal of the input unit, the central processing unit can find, by matching, the X and Y coordinates and an action that correspond to the input signal, convert the X and Y coordinates and the action into touch screen instructions which can be identified by a touch screen drive, and then output the touch screen instructions to a host of a smart device by means of the output unit, so as to convert the touch screen instructions, by means of the host of the smart device and according to a system drive, into the corresponding system layer touch screen action, and embody same in an application layer. Said device can realize the control of the touch screen of the smart device by means of an external input device.

Description

基于触屏驱动的输入设备、操作方法、系统及存储介质Input device based on touch screen driver, operation method, system and storage medium 技术领域Technical field
本发明涉及智能设备操控领域,尤其涉及一种基于触屏驱动的输入设备、操作方法、系统及存储介质。The present invention relates to the field of smart device manipulation, and in particular, to an input device based on a touch screen drive, an operation method, a system, and a storage medium.
背景技术Background technique
触屏操作是目前非常普遍的一种输入方式,使用触屏可以完成人与设备直接灵活、直观的交互,特别是在移动设备领域,如手机、平板电脑等。触屏操作的广泛应用,使得内容操作的适配也以触屏为主,从而内容开发者忽略了接入外部设备进行操控,但实际上在很多场合,对外部设备的接入的有需要的。Touch screen operation is a very common input method. Using touch screen can complete direct and flexible interaction between people and devices, especially in the field of mobile devices, such as mobile phones and tablet computers. The wide application of touch screen operation makes the adaptation of content operation mainly based on touch screen, so content developers ignore the access to external devices for manipulation, but in many cases, it is necessary to access external devices. .
目前大部分内容(APP或游戏)如果没有针对接入外部设备(比如键盘、鼠标、游戏手柄等)做针对性接入,是还不能直接通过外部设备进行操作的,即要完成这些内容的交换操作,仍然需要通过手指直接在屏幕上进行触屏操作。内容如果要实现外设可以操作,可以通过针对性接入,比如接入设备的标准HID协议、专用SDK、破解改包植入SDK等方式。但是,标准HID协议、专用SDK需要内容开发者主动接入,过程麻烦;而破解的方式可能会影响应用的完整性且存在不确定的风险(如后续升级、法律风险、官方不支持等)。At present, most of the content (APP or games) cannot be directly operated through external devices without targeted access to external devices (such as keyboards, mice, gamepads, etc.), that is, the exchange of these contents must be completed. To operate, you still need to touch the screen directly with your finger on the screen. If the content is to be operable with peripherals, it can be accessed through targeted access, such as the standard HID protocol of the access device, a dedicated SDK, and the SDK being cracked and repackaged. However, standard HID protocols and dedicated SDKs require active access by content developers, and the process is cumbersome; the way of cracking may affect the integrity of the application and there are uncertain risks (such as subsequent upgrades, legal risks, official support, etc.).
发明内容Summary of the invention
为了克服现有技术的不足,本发明的目的之一在于提供一种基于触屏驱动的输入设备,其能实现通过外部输入设备对智能设备进行触屏操控。In order to overcome the shortcomings of the prior art, one of the objectives of the present invention is to provide an input device based on a touch screen drive, which can implement touch screen manipulation of a smart device through an external input device.
本发明的目的之二在于提供一种基于触屏驱动的操作方法,其能实现通过外部输入设备对智能设备进行触屏操控。Another object of the present invention is to provide an operation method based on a touch screen drive, which can implement touch screen control of a smart device through an external input device.
本发明的目的之三在于提供一种基于触屏驱动的操作系统,其能实现通过 外部输入设备对智能设备进行触屏操控。A third object of the present invention is to provide an operating system based on a touch screen driver, which can implement touch screen manipulation of a smart device through an external input device.
本发明的目的之四在于提供一种计算机可读存储介质,该存储介质中的程序执行时可实现通过外部输入设备对智能设备进行触屏操控。A fourth object of the present invention is to provide a computer-readable storage medium. When a program in the storage medium is executed, touch control of a smart device through an external input device can be implemented.
本发明的目的之一采用如下技术方案实现:One of the objectives of the present invention is achieved by the following technical solutions:
一种基于触屏驱动的输入设备,包括:中央处理单元、供电单元、输入单元及输出单元;所述中央处理单元分别与所述供电单元、所述输入单元及所述输出单元连接;所述中央处理单元可根据所述输入单元的输入信号匹配相应的XY坐标及动作,将XY坐标及动作转换成触屏驱动可识别的触屏指令,然后通过所述输出单元将所述触屏指令输出至智能设备的主机中以使所述智能设备的主机按照系统驱动转换成对应的系统层触屏动作且在应用层体现。An input device based on a touch screen drive includes a central processing unit, a power supply unit, an input unit, and an output unit; the central processing unit is connected to the power supply unit, the input unit, and the output unit, respectively; the The central processing unit can match the corresponding XY coordinates and actions according to the input signal of the input unit, convert the XY coordinates and actions into touch screen instructions that can be recognized by the touch screen drive, and then output the touch screen instructions through the output unit To the host of the smart device so that the host of the smart device is converted into a corresponding system layer touch screen action according to the system driver and is reflected at the application layer.
进一步地,所述输入单元为内置按键单元和/或扩展口单元。Further, the input unit is a built-in key unit and / or an expansion port unit.
进一步地,所述输出单元包括USB芯片和输出端口,所述USB芯片与所述输出端口连接。Further, the output unit includes a USB chip and an output port, and the USB chip is connected to the output port.
进一步地,所述中央处理单元具有USB处理模块,所述输出单元为输出端口。Further, the central processing unit has a USB processing module, and the output unit is an output port.
进一步地,所述输出端口为lighting接口、USB接口或带输入接口的延长线。Further, the output port is a lighting interface, a USB interface, or an extension cable with an input interface.
进一步地,所述输出单元包括无线通信模块。Further, the output unit includes a wireless communication module.
本发明的目的之二采用如下技术方案实现:The second object of the present invention is achieved by the following technical solutions:
一种基于触屏驱动的操作方法,该方法是在如上述的输入设备的基础上实施的,所述输入设备连接至智能设备的主机,所述智能设备的系统具有触屏驱动,具体包括以下步骤:An operation method based on a touch screen driver. The method is implemented on the basis of the input device as described above. The input device is connected to the host of a smart device. The system of the smart device has a touch screen driver. The method includes the following: step:
发送触屏描述符指令至所述智能设备的主机以将所述输入设备注册为触屏 设备;Sending a touch screen descriptor instruction to the host of the smart device to register the input device as a touch screen device;
将各个输入信号与各个触屏动作一一对应并保存在模板数据库中;One-to-one correspondence between each input signal and each touch screen action and stored in the template database;
获取所述智能设备的显示屏当前的环境,所述环境包括屏幕分辨率和屏幕场景;Acquiring a current environment of a display screen of the smart device, where the environment includes a screen resolution and a screen scene;
获取输入信号,从所述模板数据库中获取所述输入信号对应的触屏动作,所述触屏动作包括XY坐标及动作;Acquiring an input signal, and acquiring a touch screen action corresponding to the input signal from the template database, where the touch screen action includes XY coordinates and actions;
将所述输入信号对应的XY坐标及动作转换成触屏驱动所能够识别的对应的触屏指令,并将所述触屏指令发送至所述智能设备的主机以使所述智能设备的主机按照系统驱动转换成对应的系统层触屏动作且在应用层体现。Convert the XY coordinates and motion corresponding to the input signal into corresponding touch screen instructions that can be recognized by a touch screen driver, and send the touch screen instructions to the host of the smart device so that the host of the smart device follows The system driver translates into the corresponding system layer touch screen action and is reflected in the application layer.
进一步地,所述输入设备的输出单元为USB芯片和输出端口,或为无线通信模块,所述USB芯片与所述输出端口连接,所述输入设备与所述智能设备主机的连接方式可采用USB接口连接或无线连接。Further, the output unit of the input device is a USB chip and an output port, or a wireless communication module, the USB chip is connected to the output port, and the connection method between the input device and the host of the smart device may be USB Interface connection or wireless connection.
进一步地,所述输出端口为USB接口,获取所述智能设备主机当前的环境的方式为:通过所述智能设备主机上的程序获取或者通过USB接口获取。Further, the output port is a USB interface, and the way to obtain the current environment of the smart device host is to obtain through a program on the smart device host or through a USB interface.
进一步地,所述模板数据库存储在所述输入设备中或外部关联设备中。Further, the template database is stored in the input device or an external associated device.
进一步地,所述输入设备的输入单元为内置按键单元和/或扩展口单元,所述获取输入信号的方式为通过IO总线获取、通过扩展口单元获取或通过无线通信获取。Further, the input unit of the input device is a built-in key unit and / or an expansion port unit, and the way to obtain the input signal is through an IO bus, through an expansion port unit, or through wireless communication.
进一步地,所述将所述触屏指令发送至所述智能设备主机的方式可采用有线传输方式或无线传输方式。Further, the manner of sending the touch screen instruction to the host of the smart device may be a wired transmission manner or a wireless transmission manner.
进一步地,所述有线传输方式具体为USB接口有线传输,所述无线传输方式具体为USB无线传输、蓝牙无线传输或WIFI无线传输。Further, the wired transmission mode is specifically a USB interface wired transmission, and the wireless transmission mode is specifically a USB wireless transmission, a Bluetooth wireless transmission, or a WIFI wireless transmission.
本发明的目的之三采用如下技术方案实现:The third object of the present invention is achieved by using the following technical solutions:
一种基于触屏驱动的操作系统,包括:智能设备以及如上述的基于触屏驱动的输入设备,所述智能设备的主机与所述输入设备连接。An operating system based on a touch screen driver includes a smart device and an input device based on the touch screen driver as described above, and a host of the smart device is connected to the input device.
本发明的目的之四采用如下技术方案实现:The fourth objective of the present invention is achieved by using the following technical solutions:
一种计算机可读存储介质,所述计算机可读存储介质存储有可执行计算机程序,所述计算机程序运行时实现如上述的基于触屏驱动的操作方法。A computer-readable storage medium stores an executable computer program, and when the computer program runs, the operation method based on the touch screen driver described above is implemented.
相比现有技术,本发明的有益效果在于:Compared with the prior art, the beneficial effects of the present invention are:
该基于触屏驱动的输入设备通过输入单元来对触摸屏进行操控,能让传统的触屏操作带来更好的物理反馈体验并可避免与触摸屏直接接触;兼容性强,该输入设备是基于智能设备系统的内置触屏驱动来实现对触摸屏的操控的,无需改动设备,无需物理触屏,屏幕分辨率灵活可控,体积小,便于收纳和携带;无需内容接入支持,省去开发者接入的麻烦及耗时等问题,只要内容按触屏操作开发的即可应用此输入设备实现触屏操作;采用智能设备内置触屏驱动方式,免去破解、修改系统带来的不必要的麻烦。The touch screen-driven input device controls the touch screen through the input unit, which allows traditional touch screen operations to bring a better physical feedback experience and avoid direct contact with the touch screen; strong compatibility, the input device is based on intelligence The built-in touch screen driver of the device system is used to control the touch screen without changing the device or physical touch screen. The screen resolution is flexible and controllable, small in size, and easy to store and carry; no content access support is required, eliminating the need for developers Problems such as inconvenience and time consuming, as long as the content is developed according to the touch screen operation, this input device can be applied to implement touch screen operation; the built-in touch screen driving method of the smart device is used to avoid unnecessary troubles caused by cracking and modifying the system .
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本发明提供的一种基于触屏驱动的输入设备的结构示意图;FIG. 1 is a schematic structural diagram of an input device based on a touch screen drive provided by the present invention; FIG.
图2为本发明提供的一种基于触屏驱动的操作方法的流程示意图。FIG. 2 is a schematic flowchart of a touch screen driving-based operation method provided by the present invention.
具体实施方式detailed description
下面,结合附图以及具体实施方式,对本发明做进一步描述,需要说明的是,在不相冲突的前提下,以下描述的各实施例之间或各技术特征之间可以任意组合形成新的实施例。In the following, the present invention is further described with reference to the drawings and specific embodiments. It should be noted that, under the premise of no conflict, the embodiments described below or technical features can be arbitrarily combined to form a new embodiment. .
请参阅图1,其为一种基于触屏驱动的输入设备的结构框图,该输入设备包 括:中央处理单元、供电单元、输入单元及输出单元;中央处理单元分别与供电单元、输入单元及输出单元连接;中央处理单元可根据输入单元的输入信号匹配相应的XY坐标及动作,将XY坐标及动作转换成触屏驱动可识别的触屏指令,然后通过输出单元将所述触屏指令输出至智能设备的主机中以使智能设备的主机按照系统驱动转换成对应的系统层触屏动作且在应用层体现。Please refer to FIG. 1, which is a structural block diagram of an input device based on a touch screen drive. The input device includes: a central processing unit, a power supply unit, an input unit, and an output unit; the central processing unit and the power supply unit, the input unit, and the output are respectively Unit connection; the central processing unit can match the corresponding XY coordinates and actions according to the input signal of the input unit, convert the XY coordinates and actions into touch screen instructions that can be recognized by the touch screen drive, and then output the touch screen instructions to In the host of the smart device, the host of the smart device is converted into a corresponding system layer touch screen action according to the system driver and is reflected in the application layer.
目前主流的智能设备平台(安卓、iOS)已经支撑了驱动管理(Device Drivers),在系统kernel中的默认支持usbtouchscreen驱动,该输入设备可基于智能设备的系统驱动的方式来实现通过外部设备对触摸屏的触屏操作效果,不受主机屏幕大小的约束,可灵活调整。At present, mainstream smart device platforms (Android, iOS) have supported device management (Device Drivers). The default support in the system kernel is the usbtouchscreen driver. The input device can be based on the smart device's system driver to implement touch screens from external devices. The touch screen operation effect is not restricted by the size of the host screen, and can be flexibly adjusted.
在本实施例中,供电单元可为内置电池供电,或者OTG从数据口供电。In this embodiment, the power supply unit can supply power to the built-in battery, or OTG supplies power from the data port.
作为一种优选的实施方式,输入单元为内置按键单元和/或扩展口单元。内置按键单元即为MCU与按键单元为一体的就是内置按键单元;扩展口单元可为USB接口,用于接外部标准设备如键盘、鼠标等。As a preferred embodiment, the input unit is a built-in key unit and / or an expansion unit. The built-in key unit is the MCU and key unit. The built-in key unit is the built-in key unit; the expansion port unit can be a USB interface, which is used to connect external standard equipment such as keyboards and mice.
作为一种优选的实施方式,输出单元包括USB芯片和输出端口,USB芯片与输出端口连接。通过USB芯片实现USB有线通信功能,通过USB接口来传输数据。As a preferred embodiment, the output unit includes a USB chip and an output port, and the USB chip is connected to the output port. The USB wired communication function is realized through a USB chip, and data is transmitted through a USB interface.
此外,目前很多复合型的MCU里面都含有USB芯片,当中央处理单元具有USB处理模块时,输出单元仅为输出端口,不再需要USB芯片。In addition, many composite MCUs currently contain a USB chip. When the central processing unit has a USB processing module, the output unit is only an output port, and a USB chip is no longer needed.
作为一种优选的实施方式,输出端口为lighting接口、USB接口或带输入接口的延长线。As a preferred embodiment, the output port is a lighting interface, a USB interface, or an extension cable with an input interface.
作为一种优选的实施方式,输出单元包括无线通信模块。除了使用USB有线通信以外,还可通过无线通信模块来实现无线通信,无线通信模块包括无线通信芯片以及USB接收器,无线通信芯片内置在输入设备内部,USB接收器插 在智能设备的输入端口中。As a preferred embodiment, the output unit includes a wireless communication module. In addition to using USB wired communication, wireless communication can also be achieved through a wireless communication module. The wireless communication module includes a wireless communication chip and a USB receiver. The wireless communication chip is built into the input device, and the USB receiver is inserted into the input port of the smart device. .
作为一种优选的实施方式,该输入设备还包括存储单元,存储单元与中央处理单元连接;该存储单元用于存储逻辑程序、数据等。As a preferred embodiment, the input device further includes a storage unit, which is connected to the central processing unit; the storage unit is used to store logic programs, data, and the like.
请参阅图2,本发明还提供了一种基于触屏驱动的操作方法,该方法是在上述的输入设备的基础上实施的,输入设备连接至智能设备的主机,智能设备的系统具有触屏驱动,具体包括以下步骤:Please refer to FIG. 2. The present invention also provides a touch screen-driven operation method. The method is implemented on the basis of the input device described above. The input device is connected to the host of the smart device. The system of the smart device has a touch screen. The driver includes the following steps:
S1、发送触屏描述符指令至智能设备的主机以将输入设备注册为触屏设备;S1. Send a touch screen descriptor instruction to the host of the smart device to register the input device as a touch screen device;
S2、将各个输入信号与各个触屏动作一一对应并保存在模板数据库中;S2. One-to-one correspondence between each input signal and each touch screen action and stored in the template database;
S3、获取智能设备的显示屏当前的环境,环境包括屏幕分辨率和屏幕场景;由于不同的设备的屏幕参数(大小、分辨率)可能不一样,并且不同的场景需要对应的模板也不一样,因此,需要获取智能设备的当前的环境。S3. Obtain the current environment of the display of the smart device. The environment includes the screen resolution and screen scene. Since the screen parameters (size, resolution) of different devices may be different, and the corresponding templates for different scenes are different, Therefore, it is necessary to obtain the current environment of the smart device.
S4、获取输入信号,从模板数据库中获取输入信号对应的触屏动作,触屏动作包括XY坐标及动作;S4. Obtain an input signal, and obtain a touch screen action corresponding to the input signal from a template database. The touch screen action includes XY coordinates and actions;
S5、将输入信号对应的XY坐标及动作转换成触屏驱动所能够识别的对应的触屏指令,并将触屏指令发送至智能设备的主机以使智能设备的主机按照系统驱动转换成对应的系统层触屏动作且在应用层体现。S5. Convert the XY coordinates and actions corresponding to the input signal into corresponding touch screen instructions that can be recognized by the touch screen driver, and send the touch screen instructions to the host of the smart device so that the host of the smart device is converted into the corresponding one according to the system driver. The system layer touches the screen and is reflected in the application layer.
该方法主要是通过将外部设备的输入信号与触屏动作一一对应匹配,将接收到外部设备的输入信号匹配到对应的触屏动作,再将触屏动作转换为智能设备的内置触屏驱动可识别的触屏指令,以使实现对智能设备的触屏操控。在本实施例中,输入信号为按键信号,例如键盘、鼠标及手柄等产生的信号。The method mainly matches input signals of external devices with touch screen actions one by one, matches input signals received from external devices to corresponding touch screen actions, and then converts the touch screen actions into the built-in touch screen driver of the smart device. Recognizable touch screen instructions to enable touch screen manipulation of smart devices. In this embodiment, the input signal is a key signal, such as a signal generated by a keyboard, a mouse, and a handle.
在本实施例中,通过单点或多点方式将触屏指令发送至智能设备的主机,其中,单点是指同时只有一个位置在触屏操作,多点是指同时可以在多个位置 操作。当只有一个输入信号时,例如用户只按了某个按键,采用单点的方式,使得智能设备只触发了一个触屏操作;当同时具有多个输入信号时,例如用户同时按了多个按键,则采用多点的方式,使智能设备同时触发多个触屏操作。In this embodiment, the touch screen instruction is sent to the host of the smart device in a single point or multi-point manner, where single point means that only one position is operated on the touch screen at the same time, and multi-point means that it can operate in multiple positions at the same time . When there is only one input signal, for example, the user only presses a certain key, a single point method is used, so that the smart device triggers only one touch screen operation; when there are multiple input signals at the same time, for example, the user presses multiple keys at the same time , The multi-point method is adopted to enable the smart device to trigger multiple touch screen operations at the same time.
作为一种优选的实施方式,输入设备的输出单元为USB芯片和输出端口,或为无线通信模块,USB芯片与所述输出端口连接,输入设备与智能设备主机的连接方式可采用USB接口连接或无线连接。无线通信模块包括无线通信芯片及USB接收器,无线通信芯片设置在输入设备中,而USB接收器插入到智能设备的输入端口中。As a preferred embodiment, the output unit of the input device is a USB chip and an output port, or a wireless communication module, the USB chip is connected to the output port, and the connection method between the input device and the host of the smart device may be a USB interface connection or Wireless connections. The wireless communication module includes a wireless communication chip and a USB receiver. The wireless communication chip is set in the input device, and the USB receiver is inserted into the input port of the smart device.
作为一种优选的实施方式,输出端口为USB接口,获取智能设备主机当前的环境的方式为:通过智能设备主机上的程序获取或者通过USB接口获取,如安卓ADB命令。As a preferred embodiment, the output port is a USB interface, and the way to obtain the current environment of the host of the smart device is to obtain it through a program on the host of the smart device or through a USB interface, such as an Android ADB command.
作为一种优选的实施方式,模板数据库存储在输入设备中,如内置FLASH,或存放在外部关联设备中,如手机。在接收到输入信号即按键信号后,在模板数据中配对出对应的XY坐标或动作,用于标注触屏的动作或轨迹,由于按键的数据不是触屏的数据,故需要进行转换成对应的动作坐标和轨迹数据。As a preferred embodiment, the template database is stored in an input device, such as a built-in FLASH, or in an external associated device, such as a mobile phone. After receiving the input signal, that is, the key signal, pair the corresponding XY coordinates or actions in the template data to mark the action or trajectory of the touch screen. Since the key data is not touch screen data, it needs to be converted into the corresponding Motion coordinates and trajectory data.
作为一种优选的实施方式,输入设备的输入单元为内置按键单元和/或扩展口单元,获取输入信号的方式为通过IO总线获取、通过扩展口单元获取或通过无线通信获取。当输入单元为内置按键单元时,可通过IO总线获取内置按键单元所产生的输入信号;若输入单元为扩展口单元,则通过扩展口单元获取有线键盘或鼠标产生的输入信号,此外,还可通过无线接收器来获取无线键盘、鼠标或无线终端产生的输入信号。As a preferred embodiment, the input unit of the input device is a built-in key unit and / or an expansion port unit, and the input signal is obtained through an IO bus, through an expansion port unit, or through wireless communication. When the input unit is a built-in button unit, the input signal generated by the built-in button unit can be obtained through the IO bus; if the input unit is an expansion port unit, the input signal generated by the wired keyboard or mouse is obtained through the expansion port unit. Use a wireless receiver to get input signals from a wireless keyboard, mouse, or wireless terminal.
作为一种优选的实施方式,将所述触屏指令发送至智能设备主机的方式可采用有线传输方式或无线传输方式。As a preferred implementation manner, a manner for sending the touch screen instruction to the host of the smart device may be a wired transmission manner or a wireless transmission manner.
作为一种优选的实施方式,有线传输方式具体为USB接口有线传输,无线传输方式具体为USB无线传输、蓝牙无线传输或WIFI无线传输。As a preferred embodiment, the wired transmission method is specifically a USB interface wired transmission, and the wireless transmission method is specifically USB wireless transmission, Bluetooth wireless transmission, or WIFI wireless transmission.
本发明还提供了一种基于触屏驱动的操作系统,包括:智能设备以及如上述的基于触屏驱动的输入设备,智能设备的主机与输入设备连接。The invention also provides an operating system based on a touch screen driver, which includes a smart device and an input device based on a touch screen driver as described above, and a host of the smart device is connected to the input device.
此外,本发明还提供了一种计算机可读存储介质,计算机可读存储介质存储有可执行计算机程序,计算机程序运行时实现如上述的基于触屏驱动的操作方法。In addition, the present invention also provides a computer-readable storage medium. The computer-readable storage medium stores an executable computer program, and when the computer program runs, the operation method based on the touchscreen driver described above is implemented.
上述实施方式仅为本发明的优选实施方式,不能以此来限定本发明保护的范围,本领域的技术人员在本发明的基础上所做的任何非实质性的变化及替换均属于本发明所要求保护的范围。The foregoing embodiments are merely preferred embodiments of the present invention, and the scope of protection of the present invention cannot be limited by this. Any non-substantial changes and substitutions made by those skilled in the art on the basis of the present invention belong to the present invention. Claimed scope.

Claims (14)

  1. 一种基于触屏驱动的输入设备,其特征在于,包括:中央处理单元、供电单元、输入单元及输出单元;所述中央处理单元分别与所述供电单元、所述输入单元及所述输出单元连接;An input device based on a touch screen drive, comprising: a central processing unit, a power supply unit, an input unit, and an output unit; the central processing unit and the power supply unit, the input unit, and the output unit are respectively connection;
    所述中央处理单元可根据所述输入单元的输入信号匹配到与该输入信号对应的XY坐标及动作,将XY坐标及动作转换成触屏驱动可识别的触屏指令,然后通过所述输出单元将所述触屏指令输出至智能设备的主机中以使所述智能设备的主机按照系统驱动转换成对应的系统层触屏动作且在应用层体现。The central processing unit may match the XY coordinates and motion corresponding to the input signal according to the input signal of the input unit, convert the XY coordinates and motion into a touch screen instruction recognizable by a touch screen drive, and then pass the output unit And outputting the touch screen instruction to the host of the smart device, so that the host of the smart device is converted into a corresponding system layer touch screen action according to the system driver and is reflected at the application layer.
  2. 如权利要求1所述的一种基于触屏驱动的输入设备,其特征在于,所述输入单元为内置按键单元和/或扩展口单元。The touch screen-driven input device according to claim 1, wherein the input unit is a built-in button unit and / or an expansion port unit.
  3. 如权利要求1所述的一种基于触屏驱动的输入设备,其特征在于,所述输出单元包括USB芯片和输出端口,所述USB芯片与所述输出端口连接。The touch screen-driven input device according to claim 1, wherein the output unit comprises a USB chip and an output port, and the USB chip is connected to the output port.
  4. 如权利要求1所述的一种基于触屏驱动的输入设备,其特征在于,所述中央处理单元具有USB处理模块,所述输出单元为输出端口。The touch screen-driven input device according to claim 1, wherein the central processing unit has a USB processing module, and the output unit is an output port.
  5. 如权利要求1所述的一种基于触屏驱动的输入设备,其特征在于,所述输出单元包括无线通信模块。The touch screen-driven input device according to claim 1, wherein the output unit comprises a wireless communication module.
  6. 一种基于触屏驱动的操作方法,其特征在于,该方法是在如权利要求1所述的输入设备的基础上实施的,所述输入设备连接至智能设备的主机,所述智能设备的系统具有触屏驱动,具体包括以下步骤:An operation method based on a touch screen drive, characterized in that the method is implemented on the basis of the input device according to claim 1, wherein the input device is connected to a host of a smart device, and a system of the smart device With touch screen driver, including the following steps:
    发送触屏描述符指令至所述智能设备的主机以将所述输入设备注册为触屏设备;Sending a touch screen descriptor instruction to the host of the smart device to register the input device as a touch screen device;
    将各个输入信号与各个触屏动作一一对应并保存在模板数据库中;One-to-one correspondence between each input signal and each touch screen action and stored in the template database;
    获取所述智能设备的显示屏当前的环境,所述环境包括屏幕分辨率和屏幕场景;Acquiring a current environment of a display screen of the smart device, where the environment includes a screen resolution and a screen scene;
    获取输入信号,从所述模板数据库中获取所述输入信号对应的触屏动作,所述触屏动作包括XY坐标及动作;Acquiring an input signal, and acquiring a touch screen action corresponding to the input signal from the template database, where the touch screen action includes XY coordinates and actions;
    将所述输入信号对应的XY坐标及动作转换成触屏驱动所能够识别的对应的触屏指令,并将所述触屏指令发送至所述智能设备的主机以使所述智能设备的主机按照系统驱动转换成对应的系统层触屏动作且在应用层体现。Convert the XY coordinates and motion corresponding to the input signal into corresponding touch screen instructions that can be recognized by a touch screen driver, and send the touch screen instructions to the host of the smart device so that the host of the smart device follows The system driver translates into the corresponding system layer touch screen action and is reflected in the application layer.
  7. 如权利要求6所述的一种基于触屏驱动的操作方法,其特征在于,所述输入设备的输出单元为USB芯片和输出端口,或为无线通信模块,所述USB芯片与所述输出端口连接,所述输入设备与所述智能设备主机的连接方式可采用USB接口连接或无线连接。The touch screen-driven operation method according to claim 6, wherein the output unit of the input device is a USB chip and an output port, or a wireless communication module, the USB chip and the output port The connection mode of the input device and the host of the smart device may be a USB interface connection or a wireless connection.
  8. 如权利要求7所述的一种基于触屏驱动的操作方法,其特征在于,所述输出端口为USB接口,获取所述智能设备主机当前的环境的方式为:通过所述智能设备主机上的程序获取或者通过USB接口获取。The operation method based on the touch screen drive according to claim 7, wherein the output port is a USB interface, and the way to obtain the current environment of the smart device host is: Program acquisition or USB interface.
  9. 如权利要求6所述的一种基于触屏驱动的操作方法,其特征在于,所述模板数据库存储在所述输入设备中或外部关联设备中。The operation method based on the touch screen drive according to claim 6, wherein the template database is stored in the input device or an external associated device.
  10. 如权利要求6所述的一种基于触屏驱动的操作方法,其特征在于,所述输入设备的输入单元为内置按键单元和/或扩展口单元,所述获取输入信号的方式为通过IO总线获取、通过扩展口单元获取或通过无线通信获取。The touch screen-driven operation method according to claim 6, wherein the input unit of the input device is a built-in key unit and / or an expansion port unit, and the method of obtaining an input signal is through an IO bus Acquired, acquired through an expansion port unit, or acquired through wireless communication.
  11. 如权利要求7所述的一种基于触屏驱动的操作方法,其特征在于,所述将所述触屏指令发送至所述智能设备主机的方式可采用有线传输方式或无线传 输方式。The operation method based on the touch screen drive according to claim 7, wherein the method of sending the touch screen instruction to the host of the smart device can be a wired transmission method or a wireless transmission method.
  12. 如权利要求11所述的一种基于触屏驱动的操作方法,其特征在于,所述有线传输方式具体为USB接口有线传输,所述无线传输方式具体为USB无线传输、蓝牙无线传输或WIFI无线传输。The operation method based on the touch screen drive according to claim 11, wherein the wired transmission method is specifically USB cable transmission, and the wireless transmission method is USB wireless transmission, Bluetooth wireless transmission, or WIFI wireless transmission. transmission.
  13. 一种基于触屏驱动的系统,其特征在于,包括:智能设备以及如权利要求1至5任一项所述的基于触屏驱动的输入设备,所述智能设备的主机与所述输入设备连接。A system based on a touch screen drive, comprising: a smart device and the input device based on the touch screen drive according to any one of claims 1 to 5, and a host of the smart device is connected to the input device. .
  14. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有可执行计算机程序,所述计算机程序运行时实现如权利要求6至12任一项所述的基于触屏驱动的操作方法。A computer-readable storage medium, characterized in that the computer-readable storage medium stores an executable computer program, and when the computer program runs, the touch-screen driver-based device according to any one of claims 6 to 12 is implemented. Method of operation.
PCT/CN2018/111882 2018-06-26 2018-10-25 Touch screen drive-based input device, operation method and system, and storage medium WO2020000815A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810671235.1 2018-06-26
CN201810671235.1A CN109189254B (en) 2018-06-26 2018-06-26 Input device based on touch screen drive, operation method, system and storage medium

Publications (1)

Publication Number Publication Date
WO2020000815A1 true WO2020000815A1 (en) 2020-01-02

Family

ID=64948479

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/111882 WO2020000815A1 (en) 2018-06-26 2018-10-25 Touch screen drive-based input device, operation method and system, and storage medium

Country Status (2)

Country Link
CN (1) CN109189254B (en)
WO (1) WO2020000815A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103309701A (en) * 2012-10-25 2013-09-18 张巍巍 Bluetooth wireless game controller and control method thereof
CN103530059A (en) * 2013-10-30 2014-01-22 广州视睿电子科技有限公司 Man-machine interactive system and method
CN103809874A (en) * 2012-11-13 2014-05-21 深圳市视晶无线技术有限公司 Interaction control system and method aiming at intelligent terminal
CN104035900A (en) * 2014-06-03 2014-09-10 上海卓悠网络科技有限公司 Method and device for sharing input device of PC (personal computer) with Android device
CN104536672A (en) * 2014-12-01 2015-04-22 西安福宇精密机械有限公司 Intelligent terminal multimedia auxiliary device and input and output assisting method thereof

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101901045B (en) * 2009-05-31 2013-09-11 张苏渝 Input method and equipment
CN101924807A (en) * 2010-07-23 2010-12-22 康佳集团股份有限公司 Touch-screen mobile phone and mouse input method
CN102147681B (en) * 2011-05-03 2013-03-13 惠州Tcl移动通信有限公司 Input method and device based on touch screen
KR101180673B1 (en) * 2011-11-18 2012-09-07 주식회사 한글과컴퓨터 Touch screen apparatus and control method of the touch screen apparatus
CN102662505A (en) * 2012-03-07 2012-09-12 深圳市同洲电子股份有限公司 Simulation touch input apparatus, and apparatus and method for configurating simulation touch input
JP6073466B2 (en) * 2013-04-25 2017-02-01 シャープ株式会社 Touch panel system and electronic device
WO2017047931A1 (en) * 2015-09-17 2017-03-23 주식회사 한컴플렉슬 Touch screen device enabling moving or copying of entity on basis of touch input, and operating method thereof
CN107239202B (en) * 2016-03-29 2020-06-30 中兴通讯股份有限公司 Control instruction identification method and device
CN105872664A (en) * 2016-03-31 2016-08-17 李强 Touch screen game operating-controlling method, device and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103309701A (en) * 2012-10-25 2013-09-18 张巍巍 Bluetooth wireless game controller and control method thereof
CN103809874A (en) * 2012-11-13 2014-05-21 深圳市视晶无线技术有限公司 Interaction control system and method aiming at intelligent terminal
CN103530059A (en) * 2013-10-30 2014-01-22 广州视睿电子科技有限公司 Man-machine interactive system and method
CN104035900A (en) * 2014-06-03 2014-09-10 上海卓悠网络科技有限公司 Method and device for sharing input device of PC (personal computer) with Android device
CN104536672A (en) * 2014-12-01 2015-04-22 西安福宇精密机械有限公司 Intelligent terminal multimedia auxiliary device and input and output assisting method thereof

Also Published As

Publication number Publication date
CN109189254B (en) 2021-07-13
CN109189254A (en) 2019-01-11

Similar Documents

Publication Publication Date Title
US11550399B2 (en) Sharing across environments
JP6522124B2 (en) Gesture control method, device and system
US20150331501A1 (en) Smart pen pairing and connection
US20130162523A1 (en) Shared wireless computer user interface
WO2018010021A1 (en) Pointer control in a handheld computer by way of hid commands
WO2022228465A1 (en) Interface display method and apparatus, electronic device, and storage medium
WO2014166365A1 (en) Television-and-computer all-in-one machine, method, and computer storage medium for performing remote control on external computer
WO2017215671A1 (en) Method, apparatus and system for controlling access device
US10204512B2 (en) Method and system for realizing remote control based on bluetooth human interface device protocol
CN203982283U (en) Tablet computer
WO2020000815A1 (en) Touch screen drive-based input device, operation method and system, and storage medium
CN208367674U (en) A kind of dual system Driver Card
US20190041997A1 (en) Pointer control in a handheld computer by way of hid commands
TWI509505B (en) Tablet
CN204117354U (en) A kind of mian engine changeover device of touch display system
WO2020034602A1 (en) Touch control simulation method, apparatus, and system
US20150351144A1 (en) Wireless transmission apparatus and implementation method thereof
US20150312349A1 (en) Remote operating system
US20150181646A1 (en) Method and system for bridging an input signal from a human interface device between a computer and a mobile device
US20130257763A1 (en) Electronic device
CN104159137A (en) Remote control of touch screen for smart television and control method thereof
TW201627853A (en) Multi-point handwriting input control system and method
CN104714702A (en) Non-intelligent television set touch interactive system based on infrared touch frame and implementation method of non-intelligent television set touch interactive system
CN204013939U (en) A kind of touch screen remote controller for intelligent television
KR20130017478A (en) Input sharing device by using bluetooth

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18924553

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 17/05/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18924553

Country of ref document: EP

Kind code of ref document: A1