CN109407823B - Electronic device and touch system - Google Patents

Electronic device and touch system Download PDF

Info

Publication number
CN109407823B
CN109407823B CN201810935486.6A CN201810935486A CN109407823B CN 109407823 B CN109407823 B CN 109407823B CN 201810935486 A CN201810935486 A CN 201810935486A CN 109407823 B CN109407823 B CN 109407823B
Authority
CN
China
Prior art keywords
touch
touch event
event
electronic device
controlled
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.)
Active
Application number
CN201810935486.6A
Other languages
Chinese (zh)
Other versions
CN109407823A (en
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.)
Shanghai Flydigi Electronics Technology Co ltd
Original Assignee
Shanghai Flydigi Electronics 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 Shanghai Flydigi Electronics Technology Co ltd filed Critical Shanghai Flydigi Electronics Technology Co ltd
Priority to CN201810935486.6A priority Critical patent/CN109407823B/en
Priority to PCT/CN2019/073520 priority patent/WO2020034602A1/en
Priority to US16/768,710 priority patent/US20210170274A1/en
Publication of CN109407823A publication Critical patent/CN109407823A/en
Application granted granted Critical
Publication of CN109407823B publication Critical patent/CN109407823B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/0412Digitisers structurally integrated in a display
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/214Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads
    • A63F13/2145Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads the surface being also a display device, e.g. touch screens
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/23Input arrangements for video game devices for interfacing with the game device, e.g. specific interfaces between game controller and console
    • A63F13/235Input arrangements for video game devices for interfacing with the game device, e.g. specific interfaces between game controller and console using a wireless connection, e.g. infrared or piconet
    • 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/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • 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/016Input arrangements with force or tactile feedback as computer generated output to the user
    • 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
    • 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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention relates to the technical field of touch control, and discloses an electronic device and a touch control system. The electronic device comprises a processor and a signal transmitter, wherein the processor is coupled with the signal transmitter; the signal transmitter is used for receiving the non-touch event and transmitting the non-touch event to the processor; the processor is used for receiving the non-touch event from the signal transmitter, converting the non-touch event into a touch event and feeding the touch event back to the signal transmitter; the signal transmitter is also used for receiving the touch event from the processor and transmitting the touch event to the controlled equipment so as to simulate the touch element. Through the mode, the use convenience of the game equipment can be improved.

Description

