Color ink screen driving method, device and storage medium

By detecting image input and performing regular processing, calculating the grayscale change index value, and converting it into voltage information to drive the color ink screen, it solves the problems of high power consumption and low scalability in the color ink screen driving method, and achieves efficient and flexible driving effect.

CN117198232BActive Publication Date: 2024-08-27SHENZHEN DAWO CLOUD READING AND WRITING TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311234008.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-23
Publication Date
2024-08-27
Estimated Expiration
2043-09-23

AI Technical Summary

Technical Problem

The existing color ink screen driver method has the problems of high power consumption, low scalability, and single function. Especially for large-size color ink screens, the development cycle is long and the cost is high.

Method used

By detecting the image input, regular processing is performed, the index value of the gray scale change is calculated, and it is converted into voltage information based on the waveform table of the color ink screen, and the field programmable gate array analog interface timing requirements are used to drive the screen to achieve pixel level Precise control.

Benefits of technology

It improves the image processing speed and screen browsing experience, reduces power consumption, enhances the flexibility and adaptability of the driver, can adapt to various models and specifications of color ink screens, and avoids dependence on system-level chips.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117198232B
    Figure CN117198232B
Patent Text Reader

Abstract

The present application relates to the technical field of color ink screens, and provides a color ink screen driving method, device and storage medium. The present application uses a pipeline processing method to regularize the image input at the current moment through FPGA when an image input is detected at the current moment, so as to obtain a pre-processed image at the current moment. The pipeline processing method shortens the processing time of the image, improves the speed and experience of screen swiping, and calculates the index value of grayscale change based on the pre-processed image at the current moment and the pre-processed image at the previous moment, thereby converting the index value of grayscale change into voltage information based on the waveform table stored in the color ink screen, and finally driving the color ink screen for display based on the voltage information and interface information, which can realize precise control and adjustment at the pixel level, so as to better present the input image on the color ink screen, and does not need to rely on the system-level chip, has strong flexibility, and can adapt to various models and specifications of color ink screens.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of color ink screens, and in particular to a color ink screen driving method, device and storage medium. Background Art

[0002] In the prior art, there are generally two ways to drive the ink screen, one is to simulate the ink screen timing through a high-performance system-level chip, and the other is for the screen manufacturer to release the corresponding ink screen driver chip. If the ink screen timing is simulated by a high-performance system-level chip, the driver must be re-ported every time a system-level chip is replaced, so this method has a long development cycle and is not universal. Waiting for the screen manufacturer to release the corresponding ink screen driver chip is generally delayed, that is, the new screen has been launched, but there may not be a corresponding driver chip, and this solution is costly and power-hungry, especially for large-size color ink screens. For example, for the latest color ink screen Gallery series, the color ink screen can only be driven based on the existing chips of the screen factory. Therefore, the current color ink screen driving method has problems such as high power consumption, low scalability, and single function. Summary of the invention

[0003] In view of this, the present application provides a color ink screen driving method, device and storage medium to solve the technical problems of high power consumption, low scalability and single function of color ink screen driving in the prior art.

[0004] A first aspect of the present application provides a color ink screen driving method, the method comprising:

[0005] When an image input is detected at the current moment, regularization processing is performed on the image input at the current moment to obtain a pre-processed image at the current moment;

[0006] Calculating the grayscale change index value according to the preprocessed image at the current moment and the preprocessed image at the previous moment;

[0007] Converting the index value of the grayscale change into voltage information based on the waveform table stored in the color ink screen;

[0008] The color ink screen is driven to display based on the voltage information and the interface information.

[0009] In an optional implementation, the step of performing regularization processing on the image input at the current moment to obtain the pre-processed image at the current moment includes:

[0010] Contrast adjustment, gamma value adjustment, and dithering processing are performed on the image input at the current moment to obtain the pre-processed image at the current moment.

[0011] In an optional implementation, the step of performing regularization processing on the image input at the current moment to obtain the pre-processed image at the current moment further includes:

[0012] Identify whether the color ink screen is a mask-type color ink screen or a capsule-type color ink screen;

