The subject matter herein generally relates to touch screen data transmission system and method.
Touch screens have become increasingly popular because information that is pictorially provided to a user is preferred over hard keyboards or keypads. A touch screen can serve as an input device to communicate with a host (computer host for example). Controlling multiple hosts by a coupled touch screen can be difficult.
Implementations of the present technology will now be described, by way of example only, with reference to the attached figures.
It will be appreciated that for simplicity and clarity of illustration, where appropriate, reference numerals have been repeated among the different figures to indicate corresponding or analogous elements. In addition, numerous specific details are set forth in order to provide a thorough understanding of the embodiments described herein. However, it will be understood by those of ordinary skill in the art that the embodiments described herein can be practiced without these specific details. In other instances, methods, procedures, and components have not been described in detail so as not to obscure the related relevant feature being described. Also, the description is not to be considered as limiting the scope of the embodiments described herein. The drawings are not necessarily to scale and the proportions of certain parts may be exaggerated to better illustrate details and features of the present disclosure. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean “at least one”.
Several definitions that apply throughout this disclosure will now be presented.
The term “coupled” is defined as connected, whether directly or indirectly through intervening components, and is not necessarily limited to physical connections. The connection can be such that the objects are permanently connected or releasably connected. The term “comprising,” when utilized, means “including, but not necessarily limited to”; it specifically indicates open-ended inclusion or membership in the so-described combination, group, series, and the like.
The touch screen data transmission system 200 is configured to communicate with a touch screen 100 and a plurality of hosts. Each of the hosts can simultaneously use the touch screen 100 to display and the touch screen 100 can control the hosts.
In one exemplary embodiment, the hosts can comprise computer hosts, television hosts, or server hosts. The plurality of hosts in this exemplary embodiment comprises four hosts, 300a to 300d. When the touch screen 100 communicates with a plurality of television hosts through the touch screen data transmission system 200, the touch screen 100, the touch screen data transmission system 200, and the plurality of television hosts can form a plurality of independent televisions.
Referring to
The dividing module 1 is configured to divide a touch screen 100 into a plurality of touch areas and define a starting coordinate and an ending coordinate to each of the touch areas. Each of the touch areas defines a coordinate system. A starting coordinate of a touch area is a touch point coordinate that has a minimum horizontal coordinate and a minimum vertical coordinate (zero point), and an ending coordinate of the touch area is a touch point coordinate that has a maximum horizontal coordinate (greater than zero) and a maximum vertical coordinate (greater than zero). The plurality of touch areas in this exemplary embodiment comprises four touch areas, 100a to 100d, as shown in
In one exemplary embodiment, a number of the touch areas is equal to a number of the hosts. Then, each of the touch areas can correspond to each of the hosts. The dividing module 1 can divide the touch screen 100 into four touch areas 100a to 100d and define the starting coordinate and the ending coordinate to each of the touch areas 100a to 100d through a four-quadrant rule. The dividing module 1 also can divide the touch screen 100 into four touch areas 100a to 100d and define the starting coordinate and the ending coordinate to each of the touch areas 100a to 100d through other coordinate rules. Each of the touch areas 100a to 100d has the same size.
The obtaining module 2 is configured to obtain a coordinate of a touch point when the touch screen 100 is touched. The determining module 3 is configured to determine the touch area to which the touch point belongs. The converting module 4 is configured to convert the coordinate of the touch point into an area coordinate, according to the starting coordinate and the ending coordinate of a first touch area. If the touch point is determined to belong to the first touch area for example. The transmitting module 5 is configured to transmit the area coordinate to a first host. The first host corresponds to the first touch area.
The touch screen 100 also defines a coordinate system, the determining module 3 can determine the touch area to which the touch point belongs according to the coordinate system of the touch screen 100. When the determining module 3 determines that the coordinate of the touch point to belong to the touch area 100a, the converting module 4 converts the coordinate of the touch point into the area coordinate according to the starting coordinate and the ending coordinate of the touch area 100a, and the transmitting module 5 transmits the area coordinate to the host 300a. Then, the host 300a can receive a touch command from the touch area 100a and communicate with the touch area 100a.
For example, the touch screen 100 comprises a first coordinate system, and the first coordinate system is configured to identify a location of the touch point. Each of the touch areas 100a to 100d also define a second coordinate system. When each of the touch areas 100a to 100d is coupled to a respective host (of the hosts 300a to 300d), each of the touch areas 100a to 100d can display in full screen.
In one exemplary embodiment, the touch areas 100a to 100d can comprise different coordinate systems. The converting module can convert the coordinate of the touch point into the area coordinate through a partition algorithm.
In one exemplary embodiment, the touch screen 100 comprises a first operation mode and a second operation mode. When the touch screen 100 is in the first operation mode, the touch screen 100 operates as a single touchable area. When the touch screen 100 is in the second operation mode, the touch screen 100 operates as the plurality of touch areas 100a to 100d.
Referring to
For example, a first coordinate (X1, Y1) is the starting coordinate of the touch area 100a, and a second coordinate (X2, Y2) is the ending coordinate of the touch area 100a. Each of the touch areas 100a to 100d can be rectangular. A starting coordinate of a touch area is a touch point coordinate that has a minimum horizontal coordinate and a minimum vertical coordinate, and an ending coordinate of the touch area is a touch point coordinate that has a maximum horizontal coordinate and a maximum vertical coordinate.
In one exemplary embodiment, the first coordinate (X1, Y1) is the zero point of the touch area 100a, X1 is less than X2, and Y1 is less than Y2.
In one exemplary embodiment, the determining module 3 determines that the touch point belongs to the touch area 100a if the coordinate of the touch point meets the following four conditions (expressed as two pairs of conditions): (1) a horizontal coordinate of the touch point is greater than a horizontal coordinate of starting point of the touch area 100a but less than a horizontal coordinate of ending point of the touch area 100a; (2) a vertical coordinate of the touch point is greater than a vertical coordinate of the starting point of the touch area 100a but less than a vertical coordinate of the ending point of the touch area 100a.
Configurations and features of the touch areas 100b, 100c, and 100d are substantially the same as for those of the touch area 100a.
In one exemplary embodiment, the touch screen data transmission system 200 can operate as an independent device and be coupled to the touch screen 100. The touch screen data transmission system 200 also can combine with the touch screen 100 to form a touch device.
In one exemplary embodiment, each output module (of 7a to 7d) corresponds to one of the touch areas 100a to 100d and one of the hosts 300a to 300d. The plurality of output modules in this exemplary embodiment comprises four output modules.
The control module 6 is coupled to the touch screen 100. When the control module 6 receives a split screen signal, the control module 6 divides the touch screen 100 into the plurality of touch areas 100a to 100d and defines the starting coordinate and the ending coordinate to each of the touch areas 100a to 100d. The control module 6 can control the touch screen 100 in the first operation mode or in the second operation mode.
When the touch screen 100 is touched, the control module 6 obtains a coordinate of a touch point and determines the touch area to which the touch point belongs. The output modules 7a to 7d are coupled to the control module, and the output modules 7a to 7d are respectively coupled to the hosts 300a to 300d. The control module 6 further transmits the coordinate of the touch point to an output module in response to determining that the coordinate of the touch point belongs to one of the touch areas 100a to 100d. The output module converts the coordinate of the touch point into an area coordinate according to the starting coordinate and the ending coordinate of the touch area, and outputs the area coordinate to the relevant one of the hosts 300a to 300d.
For example, when the control module 6 determines that the coordinate of the touch point belongs to the touch area 100a, the control module 6 transmits the coordinate of the touch point to the output module 7a. The output module 7a converts the coordinate of the touch point into the area coordinate according to the starting coordinate and the ending coordinate of the touch area 100a, and transmits the area coordinate to the host 300a. Then, the host 300a can communicate with the touch area 100a.
In one exemplary embodiment, the control module 6 can be a microcontroller unit (MCU) chip, an acorn risc machine (ARM) processor, or a single-chip for example. Each of the output modules 7a to 7d can be an MCU, an ARM processor, or a single-chip device.
In one exemplary embodiment, the control module 6 comprises a plurality of storage units. Each of the storage units corresponds to one touch area of the touch areas 100a to 100d. The plurality of storage units in this exemplary embodiment comprises four storage units, 60a to 60d. The control module 6 is further configured to store data received from the touch area 100a into the storage unit 60a for example. The control module 6 stores data received from the touch area 100d into the storage unit 60d for example.
In step 500, the dividing module 1 divides the touch screen 100 into the plurality of touch areas 100a to 100d and define a starting coordinate and an ending coordinate to each of the touch areas 100a to 100d.
In step 502, the obtaining module 2 obtains a coordinate of a touch point in response to the touch screen 100 being touched.
In step 504, the determining module 3 determines the touch area to which the touch point belongs.
In step 506, the converting module 4 converts the coordinate of the touch point into an area coordinate according to the starting coordinate and the ending coordinate of a first touch area. If the touch point is determined to belong to the first touch area for example.
In step 508, the transmitting module 5 transmits the area coordinate to a first host. The first host is coupled to the first touch area.
For example, when the determining module 3 determines the coordinate of the touch point to belong to the touch area 100a. The converting module 4 converts the coordinate of the touch point into the area coordinate according to the starting coordinate and the ending coordinate of the touch area 100a, and the transmitting module 5 transmits the area coordinate to the host 300a.
In one exemplary embodiment, the determining module 3 determines the touch point to belong to the touch area 100a if the coordinate of the touch point matches following four conditions (expressed as two pairs of conditions): (1) a horizontal coordinate of the touch point is greater than a horizontal coordinate of starting point of the touch area 100a but less than a horizontal coordinate of ending point of the touch area 100a; (2) a vertical coordinate of the touch point is greater than a vertical coordinate of the starting point of the touch area 100a but less than a vertical coordinate of the ending point of the touch area 100a.
The exemplary embodiments shown and described above are only examples. Many such details are neither shown nor described. Even though numerous characteristics and advantages of the present technology have been set forth in the foregoing description, together with details of the structure and function of the present disclosure, the disclosure is illustrative only, and changes may be made in the detail, including in matters of shape, size, and arrangement of the parts within the principles of the present disclosure, up to and including the full extent established by the broad general meaning of the terms used in the claims. It will therefore be appreciated that the exemplary embodiments described above may be modified within the scope of the claims.
Number | Date | Country | Kind |
---|---|---|---|
201710174265.7 | Mar 2017 | CN | national |