CN114327129A - Touch method, device and equipment - Google Patents

Touch method, device and equipment Download PDF

Info

Publication number
CN114327129A
CN114327129A CN202111532432.3A CN202111532432A CN114327129A CN 114327129 A CN114327129 A CN 114327129A CN 202111532432 A CN202111532432 A CN 202111532432A CN 114327129 A CN114327129 A CN 114327129A
Authority
CN
China
Prior art keywords
touch
operating system
information
control panel
communication port
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111532432.3A
Other languages
Chinese (zh)
Inventor
王志勇
汪帅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Honghe Innovation Information Technology Co Ltd
Original Assignee
Shenzhen Honghe Innovation Information 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 Shenzhen Honghe Innovation Information Technology Co Ltd filed Critical Shenzhen Honghe Innovation Information Technology Co Ltd
Priority to CN202111532432.3A priority Critical patent/CN114327129A/en
Publication of CN114327129A publication Critical patent/CN114327129A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a touch method, a touch device and touch equipment, and belongs to the technical field of touch. When a touch event occurs, the touch control panel sends touch information corresponding to the touch event to the first operating system through a target communication port of the at least two communication ports; the first operating system determines a target operating system corresponding to the touch event, and when the target operating system is the first operating system, the first operating system executes touch operation corresponding to the touch information and sends a prohibition instruction to the touch control panel; the touch control panel prohibits sending touch information to other operating systems according to the prohibition instruction; when the target operating system is a second operating system except the first operating system, the first operating system sends operating system information corresponding to the second operating system to the touch control panel; the touch control panel sends touch information to a second operating system through a communication port connected with the second operating system; and the second operating system executes touch operation corresponding to the touch information.

Description