[0013] When the color ink screen is the mask-type color ink screen, pixels of the image input at the current moment are rearranged to obtain the pre-processed image at the current moment.

[0014] In an optional implementation, when the color ink screen is the mask type color ink screen, the grayscale change index value calculated according to the current preprocessed image and the previous preprocessed image includes:

[0015] Obtaining a first grayscale value of each pixel in the preprocessed image at the current moment;

[0016] Obtaining a second grayscale value of each pixel in the preprocessed image at the last moment;

[0017] For each pixel, a preset calculation formula is used to perform calculation based on the first grayscale value and the corresponding second grayscale value of the pixel to obtain an index value of the grayscale change of the pixel.

[0018] In an optional implementation, when the color ink screen is the capsule-type color ink screen, the grayscale change index value calculated according to the pre-processed image at the current moment and the pre-processed image at the previous moment includes:

[0019] Obtaining the first channel grayscale value of each channel of each pixel in the preprocessed image at the current moment;

[0020] Obtain the second channel grayscale value of each channel of each pixel in the preprocessed image at the previous moment;

[0021] For each channel of each pixel point, a preset calculation formula is used to calculate based on the first channel grayscale value of the channel and the corresponding second channel grayscale value to obtain an index value of the grayscale change of the channel;

[0022] According to the index value of the grayscale change of each channel of each pixel, the index value of the grayscale change of the pixel is obtained.

[0023] In an optional implementation, the converting the index value of the grayscale change into voltage information based on the waveform table stored in the color ink screen includes:

[0024] Querying the waveform table for a waveform sequence corresponding to the index value of the grayscale change;

[0025] Based on the waveform sequence, a voltage change value of each pixel in the color ink screen and a duration corresponding to the voltage change value are obtained.

[0026] In an optional implementation, the driving the color ink screen to display based on the voltage information and the interface information includes:

[0027] Use field programmable gate array to simulate the interface timing requirements of color ink screen;

[0028] The color ink screen is driven to display based on the interface timing requirement, the voltage change value and the duration.

[0029] In an optional embodiment, the method further comprises:

[0030] If no image input is detected at the next moment, or if image input is detected at the next moment but the image input at the next moment is the same as the image input at the current moment, the color ink screen is not refreshed.

[0031] The second aspect of the present application provides a color ink screen driving device, which includes: an image source interface module, a field programmable gate array connected to the image source interface module, a storage module connected to the field programmable gate array, and a power management module, wherein the image source interface module is used to receive an image input by an image input device and input each pixel of the image into the field programmable gate array in parallel; the storage module is used to store screen information of the color ink screen, etc.; the power management module is used to provide source voltage and field voltage for the color ink screen; the field programmable gate array is used to implement the steps of the color ink screen driving method.

[0032] A third aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the color ink screen driving method are implemented.

[0033] The color ink screen driving method, device and storage medium provided in the embodiments of the present application, when an image input is detected at the current moment, the image input at the current moment is regularized by using a pipeline processing method through FPGA to obtain a pre-processed image at the current moment. The pipeline processing method shortens the processing time of the image and improves the speed and experience of screen refreshing. The index value of the grayscale change is calculated based on the pre-processed image at the current moment and the pre-processed image at the previous moment, and then the index value of the grayscale change is converted into voltage information based on the waveform table stored in the color ink screen. Finally, the color ink screen is driven to display based on the voltage information and the interface information. Precise control and adjustment at the pixel level can be achieved to better present the input image on the color ink screen, and it does not have to rely on the system-level chip. It is highly flexible and can adapt to various models and specifications of color ink screens. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 is an application environment diagram of the color ink screen driving device shown in the embodiment of the present application;

[0035] Figure 2 is a structural diagram of a color ink screen driving device shown in an embodiment of the present application;

[0036] Figure 3 is a functional module diagram of a field programmable gate array shown in an embodiment of the present application;

[0037] Figure 4 This is a flow chart of a color ink screen driving method shown in an embodiment of the present application. DETAILED DESCRIPTION

[0038] In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0039] The color ink screen driving method provided in the embodiment of the present invention is executed by an electronic device, and accordingly, the color ink screen driving device runs in the electronic device.

