CN109542312B - Signal processing method and device and touch equipment applying same - Google Patents

Signal processing method and device and touch equipment applying same Download PDF

Info

Publication number
CN109542312B
CN109542312B CN201811302882.1A CN201811302882A CN109542312B CN 109542312 B CN109542312 B CN 109542312B CN 201811302882 A CN201811302882 A CN 201811302882A CN 109542312 B CN109542312 B CN 109542312B
Authority
CN
China
Prior art keywords
signal
touch
operating system
peripheral input
equipment
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
CN201811302882.1A
Other languages
Chinese (zh)
Other versions
CN109542312A (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.)
Beijing Hard Shell Technology Co ltd
Original Assignee
Beijing Hard Shell 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 Beijing Hard Shell Technology Co ltd filed Critical Beijing Hard Shell Technology Co ltd
Priority to CN201811302882.1A priority Critical patent/CN109542312B/en
Publication of CN109542312A publication Critical patent/CN109542312A/en
Application granted granted Critical
Publication of CN109542312B publication Critical patent/CN109542312B/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/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

Landscapes

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

Abstract

The invention discloses a signal processing method and device and touch equipment applying the same. The method comprises the following steps: acquiring a peripheral input signal input through the peripheral input device; converting the peripheral input signal into a touch signal which can be identified by an operating system of the touch equipment; and receiving and responding to the touch signal through the operating system. Through the technical scheme of the invention, the user can directly complete the operation which is originally completed by directly touching the touch panel of the touch device through the peripheral input device, thereby greatly facilitating the user and being beneficial to improving the use experience of the user.

Description