Electronic device and touch system
Technical Field
The present invention relates to the field of touch technologies, and in particular, to an electronic device and a touch system.
Background
At present, when a bluetooth game device on the market controls a terminal game, a specific permission in the terminal needs to be acquired, and the control function can be realized, so that the processes of accessing and controlling the terminal game by the game device are complex, and the use convenience of the game device is poor.
Disclosure of Invention
In view of the above, the present invention provides an electronic device and a touch system, which can improve the convenience of a game device.
In order to solve the technical problems, the invention adopts a technical scheme that: the electronic device is applied to analog touch controlled equipment, the controlled equipment comprises a touch element and a touch pad interface, the electronic device comprises a processor and a signal transmitter, and the processor is coupled with the signal transmitter; the signal transmitter is used for receiving the non-touch event and transmitting the non-touch event to the processor; the processor is used for receiving the non-touch event from the signal transmitter, converting the non-touch event into a touch event and feeding the touch event back to the signal transmitter; the signal transmitter is also used for receiving the touch event from the processor and transmitting the touch event to the controlled equipment so as to simulate the touch element; wherein the touch event is transmitted by the controlled device to the touchpad interface and the electronic apparatus is described as a touchscreen/touchpad HID device for transmitting the touch event to the touchpad interface.
In order to solve the technical problem, the invention adopts another technical scheme that: the touch system comprises an operating device, controlled equipment and an electronic device, wherein the operating device and the controlled equipment are respectively connected with the electronic device; the operating device is used for generating a non-touch event; the signal transmitter of the electronic device is used for receiving the non-touch event and transmitting the non-touch event to the processor of the electronic device; the processor is used for receiving the non-touch event from the signal transmitter, converting the non-touch event into a touch event and feeding the touch event back to the signal transmitter; the signal transmitter is also used for receiving the touch event from the processor and transmitting the touch event to the controlled equipment so as to simulate the touch element; wherein the touch event is transmitted by the controlled device to the touchpad interface and the electronic device is described as a touchscreen/touchpad HID device for transmitting the touch event to the touchpad interface.
The invention has the beneficial effects that: different from the prior art, in the electronic device provided by the invention, the process of converting the non-touch event into the touch event does not occur at the controlled equipment end, but at the electronic device end, the event type conversion work does not need to acquire the specific authority in the controlled equipment, so that the work of acquiring the authority is reduced, the implementation process of a simulation touch method can be simplified, and the use convenience of game equipment applying the electronic device is improved; and because the electronic device describes itself as a touch screen and/or touch panel HID device, the controlled device recognizes it as a touch screen and/or touch panel, so that the touch event can be transmitted through the touch panel interface in the controlled device without acquiring the authority on the transmission path, thereby further simplifying the implementation process of the analog touch method.
Drawings
FIG. 1 is a schematic flowchart illustrating a touch simulation method according to a first embodiment of the present invention;
FIG. 2 is a schematic structural diagram of an embodiment of the controlled device of the present invention;
FIG. 3 is a flowchart illustrating a touch simulation method according to a second embodiment of the present invention;
FIG. 4 is a flowchart illustrating a third exemplary embodiment of a method for simulating touch according to the present invention;
FIG. 5 is a flowchart illustrating a touch simulation method according to a fourth embodiment of the present invention;
FIG. 6 is a flowchart illustrating a mapping relationship establishing method according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a target site according to an embodiment of the present invention;
FIG. 8 is a schematic structural diagram of an electronic device according to an embodiment of the invention;
FIG. 9 is a schematic diagram of an embodiment of a touch system;
FIG. 10 is a schematic structural diagram of a touch device assembly according to an embodiment of the invention;
FIG. 11 is a schematic structural diagram of a touch system according to another embodiment of the present invention;
FIG. 12 is a schematic structural diagram of an embodiment of a device with a storage function according to the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
In the analog touch method according to an embodiment of the present invention, the analog touch method is applied to an analog touch controlled device. Which comprises the following steps: and installing an application program in the controlled equipment for acquiring the specific authority. After the installation of the application program is completed, the application program receives the non-touch event from the game handle and converts the non-touch event into a touch event by using the acquired authority; and then, transmitting the touch event to a processor of the controlled device, wherein after receiving the touch event, the processor of the controlled device can analyze the position of the touch element (which may be a touch screen and/or a touch pad) of the controlled device, so as to complete the simulated touch of the touch element on the controlled device.
As can be seen from the above, the analog touch method described in this embodiment relies on an application installed on the controlled device to implement analog touch. The application program is required to acquire a specific permission for converting event types (converting non-touch events into touch events) on the controlled device, so that the non-touch events output by the gamepad are converted into the touch events, the controlled device considers that the touch elements on the controlled device are touched after receiving the touch events, and then the simulated touch of the touch elements on the controlled device is completed. This means that the implementation of the above-mentioned analog touch method necessarily requires installing a required application program on the controlled device and acquiring a specific permission, so that the implementation process of the above-mentioned analog touch method is complicated, and the convenience of using the game pad to which the above-mentioned analog touch method is applied is adversely affected.
In view of this, other embodiments of the present invention provide a method for simulating touch control, so as to simplify the implementation process of the simulated touch controlled device and improve the convenience of using the game pad. As described in detail below.
Referring to fig. 1-2, fig. 1 is a schematic flow chart of a first embodiment of a method for simulating touch control according to the present invention, and fig. 2 is a schematic structural diagram of a controlled device according to an embodiment of the present invention.
The analog touch method described in this embodiment is applied to the analog touch controlled device 1. The controlled device 1 includes a touch element 11 and a touch pad interface 12, where the touch element 11 may be native to the controlled device 1, or may be external, or the controlled device 1 includes both the native touch element 11 and the external touch element 11. The analog touch controlled device 1 is a touch element 11 on the analog touch controlled device 1. The touch element 11 may be a touch screen and/or a touch pad, etc.; where a touch screen is defined as a digitizer with an integrated display and a touchpad is defined as a digitizer that is not integrated with a display. The touch element 11 of the controlled device 1 is used for presenting a human-computer interaction interface to a user, and the user inputs a series of control instructions to the controlled device 1 by manipulating the touch element 11 to drive the controlled device 1 to perform corresponding work, so that the user can obtain the content required by the user.
For example, a touch screen of the controlled device displays a game interface to a user, and a corresponding game virtual key is displayed in a partial area on the touch screen. The user inputs a control instruction to the controlled equipment by touching the touch screen area displaying the virtual key, so that part of contents in the game are driven to develop according to the intention of the user. For example, the user touches the area of the touch screen showing the "attack" virtual key to drive the character in the game to complete the "attack" action. The simulation touch method described in this embodiment is a process of simulating a user to touch a touch element on a controlled device.
Both the non-touch events and the touch events described in this embodiment are generated by the HID device. HID (human interface Device) is a medium that provides human-computer interaction. It is not necessarily a human interface, and other devices that comply with the HID class specification may be HID devices. The touch event is defined as an instruction event generated by an HID device described as a touch element or a touchpad (which may be generated by a user manipulating the HID device, etc.), and the non-touch event is defined as an instruction event generated by an HID device other than the HID device described as a touch element or a touchpad.
It should be noted that the analog touch method described in this embodiment is not limited to the following steps.
S101: receiving a non-touch event;
in this embodiment, a non-touch event generated by an HID device other than that described as a touchscreen or touchpad is received, the non-touch event being used to simulate a touch on a touch element on a controlled device.
S102: converting the non-touch event into a touch event;
in this embodiment, if the device to be controlled recognizes that the touch element thereon is touched, the device to be controlled needs to receive a touch event, where the touch event describes that a certain area on the touch element is touched. Therefore, in order to realize the simulated touch of the touch element of the controlled device, the non-touch event for the simulated touch needs to be converted into the corresponding touch event.
S103: transmitting the touch event to a controlled device to simulate a touch element;
in this embodiment, after converting the non-touch event generated by the HID device into the touch event, the touch event needs to be transmitted to the controlled device. After receiving the touch event, the controlled device recognizes the touched and touched position of the touch element thereon, thereby completing the simulation of touching the touch element, driving the controlled device to execute corresponding actions and showing the results to the user.
Therefore, the process of converting the non-touch event into the touch event does not occur at the controlled device, and the event type conversion work does not need to acquire specific rights in the controlled device. Compared with the simulated touch method described in the above embodiment, the work of acquiring the permission is reduced, so that the implementation process of the simulated touch method can be simplified, and the use convenience of the game device applying the simulated touch method described in this embodiment is improved.
It should be noted that the controlled device includes a touch pad interface. The touch pad interface is a programming interface of the controlled device end, is used for receiving touch events from the touch screen and/or the touch pad, and is a window of the controlled device facing the touch screen and/or the touch pad. It is installed (carried natively) when the controlled device is shipped from the factory and conforms to the Human Interface Device (HID) class specification. In this embodiment, the end that transmits the touch event to the controlled device describes itself as a touchscreen and/or touchpad HID device so that after it connects to the controlled device, the controlled device recognizes it as a touchscreen and/or touchpad. And when the controlled equipment receives the touch event, the touch event is from the touch screen and/or the touch pad by default, and the touch event is transmitted to the touch pad interface, so that the simulated touch of the touch screen is completed. This is different from the analog touch method set forth in the above embodiment, after converting the event category by using the obtained permission, the touch event is not transmitted via the touch panel interface of the controlled device, and since it does not describe itself as a touch screen and/or a touch panel HID device, the controlled device does not transmit the touch event through the touch panel interface after receiving the touch event, so that the transmission process of the touch event still needs to obtain the controlled device permission required in the transmission path. The simulated touch method described in this embodiment transmits the touch event through the touch panel interface, and can be implemented without acquiring a specific permission, which is equivalent to a transmission process of the touch event generated by the touch element on the controlled device, so that the implementation process of the simulated touch method can be further simplified.
Therefore, the simulated touch method provided by the invention can realize the simulated touch of the touch element of the controlled equipment. The process of converting the non-touch event into the touch event does not occur at the controlled equipment end, and the event type conversion work does not need to acquire specific authority in the controlled equipment, so that the work of acquiring the authority is reduced, the implementation process of the simulation touch method can be simplified, and the use convenience of the game equipment applying the simulation touch method is improved; and because one end of the controlled device transmitting the touch event describes the controlled device as a touch screen and/or touch pad HID device, the controlled device identifies the controlled device as a touch screen and/or touch pad, so that the touch event can be transmitted in the controlled device through a touch pad interface without acquiring the authority on a transmission path, and the implementation process of the simulation touch method is further simplified.
Referring to fig. 3, fig. 3 is a flowchart illustrating a touch simulation method according to a second embodiment of the present invention.
The method for simulating touch control described in this embodiment is applied to a device to be controlled by simulated touch control, and the device to be controlled may be a mobile terminal device such as a smart phone and a tablet computer having a touch element such as a touch screen and/or a touch pad. The controlled device comprises a touch element and a touch pad interface, and the analog touch controlled device is the touch element on the analog touch controlled device. The touch element may be a touch screen and/or a touch pad, etc. The touch element of the controlled equipment is used for showing a human-computer interaction interface for a user, and the user inputs a series of control instructions to the controlled equipment by controlling the touch element so as to drive the controlled equipment to execute corresponding work, so that the user can obtain the required content.
It should be noted that the analog touch method described in this embodiment is not limited to the following steps.
S201: establishing communication connection with controlled equipment;
in this embodiment, in order to establish a signal transmission channel with the controlled device for transmitting signals such as a touch event described below to the controlled device, a communication connection needs to be established with the controlled device. The communication connection between the two can adopt a wired connection form, and a signal transmission channel is established with the controlled equipment through cable structures such as wires and the like; or the communication connection adopts a wireless connection mode, and a signal transmission channel is established with the controlled equipment in a wireless communication mode.
Optionally, the wireless connection form of the communication connection may include a bluetooth communication connection, a wifi communication connection, an infrared communication connection, a carrier network communication connection (for example, 2G, 3G, 4G, and other communication technologies), and the like, which is not limited herein.
S202: receiving a non-touch event;
in this embodiment, a non-touch event generated by an HID device other than that described as a touchscreen or touchpad is received, the non-touch event being used to simulate a touch on a touch element on a controlled device. The signal transmission channel for transmitting signals such as a non-touch event to the HID device may be in the same form as the communication connection, which is not limited herein.
Specifically, the non-touch event may be a mechanical key event, a motion sensing control event, a light sensing control event, and the like. The HID device used to generate the non-touch event may be a keyboard, mouse, joystick, etc. HID device with mechanical physical keys (e.g., keys, joysticks, etc.) to generate mechanical key events; alternatively, the HID device for generating the non-touch event may be a somatosensory sensor, which generates a somatosensory control event by detecting a somatosensory motion of the wearer; also, the HID device for generating the non-touch event may be a light sensing sensor, which recognizes a user's motion by detecting a change in input/output light intensity to generate a light sensing control event.
S203: converting the non-touch event into a touch event;
in this embodiment, if the device to be controlled recognizes that the touch element thereon is touched, the device to be controlled needs to receive a touch event, where the touch event describes that a certain area on the touch element is touched. Therefore, in order to realize the simulated touch of the touch element of the controlled device, the non-touch event for the simulated touch needs to be converted into the corresponding touch event.
Specifically, the process of converting the non-touch event into the touch event is a process of changing a report descriptor of the non-touch event, so as to convert the non-touch event into the touch event. The method comprises the following steps: the report descriptor of the non-touch event is changed into a report descriptor for describing a touch event, so that the non-touch event is converted into the touch event.
The following examples describe report descriptors of different events, where the conversion of different event categories is to change their report descriptors to corresponding report descriptors of target events.
Keyboard:
Usage Page(Generic Desktop) 05 01
Usage(Keyboard) 09 06
mouse:
Usage Page(Generic Desktop) 05 01
Usage(Mouse) 09 02
touch panel interface HID device:
Figure BDA0001767716070000081
it is required in the HID specification that to ensure that the HID device class is correctly identified, the HID device must declare a set of applications using either of the following:
1. touch Screen (Touch Screen);
2. touch Pad (Touch Pad).
In combination with the above, if the device such as the keyboard and the mouse is controlled to perform the simulated touch on the touch element on the controlled device, the report descriptor of the non-touch event output by the device such as the keyboard and the mouse needs to be changed into the report descriptor of the HID device corresponding to the touch pad interface, so that the non-touch event is converted into the touch event, that is, the event type corresponding to the touch pad interface. After receiving the touch event, the controlled device can recognize that the touch event is an event corresponding to the touch pad interface and describes touch information of a partial area on the touch element.
S204: transmitting the touch event to a controlled device to simulate a touch element;
in this embodiment, after converting the non-touch event generated by the HID device into the touch event, the touch event needs to be transmitted to the controlled device. After receiving the touch event, the controlled device recognizes the touched and touched position of the touch element thereon, thereby completing the simulation of touching the touch element, driving the controlled device to execute corresponding actions and showing the results to the user.
Therefore, the process of converting the non-touch event into the touch event does not occur at the controlled device, and the event type conversion work does not need to acquire specific permission in the controlled device, so that the implementation process of the simulated touch method can be simplified, and the use convenience of the game device applying the simulated touch method explained in the embodiment is improved.
And in the embodiment, one end transmitting the touch event to the controlled device describes itself as a touch screen and/or touch pad HID device, so that after it is connected with the controlled device, the controlled device recognizes it as a touch screen and/or touch pad. And when the controlled equipment receives the touch event, the touch event is from the touch screen and/or the touch pad by default, and the touch event is transmitted to the touch pad interface, so that the simulated touch of the touch screen is completed. The touch event is transmitted through the touch pad interface, the touch event can be realized without acquiring specific authority, and the transmission process is equal to the transmission process of the touch event generated by the touch element on the controlled equipment, so that the realization process of the simulation touch method can be further simplified.
Therefore, the simulated touch method provided by the invention can realize the simulated touch of the touch element of the controlled equipment. The process of converting the non-touch event into the touch event does not occur at the controlled equipment end, and the event type conversion work does not need to acquire specific authority in the controlled equipment, so that the work of acquiring the authority is reduced, the implementation process of the simulation touch method can be simplified, and the use convenience of the game equipment applying the simulation touch method is improved; and because one end of the controlled device transmitting the touch event describes the controlled device as a touch screen and/or touch pad HID device, the controlled device identifies the controlled device as a touch screen and/or touch pad, so that the touch event can be transmitted in the controlled device through a touch pad interface without acquiring the authority on a transmission path, and the implementation process of the simulation touch method is further simplified.
Referring to fig. 4, fig. 4 is a flowchart illustrating a touch simulation method according to a third embodiment of the present invention.
The analog touch method described in this embodiment is applied to an analog touch controlled device. The controlled device comprises a touch element and a touch pad interface, and the analog touch controlled device is the touch element on the analog touch controlled device. The touch element may be a touch screen and/or a touch pad, etc. The touch element of the controlled equipment is used for showing a human-computer interaction interface for a user, and the user inputs a series of control instructions to the controlled equipment by controlling the touch element so as to drive the controlled equipment to execute corresponding work, so that the user can obtain the required content.
It should be noted that the analog touch method described in this embodiment is not limited to the following steps.
S301: generating a non-touch event;
in this embodiment, an HID device that conforms to the HID class specification generates a non-touch event that is used to simulate a touch on a touch element on the controlled device. The HID device is described as an HID device other than a touch screen or a touch pad, which may be a mouse, a keyboard, a joystick, etc., and is not limited herein.
S302: converting the non-touch event into a touch event;
in this embodiment, if the device to be controlled recognizes that the touch element thereon is touched, the device to be controlled needs to receive a touch event, where the touch event describes that a certain area on the touch element is touched. Therefore, in order to realize the simulated touch of the touch element of the controlled device, the non-touch event for the simulated touch needs to be converted into the corresponding touch event.
S303: transmitting the touch event to a controlled device to simulate a touch element;
in this embodiment, after converting the non-touch event generated by the HID device into the touch event, the touch event needs to be transmitted to the controlled device. After receiving the touch event, the controlled device recognizes the touched and touched position of the touch element thereon, thereby completing the simulation of touching the touch element, driving the controlled device to execute corresponding actions and showing the results to the user.
Therefore, the process of converting the non-touch event into the touch event does not occur at the controlled device, and the event type conversion work does not need to acquire specific rights in the controlled device. And in the embodiment, one end transmitting the touch event to the controlled device (namely, the HID device generating the non-touch event) describes itself as a touch screen and/or touch pad HID device, so that after the HID device is connected with the controlled device, the controlled device recognizes the HID device as a touch screen and/or touch pad. And when the controlled equipment receives the touch event, the touch event is from the touch screen and/or the touch pad by default, and the touch event is transmitted to the touch pad interface, so that the simulated touch of the touch screen is completed. The touch event is transmitted through the touch pad interface, the touch event can be realized without acquiring specific authority, and the transmission process is equal to the transmission process of the touch event generated by the touch element on the controlled equipment, so that the realization process of the simulation touch method can be further simplified.
Therefore, the simulated touch method provided by the invention can realize the simulated touch of the touch element of the controlled equipment. The process of converting the non-touch event into the touch event does not occur at the controlled equipment end, and the event type conversion work does not need to acquire specific authority in the controlled equipment, so that the work of acquiring the authority is reduced, the implementation process of the simulation touch method can be simplified, and the use convenience of the game equipment applying the simulation touch method is improved; and because one end of the controlled device transmitting the touch event describes the controlled device as a touch screen and/or touch pad HID device, the controlled device identifies the controlled device as a touch screen and/or touch pad, so that the touch event can be transmitted in the controlled device through a touch pad interface without acquiring the authority on a transmission path, and the implementation process of the simulation touch method is further simplified.
Referring to fig. 5, fig. 5 is a flowchart illustrating a touch simulation method according to a fourth embodiment of the present invention.
The analog touch method described in this embodiment is applied to an analog touch controlled device. The controlled device comprises a touch element and a touch pad interface, and the analog touch controlled device is the touch element on the analog touch controlled device. The touch element may be a touch screen and/or a touch pad, etc. The touch element of the controlled equipment is used for showing a human-computer interaction interface for a user, and the user inputs a series of control instructions to the controlled equipment by controlling the touch element so as to drive the controlled equipment to execute corresponding work, so that the user can obtain the required content.
It should be noted that the analog touch method described in this embodiment is not limited to the following steps.
S401: establishing communication connection with controlled equipment;
in this embodiment, in order to establish a signal transmission channel with the controlled device for transmitting signals such as a touch event described below to the controlled device, a communication connection needs to be established with the controlled device. The communication connection between the two can adopt a wired connection form, and a signal transmission channel is established with the controlled equipment through cable structures such as wires and the like; or the communication connection adopts a wireless connection mode, and a signal transmission channel is established with the controlled equipment in a wireless communication mode.
The wireless communication method described in this embodiment may be in the same form as that of the above embodiment, and will not be described herein again.
S402: generating a non-touch event;
in this embodiment, an HID device that conforms to the HID class specification generates a non-touch event that is used to simulate a touch on a touch element on the controlled device. The HID device is described as an HID device other than a touch screen or a touch pad, which may be a mouse, a keyboard, a joystick, etc., and is not limited herein.
S403: converting the non-touch event into a touch event;
in this embodiment, if the device to be controlled recognizes that the touch element thereon is touched, the device to be controlled needs to receive a touch event, where the touch event describes that a certain area on the touch element is touched. Therefore, in order to realize the simulated touch of the touch element of the controlled device, the non-touch event for the simulated touch needs to be converted into the corresponding touch event.
The specific process of converting the non-touch event into the touch event has been described in detail in the above embodiments, and is not repeated here.
S404: transmitting the touch event to a controlled device to simulate a touch element;
in this embodiment, after converting the non-touch event generated by the HID device into the touch event, the touch event needs to be transmitted to the controlled device. After receiving the touch event, the controlled device recognizes the touched and touched position of the touch element thereon, thereby completing the simulation of touching the touch element, driving the controlled device to execute corresponding actions and showing the results to the user.
Therefore, the process of converting the non-touch event into the touch event does not occur at the controlled device, and the event type conversion work does not need to acquire specific permission in the controlled device, so that the implementation process of the simulated touch method can be simplified, and the use convenience of the game device applying the simulated touch method explained in the embodiment is improved.
And in the embodiment, one end transmitting the touch event to the controlled device describes itself as a touch screen and/or touch pad HID device, so that after it is connected with the controlled device, the controlled device recognizes it as a touch screen and/or touch pad. And when the controlled equipment receives the touch event, the touch event is from the touch screen and/or the touch pad by default, and the touch event is transmitted to the touch pad interface, so that the simulated touch of the touch screen is completed. The touch event is transmitted through the touch pad interface, the touch event can be realized without acquiring specific authority, and the transmission process is equal to the transmission process of the touch event generated by the touch element on the controlled equipment, so that the realization process of the simulation touch method can be further simplified.
Therefore, the simulated touch method provided by the invention can realize the simulated touch of the touch element of the controlled equipment. The process of converting the non-touch event into the touch event does not occur at the controlled equipment end, and the event type conversion work does not need to acquire specific authority in the controlled equipment, so that the work of acquiring the authority is reduced, the implementation process of the simulation touch method can be simplified, and the use convenience of the game equipment applying the simulation touch method is improved; and because one end of the controlled device transmitting the touch event describes the controlled device as a touch screen and/or touch pad HID device, the controlled device identifies the controlled device as a touch screen and/or touch pad, so that the touch event can be transmitted in the controlled device through a touch pad interface without acquiring the authority on a transmission path, and the implementation process of the simulation touch method is further simplified.
Referring to fig. 6, fig. 6 is a flowchart illustrating a mapping relationship establishing method according to an embodiment of the present invention.
It should be noted that the touch event is used to describe an event generated by touching a target location on a touch element of a controlled device, and the generation of the touch event described in the present invention is not actually generated by touching the touch element. The touch event carries physical location information (e.g., location coordinates, etc.) of the target location on the touch element.
Before the simulated touch method described in the above embodiments is implemented, a mapping relationship between the target position and the non-touch event needs to be established. As such, when the non-touch event is generated, it means a simulated touch to the target location on the touch element. As described in detail below.
S501: acquiring physical position information of a target position on a touch element;
in this embodiment, the touch element may be a touch screen or a touch pad as described in the above embodiments. Since touch elements currently on the market are generally planar structures, they can be defined by two non-parallel axes. To facilitate the description of the physical location information for various locations on the touch element 2, the present embodiment utilizes two mutually perpendicular coordinate axes X, Y to define the specific orientation of the target location M on the touch element 2. Therefore, the physical position information of the target position M on the touch element 2 is the coordinate value (a, b) of the coordinate axis X, Y corresponding to the target position M, as shown in fig. 7.
S502: establishing association between the physical position information and the non-touch event;
in this embodiment, since the position of the target position on the touch element where the touch is to be simulated is known, when a non-touch event is generated, it means that the target position on the touch element is subjected to the simulated touch. This requires that the non-touch event is associated with the physical location information of the target location, i.e. the non-touch event is associated with the physical location information of the target location, so that when the non-touch event is generated, the simulated touch on the touch element corresponding to the target location of the non-touch event is performed.
S503: establishing a mapping relation between a non-touch event and a target position;
in this embodiment, it is necessary to associate the physical position information of the target position with the non-touch event, that is, to establish a mapping relationship between the non-touch event and the target position, that is, to bind the non-touch event and the target position. In the method for simulating touch described in the above embodiments, the non-touch event describes the simulated touch on the corresponding target position.
In order to implement the foregoing manner, in the link of converting a non-touch event into a touch event described in the foregoing embodiment, the physical position information of the target position on the touch element (i.e., the coordinate value of the coordinate axis X, Y corresponding to the target position) needs to be added to the touch event, so that the controlled device can analyze the specific orientation of the target position of the simulated touch on the touch element after receiving the touch event.
Further, the association with the target location may be a non-touch event, a structure for generating the non-touch event, or a touch event converted from the non-touch event, which is not limited herein.
And the mapping relation between the non-touch event and the target position can be adjusted. When the position of the simulated touch on the touch element corresponding to the non-touch event is changed, the mapping relation between the non-touch event and the new target position can be bound again.
It should be noted that the analog touch method described in the present invention may include a plurality of non-touch events, which are respectively from different HID devices or from different manipulation terminals (e.g. different keys on a keyboard) on the same HID device. It is necessary to establish mapping relationships between various non-touch events and corresponding target positions on the touch elements, and the mapping relationships between various non-touch events and corresponding target positions on the touch elements can form a set of mapping schemes.
It can be understood that, changing the target position on the touch element corresponding to at least part of the non-touch events may constitute a different mapping scheme, that is, adjusting the target position corresponding to at least part of the non-touch events so that the at least part of the non-touch events maps a new area on the touch element, thereby implementing simulated touch on the new area. By the method, different mapping schemes can be switched according to different application scenes and control contents, so that the phenomenon that the mapping schemes need to be reestablished every time the application scenes or the control contents are changed, and adverse effects are caused on the use experience of a user is avoided.
Further, the work of establishing and recording the mapping relationship and/or the mapping scheme may be implemented by an application installed on the controlled device. And installing the application program on the controlled equipment, wherein the mapping relation between the non-touch event and the corresponding target position and the mapping scheme are recorded in the application program. After the non-touch event is converted into a touch event, physical location information of the target location is added to the touch event by the application program. Detecting the current application scene and the control content by the application program, and selecting a proper mapping scheme; or the user selects the mapping scheme he desires through the application.
For example, the application scene is set as a game handle, and the simulated touch method is applied to realize the simulated touch of the controlled equipment. The joystick is usually provided with a rocker and a plurality of keys for outputting non-touch events, and the rocker and the keys respectively correspond to a target position on a touch screen of the controlled device, and a mapping scheme is formed by mapping relations between the rocker and the keys and the corresponding target position. However, for different terminal games on the controlled device, the target positions of the joystick and the keys to simulate touch may be different, and therefore, the mapping relationship needs to be adjusted. By switching different mapping schemes according to different control contents (such as terminal games and the like), the mapping relation corresponding to a rocker and a key on a gamepad can be integrally and quickly adjusted, so that the mapping scheme can be quickly switched to a proper mapping scheme for a user to experience games.
Of course, establishing and recording the mapping relationship and/or mapping scheme is not limited to being implemented by an application installed on the controlled device. Alternatively, the executor that establishes and records the mapping relationship and/or the mapping scheme may be an independent device, which establishes the communication connection with the controlled device, and is capable of transmitting the touch event processed by the executor to the controlled device (for example, adding physical location information of the corresponding target location, etc.) to implement simulated touch.
The following generally describes an application scenario of the simulated touch method provided by the present invention, which is only needed for discussion, and is not limited to the application scenario of the simulated touch method provided by the present invention.
In the application scenario, the product applying the touch simulation method provided by the invention is a gamepad, and the gamepad itself and physical keys on the gamepad conform to the HID category specification and are used for simulating a touch and a mobile terminal (such as a smart phone) connected with the gamepad. A mapping relation is pre-established between physical keys on the game handle and a target position on the touch screen of the mobile terminal. The simulation touch process generally includes the following steps:
1. the game handle is connected with the mobile terminal and describes the game handle as a touch screen and/or touch pad HID device;
2. a user uses a game handle and manipulates physical keys on the game handle to generate a non-touch event;
3. the game handle converts the non-touch event into a touch event and transmits the touch event to the mobile terminal;
4. the mobile terminal receives a touch event from the game handle, recognizes the game handle as a touch screen and/or a touch pad, transmits the touch event to a touch pad interface in the mobile terminal, transmits the touch event to a processing element of the mobile terminal through the touch pad interface, and analyzes the touched position (actually, the touched position of the touch element is not touched) of the touch element on the mobile terminal from the touch event, so as to complete the simulation touch control.
In order to solve the technical problem that the use convenience of game equipment in the prior art is poor, the invention provides an electronic device which is applied to simulated touch controlled equipment, wherein the controlled equipment comprises a touch screen and a touch pad interface. The electronic device comprises a processor and a signal transmitter, wherein the processor is coupled with the signal transmitter. The signal transmitter is used for receiving the non-touch event and transmitting the non-touch event to the processor. The processor is used for receiving the non-touch event from the signal transmitter, converting the non-touch event into a touch event and feeding the touch event back to the signal transmitter. The signal transmitter is also used for receiving the touch event from the processor and transmitting the touch event to the controlled equipment so as to simulate the touch screen. Wherein the touch event is transmitted by the controlled device to the touchpad interface and the electronic device is described as a touchscreen/touchpad HID device for transmitting the touch event to the touchpad interface. As described in detail below.
Referring to fig. 8, fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the invention.
The electronic device 3 described in this embodiment is used as a medium for event type conversion to implement the analog touch method described in the above embodiments. The product form can be a keyboard-mouse converter and the like so as to convert the events which are not touch signals into corresponding touch signals, thereby finishing the action of simulating the touch elements on the touch controlled equipment. As described in detail below.
In the present embodiment, the electronic apparatus 3 is applied to an analog touch controlled device. The controlled device comprises a touch element and a touch pad interface. The technical explanations of the touch element and the touch pad interface have been described in detail in the above embodiments, and are not repeated here.
In the embodiment, the electronic device 3 includes a processor 31 and a signal transmitter 32, the processor 31 is coupled to the signal transmitter 32, and the processor 31 and the signal transmitter 32 can be coupled by a circuit trace or the like to transmit an electrical signal.
The method for implementing the simulated touch described in the above embodiment by the electronic device 3 may specifically be: the signal transmitter 32 is used for receiving the non-touch event and transmitting the non-touch event to the processor 31. The processor 31 is configured to receive the non-touch event from the signal transmitter 32, convert the non-touch event into a touch event, and feed back the touch event to the signal transmitter 32. The signal transmitter 32 is also used to receive touch events from the processor 31 and transmit the touch events to the controlled device to simulate a touch element. Wherein the touch event is transmitted by the controlled device to the touchpad interface.
Since the process of converting the non-touch event into the touch event occurs at the electronic device 3 end and does not occur at the controlled device end, the event type conversion work does not need to acquire a specific authority in the controlled device, the implementation process of the simulated touch method can be simplified, and the use convenience of the game device applying the electronic device 3 described in this embodiment is improved.
Also in this embodiment, the electronic device 3 describes itself as a touch screen and/or touch pad HID device, so that after it is connected to the controlled device, the controlled device recognizes it as a touch screen and/or touch pad. And when the controlled equipment receives the touch event, the touch event is from the touch screen and/or the touch pad by default, and the touch event is transmitted to the touch pad interface, so that the simulated touch of the touch screen is completed. The touch event is transmitted through the touch pad interface, the touch event can be realized without acquiring specific authority, and the transmission process is equal to the transmission process of the touch event generated by the touch element on the controlled equipment, so that the realization process of the simulation touch method can be further simplified.
Further, the electronic device 3 further comprises a first port 33, and the first port 33 is coupled to the signal transmitter 32. The first port 33 is used for connecting with the operating device, receiving the non-touch event generated by the operating device and transmitting the non-touch event to the signal transmitter 32, and the non-touch event is transmitted to the processor 31 by the signal transmitter 32 to perform the operations of event type conversion and the like.
Alternatively, the operating device may be an HID device compliant with the HID classification specification for generating the non-touch event. The operating device can be provided with physical keys (including keys, a rocker and the like), which can be components/parts with the physical keys on the game pad and the like; or, the operating device may be at least one of devices conforming to the HID specification, such as a mouse, a keyboard, a joystick, a motion sensor, and a light-sensitive sensor, and is configured to perform analog touch on the controlled device.
The electronic device 3 further comprises a second port 34, the second port 34 being coupled to the signal transmitter 32. The second port 34 is used to connect with a controlled device to transmit touch events to the controlled device. And the controlled equipment transmits the touch event to the processing element through the touch pad interface on the controlled equipment for analysis, and the simulation touch control of the touch element of the controlled equipment is completed.
Further, there may be more than one operation device that outputs the non-touch event to the electronic device 3. Correspondingly, the electronic device 3 may include a plurality of first ports 33, so that a first port 33 is provided for each operating device to receive the non-touch event from the corresponding operating device. The first port 33 may be a USB interface, and is connected to the electronic device 3 and the operation device through a data line for signal interaction.
Likewise, the electronic apparatus 3 may control more than one controlled device. Correspondingly, the electronic apparatus 3 may include a plurality of second ports 34, so that a second port 34 is provided for each controlled device, and is used for transmitting the touch event converted from the event category to the corresponding controlled device. The second port 34 may also be a USB interface, and is connected to the electronic device 3 and the controlled device through a data line for signal interaction.
It can be seen from the above that, in the electronic device provided by the present invention, the process of converting the non-touch event into the touch event does not occur at the controlled device, but at the electronic device, the event type conversion work does not need to acquire the specific permission in the controlled device, so that the work of acquiring permission is reduced, the implementation process of the simulated touch method can be simplified, and the convenience in use of the game device using the electronic device set forth by the present invention is improved; and because the electronic device describes itself as a touch screen and/or touch panel HID device, the controlled device recognizes it as a touch screen and/or touch panel, so that the touch event can be transmitted through the touch panel interface in the controlled device without acquiring the authority on the transmission path, thereby further simplifying the implementation process of the analog touch method.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a touch system according to an embodiment of the invention.
The present embodiment provides a touch system 4 for implementing the analog touch method described in the above embodiments. The device comprises an operating device 41, controlled equipment 42 and an electronic device 43, wherein the operating device 41 and the controlled equipment 42 are respectively connected with the electronic device 43. The electronic device 43 is applied to an analog touch controlled device 42, and the controlled device 42 includes a touch element 421 and a touch pad interface 422. The electronic device 43 comprises a processor 431 and a signal transmitter 432, wherein the processor 431 and the signal transmitter 432 are coupled. The electronic device 43 is the electronic device 43 described in the above embodiments, and will not be described herein again.
The operating means 41 are used to generate a non-touch event. The signal transmitter 432 of the electronic device 43 is configured to receive the non-touch event and transmit the non-touch event to the processor 431 of the electronic device 43. The processor 431 is configured to receive the non-touch event from the signal transmitter 432, convert the non-touch event into a touch event, and feed back the touch event to the signal transmitter 432. The signal transmitter 432 is also configured to receive touch events from the processor 431 and transmit the touch events to the controlled device 42 to simulate touching the touch element 421. Where the touch event is transmitted by the controlled device 42 to the touchpad interface 422.
Further, the connection form between the operating device 41 and the electronic device 43 may adopt a wired connection (i.e. a connection between the ports through a data line) as described in the above embodiments, and it may also be a wireless connection. Similarly, the connection form between the controlled device 42 and the electronic apparatus 43 may be a wired connection as explained in the above embodiments, and it may also be a wireless connection.
Optionally, the wireless connection may include a bluetooth communication connection, a wifi communication connection, an infrared communication connection, a carrier network communication connection (for example, 2G, 3G, 4G, etc. communication technologies), etc., and is not limited herein.
In order to solve the technical problem of poor use convenience of game equipment in the prior art, the invention provides a touch device assembly, which is applied to an analog touch controlled device, wherein the controlled device comprises a touch element and a touch pad interface, the touch device assembly comprises an operating device, a conversion device and a signal transmitter, and the operating device and the signal transmitter are respectively connected with the conversion device. The operating device is provided with physical keys and is used for generating a non-touch event, and the operating device is used for transmitting the non-touch event to the conversion device. The conversion device is used for receiving the non-touch event, converting the non-touch event into a touch event and transmitting the touch event to the signal transmitter. The signal transmitter is used for receiving the touch event and transmitting the touch event to the controlled equipment so as to simulate the touch element. Wherein the touch event is transmitted by the controlled device to the touchpad interface and the touch device assembly is described as a touchscreen/touchpad HID device for transmitting the touch event to the touchpad interface. As described in detail below.
Referring to fig. 10, fig. 10 is a schematic structural diagram of a touch device assembly according to an embodiment of the invention.
The touch device assembly 5 described in the present embodiment is used to generate a non-touch event and serve as a medium for event type conversion, so as to implement the analog touch method described in the above embodiments. As described in detail below.
In the present embodiment, the touch device assembly 5 is applied to an analog touch controlled device. The controlled device comprises a touch element and a touch pad interface. The technical explanations of the touch element and the touch pad interface have been described in detail in the above embodiments, and are not repeated here.
In the present embodiment, the touch device assembly 5 includes an operation device 51, a conversion device 52 and a signal transmitter 53, and the operation device 51 and the signal transmitter 53 are respectively connected to the conversion device 52. The method for realizing the simulated touch described in the above embodiments by the touch device assembly 5 may specifically be:
the operating means 51 are used for generating a non-touch event and the operating means 51 are used for transmitting the non-touch event to the converting means 52. The conversion means 52 is used for receiving the non-touch event and converting the non-touch event into a touch event, and transmitting the touch event to the signal transmitter 53. The signal transmitter 53 is used to receive touch events and transmit the touch events to the controlled device to simulate a touch element. Wherein the touch event is transmitted by the controlled device to the touchpad interface and the touch device assembly 5 is depicted as a touchscreen/touchpad HID device for transmitting touch events to the touchpad interface.
Since the process of converting the non-touch event into the touch event occurs at the end of the touch device assembly 5, but not at the end of the controlled equipment, the event type conversion work does not need to acquire specific authority in the controlled equipment, the implementation process of the simulation touch method can be simplified, and the use convenience of the touch device assembly 5 is improved.
Also in this embodiment, the touch device assembly 5 describes itself as a touch screen and/or touch pad HID device, so that after it is connected to the controlled device, the controlled device recognizes it as a touch screen and/or touch pad. And when the controlled equipment receives the touch event, the touch event is from the touch screen and/or the touch pad by default, and the touch event is transmitted to the touch pad interface, so that the simulated touch of the touch screen is completed. The touch event is transmitted through the touch pad interface, the touch event can be realized without acquiring specific authority, and the transmission process is equal to the transmission process of the touch event generated by the touch element on the controlled equipment, so that the realization process of the simulation touch method can be further simplified.
The product form of the touch device assembly 5 described in this embodiment may be a game pad, and the operation device 51 thereof is provided with physical keys, such as a key 511 and a joystick 512, for generating a non-touch event. When a user manipulates a physical key on the operation device 51, the operation device 51 can be driven to generate a corresponding non-touch event, so as to perform simulated touch on a touch element on the controlled device.
Of course, in another embodiment of the present invention, the operation device 51 may be at least one of devices conforming to the HID specification, such as a mouse, a keyboard, a joystick, a motion sensor, and a light sensor, so as to form a product form different from the game pad.
Further, the touch device assembly 5 further includes a connecting device 54. The connecting device 54, the operating device 51, the converting device 52 and the signal transmitter 53 are an integral structure, and the connecting device 54 is used for assembling and fixing the controlled equipment. In the process that the user controls the controlled device by using the touch device assembly 5, the touch device assembly 5 and the controlled device are assembled into a whole, so that the user can hold the touch device assembly 5 and/or the controlled device conveniently, the use convenience of the touch device assembly 5 is improved, and the use experience of the user is improved.
Further, the physical keys on the operating device 51 may include at least one key 511 and a joystick 512. The joystick 512 and at least a portion of the keys 511 are disposed on the top surface of the operating device 51 for being operated by the thumbs of the left and right hands of the user; furthermore, at least some of the buttons 511 may be disposed at the side of the operation device 51 for the index fingers of the left and right hands of the user to operate.
It should be noted that each of the keys 511 and the joystick 512 on the operating device 51 corresponds to a non-touch event, i.e. corresponds to a target position of a touch element on the simulated touch controlled device. Of course, in other embodiments, one key 511 or joystick 512 may correspond to multiple target positions at the same time, or one target position may correspond to multiple keys 511 and/or joysticks 512, which is not limited herein.
In other embodiments of the invention, the operating means, the converting means and the signal transmitter are independent of each other. The connection form between the operating device and the converting device and between the signal transmitter and the converting device is wired connection or wireless connection. Wherein, the wireless connection form can include bluetooth communication connection, wifi communication connection, infrared communication connection, operator network communication connection etc..
In the touch device assembly provided by the invention, the process of converting the non-touch event into the touch event does not occur at the controlled equipment end, but at the touch device assembly end, the event type conversion work does not need to acquire the specific authority in the controlled equipment, so that the work of acquiring the authority is reduced, the implementation process of a simulation touch method can be simplified, and the use convenience of the touch device assembly is improved; and because the touch device assembly describes itself as a touch screen and/or touch panel HID device, the controlled device identifies it as a touch screen and/or touch panel, so that the touch event can be transmitted through the touch panel interface in the controlled device without acquiring the authority on the transmission path, thereby further simplifying the implementation process of the analog touch method.
Referring to fig. 11, fig. 11 is a schematic structural diagram of a touch system according to another embodiment of the invention.
In the present embodiment, the touch system 6 includes a touch device assembly 61 and a controlled device 62, the touch device assembly 61 is connected to the controlled device 62, the touch device assembly 61 is applied to an analog touch controlled device 62, the controlled device 62 includes a touch element 621 and a touch pad interface 622, the touch device assembly 61 includes an operating device 611, a converting device 612 and a signal transmitter 613, and the operating device 611 and the signal transmitter 613 are respectively connected to the converting device 612.
The touch system 6 may specifically implement the analog touch method described in the above embodiments as follows: the operation device 611 is provided with a physical key 6111 for generating a non-touch event, and the operation device 611 is used for transmitting the non-touch event to the conversion device 612. The conversion device 612 is used for receiving the non-touch event, converting the non-touch event into a touch event, and transmitting the touch event to the signal transmitter 613. Signal transmitter 613 is used to receive touch events and transmit the touch events to controlled device 62 to simulate touching touch element 621. Wherein the touch events are transmitted by the controlled device 62 to the touch pad interface 622 and the touch device assembly 61 is depicted as a touch screen/touch pad HID device for transmitting touch events to the touch pad interface 622.
Referring to fig. 12, fig. 12 is a schematic structural diagram of a device with a storage function according to an embodiment of the present invention.
In the present embodiment, the device 7 with a storage function includes the program data 71, and the program data 71 can be executed to implement the analog touch method as described in the above embodiments, which is not described herein again.
In the several embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. An electronic device, wherein the electronic device is applied to an analog touch controlled device, the controlled device comprises a touch element and a touch pad interface, the touch pad interface is used for receiving touch events from a touch screen and/or a touch pad, the electronic device comprises a processor and a signal transmitter, and the processor is coupled with the signal transmitter;
the signal transmitter is used for connecting an operating device to receive a non-touch event generated by the operating device and transmitting the non-touch event to the processor;
the processor is used for receiving the non-touch event from the signal transmitter, converting the non-touch event into a touch event and feeding back the touch event to the signal transmitter, wherein the non-touch event is converted into the touch event by changing a report descriptor of the non-touch event into a report descriptor for describing the touch event;
the signal transmitter is further used for receiving the touch event from the processor and transmitting the touch event to the controlled equipment so as to simulate touching the touch element; wherein the touch event is transmitted by the controlled device to the touchpad interface and the electronic device is described as a touchscreen/touchpad HID device for transmitting the touch event to the touchpad interface and the electronic device uses a set of touch screen or touchpad usage declaration applications to correctly identify the HID device class of the electronic device.
2. The electronic device of claim 1, further comprising a first port coupled to the signal transmitter, the first port configured to connect to an operating device to receive the non-touch event generated by the operating device and transmit the non-touch event to the signal transmitter.
3. The electronic device of claim 2, wherein the electronic device comprises a plurality of the first ports, and the first ports are USB interfaces.
4. The electronic device according to claim 2, wherein a physical key is disposed on the operating device for generating the non-touch event; or
The operating device is at least one of a mouse, a keyboard, a joystick, a motion sensing sensor and a photosensitive sensor.
5. The electronic apparatus of claim 1, further comprising a second port coupled to the signal transmitter, the second port configured to connect with the controlled device to transmit the touch event to the controlled device.
6. The electronic device of claim 5, wherein the electronic device comprises a plurality of the second ports, and wherein the second ports are USB interfaces.
7. A touch system is characterized by comprising an operating device, a controlled device and an electronic device, wherein the operating device and the controlled device are respectively connected with the electronic device, the electronic device is used for simulating touch of the controlled device, the controlled device comprises a touch element and a touch pad interface, the touch pad interface is used for receiving touch events from a touch screen and/or a touch pad, the electronic device comprises a processor and a signal transmitter, and the processor is coupled with the signal transmitter;
the operating device is used for generating a non-touch event;
the signal transmitter of the electronic device is used for receiving the non-touch event and transmitting the non-touch event to the processor of the electronic device;
the processor is used for receiving the non-touch event from the signal transmitter, converting the non-touch event into a touch event and feeding back the touch event to the signal transmitter, wherein the non-touch event is converted into the touch event by changing a report descriptor of the non-touch event into a report descriptor for describing the touch event;
the signal transmitter is further used for receiving the touch event from the processor and transmitting the touch event to the controlled equipment so as to simulate touching the touch element; wherein the touch event is transmitted by the controlled device to the touchpad interface and the electronic device is described as a touchscreen/touchpad HID device for transmitting the touch event to the touchpad interface and the electronic device uses a set of touch screen or touchpad usage declaration applications to correctly identify the HID device class of the electronic device.
8. The touch system of claim 7, wherein the connection between the operating device and the electronic device is a wireless connection.
9. The touch system of claim 8, wherein the connection between the controlled device and the electronic apparatus is a wireless connection.
10. The touch system of claim 9, wherein the wireless connection comprises a bluetooth communication connection, a wifi communication connection, an infrared communication connection, a carrier network communication connection.
CN201810935486.6A 2018-08-16 2018-08-16 Electronic device and touch system Active CN109407823B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201810935486.6A CN109407823B (en) 2018-08-16 2018-08-16 Electronic device and touch system
PCT/CN2019/073520 WO2020034602A1 (en) 2018-08-16 2019-01-28 Touch control simulation method, apparatus, and system
US16/768,710 US20210170274A1 (en) 2018-08-16 2019-01-28 Simulatively-touch method, simulatively-touch device, and touch control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810935486.6A CN109407823B (en) 2018-08-16 2018-08-16 Electronic device and touch system