[0040] Figure 1 This is an application environment diagram of the color ink screen driving device provided in Example 1 of the present application.

[0041] The color ink screen driving device 10 is used to receive an image input by the image input device 11, and drive the color ink screen 12 to display according to the image.

[0042] The structure of the color ink screen driving device 10 can be seen in Figure 2 and its related description.

[0043] The image input device 11 is a device for capturing, acquiring and transmitting images or image data. In one embodiment, the image input device 11 is a device having multiple video output interfaces, such as HDMI and Type-C interfaces. The image input device 11 can be a laptop, a desktop computer, a mobile phone, a tablet, and other devices.

[0044] The color ink screen 12 is an ink screen based on black and white particles + color mask or color capsules, or an ink screen based on a cofferdam structure, and has the characteristics of reflecting natural light and not losing the screen when the power is off. Compared with the black and white ink screen, the color ink screen has the characteristic of being able to display color. In one embodiment, the color ink screen 12 may include: E Ink Kaleido series color ink screen, E Ink Gallery series color ink screen, DES color ink screen. The interface of the color ink screen 12 may be mini-LVDS, TTL or other signal interface.

[0045] It should be noted that the image input device 11 and color ink screen 12 described in this application are only examples. Other existing or future image input devices 11 and color ink screens 12 that can be adapted to this application should also be included in the scope of protection of this application and included herein by reference.

[0046] Figure 2 This is a structural diagram of the color ink screen driving device provided in Example 2 of the present application.

[0047] The color ink screen driving device 10 may include, but is not limited to: an image source interface module 101, a field programmable gate array (FPGA) 102, a storage module 103, and a power management module 104. The image source interface module 101 is connected to the image input device 11 and the field programmable gate array 102, and the field programmable gate array 102 is also connected to the storage module 103 and the power management module 104.

[0048] The image source interface module 101 is used to receive the image input by the image input device 11 to the driving device 10, and input each pixel of the image in parallel to the field programmable gate array 102. The image source interface module 101 can be a mobile industry processor interface (Mobile Industry Processor Interface, MIPI) or a low-voltage differential signaling (Low-Voltage Differential Signaling, LVDS) interface, or an embedded display port (Embedded Display Port, eDP). This application does not impose any restrictions on the type of the image source interface module 101, as long as it is a video transmission interface that the color ink screen 12 can support.

[0049] The field programmable gate array 102 is used to process the received image according to the relevant information of the color ink screen 12 after receiving the image input by the image source interface module 101, and convert it into a signal required by the color ink screen 12, so as to drive the color ink screen 12 to display the image.

[0050] FPGA is a device that can change the hardware circuit implementation through programming languages ​​(such as Verilog, VHDL). It has very high flexibility and the ability to process multiple data elements in parallel, and can realize various digital circuits.

[0051] In an optional embodiment, the field programmable gate array 102 can use a pixel-level pipeline processing method to read and process the received image. The pipeline processing method is a parallel processing method that divides the task into multiple stages and passes the processing results of each stage to the next stage. Each stage is responsible for completing a specific task, and tasks in different stages can be performed simultaneously because each stage focuses on different processing operations. Using the pipeline processing method to process tasks, different tasks can be processed in parallel at the same time, improving the overall processing efficiency. Using the pixel-level pipeline processing received image, that is, different pixels can be processed simultaneously at different stages without waiting for the previous pixel to be fully processed. This parallel processing method can greatly improve the efficiency and speed of image processing.

[0052] For example, in a three-stage pixel-level pipeline process, the first stage is responsible for pixel input and reading operations, the second stage processes the pixels, and the third stage completes the final processing and generates output. When a pixel enters the pipeline, it will pass through these three stages in sequence, while other pixels can enter different stages of the pipeline at the same time.

[0053] Different from the whole frame processing method of CPU, FPGA can process every pixel of the image received in time, and does not need to wait until all the pixels of the entire image are acquired before starting processing. Processing images by pixel-level pipeline method can make full use of the parallel computing ability of FPGA and improve the speed and efficiency of image processing.