Signal processing method and device and touch equipment applying same
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a signal processing method and apparatus, and a touch device using the same.
Background
At present, with the popularization of touch technology, more and more manufacturers have introduced touch devices with touch panels to facilitate users to perform touch operations through the touch panels, thereby improving the user experience as much as possible.
However, with the popularization of the touch panel, some disadvantages also arise, and one common disadvantage is that many operations can only be completed by directly performing touch operations on the touch panel, and operations that originally need to be completed by performing touch operations on the touch panel cannot be completed by external input devices such as a mouse and a keyboard. For example: when a user plays games on a mobile phone or a tablet, the user needs to touch a touch screen to complete related game experience, the user cannot operate the mobile phone through a mouse or a keyboard to complete related game operation, and good game experience is difficult to obtain for the user who is good at or prefers to play games through an external input device. Even when the user cannot or is inconvenient to directly perform touch operation on the touch panel, the possibility that the user experiences games is completely limited.
Disclosure of Invention
The invention provides a signal processing method, which is used for touch equipment, wherein the touch equipment is connected with peripheral input equipment, and the method comprises the following steps:
acquiring a peripheral input signal input through the peripheral input device;
converting the peripheral input signal into a touch signal which can be identified by an operating system of the touch equipment;
and receiving and responding to the touch signal through the operating system.
In one embodiment, the converting the peripheral input signal into a touch signal recognizable by an operating system of a touch device includes:
acquiring a pre-stored signal conversion corresponding relation, wherein the signal conversion corresponding relation is used for representing the corresponding relation between a signal input through the peripheral input equipment and a signal recognizable by the touch equipment;
and obtaining the touch signal according to the signal conversion corresponding relation and the peripheral input signal.
In one embodiment, a preset conversion program is installed on the touch device;
the converting the peripheral input signal into a touch signal recognizable by an operating system of the touch device includes:
after the peripheral input signal is acquired, calling the preset conversion program;
and converting the peripheral input signal into the touch signal which can be identified by the virtual input equipment through the preset conversion program.
In one embodiment, a virtual input device is created on the touch device, and the virtual input device communicates with the operating system through an HID protocol;
the receiving and responding to the touch signal through the operating system includes:
sending the touch signal to the operating system through the virtual input device;
after receiving the touch signal, the operating system determines a target application program matched with the touch signal and sends the touch signal to the target application program;
and the target application program responds to the touch signal to execute target operation corresponding to the peripheral input signal.
In one embodiment, the method further comprises:
after receiving a creation instruction, displaying a virtual input equipment creation interface;
receiving configuration parameters through the virtual input device creation interface, wherein the configuration parameters include a resolution of the virtual input device;
and creating the virtual input device according to the configuration parameters.
In one embodiment, the touch device is connected with the peripheral input device through a signal forwarding device;
the signal forwarding equipment is used for sending the peripheral input signal to the touch equipment;
the peripheral input signal includes at least one of:
a mouse input signal, a keyboard input signal, or a touch screen input signal.
The invention also provides a signal processing device, wherein the touch control equipment is connected with the peripheral input equipment, and the device comprises:
the acquisition module is used for acquiring a peripheral input signal input by the peripheral input equipment;
the conversion module is used for converting the peripheral input signal into a touch signal which can be identified by an operating system of the touch equipment;
and the processing module is used for receiving and responding to the touch signal through the operating system.
In one embodiment, the conversion module comprises:
the first obtaining sub-module is used for obtaining a pre-stored signal conversion corresponding relation, wherein the signal conversion corresponding relation is used for representing a corresponding relation between a signal input through the peripheral input equipment and a signal recognizable by the touch equipment;
and the second obtaining submodule is used for obtaining the touch signal according to the signal conversion corresponding relation and the peripheral input signal.
In one embodiment, a preset conversion program is installed on the touch device;
the conversion module is used for:
after the peripheral input signal is acquired, calling the preset conversion program;
and converting the peripheral input signal into the touch signal which can be identified by the operating system through the preset conversion program.
In one embodiment, a virtual input device is created on the touch device, and the virtual input device communicates with the operating system through an HID protocol;
the processing module is used for:
sending the touch signal to the operating system through the virtual input device;
after receiving the touch signal, the operating system determines a target application program matched with the touch signal and sends the touch signal to the target application program;
and the target application program responds to the touch signal to execute target operation corresponding to the peripheral input signal.
In one embodiment, the apparatus further comprises:
the display module is used for displaying a virtual input equipment creating interface after receiving a creating instruction;
a receiving module, configured to receive configuration parameters through the virtual input device creation interface, where the configuration parameters include a resolution of the virtual input device;
and the creating module is used for creating the virtual input equipment according to the configuration parameters.
In one embodiment, the touch device is connected with the peripheral input device through a signal forwarding device;
the signal forwarding equipment is used for sending the peripheral input signal to the touch equipment;
the peripheral input signal includes at least one of:
a mouse input signal, a keyboard input signal, or a touch screen input signal.
The invention also provides a touch device which can comprise the signal processing device.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the external input signal is acquired and converted into the touch signal which can be identified by the operating system of the touch equipment, and then the touch signal is received by the operating system and directly and automatically responded, so that a user can directly complete the operation which is originally completed by directly touching the touch panel of the touch equipment through the external input equipment, the user is greatly facilitated, and the use experience of the user is improved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
fig. 1 is a flow chart illustrating a method of signal processing according to an example embodiment.
Fig. 2 is a flow chart illustrating another method of signal processing according to an example embodiment.
Fig. 3 is a flow chart illustrating yet another method of signal processing according to an example embodiment.
Fig. 4 is a block diagram illustrating a signal processing apparatus according to an example embodiment.
Fig. 5 is a block diagram illustrating another signal processing apparatus according to an example embodiment.
Fig. 6 is a block diagram illustrating yet another signal processing apparatus according to an example embodiment.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
In order to solve the above technical problem, an embodiment of the present disclosure provides a signal processing method, which is applied in a signal processing program, system or apparatus, and is used for a touch device, where the touch device is connected to a peripheral input device, the touch device may be a mobile phone with a touch panel, a tablet, or the like, and the touch panel may support touch input and floating touch input, and the peripheral input device includes but is not limited to an input device such as a keyboard, a mouse, or the like, as shown in fig. 1, the signal processing method includes steps S101 to S103, where:
in step S101, a peripheral input signal input through a peripheral input device is acquired;
the peripheral input device and the touch device can be connected in a wired mode (such as a USB data line) or a wireless mode (such as Bluetooth and wifi network).
In step S102, converting the peripheral input signal into a touch signal recognizable by an operating system of the touch device;
the recognizable touch signal is a touch input signal or a floating touch signal for the touch device.
The touch signal includes: the operation type (such as clicking, sliding and the like), the operation coordinate, the operation duration and the like.
Since the touch signal directly includes the attribute information of the touch operation, when the peripheral input signal is converted into the touch signal, the peripheral input signal is directly converted into the touch signal through one signal in sequence without multiple conversion or identification, so that the signal conversion efficiency is improved.
In step S103, a touch signal is received and responded to by the operating system.
The external input signal is acquired and converted into the touch signal which can be identified by the operating system of the touch equipment, and then the touch signal is received by the operating system and directly and automatically responded, so that a user can directly complete the operation which is originally completed by directly touching the touch panel of the touch equipment through the external input equipment, the user is greatly facilitated, and the use experience of the user is improved.
For example: when the peripheral input signal is ' a K key on a keyboard is clicked ', the touch device is a mobile phone with a touch screen, and the converted touch signal is ' a desktop coordinate (5,5) of the mobile phone, the operating system can directly respond to the touch information to obtain a response result after the desktop coordinate (5,5) of the mobile phone is clicked, and the response result can be page skipping or page content updating and the like.
As shown in fig. 2, in one embodiment, step S102 in fig. 1 is as follows: converting the peripheral input signal into a touch signal recognizable by an operating system of the touch device may include steps S201 and S202:
in step S201, obtaining a pre-stored signal conversion corresponding relationship, where the signal conversion corresponding relationship is used to represent a corresponding relationship between a signal input through a peripheral input device and a signal recognizable by a touch device;
when the peripheral input device is a keyboard, the signal conversion correspondence may be a correspondence between an input signal corresponding to a key input event on the keyboard and a touch signal for a touch panel of the touch device, for example: the signal conversion correspondence may be a correspondence between an input signal of a character "M" generated by pressing a key "M" on the keyboard and coordinates (M, n) on the desktop of the mobile phone.
When the peripheral input device is a mouse, the signal conversion correspondence may be a correspondence between an input signal corresponding to operating the mouse and a touch signal for a touch panel of the touch device, for example: the signal conversion corresponding relation can be the corresponding relation between an input signal generated by pressing the left mouse button for 1 time and coordinates (p, q) on the desktop of the double-click mobile phone.
In step S202, a touch signal is obtained according to the signal conversion correspondence and the peripheral input signal.
When the signals are converted, recognizable touch signals can be automatically acquired according to the pre-stored signal conversion corresponding relation and the peripheral input signals, so that the touch signals aiming at the touch panel can still be generated through the peripheral input equipment on the basis that a user does not directly perform touch operation on the touch panel of the touch equipment, the user can directly complete the operation which originally needs to be completed through the touch panel of the direct touch equipment through the peripheral input equipment, and great convenience is brought to the user.
In addition, the method also includes converting the signal type at the same time of signal conversion, for example: when the peripheral input signal is a mouse input signal or a keyboard input signal, converting the peripheral input signal into a touch signal for the touch panel is the conversion of the signal type.
In one embodiment, a preset conversion program is installed on the touch device;
in step S102 in fig. 1, converting the peripheral input signal into a touch signal recognizable by an operating system of the touch device may be performed as:
after the peripheral input signal is acquired, a preset conversion program is automatically called;
the preset conversion program may be located at an application layer above the operating system, and may be used in cooperation with the virtual input device in the following embodiments.
And converting the peripheral input signal into a touch signal recognizable by an operating system through a preset conversion program.
The preset conversion program is specially used for converting the peripheral signals into signals which can be recognized by an operating system of the touch equipment, so that the acquired peripheral input signals can be automatically converted into the touch signals which can be recognized by the operating system through the preset conversion program, and a foundation is laid for a user to directly complete the operation which can be originally completed through a touch panel of the direct touch equipment through the peripheral input equipment.
In addition, when converting the peripheral input signal into the touch signal, the preset conversion program can access the storage address for storing the signal conversion corresponding relation, further search in the signal conversion corresponding relation according to the peripheral input signal, and determine the identifiable signal in the corresponding relation where the signal input by the peripheral input device matched with the peripheral input signal in the signal conversion corresponding relation is located as the touch signal.
In one embodiment, a virtual input device is created on the touch device, and the virtual input device communicates with the operating system through an HID protocol;
the operating system may be the open source Android operating system or the IOS operating system (mobile operating system developed by apple inc.).
The virtual input device may be registered in a kernel (i.e., Linux system) of the android operating system, and the virtual input device and the android operating system may perform synchronous communication through a HID (HID Descriptor Tool) protocol.
The step S103 in fig. 1, that is, receiving and responding to the touch signal by the operating system, may be executed as:
sending the touch signal to an operating system through the virtual input equipment;
since the virtual input device is equivalent to a virtual touch panel and the converted touch signal is also a touch signal for the virtual input device, when the virtual input device sends the touch signal to the operating system, the operating system may mistakenly generate the touch signal only if the user manually performs a touch operation on the physical touch panel of the touch device, and therefore, the operating system may execute a normal logic responding to the touch signal.
After receiving the touch signal, the operating system determines a target application program matched with the touch signal and sends the touch signal to the target application program;
the target application program matched with the touch signal may be an application program running in the foreground or the background, for example, the target application program may be an application program currently running, and/or the target application program may be some/some preset application programs.
For example, if there are a plurality of currently running applications, or there is no currently running application, then:
in one embodiment, a target application program can be determined by obtaining the user instruction again, namely the target application program is specified by the user in real time;
or, in another embodiment, an application program can be automatically and intelligently selected from a plurality of application programs as the target application program according to the running characteristics (time and place) and the current running characteristics of the application programs;
alternatively, in another embodiment, a default application preset by a user or a system (i.e., the preset application) may be used as the target application.
And the target application program responds to the touch signal to execute target operation corresponding to the peripheral input signal.
The logic of the operating system executing normal response touch signals is: the operating system sends the touch signal to a target application program, and the target application program responds to the touch signal to obtain a response result corresponding to the touch signal, so as to achieve the purpose of executing a target operation corresponding to the peripheral input signal, for example, the target operation may be to control to open an application a or enter a certain sub-interface in the application a by using a peripheral input signal of "pressing an" enter "key" input.
In addition, the preset conversion program located in the upper application layer and the virtual input device located in the bottom layer are also communicated with each other, and before the touch signal is sent to the operating system through the virtual input device, the preset conversion program needs to convert the peripheral input signal into the touch signal recognizable by the operating system by using the signal conversion corresponding relation, then the touch signal is sent to the virtual input device, and then the virtual input device sends the touch signal to the operating system, so that the operating system directly responds to the touch signal.
As shown in fig. 3, in an embodiment, to obtain the virtual input device, the method further includes steps S301 to S303:
in step S301, after receiving a creation instruction, displaying a virtual input device creation interface;
in step S302, receiving a configuration parameter through a virtual input device creation interface, where the configuration parameter includes a resolution of the virtual input device;
in step S303, a virtual input device is created according to the configuration parameters.
Since the operating system receives the touch signal for the virtual input device and may misunderstand that the user manually performs the touch operation on the virtual input device, preferably, the resolution of the virtual input device is the same as the resolution of the physical touch panel of the touch device, so that misunderstanding that the user manually performs the touch operation on the virtual input device is completely equivalent to misunderstanding that the user manually performs the touch operation on the physical touch panel of the touch device.
Of course, if the resolution of the virtual input device is different from the resolution of the physical touch panel of the touch device, since the corresponding relationship between the resolutions can be determined, the "mistaking the user to manually perform the above-mentioned touch operation on the virtual input device" can be equivalent to the "mistaking the user to manually perform the touch operation on the physical touch panel of the touch device" through the coordinate conversion.
In this embodiment, the virtual input Device may be a UInput Device; accordingly, the process of creating the virtual input device is as follows:
opening the UInput Device;
setting UInput Device, and configuring relevant parameters of the Device, such as touch screen resolution and the like;
writing the device information;
creating an Input Device;
an Event (i.e., a touch signal) is transmitted to the Input Device.
In one embodiment, the touch device is connected with the peripheral input device through the signal forwarding device;
the signal forwarding equipment is used for sending the peripheral input signal to the touch equipment, and can be a single chip microcomputer or other equipment with a forwarding function;
the peripheral input signal includes at least one of:
a mouse input signal, a keyboard input signal, or a touch screen input signal.
Since the peripheral input device directly processes the peripheral input signal and does not convert the peripheral input signal into the touch signal if the peripheral input device is directly connected to the touch device (for example, if the peripheral input signal is a character O key pressed, the character O is displayed by the touch device), the peripheral input signal transmitted to the touch device through the signal forwarding device can be signal-converted by using the signal forwarding device only by previously setting a logic for performing signal conversion on the touch device after receiving the peripheral input signal forwarded by the signal forwarding device, and thus, a user can directly complete an operation which is originally completed through the touch panel of the direct touch device through the peripheral input device.
In addition, when the peripheral input signal is the touch screen input signal, it is indicated that the peripheral input device is the touch screen device, and at this time, the signal forwarding device can also be used to make the touch device definitely execute the logic of signal conversion as long as the peripheral input signal forwarded by the signal forwarding device is received, so as to solve the problem that when the touch screen device serving as the peripheral input device is multi-screen interacted with the touch device, the coordinate disorder is caused by the inconsistent size of the touch panel or the inconsistent coordinate definition principle between the touch screen device and the touch device, and the control of the touch device is disordered or the multi-screen interaction operation is disordered.
As shown in fig. 4, the present invention further provides a signal processing apparatus, in which a touch device is connected to a peripheral input device, the apparatus includes:
an obtaining module 401 configured to obtain a peripheral input signal input through a peripheral input device;
a conversion module 402 configured to convert the peripheral input signal into a touch signal recognizable by an operating system of the touch device;
a processing module 403 configured to receive and respond to the touch signal through the operating system.
The external input signal is acquired and converted into the touch signal which can be identified by the operating system of the touch equipment, and then the touch signal is received by the operating system and directly and automatically responded, so that a user can directly complete the operation which is originally completed by directly touching the touch panel of the touch equipment through the external input equipment, the user is greatly facilitated, and the use experience of the user is improved.
As shown in fig. 5, in one embodiment, the conversion module 402 may include:
the first obtaining sub-module 4021 is configured to obtain a pre-stored signal conversion correspondence, where the signal conversion correspondence is configured to represent a correspondence between a signal input through the peripheral input device and a signal recognizable by the touch device;
the second obtaining sub-module 4022 is configured to obtain a touch signal according to the signal conversion correspondence and the peripheral input signal.
When the signals are converted, the recognizable touch signals can be automatically acquired according to the pre-stored signal conversion corresponding relation and the peripheral input signals, so that a user can directly complete the operation which is originally completed by directly touching the touch panel of the touch device through the peripheral input device, and great convenience is brought to the user.
In this embodiment, a preset conversion program is installed on the touch device;
the conversion module 402 is further configured to:
after the peripheral input signal is acquired, calling a preset conversion program;
and converting the peripheral input signal into a touch signal recognizable by an operating system through a preset conversion program.
In this embodiment, the preset conversion program automatically converts the acquired external input signal into a touch signal recognizable by the operating system, which lays a foundation for a user to directly complete an operation that would otherwise be completed by directly touching the touch panel of the touch device through the external input device.
In one embodiment, a virtual input device is created on the touch device, and the virtual input device communicates with the operating system through an HID protocol;
the processing module is configured to:
sending the touch signal to an operating system through the virtual input equipment;
after receiving the touch signal, the operating system determines a target application program matched with the touch signal and sends the touch signal to the target application program;
and the target application program responds to the touch signal to execute target operation corresponding to the peripheral input signal.
As shown in fig. 6, in one embodiment, the apparatus further comprises:
the display module 601 is configured to display a virtual input device creation interface after receiving a creation instruction;
a receiving module 602 configured to receive configuration parameters through a virtual input device creation interface, wherein the configuration parameters include a resolution of the virtual input device;
a creation module 603 configured to create a virtual input device according to the configuration parameters.
Since the operating system receives the touch signal for the virtual input device and may misunderstand that the user manually performs the touch operation on the virtual input device, preferably, the resolution of the virtual input device is the same as the resolution of the physical touch panel of the touch device, so that misunderstanding that the user manually performs the touch operation on the virtual input device is completely equivalent to misunderstanding that the user manually performs the touch operation on the physical touch panel of the touch device.
Of course, if the resolution of the virtual input device is different from the resolution of the physical touch panel of the touch device, since the corresponding relationship between the resolutions can be determined, the "mistaking the user to manually perform the above-mentioned touch operation on the virtual input device" can be equivalent to the "mistaking the user to manually perform the touch operation on the physical touch panel of the touch device" through the coordinate conversion.
In one embodiment, the touch device is connected with the peripheral input device through a signal forwarding device;
the signal forwarding equipment is used for sending the peripheral input signal to the touch equipment;
the peripheral input signal includes at least one of:
a mouse input signal, a keyboard input signal, or a touch screen input signal.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Finally, the present invention also provides a touch device, which may include the signal processing apparatus described in any of the above embodiments, or the touch device may execute the signal processing method described in any of the above embodiments, so as to convert a signal input by an external input device (i.e., an external input signal) into a touch signal recognizable by the touch device, so that a user can directly complete an operation that would otherwise be completed by directly touching a touch panel of the touch device through the external input device.
The signal processing device in the invention is suitable for terminal equipment. For example, it may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, etc.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (6)

