All-in-one machine and method and computer memory medium for realizing quick touch in all channels thereof
DCFirst Claim
1. An all-in-one machine, comprising a touch frame, a USB selecting switch, an internal PC module, a main board and a display screen, wherein the display screen and the internal PC module are respectively connected to the main board, the USB selecting switch is connected to a USB port of the internal PC module, a first data port of the touch frame and a GPIO port of the main board respectively, and the touch frame is also connected to the main board through a second data port, and further comprisinga MCU connected between the second data port of the touch frame and the main board, wherein the MCU is further connected to the USB selecting switch via GPIO, whereinthe MCU is configured to detect which channel is currently connected to the main board, control the USB selecting switch based on the detected channel information to connect the first data port of the touch frame with a USB port of a device or module to which the currently connected channel belongs, determine whether there is an action to call a touch menu when detecting that the channel currently connected to the main board is an internal PC module channel or an external device channel, and inform the main board to start a touch menu application program if it is determined that there is the action to call the touch menu;
- the MCU is also configured to receive the touch data within the area of the touch menu transmitted from the touch frame through the second data port, simulate itself as a standard USB touch device, and transmit the touch data within the area of the touch menu to the main board through a first USB port connected with the main board, after the touch menu has been called and before an action of leaving the touch menu is detected; and
the main board is configured to start the touch menu application program based on the information from the MCU, and make response to the touch data within the area of the touch menu received through the first USB port.
1 Assignment
Litigations
0 Petitions
Accused Products
Abstract
The present invention provides an all-in-one machine, a method for the all-in-one machine to realize quick touch in all channels, and a computer storage medium. The method includes: detecting which channel is currently connected to the main board, and controlling a USB selecting switch to connect a first data port of a touch frame with a USB port of a device or module to which the currently connected channel belongs, based on the detected channel information; determining whether there is an action to call a touch menu when detecting that the channel connected to the main board is an internal PC module channel or an external device channel; and if so, activating the main board to start a touch menu application program, and making response, by the main board, to touch data within an area of the touch menu transmitted from the touch frame through the second data port, after the touch menu has been called and before an action of leaving the touch menu is detected. The present invention avoids wasting time in waiting for the USB to be identified that the user can perform a touch manipulation immediately after the USB selecting switch is switched.
10 Citations
19 Claims
-
1. An all-in-one machine, comprising a touch frame, a USB selecting switch, an internal PC module, a main board and a display screen, wherein the display screen and the internal PC module are respectively connected to the main board, the USB selecting switch is connected to a USB port of the internal PC module, a first data port of the touch frame and a GPIO port of the main board respectively, and the touch frame is also connected to the main board through a second data port, and further comprising
a MCU connected between the second data port of the touch frame and the main board, wherein the MCU is further connected to the USB selecting switch via GPIO, wherein the MCU is configured to detect which channel is currently connected to the main board, control the USB selecting switch based on the detected channel information to connect the first data port of the touch frame with a USB port of a device or module to which the currently connected channel belongs, determine whether there is an action to call a touch menu when detecting that the channel currently connected to the main board is an internal PC module channel or an external device channel, and inform the main board to start a touch menu application program if it is determined that there is the action to call the touch menu; - the MCU is also configured to receive the touch data within the area of the touch menu transmitted from the touch frame through the second data port, simulate itself as a standard USB touch device, and transmit the touch data within the area of the touch menu to the main board through a first USB port connected with the main board, after the touch menu has been called and before an action of leaving the touch menu is detected; and
the main board is configured to start the touch menu application program based on the information from the MCU, and make response to the touch data within the area of the touch menu received through the first USB port. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
- the MCU is also configured to receive the touch data within the area of the touch menu transmitted from the touch frame through the second data port, simulate itself as a standard USB touch device, and transmit the touch data within the area of the touch menu to the main board through a first USB port connected with the main board, after the touch menu has been called and before an action of leaving the touch menu is detected; and
-
13. A method for an all-in-one machine to realize quick touch in all channels, comprising:
-
detecting which channel is currently connected to a main board, and controlling, based on a detected channel information, a USB selecting switch to connect a first data port of a touch frame with a USB port of a device or module to which the currently connected channel belongs; determining whether there is an action to call a touch menu when detecting that the channel connected to the main board is an internal PC module channel or an external device channel; and if it is determined that there is an action to call a touch menu when detecting that the channel connected to the main board is the internal PC module channel or the external device channel, activating the main board to start a touch menu application program, and making response, by the main board, to touch data within an area of the touch menu transmitted from the touch frame through a second data port, after the touch menu has been called and before an action of leaving the touch menu is detected, wherein the all-in-one machine comprises a MCU connected between the second data port of the touch frame and the main board, wherein the MCU is further connected to the USB selecting switch via GPIO, wherein the MCU is configured to detect which channel is currently connected to the main board, control the USB selecting switch based on the detected channel information to connect the first data port of the touch frame with a USB port of a device or module to which the currently connected channel belongs, determine whether there is an action to call a touch menu when detecting that the channel currently connected to the main board is an internal PC module channel or an external device channel, and inform the main board to start a touch menu application program if it is determined that there is the action to call the touch menu;
the MCU is also configured to receive the touch data within the area of the touch menu transmitted from the touch frame through the second data port, simulate itself as a standard USB touch device, and transmit the touch data within the area of the touch menu to the main board through a first USB port connected with the main board, after the touch menu has been called and before an action of leaving the touch menu is detected; andthe main board is configured to start the touch menu application program based on the information from the MCU, and make response to the touch data within the area of the touch menu received through the first USB port. - View Dependent Claims (14, 15, 16, 17, 18, 19)
-
Specification