Publications (2)

Publication Number Publication Date
CN109407823A CN109407823A (en) 2019-03-01
CN109407823B true CN109407823B (en) 2020-10-20

Family

ID=65464355

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810935486.6A Active CN109407823B (en) 2018-08-16 2018-08-16 Electronic device and touch system

Country Status (1)

Country Link
CN (1) CN109407823B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929688A (en) * 2012-10-30 2013-02-13 Tcl通讯(宁波)有限公司 Method for realizing simulator for simulating touch screen and simulator
CN107665042A (en) * 2012-03-26 2018-02-06 苹果公司 The virtual touchpad and touch-screen of enhancing

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7625287B2 (en) * 2005-10-05 2009-12-01 Nintendo Co., Ltd. Driving game steering wheel simulation method and apparatus
JP2013008365A (en) * 2011-06-23 2013-01-10 Ailive Inc Remote control with motion sensitive devices
TWM474173U (en) * 2013-02-06 2014-03-11 Areson Technology Corp Mouse module with operation of simulating touch screen
CN107329591A (en) * 2017-07-04 2017-11-07 苏州运智互动科技有限公司 The method that wireless body-sensing dual-handle simulates 2 touch screens
CN107890666A (en) * 2017-10-27 2018-04-10 上海飞智电子科技有限公司 Touch-control handheld device and its entertainment systems of application

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107665042A (en) * 2012-03-26 2018-02-06 苹果公司 The virtual touchpad and touch-screen of enhancing
CN102929688A (en) * 2012-10-30 2013-02-13 Tcl通讯(宁波)有限公司 Method for realizing simulator for simulating touch screen and simulator