1. A signal processing method is used for a touch device, the touch device is connected with a peripheral input device, and the signal processing method is characterized by comprising the following steps:
acquiring a peripheral input signal input through the peripheral input device;
converting the peripheral input signal into a touch signal which can be identified by an operating system of the touch equipment;
receiving and responding to the touch signal through the operating system;
a virtual input device is established on the touch device, and the virtual input device is communicated with the operating system through an HID protocol;
the receiving and responding to the touch signal through the operating system includes:
sending the touch signal to the operating system through the virtual input device;
after receiving the touch signal, the operating system determines a target application program matched with the touch signal and sends the touch signal to the target application program;
the target application program responds to the touch signal to execute target operation corresponding to the peripheral input signal;
determining a target application program matched with the touch signal, including:
if a plurality of application programs are currently running, automatically and intelligently selecting one application program from the plurality of application programs as the target application program according to the running characteristics of the plurality of application programs and the current running characteristics;
a preset conversion program is installed on the touch equipment;
the converting the peripheral input signal into a touch signal recognizable by an operating system of the touch device includes:
after the peripheral input signal is acquired, calling the preset conversion program;
converting the peripheral input signal into the touch signal which can be identified by the operating system through the preset conversion program;
the method further comprises the following steps:
after receiving a creation instruction, displaying a virtual input equipment creation interface;
receiving configuration parameters through the virtual input device creation interface, wherein the configuration parameters include a resolution of the virtual input device;
and creating the virtual input device according to the configuration parameters.
2. The method of claim 1,
the converting the peripheral input signal into a touch signal recognizable by an operating system of the touch device includes:
acquiring a pre-stored signal conversion corresponding relation, wherein the signal conversion corresponding relation is used for representing the corresponding relation between a signal input through the peripheral input equipment and a signal recognizable by the touch equipment;
and obtaining the touch signal according to the signal conversion corresponding relation and the peripheral input signal.
3. The method according to any one of claims 1 to 2,
the touch control equipment is connected with the peripheral input equipment through signal forwarding equipment;
the signal forwarding equipment is used for sending the peripheral input signal to the touch equipment;
the peripheral input signal includes at least one of:
a mouse input signal, a keyboard input signal, or a touch screen input signal.
4. A signal processing device is used for a touch device, wherein the touch device is connected with a peripheral input device, and the signal processing device is characterized by comprising:
the acquisition module is used for acquiring a peripheral input signal input by the peripheral input equipment;
the conversion module is used for converting the peripheral input signal into a touch signal which can be identified by an operating system of the touch equipment;
the processing module is used for receiving and responding to the touch signal through the operating system;
a virtual input device is established on the touch device, and the virtual input device is communicated with the operating system through an HID protocol;
the processing module is used for:
sending the touch signal to the operating system through the virtual input device;
after receiving the touch signal, the operating system determines a target application program matched with the touch signal, sends the touch signal to the target application program, and determines the target application program matched with the touch signal, including: if a plurality of application programs are currently running, automatically and intelligently selecting one application program from the plurality of application programs as the target application program according to the running characteristics of the plurality of application programs and the current running characteristics;
the target application program responds to the touch signal to execute target operation corresponding to the peripheral input signal;
the conversion module includes:
the second obtaining submodule is used for obtaining the touch signal according to the signal conversion corresponding relation and the peripheral input signal;
a preset conversion program is installed on the touch equipment;
the conversion module is used for:
after the peripheral input signal is acquired, calling the preset conversion program;
converting the peripheral input signal into the touch signal which can be identified by the operating system through the preset conversion program;
the device further comprises:
the display module is used for displaying a virtual input equipment creating interface after receiving a creating instruction;
a receiving module, configured to receive configuration parameters through the virtual input device creation interface, where the configuration parameters include a resolution of the virtual input device;
and the creating module is used for creating the virtual input equipment according to the configuration parameters.
5. The apparatus of claim 4,
the conversion module further comprises:
the first obtaining sub-module is configured to obtain a pre-stored signal conversion correspondence, where the signal conversion correspondence is used to represent a correspondence between a signal input through the peripheral input device and a signal recognizable by the touch device.
6. A touch device comprising the signal processing apparatus of any one of claims 4 to 5.
CN201811302882.1A 2018-11-02 2018-11-02 Signal processing method and device and touch equipment applying same Active CN109542312B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811302882.1A CN109542312B (en) 2018-11-02 2018-11-02 Signal processing method and device and touch equipment applying same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811302882.1A CN109542312B (en) 2018-11-02 2018-11-02 Signal processing method and device and touch equipment applying same