Touch method, device and equipment
Technical Field
The application belongs to the technical field of touch control, and particularly relates to a touch control method, device and equipment.
Background
Interactive apparatuses in related art, such as education, business, etc., are generally equipped with a touch control panel and at least two operating systems. The touch control panel transmits touch information to at least two operating systems through a communication port.
However, since the touch control panel transmits the touch information to the at least two operating systems through the communication port, when a user wants to use a certain operating system, the current operating system needs to be switched to the operating system that the user wants to use, and thus the execution efficiency of the corresponding touch operation is low.
Disclosure of Invention
An object of the embodiments of the present application is to provide a touch method, device and apparatus, which can solve the problem of low execution efficiency of touch operations.
In a first aspect, an embodiment of the present application provides a touch method, including:
when a touch event occurs, sending touch information corresponding to the touch event to a first operating system through a target communication port of at least two communication ports;
receiving feedback information sent by the first operating system in response to the touch information through the target communication port;
when the feedback information is a prohibition instruction, prohibiting sending of touch information to other operating systems except the first operating system according to the prohibition instruction;
when the feedback information is operating system information of a second operating system except the first operating system, responding to the operating system information, and sending touch information to the second operating system through a communication port connected with the second operating system in at least two communication ports, so that the second operating system executes touch operation corresponding to the touch information.
In some possible implementations of the embodiments of the present application, the touch information includes touch location information;
when a touch event occurs, sending touch information corresponding to the touch event to a first operating system through a target communication port of at least two communication ports, including:
when a touch event occurs, touch position information is sent to the first operating system through the target communication port, so that the first operating system generates feedback information according to the touch position information.
In some possible implementations of the embodiments of the present application, before the touch event occurs, the touch method provided in the embodiments of the present application further includes:
receiving configuration information sent by a first operating system through a target communication port;
configuring a corresponding touch area of each operating system in the touch panel according to the configuration information;
when a touch event occurs, sending touch information corresponding to the touch event to a first operating system through a target communication port of at least two communication ports, including:
when a touch event occurs, determining a touch area corresponding to the touch event;
and sending touch information corresponding to the touch event to the first operating system through the target communication port, wherein the touch information comprises identification information of a touch area corresponding to the touch event, so that the first operating system generates feedback information according to the identification information.
In a second aspect, an embodiment of the present application provides a touch method applied to a first operating system, where the touch method includes:
receiving touch information corresponding to a touch event sent by a touch control panel through a target communication port of at least two communication ports;
generating feedback information according to the touch information;
sending feedback information to the touch control panel; wherein the feedback information comprises a prohibition instruction or operating system information of a second operating system other than the first operating system; the prohibition instruction is used for instructing the touch control panel to prohibit sending touch information to other operating systems except the first operating system; the operating system information of the second operating system is used for enabling the touch control panel to send touch information to the second operating system through a communication port connected with the second operating system in the at least two communication ports, so that the second operating system executes touch operation corresponding to the touch information.
In some possible implementations of the embodiments of the present application, the touch information includes touch location information;
generating feedback information according to the touch information, wherein the generating comprises:
determining a touch area corresponding to the touch event according to the touch position information;
generating a prohibition instruction to generate feedback information in response to the touch area being the touch area corresponding to the first operating system;
and generating operating system information of the second operating system to generate feedback information in response to the touch area being the touch area corresponding to the second operating system.
In some possible implementations of the embodiments of the present application, the touch information includes: identification information of a touch area corresponding to the touch event;
generating feedback information according to the touch information, wherein the generating comprises:
determining whether the touch area is a touch area corresponding to the first operating system according to the identification information of the touch area;
if yes, generating a prohibition instruction to generate feedback information;
and if not, generating operating system information of the second operating system to generate feedback information.
In some possible implementations of the embodiment of the present application, before receiving touch information corresponding to a touch event sent by a touch control panel through a target communication port of at least two communication ports included in the touch control panel, the touch control method provided in the embodiment of the present application further includes:
and sending configuration information to the touch control panel so that the touch control panel configures the corresponding touch control area of each operating system in the touch control panel according to the configuration information to obtain the identification information of each touch control area.
In a third aspect, an embodiment of the present application provides a touch device, including:
the first sending module is used for sending touch information corresponding to the touch event to a first operating system through a target communication port of at least two communication ports when the touch event occurs;
the first receiving module is used for receiving feedback information sent by the first operating system in response to the touch information through the target communication port;
the prohibiting module is used for prohibiting sending of touch information to other operating systems except the first operating system according to the prohibition instruction when the feedback information is the prohibition instruction;
and the second sending module is used for responding to the operating system information and sending the touch information to the second operating system through a communication port connected with the second operating system in the at least two communication ports when the feedback information is the operating system information of the second operating system except the first operating system so as to enable the second operating system to execute touch operation corresponding to the touch information.
In some possible implementations of the embodiments of the present application, the touch information includes touch location information; correspondingly, the first sending module is specifically configured to:
when a touch event occurs, touch position information is sent to the first operating system through the target communication port, so that the first operating system generates feedback information according to the touch position information.
In some possible implementations of the embodiments of the present application, the touch device provided in the embodiments of the present application further includes:
the second receiving module is used for receiving the configuration information sent by the first operating system through the target communication port;
the configuration module is used for configuring a corresponding touch area of each operating system in the touch panel according to the configuration information;
correspondingly, the first sending module is specifically configured to:
when a touch event occurs, determining a touch area corresponding to the touch event;
and sending touch information corresponding to the touch event to the first operating system through the target communication port, wherein the touch information comprises identification information of a touch area corresponding to the touch event, so that the first operating system generates feedback information according to the identification information.
In a fourth aspect, an embodiment of the present application provides a touch device applied to a first operating system, where the touch device includes:
the third receiving module is used for receiving touch information corresponding to a touch event sent by the touch control panel through a target communication port of at least two communication ports;
the generating module is used for generating feedback information according to the touch information;
the third sending module is used for sending feedback information to the touch control panel; wherein the feedback information comprises a prohibition instruction or operating system information of a second operating system other than the first operating system; the prohibition instruction is used for instructing the touch control panel to prohibit sending touch information to other operating systems except the first operating system; the operating system information of the second operating system is used for enabling the touch control panel to send touch information to the second operating system through a communication port connected with the second operating system in the at least two communication ports, so that the second operating system executes touch operation corresponding to the touch information.
In some possible implementations of the embodiments of the present application, the touch information includes touch location information; correspondingly, the generation module is specifically configured to:
determining a touch area corresponding to the touch event according to the touch position information;
generating a prohibition instruction to generate feedback information in response to the touch area being the touch area corresponding to the first operating system;
and generating operating system information of the second operating system to generate feedback information in response to the touch area being the touch area corresponding to the second operating system.
In some possible implementations of the embodiments of the present application, the touch information includes: identification information of a touch area corresponding to the touch event; correspondingly, the generation module is specifically configured to:
determining whether the touch area is a touch area corresponding to the first operating system according to the identification information of the touch area;
if yes, generating a prohibition instruction to generate feedback information;
and if not, generating operating system information of the second operating system to generate feedback information.
In some possible implementations of the embodiments of the present application, the touch device provided in the embodiments of the present application further includes:
and the fourth sending module is used for sending the configuration information to the touch control panel so that the touch control panel configures the corresponding touch control area of each operating system in the touch control panel according to the configuration information to obtain the identification information of each touch control area.
In a fifth aspect, an embodiment of the present application provides a touch device, including: the system comprises a touch panel, a touch control panel and at least two operating systems; wherein the content of the first and second substances,
a touch panel for receiving a touch input;
the touch control panel comprises at least two communication ports, each of the at least two communication ports is connected with one of at least two operating systems, and the touch control panel executes the steps of the touch control method according to the first aspect;
a first operating system of the at least two operating systems executes the step of the touch method according to the second aspect, wherein the first operating system is an operating system connected to a target communication port of the at least two communication ports;
and a second operating system except the first operating system in the at least two operating systems receives touch information sent by the touch control panel through a communication port connected with the second operating system in the at least two communication ports, and executes touch operation corresponding to the touch information.
In some possible implementations of the embodiments of the present application, the touch device provided in the embodiments of the present application further includes:
each of the at least two main boards is connected with one of the at least two communication ports, and each of the at least two main boards runs one of the at least two operating systems.
In a sixth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instructions are stored, and the program or instructions, when executed by a processor, implement the steps of the touch method according to the first aspect or the second aspect.
In the embodiment of the application, when a touch event occurs, the touch control panel sends touch information corresponding to the touch event to the first operating system through a target communication port of at least two communication ports; the method comprises the steps that a first operating system receives touch information sent by a touch control panel, determines a target operating system corresponding to a touch event, and when the target operating system is the first operating system, the first operating system executes touch operation corresponding to the touch information and sends a prohibition instruction to the touch control panel; the touch control panel prohibits sending touch information to other operating systems according to the prohibition instruction; when the target operating system is a second operating system except the first operating system, the first operating system sends operating system information corresponding to the second operating system to the touch control panel; the touch control panel sends touch information to a second operating system through a communication port connected with the second operating system; and the second operating system executes touch operation corresponding to the touch information. The operating system receiving the touch information can execute the touch operation corresponding to the touch information without switching the operating system, and the efficiency of executing the touch operation corresponding to the touch information can be improved.
Drawings
Fig. 1 is a first flowchart illustrating a touch method according to an embodiment of the present disclosure;
fig. 2 is a second flowchart of a touch method according to an embodiment of the disclosure;
fig. 3 is a schematic view of a first structure of a touch device according to an embodiment of the present disclosure;
fig. 4 is a schematic view of a second structure of a touch device according to an embodiment of the present disclosure;
fig. 5 is a schematic view of a first structure of a touch device according to an embodiment of the present disclosure;
fig. 6 is a schematic view of a second structure of a touch device according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a third touch device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The touch method, the touch device and the touch equipment provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Fig. 1 is a first flowchart illustrating a touch method according to an embodiment of the present disclosure. The touch method shown in fig. 1 in the embodiment of the present application is preferably applied to a touch control panel. The touch method comprises the following steps:
s101: when a touch event occurs, sending touch information corresponding to the touch event to a first operating system through a target communication port of at least two communication ports;
s102: receiving feedback information sent by the first operating system in response to the touch information through the target communication port;
s103: when the feedback information is a prohibition instruction, prohibiting sending of touch information to other operating systems except the first operating system according to the prohibition instruction;
s104: when the feedback information is operating system information of a second operating system except the first operating system, responding to the operating system information, and sending touch information to the second operating system through a communication port connected with the second operating system in at least two communication ports, so that the second operating system executes touch operation corresponding to the touch information.
Specific implementations of the above steps will be described in detail below.
In the embodiment of the application, when a touch event occurs, the touch control panel sends touch information corresponding to the touch event to the first operating system through a target communication port of at least two communication ports; the method comprises the steps that a first operating system receives touch information sent by a touch control panel, determines a target operating system corresponding to a touch event, and when the target operating system is the first operating system, the first operating system executes touch operation corresponding to the touch information and sends a prohibition instruction to the touch control panel; the touch control panel prohibits sending touch information to other operating systems according to the prohibition instruction; when the target operating system is a second operating system except the first operating system, the first operating system sends operating system information corresponding to the second operating system to the touch control panel; the touch control panel sends touch information to a second operating system through a communication port connected with the second operating system; and the second operating system executes touch operation corresponding to the touch information. The operating system receiving the touch information can execute the touch operation corresponding to the touch information without switching the operating system, and the efficiency of executing the touch operation corresponding to the touch information can be improved.
In some possible implementations of embodiments of the application, the first operating system is an operating system to which the target communication port is connected, and one operating system is connected to each of the at least two communication ports.
In some possible implementations of embodiments of the present application, a touch event occurs when a user touches an area in the touch panel.
In some possible implementations of the embodiments of the present application, the communication port may be a wired communication port or a wireless communication port. Wired communication ports include, but are not limited to: a Universal Serial Bus (USB) port.
In some possible implementations of embodiments of the present application, the target communication port is a communication port of the at least two communication ports configured as a primary communication port.
In some possible implementations of the embodiments of the application, the first operating system may be specified from at least two operating systems according to actual needs of a user.
In some possible implementations of the embodiments of the present application, one of the at least two communication ports may be configured as a primary communication port, and when an operating system is connected to the primary communication port, the operating system may be considered as a first operating system.
In some possible implementations of the embodiments of the present application, the touch information includes touch location information; accordingly, S101 may include: when a touch event occurs, touch position information is sent to the first operating system through the target communication port, so that the first operating system generates feedback information according to the touch position information.
In some possible implementations of the embodiments of the present application, the touch position information may be coordinate information of the touch position.
When a user touches a certain position in the touch panel, a touch event occurs at the moment, and the touch control panel sends coordinate information of the touch position to the first operating system through the target communication port; the first operating system determines a touch area of a touch event in the touch panel according to the coordinate information, further determines a target operating system corresponding to the touch event according to a corresponding relation between the touch event and the operating system, and when the determined target operating system is the first operating system, the first operating system executes the touch operation corresponding to the touch information and sends a prohibition instruction to the touch control panel; the touch control panel prohibits sending touch information to other operating systems according to the prohibition instruction; when the target operating system is a second operating system except the first operating system, the first operating system sends operating system information corresponding to the second operating system to the touch control panel; the touch control panel sends touch information to a second operating system through a communication port connected with the second operating system; and the second operating system executes touch operation corresponding to the touch information.
In the embodiment of the application, the first operating system can generate the feedback information according to the touch position information of the touch event in the touch panel.
In some possible implementations of the embodiments of the present application, before the touch event occurs, the touch method provided in the embodiments of the present application further includes: receiving configuration information sent by a first operating system through a target communication port; configuring a corresponding touch area of each operating system in the touch panel according to the configuration information; accordingly, S101 may include: when a touch event occurs, determining a touch area corresponding to the touch event; and sending touch information corresponding to the touch event to the first operating system through the target communication port, wherein the touch information comprises identification information of a touch area corresponding to the touch event, so that the first operating system generates feedback information according to the identification information.
In some possible implementations of embodiments of the present application, the configuration information includes, but is not limited to, coordinate information of a corresponding touch area of each operating system in the touch panel.
In some possible implementations of the embodiment of the application, each time one operating system is added, the first operating system may send new configuration information to the touch panel, and the touch panel reconfigures the touch area, corresponding to each operating system, in the touch panel according to the new configuration information.
When a user touches a certain area (for example, area a) in the touch panel, a touch event occurs at this time, and the touch control panel sends touch information including identification information of the area a to the first operating system through the target communication port; the first operating system determines a target operating system corresponding to the touch event according to the identification information, and when the determined target operating system is the first operating system, the first operating system executes touch operation corresponding to the touch information and sends a prohibition instruction to the touch control panel; the touch control panel prohibits sending touch information to other operating systems according to the prohibition instruction; when the target operating system is a second operating system except the first operating system, the first operating system sends operating system information corresponding to the second operating system to the touch control panel; the touch control panel sends touch information to a second operating system through a communication port connected with the second operating system; and the second operating system executes touch operation corresponding to the touch information.
In this embodiment of the application, the first operating system can generate the feedback information according to the identification information of the touch area corresponding to the touch event in the touch panel.
Fig. 2 is a second flowchart of the touch method according to the embodiment of the present disclosure. The touch method shown in fig. 2 in the embodiment of the present application is preferably applied to the first operating system. As shown in fig. 2, the touch method includes:
s201: receiving touch information corresponding to a touch event sent by a touch control panel through a target communication port of at least two communication ports;
s202: generating feedback information according to the touch information;
s203: sending feedback information to the touch control panel; wherein the feedback information comprises a prohibition instruction or operating system information of a second operating system other than the first operating system; the prohibition instruction is used for instructing the touch control panel to prohibit sending touch information to other operating systems except the first operating system; the operating system information of the second operating system is used for enabling the touch control panel to send touch information to the second operating system through a communication port connected with the second operating system in the at least two communication ports, so that the second operating system executes touch operation corresponding to the touch information.
In the embodiment of the application, when a touch event occurs, the touch control panel sends touch information corresponding to the touch event to the first operating system through a target communication port of at least two communication ports; the method comprises the steps that a first operating system receives touch information sent by a touch control panel, determines a target operating system corresponding to a touch event, and when the target operating system is the first operating system, the first operating system executes touch operation corresponding to the touch information and sends a prohibition instruction to the touch control panel; the touch control panel prohibits sending touch information to other operating systems according to the prohibition instruction; when the target operating system is a second operating system except the first operating system, the first operating system sends operating system information corresponding to the second operating system to the touch control panel; the touch control panel sends touch information to a second operating system through a communication port connected with the second operating system; and the second operating system executes touch operation corresponding to the touch information. The operating system receiving the touch information can execute the touch operation corresponding to the touch information without switching the operating system, and the efficiency of executing the touch operation corresponding to the touch information can be improved.
In some possible implementations of embodiments of the present application, each of the at least two communication ports is connected to an operating system.
In some possible implementations of the embodiments of the present application, the touch information includes touch location information; accordingly, S202 may include: determining a touch area corresponding to the touch event according to the touch position information; generating a prohibition instruction to generate feedback information in response to the touch area being the touch area corresponding to the first operating system; and generating operating system information of the second operating system to generate feedback information in response to the touch area being the touch area corresponding to the second operating system.
In some possible implementations of the embodiments of the present application, the touch position information may be coordinate information of the touch position.
When a user touches a certain position in the touch panel, a touch event occurs at the moment, and the touch control panel sends coordinate information of the touch position to the first operating system through the target communication port; the first operating system determines a touch area of a touch event in the touch panel according to the coordinate information, further determines a target operating system corresponding to the touch event according to a corresponding relation between the touch event and the operating system, and when the determined target operating system is the first operating system, the first operating system executes the touch operation corresponding to the touch information and sends a prohibition instruction to the touch control panel; the touch control panel prohibits sending touch information to other operating systems according to the prohibition instruction; when the target operating system is a second operating system except the first operating system, the first operating system sends operating system information corresponding to the second operating system to the touch control panel; the touch control panel sends touch information to a second operating system through a communication port connected with the second operating system; and the second operating system executes touch operation corresponding to the touch information.
In the embodiment of the application, the first operating system can generate the feedback information according to the touch position information of the touch event in the touch panel.
In some possible implementations of the embodiments of the present application, the touch information includes: identification information of a touch area corresponding to the touch event; accordingly, S202 may include: determining whether the touch area is a touch area corresponding to the first operating system according to the identification information of the touch area; if yes, generating a prohibition instruction to generate feedback information; and if not, generating operating system information of the second operating system to generate feedback information.
When a user touches a certain area (for example, area a) in the touch panel, a touch event occurs at this time, and the touch control panel sends touch information including identification information of the area a to the first operating system through the target communication port; the first operating system determines a target operating system corresponding to the area A according to the identification information, and when the area A is determined to be a touch area corresponding to the first operating system, the first operating system executes touch operation corresponding to the touch information and sends a prohibition instruction to the touch control panel; the touch control panel prohibits sending touch information to other operating systems according to the prohibition instruction; when the area A is determined to be the touch area corresponding to the second operating system, the first operating system sends operating system information corresponding to the second operating system to the touch control panel; the touch control panel sends touch information to a second operating system through a communication port connected with the second operating system; and the second operating system executes touch operation corresponding to the touch information.
In this embodiment of the application, the first operating system can generate the feedback information according to the identification information of the touch area corresponding to the touch event in the touch panel.
In some possible implementations of the embodiment of the present application, before S201, the touch method provided in the embodiment of the present application further includes: and sending configuration information to the touch control panel so that the touch control panel configures the corresponding touch control area of each operating system in the touch control panel according to the configuration information to obtain the identification information of each touch control area.
In some possible implementations of embodiments of the present application, the configuration information includes, but is not limited to, coordinate information of a corresponding touch area of each operating system in the touch panel.
In some possible implementations of the embodiment of the application, each time one operating system is added, the first operating system may send new configuration information to the touch panel, and the touch panel reconfigures the touch area, corresponding to each operating system, in the touch panel according to the new configuration information.
Corresponding to the above method embodiments, the present application further provides a touch device.
Fig. 3 is a schematic view of a first structure of a touch device according to an embodiment of the present disclosure. The touch device shown in fig. 3 in the embodiment of the present application is preferably applied to a touch control panel. The touch device 300 includes:
a first sending module 301, configured to send, when a touch event occurs, touch information corresponding to the touch event to a first operating system through a target communication port of at least two communication ports;
a first receiving module 302, configured to receive, through the target communication port, feedback information sent by the first operating system in response to the touch information;
the prohibiting module 303 is configured to prohibit, according to the prohibition instruction, sending of the touch information to the other operating systems except the first operating system when the feedback information is the prohibition instruction;
a second sending module 304, configured to send, when the feedback information is operating system information of a second operating system other than the first operating system, touch information to the second operating system through a communication port connected to the second operating system among the at least two communication ports in response to the operating system information, so that the second operating system performs a touch operation corresponding to the touch information.
In the embodiment of the application, when a touch event occurs, the touch control panel sends touch information corresponding to the touch event to the first operating system through a target communication port of at least two communication ports; the method comprises the steps that a first operating system receives touch information sent by a touch control panel, determines a target operating system corresponding to a touch event, and when the target operating system is the first operating system, the first operating system executes touch operation corresponding to the touch information and sends a prohibition instruction to the touch control panel; the touch control panel prohibits sending touch information to other operating systems according to the prohibition instruction; when the target operating system is a second operating system except the first operating system, the first operating system sends operating system information corresponding to the second operating system to the touch control panel; the touch control panel sends touch information to a second operating system through a communication port connected with the second operating system; and the second operating system executes touch operation corresponding to the touch information. The operating system receiving the touch information can execute the touch operation corresponding to the touch information without switching the operating system, and the efficiency of executing the touch operation corresponding to the touch information can be improved.
In some possible implementations of embodiments of the application, the first operating system is an operating system to which the target communication port is connected, and one operating system is connected to each of the at least two communication ports.
In some possible implementations of the embodiments of the present application, the touch information includes touch location information; correspondingly, the first sending module 301 is specifically configured to:
when a touch event occurs, touch position information is sent to the first operating system through the target communication port, so that the first operating system generates feedback information according to the touch position information.
In some possible implementations of the embodiment of the present application, the touch device 300 provided in the embodiment of the present application further includes:
the second receiving module is used for receiving the configuration information sent by the first operating system through the target communication port;
the configuration module is used for configuring a corresponding touch area of each operating system in the touch panel according to the configuration information;
correspondingly, the first sending module 301 is specifically configured to:
when a touch event occurs, determining a touch area corresponding to the touch event;
and sending touch information corresponding to the touch event to the first operating system through the target communication port, wherein the touch information comprises identification information of a touch area corresponding to the touch event, so that the first operating system generates feedback information according to the identification information.
Fig. 4 is a schematic view of a second structure of a touch device according to an embodiment of the present disclosure. The touch device shown in fig. 4 in the embodiment of the present application is preferably applied to the first operating system. The touch device 400 includes:
a third receiving module 401, configured to receive touch information corresponding to a touch event sent by the touch control panel through a target communication port of at least two communication ports included in the touch control panel, where each of the at least two communication ports is connected to an operating system;
a generating module 402, configured to generate feedback information according to the touch information;
a third sending module 403, configured to send feedback information to the touch control panel; wherein the feedback information comprises a prohibition instruction or operating system information of a second operating system other than the first operating system; the prohibition instruction is used for instructing the touch control panel to prohibit sending touch information to other operating systems except the first operating system; the operating system information of the second operating system is used for enabling the touch control panel to send touch information to the second operating system through a communication port connected with the second operating system in the at least two communication ports, so that the second operating system executes touch operation corresponding to the touch information.
In the embodiment of the application, when a touch event occurs, the touch control panel sends touch information corresponding to the touch event to the first operating system through a target communication port of at least two communication ports; the method comprises the steps that a first operating system receives touch information sent by a touch control panel to determine a target operating system corresponding to a touch event, and when the target operating system is the first operating system, the first operating system executes touch operation corresponding to the touch information and sends a prohibition instruction to the touch control panel; the touch control panel prohibits sending touch information to other operating systems according to the prohibition instruction; when the target operating system is a second operating system except the first operating system, the first operating system sends operating system information corresponding to the second operating system to the touch control panel; the touch control panel sends touch information to a second operating system through a communication port connected with the second operating system; and the second operating system executes touch operation corresponding to the touch information. The operating system receiving the touch information can execute the touch operation corresponding to the touch information without switching the operating system, and the efficiency of executing the touch operation corresponding to the touch information can be improved.
In some possible implementations of the embodiments of the present application, the touch information includes touch location information; accordingly, the generating module 402 is specifically configured to:
determining a touch area corresponding to the touch event according to the touch position information;
generating a prohibition instruction to generate feedback information in response to the touch area being the touch area corresponding to the first operating system;
and generating operating system information of the second operating system to generate feedback information in response to the touch area being the touch area corresponding to the second operating system.
In some possible implementations of the embodiments of the present application, the touch information includes: identification information of a touch area corresponding to the touch event; accordingly, the generating module 402 is specifically configured to:
determining whether the touch area is a touch area corresponding to the first operating system according to the identification information of the touch area;
if yes, generating a prohibition instruction to generate feedback information;
and if not, generating operating system information of the second operating system to generate feedback information.
In some possible implementations of the embodiment of the present application, the touch device 400 provided in the embodiment of the present application further includes:
and the fourth sending module is used for sending the configuration information to the touch control panel so that the touch control panel configures the corresponding touch control area of each operating system in the touch control panel according to the configuration information to obtain the identification information of each touch control area.
An embodiment of the present application further provides a touch device, including: the system comprises a touch panel, a touch control panel and at least two operating systems; the touch panel is used for receiving touch input; the touch control panel comprises at least two communication ports, each of the at least two communication ports is connected with one of at least two operating systems, and the touch control panel executes the steps of the touch control method shown in fig. 1 in the embodiment of the application; a first operating system of the at least two operating systems executes the step of the touch method shown in fig. 2 in the embodiment of the present application, wherein the first operating system is an operating system connected to a target communication port of the at least two communication ports; and a second operating system except the first operating system in the at least two operating systems receives touch information sent by the touch control panel through a communication port connected with the second operating system in the at least two communication ports, and executes touch operation corresponding to the touch information.
In the embodiment of the application, when a touch event occurs, the touch control panel sends touch information corresponding to the touch event to the first operating system through a target communication port of at least two communication ports; the method comprises the steps that a first operating system receives touch information sent by a touch control panel, determines a target operating system corresponding to a touch event, and when the target operating system is the first operating system, the first operating system executes touch operation corresponding to the touch information and sends a prohibition instruction to the touch control panel; the touch control panel prohibits sending touch information to other operating systems according to the prohibition instruction; when the target operating system is a second operating system except the first operating system, the first operating system sends operating system information corresponding to the second operating system to the touch control panel; the touch control panel sends touch information to a second operating system through a communication port connected with the second operating system; and the second operating system executes touch operation corresponding to the touch information. The operating system receiving the touch information can execute the touch operation corresponding to the touch information without switching the operating system, and the efficiency of executing the touch operation corresponding to the touch information can be improved.
In some possible implementations of the embodiments of the present application, the communication port may be a wired communication port or a wireless communication port. Wired communication ports include, but are not limited to: a USB port.
The touch device provided in the embodiments of the present application is described below by taking the communication port as a USB port as an example.
As shown in fig. 5, the touch device 500 includes: touch panel 101, touch control panel 102 and N operating systems, where N is a positive integer and greater than or equal to 2, touch control panel 102 includes N USB ports, and the N USB ports are USB port 1, USB port 2, USB port … …, and USB port N, respectively.
Each of the N USB ports is connected to an operating system. Specifically, the USB port 1 is connected to the operating system OS1USB Port 2 is connected to OS2… … USB Port N connects to the operating System OSN
In some possible implementations of embodiments of the present application, the touch control panel 102 may be a processor.
In some possible implementations of the embodiments of the present application, a USB port of the N USB ports may be configured as a primary USB port, and an operating system connected to the primary USB port is a first operating system.
In some possible implementations of embodiments of the present application, one native USB port of the touch control panel 102 may be configured as a primary USB port. The native USB port is a USB port of the touch control board 102.
In some possible implementations of embodiments of the present application, the other USB ports of the N USB ports other than the native USB port may be native USB ports or extended USB ports of the touch control panel 102.
To expand a USB port, a port in the touch control panel 102 is expanded into a USB port, and is generally expanded by a corresponding converter. For example, an Integrated Drive Electronics (IDE) port to USB port converter, a Video Graphics Array (VGA) port to USB port converter, and so on.
In some possible implementations of embodiments of the present application, the extended USB port is a USB port extended by an integrated circuit having data format conversion.
In some possible implementations of the embodiment of the present application, in a case that the USB port is an extended USB port, the touch device 500 further includes: the USB interface comprises a first bus used for transmitting touch data to the expansion USB port and a second bus used for transmitting touch instructions.
In some possible implementations of embodiments of the present application, the first bus comprises: a Serial Peripheral Interface (SPI) bus.
In the embodiment of the application, the SPI bus has a high transmission rate, and can be used for transmitting touch data to improve the execution efficiency of touch operations corresponding to touch information.
In some possible implementations of embodiments of the application, the second bus comprises: an Integrated Circuit (I2C) bus.
In the embodiment of the present application, the I2C bus has fewer transmission lines and a low transmission rate, so that the touch command with less data volume can be transmitted to save the cost.
In some possible implementations of the embodiment of the present application, the touch device 500 may further include: each of the at least two main boards is connected with one of the at least two communication ports, and each of the at least two main boards runs one of the at least two operating systems.
As shown in fig. 6, the touch device 500 includes N motherboards, where the N motherboards are motherboard 1, motherboard 2, … …, and motherboard N, where the N motherboards run N operating systems, and the N operating systems are operating systems OS, respectively1Operating system OS2… … operating system OSNThe main board i runs the operating system OSiThe main USB port is connected with the mainboard 1, the USB port j is connected with the mainboard j, N is a positive integer and is more than or equal to 2, i is a positive integer and is more than or equal to 1 and less than or equal to N, j is a positive integer and is more than or equal to 2 and less than or equal to N, and OS1Is a first operating system.
The touch control panel 102 uses SPI bus to transmit touch data and I2C bus to transmit touchThe integrated circuit packs the touch data and the touch instruction and transmits the touch data and the touch instruction to a mainboard j connected with a USB port j through the USB port j, and an operating system OS (operating system) operated by the mainboard jjAnd acquiring touch information through the mainboard j connected with the USB port j, and further executing touch operation corresponding to the touch information.
In some possible implementations of the embodiment of the present application, the first operating system may send configuration information to the touch panel, and the touch panel configures a corresponding touch area of each operating system in the touch panel.
Exemplarily, as shown in fig. 7. Fig. 7 is a schematic structural diagram of a third touch device according to an embodiment of the present disclosure. In fig. 7, the touch control panel 102 configures the touch panel 101 into N touch areas, where the N touch areas are touch area 1, touch area 2, and touch area … …, and touch area N, where the N touch areas are touch areas corresponding to N operating systems in the touch panel 101, respectively, and where the touch area k is an operating system OSkIn the corresponding touch area of the touch panel 101, k is a positive integer and is greater than or equal to 1 and less than or equal to N.
When the user touches the touch area 2, the touch control panel 102 provides the operating system OS with the main USB port1Sending touch information;
operating System OS1Determining that the target operating system corresponding to the touch information is an Operating System (OS)2Sending the operating system OS to the touch control panel 1022And not executing the touch operation corresponding to the touch information.
The touch control panel 102 receives the operating system OS through the main USB port1After the transmitted operating system information, it is transmitted to the operating system OS through the USB port 22Sending touch information, operating System OS2And executing the touch operation corresponding to the touch information.
When the user touches the touch area 1, the touch control panel 102 provides the operating system OS with the main USB port1Sending touch information;
operating System OS1Determining that the target operating system corresponding to the touch information is an Operating System (OS)1Direction touch controlThe control board 102 sends a prohibition instruction and executes a touch operation corresponding to the touch information.
After receiving the prohibition instruction through the main USB port, the touch control panel 102 prohibits the OS from being executed through the USB ports other than the main USB port1And other operating systems send the touch information to prohibit the other operating systems from executing the touch operation corresponding to the touch information. I.e. to disable the operating system OS connected to USB port j via USB port jjSending touch information to disable operating system OSjAnd executing touch operation corresponding to the touch information.
In the embodiment of the application, only the operating system corresponding to the touch area executes the touch operation corresponding to the touch information, so that the accuracy of executing the touch operation corresponding to the touch information can be improved.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the process of the embodiment of the touch method is implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not repeated here. The readable storage medium includes a computer readable storage medium, and examples of the computer readable storage medium include non-transitory computer readable storage media such as ROM, RAM, magnetic or optical disks, and the like.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A touch method, the method comprising:
when a touch event occurs, sending touch information corresponding to the touch event to a first operating system through a target communication port of at least two communication ports;
receiving feedback information sent by the first operating system in response to the touch information through the target communication port;
when the feedback information is a prohibition instruction, prohibiting the touch information from being sent to other operating systems except the first operating system according to the prohibition instruction;
when the feedback information is operating system information of a second operating system except the first operating system, responding to the operating system information, and sending the touch information to the second operating system through a communication port connected with the second operating system in the at least two communication ports, so that the second operating system executes touch operation corresponding to the touch information.
2. The method of claim 1, wherein the touch information comprises touch location information;
when a touch event occurs, sending touch information corresponding to the touch event to a first operating system through a target communication port of at least two communication ports, including:
when a touch event occurs, the touch position information is sent to the first operating system through the target communication port, so that the first operating system generates the feedback information according to the touch position information.
3. The method of claim 1, wherein before the touch event occurs, the method further comprises:
receiving configuration information sent by the first operating system through the target communication port;
configuring a corresponding touch area of each operating system in the touch panel according to the configuration information;
when a touch event occurs, sending touch information corresponding to the touch event to a first operating system through a target communication port of at least two communication ports, including:
when a touch event occurs, determining a touch area corresponding to the touch event;
and sending touch information corresponding to the touch event to a first operating system through the target communication port, wherein the touch information comprises identification information of a touch area corresponding to the touch event, so that the first operating system generates the feedback information according to the identification information.
4. A touch method is applied to a first operating system, and is characterized by comprising the following steps:
receiving touch information corresponding to a touch event sent by a touch control panel through a target communication port of at least two communication ports;
generating feedback information according to the touch information;
sending the feedback information to the touch control panel; wherein the feedback information comprises a prohibition instruction or operating system information of a second operating system other than the first operating system; the prohibition instruction is used for instructing the touch control panel to prohibit sending the touch information to other operating systems except the first operating system; the operating system information of the second operating system is used for enabling the touch control panel to send the touch control information to the second operating system through a communication port, connected with the second operating system, of the at least two communication ports, so that the second operating system executes touch control operation corresponding to the touch control information.
5. The method of claim 4, wherein the touch information comprises touch location information;
generating feedback information according to the touch information, including:
determining a touch area corresponding to the touch event according to the touch position information;
generating a prohibition instruction in response to the touch area being the touch area corresponding to the first operating system to generate the feedback information;
and generating operating system information of the second operating system to generate the feedback information in response to the touch area being the touch area corresponding to the second operating system.
6. The method of claim 4, wherein the touch information includes identification information of a touch area corresponding to the touch event;
generating feedback information according to the touch information, including:
determining whether the touch area is a touch area corresponding to the first operating system according to the identification information of the touch area;
if yes, generating a prohibition instruction to generate the feedback information;
and if not, generating operating system information of the second operating system to generate the feedback information.
7. The method according to claim 6, wherein before receiving touch information corresponding to the touch event sent by the touch control board through a target communication port of the at least two communication ports, the method further comprises:
and sending configuration information to the touch control panel so that the touch control panel configures the corresponding touch control area of each operating system in the touch control panel according to the configuration information to obtain the identification information of each touch control area.
8. A touch device, the device comprising:
the first sending module is used for sending touch information corresponding to the touch event to a first operating system through a target communication port of at least two communication ports when the touch event occurs;
the first receiving module is used for receiving feedback information sent by the first operating system in response to the touch information through the target communication port;
the prohibiting module is used for prohibiting the touch information from being sent to other operating systems except the first operating system according to the prohibition instruction when the feedback information is a prohibition instruction;
a second sending module, configured to, when the feedback information is operating system information of a second operating system other than the first operating system, send, in response to the operating system information, the touch information to the second operating system through a communication port, which is connected to the second operating system, of the at least two communication ports, so that the second operating system executes a touch operation corresponding to the touch information.
9. A touch device applied to a first operating system is characterized by comprising:
the third receiving module is used for receiving touch information corresponding to a touch event sent by the touch control panel through a target communication port of at least two communication ports;
the generating module is used for generating feedback information according to the touch information;
the third sending module is used for sending the feedback information to the touch control panel; wherein the feedback information comprises a prohibition instruction or operating system information of a second operating system other than the first operating system; the prohibition instruction is used for instructing the touch control panel to prohibit sending the touch information to other operating systems except the first operating system; the operating system information of the second operating system is used for enabling the touch control panel to send the touch control information to the second operating system through a communication port, connected with the second operating system, of the at least two communication ports, so that the second operating system executes touch control operation corresponding to the touch control information.
10. A touch device, comprising: the system comprises a touch panel, a touch control panel and at least two operating systems; wherein the content of the first and second substances,
the touch panel is used for receiving touch input;
the touch control panel comprises at least two communication ports, each of the at least two communication ports is connected with one of the at least two operating systems, and the touch control panel executes the steps of the touch control method according to any one of claims 1 to 3;
the method of any one of claims 4 to 7 is executed by a first operating system of the at least two operating systems, wherein the first operating system is an operating system connected to a target communication port of the at least two communication ports;
and a second operating system of the at least two operating systems, except the first operating system, receives the touch information sent by the touch control panel through a communication port of the at least two communication ports, which is connected with the second operating system, and executes touch operation corresponding to the touch information.
CN202111532432.3A 2021-12-15 2021-12-15 Touch method, device and equipment Pending CN114327129A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111532432.3A CN114327129A (en) 2021-12-15 2021-12-15 Touch method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111532432.3A CN114327129A (en) 2021-12-15 2021-12-15 Touch method, device and equipment