Also Published As

Publication number Publication date
CN109407823A (en) 2019-03-01

Similar Documents

Publication Publication Date Title
EP2729897B1 (en) Secure input via a touchscreen
EP2908231A1 (en) Object suspension realizing method and device
US6601129B1 (en) Interface device between PC and keyboard enabling switching of data
JPH03217894A (en) Method of controlling cursor movement and display
CN111770368A (en) Control method and device for large-screen display equipment, storage medium and electronic equipment
JP2000242377A (en) Display device
CN108897457B (en) Touch device assembly and touch system
US7836461B2 (en) Computer interface system using multiple independent hardware and virtual human-computer input devices and related enabling subroutines
TWI771710B (en) Intellectual host switching system and method
CN109407823B (en) Electronic device and touch system
CN109254714A (en) Simulate touch control method and touch device component
CN109271056A (en) Simulate touch control method and device
WO2020034602A1 (en) Touch control simulation method, apparatus, and system
CN208903228U (en) Touch device component and touch-control system
CN112584065B (en) Courseware display method, system, equipment and storage medium
JP3211484U (en) Tactile controller
WO2020034603A1 (en) Analog touch control method, and touch control apparatus assembly and system
CN112579015B (en) Courseware display method, system, equipment and storage medium
TWI760006B (en) Electronic device, control method, and computer program product thereof
CN112584207B (en) Video signal processing method, system, equipment and storage medium
CN210377241U (en) Interactive intelligent tablet
US11620015B2 (en) Electronic device
CN112584206B (en) Courseware display method, system, equipment and storage medium
CN112579022B (en) Courseware display method, system, equipment and storage medium
CN112579021B (en) Courseware display method, system, device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant