This application claims the priority benefit of Taiwan application serial no. 107118624, filed on May 31, 2018. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification.
The invention is related to an electrophoretic display system and a developing method, and particularly related to an electrophoretic system and a developing method that allow software developer to easily realize communication with electrophoretic display and input/output.
Known electrophoretic displays may have various communication interfaces such as a wireless fidelity (WiFi) interface, a Bluetooth interface, a near-field communication interface and so on. When software developer develops application program of electrophoretic display, it is necessary to develop different application programs suitable for different communication interfaces in order to adapt to electrophoretic displays with different communication interfaces. As a result, the software developer's learning curve is longer and software developing time is longer as well. In view of the above, it is a task for practitioners of the field to find out how to simplify development of electrophoretic display application program.
The invention provides an electrophoretic display system and a developing method, capable of simplifying development of electrophoretic display application program and allowing software developer to easily realize communication with electrophoretic display so as to focus on developing application program.
The invention provides an electrophoretic display system including an electronic device storing a control ware, a first electrophoretic display device coupled to the electronic device and a first application program interface (API) provided by the control ware. The first application program loads a first image data into the control ware and calls the first application program interface. The control ware obtains a first driver of a first communication protocol of the first electrophoretic display device according to the first application program interface. The control ware encapsulates the first image data with a first data encapsulating format according to the first driver. The control ware transmits the encapsulated first image data to the first electrophoretic display device according to the first communication protocol.
According to an embodiment of the invention, the electrophoretic display system further includes a second electrophoretic display device coupled to the electronic device and a second application program interface provided by the control ware. A second application program loads a second image data into the control ware and calls the second application program interface. The control ware obtains a second driver of a second communication protocol of the second electrophoretic display device according to the second application program interface, wherein the second communication protocol and the first communication protocol are different. The control ware encapsulates a second image data with a second data encapsulating format according to the second driver. The control ware transmits the encapsulated second image data to the second electrophoretic display device according to the second communication protocol.
According to an embodiment of the invention, the control ware initializes commutation between the control ware and the first electrophoretic display device through the first commutation protocol according to the first driver.
According to an embodiment of the invention, the control ware divides the first image data into a plurality of packets with the first data encapsulating format, and transmits the packets to the first electrophoretic display device through the first communication protocol.
According to an embodiment of the invention, the first communication protocol includes a wireless fidelity (WiFi) protocol, a Bluetooth protocol, a near-field communication protocol, a serial peripheral interface (SPI) protocol, an inter-integrated circuit (I2C) protocol, a general purpose input/output (GPIO) protocol, a mobile industry processor interface (MIPI) protocol, a high definition multimedia interface (HDMI) protocol and a universal serial bus (USB) protocol.
The invention provides an electrophoretic display developing method adaptable for an electrophoretic display system. The electrophoretic display system includes an electronic device storing a control ware, a first electrophoretic display device coupled to the electronic device and a first application program interface (API) provided by the control ware. The electrophoretic display developing method includes the following step: loading a first image data into the control ware by using a first application program and calling the first application program interface. The electrophoretic display developing method further includes the following step: obtaining a first driver of a first communication protocol of the first electrophoretic display device according to the first application program interface. The electrophoretic display developing method further includes the following step: encapsulating the first image data with a first data encapsulating format according to the first driver by using the control ware. The electrophoretic display developing method further includes the following step: transmitting the encapsulated first image data to the first electrophoretic display device according to the first communication protocol by using the control ware.
According to an embodiment of the invention, the electrophoretic display system further includes a second electrophoretic display device coupled to an electronic device and a second application program interface provided by the control ware. The electrophoretic display developing method further includes the following step: loading a second image data into the control ware by using a second application program, and calling the second application program interface. The electrophoretic display developing method further includes the following step: obtaining a second driver of a second communication protocol of the second electrophoretic display device according to the second application program interface by using the control ware, wherein the second communication protocol and the first communication protocol are different. The electrophoretic display developing method further includes the following step: encapsulating the second image data with a second data encapsulating format according to the second driver by using the control ware. The electrophoretic display developing method further includes the following step: transmitting the encapsulated second image data to the second electrophoretic display device according to the second communication protocol by using the control ware.
According to an embodiment of the invention, the control ware initializes communication between the control ware and the first electrophoretic display device through the first communication protocol according to the first driver.
According to an embodiment of the invention, the control ware divides the first image data into a plurality of packets with the first data encapsulating format, and transmits the packets to the first electrophoretic display device through the first communication protocol.
According to an embodiment of the invention, the first communication protocol includes a wireless fidelity (WiFi) protocol, a Bluetooth protocol, a near-field communication protocol, a serial peripheral interface (SPI) protocol, an inter-integrated circuit (I2C) protocol, a general purpose input/output (GPIO) protocol, a mobile industry processor interface (MIPI) protocol, a high definition multimedia interface (HDMI) protocol and a universal serial bus (USB) protocol.
Based on the above, the electrophoretic display system and developing method of the invention allow the application program to load the image data into a control ware first and call the application program interface corresponding to a specific communication protocol provided by the control ware when the application program communicates with the electrophoretic display device having a communication protocol. The control ware obtains a driver of a communication protocol of the electrophoretic display device according to the application program interface, and encapsulates the image data with a data encapsulating format according to the driver. In this manner, in the application program developed by the software developer, it is possible to directly use the application program interface provided by the control ware to communicate with the electrophoretic display device having a different communication protocol without understanding details of the communication protocol, thereby shortening the time for developing electrophoretic display device with various communication interfaces.
In order to make the aforementioned features and advantages of the invention more comprehensible, embodiments accompanying figures are described in detail below.
Referring to
The electronic device 100 may include a processor (not shown) and a memory (not shown). The processor may be a central processing unit (CPU) or a programmable general purpose or specific purpose microprocessor, a digital signal processor (DSP), a programmable controller, an application specific integrated circuit (ASIC) or other similar elements or a combination of the above. The memory may be a fixed or movable random access memory (RAM) in any forms, a read-only memory (ROM), a flash memory, a hard disk drive (HDD), a solid state drive (SSD) or a similar element or a combination of the above.
Referring to
Referring to
In step S302, the control ware obtains a first driver of a first communication protocol of the first electrophoretic display device according to the first application program interface. Specifically, the control ware obtains the first driver corresponding to the first communication protocol of the first electrophoretic display device, and uses the first driver to establish communication with the first electrophoretic display device. At first, the control ware initializes the communication between the control ware and the first electrophoretic display device according to the first driver. After the initialization is completed, the control ware successfully establishes the communication with the first electrophoretic display device.
In step S303, the control ware encapsulates the first image data with the first encapsulating format according to the first driver. In step S304, the control ware transmits the encapsulated first image data to the first electrophoretic display device according to the first communication protocol. Specifically, after the communication with the first electrophoretic display device is successfully established, the control ware divides the first image data into a plurality of packets with the first data encapsulating format (i.e., the data encapsulating format corresponding to the first communication protocol) with the first data encapsulating format, and transmits the packets to the first electrophoretic display device through the first communication protocol.
In step S305, the second application program loads a second image data into the control ware and calls a second application program interface provided by the control ware. In step S306, the control ware obtains a second driver of a second communication protocol of a second electrophoretic display device according to the second application program interface, wherein the second communication protocol and the first communication protocol are different. Specifically, when different application programs are to communicate with the electrophoretic display device having different communication protocols, the application program may call the different application program interface provided by the control ware to establish communication with the electrophoretic display device.
In step S307, the control ware encapsulates a second image data with a second data encapsulating format according to the second driver. In step S308, the control ware transmits the encapsulated second image data to the electrophoretic display device according to the second communication protocol.
In summary, the electrophoretic display system and developing method of the invention allow the application program to load the image data into a control ware first and call the application program interface corresponding to a specific communication protocol provided by the control ware when the application program communicates with the electrophoretic display device having a communication protocol. The control ware obtains a driver of a communication protocol of the electrophoretic display device according to the application program interface, and encapsulates the image data with a data encapsulating format according to the driver. In this manner, in the application program developed by the software developer, it is possible to directly use the application program interface provided by the control ware to communicate with the electrophoretic display device having a different communication protocol without understanding details of the communication protocol, thereby shortening the time for developing electrophoretic display device with various communication interfaces.
Although the invention has been disclosed by the above embodiments, the embodiments are not intended to limit the invention. It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the invention without departing from the scope or spirit of the invention. Therefore, the protecting range of the invention falls in the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
107118624 A | May 2018 | TW | national |
Number | Name | Date | Kind |
---|---|---|---|
5948091 | Kerigan et al. | Sep 1999 | A |
8383598 | Kandimalla et al. | Feb 2013 | B2 |
10002588 | Chen | Jun 2018 | B2 |
20100311494 | Miller | Dec 2010 | A1 |
20140267316 | Connell et al. | Sep 2014 | A1 |
20150186091 | Kumar et al. | Jul 2015 | A1 |
20150289273 | Ermenko et al. | Oct 2015 | A1 |
20160044103 | Seo | Feb 2016 | A1 |
20160132369 | Lee et al. | May 2016 | A1 |
20160142467 | Ban et al. | May 2016 | A1 |
20160188181 | Smith | Jun 2016 | A1 |
20160227019 | Seol et al. | Aug 2016 | A1 |
20160239287 | Lim et al. | Aug 2016 | A1 |
20160352818 | Han et al. | Dec 2016 | A1 |
20170048661 | Park et al. | Feb 2017 | A1 |
20170055028 | Liu | Feb 2017 | A1 |
20170061928 | Kim | Mar 2017 | A1 |
20170076553 | Washington | Mar 2017 | A1 |
20170078269 | Han et al. | Mar 2017 | A1 |
20170115981 | Oh et al. | Apr 2017 | A1 |
20170127214 | Sohn et al. | May 2017 | A1 |
20190086760 | Wang | Mar 2019 | A1 |
Number | Date | Country |
---|---|---|
201428569 | Jul 2014 | TW |
I498772 | Sep 2015 | TW |
201604855 | Feb 2016 | TW |
Entry |
---|
“Office Action of Taiwan Counterpart Application,” dated Aug. 20, 2019, p. 1-p. 6. |
“Office Action of Taiwan Counterpart Application,” dated Jul. 28, 2020, p. 1-p. 6. |
Number | Date | Country | |
---|---|---|---|
20190369456 A1 | Dec 2019 | US |