[0054] The storage module 103 may be a double data rate synchronous dynamic random access memory (DDR) for caching the image, or intermediate data obtained by processing the image, screen information of the color ink screen, etc. The storage module 103 may also be a flash memory (flash) for storing FPGA programs. The use of a flash memory can ensure that data is not lost during power failure. In a possible implementation, the storage module 103 may be divided into a plurality of partitions, such as area A, area B, and area C, wherein area A is used to store FPGA programs, area B is used to store waveform tables, voltages, and other information related to the color ink screen, and area C is used to store user-defined data.

[0055] The power management module 104 can be a circuit built with discrete components or a circuit implemented using an off-the-shelf PMIC (such as TPS65185), which is used to provide source voltage and field voltage for the color ink screen 12, so that the color ink screen 12 can drive the ink screen particles to move when receiving the switch signal sent by the FPGA. When the color ink screen 12 is powered off, the content on the screen can be maintained for several months. Therefore, the color ink screen 12 will be powered off after the refresh is completed, and will be powered on when the image input device 11 transmits a new image.

[0056] This application can achieve flexible control of the color ink screen through a field programmable gate array, with high scalability and strong flexibility.

[0057] See also Figure 3 , which is a functional module diagram of a field programmable gate array provided in an embodiment of the present application.

[0058] The field programmable gate array 102 includes an image preprocessing module 1021, a color ink screen control module 1022, a waveform analysis module 1023, and a power control module 1024, wherein the image preprocessing module 1021 includes an image receiving module 10211 and a color management module 10212, and the color ink screen control module 1022 includes an encoding module 10221 and an interface conversion module 10222.

[0059] Combine the following Figure 4 Describe each functional module in detail.

[0060] See also Figure 4 FIG. 1 is a flow chart of a color ink screen driving method provided in an embodiment of the present application. The color ink screen driving method includes the following steps.

[0061] S41, when an image input is detected at the current moment, regularization processing is performed on the image input at the current moment to obtain a pre-processed image at the current moment.

[0062] When the image receiving module of the image preprocessing module detects image input, the FPGA will perform regular processing on the image to convert it into an image that can be displayed on the color ink screen.

[0063] In the process of regularizing the image, the image is sent to the FPGA in real time by pixel. The image preprocessing module performs real-time regularization processing on the image according to the pipeline and transmits it to the next level module or caches it.

[0064] The color management module is used to perform real-time regular processing on the image. The image obtained by performing real-time regular processing on the image is referred to as a pre-processed image.

[0065] In an optional embodiment, the regularization processing of the input image may include, but is not limited to: contrast adjustment, gamma value adjustment and dithering. The parameters required for contrast adjustment, gamma value adjustment and dithering can be set through an external module or built into the memory to achieve maximum flexibility.

[0066] Contrast adjustment is the process of adjusting the degree of difference between light and dark areas in an image. By increasing or decreasing the brightness differences of pixels in an image, you can increase the contrast of the image and make details more visible.

[0067] Gamma value adjustment is a nonlinear operation used to change the brightness curve of an image. By adjusting the gamma value, the brightness range of the image can be precisely controlled, thereby affecting the overall brightness and the display effect of dark details.

[0068] Dithering is an operation that changes pixel values ​​by introducing random noise into an image. This random noise can reduce the texture and detail of the image and increase the smoothness of the image.

[0069] In the above implementation, by performing contrast adjustment, gamma value adjustment and dithering processing on the image currently input, the contrast and clarity of the image can be enhanced, thereby improving the visual effect and detail expression of the image currently input, making the image currently input more suitable for display on the color ink screen.

[0070] In an optional implementation, the step of performing regularization processing on the image input at the current moment to obtain the pre-processed image at the current moment further includes:

[0071] Identify whether the color ink screen is a mask-type color ink screen or a capsule-type color ink screen;

[0072] When the color ink screen is the mask-type color ink screen, pixels of the image currently input are rearranged.

[0073] Pixel rearrangement refers to placing the grayscale value of each pixel in the order of the color ink screen mask arrangement. Pixel rearrangement needs to be performed according to the screen type of the color ink screen. Common color ink screens are divided into mask-type color ink screens and capsule-type color ink screens.