Publications (1)

Publication Number Publication Date
CN114327129A true CN114327129A (en) 2022-04-12

Family

ID=81052710

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111532432.3A Pending CN114327129A (en) 2021-12-15 2021-12-15 Touch method, device and equipment

Country Status (1)

Country Link
CN (1) CN114327129A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140191994A1 (en) * 2013-01-08 2014-07-10 Samsung Electronics Co., Ltd. Touch event processing method and portable device implementing the same
CN108089928A (en) * 2016-11-22 2018-05-29 华为技术有限公司 Terminal control method and device
CN112035048A (en) * 2020-08-14 2020-12-04 广州视源电子科技股份有限公司 Touch data processing method, device, equipment and storage medium
CN112579497A (en) * 2019-09-29 2021-03-30 杭州海康威视数字技术股份有限公司 Universal serial bus interface circuit and method compatible with double operating systems
CN113656120A (en) * 2021-07-23 2021-11-16 北京鸿合爱学教育科技有限公司 Interface switching method, device, equipment and storage medium
CN113656077A (en) * 2021-07-23 2021-11-16 北京鸿合爱学教育科技有限公司 Function setting method and related equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140191994A1 (en) * 2013-01-08 2014-07-10 Samsung Electronics Co., Ltd. Touch event processing method and portable device implementing the same
CN108089928A (en) * 2016-11-22 2018-05-29 华为技术有限公司 Terminal control method and device
CN112579497A (en) * 2019-09-29 2021-03-30 杭州海康威视数字技术股份有限公司 Universal serial bus interface circuit and method compatible with double operating systems
CN112035048A (en) * 2020-08-14 2020-12-04 广州视源电子科技股份有限公司 Touch data processing method, device, equipment and storage medium
CN113656120A (en) * 2021-07-23 2021-11-16 北京鸿合爱学教育科技有限公司 Interface switching method, device, equipment and storage medium
CN113656077A (en) * 2021-07-23 2021-11-16 北京鸿合爱学教育科技有限公司 Function setting method and related equipment