Publications (2)

Publication Number Publication Date
CN109542312A CN109542312A (en) 2019-03-29
CN109542312B true CN109542312B (en) 2021-07-20

Family

ID=65846387

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811302882.1A Active CN109542312B (en) 2018-11-02 2018-11-02 Signal processing method and device and touch equipment applying same

Country Status (1)

Country Link
CN (1) CN109542312B (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101431566B (en) * 2008-12-16 2011-04-20 中兴通讯股份有限公司 Mobile terminal and method for providing user with shortcut operation
CN102183993A (en) * 2011-04-15 2011-09-14 西安友米光电科技有限公司 Portable PC (personal computer) system formed by combining mini projector with mobile phone
CN107297073B (en) * 2017-06-15 2022-11-01 广州华多网络科技有限公司 Method and device for simulating peripheral input signal and electronic equipment

Also Published As

Publication number Publication date
CN109542312A (en) 2019-03-29

Similar Documents

Publication Publication Date Title
CN110703966B (en) File sharing method, device and system, corresponding equipment and storage medium
CN108132744B (en) Method and equipment for remotely controlling intelligent equipment
CN109561271B (en) Method for guiding terminal operation, first terminal and second terminal
WO2020156199A1 (en) Application login method and device, terminal and storage medium
US20160232871A1 (en) Display method and display device
US20150301730A1 (en) Object Suspension Realizing Method and Device
CN104991704A (en) Screen-splitting method for terminal and terminal
US20150339018A1 (en) User terminal device and method for providing information thereof
CN106201219A (en) The quick call method of function of application and system
CN107346115B (en) Control method and control terminal of intelligent device and intelligent device
CN111628897A (en) Intelligent equipment initialization method, device and system
CN105681542A (en) Information processing method and system and terminal
WO2017156983A1 (en) List callup method and device
CN108605220A (en) A kind of application processing method and device of universal embedded integrated circuit card
KR20160003400A (en) user terminal apparatus and control method thereof
CN105068664A (en) Interactive system and interaction control method
US20170185422A1 (en) Method and system for generating and controlling composite user interface control
US20220244845A1 (en) Method, device, electronic device, and storage medium for sending and receiving message
CN113126875B (en) Virtual gift interaction method and device, computer equipment and storage medium
CN112799656B (en) Script file configuration method, device, equipment and storage medium for automation operation
JP2019510322A (en) Control command recognition method, apparatus, and storage medium
CN109542312B (en) Signal processing method and device and touch equipment applying same
US10613622B2 (en) Method and device for controlling virtual reality helmets
WO2022237669A1 (en) Display control method and apparatus
CN115904183A (en) Interface display process, apparatus, 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