[0074] The mask-type color ink screen uses a combination of a black and white ink screen and a color mask layer. The color of the image displayed on the color ink screen is achieved by combining a mask and a grayscale value. There are color filters or dyes of red, green, blue and other colors on the color mask layer. When the pixel points of the black and white ink screen change, the color filter of the mask layer will filter out the light of the corresponding color to achieve color display. In a mask-type color ink screen, each pixel point is usually composed of multiple sub-pixels, and each sub-pixel is responsible for displaying a color. Through the color mask, the color distribution mode of each pixel point in the color ink screen can be determined. The color mask also determines the weight of each sub-pixel, that is, the contribution of different color channels to the final color. By adjusting the weight of each sub-pixel, different color display effects can be achieved. Therefore, when the color ink screen is a mask-type color ink screen, it is necessary to rearrange the pixels of the input image, that is, for each pixel point, rearrange the configuration of the sub-pixels of the pixel point to achieve different display effects and color performances, and calculate the grayscale value of the pixel point based on the sub-pixel arrangement order and the weighted average formula. By adjusting the arrangement of pixels, the distribution and weight of color channels can be changed.

[0075] For example, a pixel may consist of a red sub-pixel, a green sub-pixel, and a blue sub-pixel. In the standard arrangement, they are arranged in the order of red, green, and blue. Based on the mask configuration of the color ink screen, pixel rearrangement is used to change the arrangement order of the sub-pixels, and they are arranged in the order of green, red, and blue to output the same color on the color ink screen. The grayscale values ​​of the green sub-pixel, red sub-pixel, and blue sub-pixel are 150, 100, and 200, respectively. The grayscale value of the pixel is calculated according to the weighted average formula:

[0076] Grayscale value = 0.3×150+0.59×100+0.11×200=45+59+2=126.

[0077] The capsule-type color ink screen is different from the mask-type color ink screen. The capsule-type color ink screen has already mixed colors at the pixel level, which means that each pixel stores the three color information of red, green, and blue, so there is no need to rearrange the pixels. The capsule-type color ink screen technology uses tiny capsules, each of which contains red, green, blue and other colors of ink. The transparent electrodes behind the capsules are controlled to adjust the display intensity and color mixing of the ink, thereby realizing color image display. Compared with the mask-type color ink screen, the capsule-type color ink screen can directly display images according to the color information stored in the pixels, so there is no need to rearrange the pixels of the input image.

[0078] In an optional embodiment, screen information of the color ink screen can be obtained through the interface of the color ink screen. The screen information may be the screen type of the color ink screen. According to the screen type, it is identified whether the color ink screen is a mask-type color ink screen or a capsule-type color ink screen, thereby determining whether to rearrange pixels of the input image.

[0079] When the color ink screen is a mask-type color ink screen, it is necessary to rearrange the pixels of the image input at the current moment to ensure that each pixel of the mask-type color ink screen can correctly display the corresponding color when displaying the image. In specific implementation, by traversing all the pixels of the image input at the current moment, the grayscale value of the red channel of the pixel in the RGB color space is obtained, and the red channel grayscale value is placed at the position corresponding to the red area on the mask. Then, the grayscale values ​​of the green and blue channels are obtained in turn, and they are placed at the positions corresponding to the green and blue areas on the mask, respectively. By guiding the light of the corresponding color through the part of the color mask layer to the corresponding pixel, an image with a color effect can be presented on the color ink screen.

[0080] S42, calculating an index value of grayscale change according to the preprocessed image at the current moment and the preprocessed image at the previous moment.

[0081] The image preprocessing module transmits the obtained preprocessed image to the encoding module of the color ink screen control module. The encoding module reads the preprocessed image at the previous moment from the storage module, and obtains the index value of the grayscale change based on the preprocessed image at the previous moment and the preprocessed image at the current moment.

[0082] In an optional implementation, when the color ink screen is the mask type color ink screen, the grayscale change index value calculated according to the current preprocessed image and the previous preprocessed image includes:

[0083] Obtaining a first grayscale value of each pixel in the preprocessed image at the current moment;

[0084] Obtaining a second grayscale value of each pixel in the preprocessed image at the last moment;

