TWI469015B - Electronic device with sliding touch control function and control method thereof - Google Patents

Electronic device with sliding touch control function and control method thereof Download PDF

Info

Publication number
TWI469015B
TWI469015B TW98110304A TW98110304A TWI469015B TW I469015 B TWI469015 B TW I469015B TW 98110304 A TW98110304 A TW 98110304A TW 98110304 A TW98110304 A TW 98110304A TW I469015 B TWI469015 B TW I469015B
Authority
TW
Taiwan
Prior art keywords
infrared
blocked
connection
main processing
processing unit
Prior art date
Application number
TW98110304A
Other languages
Chinese (zh)
Other versions
TW201035832A (en
Inventor
Xin Zhao
zu-pei He
Ruey Shyang You
Hua-Dong Cheng
Han Che Wang
Kuan Hong Hsieh
Original Assignee
Hon Hai Prec Ind Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW98110304A priority Critical patent/TWI469015B/en
Publication of TW201035832A publication Critical patent/TW201035832A/en
Application granted granted Critical
Publication of TWI469015B publication Critical patent/TWI469015B/en

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Position Input By Displaying (AREA)

Description

具有滑動控制的觸摸電子裝置及其滑動控制方法 Touch electronic device with sliding control and sliding control method thereof

本發明涉及一種具有觸摸功能的電子裝置及其控制方法,尤其涉及一種具有滑動控制的觸摸電子裝置及其滑動控制方法。 The invention relates to an electronic device with touch function and a control method thereof, in particular to a touch electronic device with sliding control and a sliding control method thereof.

紅外觸摸裝置作為電子裝置的一種新型的輸入設備,使人與電子裝置之間的人機交互更為直觀,給用戶帶來極大的便利,應用領域已遍及家電、公共資訊、電子遊戲、辦公自動化設備等各個領域。如圖11所示,現有技術具有滑動控制功能的觸摸電子裝置110的示意圖,其工作原理為:在紅外觸摸裝置101的四周分佈若干紅外線發射管111和紅外線接收管112,其中,紅外線發射管111與紅外線接收管112成對放置,在水平方向上的所有成對的紅外線發射管111與紅外線接收管112的連線幾乎平行,在垂直方向上的所有成對的紅外線發射管111與紅外線接收管112的連線也幾乎平行,形成水平垂直交叉的紅外線矩陣。用戶在觸摸螢幕時,例如觸摸螢幕上的P點,手指就會擋住經過該位置的水平與垂直兩條紅外線,因而可以判斷出觸摸點P在顯示單元103的座標值,並將該座標值輸入主處理單元102處理。該電子裝置110用於滑動控制時,通常是通過計算出起點和終點的座標值,根據座標值的變化量判斷出滑動的方位,然後執行相應的控制。 As a new type of input device for electronic devices, the infrared touch device makes the human-computer interaction between human and electronic devices more intuitive, and brings great convenience to users. The application fields have spread to home appliances, public information, electronic games, office automation. Equipment and other fields. As shown in FIG. 11 , a schematic diagram of a touch electronic device 110 having a sliding control function is disclosed in the prior art. A plurality of infrared emitting tubes 111 and infrared receiving tubes 112 are distributed around the infrared touch device 101 , wherein the infrared emitting tubes 111 are disposed. It is placed in pairs with the infrared receiving tube 112, and all pairs of infrared emitting tubes 111 and the infrared receiving tube 112 in the horizontal direction are almost parallel, and all pairs of infrared emitting tubes 111 and infrared receiving tubes in the vertical direction are arranged. The lines of 112 are also nearly parallel, forming an infrared matrix that intersects horizontally and vertically. When the user touches the screen, for example, touches the P point on the screen, the finger blocks the horizontal and vertical infrared rays passing through the position, so that the coordinate value of the touch point P on the display unit 103 can be determined, and the coordinate value is input. The main processing unit 102 processes. When the electronic device 110 is used for the sliding control, the coordinates of the starting point and the ending point are usually calculated, the orientation of the sliding is determined according to the amount of change in the coordinate value, and then the corresponding control is performed.

然而,上述具有紅外控制功能的電子裝置110用於滑動控 制時,必須獲取座標值,計算座標值的變化量,然後根據座標值的變化量獲取滑動的方位和距離大小變化,執行相應的控制。獲取座標值必然會讓電子裝置110的設計更加複雜及提高生產的成本。 However, the above electronic device 110 with infrared control function is used for sliding control When making the system, it is necessary to obtain the coordinate value, calculate the change amount of the coordinate value, and then obtain the change of the sliding azimuth and the distance size according to the change amount of the coordinate value, and perform corresponding control. Obtaining the coordinate value inevitably complicates the design of the electronic device 110 and increases the cost of production.

因此,有必要發明一種具有滑動控制的觸摸電子裝置及其滑動控制方法,在不需要獲取和計算座標值的情況下,就可以獲取滑動的方位和距離大小變化,執行相應的控制,並實現相應功能,從而使電子裝置的設計簡單化,降低生產的成本。 Therefore, it is necessary to invent a touch electronic device with sliding control and a sliding control method thereof, and it is possible to obtain the change of the sliding azimuth and the distance size without performing acquisition and calculation of the coordinate value, perform corresponding control, and implement corresponding The function is to simplify the design of the electronic device and reduce the cost of production.

本發明的首要目的在於提供一種具有滑動控制功能的觸摸電子裝置,使電子裝置的設計簡單化,降低生產的成本。 A primary object of the present invention is to provide a touch electronic device having a sliding control function, which simplifies the design of the electronic device and reduces the cost of production.

所提供的具有滑動控制的觸摸電子裝置,包括一顯示單元、一主處理單元、一紅外觸摸裝置、一面罩框及一後蓋,所述紅外觸摸裝置電連接於所述主處理單元,所述主處理單元電連接所述顯示單元所述紅外觸摸裝置、主處理單元以及顯示單元置於所述面罩框與後蓋形成的空間內,所述紅外觸摸裝置緊固於所述顯示單元上。所述紅外觸摸裝置包括:一電路板;一紅外接收模組,安裝在所述電路板上,用於接收紅外信號;一紅外發射模組,安裝在所述電路板上,用於發射紅外信號;一微控制器,電連接所述紅外發射模組和所述紅外接收模組,用於控制所述紅外發射模組向所述紅外接收模組發射紅外信號以構成多條紅外連線,所述紅外連線為非矩陣式。 所述微控制器從所述紅外接收模組處接收信號以確定被隔斷的紅外連線,發送隔斷的紅外連線資訊至所述主處理單元。所述主處理單元根據隔斷的紅外連線資訊確定在一預設時間內被隔斷的紅外連線的次序,並根據確定的次序執行對應的控制指令。 The touch electronic device with sliding control includes a display unit, a main processing unit, an infrared touch device, a cover frame and a back cover, wherein the infrared touch device is electrically connected to the main processing unit, The main processing unit electrically connects the display unit, the infrared touch device, the main processing unit and the display unit are disposed in a space formed by the mask frame and the back cover, and the infrared touch device is fastened on the display unit. The infrared touch device includes: a circuit board; an infrared receiving module mounted on the circuit board for receiving an infrared signal; and an infrared transmitting module mounted on the circuit board for transmitting an infrared signal a micro-controller electrically connecting the infrared emitting module and the infrared receiving module, configured to control the infrared transmitting module to emit an infrared signal to the infrared receiving module to form a plurality of infrared connecting lines, The infrared connection is non-matrix. The microcontroller receives a signal from the infrared receiving module to determine a blocked infrared connection, and sends the blocked infrared connection information to the main processing unit. The main processing unit determines an order of the infrared connections that are blocked within a preset time according to the blocked infrared connection information, and executes corresponding control commands according to the determined order.

本發明的另一目的在於提供一種電子裝置的滑動觸摸控制方法,所述方法包括:控制紅外發射模組發射紅外信號至紅外接收模組,與所述紅外接收模組之間形成多條紅外連線;判斷是否有紅外連線被隔斷;若有紅外連線被隔斷,輸出隔斷的紅外連線資訊至主處理單元;判斷在一預設時間內是否有多條紅外連線被隔斷;及若有多條紅外連線被隔斷,確定紅外連線被隔斷的次序,執行與紅外連線被隔斷的次序對應的控制指令。 Another object of the present invention is to provide a sliding touch control method for an electronic device, the method comprising: controlling an infrared transmitting module to emit an infrared signal to an infrared receiving module, and forming a plurality of infrared connections with the infrared receiving module Line; determine whether there is an infrared connection is blocked; if the infrared connection is blocked, output the infrared connection information of the partition to the main processing unit; determine whether a plurality of infrared connections are blocked within a preset time; A plurality of infrared connections are cut off to determine the order in which the infrared connections are blocked, and a control command corresponding to the order in which the infrared connections are blocked is performed.

本發明之優點在於,籍此具有滑動控制的觸摸電子裝置及其滑動控制方法,在不需要獲取和計算座標值的情況下,就可以獲取滑動的方位和距離大小變化,執行相應的控制,並實現相應功能,從而使電子裝置的設計簡單化,降低生產的成本。 The invention has the advantages that the touch electronic device with sliding control and the sliding control method thereof can acquire the change of the sliding azimuth and the distance size without performing the acquisition and calculation of the coordinate value, and perform corresponding control, and The corresponding functions are realized, thereby simplifying the design of the electronic device and reducing the cost of production.

請參考圖1和2,圖1為本發明具有滑動控制的觸摸電子裝置的爆炸視圖。圖2為本發明具有滑動控制的觸摸電子裝 置的模組圖。所述具有滑動控制的觸摸電子裝置100包括一紅外觸摸裝置1、一主處理單元2、一顯示單元3、一面罩框4及一後蓋5。所述紅外觸摸裝置1、主處理單元2及顯示單元3置於所述面罩框4與所述後蓋5形成的空間內。所述主處理單元2分別電連接於紅外觸摸裝置1和顯示單元2。所述紅外觸摸裝置1安裝於所述顯示單元3與所述面罩框4形成的空間內。所述紅外觸摸裝置1包括至少一紅外發射模組10、一紅外接收模組11及一電路板12。所述電路板12為框形結構。將所述面罩框4卡合在所述後蓋5上後,可以將所述框形電路板12緊固在所述顯示單元3上的邊緣位置。所述紅外發射模組10與紅外接收模組11安裝在所述框形電路板的不同邊框上。 1 and 2, FIG. 1 is an exploded view of a touch electronic device with slide control according to the present invention. 2 is a touch electronic device with sliding control according to the present invention Set the module diagram. The touch electronic device 100 with sliding control includes an infrared touch device 1, a main processing unit 2, a display unit 3, a cover frame 4 and a back cover 5. The infrared touch device 1, the main processing unit 2, and the display unit 3 are placed in a space formed by the mask frame 4 and the back cover 5. The main processing unit 2 is electrically connected to the infrared touch device 1 and the display unit 2, respectively. The infrared touch device 1 is mounted in a space formed by the display unit 3 and the mask frame 4. The infrared touch device 1 includes at least one infrared emitting module 10 , an infrared receiving module 11 , and a circuit board 12 . The circuit board 12 has a frame structure. After the mask frame 4 is engaged with the back cover 5, the frame circuit board 12 can be fastened to the edge position on the display unit 3. The infrared emitting module 10 and the infrared receiving module 11 are mounted on different frames of the frame-shaped circuit board.

所述電路板12包括:一微控制器13。所述微控制器13電連接所述紅外發射模組10和所述紅外接收模組11,用於控制所述紅外發射模組10向所述紅外接收模組11發射紅外信號以構成多條紅外連線;並從所述紅外接收模組11接收資訊以確定被隔斷的紅外連線。所述微控制器13發送隔斷的紅外連線資訊至所述主處理單元2。所述主處理單元2存儲有一隔斷的紅外連線資訊對應的控制指令列表,並根據被隔斷的紅外連線的資訊,執行對應的控制指令。 The circuit board 12 includes a microcontroller 13. The micro-controller 13 is electrically connected to the infrared transmitting module 10 and the infrared receiving module 11 for controlling the infrared transmitting module 10 to emit an infrared signal to the infrared receiving module 11 to form a plurality of infrared rays. Connecting; and receiving information from the infrared receiving module 11 to determine the blocked infrared connection. The microcontroller 13 sends the blocked infrared connection information to the main processing unit 2. The main processing unit 2 stores a control instruction list corresponding to the blocked infrared connection information, and executes a corresponding control instruction according to the information of the blocked infrared connection.

圖3為本發明具有滑動控制的觸摸電子裝置的第一實施方式的示意圖。在本實施例中,所述紅外發射模組10被例舉為8個紅外二極體10,所述紅外接收模組11被例舉為8個紅外三極體11;所述紅外二極體向所述紅外三極體發 射紅外信號,形成8條紅外連線L1~L8。所述紅外二極體與紅外三極體的數量可以根據實際需要增減。 3 is a schematic diagram of a first embodiment of a touch electronic device with slide control according to the present invention. In this embodiment, the infrared emitting module 10 is exemplified as eight infrared diodes 10, and the infrared receiving module 11 is exemplified as eight infrared transistors 11; the infrared diode Sending to the infrared triode Infrared signal is generated to form 8 infrared lines L1~L8. The number of the infrared diode and the infrared triode can be increased or decreased according to actual needs.

圖4為本發明具有滑動控制的觸摸電子裝置200的第二實施方式的示意圖。本實施方式中,所述紅外發射模組10被例舉為8個紅外二極體,所述紅外接收模組被例舉為1個紅外三極體。所述微控制器13控制所述8個紅外二極體向所述紅外三極體依次發射紅外信號構成8條紅外連線,該些紅外連線為非矩陣式。所述紅外二極體的數量可以根據實際需要增減。 4 is a schematic diagram of a second embodiment of a touch electronic device 200 with slide control according to the present invention. In the embodiment, the infrared emitting module 10 is exemplified by eight infrared diodes, and the infrared receiving module is exemplified as one infrared triode. The microcontroller 13 controls the eight infrared diodes to sequentially emit infrared signals to the infrared triode to form eight infrared connections, and the infrared connections are non-matrix type. The number of the infrared diodes can be increased or decreased according to actual needs.

圖5為本發明具有滑動控制功能的觸摸電子裝置300的第三實施方式的示意圖。本實施方式中,所述紅外發射模組10被例舉為8個紅外二極體,所述紅外接收模組11被例舉為2個紅外三極體。所述微控制器13控制所述8個紅外二極體分別向所述2個紅外三極體依次發射紅外信號,並構成8條紅外連線,該些紅外連線為非矩陣式。所述紅外二極體的數量可以根據實際需要增減。 FIG. 5 is a schematic diagram of a third embodiment of a touch electronic device 300 having a slide control function according to the present invention. In the embodiment, the infrared emitting module 10 is exemplified by eight infrared diodes, and the infrared receiving module 11 is exemplified by two infrared transistors. The microcontroller 13 controls the eight infrared diodes to sequentially transmit infrared signals to the two infrared triodes, and constitutes eight infrared connections, and the infrared connections are non-matrix. The number of the infrared diodes can be increased or decreased according to actual needs.

圖6為本發明具有滑動控制功能的觸摸電子裝置400的第四實施方式的示意圖。本實施方式中,所述紅外發射模組10被例舉為1個紅外二極體,所述紅外接收模組11被例舉為8個紅外三極體。所述微控制器13控制所述紅外二極體分別向所述8個紅外三極體依次發射紅外信號,並構成8條紅外連線,該些紅外連線為非矩陣式。所述紅外三極體的數量可以根據實際需要增減。 FIG. 6 is a schematic diagram of a fourth embodiment of a touch electronic device 400 having a slide control function according to the present invention. In the embodiment, the infrared emitting module 10 is exemplified as one infrared diode, and the infrared receiving module 11 is exemplified as eight infrared transistors. The micro-controller 13 controls the infrared diodes to sequentially emit infrared signals to the eight infrared triodes, and constitutes eight infrared connections, and the infrared connections are non-matrix type. The number of the infrared triodes can be increased or decreased according to actual needs.

圖7為本發明具有滑動控制的觸摸電子裝置的操作示意圖 。當用戶的手指或其他物體隔斷所述紅外連線L1時,所述微控制器13通過所述紅外發射模組10發射信號的情況和所述紅外接收模組11接收信號的情況獲知該紅外連線L1被隔斷,並將紅外連線L1被隔斷的資訊輸入所述主處理單元2。所述主處理單元2執行與被隔斷的紅外連線L1對應的控制指令。同樣,當其他紅外連線L2~L8被隔斷時,所述微控制器13確定被隔斷的紅外連線,輸出隔斷的紅外連線資訊至所述主處理單元2,主處理單元2根據被隔斷紅外連線的資訊執行對應的控制指令。 FIG. 7 is a schematic diagram of operation of a touch electronic device with slide control according to the present invention; . When the user's finger or other object blocks the infrared connection L1, the microcontroller 13 obtains the signal through the infrared transmitting module 10 and the infrared receiving module 11 receives the signal to know the infrared connection. The line L1 is blocked, and information that the infrared connection L1 is blocked is input to the main processing unit 2. The main processing unit 2 executes a control command corresponding to the blocked infrared connection L1. Similarly, when the other infrared connections L2~L8 are blocked, the microcontroller 13 determines the blocked infrared connection, outputs the blocked infrared connection information to the main processing unit 2, and the main processing unit 2 is blocked according to the partition. The information of the infrared connection executes the corresponding control command.

請參考圖8,圖8為本發明紅外連線的檢測控制流程圖。本實施方式中,所述控制流程圖只具體描述了一個檢測周期,在該檢測周期內,所述微控制器13依次檢測紅外連線L1~L8是否被隔斷。檢測步驟具體為:步驟S11中:微控制器13控制紅外發射模組10發射紅外信號;其中,步驟S11中,從紅外連線L1開始檢測。步驟S12中:微控制器13判斷所述紅外接收模組11是否接收到紅外信號,若是,則執行步驟S13:所述紅外發射模組10與所述紅外接收模組11之間形成的紅外連線未被隔斷,程式執行步驟S15;若否,則在步驟S14中:所述微控制器13獲知所述紅外發射模組10與所述紅外接收模組11之間被隔斷的紅外連線的資訊,並發送隔斷的紅外連線的資訊至所述主處理單元2;步驟S15:所述微控制器13判斷是否完成一個檢測周期,若是,則進入步驟S16:開始下一檢測周期;若否,則返回步驟S11。 Please refer to FIG. 8. FIG. 8 is a flow chart of the detection and control of the infrared connection according to the present invention. In the present embodiment, the control flow chart only specifically describes a detection period in which the microcontroller 13 sequentially detects whether the infrared connections L1 L L8 are blocked. The detecting step is specifically as follows: in step S11, the microcontroller 13 controls the infrared transmitting module 10 to emit an infrared signal; wherein, in step S11, the detecting is started from the infrared connection L1. In step S12, the microcontroller 13 determines whether the infrared receiving module 11 receives the infrared signal, and if so, performs step S13: the infrared connection formed between the infrared transmitting module 10 and the infrared receiving module 11 If the line is not blocked, the program performs step S15; if not, in step S14: the microcontroller 13 learns the infrared connection between the infrared transmitting module 10 and the infrared receiving module 11 Information, and send the information of the blocked infrared connection to the main processing unit 2; step S15: the microcontroller 13 determines whether a detection cycle is completed, and if so, proceeds to step S16: starts the next detection cycle; Then, the process returns to step S11.

圖9為本發明具有滑動控制的觸摸電子裝置的滑動操作的 示意圖。用戶滑動觸摸所述顯示單元3時,依次隔斷多條紅外連線。所述紅外觸摸裝置1檢測隔斷的紅外連線,並輸出隔斷紅外連線的資訊至所述主處理單元2。所述主處理單元2存儲有一隔斷紅外連線的資訊與對應的控制指令的列表,並根據被斷紅外連線的資訊執行對應的控制指令,實現電子裝置的相應功能。在本實施方式中,所述的隔斷的紅外連線資訊包括隔斷紅外連線的次序及隔斷紅外連線的數目;對應的控制指令由主處理單元2根據接收的隔斷紅外連線的次序和數目獲得。其中,所述控制指令可包括被控制物件方位和大小的控制,例如圖像的旋轉方向和旋轉幅度的控制、圖像的移動方向和距離控制、圖像放大/縮小的幅度控制、頁面的滾動控制以及聲音遞增/遞減控制等等。例如:當用戶依次隔斷紅外連線L2、L3、L4時,所述微控制器13在一預定時間間隔內判斷所述紅外連線L2、L3、L4依次被隔斷,並將該隔斷紅外連線的次序和數目資訊輸出至所述主處理單元2。所述主處理單元2根據該隔斷紅外連線的次序L2、L3、L4和數目資訊生成一控制指令。若上述控制指令用於控制圖像移動,所述紅外連線被隔斷的次序對應圖像移動的方向,所述紅外連線被隔斷的數目對應圖像移動的距離。則紅外連線L2L3L4由從L2至L4依次被隔斷時,所述主處理單元2執行其控制指令將顯示器3顯示的圖像由上向下移動一定距離;紅外連線L2、L3、L4由從L4至L2依次被隔斷時,所述主處理單元2執行其控制指令將顯示器3顯示的圖像由下向上移動一定距離。 FIG. 9 is a sliding operation of a touch electronic device with slide control according to the present invention schematic diagram. When the user slides and touches the display unit 3, a plurality of infrared connections are sequentially blocked. The infrared touch device 1 detects the blocked infrared connection and outputs information for blocking the infrared connection to the main processing unit 2. The main processing unit 2 stores a list of information and corresponding control commands for blocking the infrared connection, and executes corresponding control commands according to the information of the broken infrared connection to implement the corresponding functions of the electronic device. In this embodiment, the blocked infrared connection information includes an order of blocking infrared connections and a number of interrupted infrared connections; corresponding control commands are ordered and processed by the main processing unit 2 according to the received infrared connection lines. obtain. Wherein, the control instruction may include control of the orientation and size of the controlled object, such as control of the rotation direction and rotation amplitude of the image, movement direction and distance control of the image, amplitude control of the image enlargement/reduction, and scrolling of the page. Control and sound up/down control and more. For example, when the user sequentially blocks the infrared connections L2, L3, and L4, the microcontroller 13 determines that the infrared connections L2, L3, and L4 are sequentially blocked in a predetermined time interval, and connects the infrared connection. The order and number information is output to the main processing unit 2. The main processing unit 2 generates a control command according to the order L2, L3, L4 and the number information of the blocking infrared connection. If the control command is used to control image movement, the order in which the infrared lines are blocked corresponds to the direction in which the image moves, and the number of the infrared lines that are blocked corresponds to the distance moved by the image. When the infrared connection L2L3L4 is sequentially blocked from L2 to L4, the main processing unit 2 executes its control command to move the image displayed by the display 3 from the top to the bottom by a certain distance; the infrared connection L2, L3, L4 is from the slave When L4 to L2 are sequentially blocked, the main processing unit 2 executes its control command to move the image displayed by the display 3 by a certain distance from the bottom to the top.

此外,還可將紅外連線分為兩組,一組用於被控制物件在水平方向的控制,另一組用於被控制物件在垂直方向上的控制。例如,用於控制圖像的移動時,紅外連線L1、L2、L3、L4被隔斷的次序和數目用於控制圖像在垂直方向上的上下移動和移動距離,即紅外連線被隔斷的次序沿垂直方向時,所述主處理單元2確定的被隔斷的紅外連線的次序和數目被用於控制圖像在垂直方向上的上下移動和移動距離。紅外連線L5、L6、L7、L8被隔斷的次序和數目用於控制圖像在水平方向上的左右移動和移動距離,即紅外連線被隔斷的次序沿水平方向時,所述主處理單元2確定的被隔斷的紅外連線的次序和數目被用於控制圖像在水平方向上的左右移動和移動距離。所述主處理單元2根據被隔斷紅外連線的次序和數目沿水平和垂直方向上的變化生成一控制指令,根據該控制指令控制圖像移動的方向和距離。 In addition, the infrared connection can be divided into two groups, one for the control of the controlled object in the horizontal direction and the other for the vertical control of the controlled object. For example, when used to control the movement of an image, the order and number of the infrared lines L1, L2, L3, and L4 are blocked to control the vertical movement and the moving distance of the image in the vertical direction, that is, the infrared connection is blocked. When the order is in the vertical direction, the order and number of blocked infrared lines determined by the main processing unit 2 are used to control the up and down movement and moving distance of the image in the vertical direction. The order and number of the infrared connection lines L5, L6, L7, and L8 are used to control the left and right movement and the moving distance of the image in the horizontal direction, that is, when the infrared connection is blocked in the horizontal direction, the main processing unit 2 The determined order and number of blocked infrared connections are used to control the left and right movement and movement distance of the image in the horizontal direction. The main processing unit 2 generates a control command according to the change in the order and number of the blocked infrared lines in the horizontal and vertical directions, and controls the direction and distance of the image movement according to the control command.

在其他實施方式中,所述的隔斷的紅外連線資訊僅包括隔斷紅外連線的次序;對應的控制指令由主處理單元2根據接收的隔斷紅外連線的次序獲得。 In other embodiments, the blocked infrared connection information includes only the order in which the infrared connections are blocked; the corresponding control commands are obtained by the main processing unit 2 in accordance with the received blocking infrared connections.

圖10為本發明具有滑動控制功能的觸摸電子裝置滑動控制的控制流程圖。所述微控制器13根據步驟S21:判斷是否有紅外連線被隔斷,若否,則繼續檢測;若是,執行步驟S22:輸出隔斷的紅外連線資訊至主處理單元2;在一第一預設時間內,所述主處理單元2根據步驟S23:判斷是否有多條紅外連線被隔斷,若否,則所述主處理單元2根據步驟S26:執行與之前接收的被隔斷的紅外連線 對應的控制指令;若是,則所述主處理單元2根據步驟S24:確定被隔斷紅外連線的次序;所述主處理單元2還根據步驟S25:執行與被隔斷紅外連線的次序對應的控制指令。其中,步驟S23中,確定多條紅外連線被隔斷的步驟進一步包括:在所述第一預設時間內所述主處理單元2連續接收到所述微控制器13輸出的至少兩個隔斷的紅外連線資訊。 FIG. 10 is a control flowchart of a slide control of a touch electronic device having a slide control function according to the present invention. The microcontroller 13 determines, according to step S21, whether the infrared connection is blocked, and if not, continues to detect; if yes, step S22 is performed: outputting the blocked infrared connection information to the main processing unit 2; In the set time, the main processing unit 2 determines, according to step S23, whether there are multiple infrared connections that are blocked. If not, the main processing unit 2 performs the disconnected infrared connection with the previous reception according to step S26. Corresponding control instructions; if yes, the main processing unit 2 determines the order in which the infrared connections are blocked according to step S24; the main processing unit 2 also performs control corresponding to the order of the disconnected infrared connections according to step S25 instruction. In step S23, the step of determining that the plurality of infrared connections are blocked further includes: the main processing unit 2 continuously receiving at least two partitions output by the microcontroller 13 during the first preset time. Infrared connection information.

在上述實施方式中,為了避免誤操作,當一紅外連線被隔斷持續達到一第二預設時間時,該微控制器13才輸出被隔斷的紅外連線的資訊,所述主處理單元2執行被隔斷的紅外連線對應的控制指令。 In the above embodiment, in order to avoid erroneous operation, when an infrared connection is blocked for a second predetermined time, the microcontroller 13 outputs the information of the blocked infrared connection, and the main processing unit 2 performs The control command corresponding to the blocked infrared connection.

上述各實施方式,不需要獲取座標值,就可以獲取滑動的方位變化,執行相應的控制,並實現相應功能,從而使電子裝置的設計簡單化;其中,上述第二、三及四實施方式中,構成紅外發射模組10或者紅外接收模組11的紅外二極體和紅外三極體的數量被不同程度的減少,因此該具有滑動控制功能的觸摸電子裝置的生產成本大大降低。 In the above embodiments, the orientation change of the sliding can be acquired without acquiring the coordinate value, the corresponding control is performed, and the corresponding function is realized, thereby simplifying the design of the electronic device; wherein, in the second, third and fourth embodiments, The number of infrared diodes and infrared triodes constituting the infrared emitting module 10 or the infrared receiving module 11 is reduced to a different extent, so that the production cost of the touch electronic device having the sliding control function is greatly reduced.

綜上所述,本發明所述具有滑動控制功能的觸摸電子裝置及其控制方法,不需要獲取座標值,就可以獲取滑動的方位變化,執行相應的控制,並實現相應功能,從而使電子裝置的設計簡單化,降低生產的成本。 In summary, the touch electronic device with the sliding control function and the control method thereof can obtain the change of the sliding orientation without performing the coordinate value, perform the corresponding control, and implement the corresponding function, thereby making the electronic device The design is simplified, reducing the cost of production.

1、101‧‧‧紅外觸摸裝置 1, 101‧‧‧Infrared touch device

2、102‧‧‧主處理單元 2, 102‧‧‧ main processing unit

3、103‧‧‧顯示單元 3, 103‧‧‧ display unit

4‧‧‧面罩框 4‧‧‧ mask frame

5‧‧‧後蓋 5‧‧‧Back cover

10‧‧‧紅外發射模組 10‧‧‧Infrared emission module

11‧‧‧紅外接收模組 11‧‧‧Infrared receiver module

12‧‧‧電路板 12‧‧‧ boards

13‧‧‧微控制器 13‧‧‧Microcontroller

100、110、200、300、400‧‧‧電子裝置 100, 110, 200, 300, 400‧‧‧ electronic devices

S21‧‧‧偵測是否有紅外聯線被隔斷 S21‧‧‧Detecting whether infrared connection is blocked

S22‧‧‧輸出隔斷紅外連線的資訊至主處理單元 S22‧‧‧ Output information for blocking infrared connection to the main processing unit

S23‧‧‧判斷是否有多條紅外連線被隔斷 S23‧‧‧Check if there are multiple infrared connections blocked

S24‧‧‧確定被隔斷紅外連線的次序 S24‧‧‧Determining the order of the infrared connection

S25‧‧‧執行與被隔斷紅外連線的次序對應的控制指令 S25‧‧‧ Execute control commands corresponding to the order in which the infrared connection is blocked

S26‧‧‧執行與之前接收的被隔斷的紅外連線對應的控制指令 S26‧‧‧ Execute the control command corresponding to the previously received blocked infrared connection

圖1為本發明具有滑動控制的觸摸電子裝置的爆炸視圖。 1 is an exploded view of a touch electronic device with slide control of the present invention.

圖2為本發明具有滑動控制的觸摸電子裝置的模組圖。 2 is a block diagram of a touch electronic device with slide control according to the present invention.

圖3為本發明具有滑動控制的觸摸電子裝置的第一實施方式的示意圖。 3 is a schematic diagram of a first embodiment of a touch electronic device with slide control according to the present invention.

圖4為本發明具有滑動控制的觸摸電子裝置的第二實施方式的示意圖。 4 is a schematic diagram of a second embodiment of a touch electronic device with slide control according to the present invention.

圖5為本發明具有滑動控制的觸摸電子裝置的第三實施方式的示意圖。 FIG. 5 is a schematic diagram of a third embodiment of a touch electronic device with slide control according to the present invention.

圖6為本發明具有滑動控制的觸摸電子裝置的第四實施方式的示意圖。 6 is a schematic diagram of a fourth embodiment of a touch electronic device with slide control according to the present invention.

圖7為本發明具有滑動控制的觸摸電子裝置的操作示意圖。 FIG. 7 is a schematic diagram of the operation of the touch electronic device with slide control according to the present invention.

圖8為本發明紅外連線的檢測控制流程圖。 FIG. 8 is a flow chart of detecting and controlling infrared connection according to the present invention.

圖9為本發明具有滑動控制功能的觸摸電子裝置的滑動操作的示意圖。 FIG. 9 is a schematic diagram of a sliding operation of a touch electronic device having a slide control function according to the present invention.

圖10為本發明具有滑動控制功能的觸摸電子裝置滑動控制的控制流程圖。 FIG. 10 is a control flowchart of a slide control of a touch electronic device having a slide control function according to the present invention.

圖11為現有技術具有滑動控制功能的觸摸電子裝置的示意框圖。 11 is a schematic block diagram of a prior art touch electronic device having a slide control function.

S21‧‧‧偵測是否有紅外聯線被隔斷 S21‧‧‧Detecting whether infrared connection is blocked

S22‧‧‧輸出隔斷紅外連線的資訊至主處理單元 S22‧‧‧ Output information for blocking infrared connection to the main processing unit

S23‧‧‧判斷是否有多條紅外連線被隔斷 S23‧‧‧Check if there are multiple infrared connections blocked

S24‧‧‧確定被隔斷紅外連線的次序 S24‧‧‧Determining the order of the infrared connection

S25‧‧‧執行與被隔斷紅外連線的次序對應的控制指令 S25‧‧‧ Execute control commands corresponding to the order in which the infrared connection is blocked

S26‧‧‧執行與之前接收的被隔斷的紅外連線對應的控制指令 S26‧‧‧ Execute the control command corresponding to the previously received blocked infrared connection

Claims (9)

一種具有滑動控制的觸摸電子裝置,包括一顯示單元、一主處理單元、一紅外觸摸裝置、一面罩框及一後蓋,所述紅外觸摸裝置電連接於所述主處理單元,所述主處理單元電連接所述顯示單元,所述紅外觸摸裝置、主處理單元以及顯示單元置於所述面罩框與後蓋形成的空間內,所述紅外觸摸裝置緊固於所述顯示單元上,其改良在於,所述紅外觸摸裝置包括:一電路板;一紅外發射模組,安裝在所述電路板上,用於發射紅外信號;一紅外接收模組,安裝在所述電路板上,用於接收紅外信號,其中,所述紅外發射模組與所述紅外接收模組中的其中一個為單個紅外二極體,所述紅外發射模組與所述紅外接收模組中的另一個為多個紅外三極體,所述單個紅外二極管朝向所述多個紅外三極體設置;及一微控制器,電連接所述紅外發射模組和所述紅外接收模組,用於控制所述紅外發射模組向所述紅外接收模組發射紅外信號以構成多條紅外連線,並用於從所述紅外接收模組處接收信號以確定被隔斷的紅外連線,以及發送隔斷的紅外連線資訊至所述主處理單元;所述主處理單元用於根據隔斷的紅外連線資訊確定在一第一預設時間內被隔斷的紅外連線的次序,並根據確定的次序執行對應的控制指令。 A touch electronic device with sliding control includes a display unit, a main processing unit, an infrared touch device, a cover frame and a back cover, the infrared touch device is electrically connected to the main processing unit, and the main processing The unit is electrically connected to the display unit, and the infrared touch device, the main processing unit and the display unit are disposed in a space formed by the mask frame and the back cover, and the infrared touch device is fastened to the display unit, and the improvement is performed. The infrared touch device includes: a circuit board; an infrared transmitting module mounted on the circuit board for transmitting an infrared signal; and an infrared receiving module mounted on the circuit board for receiving An infrared signal, wherein one of the infrared emitting module and the infrared receiving module is a single infrared diode, and the other one of the infrared emitting module and the infrared receiving module is a plurality of infrared a triode, the single infrared diode is disposed toward the plurality of infrared triodes; and a microcontroller electrically connecting the infrared emission module and the infrared receiving module The infrared transmitting module is configured to transmit an infrared signal to the infrared receiving module to form a plurality of infrared wires, and is configured to receive signals from the infrared receiving module to determine a blocked infrared connection, and send Intersecting infrared connection information to the main processing unit; the main processing unit is configured to determine an order of the infrared connections that are blocked in a first preset time according to the blocked infrared connection information, and according to the determined order Execute the corresponding control command. 如申請專利範圍第1項所述的具有滑動控制的觸摸電子裝 置,其中,所述微控制器輸出被隔斷的紅外連線的資訊是為當該紅外連線被隔斷持續達到一第二預設時間時輸出。 A touch electronic device with sliding control as described in claim 1 The information that the microcontroller outputs the blocked infrared connection is output when the infrared connection is blocked for a second preset time. 如申請專利範圍第1項所述的具有滑動控制的觸摸電子裝置,其中,所述主處理單元接收的被隔斷的紅外連線的資訊還包括紅外連線被隔斷的數目,所述主處理單元還用於將被隔斷紅外連線的次序和數目組合執行對應的控制指令。 The touch electronic device with sliding control according to claim 1, wherein the information of the blocked infrared connection received by the main processing unit further includes a number of infrared connection lines, the main processing unit It is also used to execute the corresponding control commands in combination with the order and number of blocked infrared connections. 如申請專利範圍第1項所述的具有滑動控制的觸摸電子裝置,其中,所述主處理單元還用於根據隔斷的紅外連線資訊確定在所述第一預設時間內被隔斷的紅外連線為一條時,執行與該紅外連線對應的控制指令。 The touch control device with sliding control according to claim 1, wherein the main processing unit is further configured to determine, according to the blocked infrared connection information, an infrared connection that is blocked during the first preset time. When the line is one, a control command corresponding to the infrared connection is executed. 如申請專利範圍第1項所述的具有滑動控制的觸摸電子裝置,其中,所述主處理單元還用於根據隔斷的紅外連線資訊確定在所述第一預設時間內被隔斷的紅外連線為多條,將多條紅外連線被隔斷的次序和數目沿水平和垂直方向上的變化組合執行對應的控制指令。 The touch control device with sliding control according to claim 1, wherein the main processing unit is further configured to determine, according to the blocked infrared connection information, an infrared connection that is blocked during the first preset time. The lines are a plurality of lines, and the corresponding control commands are executed by combining the order and number of the plurality of infrared lines that are cut off in the horizontal and vertical directions. 一種電子裝置的滑動觸摸控制方法,所述電子裝置包括一顯示單元、一主處理單元及一紅外觸摸裝置,所述紅外觸摸裝置包括一微控制器、一紅外發射模組及一紅外接收模組,其改良在於,所述紅外發射模組與所述紅外接收模組中的其中一個為單個紅外二極體,所述紅外發射模組與所述紅外接收模組中的另一個為多個紅外三極體,所述單個紅外二極管朝向所述多個紅外三極體設置,所述電子裝置執行如下步驟:控制紅外發射模組發射紅外信號至紅外接收模組,使所述紅外發射模組與所述紅外接收模組之間形成多條紅外連線 ;判斷是否有紅外連線被隔斷;若有紅外連線被隔斷,輸出隔斷的紅外連線資訊至主處理單元;判斷在一第一預設時間內是否有多條紅外連線被隔斷;及若有多條紅外連線被隔斷,確定紅外連線被隔斷的次序,執行與紅外連線被隔斷的次序對應的控制指令。 A sliding touch control method for an electronic device, the electronic device comprising a display unit, a main processing unit and an infrared touch device, the infrared touch device comprising a microcontroller, an infrared transmitting module and an infrared receiving module The improvement is that one of the infrared emitting module and the infrared receiving module is a single infrared diode, and the other one of the infrared emitting module and the infrared receiving module is a plurality of infrared a triode, the single infrared diode is disposed toward the plurality of infrared triodes, and the electronic device performs the following steps: controlling the infrared emission module to emit an infrared signal to the infrared receiving module, so that the infrared emitting module and the infrared emitting module Forming a plurality of infrared connections between the infrared receiving modules Determining whether an infrared connection is blocked; if an infrared connection is blocked, outputting the infrared connection information of the partition to the main processing unit; determining whether a plurality of infrared connections are blocked during a first predetermined time; If a plurality of infrared connections are blocked, the order in which the infrared connections are blocked is determined, and a control command corresponding to the order in which the infrared connections are blocked is performed. 如申請專利範圍第6項所述的滑動觸摸控制方法,其中,確定紅外連線被隔斷的步驟進一步包括:確定該紅外連線被隔斷是否持續達到一第二預定時間,確定該紅外連線被隔斷是當該紅外連線被隔斷持續達到該第二預設時間。 The sliding touch control method of claim 6, wherein the step of determining that the infrared connection is blocked further comprises: determining whether the infrared connection is blocked for a second predetermined time, determining that the infrared connection is The partition is when the infrared connection is blocked for the second predetermined time. 如申請專利範圍第6項所述的滑動觸摸控制方法,其中,判斷多條紅外連線被隔斷的步驟進一步包括:確定紅外連線被隔斷的數目,執行與紅外連線被隔斷的次序和數目對應的控制指令。 The sliding touch control method of claim 6, wherein the step of determining that the plurality of infrared connections are blocked further comprises: determining the number of the infrared connections to be blocked, and performing the order and number of interruptions from the infrared connection. Corresponding control commands. 如申請專利範圍第6項所述的滑動觸摸控制方法,其中,還包括步驟,若在所述第一預設時間內只有一條紅外連線被隔斷,執行與該被隔斷的紅外連線對應的控制指令。 The sliding touch control method of claim 6, further comprising the step of: if only one infrared connection is blocked during the first preset time, performing corresponding to the blocked infrared connection Control instruction.
TW98110304A 2009-03-27 2009-03-27 Electronic device with sliding touch control function and control method thereof TWI469015B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW98110304A TWI469015B (en) 2009-03-27 2009-03-27 Electronic device with sliding touch control function and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW98110304A TWI469015B (en) 2009-03-27 2009-03-27 Electronic device with sliding touch control function and control method thereof

Publications (2)

Publication Number Publication Date
TW201035832A TW201035832A (en) 2010-10-01
TWI469015B true TWI469015B (en) 2015-01-11

Family

ID=44856006

Family Applications (1)

Application Number Title Priority Date Filing Date
TW98110304A TWI469015B (en) 2009-03-27 2009-03-27 Electronic device with sliding touch control function and control method thereof

Country Status (1)

Country Link
TW (1) TWI469015B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI262427B (en) * 2003-11-25 2006-09-21 Apple Computer Touch pad for handheld device
TW200717294A (en) * 2005-10-28 2007-05-01 Zebex Ind Inc Laser touch-controlled module equipped with a coordinate-detecting device
TW200811697A (en) * 2006-08-31 2008-03-01 Egalax Empia Technology Inc Apparatus and method for detecting position, and touch panel using the same
TWM346865U (en) * 2007-12-26 2008-12-11 Li Shu Fen Display device of optical touch medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI262427B (en) * 2003-11-25 2006-09-21 Apple Computer Touch pad for handheld device
TW200717294A (en) * 2005-10-28 2007-05-01 Zebex Ind Inc Laser touch-controlled module equipped with a coordinate-detecting device
TW200811697A (en) * 2006-08-31 2008-03-01 Egalax Empia Technology Inc Apparatus and method for detecting position, and touch panel using the same
TWM346865U (en) * 2007-12-26 2008-12-11 Li Shu Fen Display device of optical touch medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Paul Barna, Steve Schlanger, "Fundamentals of the Infrared Physical Layer", 2003/11/24, http://ww1.microchip.com/downloads/en/AppNotes/00243a.pdf *

Also Published As

Publication number Publication date
TW201035832A (en) 2010-10-01

Similar Documents

Publication Publication Date Title
US20120032923A1 (en) Infrared controlling device
US8537123B2 (en) Touch sensing apparatus and sensing signal processing method thereof
US20150234467A1 (en) Method and apparatus for gesture detection and display control
TW201504852A (en) Controlling method of multipurpose remote controller for smart TV and controlling system thereof
US8482548B2 (en) Electronic device with infrared touch panel and method for configuring the infrared touch panel
US20160062488A1 (en) Three-dimensional air mouse and display used together therewith
CN103809910B (en) A kind of method and device interacted by touch control terminal input equipment
CN101770315B (en) Touch electronic device with sliding control function and sliding control method thereof
CN102184062B (en) Infrared touch system and control method thereof
US11144153B2 (en) User interface with acoustic proximity and position sensing arrangements
JP2017513102A (en) Touch display device, driving circuit and driving method thereof, and electronic device
CN101727246B (en) Electronic device with infrared touch function and control method thereof
JP2015511791A (en) Display device operation method, system, and related device
US20150177857A1 (en) Navigation device and image display system
TWI469015B (en) Electronic device with sliding touch control function and control method thereof
CN103885707A (en) Multi-touch technology based human-computer interaction method and remote controller
CN102043544A (en) Electronic device with infrared touch function and control method thereof
CN101727247A (en) Electronic device with infrared touch function and control method thereof
US20170371460A1 (en) Touch signal scanning method
CN203606780U (en) Multi-touch and gesture recognition fusion system
CN101739179B (en) Electronic device with infrared touch function and control method thereof
CN201348775Y (en) Electronic device with infrared touch function
TWI412978B (en) Electronic device with infrared touch-control function and method thereof
CN104049881A (en) Input device and method
US20170123567A1 (en) Detection device

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees