WO2022126758A1 - 红外触控屏的控制方法、装置及红外触控屏 - Google Patents
红外触控屏的控制方法、装置及红外触控屏 Download PDFInfo
- Publication number
- WO2022126758A1 WO2022126758A1 PCT/CN2020/141062 CN2020141062W WO2022126758A1 WO 2022126758 A1 WO2022126758 A1 WO 2022126758A1 CN 2020141062 W CN2020141062 W CN 2020141062W WO 2022126758 A1 WO2022126758 A1 WO 2022126758A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- infrared
- touch screen
- infrared touch
- controller
- rays
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 60
- 238000001514 detection method Methods 0.000 claims description 10
- 238000004891 communication Methods 0.000 claims description 9
- 230000005540 biological transmission Effects 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 22
- 230000008569 process Effects 0.000 description 7
- 238000004590 computer program Methods 0.000 description 5
- 238000012937 correction Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000007792 addition Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/042—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means
- G06F3/0421—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means by interrupting or reflecting a light beam, e.g. optical touch-screen
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
Definitions
- the present application belongs to the technical field of control, and in particular relates to a control method and device for an infrared touch screen and an infrared touch screen.
- an infrared touch screen includes an infrared emitting element and an infrared receiving element mounted on the outer frame of the touch screen.
- the infrared emitting element and the infrared receiving element form an infrared detection network.
- the touch position of the medium on the infrared touch screen can be determined according to the infrared rays received by the infrared receiving element.
- Embodiments of the present application provide a control method and device for an infrared touch screen, and an infrared touch screen, which can solve the problem that the infrared light emitted by one infrared touch screen is received by the infrared receiving element of another infrared touch screen, causing another infrared touch screen.
- an embodiment of the present application provides a control method for an infrared touch screen
- the infrared touch screen includes a first infrared touch screen and a second infrared touch screen, wherein the first infrared touch screen and the second infrared touch screen
- Each of the control screens includes a connection interface, and the connection interface is used to realize the communication connection between the first infrared touch screen and the second infrared touch screen.
- the first infrared emitting element and the first infrared receiving element arranged opposite to the first infrared emitting element
- Control methods include:
- the connection interface detecting a first signal on the connection interface, where the first signal is used to represent whether the first infrared touch screen and the second infrared touch screen are spliced;
- the first infrared touch screen and the second infrared touch screen are controlled as follows:
- the first infrared emitting element of the first infrared touch screen is controlled to emit infrared rays
- the first infrared touch screen of the first infrared touch screen is controlled to emit infrared rays.
- the receiving element receives infrared rays
- the first infrared emitting element of the first infrared touch screen emits infrared rays
- the first infrared receiving element of the second infrared touch screen is controlled to suspend receiving infrared rays
- the first infrared emitting element of the second infrared touch screen is controlled to emit infrared rays
- the first infrared touch screen of the second infrared touch screen is controlled to emit infrared rays.
- An infrared receiving element receives infrared rays
- the first infrared emitting element of the first infrared touch screen is controlled to stop emitting infrared rays, and i is an odd or even number
- Touch display is performed on the first infrared touch screen and the second infrared touch screen according to the i-th scanning result and the i+1-th scanning result.
- an embodiment of the present application provides a control device for an infrared touch screen
- the infrared touch screen includes a first infrared touch screen and a second infrared touch screen, wherein the first infrared touch screen and the second infrared touch screen
- Each of the infrared touch screens includes a connection interface, and the connection interface is used to realize the communication connection between the first infrared touch screen and the second infrared touch screen.
- a first infrared emitting element that emits infrared rays
- a first infrared receiving element arranged opposite to the first infrared emitting element
- the control device of the infrared touch screen includes:
- a detection module for detecting a first signal on the connection interface, where the first signal is used to represent whether the first infrared touch screen and the second infrared touch screen are spliced;
- a control module configured to perform the following control on the first infrared touch screen and the second infrared touch screen when the first infrared touch screen and the second infrared touch screen are spliced together:
- the first infrared emitting element of the first infrared touch screen is controlled to emit infrared rays
- the first infrared touch screen of the first infrared touch screen is controlled to emit infrared rays.
- the receiving element receives infrared rays
- the first infrared emitting element of the first infrared touch screen emits infrared rays
- the first infrared receiving element of the second infrared touch screen is controlled to suspend receiving infrared rays
- the first infrared emitting element of the second infrared touch screen is controlled to emit infrared rays
- the first infrared touch screen of the second infrared touch screen is controlled to emit infrared rays.
- An infrared receiving element receives infrared rays
- the first infrared emitting element of the first infrared touch screen is controlled to stop emitting infrared rays, and i is an odd or even number
- the display module is configured to perform touch display on the first infrared touch screen and the second infrared touch screen according to the i-th scanning result and the i+1-th scanning result.
- an infrared touch screen including:
- the first infrared touch screen and the second infrared touch screen, wherein the first infrared touch screen and the second infrared touch screen both include:
- connection interface used for splicing the first infrared touch screen and the second infrared touch screen
- a first infrared emitting element that emits infrared rays in a first direction
- a first infrared receiving element arranged opposite to the first infrared emitting element, the first infrared emitting element and the first infrared receiving element are used to scan the infrared touch screen;
- the controller is configured to execute any one of the above-mentioned control methods for an infrared touch screen.
- the first infrared touch screen and the second infrared touch screen are spliced together.
- the control screen is scanned in the following manner: during the i-th scan, the first infrared touch screen scans normally, and when the first infrared touch screen emits infrared rays in the first direction, the second infrared touch screen is used for scanning.
- the first infrared receiving element in the receiving first direction is suspended from receiving infrared rays.
- the second infrared touch screen will not affect the infrared reception of the first infrared touch screen. Therefore, the touch position on the first infrared touch screen can be determined according to the scanning result of the first infrared touch screen coordinate.
- the second infrared touch screen scans normally, and since the first infrared emitting element of the first infrared touch screen stops emitting infrared rays, the infrared rays emitted by the first infrared touch screen are prevented from being transmitted by the second infrared touch screen.
- the infrared touch screen receives and influences the determination of the touch position coordinates on the second infrared touch screen.
- the touch position coordinates on the second infrared touch screen can be accurately determined according to the i+1 th scanning result of the second infrared touch screen.
- FIG. 1 shows a schematic structural diagram of an infrared touch screen in the related art.
- FIG. 2 shows a schematic diagram of an infrared detection network in the related art.
- FIG. 3 shows a schematic diagram of splicing display of two infrared touch screens in the related art.
- FIG. 4 shows a schematic flowchart of an embodiment of a method for controlling an infrared touch screen provided by the present application.
- FIG. 5 shows a schematic diagram of an embodiment of the i-th scan provided by the present application.
- FIG. 6 shows a schematic diagram of an embodiment of the i+1 th scan provided by the present application.
- FIG. 7 shows a schematic structural diagram of an embodiment of an infrared touch screen provided by the present application.
- FIG. 8 shows a schematic structural diagram of another embodiment of the infrared touch screen provided by the present application.
- FIG. 9 shows a schematic diagram of an embodiment of a sequence of a master-slave judgment performed by an infrared touch screen provided by the present application.
- Fig. 10 shows a schematic flowchart of another embodiment of the control method for an infrared touch screen provided by the present application.
- FIG. 11 shows a schematic diagram of an embodiment of an application scenario of the infrared touch screen provided by the present application.
- FIG. 12 shows a schematic diagram of another embodiment of an application scenario of the infrared touch screen provided by the present application.
- FIG. 13 shows a schematic structural diagram of an embodiment of a control device for an infrared touch screen provided by the present application.
- FIG. 1 shows a schematic structural diagram of an infrared touch screen in the related art.
- the infrared touch screen includes an infrared emitting element and an infrared receiving element mounted on the outer frame of the touch screen.
- the letter T in Figure 1 represents the infrared emitting board.
- the infrared emitting board is located on the lower outer frame and the right outer frame of the infrared touch screen.
- infrared emitting boards There are a total of 5 infrared emitting boards, which are located on the lower side of the infrared touch screen. T0, T64 and TX63 of the frame, and TY64 and TY44 of the right outer frame of the infrared touch screen.
- the black dots on each IR emitting plate represent IR emitting elements.
- the letter R in Figure 1 represents the infrared receiving board.
- the infrared receiving board is located on the upper frame and the left frame of the infrared touch screen.
- the black dots on each infrared receiver board represent the infrared receiver elements.
- the infrared emitting elements emit infrared rays in sequence.
- the infrared receiving board of the lower outer frame emits infrared rays first, wherein, starting from the leftmost infrared emitting element in the infrared receiving board T0, each The infrared emitting elements sequentially emit infrared rays.
- each infrared emitting element After the rightmost infrared emitting element in the infrared receiving board TX63 emits infrared rays, starting from the lowermost infrared emitting element in the infrared receiving board TY64, each infrared emitting element emits infrared rays in sequence until the topmost in the infrared receiving board TY44 until the infrared emitting element on the side emits infrared rays.
- FIG. 2 shows a schematic diagram of an infrared detection network in the related art. As shown in FIG. 2 , when the infrared emitting element transmits infrared rays, the correspondingly arranged infrared receiving element receives the infrared rays emitted by the infrared emitting element.
- the intensity of the infrared rays received by the infrared receiving element changes, so it can be determined that the medium is under the infrared touch according to the intensity of the infrared rays received by the infrared receiving element. touch position on the screen.
- the infrared emitting element of one infrared touch screen emits infrared rays toward the receiving direction of the infrared receiving element of the other infrared touch screen, then the infrared The infrared rays will be received by the infrared receiving element of another infrared touch screen.
- the infrared rays emitted by the infrared emitting element located on the right side of the outer frame in the right infrared touch screen may be emitted by the left infrared touch screen located in the outer frame.
- the infrared receiving element on the left side receives, thereby affecting the touch positioning accuracy of the left infrared touch screen.
- the infrared emitting elements of the two infrared touch screens simultaneously emit infrared rays to the left side
- the infrared receiver element of the left infrared touch screen not only receives the infrared rays of the infrared touch screen, but also receives Infrared rays emitted by the infrared emitting elements of the infrared touch screen on the right.
- the infrared rays sent by one infrared touch screen interfere with the reception of infrared rays by another infrared touch screen, resulting in an inaccurate touch position determined by the infrared rays received on the other infrared touch screen.
- embodiments of the present application provide a control method and device for an infrared touch screen, and an infrared touch screen.
- the control method provided by the embodiment of the present application is first introduced below.
- the infrared touch screen in the embodiment of the present application includes a first infrared touch screen and a second infrared touch screen.
- the first infrared touch screen and the second infrared touch screen form a whole when spliced, and the first infrared touch screen and the second infrared touch screen are independent of each other when they are not spliced, and can be used independently.
- Both the first infrared touch screen and the second infrared touch screen are provided with a connection interface, which is used to realize the communication connection between the first infrared touch screen and the second infrared touch screen.
- Each of the control screens includes a first infrared emitting element that emits infrared rays in a first direction, and a first infrared receiving element arranged opposite to the first infrared emitting element.
- the embodiments of the present invention are used to solve the problem of mutual infrared interference when the first infrared touch screen and the second infrared touch screen are spliced together.
- the layout of infrared emitting elements and infrared receiving elements in the existing infrared touch screen shown in FIG. 1, and the corresponding infrared detection network shown in FIG. 2, it can be known that the infrared angle emitted by the infrared emitting elements is limited.
- the emitting elements and the receiving elements at the upper and lower positions of the two infrared touch screens will not cause mutual interference.
- the emitting elements and the receiving elements at the left and right positions of the two infrared touch screens will not cause mutual interference. Therefore, when the first infrared touch screen and the second infrared touch screen are spliced left and right, the first direction is the horizontal direction, and the first infrared emitting element and the first infrared receiving element are respectively arranged on the left and right sides of the infrared touch screen.
- the first direction is the vertical direction
- the first infrared emitting element and the first infrared receiving element are respectively arranged on the upper and lower sides of the infrared touch screen.
- the overall concept of the embodiment of the present invention is described by taking as an example that the first infrared touch screen and the second infrared touch screen are spliced left and right.
- FIG. 4 shows a schematic flowchart of an embodiment of a method for controlling an infrared touch screen provided by the present application. As shown in FIG. 4 , the control method includes S102, S104, S106 and S108.
- S102 Detect a first signal on the connection interface, where the first signal is used to represent whether the first infrared touch screen and the second infrared touch screen are spliced.
- the executive body of the embodiment of the present invention is the controller.
- the controller may be provided in a computing device, for example, in an intelligent control device such as a computer. It can also be set in the first infrared touch screen or the second infrared touch screen.
- the controller can detect the first signal on the connection line between any one of the first infrared touch screen and the second infrared touch screen and the connection interface, so as to detect the signal on the connection interface.
- first signal is used to indicate whether the first infrared touch screen and the second infrared touch screen are spliced.
- the first signal when the first signal is at a high level, it indicates that the first infrared touch screen and the second infrared touch screen are The screens are spliced, and when the first signal is at a low level, it means that the first infrared touch screen and the second infrared touch screen are not spliced.
- the first infrared touch screen and the second infrared touch screen are independent of each other, and each performs touch scanning independently without interfering with each other.
- the i-th scan is exemplarily described below with reference to FIG. 5 .
- the first infrared emitting element 2042 of the first infrared touch screen 202-A and the first infrared emitting element 2042 of the second infrared touch screen 202-B both transmit infrared rays to the left.
- the first infrared touch screen 202-A scans normally, that is, the first infrared emitting element 2042 of the first infrared touch screen 202-A emits infrared rays, and the first infrared touch screen 202-A emits infrared rays.
- the first infrared receiving element 2044 of 202-A receives infrared light.
- the first infrared receiving element 2044 of the second infrared touch screen 202-B suspends receiving infrared rays, while the first infrared emitting element 2042 of the second infrared touch screen 202-B may or may not emit infrared rays.
- the second infrared touch screen 202-B Since the second infrared touch screen 202-B is located on the left side of the first infrared touch screen 202-A, and the second infrared touch screen 202-B transmits infrared rays to the left, the second infrared touch screen 202-B The emitted infrared rays will not affect the infrared reception of the first infrared touch screen 202-A, that is, the first infrared touch screen 202-A will not receive the infrared rays emitted by the second infrared touch screen 202-B. Moreover, the first infrared touch screen 202-A scans normally, so the touch position coordinates on the first infrared touch screen 202-A can be accurately determined according to the scanning result of the first infrared touch screen 202-A.
- the touch position coordinates on the second infrared touch screen 202-B cannot be determined.
- the coordinates of the touch position on the second infrared touch screen 202-B can be determined according to the next scan, which will be described in detail below.
- the above control method also includes the following controls on the first infrared touch screen and the second infrared touch screen:
- the touch position coordinates on the first infrared touch screen and the second infrared touch screen can be determined according to the i-th scanning result and the i+1-th scanning result, respectively, and according to the first infrared touch screen and the The touch position coordinates on the second infrared touch screen are displayed on the first infrared touch screen and the second infrared touch screen.
- the i+1 th scan is exemplarily described below with reference to FIG. 6 .
- the first infrared emitting element 2042 of the first infrared touch screen 202-A and the first infrared emitting element 2042 of the second infrared touch screen 202-B both transmit infrared rays to the left.
- the second infrared touch screen 202-B scans normally, that is, the first infrared emitting element 2042 of the second infrared touch screen 202-B emits infrared rays, and the second infrared touch screen 202-B emits infrared rays.
- the first infrared receiving element 2044 of the control screen 202-B receives infrared rays.
- the first infrared emitting element 2042 of the first infrared touch screen 202-A stops emitting infrared rays
- the infrared rays emitted by the first infrared touch screen 202-A are prevented from being emitted by the second infrared touch screen 202-B.
- the touch position coordinates on the second infrared touch screen 202-B are determined by receiving and influencing. Therefore, the touch position coordinates on the second infrared touch screen 202-B can be accurately determined according to the i+1 th scanning result of the second infrared touch screen 202-B.
- the first infrared touch screen and the second infrared touch screen in the embodiment of the present application may display the same content, for example, the same picture is displayed on the first infrared touch screen and the second infrared touch screen.
- first infrared touch screen and the second infrared touch screen may also display different contents.
- first infrared touch screen displays a part of the content of a certain page
- second infrared touch screen displays another part of the content of the page
- the content displayed on the first infrared touch screen and the second infrared touch screen are spliced together to form a complete page.
- the resolution of the first infrared touch screen and the The resolutions of the second infrared touch screen are integrated to obtain the target resolution.
- the touch position is determined according to the target resolution.
- the resolutions of the first infrared touch screen and the second infrared touch screen are both 1920*1080.
- the description The first infrared touch screen and the second infrared touch screen are spliced together, then the first infrared touch screen and the second infrared touch screen can be combined into a combined infrared touch screen, and the combined infrared touch screen is on the vertical axis.
- the resolution on the horizontal axis is unchanged, while the resolution on the horizontal axis is 2 times 1080, which is 2160.
- the target resolution of the combined infrared touch screen is 1920*2160.
- the number of controllers may be one, and the controller may control the first infrared touch screen and the second infrared touch screen.
- the number of controllers may be two, and the two controllers are jointly used to control two infrared touch screens.
- the controller includes a first controller 208 and a second controller 210.
- the first controller 208 is integrated in the first infrared touch screen 202-A
- the second controller 208 is integrated in the first infrared touch screen 202-A.
- Two infrared touch screens 202-B, the first controller 208 and the second controller 210 are connected in communication through the connection interface 206 .
- One of the first infrared touch screen 202-A and the second infrared touch screen 202-B is a master infrared touch screen, and the other infrared touch screen is a slave infrared touch screen.
- one infrared touch screen of the first infrared touch screen and the second infrared touch screen may be set as the master infrared touch screen in advance, and the other infrared touch screen may be set as the slave infrared touch screen .
- the infrared touch screen on the right is automatically set as the main infrared touch screen
- the infrared touch screen on the left is automatically set as the slave infrared touch screen. touch screen.
- the master infrared touch screen and the slave infrared touch screen may be determined by the controller. Specifically, before performing the above control on the first infrared touch screen 202-A and the second infrared touch screen 202-B, the above control method may further include:
- the first controller 208 or the second controller 210 is set as the master controller or the second controller 210 according to the preset master-slave setting instruction. from the controller.
- the preset master-slave setting instruction is used to make one of the first controller 208 and the second controller 210 the master controller, the other controller is the slave controller, and the infrared touch screen controlled by the master controller is The main infrared touch screen, the infrared touch screen controlled by the slave controller is the slave infrared touch screen.
- the embodiment of the present invention does not limit the triggering manner of the preset master-slave setting instruction.
- the first controller 208 detects that the first signal on the connection interface represents the splicing of the first infrared touch screen 202-A and the second infrared touch screen 202-B
- the first controller 208 detects
- the connection interface changes from low level to high level the preset master-slave setting instruction in the first controller is triggered, and the first controller 208 sets itself as the master controller according to the preset master-slave setting instruction .
- the first controller 208 sends a slave setting instruction to the second controller, so that the second controller 210 sets the second controller 210 itself as a slave controller.
- both the first infrared touch screen and the second infrared touch screen include connection interfaces.
- Each of the connection interfaces includes a first interface and a second interface.
- the first interface integrated on the first infrared touch screen 202-A (the interface A on the first infrared touch screen 202-A) is integrated with the The second interface on the second infrared touch screen (ie, the interface B on the second infrared touch screen) is connected.
- the first controller 208 is connected to the interface A integrated on the first infrared touch screen 202-A
- the second controller 210 is connected to the interface B integrated on the second infrared touch screen.
- Both the first infrared touch screen and the second infrared touch screen further include: a pull-down module 214 and a pull-up module 212.
- a pull-down module 214 As shown in FIG. 8, one end of the pull-down module 214 in the first infrared touch screen 202-A is connected to The other end of the interface A of the first infrared touch screen 202-A, the pull-down module 214 is connected to the low-level signal terminal GND.
- One end of the pull-up module 212 in the second infrared touch screen 202-B is connected to the interface B of the second infrared touch screen 202-B, and the other end of the pull-up module 212 is connected to the high-level signal terminal VCC.
- the pull-down module 214 may be a pull-down resistor, for example, the pull-down module 214 is a pull-down resistor of 1 kiloohm (K ⁇ ).
- the pull-up module 212 can be a pull-up resistor, for example, the pull-up module 212 is a 47K pull-up resistor. It should be understood that the pull-down module 214 and the pull-up module 212 may also be implemented in other manners, such as parallel or series connection between a plurality of resistors. The manner shown in FIG. 8 is only an exemplary manner of the embodiment of the present application, and does not constitute a limitation to the embodiment of the present application.
- the first controller 208 Based on the structure of the infrared touch screen shown in FIG. 8 , in a single-screen state, that is, when the first infrared touch screen 202-A and the second infrared touch screen 202-B are not spliced, the first controller 208 detects that the first signal on the interface A is a low level signal.
- the pull-down module 214 in the first infrared touch screen 202-A and the second infrared touch screen 202-B is in a high-impedance state, the voltage at the interface A is pulled up, and the first controller 208 detects the first interface A on the interface A.
- a signal is a high-level signal. At this time, the first controller 208 determines that the first infrared touch screen 202-A has been spliced with other infrared touch screens.
- the first controller 208 of the first infrared touch screen 202-A After the first infrared touch screen 202-A is the main infrared touch screen by default, the first controller 208 of the first infrared touch screen 202-A performs configuration corresponding to the main infrared touch screen. At the same time, the first controller 208 will pull down the voltage of the interface B of the second infrared touch screen 202-B for several seconds, for example, 3 seconds.
- the second controller 210 of the second infrared touch screen 202-B detects the The voltage to the interface B of the second infrared touch screen 202-B is pulled down for 3 seconds, then the second infrared touch screen 202-B is set as the slave infrared touch screen, and the second controller 210 performs the same operation as the slave infrared touch screen.
- the corresponding configuration of the control screen is
- the above control method may further include:
- the master controller sends a synchronization command to the slave controller, and the synchronization command is used to make the scanning time of the master infrared touch screen and the slave infrared touch screen consistent;
- the slave controller controls the slave infrared touch screen and the master infrared touch screen to start scanning at the same time according to the synchronization instruction.
- the scanning time of the master infrared touch screen and the slave infrared touch screen can be made consistent each time, so as to ensure that the master infrared touch screen and the slave infrared touch screen can work normally.
- FIG. 9 shows a schematic diagram of an embodiment of a sequence of a master-slave judgment performed by an infrared touch screen provided by the present application.
- the first infrared touch screen 202-A and the second infrared touch screen 202-B are in the power-on stage, and the first infrared touch screen 202-A and the second infrared touch screen 202-A and the second infrared touch screen 202-A are in the power-on stage.
- the touch screen 202-B is not spliced.
- the interface A of the first infrared touch screen 202-A is in a low level state
- the interface B of the second infrared touch screen 202-B is in a high level state.
- the interface A of the first infrared touch screen 202-A becomes a high level state, it can be determined that the first infrared touch screen 202-A is the main infrared touch screen, thereby realizing the main infrared touch screen. Touch screen detection.
- the first controller 208 of the first infrared touch screen 202-A pulls down the interface A of the first infrared touch screen 202-A for 3 seconds.
- the second controller 210 of the second infrared touch screen 202-B detects that the signal is pulled low, it can determine that the second infrared touch screen 202-B is a slave infrared touch screen, thereby realizing the slave infrared touch screen detection.
- the master infrared touch screen and the slave infrared touch screen may start to perform infrared scanning at the same time.
- FIG. 10 shows a schematic flowchart of another embodiment of the control method provided by the present application.
- the first infrared touch screen 202-A is powered on. After the first infrared touch screen 202-A is powered on, the first controller 208 of the first infrared touch screen 202-A detects the first infrared touch screen.
- the signal of the interface A of the control screen 202-A if the signal of the interface A is low level, it means that the first infrared touch screen 202-A is not spliced with other infrared touch screens, and scans normally.
- the first controller 208 configures the first infrared touch screen 202-A as the main infrared touch screen.
- the first controller 208 of the first infrared touch screen 202-A pulls down the voltage of the interface A of the first infrared touch screen 202-A for 3 seconds to notify the second infrared touch screen 202-
- the second controller 210 of the second infrared touch screen 202-B After the second controller 210 of the second infrared touch screen 202-B detects that the voltage of the interface B of the second infrared touch screen 202-B is pulled down for 3 seconds, the second controller 210 controls the second infrared touch screen Screen 202-B is configured from the infrared touch screen.
- the first controller 208 of the first infrared touch screen 202-A can also send a scan synchronization signal to the interface B of the second infrared touch screen 202-B through the interface A, so that the first infrared touch screen 202-A and the The second infrared touch screen 202-B starts to scan at the same time, and alternately scans using the two scanning methods shown in FIG. 4 .
- the first controller 208 sets the first infrared touch screen 202-A as the main infrared touch screen according to the first signal, and sends the second infrared touch screen to the second infrared touch screen through the connection interface.
- the above control method may further include:
- the second controller 210 sends a master-slave switching signal to the first controller 208 through the connection interface, and the second controller 210 sets the second infrared touch screen 202-B as the master infrared touch screen;
- the first infrared touch screen 202-A is set as the slave infrared touch screen.
- the first infrared touch screen 202-A is set as the master infrared touch screen
- the second infrared touch screen 202-B is set as the slave infrared touch screen
- the first infrared touch screen 202-A The second infrared touch screen 202-B can be notified through a private protocol, so that the second infrared touch screen 202-B becomes the main infrared touch screen.
- the voltage of the interface B of the second infrared touch screen 202-B is pulled down for 3 seconds, the second infrared touch screen 202-B is set as the main infrared touch screen.
- the first controller 208 of the first infrared touch screen 202-A detects the After the voltage of the interface A of an infrared touch screen 202-A is pulled down for 3 seconds, the first infrared touch screen 202-A is set as the slave infrared touch screen.
- master-slave switching between the first infrared touch screen 202-A and the second infrared touch screen 202-B is realized.
- the above-mentioned master-slave switching signal is the voltage of the interface B of the above-mentioned second infrared touch screen 202-B being pulled down for 3 seconds.
- the first infrared touch screen is a master infrared touch screen
- the second infrared touch screen is a slave infrared touch screen; between the first infrared touch screen and the second infrared touch screen
- the control of the first infrared touch screen and the second infrared touch screen may specifically include:
- the master controller controls the master infrared touch screen to scan according to the preset first scan instruction, and the master controller sends a preset second scan instruction to the slave controller, so that the slave controller scans the slave controller according to the preset second scan instruction.
- the preset first scan instruction is used to control the first infrared emitting element of the main infrared touch screen to emit infrared rays, and the first infrared receiving element of the main infrared touch screen to receive infrared rays in the case of the i-th scan, and In the case of the i+1th scan, control the first infrared emitting element of the main infrared touch screen to suspend infrared emission;
- the preset second scan instruction is used to control the emission of infrared rays from the first infrared emitting element of the infrared touch screen and to receive infrared rays from the first infrared receiving element of the infrared touch screen in the case of the i+1th scan, and In the case of the i-th scan, the control is to suspend the reception of infrared rays from the first infrared receiving element of the infrared touch screen.
- the master controller controls the master infrared touch screen to scan
- the slave controller controls the slave infrared touch screen to scan, so that the master infrared touch screen and the slave infrared touch screen are controlled by their respective controllers. Take control.
- S108 may include:
- the master controller determines the first touch position coordinates on the master infrared touch screen according to the i-th scanning result; the slave controller determines the second touch position coordinates on the slave infrared touch screen according to the i+1-th scanning result ; The master controller and the slave controller respectively perform touch display according to the coordinates of the first touch position and the coordinates of the second touch position.
- the following is an exemplary description of the touch display performed by the master controller and the slave controller according to the coordinates of the first touch position and the coordinates of the second touch position, respectively.
- the master controller controls the master infrared touch screen to perform touch display according to the first touch position coordinates
- the slave controller controls the slave infrared touch screen to perform touch display according to the second touch position coordinates
- the slave controller may report the second touch position coordinates to the master controller.
- the master controller After the master controller receives the coordinates of the second touch position reported by the slave controller, the master controller corrects the coordinates of the second touch position according to the infrared rays received from the infrared touch screen during the i-th scan, and obtains the corrected coordinates. The coordinates of the second touch position.
- the master controller may send the corrected second touch position coordinates to the slave controller, so that the slave controller performs touch display according to the corrected second touch position coordinates.
- the master controller can determine the target display page to be displayed from the infrared touch screen according to the corrected second touch position coordinates, and send the target display page to the slave controller, so that the slave controller can control the target display page.
- the monitor displays the target display page.
- the slave controller determines that the user is on the third infrared touch screen Second touch position coordinates, and then send the second touch position coordinates to the main controller.
- the main controller corrects the coordinates of the second touch position, and determines the target display page according to the corrected coordinates of the second touch position.
- the master controller sends the control instructions for controlling the display of the target display page to the master infrared touch screen and the slave infrared touch screen respectively, so that the master infrared touch screen and the slave infrared touch screen respectively display the target Display the page.
- the content displayed on the master infrared touch screen and the slave infrared touch screen can be updated synchronously, and the same content can be continuously displayed.
- the master infrared touch screen and the slave infrared touch screen display different content
- the master infrared touch screen displays a part of a certain page
- the slave infrared touch screen displays another part of the page.
- the slave controller determines the second touch position coordinates of the user on the slave infrared touch screen, and then sends the second touch position coordinates to the master controller.
- the main controller determines the target display page according to the coordinates of the second touch position, and sends the control instruction for displaying the first part of the target display page to the main infrared touch screen, and sends the control instruction for displaying the second part of the target display page to the main infrared touch screen.
- Commands are sent to the slave infrared touch screen.
- the content displayed on the main infrared touch screen and the secondary infrared touch screen can be updated synchronously, and the content displayed on the main infrared touch screen and the secondary infrared touch screen can be spliced into a complete picture.
- the main controller determines the coordinates of the first touch position on the main infrared touch screen
- the control instructions corresponding to the coordinates of the first touch position are respectively issued To master IR touchscreen and slave IR touchscreen.
- the content displayed on the main infrared touch screen and the secondary infrared touch screen can be updated synchronously, and the main infrared touch screen and the secondary infrared touch screen continue to display the same content or the displayed content can be spliced into a complete picture .
- each infrared touch screen further includes: a second infrared emitting element for emitting infrared rays in the second direction, and a second infrared receiving element disposed opposite to the second infrared emitting element , the second direction is perpendicular to the first direction.
- both the first infrared touch screen 202-A and the second infrared touch screen 202-B further include: a second infrared emitting element 2064 for emitting infrared rays upward, and a second infrared emitting element 2064 connected to the second infrared touch screen.
- the emitting element 2064 is opposite to the second infrared receiving element 2062.
- control method may further include:
- the second infrared emitting element 2064 of the first infrared touch screen 202-A and the second infrared emitting element 2064 of the second infrared touch screen 202-B are controlled
- the infrared emitting element 2064 emits infrared rays
- the second infrared receiving element 2062 of the first infrared touch screen 202-A and the second infrared emitting element 2064 of the second infrared touch screen 202-B receive infrared rays.
- S108 may include:
- the coordinates of the first touch position on the first infrared touch screen 202-A are determined according to the first infrared rays and the second infrared rays received during the ith scan, wherein the first infrared rays are the first infrared rays during the ith scan.
- the infrared rays received by the first infrared receiving element of the touch screen 202-A, and the second infrared rays are the infrared rays received by the second infrared receiving element 2062 of the first infrared touch screen 202-A during the i-th scan;
- the coordinates of the second touch position on the second infrared touch screen 202-B are determined according to the fourth infrared rays and the fifth infrared rays received during the i+1th scan, where the fourth infrared rays are the i+1th scan Infrared rays received by the first infrared receiving element of the second infrared touch screen 202-B, the fifth infrared rays are received by the second infrared receiving element 2062 of the second infrared touch screen 202-B during the i+1th scan infrared rays;
- the coordinates of the second touch position are corrected to obtain the corrected second touch position coordinates, where the sixth infrared rays are the second infrared touch during the i-th scan Infrared rays received by the second infrared receiving element 2062 of the screen 202-B;
- touch display is performed on the first infrared touch screen 202-A and the second infrared touch screen 202-B, i>1.
- the second infrared emitting element 2064 of each infrared touch screen emits infrared rays
- the second infrared receiving element 2062 of each infrared touch screen receives infrared rays.
- the touch position on the second infrared touch screen 202-B cannot be determined according to the i-th scan result. coordinate.
- the infrared signal received by the second infrared receiving element 2062 of the second infrared touch screen 202-B during the ith scan is not disturbed. Therefore, the second infrared touch screen 202-B during the ith scan is not disturbed.
- the infrared signal received by the second infrared receiving element 2062 can be used to correct the scan result of the i+1th second infrared touch screen 202-B.
- the first infrared emitting element of the first infrared touch screen 202-A stops emitting infrared rays, so that the first infrared touch screen 202 cannot be determined according to the i-1th scan result. - Touch position coordinates on A.
- the infrared signal received by the second infrared receiving element 2062 of the first infrared touch screen 202-A during the i-1th scan is not disturbed. Therefore, during the i-1th scan, the first infrared touch The infrared signal received by the second infrared receiving element 2062 of the screen 202-A can be used to correct the scanning result of the i-th first infrared touch screen 202-A.
- control method may further include:
- the first infrared receiving element of the second infrared touch screen 202-B After controlling the first infrared receiving element of the second infrared touch screen 202-B to stop receiving infrared rays, and when the first infrared emitting element of the first infrared touch screen 202-A stops emitting infrared rays, control the second infrared
- the first infrared transmitting element of the touch screen 202-B emits infrared rays, and controls the first infrared receiving element of the second infrared touch screen 202-B to receive infrared rays;
- the first infrared emitting element of the first infrared touch screen 202-A After controlling the first infrared emitting element of the first infrared touch screen 202-A to stop emitting infrared rays, and when the first infrared emitting element of the second infrared touch screen 202-B ends emitting infrared rays, control the first infrared emitting element of the second infrared touch screen 202-B to stop emitting infrared rays.
- the first infrared emitting element of the touch screen 202-A emits infrared rays.
- the first controller 208 corresponding to the first infrared touch screen 202-A sends a signal to start scanning to the second controller 210 corresponding to the second infrared touch screen 202-B through the connection interface to notify The second infrared touch screen 202-B performs infrared scanning, and then the first infrared touch screen 202-A and the second infrared touch screen 202-B simultaneously scan from the second infrared emitting element 2064 on the leftmost side.
- the first infrared touch screen 202-A performs normal scanning, and the last second infrared emitting element 2064 (ie, the second infrared emitting element C) of the second infrared touch screen 202-B ends.
- the second infrared touch screen 202-B suspends emitting infrared rays, and the second infrared touch screen 202-B suspends receiving infrared rays.
- both the first infrared touch screen 202-A and the second infrared touch screen 202-B are a complete one scan during the i-th scan.
- the second infrared touch screen 202-B performs a normal scan, and the last second infrared emitting element 2064 of the first infrared touch screen 202-A (ie the infrared emitting element E) In the case of ending the scanning, the first infrared touch screen 202-A suspends emitting infrared rays and suspends receiving infrared rays.
- the second infrared touch screen 202-B wait for the second infrared touch screen 202-B to finish scanning, when the second infrared touch screen 202-B is scanned (that is, the infrared emitting element F of the second infrared touch screen 202-B is scanned), the first The first infrared emitting element 2042 of an infrared touch screen 202-A emits infrared rays, and the first infrared receiving element 2044 of the first infrared touch screen 202-A receives infrared rays. Therefore, the first infrared touch screen 202-A and the second infrared touch screen 202-B are both a complete one scan during the i+1th scan.
- the present application further provides a control device for an infrared touch screen.
- the infrared touch screen includes a first infrared touch screen and a second infrared touch screen, the first infrared touch screen and the second infrared touch screen each include a connection interface, and the connection interface is used to realize the first infrared touch screen and the second infrared touch screen.
- the first infrared touch screen and the second infrared touch screen each include a first infrared emitting element that emits infrared rays in a first direction and a first infrared receiving element arranged opposite to the first infrared emitting element. element.
- FIG. 13 shows a schematic structural diagram of an embodiment of the control device for the infrared touch screen provided by the present application.
- control device 300 includes:
- the detection module 302 is used to detect the first signal on the connection interface, and the first signal is used to represent whether the first infrared touch screen and the second infrared touch screen are spliced;
- the first control module 304 is configured to perform the following control on the first infrared touch screen and the second infrared touch screen when the first infrared touch screen and the second infrared touch screen are spliced together:
- the first infrared emitting element of the first infrared touch screen is controlled to emit infrared rays
- the first infrared touch screen of the first infrared touch screen is controlled to emit infrared rays.
- the receiving element receives infrared rays, and when the first infrared emitting element of the first infrared touch screen emits infrared rays, the first infrared receiving element of the second infrared touch screen is controlled to suspend receiving infrared rays;
- the first infrared emitting element of the second infrared touch screen is controlled to emit infrared rays
- the first infrared touch screen of the second infrared touch screen is controlled to emit infrared rays.
- An infrared receiving element receives infrared rays
- the first infrared emitting element of the first infrared touch screen is controlled to stop emitting infrared rays, and i is an odd or even number
- the display module 306 is configured to perform touch display on the first infrared touch screen and the second infrared touch screen according to the i-th scanning result and the i+1-th scanning result.
- the first infrared touch screen and the second infrared touch screen are scanned in the following manner: during the i-th scan , the first infrared touch screen scans normally, and when the first infrared touch screen emits infrared rays in the first direction, the first infrared receiving element of the second infrared touch screen for receiving in the first direction is suspended Receive infrared. In this case, the second infrared touch screen will not affect the infrared reception of the first infrared touch screen.
- the touch position on the first infrared touch screen can be determined according to the scanning result of the first infrared touch screen coordinate.
- the second infrared touch screen scans normally, and since the first infrared emitting element of the first infrared touch screen stops emitting infrared rays, the infrared rays emitted by the first infrared touch screen are prevented from being transmitted by the second infrared touch screen.
- the infrared touch screen receives and influences the determination of the touch position coordinates on the second infrared touch screen. In this way, the touch position coordinates on the second infrared touch screen can be accurately determined according to the i+1 th scanning result of the second infrared touch screen.
- the infrared rays sent by one infrared touch screen are received by the infrared receiving element of the other infrared touch screen when the two screens are spliced, and the infrared rays received by each infrared touch infrared touch screen will not interfere with each other. , thereby improving the accuracy of locating the touch position of the infrared touch device.
- each infrared touch screen further includes: a second infrared emitting element for emitting infrared rays in the second direction, and a second infrared receiving element disposed opposite to the second infrared emitting element , the second direction is perpendicular to the first direction.
- control device 300 may further include:
- the second control module is used to control the second infrared emitting element of each infrared touch screen to emit infrared rays under the condition of performing the i-th scan or the i+1-th scan, and the second infrared emitting element of each infrared touch screen Two infrared receiving elements receive infrared rays.
- the display module 306 may include:
- the first determining unit is used to determine the coordinates of the first touch position on the first infrared touch screen according to the first infrared and the second infrared received during the ith scan; wherein the first infrared is the ith scan the infrared rays received by the first infrared receiving element of the first infrared touch screen, and the second infrared rays are the infrared rays received by the second infrared receiving element of the first infrared touch screen during the i-th scan;
- the first correction unit is used for correcting the coordinates of the first touch position according to the third infrared rays received during the i-1th scan to obtain the corrected second touch position coordinates; wherein, the third infrared rays are the first touch position coordinates. Infrared rays received by the second infrared receiving element of the first infrared touch screen during i-1 scan;
- the second determining unit is configured to determine the coordinates of the second touch position on the second infrared touch screen according to the fourth and fifth infrared rays received during the i+1th scan; wherein, the fourth infrared rays are the ith infrared rays The infrared rays received by the first infrared receiving element of the second infrared touch screen during the +1 scan, and the fifth infrared rays are the infrared rays received by the second infrared receiving element of the second infrared touch screen during the i+1th scan;
- the second correction unit is used for correcting the coordinates of the first touch position according to the sixth infrared rays received during the ith scan to obtain the corrected coordinates of the first touch position; wherein, the sixth infrared rays are the ith time Infrared rays received by the second infrared receiving element of the second infrared touch screen during scanning;
- the display unit is configured to perform touch display on the first infrared touch screen and the second infrared touch screen according to the corrected first touch position coordinates and the corrected second touch position coordinates.
- the coordinates of the touch position obtained this time are corrected based on the infrared rays received by the second infrared receiving element last time, so that not only the data generated during scanning can be fully utilized, but also the second infrared receiving element can be more accurately determined. Touch position coordinates on the infrared touch screen.
- control device 300 may further include:
- the third control module is configured to control the second infrared touch screen after controlling the first infrared receiving element of the second infrared touch screen to stop receiving infrared rays and when the first infrared emitting element of the first infrared touch screen stops emitting infrared rays
- the first infrared sending element of the infrared touch screen emits infrared rays, and controls the first infrared receiving element of the second infrared touch screen to receive infrared rays;
- the fourth control module is used for controlling the first infrared emitting element of the first infrared touch screen to stop emitting infrared rays and when the first infrared emitting element of the second infrared touch screen stops emitting infrared rays.
- the first infrared emitting element of the infrared touch screen emits infrared rays.
- the first infrared touch screen and the second infrared touch screen can be a complete one scan each time they are scanned.
- the present application provides an infrared touch screen for implementing the above control method.
- the infrared touch screen includes: a first infrared touch screen and a second infrared touch screen. Both the first infrared touch screen and the second infrared touch screen include:
- connection interface for realizing the communication connection between the first infrared touch screen and the second infrared touch screen
- a first infrared emitting element that emits infrared rays in a first direction
- the controller is used to execute any one of the above control methods.
- connection interface of the first infrared touch screen and the connection interface of the second infrared touch screen respectively include a first interface and a second interface, which are integrated on the first infrared touch screen
- the first interface of the device is connected with the second interface integrated on the second infrared touch screen, so as to realize the splicing of the first infrared touch screen and the second infrared touch screen.
- the infrared touch screen further includes a pull-down module and a pull-up module, one end of the pull-down module is connected to the first interface, the other end of the pull-down module is connected to the low-level signal end, and one end of the pull-up module is connected to the second interface, and the pull-up module is connected to the second interface. The other end of the module is connected to the high-level signal terminal.
- the first controller included in the first infrared touch screen and the second controller included in the second infrared touch screen are communicatively connected through a connection interface.
- the first controller or the second controller is used to: set the master controller or the slave controller according to the preset master-slave setting instruction, and preset the master-slave setting instruction.
- the master-slave setting instruction is used to make one of the first controller and the second controller the master controller, the other controller as the slave controller, and the infrared touch screen controlled by the master controller is the master infrared touch screen.
- Control screen, the infrared touch screen controlled by the controller is the slave infrared touch screen.
- the master controller is used to send a synchronization command to the slave controller, and the synchronization command is used to synchronize the scanning of the master infrared touch screen and the slave infrared touch screen.
- the slave controller is used to control the slave infrared touch screen and the master infrared touch screen to start synchronous scanning according to the synchronization instruction.
- the main controller is specifically used for:
- the master infrared touch screen is controlled to scan according to the preset first scan instruction; and the preset second scan instruction is sent to the slave controller.
- the slave controller is specifically used for:
- Touch scanning is performed on the slave infrared touch screen according to the preset second scanning instruction.
- the preset first scan instruction is used to control the first infrared emitting element of the main infrared touch screen to emit infrared rays, and the first infrared receiving element of the main infrared touch screen to receive infrared rays in the case of the i-th scan, and In the case of the i+1th scan, the first infrared emitting element controlling the main infrared touch screen suspends emitting infrared rays.
- the preset second scan instruction is used to control the emission of infrared rays from the first infrared emitting element of the infrared touch screen and to receive infrared rays from the first infrared receiving element of the infrared touch screen in the case of the i+1th scan, and In the case of the i-th scan, the first infrared receiving element of the infrared touch screen is controlled to suspend receiving infrared rays; i is an odd or even number.
- the first controller is configured to set the first infrared touch screen as the main infrared touch screen when the first infrared touch screen and the second infrared touch screen are spliced together , and send a second preset signal to the second controller through the connection interface, where the second preset signal is used to indicate that the first infrared touch screen is the main infrared touch screen;
- the second controller is configured to set the second infrared touch screen as the slave infrared touch screen according to the received second preset signal.
- the first controller and the second controller may be a Microcontroller Unit (MCU), or a central processing unit (CPU), or a specific integrated circuit (Application Specific Integrated Circuit, ASIC), or may be configured to implement the present application one or more integrated circuits of an embodiment.
- MCU Microcontroller Unit
- CPU central processing unit
- ASIC Application Specific Integrated Circuit
- the second controller is further configured to:
- the master-slave switching signal is sent to the first controller through the connection interface, and the second infrared touch screen is set as the master infrared touch screen.
- the first controller is further configured to set the first infrared touch screen as a slave infrared touch screen in the case of a master-slave switching signal received through the connection interface.
- the embodiments of the present application may be implemented by providing a computer-readable storage medium.
- Computer program instructions are stored on the computer-readable storage medium; when the computer program instructions are executed by the processor, any one of the control methods in the foregoing embodiments is implemented.
- the functional blocks shown in the above structural block diagrams may be implemented as hardware, software, firmware, or a combination thereof.
- hardware When implemented in hardware, it may be, for example, an electronic circuit, an application specific integrated circuit (ASIC), suitable firmware, a plug-in, a function card, or the like.
- ASIC application specific integrated circuit
- elements of the present application are programs or code segments used to perform the required tasks.
- the program or code segments may be stored in a machine-readable medium or transmitted over a transmission medium or communication link by a data signal carried in a carrier wave.
- a "machine-readable medium” may include any medium that can store or transmit information.
- machine-readable media examples include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, and the like.
- the code segments may be downloaded via a computer network such as the Internet, an intranet, or the like.
- processors may be, but are not limited to, general purpose processors, special purpose processors, application specific processors, or field programmable logic circuits. It will also be understood that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can also be implemented by special purpose hardware for performing the specified functions or actions, or by special purpose hardware and/or A combination of computer instructions is implemented.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Position Input By Displaying (AREA)
Abstract
本申请公开了一种红外触控屏的控制方法、装置及红外触控屏。红外触控屏包括第一红外触控屏和第二红外触控屏;第一红外触控屏和第二红外触控屏均包括连接接口;控制方法包括:检测连接接口上的第一信号;在第一红外触控屏和第二红外触控屏拼接的情况下,在第i次扫描时,控制第一红外触控屏发射红外线和接收红外线,在第一红外触控屏发射红外线时,控制第二红外触控屏暂停接收红外线;在第i+1次扫描时,控制第二红外触控屏的发射红外线和接收红外线,以及在第二红外触控屏接收红外线时,控制第一红外触控屏暂停发射红外线。本申请实施例,避免由于红外触控屏接收另一红外触控屏发送的红外线导致确定的触控位置不准确。
Description
相关申请的交叉引用
本申请主张在2020年12月17日在中国提交的中国专利申请号202011497797.2的优先权,其全部内容通过引用包含于此。
本申请属于控制技术领域,尤其涉及一种红外触控屏的控制方法、装置及红外触控屏。
众所周知,红外触控屏包括装在触控屏外框上的红外发射元件与红外接收元件。其中,红外发射元件和红外接收元件形成红外线探测网。当介质在红外触控屏上进行触控操作的情况下,可以根据红外接收元件接收到的红外线,确定介质在红外触控屏上的触控位置。
但是,在两个红外触控屏拼接在一起进行显示时,如果一个红外触控屏的红外发射元件向着另一个红外触控屏的红外接收元件的接收方向发射红外线,那么一个红外触控屏发射的红外线就会被另一个红外触控屏的红外接收元件所接收,如此就会导致另一个红外触控屏上据此接收到的红外线确定出的触控位置不准确。
发明内容
本申请实施例提供一种红外触控屏的控制方法、装置及红外触控屏,能够解决由于一个红外触控屏发射的红外线被另一个红外触控屏的红外接收元件所接收,导致另一个红外触控屏上据此接收到的红外线确定出的触控位置不准确的技术问题。
一方面,本申请实施例提供一种红外触控屏的控制方法,红外触控屏 包括第一红外触控屏和第二红外触控屏,其中,第一红外触控屏和第二红外触控屏均包括连接接口,连接接口用于实现第一红外触控屏和第二红外触控屏的通信连接,第一红外触控屏和第二红外触控屏均包括向第一方向发射红外线的第一红外发射元件以及与第一红外发射元件相对设置的第一红外接收元件,
控制方法包括:
检测连接接口上的第一信号,所述第一信号用于表征所述第一红外触控屏和所述第二红外触控屏是否进行拼接;
在所述第一红外触控屏和所述第二红外触控屏拼接的情况下,对第一红外触控屏和第二红外触控屏进行如下的控制:
在第一红外触控屏和第二红外触控屏进行第i次扫描的情况下,控制第一红外触控屏的第一红外发射元件发射红外线,且第一红外触控屏的第一红外接收元件接收红外线,以及在第一红外触控屏的第一红外发射元件发射红外线的情况下,控制第二红外触控屏的第一红外接收元件暂停接收红外线,
在第一红外触控屏和第二红外触控屏进行第i+1次扫描的情况下,控制第二红外触控屏的第一红外发射元件发射红外线,且第二红外触控屏的第一红外接收元件接收红外线,以及在第二红外触控屏的第一红外接收元件接收红外线的情况下,控制第一红外触控屏的第一红外发射元件暂停发射红外线,i为奇数或偶数;
根据第i次扫描结果和第i+1次扫描结果在第一红外触控屏和第二红外触控屏进行触控显示。
另一方面,本申请实施例提供了一种红外触控屏的控制装置,红外触控屏包括第一红外触控屏和第二红外触控屏,其中,第一红外触控屏和第二红外触控屏均包括连接接口,连接接口用于实现第一红外触控屏和第二红外触控屏的通信连接,第一红外触控屏和第二红外触控屏均包括向第一方向发射红外线的第一红外发射元件以及与第一红外发射元件相对设置的第一红外接收元件,
红外触控屏的控制装置包括:
检测模块,用于检测连接接口上的第一信号,所述第一信号用于表征所述第一红外触控屏和所述第二红外触控屏是否进行拼接;
控制模块,用于在所述第一红外触控屏和所述第二红外触控屏拼接的情况下,对第一红外触控屏和第二红外触控屏进行如下的控制:
在第一红外触控屏和第二红外触控屏进行第i次扫描的情况下,控制第一红外触控屏的第一红外发射元件发射红外线,且第一红外触控屏的第一红外接收元件接收红外线,以及在第一红外触控屏的第一红外发射元件发射红外线的情况下,控制第二红外触控屏的第一红外接收元件暂停接收红外线,
在第一红外触控屏和第二红外触控屏进行第i+1次扫描的情况下,控制第二红外触控屏的第一红外发射元件发射红外线,且第二红外触控屏的第一红外接收元件接收红外线,以及在第二红外触控屏的第一红外接收元件接收红外线的情况下,控制第一红外触控屏的第一红外发射元件暂停发射红外线,i为奇数或偶数;
显示模块,用于根据第i次扫描结果和第i+1次扫描结果在所述第一红外触控屏和所述第二红外触控屏进行触控显示。
再一方面,本申请实施例提供了一种红外触控屏,包括:
第一红外触控屏和第二红外触控屏,其中,第一红外触控屏和第二红外触控屏均包括:
连接接口,用于第一红外触控屏和第二红外触控屏的拼接;
向第一方向发射红外线的第一红外发射元件;
与第一红外发射元件相对设置的第一红外接收元件,第一红外发射元件和第一红外接收元件用于对红外触控屏进行扫描;
控制器,用于执行上述任意一项的红外触控屏的控制方法。
本申请实施例的红外触控屏的控制方法、装置及红外触控屏,在第一红外触控屏和第二红外触控屏拼接的情况下,第一红外触控屏和第二红外触控屏采用如下方式扫描:在第i次扫描时,第一红外触控屏正常扫描,并且在第一红外触控屏在第一方向上发射红外线的情况下,第二红外触控屏的用于接收第一方向上的第一红外接收元件暂停接收红外线。在此情况 下,第二红外触控屏不会影响第一红外触控屏的红外线接收,因此,可以根据第一红外触控屏的扫描结果来确定第一红外触控屏上的触控位置坐标。在第i+1次扫描时,第二红外触控屏正常扫描,而且由于第一红外触控屏的第一红外发射元件暂停发射红外线,避免了第一红外触控屏发射的红外线被第二红外触控屏所接收而影响确定第二红外触控屏上的触控位置坐标。如此,可以根据第i+1次第二红外触控屏的扫描结果来准确地确定第二红外触控屏上的触控位置坐标。通过上述控制方式,避免了两个屏幕拼接时由于一个红外触控屏发送的红外线被另外一个红外触控屏的红外接收元件接收,各红外触控红外触控屏接收到的红外线不会相互干扰,从而提高了红外触控设备定位触控位置的准确度。
为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例中所需要使用的附图作简单地介绍,显而易见地,下面所描述的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1示出了相关技术中的红外触控屏的结构示意图。
图2示出了相关技术中的红外线探测网的示意图。
图3示出了相关技术中的两个红外触控屏拼接显示的示意图。
图4示出了本申请提供的红外触控屏的控制方法的一个实施例的流程示意图。
图5示出了本申请提供的第i次扫描时的一个实施例的场景示意图。
图6示出了本申请提供的第i+1次扫描时的一个实施例的场景示意图。
图7示出了本申请提供的红外触控屏的一个实施例的结构示意图。
图8示出了本申请提供的红外触控屏的另一个实施例的结构示意图。
图9示出了本申请提供的红外触控屏进行主从判断的时序的一个实施例的示意图。
图10示出了本申请提供的红外触控屏的控制方法的另一个实施例的 流程示意图。
图11示出了本申请提供的红外触控屏的应用场景的一个实施例的示意图。
图12示出了本申请提供的红外触控屏的应用场景的另一个实施例的示意图。
图13示出了本申请提供的红外触控屏的控制装置的一个实施例的结构示意图。
下面将详细描述本申请的各个方面的特征和示例性实施例,为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及具体实施例,对本申请进行进一步详细描述。应理解,此处所描述的具体实施例仅意在解释本申请,而不是限定本申请。对于本领域技术人员来说,本申请可以在不需要这些具体细节中的一些细节的情况下实施。下面对实施例的描述仅仅是为了通过示出本申请的示例来提供对本申请更好的理解。
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括……”限定的要素,并不排除在包括要素的过程、方法、物品或者设备中还存在另外的相同要素。
现有的红外触控屏中的红外发射元件设置于触控屏外框的右侧,左侧设置有与该红外发射元件相对应的红外接收元件。图1示出了相关技术中的红外触控屏的结构示意图。如图1所示,红外触控屏包括装在触控屏外框上的红外发射元件与红外接收元件。图1中的字母T代表的是红外发射板,红外发射板位于红外触控屏的下侧外框和右侧外框,共5块红外发射 板,分别是位于红外触控屏的下侧外框的T0、T64和TX63,以及位于红外触控屏的右侧外框的TY64以及TY44。每个红外发射板上的黑点表示红外发射元件。
图1中的字母R代表的是红外接收板,红外接收板位于红外触控屏的上侧外框和左侧外框,共5块红外接收板,分别是位于红外触控屏的上侧外框的RX64、R64和RX63,以及位于红外触控屏的左侧外框的RY64以及RY44。每个红外接收板上的黑点表示红外接收元件。
红外触控屏在进行红外扫描时,红外发射元件依次发射红外线,比如,下侧外框的红外接收板先发射红外线,其中,从红外接收板T0中的最左侧的红外发射元件开始,各个红外发射元件依次发射红外线。在红外接收板TX63中的最右侧的红外发射元件发射完红外线之后,从红外接收板TY64中的最下侧的红外发射元件开始,各个红外发射元件依次发射红外线,直到红外接收板TY44中最上侧的红外发射元件发射完红外线为止。
上述的红外发射元件和红外接收元件形成红外线探测网。图2示出了相关技术中的红外线探测网的示意图。如图2所示,红外发射元件发送红外线的情况下,对应设置的红外接收元件接收该红外发射元件所发射的红外线。如此,当介质在红外触控屏上进行触控操作的情况下,红外接收元件接收到的红外线的强度发生变化,由此可以根据红外接收元件接收到的红外线的强度,确定介质在红外触控屏上的触控位置。
但是,在两个红外触控屏拼接在一起显示时,如果一个红外触控屏的红外发射元件向着另一个红外触控屏的红外接收元件的接收方向发射红外线,那么一个红外触控屏发射的红外线就会被另一个红外触控屏的红外接收元件所接收。例如,在两个或以上上述红外触控屏左右拼接的情况下,右侧红外触控屏中位于外框右侧的红外发射元件发射的红外线可能会被左侧红外触控屏中位于外框左侧的红外接收元件接收,从而影响左侧红外触控屏的触控定位准确度。
比如,如图3所示,两个红外触控屏的红外发射元件同时向左侧发射红外线,那么左侧红外触控屏的红外接收元件不仅接收到该红外触控屏的红外线,还接收到右侧红外触控屏的红外发射元件发射的红外线。
如此,出现了一个红外触控屏发送的红外线干扰另一个红外触控屏接收红外线,导致另一个红外触控屏上据此接收到的红外线确定出的触控位置不准确。
为了解决上述技术问题,本申请实施例提供了一种红外触控屏的控制方法、装置及红外触控屏。下面首先对本申请实施例所提供的控制方法进行介绍。
本申请实施例中的红外触控屏包括第一红外触控屏和第二红外触控屏。第一红外触控屏和第二红外触控屏在拼接时构成一个整体,第一红外触控屏和第二红外触控屏在未拼接时相互独立,可以单独使用。第一红外触控屏和第二红外触控屏均设置有连接接口,用于实现第一红外触控屏和第二红外触控屏的通信连接,第一红外触控屏和第二红外触控屏均包括向第一方向发射红外线的第一红外发射元件以及与第一红外发射元件相对设置的第一红外接收元件。
应理解,本发明实施例用于解决第一红外触控屏和第二红外触控屏拼接时的红外线相互干扰问题。根据如图1所示的现有的红外触控屏中红外发射元件及红外接收元件的布局,以及相应的图2示出的红外探测网可知,红外发射元件发射的红外线角度有限,因此,当第一红外触控屏和第二红外触控屏左右拼接时,两个红外触控屏上下位置的发射元件和接收元件不会造成相互干扰。当第一红外触控屏和第二红外触控屏上下拼接时,两个红外触控屏左右位置的发射元件和接收元件不会造成相互干扰。因此,当第一红外触控屏与第二红外触控屏左右拼接时,第一方向为水平方向,第一红外发射元件和第一红外接收元件分别设置在红外触控屏的左右两侧。当第一红外触控屏与第二红外触控屏上下拼接时,第一方向为垂直方向,第一红外发射元件和第一红外接收元件分别设置在红外触控屏的上下两侧。本发明实施例以第一红外触控屏和第二红外触控屏为左右拼接为例对本发明实施例的整体构思进行说明。
基于上述红外触控屏,下面说明应用于上述红外触控屏的控制方法。图4示出了本申请提供的红外触控屏的控制方法的一个实施例的流程示意图。如图4所示,控制方法包括S102、S104、S106和S108。
S102,检测连接接口上的第一信号,第一信号用于表征第一红外触控屏和第二红外触控屏是否进行拼接。
本发明实施例的执行主体是控制器。该控制器可以设置在计算设备中,例如,设置在计算机等智能控制设备中。也可以设置在第一红外触控屏或第二红外触控屏中。在S102中,控制器可以检测第一红外触控屏和第二红外触控屏中的任意一个红外触控屏与连接接口之间的连接线上的第一信号,如此实现检测连接接口上的第一信号。第一信号用于表征第一红外触控屏和第二红外触控屏是否进行拼接,比如,在第一信号为高电平的情况下,表征第一红外触控屏和第二红外触控屏进行了拼接,在第一信号为低电平的情况下,表征第一红外触控屏和第二红外触控屏未进行拼接。
在第一红外触控屏和第二红外触控屏未拼接的情况下,第一红外触控屏和第二红外触控屏相互独立,各自独立进行触控扫描,互不干扰。
在第一红外触控屏和第二红外触控屏拼接的情况下,对第一红外触控屏和第二红外触控屏进行如下的控制:
S104,在第一红外触控屏和第二红外触控屏进行第i次扫描的情况下,控制第一红外触控屏的第一红外发射元件发射红外线,且第一红外触控屏的第一红外接收元件接收红外线,以及在第一红外触控屏的第一红外发射元件发射红外线的情况下,控制第二红外触控屏的第一红外接收元件暂停接收红外线。
下面通过图5对第i次的扫描进行示例性说明。
如图5所示,假设第一红外触控屏202-A的第一红外发射元件2042和第二红外触控屏202-B的第一红外发射元件2042均向左侧发送红外线。在进行第i次扫描的情况下,第一红外触控屏202-A正常进行扫描,即第一红外触控屏202-A的第一红外发射元件2042发射红外线,且第一红外触控屏202-A的第一红外接收元件2044接收红外线。但是,第二红外触控屏202-B的第一红外接收元件2044暂停接收红外线,而第二红外触控屏202-B的第一红外发射元件2042可以发射红外线,也可以不发射红外线。
由于第二红外触控屏202-B位于第一红外触控屏202-A的左侧,且第 二红外触控屏202-B向左发送红外线,因此,第二红外触控屏202-B发射的红外线不会对第一红外触控屏202-A的红外线接收产生影响,即第一红外触控屏202-A不会接收到第二红外触控屏202-B发射的红外线。而且第一红外触控屏202-A正常进行扫描,因此,可以根据第一红外触控屏202-A的扫描结果来准确地确定第一红外触控屏202-A上的触控位置坐标。
但是,由于第二红外触控屏202-B的第一红外接收元件2044暂停接收红外线,导致无法确定第二红外触控屏202-B上的触控位置坐标。在此情况下,可以根据下一次的扫描来确定第二红外触控屏202-B上的触控位置坐标,下面进行具体说明。
上述控制方法还包括对第一红外触控屏和第二红外触控屏进行如下的控制:
S106,在第一红外触控屏和第二红外触控屏进行第i+1次扫描的情况下,控制第二红外触控屏的第一红外发射元件发射红外线,且第二红外触控屏的第一红外接收元件接收红外线,以及在第二红外触控屏的第一红外接收元件接收红外线的情况下,控制第一红外触控屏的第一红外发射元件暂停发射红外线,i为奇数或偶数;
S108,根据第i次扫描结果和第i+1次扫描结果在第一红外触控屏和第二红外触控屏进行触控显示。
具体地,可以根据第i次扫描结果和第i+1次扫描结果确定分别在第一红外触控屏和第二红外触控屏上的触控位置坐标,并根据第一红外触控屏和第二红外触控屏上的触控位置坐标,在第一红外触控屏和第二红外触控屏进行触控显示。
下面通过图6对第i+1次的扫描进行示例性说明。
如图6所示,假设第一红外触控屏202-A的第一红外发射元件2042和第二红外触控屏202-B的第一红外发射元件2042均向左侧发送红外线。在进行第i+1次扫描的情况下,第二红外触控屏202-B正常进行扫描,即第二红外触控屏202-B的第一红外发射元件2042发射红外线,且第二红外触控屏202-B的第一红外接收元件2044接收红外线。另外,由于第一红外触控屏202-A的第一红外发射元件2042暂停发射红外线,如此,避 免了第一红外触控屏202-A发射的红外线被第二红外触控屏202-B所接收而影响确定第二红外触控屏202-B上的触控位置坐标。因此,可以根据第i+1次第二红外触控屏202-B的扫描结果来准确地确定第二红外触控屏202-B上的触控位置坐标。
本申请实施例中的第一红外触控屏和第二红外触控屏可以显示相同的内容,比如,第一红外触控屏上和第二红外触控屏上显示同一个画面。
当然,第一红外触控屏和第二红外触控屏也可以显示不相同的内容。比如,第一红外触控屏显示某个页面的一部分内容,第二红外触控屏显示该页面的另一部分内容,由此,第一红外触控屏和第二红外触控屏显示的内容拼接在一起形成完整的页面。
在第一红外触控屏和第二红外触控屏显示的内容不相同,且第一红外触控屏和第二红外触控屏拼接的情况下,将第一红外触控屏的分辨率和第二红外触控屏的分辨率进行整合,得到目标分辨率。当第一红外触控屏和第二红外触控屏中的至少一个红外触控屏被用户触控时,根据目标分辨率确定触控位置。
比如,第一红外触控屏和第二红外触控屏的分辨率均是1920*1080,在检测到的第一信号表征第一红外触控屏和第二红外触控屏的情况下,说明第一红外触控屏和第二红外触控屏拼接在一起,那么第一红外触控屏和第二红外触控屏可以组合成一个组合红外触控屏,该组合红外触控屏在纵轴上的分辨率不变,而在横轴上的分辨率为2倍的1080,即2160。那么,该组合红外触控屏的目标分辨率为1920*2160。用户在组合红外触控屏上进行触控的情况下,可以根据该组合红外触控屏的目标分辨率,确定用户在组合红外触控屏上的触控位置。
在本申请的一个或多个实施例中,控制器的数量可以为一个,该控制器可以对第一红外触控屏、第二红外触控屏进行控制。
在本申请的一个或多个实施例中,控制器的数量可以为两个,两个控制器共同用于控制两个红外触控屏。
作为一个示例,如图7所示,控制器包括第一控制器208和第二控制器210,第一控制器208集成在第一红外触控屏202-A,第二控制器208 集成在第二红外触控屏202-B,第一控制器208和第二控制器210通过连接接口206进行通信连接。
第一红外触控屏202-A和第二红外触控屏202-B中的一个红外触控屏为主红外触控屏,另一个红外触控屏为从红外触控屏。
作为一个示例,可以预先将第一红外触控屏和第二红外触控屏中的一个红外触控屏设置为主红外触控屏,并将另一个红外触控屏设置为从红外触控屏。例如,在第一红外触控屏和第二红外触控屏左右拼接的情况下,位于右边的红外触控屏自动设置为主红外触控屏,位于左边的红外触控屏自动设置为从红外触控屏。
作为另一个示例,可以由控制器来确定主红外触控屏和从红外触控屏。具体地,对第一红外触控屏202-A和第二红外触控屏202-B进行上述控制之前,上述控制方法还可以包括:
在第一红外触控屏202-A和第二红外触控屏202-B拼接的情况下,第一控制器208或第二控制器210根据预设主从机设置指令设置为主控制器或从控制器。预设主从机设置指令用于使第一控制器208和第二控制器210中的一个控制器为主控制器,另一个控制器为从控制器,主控制器控制的红外触控屏为主红外触控屏,从控制器控制的红外触控屏为从红外触控屏。
本发明实施例并不限定预设主从机设置指令的触发方式。比如,在第一控制器208检测到连接接口上的第一信号表征第一红外触控屏202-A和第二红外触控屏202-B进行拼接的情况下,第一控制器208检测到连接接口由低电平变为高电平,则触发第一控制器中的预设主从机设置指令,第一控制器208根据该预设主从机设置指令将自身设置为为主控制器。在主控制器控制完成后,第一控制器208向第二控制器发送从机设置指令,从而使第二控制器210将第二控制器210自身设置为从控制器。
下面通过图8的示例对本申请实施例中的确定主红外触控屏和从红外触控屏进行说明。
如图8所示,第一红外触控屏和第二红外触控屏均包括连接接口。该连接接口均包括第一接口和第二接口。在第一红外触控屏和第二红外触控 屏拼接时,集成在第一红外触控屏202-A上的第一接口(第一红外触控屏202-A上的接口A)与集成在第二红外触控屏上的第二接口(即第二红外触控屏上的接口B)连接。第一控制器208与集成在第一红外触控屏202-A上的接口A相连,第二控制器210与集成在第二红外触控屏上的接口B相连。
第一红外触控屏和第二红外触控屏均还包括:下拉模块214和上拉模块212,如图8所示,第一红外触控屏202-A中的下拉模块214的一端连接至第一红外触控屏202-A的接口A,下拉模块214的另一端连接至低电平信号端GND。第二红外触控屏202-B中的上拉模块212的一端连接至第二红外触控屏202-B的接口B,上拉模块212的另一端连接至高电平信号端VCC。
其中,下拉模块214可以为下拉电阻,比如,下拉模块214为1千欧(KΩ)的下拉电阻。上拉模块212可以为上拉电阻,比如,上拉模块212为47K的上拉电阻。应理解,下拉模块214和上拉模块212也可以实现为其他方式,例如,多个电阻之间的并联或串联。图8所示的方式仅为本申请实施例的一种示例性方式,并不构成对本申请实施例的限定。
基于图8示出的红外触控屏的结构,在单屏状态下,即第一红外触控屏202-A和第二红外触控屏202-B未进行拼接的情况下,第一控制器208检测出接口A上的第一信号为低电平信号。在第一红外触控屏202-A和第二红外触控屏202-B进行拼接的情况下,第一红外触控屏202-A中的下拉模块214和第二红外触控屏202-B中的上拉模块212实现阻抗分压,第一红外触控屏202-A的接口A为高阻状态,该接口A处的电压被拉高,第一控制器208检测出接口A上的第一信号为高电平信号,此时,第一控制器208确定第一红外触控屏202-A已与其他的红外触控屏进行拼接。
第一红外触控屏202-A默认其为主红外触控屏后,第一红外触控屏202-A的第一控制器208进行与主红外触控屏对应的配置。同时,第一控制器208会拉低第二红外触控屏202-B的接口B的电压几秒,比如,3秒,此时第二红外触控屏202-B的第二控制器210检测到第二红外触控屏202-B的接口B的电压被拉低3秒,则设置第二红外触控屏202-B为从红外触 控屏,且第二控制器210进行与从红外触控屏对应的配置。
在设置主控制器、从控制器、主红外触控屏和从红外触控屏之后,上述控制方法还可以包括:
主控制器向从控制器发送同步指令,同步指令用于使主红外触控屏和从红外触控屏开始扫描的时间一致;
从控制器根据同步指令控制从红外触控屏与主红外触控屏在同一时间开始进行扫描。
通过本申请实施例,可以使得主红外触控屏和从红外触控屏每次开始扫描的时间一致,以保证主红外触控屏和从红外触控屏能够正常工作。
下面继续以图8示出的红外触控屏为例,分别结合图9和图10进一步地说明本申请实施例。
图9示出了本申请提供的红外触控屏进行主从判断的时序的一个实施例的示意图。
如图9所示,在T1时间段内,第一红外触控屏202-A和第二红外触控屏202-B处于上电阶段,且第一红外触控屏202-A和第二红外触控屏202-B未拼接。在T1时间段内,第一红外触控屏202-A的接口A处于低电平状态,第二红外触控屏202-B的接口B处于高电平状态。
在T2时间段内,第一红外触控屏202-A的接口A变为高电平状态,则可以确定第一红外触控屏202-A为主红外触控屏,由此,实现主红外触控屏的检测。
在T3时间段内,第一红外触控屏202-A的第一控制器208将第一红外触控屏202-A的接口A拉低3秒。第二红外触控屏202-B的第二控制器210检测到信号被拉低之后,可以确定第二红外触控屏202-B为从红外触控屏,由此,实现从红外触控屏的检测。
在确定主红外触控屏和从红外触控屏之后,在T4时间段,主红外触控屏和从红外触控屏可以在同一时间开始进行红外扫描。
图10示出了本申请提供的控制方法的另一个实施例的流程示意图。
首先,第一红外触控屏202-A进行上电,在第一红外触控屏202-A进行上电之后,第一红外触控屏202-A的第一控制器208检测第一红外触控 屏202-A的接口A的信号,在该接口A的信号为低电平的情况下,说明第一红外触控屏202-A未与其他红外触控屏进行拼接,则正常扫描。
在第一红外触控屏202-A的接口A的信号为高电平的情况下,说明第一红外触控屏202-A与其他红外触控屏进行拼接。在此情况下,一方面,第一控制器208对第一红外触控屏202-A进行主红外触控屏的配置。另一方面,第一红外触控屏202-A的第一控制器208拉低第一红外触控屏202-A的接口A的电压3秒,以此来通知第二红外触控屏202-B的第二控制器210:第一红外触控屏202-A为主红外触控屏。
在第二红外触控屏202-B的第二控制器210检测到第二红外触控屏202-B的接口B的电压被拉低3秒之后,第二控制器210对第二红外触控屏202-B进行从红外触控屏的配置。
第一红外触控屏202-A的第一控制器208还可以通过接口A向第二红外触控屏202-B的接口B发送扫描同步信号,以使第一红外触控屏202-A和第二红外触控屏202-B同时开始扫描,并采用上述图4中两种扫描方式交替进行扫描。
在本申请的一个或多个实施例中,第一控制器208根据第一信号将第一红外触控屏202-A设置为主红外触控屏,并通过连接接口向第二红外触控屏202-B发送第二预设信号之后,上述控制方法还可以包括:
第二控制器210通过连接接口向第一控制器208发送主从切换信号,以及第二控制器210将第二红外触控屏202-B设置为主红外触控屏;
在第一控制器208通过连接接口接收到的主从切换信号的情况下,将第一红外触控屏202-A设置为从红外触控屏。
下面继续以图8示出的红外触控屏为例对本申请实施例进行说明。
在图8中,在第一红外触控屏202-A设置为主红外触控屏,第二红外触控屏202-B设置为从红外触控屏之后,第一红外触控屏202-A可以通过私有协议通知第二红外触控屏202-B,让第二红外触控屏202-B成为主红外触控屏。第二红外触控屏202-B的接口B的电压被拉低3秒后,第二红外触控屏202-B设置为主红外触控屏。第一红外触控屏202-A等待第二红外触控屏202-B的接口B的电压被拉低3秒后,在第一红外触控屏202-A 的第一控制器208检测到第一红外触控屏202-A的接口A的电压被拉低3秒之后,第一红外触控屏202-A设置为从红外触控屏。由此,实现了第一红外触控屏202-A和第二红外触控屏202-B之间进行主从切换。
在本申请实施例中,上述第二红外触控屏202-B的接口B的电压被拉低3秒即为上述主从切换信号。
在本申请的一个或多个实施例中,第一红外触控屏为主红外触控屏,第二红外触控屏为从红外触控屏;在第一红外触控屏和第二红外触控屏拼接的情况下,对第一红外触控屏和第二红外触控屏进行控制,具体可以包括:
主控制器根据预设第一扫描指令控制主红外触控屏进行扫描,以及,主控制器向从控制器发送预设第二扫描指令,以使从控制器根据预设第二扫描指令对从红外触控屏进行触控扫描。
其中,预设第一扫描指令用于在第i次扫描的情况下,控制主红外触控屏的第一红外发射元件发射红外线,且主红外触控屏的第一红外接收元件接收红外线,以及在第i+1次扫描的情况下,控制主红外触控屏的第一红外发射元件暂停发射红外线;
预设第二扫描指令用于在第i+1次扫描的情况下,控制从红外触控屏的第一红外发射元件发射红外线,且从红外触控屏的第一红外接收元件接收红外线,以及在第i次扫描的情况下,控制从红外触控屏的第一红外接收元件暂停接收红外线。
在本申请实施例中,主控制器控制主红外触控屏进行扫描,从控制器控制从红外触控屏进行扫描,使得主红外触控屏和从红外触控屏分别由各自对应的控制器进行控制。
在本申请的一个或多个实施例中,S108可以包括:
主控制器根据第i次扫描结果确定主红外触控屏上的第一触控位置坐标;从控制器根据第i+1次的扫描结果确定从红外触控屏上的第二触控位置坐标;主控制器和从控制器分别根据第一触控位置坐标和第二触控位置坐标进行触控显示。
下面对主控制器和从控制器分别根据第一触控位置坐标和第二触控位 置坐标进行触控显示进行示例性说明。
作为一个示例,主控制器根据第一触控位置坐标控制主红外触控屏进行触控显示,从控制器根据第二触控位置坐标控制从红外触控屏进行触控显示。
作为另一个示例,在从控制器根据第i+1次的扫描结果确定第二触控位置坐标之后,从控制器可以将第二触控位置坐标上报至主控制器。
主控制器接收到从控制器上报的第二触控位置坐标之后,主控制器根据第i次扫描时从红外触控屏接收到的红外线,对第二触控位置坐标进行校正,得到校正后的第二触控位置坐标。
在校正完之后,主控制器可以向从控制器发送校正后的第二触控位置坐标,以使从控制器根据校正后的第二触控位置坐标进行触控显示。或者,在校正完之后,主控制器可以根据校正后的第二触控位置坐标,确定从红外触控屏待显示的目标显示页面,并将目标显示页面下发至从控制器,使得从控制器显示目标显示页面。
下面对本申请实施例进行示例性说明。
作为一个示例,假设主红外触控屏和从红外触控屏显示相同的内容,在用户对从红外触控屏进行触控的情况下,从控制器确定用户在从红外触控屏上的第二触控位置坐标,然后,将第二触控位置坐标发送至主控制器。主控制器对第二触控位置坐标进行校正,并根据校正后的第二触控位置坐标确定目标显示页面。然后,主控制器将用于控制显示该目标显示页面的控制指令分别下发至主红外触控屏和从红外触控屏,以使主红外触控屏和从红外触控屏分别显示该目标显示页面。由此,可以使得主红外触控屏和从红外触控屏显示的内容同步更新,且继续显示相同的内容。
作为另一个示例,假设主红外触控屏和从红外触控屏显示不同的内容,比如主红外触控屏显示某个页面的一部分,从红外触控屏显示该页面的另一部分。在用户对从红外触控屏进行触控的情况下,从控制器确定用户在从红外触控屏上的第二触控位置坐标,然后,将第二触控位置坐标发送至主控制器。主控制器根据第二触控位置坐标确定目标显示页面,并将用于显示目标显示页面的第一部分的控制指令发送至主红外触控屏,将用于显 示目标显示页面的第二部分的控制指令发送至从红外触控屏。由此,可以使得主红外触控屏和从红外触控屏显示的内容同步更新,且主红外触控屏和从红外触控屏显示的内容拼接成一个完整的画面。
在本申请的一个或多个实施例中,在主控制器在确定主红外触控屏上的第一触控位置坐标的情况下,将与第一触控位置坐标对应的控制指令分别下发至主红外触控屏和从红外触控屏。由此,可以使得主红外触控屏和从红外触控屏显示的内容同步更新,以及主红外触控屏和从红外触控屏继续显示相同的内容或者显示的内容能够拼接成一个完整的画面。
在本申请的一个或多个实施例中,每个红外触控屏还包括:用于向第二方向发射红外线的第二红外发射元件以及与第二红外发射元件相对设置的第二红外接收元件,第二方向与第一方向相互垂直。
作为一个示例,如图11所示,第一红外触控屏202-A和第二红外触控屏202-B均还包括:用于向上发射红外线的第二红外发射元件2064以及与第二红外发射元件2064相对设置的第二红外接收元件2062。
在第一红外触控屏和第二红外触控屏拼接的情况下,上述控制方法还可以包括:
在进行第i次扫描或者进行第i+1次扫描的情况下,控制第一红外触控屏202-A的第二红外发射元件2064和所述第二红外触控屏202-B的第二红外发射元件2064发射红外线,以及第一红外触控屏202-A的第二红外接收元件2062和第二红外触控屏202-B的第二红外发射元件2064接收红外线。
相应地,S108可以包括:
根据第i次扫描时接收到的第一红外线和第二红外线,确定第一红外触控屏202-A上的第一触控位置坐标,其中,第一红外线为第i次扫描时第一红外触控屏202-A的第一红外接收元件接收到的红外线,第二红外线为第i次扫描时第一红外触控屏202-A的第二红外接收元件2062接收到的红外线;
根据第i-1次扫描时接收到的第三红外线,对第一触控位置坐标进行校正,得到校正后的第一触控位置坐标,其中,第三红外线为第i-1次扫 描时第一红外触控屏202-A的第二红外接收元件2062接收到的红外线;
根据第i+1次扫描时接收到的第四红外线和第五红外线,确定第二红外触控屏202-B上的第二触控位置坐标,其中,第四红外线为第i+1次扫描时第二红外触控屏202-B的第一红外接收元件接收到的红外线,第五红外线为第i+1次扫描时第二红外触控屏202-B的第二红外接收元件2062接收到的红外线;
根据第i次扫描时接收到的第六红外线,对第二触控位置坐标进行校正,得到校正后的第二触控位置坐标,其中,第六红外线为第i次扫描时第二红外触控屏202-B的第二红外接收元件2062接收到的红外线;
根据校正后的第一触控位置坐标和校正后的第二触控位置坐标,在第一红外触控屏202-A和第二红外触控屏202-B进行触控显示,i>1。
在本申请实施例中,在每次扫描时,每个红外触控屏的第二红外发射元件2064均发射红外线,每个红外触控屏的第二红外接收元件2062均接收红外线。
由于第i次扫描时,第二红外触控屏202-B的第一红外接收元件暂停接收红外线,导致无法根据第i次的扫描结果确定第二红外触控屏202-B上的触控位置坐标。但是,第i次扫描时第二红外触控屏202-B的第二红外接收元件2062接收到的红外信号是未被干扰的,因此,第i次扫描时第二红外触控屏202-B的第二红外接收元件2062接收到的红外信号可以用于对第i+1次第二红外触控屏202-B的扫描结果进行校正。
同理,在第i-1次扫描时,第一红外触控屏202-A的第一红外发射元件暂停发射红外线,导致无法根据第i-1次的扫描结果确定第一红外触控屏202-A上的触控位置坐标。但是,第i-1次扫描时第一红外触控屏202-A的第二红外接收元件2062接收到的红外信号是未被干扰的,因此,第i-1次扫描时第一红外触控屏202-A的第二红外接收元件2062接收到的红外信号可以用于对第i次第一红外触控屏202-A的扫描结果进行校正。
由此,不仅可以充分利用扫描时产生的数据,还可以更加准确地确定第二红外触控屏202-B上的触控位置坐标。
在本申请的一个或多个实施例中,上述控制方法还可以包括:
在控制第二红外触控屏202-B的第一红外接收元件暂停接收红外线之后,且在第一红外触控屏202-A的第一红外发射元件结束发射红外线的情况下,控制第二红外触控屏202-B的第一红外发送元件发射红外线,以及控制第二红外触控屏202-B的第一红外接收元件接收红外线;
在控制第一红外触控屏202-A的第一红外发射元件暂停发射红外线之后,且在第二红外触控屏202-B的第一红外发射元件结束发射红外线的情况下,控制第一红外触控屏202-A的第一红外发射元件发射红外线。
下面以图12示出的红外触控屏为例对本申请实施例进行说明。
如图12所示,第一红外触控屏202-A对应的第一控制器208通过连接接口向第二红外触控屏202-B对应的第二控制器210发送开始扫描的信号,以通知第二红外触控屏202-B进行红外线扫描,然后,第一红外触控屏202-A和第二红外触控屏202-B同时从最左侧的第二红外发射元件2064开始进行扫描。
如果是第i次扫描,则第一红外触控屏202-A进行正常扫描,而第二红外触控屏202-B的最后一个第二红外发射元件2064(即第二红外发射元件C)结束扫描的情况下,第二红外触控屏202-B暂停发射红外线,第二红外触控屏202-B暂停接收红外线。并等待第一红外触控屏202-A扫描完,在第一红外触控屏202-A扫描完(即第一红外触控屏202-A上的红外发射元件D扫描完)的情况下,第二红外触控屏202-B的第一红外发射元件2042发射红外线,以及第二红外触控屏202-B的第一红外接收元件2044接收红外线。由此,使得在第i次扫描时第一红外触控屏202-A和第二红外触控屏202-B都是完整的一次扫描。
同理,如果是第i+1次扫描,则第二红外触控屏202-B进行正常扫描,而第一红外触控屏202-A的最后一个第二红外发射元件2064(即红外发射元件E)结束扫描的情况下,第一红外触控屏202-A暂停发射红外线并暂停接收红外线。并等待第二红外触控屏202-B扫描完,在第二红外触控屏202-B扫描完(即第二红外触控屏202-B的红外发射元件F扫描完)的情况下,第一红外触控屏202-A的第一红外发射元件2042发射红外线,以及第一红外触控屏202-A的第一红外接收元件2044接收红外线。由此, 使得第i+1次扫描时第一红外触控屏202-A和第二红外触控屏202-B都是完整的一次扫描。
与本申请实施例提供的控制方法相对应,本申请还提供一种红外触控屏的控制装置。红外触控屏包括第一红外触控屏和第二红外触控屏,第一红外触控屏和第二红外触控屏均包括连接接口,连接接口用于实现第一红外触控屏和第二红外触控屏的通信连接,第一红外触控屏和第二红外触控屏均包括向第一方向发射红外线的第一红外发射元件以及与第一红外发射元件相对设置的第一红外接收元件。
基于上述的红外触控屏,本申请提供一种控制装置,图13示出了本申请提供的一种红外触控屏的控制装置的一个实施例的结构示意图。
如图13所示,控制装置300包括:
检测模块302,用于检测连接接口上的第一信号,第一信号用于表征第一红外触控屏和第二红外触控屏是否进行拼接;
第一控制模块304,用于在第一红外触控屏和第二红外触控屏拼接的情况下,对第一红外触控屏和第二红外触控屏进行如下的控制:
在第一红外触控屏和第二红外触控屏进行第i次扫描的情况下,控制第一红外触控屏的第一红外发射元件发射红外线,且第一红外触控屏的第一红外接收元件接收红外线,以及在第一红外触控屏的第一红外发射元件发射红外线的情况下,控制第二红外触控屏的第一红外接收元件暂停接收红外线;
在第一红外触控屏和第二红外触控屏进行第i+1次扫描的情况下,控制第二红外触控屏的第一红外发射元件发射红外线,且第二红外触控屏的第一红外接收元件接收红外线,以及在第二红外触控屏的第一红外接收元件接收红外线的情况下,控制第一红外触控屏的第一红外发射元件暂停发射红外线,i为奇数或偶数;
显示模块306,用于根据第i次扫描结果和第i+1次扫描结果在第一红外触控屏和第二红外触控屏进行触控显示。
在本申请实施例中,在第一红外触控屏和第二红外触控屏拼接的情况下,第一红外触控屏和第二红外触控屏采用如下方式扫描:在第i次扫描 时,第一红外触控屏正常扫描,并且在第一红外触控屏在第一方向上发射红外线的情况下,第二红外触控屏的用于接收第一方向上的第一红外接收元件暂停接收红外线。在此情况下,第二红外触控屏不会影响第一红外触控屏的红外线接收,因此,可以根据第一红外触控屏的扫描结果来确定第一红外触控屏上的触控位置坐标。在第i+1次扫描时,第二红外触控屏正常扫描,而且由于第一红外触控屏的第一红外发射元件暂停发射红外线,避免了第一红外触控屏发射的红外线被第二红外触控屏所接收而影响确定第二红外触控屏上的触控位置坐标。如此,可以根据第i+1次第二红外触控屏的扫描结果来准确地确定第二红外触控屏上的触控位置坐标。通过上述控制方式,避免了两个屏幕拼接时由于一个红外触控屏发送的红外线被另外一个红外触控屏的红外接收元件接收,各红外触控红外触控屏接收到的红外线不会相互干扰,从而提高了红外触控设备定位触控位置的准确度。
在本申请的一个或多个实施例中,每个红外触控屏还包括:用于向第二方向发射红外线的第二红外发射元件以及与第二红外发射元件相对设置的第二红外接收元件,第二方向与第一方向相互垂直。
在第一红外触控屏和第二红外触控屏拼接的情况下,控制装置300还可以包括:
第二控制模块,用于在进行第i次扫描或者进行第i+1次扫描的情况下,控制每个红外触控屏的第二红外发射元件发射红外线,以及每个红外触控屏的第二红外接收元件接收红外线。
相应地,显示模块306可以包括:
第一确定单元,用于根据第i次扫描时接收到的第一红外线和第二红外线,确定第一红外触控屏上的第一触控位置坐标;其中,第一红外线为第i次扫描时第一红外触控屏的第一红外接收元件接收到的红外线,第二红外线为第i次扫描时第一红外触控屏的第二红外接收元件接收到的红外线;
第一校正单元,用于根据第i-1次扫描时接收到的第三红外线,对第一触控位置坐标进行校正,得到校正后的第二触控位置坐标;其中,第三红外线为第i-1次扫描时第一红外触控屏的第二红外接收元件接收到的红 外线;
第二确定单元,用于根据第i+1次扫描时接收到的第四红外线和第五红外线,确定第二红外触控屏上的第二触控位置坐标;其中,第四红外线为第i+1次扫描时第二红外触控屏的第一红外接收元件接收到的红外线,第五红外线为第i+1次扫描时第二红外触控屏的第二红外接收元件接收到的红外线;
第二校正单元,用于根据第i次扫描时接收到的第六红外线,对第一触控位置坐标进行校正,得到校正后的第一触控位置坐标;其中,第六红外线为第i次扫描时第二红外触控屏的第二红外接收元件接收到的红外线;
显示单元,用于根据校正后的第一触控位置坐标和校正后的第二触控位置坐标,在第一红外触控屏和第二红外触控屏进行触控显示。
在本申请实施例中,通过上一次第二红外接收元件接收到的红外线,对本次得到的触控位置坐标进行校正,不仅可以充分利用扫描时产生的数据,还可以更加准确地确定第二红外触控屏上的触控位置坐标。
在本申请的一个或多个实施例中,控制装置300还可以包括:
第三控制模块,用于在控制第二红外触控屏的第一红外接收元件暂停接收红外线之后,且在第一红外触控屏的第一红外发射元件结束发射红外线的情况下,控制第二红外触控屏的第一红外发送元件发射红外线,以及控制第二红外触控屏的第一红外接收元件接收红外线;
第四控制模块,用于在控制第一红外触控屏的第一红外发射元件暂停发射红外线之后,且在第二红外触控屏的第一红外发射元件结束发射红外线的情况下,控制第一红外触控屏的第一红外发射元件发射红外线。
由此,可以使得每次扫描时第一红外触控屏和第二红外触控屏都是完整的一次扫描。
基于上述控制方法,本申请提供一种用于实施上述控制方法的红外触控屏。红外触控屏包括:第一红外触控屏和第二红外触控屏。第一红外触控屏和第二红外触控屏均包括:
连接接口,用于实现第一红外触控屏和第二红外触控屏的通信连接;
向第一方向发射红外线的第一红外发射元件;
与第一红外发射元件对应设置的第一红外接收元件;
控制器,用于执行上述任意一项的控制方法。
在本申请的一个或多个实施例中,第一红外触控屏的连接接口以及第二红外触控屏的连接接口分别包括第一接口和第二接口,集成在第一红外触控屏上的第一接口与集成在第二红外触控屏上的第二接口连接,实现第一红外触控屏与第二红外触控屏的拼接。
红外触控屏还包括:下拉模块和上拉模块,下拉模块的一端连接至第一接口,下拉模块的另一端连接至低电平信号端,上拉模块的一端连接至第二接口,上拉模块的另一端连接至高电平信号端。
由于在上述的控制方法的实施例中已经对本申请实施例进行说明,在此不再重复赘述。
在本申请的一个或多个实施例中,第一红外触控屏包括的第一控制器和第二红外触控屏包括的第二控制器通过连接接口进行通信连接。
其中,在第一红外触控平和第二红外触控屏拼接的情况下,第一控制器或第二控制器用于:根据预设主从机设置指令设置为主控制器或从控制器,预设主从机设置指令用于使第一控制器和第二控制器中的一个控制器为主控制器,另一个控制器为从控制器,主控制器控制的红外触控屏为主红外触控屏,从控制器控制的红外触控屏为从红外触控屏。
主控制器用于向从控制器发送同步指令,同步指令用于使主红外触控屏和从红外触控屏开始扫描同步。
从控制器用于根据同步指令控制从红外触控屏与主红外触控屏开始同步扫描。
在本申请的一个或多个实施例中,主控制器具体用于:
根据预设第一扫描指令控制主红外触控屏进行扫描;以及向从控制器发送预设第二扫描指令。
从控制器具体用于:
根据预设第二扫描指令对从红外触控屏进行触控扫描。
其中,预设第一扫描指令用于在第i次扫描的情况下,控制主红外触控屏的第一红外发射元件发射红外线,且主红外触控屏的第一红外接收元 件接收红外线,以及在第i+1次扫描的情况下,控制主红外触控屏的第一红外发射元件暂停发射红外线。
预设第二扫描指令用于在第i+1次扫描的情况下,控制从红外触控屏的第一红外发射元件发射红外线,且从红外触控屏的第一红外接收元件接收红外线,以及在第i次扫描的情况下,控制从红外触控屏的第一红外接收元件暂停接收红外线;i为奇数或偶数。
在本申请的一个或多个实施例中,第一控制器用于在第一红外触控屏和第二红外触控屏拼接的情况下,将第一红外触控屏设置为主红外触控屏,并通过连接接口向第二控制器发送第二预设信号,第二预设信号用于指示第一红外触控屏为主红外触控屏;
第二控制器用于根据接收到的第二预设信号,将第二红外触控屏设置为从红外触控屏。
第一控制器和第二控制器可以为微控制单元(Microcontroller Unit,MCU),或者中央处理器(CPU),或者特定集成电路(Application Specific Integrated Circuit,ASIC),或者可以被配置成实施本申请实施例的一个或多个集成电路。
由于在上述的控制方法的实施例中已经对本申请实施例进行说明,在此不再重复赘述。
在本申请的一个或多个实施例中,第二控制器还用于:
通过连接接口向第一控制器发送主从切换信号,以及将第二红外触控屏设置为主红外触控屏。
第一控制器还用于在通过连接接口接收到的主从切换信号的情况下,将第一红外触控屏设置为从红外触控屏。
由于在上述的控制方法的实施例中已经对本申请实施例进行说明,在此不再重复赘述。
另外,结合上述实施例中的控制方法,本申请实施例可提供一种计算机可读存储介质来实现。该计算机可读存储介质上存储有计算机程序指令;该计算机程序指令被处理器执行时实现上述实施例中的任意一种控制方法。
需要明确的是,本申请并不局限于上文所描述并在图中示出的特定配 置和处理。为了简明起见,这里省略了对已知方法的详细描述。在上述实施例中,描述和示出了若干具体的步骤作为示例。但是,本申请的方法过程并不限于所描述和示出的具体步骤,本领域的技术人员可以在领会本申请的精神后,作出各种改变、修改和添加,或者改变步骤之间的顺序。
以上的结构框图中所示的功能块可以实现为硬件、软件、固件或者它们的组合。当以硬件方式实现时,其可以例如是电子电路、专用集成电路(ASIC)、适当的固件、插件、功能卡等等。当以软件方式实现时,本申请的元素是被用于执行所需任务的程序或者代码段。程序或者代码段可以存储在机器可读介质中,或者通过载波中携带的数据信号在传输介质或者通信链路上传送。“机器可读介质”可以包括能够存储或传输信息的任何介质。机器可读介质的例子包括电子电路、半导体存储器设备、ROM、闪存、可擦除ROM(EROM)、软盘、CD-ROM、光盘、硬盘、光纤介质、射频(RF)链路,等等。代码段可以经由诸如因特网、内联网等的计算机网络被下载。
还需要说明的是,本申请中提及的示例性实施例,基于一系列的步骤或者装置描述一些方法或系统。但是,本申请不局限于上述步骤的顺序,也就是说,可以按照实施例中提及的顺序执行步骤,也可以不同于实施例中的顺序,或者若干步骤同时执行。
上面参考根据本公开的实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本公开的各方面。应当理解,流程图和/或框图中的每个方框以及流程图和/或框图中各方框的组合可以由计算机程序指令实现。这些计算机程序指令可被提供给通用计算机、专用计算机、或其它可编程数据处理装置的处理器,以产生一种机器,使得经由计算机或其它可编程数据处理装置的处理器执行的这些指令使能对流程图和/或框图的一个或多个方框中指定的功能/动作的实现。这种处理器可以是但不限于是通用处理器、专用处理器、特殊应用处理器或者现场可编程逻辑电路。还可理解,框图和/或流程图中的每个方框以及框图和/或流程图中的方框的组合,也可以由执行指定的功能或动作的专用硬件来实现,或可由专用硬件和计算机指令的组合来实现。
以上所述,仅为本申请的具体实施方式,所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的系统、模块和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。应理解,本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。
Claims (10)
- 一种红外触控屏的控制方法,所述红外触控屏包括第一红外触控屏和第二红外触控屏,其中,所述第一红外触控屏和所述第二红外触控屏均包括连接接口,所述连接接口用于实现所述第一红外触控屏和所述第二红外触控屏的通信连接,所述第一红外触控屏和所述第二红外触控屏均包括向第一方向发射红外线的第一红外发射元件以及与所述第一红外发射元件相对设置的第一红外接收元件,所述方法包括:检测所述连接接口上的第一信号,所述第一信号用于表征所述第一红外触控屏和所述第二红外触控屏是否进行拼接;在所述第一红外触控屏和所述第二红外触控屏拼接的情况下,对所述第一红外触控屏和所述第二红外触控屏进行如下的控制:在所述第一红外触控屏和所述第二红外触控屏进行第i次扫描的情况下,控制所述第一红外触控屏的第一红外发射元件发射红外线,且所述第一红外触控屏的第一红外接收元件接收红外线,以及在所述第一红外触控屏的第一红外发射元件发射红外线的情况下,控制所述第二红外触控屏的第一红外接收元件暂停接收红外线,在所述第一红外触控屏和所述第二红外触控屏进行第i+1次扫描的情况下,控制所述第二红外触控屏的第一红外发射元件发射红外线,且所述第二红外触控屏的第一红外接收元件接收红外线,以及在所述第二红外触控屏的第一红外接收元件接收红外线的情况下,控制所述第一红外触控屏的第一红外发射元件暂停发射红外线,i为奇数或偶数;根据第i次扫描结果和第i+1次扫描结果在所述第一红外触控屏和所述第二红外触控屏进行触控显示。
- 根据权利要求1所述的方法,其中,所述第一红外触控屏还包括第一控制器,所述第二红外触控屏还包括第二控制器,所述第一控制器和所述第二控制器通过所述连接接口进行通信连接;所述在所述第一红外触控屏和所述第二红外触控屏拼接的情况下,对所述第一红外触控屏和所述第二红外触控屏进行如下的控制之前,所述方法还包括:在所述第一红外触控屏和所述第二红外触控屏拼接的情况下,所述第一控制器或所述第二控制器根据预设主从机设置指令设置为主控制器或从控制器,所述预设主从机设置指令用于使所述第一控制器和所述第二控制器中的一个控制器为主控制器,另一个控制器为从控制器,所述主控制器控制的红外触控屏为主红外触控屏,所述从控制器控制的红外触控屏为从红外触控屏;所述主控制器向所述从控制器发送同步指令,所述同步指令用于使所述主红外触控屏和所述从红外触控屏开始扫描的时间一致;所述从控制器根据所述同步指令控制所述从红外触控屏与所述主红外触控屏在同一时间开始进行扫描。
- 根据权利要求2所述的方法,其中,所述第一红外触控屏为主红外触控屏,所述第二红外触控屏为从红外触控屏;所述在所述第一红外触控屏和所述第二红外触控屏拼接的情况下,对所述第一红外触控屏和所述第二红外触控屏进行如下的控制,包括:所述主控制器根据预设第一扫描指令控制所述主红外触控屏进行扫描;以及,所述主控制器向所述从控制器发送预设第二扫描指令,以使所述从控制器根据所述预设第二扫描指令对所述从红外触控屏进行触控扫描,其中,所述预设第一扫描指令用于在第i次扫描的情况下,控制所述主红外触控屏的第一红外发射元件发射红外线,且所述主红外触控屏的第一红外接收元件接收红外线,以及在第i+1次扫描的情况下,控制所述主红外触控屏的第一红外发射元件暂停发射红外线;所述预设第二扫描指令用于在第i+1次扫描的情况下,控制所述从红外触控屏的第一红外发射元件发射红外线,且所述从红外触控屏的第一红外接收元件接收红外线,以及在第i次扫描的情况下,控制所述从红外触控屏的第一红外接收元件暂停接收红外线。
- 根据权利要求3所述的方法,其中,所述根据第i次扫描结果和第i+1次扫描结果在所述第一红外触控屏和所述第二红外触控屏进行触控显示,包括:所述主控制器根据第i次扫描结果确定所述主红外触控屏上的第一触控位置坐标;所述从控制器根据第i+1次的扫描结果确定所述从红外触控屏上的第二触控位置坐标;所述主控制器和所述从控制器分别根据所述第一触控位置坐标和所述第二触控位置坐标进行触控显示。
- 根据权利要求1至4中任意一项所述的方法,其中,所述第一红外触控屏和所述第二红外触控屏均包括:用于向第二方向发射红外线的第二红外发射元件以及与所述第二红外发射元件相对设置的第二红外接收元件,所述第二方向与所述第一方向相互垂直;在所述第一红外触控屏和所述第二红外触控屏拼接的情况下,所述方法还包括:在进行第i次扫描或者进行第i+1次扫描的情况下,控制所述第一红外触控屏和所述第二红外触控屏的第二红外发射元件发射红外线,以及控制所述第一红外触控屏和所述第二红外触控屏的第二红外接收元件接收红外线;所述根据第i次扫描结果和第i+1次扫描结果在所述第一红外触控屏和所述第二红外触控屏进行触控显示,包括:根据第i次扫描时接收到的第一红外线和第二红外线,确定所述第一红外触控屏上的第一触控位置坐标,其中,所述第一红外线为第i次扫描时所述第一红外触控屏的所述第一红外接收元件接收到的红外线,所述第二红外线为第i次扫描时所述第一红外触控屏的所述第二红外接收元件接收到的红外线;根据第i-1次扫描时接收到的第三红外线,对所述第一触控位置坐标进行校正,得到校正后的所述第一触控位置坐标,其中,所述第三红外线 为第i-1次扫描时所述第一红外触控屏的第二红外接收元件接收到的红外线;根据第i+1次扫描时接收到的第四红外线和第五红外线,确定所述第二红外触控屏上的第二触控位置坐标,其中,所述第四红外线为第i+1次扫描时所述第二红外触控屏的所述第一红外接收元件接收到的红外线,所述第五红外线为第i+1次扫描时所述第二红外触控屏的所述第二红外接收元件接收到的红外线;根据第i次扫描时接收到的第六红外线,对所述第二触控位置坐标进行校正,得到校正后的所述第二触控位置坐标,其中,所述第六红外线为第i次扫描时所述第二红外触控屏的第二红外接收元件接收到的红外线;根据所述校正后的所述第一触控位置坐标和所述校正后的第二触控位置坐标,在所述第一红外触控屏和所述第二红外触控屏进行触控显示。
- 一种红外触控屏的控制装置,所述红外触控屏包括第一红外触控屏和第二红外触控屏,其中,所述第一红外触控屏和所述第二红外触控屏均包括连接接口,所述连接接口用于实现所述第一红外触控屏和所述第二红外触控屏的通信连接,所述第一红外触控屏和所述第二红外触控屏均包括向第一方向发射红外线的第一红外发射元件以及与所述第一红外发射元件相对设置的第一红外接收元件,所述装置包括:检测模块,用于检测所述连接接口上的第一信号,所述第一信号用于表征所述第一红外触控屏和所述第二红外触控屏是否进行拼接;控制模块,用于在所述第一红外触控屏和所述第二红外触控屏拼接的情况下,对所述第一红外触控屏和所述第二红外触控屏进行如下的控制:在所述第一红外触控屏和所述第二红外触控屏进行第i次扫描的情况下,控制所述第一红外触控屏的第一红外发射元件发射红外线,且所述第一红外触控屏的第一红外接收元件接收红外线,以及在所述第一红外触控屏的第一红外发射元件发射红外线的情况下,控制所述第二红外触控屏的第一红外接收元件暂停接收红外线,在所述第一红外触控屏和所述第二红外触控屏进行第i+1次扫描的情况下,控制所述第二红外触控屏的第一红外发射元件发射红外线,且所述第二红外触控屏的第一红外接收元件接收红外线,以及在所述第二红外触控屏的第一红外接收元件接收红外线的情况下,控制所述第一红外触控屏的第一红外发射元件暂停发射红外线,i为奇数或偶数;显示模块,用于根据第i次扫描结果和第i+1次扫描结果在所述第一红外触控屏和所述第二红外触控屏进行触控显示。
- 一种红外触控屏,包括第一红外触控屏和第二红外触控屏,其中,所述第一红外触控屏和所述第二红外触控屏均包括:连接接口,用于将所述第一红外触控屏和所述第二红外触控屏拼接;向第一方向发射红外线的第一红外发射元件;与所述第一红外发射元件相对设置的第一红外接收元件,其中,所述第一红外发射元件和所述第一红外接收元件用于对所述红外触控屏进行扫描;控制器,用于执行如权利要求1至5中任意一项所述的控制方法。
- 根据权利要求7所述的红外触控屏,其中,所述连接接口包括第一接口和第二接口;所述第一红外触控屏和所述第二红外触控屏均包括:下拉模块和上拉模块;所述下拉模块的一端连接至所述第一接口,所述下拉模块的另一端连接至低电平信号端;所述上拉模块的一端连接至所述第二接口,所述上拉模块的另一端连接至高电平信号端;所述第一红外触控屏的第一接口和所述第二红外触控屏的第二接口相连,以实现所述第一红外触控屏与所述第二红外触控屏拼接。
- 根据权利要求7所述的红外触控屏,其中,所述第一红外触控屏包括的第一控制器和所述第二红外触控屏包括的第二控制器通过所述连接接口进行通信连接;其中,在所述第一红外触控平和所述第二红外触控屏拼接的情况下,所述第一控制器或所述第二控制器用于根据预设主从机设置指令设置为主控制器或从控制器,所述预设主从机设置指令用于使所述第一控制器或所述第二控制器中的一个控制器为主控制器,另一个控制器为从控制器,所述主控制器控制的红外触控屏为主红外触控屏,所述从控制器控制的红外触控屏为从红外触控屏;所述主控制器用于向所述从控制器发送同步指令,所述同步指令用于使所述主红外触控屏和所述从红外触控屏开始的时间一致;所述从控制器用于根据所述同步指令控制所述从红外触控屏与所述主红外触控屏在同一时间开始进行扫描。
- 根据权利要求9所述的红外触控屏,其中,所述主控制器具体用于:根据预设第一扫描指令控制所述主红外触控屏进行扫描,以及向所述从控制器发送预设第二扫描指令;所述从控制器具体用于:根据所述预设第二扫描指令对所述从红外触控屏进行触控扫描,其中,所述预设第一扫描指令用于在第i次扫描的情况下,控制所述主红外触控屏的第一红外发射元件发射红外线,且所述主红外触控屏的第一红外接收元件接收红外线,以及在第i+1次扫描的情况下,控制所述主红外触控屏的第一红外发射元件暂停发射红外线;所述预设第二扫描指令用于在第i+1次扫描的情况下,控制所述从红外触控屏的第一红外发射元件发射红外线,且所述从红外触控屏的第一红外接收元件接收红外线,以及在第i次扫描的情况下,控制所述从红外触控屏的第一红外接收元件暂停接收红外线;i为奇数或偶数。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011497797.2A CN112506383A (zh) | 2020-12-17 | 2020-12-17 | 红外触控屏的控制方法、装置及红外触控屏 |
CN202011497797.2 | 2020-12-17 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022126758A1 true WO2022126758A1 (zh) | 2022-06-23 |
Family
ID=74922197
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/141062 WO2022126758A1 (zh) | 2020-12-17 | 2020-12-29 | 红外触控屏的控制方法、装置及红外触控屏 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112506383A (zh) |
WO (1) | WO2022126758A1 (zh) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114281219A (zh) * | 2021-12-20 | 2022-04-05 | 昆山工研院新型平板显示技术中心有限公司 | 触控显示装置 |
CN116483224A (zh) * | 2022-01-14 | 2023-07-25 | 广州众远智慧科技有限公司 | 红外触摸装置的控制方法以及红外触摸系统 |
CN116719437A (zh) * | 2022-08-05 | 2023-09-08 | 广州众远智慧科技有限公司 | 红外触摸屏的扫描控制方法、扫描控制装置与显示装置 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104484080A (zh) * | 2014-12-30 | 2015-04-01 | 湖南巨手科技发展有限公司 | Led多点触控显示设备 |
US20160328045A1 (en) * | 2015-05-08 | 2016-11-10 | Shanghai Tianma Micro-electronics Co., Ltd. | Shift register, driving method, gate driving circuit and display device |
CN108874242A (zh) * | 2018-09-04 | 2018-11-23 | 江苏清投视讯科技有限公司 | 基于信息实时交互的液晶拼接系统 |
CN211698766U (zh) * | 2020-03-02 | 2020-10-16 | 山西大众电子信息产业集团有限公司 | 一种可实现两种液晶屏随意尺寸拼接的红外触摸屏 |
-
2020
- 2020-12-17 CN CN202011497797.2A patent/CN112506383A/zh not_active Withdrawn
- 2020-12-29 WO PCT/CN2020/141062 patent/WO2022126758A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104484080A (zh) * | 2014-12-30 | 2015-04-01 | 湖南巨手科技发展有限公司 | Led多点触控显示设备 |
US20160328045A1 (en) * | 2015-05-08 | 2016-11-10 | Shanghai Tianma Micro-electronics Co., Ltd. | Shift register, driving method, gate driving circuit and display device |
CN108874242A (zh) * | 2018-09-04 | 2018-11-23 | 江苏清投视讯科技有限公司 | 基于信息实时交互的液晶拼接系统 |
CN211698766U (zh) * | 2020-03-02 | 2020-10-16 | 山西大众电子信息产业集团有限公司 | 一种可实现两种液晶屏随意尺寸拼接的红外触摸屏 |
Also Published As
Publication number | Publication date |
---|---|
CN112506383A (zh) | 2021-03-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022126758A1 (zh) | 红外触控屏的控制方法、装置及红外触控屏 | |
JP6768053B2 (ja) | タッチ表示装置、タッチシステム、タッチ回路、及びペンセンシング方法 | |
US7626577B2 (en) | Projection display system with pressure sensing at a screen, a calibration system corrects for non-orthogonal projection errors | |
US6028595A (en) | Touch-screen display | |
CN110109565B (zh) | 传感器系统 | |
US11561642B2 (en) | Touch sensing device supporting a plurality of protocols | |
US20120249442A1 (en) | Driving method for touch-sensing display device and touch-sensing device thereof | |
US10895925B2 (en) | Touch display alignment | |
CN104345996B (zh) | 一种雷达眼识别交互装置 | |
US20130009912A1 (en) | Method for recognizing touch and display apparatus thereof | |
CN113544692A (zh) | 用于面部认证的摄像头同步和图像标记 | |
JP2018067247A (ja) | タッチパネル装置 | |
CN102184062A (zh) | 一种红外线触摸系统及其控制方法 | |
CN109358774B (zh) | 红外触摸屏扫描方法、装置、设备及介质 | |
KR102457993B1 (ko) | 터치표시장치, 터치시스템, 터치회로, 펜 및 펜 센싱방법 | |
CN112230804B (zh) | 一种显示装置 | |
US8823681B2 (en) | Method of outputting input position of touch panel | |
US10528317B2 (en) | Communication system, communication method, and electronic apparatus | |
CN106164828B (zh) | 双向显示方法以及双向显示装置 | |
JP2016133826A (ja) | 光学式タッチパネル、走査タイミング設定方法、制御プログラムおよびその記録媒体 | |
JP2019029814A (ja) | 通信システム、通信方法、電子機器 | |
CN106484181A (zh) | 红外触摸屏的触摸响应方法及装置 | |
CN104951174A (zh) | 电磁感应式触控屏幕 | |
US10310668B2 (en) | Touch screen display system and a method for controlling a touch screen display system | |
WO2024043175A1 (ja) | タッチパネル、タッチ表示ユニット、映像制御装置、および通知装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20965770 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20965770 Country of ref document: EP Kind code of ref document: A1 |