[0085] For each pixel, a preset calculation formula is used to perform calculation based on the first grayscale value and the corresponding second grayscale value of the pixel to obtain an index value of the grayscale change of the pixel.

[0086] For the mask-type color ink screen, since the input image is subjected to pixel rearrangement processing, the grayscale value corresponding to each pixel in the image can be directly obtained.

[0087] For example, at the (x, y) coordinate, the grayscale value of the preprocessed image at the previous moment is I0, and the grayscale value of the preprocessed image at the current moment is I1, then the index value of the grayscale change at the (x, y) coordinate at the current moment can be obtained as index = (I0&;0xf0)|(I1>>4).

[0088] In an optional implementation, when the color ink screen is the capsule-type color ink screen, the grayscale change index value calculated according to the pre-processed image at the current moment and the pre-processed image at the previous moment includes:

[0089] Obtaining the first channel grayscale value of each channel of each pixel in the preprocessed image at the current moment;

[0090] Obtain the second channel grayscale value of each channel of each pixel in the preprocessed image at the previous moment;

[0091] For each channel of each pixel point, a preset calculation formula is used to calculate based on the first channel grayscale value of the channel and the corresponding second channel grayscale value to obtain an index value of the grayscale change of the channel;

[0092] According to the index value of the grayscale change of each channel of each pixel, the index value of the grayscale change of the pixel is obtained.

[0093] For the capsule-type color ink screen, since there is no need to rearrange the pixels of the input image, for each pixel in the preprocessed image at the current moment, the first R channel grayscale value, the first G channel grayscale value, and the first B channel grayscale value of the pixel are obtained, and for each pixel in the preprocessed image at the previous moment, the second R channel grayscale value, the second G channel grayscale value, and the second B channel grayscale value of the pixel are obtained.

[0094] For each pixel, the first R channel grayscale value and the corresponding second R channel grayscale value are calculated using a preset calculation formula to obtain an R channel index value. The first G channel grayscale value and the corresponding second G channel grayscale value are calculated using a preset calculation formula to obtain a G channel index value. The first B channel grayscale value and the corresponding second B channel grayscale value are calculated using a preset calculation formula to obtain a B channel index value. Finally, the R channel index value and the corresponding G channel index value and B channel index value are combined to obtain the final index value of the pixel.

[0095] For example, at the (x, y) coordinate, the grayscale values ​​of the red, green, and blue channels of the preprocessed image at the previous moment are R0, G0, and B0 respectively, and the grayscale values ​​of the red, green, and blue channels of the preprocessed image at the current moment are R1, G1, and B1 respectively. Then, the index values ​​of the red, green, and blue color channels of the (x, y) coordinate at the current moment can be obtained as follows:

[0096] index r =(R0&0xf0)|(R1>>4),

[0097] index g =(G0&0xf0)|(G1>>3),

[0098] index b =(B0&0xf0)|(B1>>5).

[0099] Finally, combine the red, green, and blue channel index values ​​of each pixel in the preprocessed image at the current moment to get the final index value of the current pixel:

[0100] (index r ,index g ,index b ).

[0101] S43: Convert the index value of the grayscale change into voltage information based on the waveform table stored in the color ink screen.

[0102] Before each batch of color ink screens leaves the factory, the manufacturer will solidify the waveform table suitable for that batch into the color ink screen. The waveform table is a collection of a series of waveform sequences, which is some voltage data information obtained by the arrangement and combination of temperature, original grayscale, and target grayscale.

[0103] The waveform analysis module can obtain the waveform table corresponding to the color ink screen based on the screen type or screen identification of the color ink screen, and the interface conversion module can search the waveform table for the voltage information corresponding to each pixel in the preprocessed image at the current moment according to the index value of the grayscale change.

[0104] Conventionally, there are only two types of source voltages for black and white ink screens and color ink screens, but considering the technological development of color ink screens, different color particles may need to be driven by different voltages. Therefore, the embodiment of the present application considers the possibility of supporting multiple source voltages, using 4-bit numbers to represent the voltage type, and can support up to 16 voltage types. In this way, it not only meets the current ink screen's two voltage types of driving methods, but also meets the existing or future scenarios of multiple voltages driving color ink screens.