Similar Documents

Publication Publication Date Title
JP5532018B2 (en) Terminal device, program, and remote operation system
CN104133629A (en) Double-screen interaction method and mobile terminal
CN103858086A (en) Application window position and size control in (multi-fold) multi-display devices
WO2013148293A1 (en) Instantiable gesture objects
US11343782B2 (en) Method of transmitting synchronized signal block, network equipment, and user equipment
CN109726020B (en) System docking method, system docking device, storage medium and apparatus
EP3343337A1 (en) Method and device for controlling screen between terminals, and storage medium
CN103177043A (en) Method and electronic system used for transferring file across system platform
US20190079595A1 (en) Device Driver-Level Approach for Utilizing a Single Set of Interface Input Devices for Multiple Computing Devices
CN112416505A (en) Remote control system, method and computing equipment
US20080057914A1 (en) Pseudo-Remote Terminal IOTA Mobile Diagnostics and Electronic Customer Care
CN103377093A (en) Multimedia synchronizing method for multiple-system device and electronic device
CN105320473A (en) Document printing method and device
US8891105B2 (en) Data printing method and system using the same
CN110309462B (en) Data display method and system
CN105511787B (en) Input method, electronic equipment and input system
CN114327129A (en) Touch method, device and equipment
CN102375664B (en) Icon moving method and device
CN103973921A (en) Image processing apparatus and method of controlling the same
CN115421846A (en) Cross-device control method, control device, electronic device and readable storage medium
CN104346120A (en) Display method and electronic equipment
CN110543264A (en) Method, equipment and storage medium for application interaction based on split screen mode
US8805667B2 (en) Print control device
CN106997273B (en) Information input method and device
CN104423782A (en) Information processing method and electronic equipment

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