This application claims priority of Taiwan Patent Application No. 102108405, filed on Mar. 11, 2013, the entirety of which is incorporated by reference herein.
1. Field of the Invention
The present invention relates to an electronic device, and in particular to an electronic device and a transmission method compatible with a touch panel and an optical detection device.
2. Description of the Related Art
With the developing trends of mobile electronic devices, a user may have several mobile electronic devices at the same time, such as a smartphone, a tablet computer, and a laptop computer. The transmission of data between different electronic devices is implemented by a portable storage device, or through the internet or a cloud solution. However, the portable storage device is a hardware device and the interface of each electronic device is different. The internet and the cloud solution are limited to the environment. In addition, operating the electronic device with a touch pen is very convenient for the user. Generally, the touch pen can only touch the screen but cannot transmit or store data. Therefore, a more convenient and easy-to-operate data transmission method is needed.
The present invention solves the problem of the inconvenience of transmitting data between different portable electronic devices. The present invention provides en electronic device detecting an operation performed by an indication electronic device and generating a first operation signal. The electronic device determines whether the electronic device and the indication electronic device are on a first transmission mode or a second transmission mode after receiving an enable signal from the indication electronic device. The electronic device obtains a first file corresponding to the position information on the first transmission mode, and obtains a second file from the indication electronic device and displays the position corresponding to the position information on the second transmission mode.
The present invention provides an electronic device including a display unit, an input detection module, a communication module and a processor. The input detection module detects an operation performed by an indication electronic device to the display unit and generate a first operation signal, wherein the first operation signal has a position information corresponding to the operation on the display unit; The processor determines whether the electronic device and the indication electronic device are on a first transmission mode or a second transmission mode after receiving an enable signal from the indication electronic device. If the electronic device and the indication electronic device are on the first transmission mode, the processor obtains a first screen image, a first text and/or a first file corresponding to the position information, and stores the first screen image, the first text and/or the first file to the indication electronic device by the communication module. If the electronic device and the indication electronic device are on the second transmission mode, the processor obtains a second screen image, a second text and/or a second file by the communication module and displays the position of the display unit corresponding to the position information.
The present invention provides a data communication method utilized by an electronic device including an input detection module, a display unit, a processor and a communication module. The data communication method includes detecting an operation performed by an indication electronic device to the display unit and generating a first operation signal, wherein the first operation signal has a position information on the display unit corresponding to the operation; determining whether the electronic device and the indication electronic device are on a first transmission mode or a second transmission mode after receiving an enable signal from the indication electronic device; obtaining a first screen image, a first text and/or a first file corresponding to the position information, and storing the first screen image, the first text and/or the first file to the indication electronic device by the communication module if the electronic device and the indication electronic device are on the first transmission mode; and obtaining a second screen image, a second text and/or a second file by the communication module and displaying on the position of the display unit corresponding to the position information if the electronic device and the indication electronic device are on the second transmission mode.
The present invention provides an indication electronic device including an operation signal generator, a memory unit and an indication communication module. The operation signal generator performs an operation to a display unit of an electronic device so that an input detection module of the electronic device generates a first operation signal. The indication communication module receives a first screen image, a first text and/or a first file from the electronic device and stores them in the memory unit on a first communication mode after the indication communication module receives an enable signal, and transmits the first screen image, the first text and/or the first file of the memory unit to the electronic device on a second communication mode.
The present invention provides a data communication method utilized by an indication electronic device including an operation signal generator, a memory unit and an indication communication module. The data communication method includes performing an operation to a display unit of an electronic device so that the electronic device generates a first operation signal; generating an enable signal; receiving a first screen image, a first text and/or a first file from the electronic device and storing them on the memory unit if the electronic device and the indication electronic device are on a first transmission mode; and transmitting a second screen image, a second text and/or a second file to the electronic device if the electronic device and the indication electronic device are on a second transmission mode.
The present invention can be more fully understood by reading the subsequent detailed description and examples with references made to the accompanying drawings, wherein:
The following description is of the best-contemplated mode of carrying out the invention. This description is made for the purpose of illustrating the general principles of the invention and should not be taken in a limiting sense. The scope of the invention is best determined by reference to the appended claims.
For example, in one embodiment, the display unit 122 is a touch panel with a touch function. The input detection module 124 is the touch detection circuit of the touch panel used to detect the position of the touch operation on the touch panel and generate a first operation signal corresponding to the position information. In another embodiment, the input detection module 124 is an optical detection circuit. When a light beam or a light spot of an infrared light is projected on the display unit 122, the input detection module 124 detects the position where the light beam or the light spot is projected to and generates a first operation signal corresponding to the position information. It should be noted that the light beam or the light spot is not limited to infrared light, but also includes any light visible to the human eye.
The processor 128 is utilized to receive an enable signal SE transmitted by an indication electronic device 140, and determine whether the electronic device 120 and the indication electronic device 140 are in a first transmission mode or a second transmission mode. If the electronic device 120 and the indication electronic device 140 are in the first transmission mode, the processor 128 obtains a first screen image, a first text and/or a first file corresponding to the position information, and transmits or stores the first screen image, the first text and/or the first file to the indication electronic device 140 by the communication module 126. If the electronic device 120 and the indication electronic device 140 are in the second transmission mode, the processor 128 obtains a second screen image, a second text and/or a second file of the indication electronic device 140 by the communication module 126, and displays the position of the display unit 122 corresponding to the position information. In one embodiment, after the processor 128 receives the enable signal SE from the indication electronic device 140, the communication module 126 receives a signal to develop a wireless communication channel with the indication electronic device 146. The wireless communication channel is based on a kind of wireless communication protocol. In other words, the communication module 126 and the indication communication module 146 transmit data with the same wireless communication protocol.
Specifically, the indication electronic device 140 performs an operation on the display unit 122. For example, the indication electronic device 140 touches an icon on the display representing a file, or selects the screen image displayed by the display unit 122. Afterwards, the input detection module 124 detects the operation of the indication electronic device 140 and generates the first operation signal corresponding to the touched position information or the selected position information. When the processor 128 receives the enable signal SE and determines it is in the first communication mode, the processor 128 obtains the touched position information or the selected position information by the first operation signal, so that the processor 128 can obtain the file corresponding to the touched position or obtain the screen image corresponding to the selected position. It should be noted that the first screen image and the second screen image include pictures in the JPEG, GIF, BMP, PNG, or WBMP formats. In addition, the first text and the second text include text in the SMS, MMA or HTML formats. In addition, the first file and the second file include office files in the DOC, TXT, PPT, XLS or PDF formats, audio files in the MP3, WAV, OGG or AAC formats, or video files in the AVI, MPEG4, MOV, XVID, 3GP or 3G2 formats.
It should be noted that the function of the processor 128 could be implemented by a software program. In other words, a processor capable of installing and implementing the software program can be regarded as the processor 128. Regarding the manufacturing process of the product, the processor 128 could be embedded into the electronic device 120 during the manufacturing process, or installed with the software program after the electronic device 120 is manufactured. In addition, the communication module 126 is based on the protocol of wireless communication to transmit data. For example, the protocol of wireless communication includes GSM, GPRS, EDGE, UMTS, W-CDMA, CDMA2000, TD-CDMA, Bluetooth, NFC, WiFi, WiMAX, LTE, LTE-A or TD-LTE.
In addition, as shown in
The memory unit 144 is utilized to store the data transmitted or received by the indication electronic device 140. The indication communication module 146 is utilized to connect the electronic device 120, transmit the data stored by the memory unit 144 or receive the data transmitted by the electronic device 120. The enabling switch 148 generates the enable signal SE transmitted to the electronic device 120. The enable signal SE is utilized to determine whether the electronic device 120 and the indication electronic device 140 are in the first communication mode or the second communication mode. In one embodiment, after the enabling switch 148 transmits the enable signal SE to the electronic device 120, the indication communication module 146 receives a signal to develop the wireless communication channel with the communication module 126. The wireless communication channel is based on a wireless communication protocol. In other words, the indication communication module 146 and the communication module 126 adopt the same wireless communication protocol for data transmitting.
For example, in one embodiment, the enabling switch 148 is a multiple switch. When the first sub-switch of the multiple switch is opened, pressed or rotated, then the enabling switch 148 generates the enable signal SE indicating the first communication mode. When the second sub-switch of the multiple switch is opened, pressed or rotated, then the enabling switch 148 generates the enable signal SE indicating the second communication mode. In another embodiment, the enabling switch 148 is a single switch. Whether the enable signal SE generated by the enabling switch 148 indicates the first communication mode or the second communication mode is determined by the operation mode (such as the pressing time, the pressing force, the number of presses, or the angle of rotation). If the first communication mode is indicated, then the indication communication module 146 receives the first screen image, the first text and/or the first file from the electronic device 120 and stores them in the memory unit 144. If the second communication mode is indicated, then the indication communication module 146 transmits the second screen image, the second text and/or the second file stored by the memory unit 144 to the electronic device 120.
It should be noted that the enable signal SE can be generated by the enabling switch 148. In other embodiments, the enable signal SE is the second operation signal generated by the second touch operation or the second optical signal transmitted from the operation signal generator 142 to the display unit 122. The second touch operation is different from the first touch operation, the second optical signal is different from the first optical signal, and the second operation signal is different from the first operation signal. For example, in one embodiment, if the first communication mode is indicated, then the first touch operation generated by the operation signal generator 142 is on the first region of the display unit 122. If the second communication mode is indicated, then the second touch operation generated by the operation signal generator 142 is on the second region of the display unit 122. In another embodiment, if the first communication mode is indicated, then the first touch operation generated by the operation signal generator 142 is drawing a circle on the display unit 122. If the second communication mode is indicated, then the second touch operation generated by the operation signal generator 142 is drawing a triangle on the display unit 122. In addition, if the enabling switch 148 does not generate the enable signal SE, then the indication electronic device 140 is in a pre-determined communication mode rather than the first communication mode or the second communication mode. In other words, the indication electronic device 140 is only utilized to label or operate the electronic device 120, but not store the data from the electronic device 120 or transmit data to the electronic device 120.
The methods of the indication electronic device 140 labeling or editing data are illustrated in detail on the following embodiments. In one embodiment, the indication electronic device 140 is an infrared output device projecting an infrared light beam or an infrared light spot to the icon on the display unit 122 to indicate a file. The electronic device 120 generates a first operation signal corresponding to the projecting position (i.e. the position of the icon). Then the processor 128 receives the enable signal SE from the infrared output device to determine the infrared output device and the electronic device 120 are in the first communication mode or the second communication mode. If the infrared output device and the electronic device 120 are in the first communication mode, then the communication module 126 transmits the file indicated by the icon through a wireless communication protocol and stores it on the infrared output device. If the infrared output device and the electronic device 120 are in the second communication mode, then the communication module 126 receives another file transmitted by the infrared output device through a wireless communication protocol. It should be noted that if the storage space required for the file is so large that the communication module 126 needs to spent a long transmitting time, then the processor 128 compresses the file or divides the file into two or more files of smaller storage spaces to reduce the transmitting time. In addition, the two or more files of smaller storage spaces compressed or divided by the processor 128 could be stored temporarily on a register or a memory (not shown) of the electronic device 120.
In another embodiment, the indication electronic device 140 is a touch pen, and the display unit 122 is a touch panel with a touch function. The touch pen performs touch operations on the display unit 122 and selects parts or all of the screen images displayed by the display unit 122. Then the electronic device 120 generates the first operation signal corresponding to the selected position. Then the processor 128 receives the enable signal SE from the touch pen to determine the touch pen and the electronic device 120 are in the first communication mode or the second communication mode. If the touch pen and the electronic device 120 are in the first communication mode, then the communication module 126 transmits the selected screen image through a wireless communication protocol and stores it on the touch pen. In other words, the touch pen copies the selected screen image on the display unit 122. If the touch pen and the electronic device 120 are in the second communication mode, the operation method is the same as illustrated before and not repeated again.
In another embodiment, the indication electronic device 140 is a touch pen, and the display unit 122 is a touch panel with the touch function. The electronic device 120 displays a screen image of an electronic book including the information to record the reading status of the electronic book. Then the touch pen selects the screen image and generates the enable signal indicating the first communication mode, and the communication module 126 stores the selected screen image on the touch pen. In other words, the touch pen copies the screen image of the electronic book and records the reading status of the electronic book. Then the touch pen touches the display unit (not shown) of another electronic device (not shown) and generates the enable signal indicating the second communication mode, and the communication module (not shown) of another electronic device receives the screen image from the touch pen. In other words, the touch pen pastes the screen image of the electronic device to another electronic device so that the reading status of the electronic device is updated to another electronic device simultaneously.
In another embodiment, the indication electronic device 140 is a touch pen, and the display unit 122 is a touch panel with the touch function. The electronic device 120 displays the browsing web page. Then the touch pen selects the web address (i.e, a text) of the web page and generates the enable signal SE indicating the first communication mode, and the communication module 126 stores the selected web address on the touch pen. In other words, the touch pen copies the web address of the web page. Then the touch pen touches the display unit 122 of electronic device 120 and generates the enable signal SE indicating the second communication mode, and the communication module 126 receives the web address from the touch pen. In other words, the touch pen pastes the web address of the browsing web page to the electronic device 120 so that the electronic device 120 could display the browsing web page continuously.
The transmission of data between different electronic devices is implemented by a portable storage device, or through the internet or a cloud solution. However, the portable storage device is a hardware device and the interface of each electronic device is different. The internet and the cloud solution are limited to the environment. In addition, operating the electronic device with a touch pen is very convenient for the user. Generally, the touch pen can only touch the screen but cannot transmit or store the data. Therefore, a more convenient and easy-operating data transmission method is needed.
While the invention has been described by way of example and in terms of the preferred embodiments, it is to be understood that the invention is not limited to the disclosed embodiments. On the contrary, it is intended to cover various modifications and similar arrangements (as would be apparent to those skilled in the art). Therefore, the scope of the appended claims should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements.
Number | Date | Country | Kind |
---|---|---|---|
102108405 | Mar 2013 | TW | national |