[0105] In an optional implementation, the converting the index value of the grayscale change into voltage information based on the waveform table stored in the color ink screen includes:

[0106] Querying the waveform table for a waveform sequence corresponding to the index value of the grayscale change;

[0107] Based on the waveform sequence, a voltage change value of each pixel in the color ink screen and a duration corresponding to the voltage change value are obtained.

[0108] First, use the index value to perform a matching query in the waveform table of the color ink screen to obtain the waveform sequence corresponding to the index value of the specified grayscale change, and then use the corresponding waveform sequence to obtain the voltage change value of each pixel in the color ink screen and the duration of the corresponding voltage change value. When each pixel is displayed, it will produce a specific voltage change according to the corresponding waveform sequence, indicating the change in the voltage of the pixel during the display process; the duration indicates the duration of each voltage change value, that is, the length of time the color ink screen maintains each horizontal voltage at the coordinate position of the pixel. The voltage information includes the voltage change value and the duration.

[0109] For example, a color ink screen may need to go through three stages to change from black to white. In the first stage, voltage v1 is applied for duration t1. In the second stage, voltage v2 is applied for duration t2. In the third stage, no voltage is applied for duration t3. The screen refresh time T = t1 + t2 + t3, that is, after T time has passed, the white color is finally displayed stably.

[0110] In the above implementation, the voltage change value and duration for each pixel are obtained based on the waveform table of the color ink screen and the index value of the specific grayscale change, so that precise control and adjustment at the pixel level can be achieved to better present the input image on the color ink screen.

[0111] S44, driving the color ink screen to display based on the voltage information and the interface information.

[0112] The interface conversion module outputs the voltage information obtained by the encoding module according to the interface timing corresponding to the color ink screen.

[0113] In an optional implementation, the driving the color ink screen to display based on the voltage information and the interface information includes:

[0114] Use FPGA to simulate the interface timing requirements of the color ink screen;

[0115] The color ink screen is driven to display based on the interface timing requirement, the voltage change value and the duration.

[0116] The voltage change value describes the voltage change of the coordinate position of the color ink screen corresponding to each pixel when the image is displayed. According to the voltage change value and the corresponding duration, the FPGA is used to simulate the interface timing requirements corresponding to the color ink screen, and the color ink screen is driven to output according to the corresponding voltage change value and duration.

[0117] FGPA can realize the conversion of different interface types, and has flexibility and scalability to a certain extent to meet the needs of color ink screens of different sizes and types. For common color ink screen interfaces, such as the more common mini-LVDS interface used on large-size high-definition color ink screens, the FPGA interface can be used to simulate the double-edge data transmission and timing requirements required for the mini-LVDS interface. For small-sized color ink screen interfaces, TTL RGB parallel output can also be easily realized based on FPGA simulation. With the flexibility of FPGA, the timing requirements of any color ink screen interface can be simulated as needed, thereby supporting various types of color ink screens.

[0118] In an optional embodiment, the method further comprises:

[0119] If no image input is detected at the next moment, or if image input is detected at the next moment but the image input at the next moment is the same as the image input at the current moment, the color ink screen is not refreshed.

[0120] When refreshing the screen normally, the power supply needs to be turned on to provide the source voltage and field voltage to the color ink screen. However, the color ink screen has the characteristic that the content does not disappear when the power is off, so it can not be refreshed when the screen content does not change to reduce power consumption.

[0121] When the present application detects that an image is input at the current moment, a pipeline processing method is used through FPGA to perform regular processing on the image input at the current moment to obtain a preprocessed image at the current moment. The pipeline processing method shortens the processing time of the image and improves the speed and experience of screen refreshing. The index value of the grayscale change is calculated based on the preprocessed image at the current moment and the preprocessed image at the previous moment, and then the index value of the grayscale change is converted into voltage information based on the waveform table stored in the color ink screen. Finally, the color ink screen is driven to display based on the voltage information and the interface information. Precise control and adjustment at the pixel level can be achieved to better present the input image on the color ink screen, and it does not have to rely on system-level chips. It is more flexible and can adapt to various models and specifications of color ink screens.

[0122] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.

[0123] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, and may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0124] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to be used as limitations to the present application. As used in the specification and the appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include plural expressions, unless there is a clear contrary indication in its context. It should also be understood that the term "and / or" used in the present application refers to any or all possible combinations containing one or more of the listed items. The terms "first" and "second" are only used for descriptive purposes and cannot be understood as implying or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined as "first" and "second" can expressly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise stated, the meaning of "multiple" is two or more.

[0125] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A color ink screen driving method, characterized in that: The method comprises: When an image input is detected at the current moment, the image input at the current moment is input to the field programmable gate array in real time according to pixels, and the field programmable gate array performs regular processing on the image input at the current moment in a pixel-level pipeline processing manner to obtain a pre-processed image at the current moment; Calculating the grayscale change index value according to the preprocessed image at the current moment and the preprocessed image at the previous moment; Based on the screen type or screen identifier of the color ink screen, a waveform table corresponding to the color ink screen is obtained, a waveform sequence corresponding to the index value of the grayscale change is searched in the waveform table, and a voltage change value of each pixel in the color ink screen and a duration of the corresponding voltage change value are obtained using the corresponding waveform sequence; A field programmable gate array is used to simulate the interface timing requirements required by the interface according to the type of the interface of the color ink screen; and the color ink screen is driven to display based on the interface timing requirements, the voltage change value and the duration.

2. The color ink screen driving method according to claim 1, characterized in that: The performing regularization processing on the image input at the current moment to obtain the pre-processed image at the current moment comprises: Contrast adjustment, gamma value adjustment, and dithering processing are performed on the image input at the current moment to obtain the pre-processed image at the current moment.

3. The color ink screen driving method according to claim 1, characterized in that: The performing regularization processing on the image input at the current moment to obtain the pre-processed image at the current moment also includes: Identify whether the color ink screen is a mask-type color ink screen or a capsule-type color ink screen; When the color ink screen is the mask-type color ink screen, pixels of the image input at the current moment are rearranged to obtain the pre-processed image at the current moment.

4. The color ink screen driving method according to claim 3, characterized in that: When the color ink screen is the mask type color ink screen, the grayscale change index value calculated according to the current preprocessed image and the previous preprocessed image includes: Obtaining a first grayscale value of each pixel in the preprocessed image at the current moment; Obtaining a second grayscale value of each pixel in the preprocessed image at the last moment; For each pixel, a preset calculation formula is used to perform calculation based on the first grayscale value and the corresponding second grayscale value of the pixel to obtain an index value of the grayscale change of the pixel.

5. The color ink screen driving method according to claim 3, characterized in that: When the color ink screen is the capsule-type color ink screen, the grayscale change index value calculated according to the current preprocessed image and the previous preprocessed image includes: Obtaining the first channel grayscale value of each channel of each pixel in the preprocessed image at the current moment; Obtain the second channel grayscale value of each channel of each pixel in the preprocessed image at the previous moment; For each channel of each pixel point, a preset calculation formula is used to calculate based on the first channel grayscale value of the channel and the corresponding second channel grayscale value to obtain an index value of the grayscale change of the channel; According to the index value of the grayscale change of each channel of each pixel, the index value of the grayscale change of the pixel is obtained.

6. The color ink screen driving method according to claim 5, characterized in that: The method further comprises: If no image input is detected at the next moment, or if image input is detected at the next moment but the image input at the next moment is the same as the image input at the current moment, the color ink screen is not refreshed.

7. A color ink screen driving device, characterized in that: The device comprises: an image source interface module, a field programmable gate array connected to the image source interface module, a storage module connected to the field programmable gate array, and a power management module, wherein the image source interface module is used to receive an image input by an image input device, and input each pixel point of the image to the field programmable gate array in parallel; The storage module is used to store screen information of the color ink screen, etc. The power management module is used to provide source voltage and field voltage for the color ink screen; The field programmable gate array is used to implement the steps of the color ink screen driving method according to any one of claims 1 to 6.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the color ink screen driving method according to any one of claims 1 to 6 are implemented.