Electronic paper driving method, terminal equipment and computer readable storage medium
By generating a transition picture in electronic paper and optimizing charge distribution, the afterimage problem caused by viscosity in electronic paper is solved, and the display effect and stability are improved.
Patent Information
- Application Number
- CN202411214873.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2024-12-10
AI Technical Summary
In the existing electronic paper microcapsule technology, the viscosity of the insulating solvent limits the movement speed of charged white particles, resulting in the afterimage of the previous picture appearing after switching pictures, affecting the display effect.
Before displaying the target screen, a transition screen is generated based on the previous frame of the second screen, and a transition screen is generated by calculating the number of pixels of each of the multiple colors. The display is controlled to display the transition screen to optimize the charge distribution and reduce the afterimage phenomenon.
It effectively avoids the afterimage phenomenon when displaying the target screen, improves the display effect and stability, optimizes the charge distribution, and thus improves the display clarity of electronic paper.
Smart Images

Figure CN119107912A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of electronic paper afterimage elimination, and in particular, relates to an electronic paper driving method, a terminal device, and a computer-readable storage medium. Background Art
[0002] Electronic paper has the advantages of high contrast and wide viewing angle, and is widely used in retail store price tags, digital signage, bus arrival timetables, electronic billboards, mobile phone screens, e-book readers, wearable electronic devices and other fields. The working principle of electronic paper is mainly based on electrophoretic display technology. This technology uses the movement of charged particles (electrophoretic particles) in an electric field to change the optical properties of the display area. Each electrophoretic particle carries positive and negative charges. When an electric field is applied, they move in the microcapsule, thereby changing the color or pattern of the display.
[0003] However, the viscosity of the insulating solvent in the existing microcapsule technology will limit the movement speed of the charged white particles, resulting in the appearance of a partial afterimage of the previous picture after switching the picture, thus affecting the display effect. Summary of the invention
[0004] The embodiments of the present application provide an electronic paper driving method, a terminal device, and a computer-readable storage medium, which can eliminate the residual image of the previous display image and improve the display effect.
[0005] In a first aspect, an embodiment of the present application provides an electronic paper driving method, comprising:
[0006] Before the display displays the first picture, a transition picture is generated according to the second picture, where the second picture is a frame before the first picture;
[0007] Control the display to display a transition picture;
[0008] After the display displays the transition picture, the display is controlled to display the first picture.
[0009] In an embodiment of the present application, before displaying the target picture (first picture), a transition picture is generated based on the previous frame of the first picture. The transition picture is equivalent to initializing the picture. This can avoid the phenomenon of afterimage of the previous picture when displaying the target picture, and can improve the display effect.
[0010] In a possible implementation manner of the first aspect, generating a transition picture according to the second picture includes:
[0011] Obtain the number of pixels corresponding to each of the multiple colors in the second picture;
[0012] Generates transition images based on the number of pixels corresponding to each of the multiple colors.
[0013] In the embodiment of the present application, by calculating the number of pixels of each of the multiple colors in the second picture, the generated transition picture can more accurately control the charge distribution of the pixels, thereby optimizing the display effect.
[0014] In a possible implementation manner of the first aspect, generating the transition picture according to the number of pixels corresponding to each of the multiple colors includes:
[0015] Obtain the color corresponding to the pixel with the largest number of pixels from the numbers of pixels corresponding to the multiple colors;
[0016] The transition picture is generated according to the color corresponding to the pixel with the largest number of pixels.
[0017] In an embodiment of the present application, by calculating the number of pixels corresponding to each of the multiple colors and finding the color with the highest number of pixels, the dominant color in the image can be quickly determined. Since only the color with the highest number of pixels is considered, the amount of calculation is small, which can improve the processing efficiency of the picture.
[0018] In a possible implementation manner of the first aspect, generating a transition picture according to colors corresponding to pixels having the largest number of pixels includes:
[0019] When the second picture only includes two colors, obtaining the number of first pixels corresponding to the first color in the second picture, wherein the color of the first pixels is the first color;
[0020] Obtaining the number of second pixels corresponding to the second color in the second picture, wherein the color of the second pixels is the second color;
[0021] The color corresponding to the pixel with the largest number of pixels among the number of the first pixels and the number of the second pixels is obtained, and a transition picture is generated according to the color corresponding to the pixel with the largest number of pixels.
[0022] In the embodiment of the present application, directly counting the number of pixels of a specific color can obtain a more accurate color distribution, especially when the colors are clearly distinguished, which can improve the accuracy of the data.
[0023] In a possible implementation manner of the first aspect, obtaining a pixel with the largest number of pixels among the number of first pixels and the number of second pixels, and generating a transition picture according to a color corresponding to the pixel with the largest number of pixels includes:
[0024] If the number of the first pixels is greater than the number of the second pixels, the number of the first pixels is determined as the pixel with the largest number of pixels, and the generated transition picture is displayed in the first color;
[0025] If the number of the first pixels is less than the number of the second pixels, the number of the second pixels is determined as the pixel with the largest number of pixels, and the generated transition picture is displayed in the second color.
[0026] In a possible implementation manner of the first aspect, the electronic paper driving method further includes:
[0027] If the number of the first pixels is equal to the number of the second pixels, the generated transition picture displays any one of the first color and the second color.
[0028] In the embodiment of the present application, by generating a transitional image according to the number of pixels, the display effect can be optimized and the afterimage caused by uneven charge distribution can be reduced.
[0029] In a possible implementation manner of the first aspect, generating a transition picture according to colors corresponding to pixels having the largest number of pixels includes:
[0030] In a case where the second picture only includes a first color picture and a second color picture, wherein the first color picture and the second color picture represent pictures corresponding to different colors;
[0031] Obtaining the total number of pixels corresponding to the second picture;
[0032] Obtaining the number of pixels corresponding to the first color picture;
[0033] Determining whether the number of pixels corresponding to the first color picture is greater than half of the total number of pixels corresponding to the second picture;
[0034] If the number of pixels corresponding to the first color picture is greater than half of the total number of pixels corresponding to the second picture, the generated transition picture displays the color corresponding to the first color picture;
[0035] If the number of pixels corresponding to the first color picture is less than half of the total number of pixels corresponding to the second color picture, the generated transition picture displays the color corresponding to the second color picture;
[0036] If the number of pixels corresponding to the first color picture is equal to half of the total number of pixels corresponding to the second picture, the generated transition picture displays the color corresponding to any one of the first color picture and the second color picture.
[0037] In an embodiment of the present application, when the picture contains only two colors, it is only necessary to calculate whether the number of pixels corresponding to one color in the picture exceeds half of the total number of pixels in the picture, so as to distinguish the number of pixels with the highest proportion in the picture, thereby improving the processing efficiency of the picture.
[0038] In a possible implementation manner of the first aspect, controlling a display to display a transition picture includes:
[0039] Get the screen color corresponding to the transition screen;
[0040] Acquire a first driving waveform according to the picture color corresponding to the transition picture;
[0041] The display is driven according to the first driving waveform so that the display displays a transition picture.
[0042] In the embodiment of the present application, the generation of the driving waveform and the display control strategy can be adjusted according to actual needs to adapt to different display requirements.
[0043] In a possible implementation manner of the first aspect, driving a display according to a first driving waveform so that the display displays a transition picture includes:
[0044] Acquire a first voltage value corresponding to the first driving waveform;
[0045] The electrodes of the pixels in the display are driven according to the first voltage value, so that the display displays a transition picture.
[0046] In the embodiment of the present application, by precisely controlling the pixel electrode, the afterimage phenomenon caused by residual charge can be reduced and the display stability can be improved.
[0047] In a second aspect, an embodiment of the present application provides a residual image elimination device, comprising:
[0048] A picture generating unit, used for generating a transition picture according to a second picture before the display displays the first picture, wherein the second picture is a frame picture before the first picture;
[0049] A first control unit, used for controlling the display to display a transition picture;
[0050] The second control unit is used to control the display to display the first picture after the display displays the transition picture.
[0051] In a third aspect, an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, an electronic paper driving method as described in any one of the first aspects above is implemented.
[0052] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the electronic paper driving method as described in any one of the first aspects above is implemented.
[0053] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on a terminal device, the terminal device executes the electronic paper driving method of any one of the above-mentioned first aspects.
[0054] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0056] Figure 1 is a flow chart of an electronic paper driving method provided in an embodiment of the present application;
[0057] Figure 2 This is a schematic diagram of the process of generating a transition screen provided in an embodiment of the present application. Figure 1 ;
[0058] Figure 3 This is a schematic diagram of the process of generating a transition screen provided in an embodiment of the present application. Figure 2 ;
[0059] Figure 4 is a schematic diagram of a first driving waveform provided in an embodiment of the present application;
[0060] Figure 5 is a schematic diagram of a second driving waveform and a display screen 1 provided in an embodiment of the present application;
[0061] Figure 6 It is a schematic diagram of a target driving waveform and a display screen 2 provided by the implementation of the present application;
[0062] Figure 7 This is a comparison diagram of the display screen provided by the present application. Figure 1 ;
[0063] Figure 8 This is a comparison diagram of the display screen provided in the embodiment of the present application. Figure 2 ;
[0064] Fig. 9 is a structural block diagram of an electronic driving device provided in an embodiment of the present application;
[0065] Fig.10 It is a schematic diagram of the structure of the terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0066] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0067] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0068] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0069] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0070] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0071] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. appearing in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways.
[0072] Electronic paper has the advantages of high contrast and wide viewing angle, and is widely used in retail store price tags, digital signage, bus arrival timetables, electronic billboards, mobile phone screens, e-book readers, wearable electronic devices and other fields. The working principle of electronic paper is mainly based on electrophoretic display technology. This technology uses the movement of charged particles (electrophoretic particles) in an electric field to change the optical properties of the display area. Each electrophoretic particle carries positive and negative charges. When an electric field is applied, they move in the microcapsule, thereby changing the color or pattern of the display.
[0073] Electrophoretic particles include positively charged first color particles (such as black particles) and negatively charged second color particles (such as white particles). Using the principle of positive and negative attraction, when the electric field of a pixel block is turned on, the first color or second color particles corresponding to the pixel block will move to the top of the microcapsule. The user can see a graphic composed of one of the first color particles and the second color particles on the pixel block. The other color particle of the first color particles and the second color particles is used as the background color of the graphic. However, the viscosity of the insulating solvent in the existing microcapsule technology will limit the movement speed of the charged white particles, resulting in the appearance of a partial afterimage of the previous picture after switching the picture, which affects the display effect.
[0074] In order to solve the problems in the above-mentioned related technologies, the embodiment of the present application provides an electronic paper driving method. In the present application, a front driving waveform is added before the driving waveform that drives the display screen. The front driving waveform drives the display image to a white screen or a black screen. The color of the front driving screen is determined by the previous display screen, and the color of the front driving screen is determined by comparing the number of black and white pixels in the previous screen. After the front driving screen is driven by the front driving waveform, the target screen to be displayed is finally displayed.
[0075] See also Figure 1 , is a flow chart of the electronic paper driving method provided in an embodiment of the present application. As an example but not a limitation, the method may include the following steps:
[0076] S101, before the display displays a first picture, generating a transition picture according to a second picture, where the second picture is a frame previous to the first picture.
[0077] In the embodiments of the present application, a "transition screen" generally refers to a screen in the process of changing from one state to another, such as transitioning from one image to another, or transitioning between two key frames in an animation. For example, before the electronic paper display formally displays the first screen, the system will use the second screen (i.e., the previous frame of the first screen) to create a transition screen. Such a transition screen can help the electronic paper switch between two different screens, avoiding the residual image of the second screen from affecting the display of the first screen.
[0078] In one embodiment, see Figure 2 , is a schematic diagram of the process of generating a transition screen provided in an embodiment of the present application Figure 1 ,like Figure 2 As shown, step S101 includes:
[0079] S201, obtaining the number of pixels corresponding to each of the multiple colors in the second picture.
[0080] In the embodiment of the present application, the "second picture" may contain multiple colors, that is, it is not a single color, but is composed of multiple colors. The "number of pixels corresponding to each of the multiple colors" refers to considering each color channel in the picture (usually the three channels of red, green, and blue) separately, and calculating the number of pixels of each color value in each color channel. This usually involves traversing the picture, and for each pixel, counting its color value (RGB triplet) separately, so as to obtain the number of pixels of each color in the image.
[0081] S202, generating a transition picture according to the number of pixels corresponding to each of the multiple colors.
[0082] In an embodiment of the present application, a transition picture with a transition effect is created according to the number of pixels of different colors in the picture, wherein the color of the transition picture is determined according to the number of pixels.
[0083] In the above method, by calculating the number of pixels of each of the multiple colors in the second picture, the generated transition picture can more accurately control the charge distribution of the pixels, thereby optimizing the display effect.
[0084] In one embodiment, step S202 includes:
[0085] The color corresponding to the pixel with the largest number of pixels is obtained from the numbers of pixels corresponding to the multiple colors; and the transition picture is generated according to the color corresponding to the pixel with the largest number of pixels.
[0086] In the embodiment of the present application, the system counts the number of times each color appears or the number of pixels. Then, the system finds the color with the most occurrences, that is, the color with the most pixels. This color is usually the main color in the image or the most visually significant color. Once the system determines the color with the most occurrences, it will use this color to generate the transition screen.
[0087] In the above method, by calculating the number of pixels corresponding to multiple colors and finding the color with the highest number of pixels, the dominant color in the image can be quickly determined. Since only the color with the highest number of pixels is considered, the amount of calculation is small, which can improve the processing efficiency of the picture.
[0088] In one embodiment, see Figure 3 , is a schematic diagram of the process of generating a transition screen provided in an embodiment of the present application Figure 2 ,like Figure 3 As shown, when the second picture only includes two colors, generating the transition picture according to the colors corresponding to the pixels with the largest number of pixels includes:
[0089] S301, obtaining the number of first pixels corresponding to a first color in a second picture, wherein the color of the first pixels is the first color.
[0090] In the embodiment of the present application, when the second picture includes only two colors, such as only black and white, the number of pixels corresponding to black and white is obtained. In this example, the first color can be black or white, so the first pixel is a black pixel or a white pixel. When the first color is black, that is, the first pixel is a black pixel, it is necessary to count the number of first pixels corresponding to black in the second picture.
[0091] In some implementations, if the first pixel is a black pixel, the second image is color-recognized to distinguish the first color. This involves image processing technology, which can be implemented through threshold segmentation, color space conversion, and other methods. For example, a brightness threshold can be set to distinguish between black and white pixels. Pixels with brightness values higher than a certain threshold are defined as white, and pixels lower than the threshold are defined as black. Each pixel in the grayscale image is traversed, and pixels lower than the threshold are counted as black pixels. The number of black pixels is recorded as the first value, which will be used for subsequent calculations or displays.
[0092] In other implementations, if the first pixel is a black pixel, the data code corresponding to the second image is detected, for example, in monochrome mode, data 0 displays a black pixel and data 1 displays a white pixel. The accumulated number of data 0 is the number of melanin, that is, the number of first pixels.
[0093] S302: Obtain the number of second pixels corresponding to a second color in a second picture, wherein the color of the second pixels is the second color.
[0094] In the embodiment of the present application, when the first color is black, that is, the first pixel is a black pixel, the second color is white, that is, the second pixel is a white pixel. After obtaining the number of first pixels, it is also necessary to count the number of pixels corresponding to the second color in the second picture (the number of second pixels).
[0095] In some implementations, the total number of pixels in the second picture may be obtained, and after obtaining the number of first pixels, the total number in the second picture may be subtracted from the number of first pixels to obtain the number of second pixels corresponding to the second color.
[0096] In other implementations, the number of pixels in the second picture can be obtained according to the size of the electronic paper display screen. The width and height of the electronic paper display screen are measured, and the total number of pixels in the second picture is obtained by multiplying the width of the screen by the height. If the width of a screen is 1920 pixels and the height is 1080 pixels, the total number of pixels is 1920×1080=2073600 pixels.
[0097] In some other implementations, a brightness threshold may be set to distinguish between black and white pixels. Pixels with brightness values higher than a certain threshold are defined as white, and each pixel in the second image is traversed to count the number of pixels with brightness values greater than the threshold, and the number is recorded as the number of second pixels, which will be used for subsequent calculations or displays.
[0098] S303: Obtain the pixel with the largest number of pixels between the number of the first pixels and the number of the second pixels, and generate the transition picture according to the color corresponding to the pixel with the largest number of pixels.
[0099] In the embodiment of the present application, when the first picture includes only two colors, the generation of the transition picture is determined according to the color corresponding to the highest pixel among the numbers of pixels corresponding to the two colors.
[0100] In one embodiment, step S303 includes:
[0101] If the number of first pixels is greater than the number of second pixels, the number of first pixels is determined as the pixels with the largest number of pixels, and the generated transition screen displays the first color; if the number of first pixels is less than the number of second pixels, the number of second pixels is determined as the pixels with the largest number of pixels, and the generated transition screen displays the second color.
[0102] In the embodiment of the present application, when the first screen includes two colors, the number of pixels of the first color (the number of first pixels) and the number of pixels of the second color (the number of second pixels) are compared, and the color that the transition screen should display is determined based on the comparison result. If the number of pixels of the first color is greater than the number of pixels of the second color, the transition screen displays the first color, and if the number of pixels of the second color is greater than the number of pixels of the first color, the second color is displayed.
[0103] Exemplarily, if the first pixel corresponding to the first color is a black pixel, and the second pixel corresponding to the second color is a white pixel, if the number of black pixels is greater than the number of white pixels, the transition screen displays black, that is, the generated transition screen displays a completely black screen. Similarly, if the number of white pixels is greater than the number of black pixels, the transition screen displays white, that is, the generated transition screen displays a completely white screen.
[0104] It should be noted that, when the first picture includes multiple colors, the color with the largest number of pixels in the first picture is used as the transition color of the transition picture for display.
[0105] In the above method, by generating a transition picture according to the number of pixels, the display effect can be optimized and the afterimage caused by uneven charge distribution can be reduced.
[0106] In one embodiment, step S303 includes:
[0107] If the number of the first pixels is equal to the number of the second pixels, the generated transition picture displays any one of the first color and the second color.
[0108] In an embodiment of the present application, if the second picture only contains two colors and the number of pixels corresponding to each color is the same, it means that the first color and the second color are both prominent colors in the second picture. At this time, the generated transition picture can display any one of the two colors.
[0109] In one embodiment, generating a transition picture according to the color corresponding to the pixel with the largest number of pixels further includes:
[0110] In the case where the second picture only includes a first color picture and a second color picture, wherein the first color picture and the second color picture represent pictures corresponding to different colors;
[0111] Obtain the total number of pixels corresponding to the second picture; obtain the number of pixels corresponding to the first color picture; determine whether the number of pixels corresponding to the first color picture is greater than half of the total number of pixels corresponding to the second picture; if the number of pixels corresponding to the first color picture is greater than half of the total number of pixels corresponding to the second picture, the generated transition picture displays the color corresponding to the first color picture; if the number of pixels corresponding to the first color picture is less than half of the total number of pixels corresponding to the second picture, the generated transition picture displays the color corresponding to the second color picture; if the number of pixels corresponding to the first color picture is equal to half of the total number of pixels corresponding to the second picture, the generated transition picture displays the color corresponding to any one of the first color picture and the second color picture.
[0112] In an embodiment of the present application, when the second screen only contains the first screen color and the second screen color, the total number of all pixels in the second screen is counted, and then only the number of pixels corresponding to the first color screen needs to be counted, and then it is determined whether the number of pixels corresponding to the first color screen is greater than half of the total number of pixels in the second screen. This is a critical step because it determines which color should be highlighted in the transition screen. If the number of pixels corresponding to the first screen color occupies more than half of the total number of pixels in the second screen, then in the generated transition screen, this color will be highlighted, which means that the transition screen will display the color corresponding to the first screen color, otherwise it will display the color corresponding to the second screen color. It should be noted that the number of pixels corresponding to the first screen color is exactly equal to half of the total number of pixels in the second screen, then the color of the transition screen can display any color corresponding to the first color screen and the second color screen.
[0113] When the picture contains only two colors, it is only necessary to calculate whether the number of pixels corresponding to one color in the picture exceeds half of the total number of pixels in the picture to distinguish the number of pixels with the highest proportion in the picture, thereby improving the processing efficiency of the picture.
[0114] S102, controlling the display to display a transition picture.
[0115] In one embodiment, step S102 includes:
[0116] S401, obtaining the screen color corresponding to the transition screen.
[0117] In the embodiment of the present application, the picture color corresponding to the transition picture is determined according to the number of pixels corresponding to the picture color in the first picture. For example, when the first picture includes two colors, the number of pixels corresponding to the two colors is obtained according to the above example to determine the color of the transition picture.
[0118] S402: Generate a first driving waveform according to the first picture color.
[0119] In the embodiment of the present application, since the electronic paper display screen contains an integrated circuit (IC) inside, and the IC contains a look-up table (LUT), the LUT table contains driving waveform data corresponding to various pixel values. In display technology, LUT is used to convert digital signals into analog signals in order to drive pixel electrodes to drive the display to display corresponding images.
[0120] See also Figure 4 , is a schematic diagram of a first driving waveform provided in an embodiment of the present application, such as Figure 4 As shown, the first driving waveform can also be called the front driving waveform. Figure 4 It can be seen that the level corresponding to the front driving waveform is a low level, so the low level is given to the charge electrode of the first pixel.
[0121] S403: Drive the display according to the first driving waveform so that the display displays a transition picture.
[0122] In the embodiment of the present application, step S403 may be implemented as follows:
[0123] A first voltage value corresponding to the first driving waveform is obtained; and electrodes of pixels in the display are driven according to the first voltage value, so that the display displays a transitional picture.
[0124] In the embodiment of the present application, in the electronic display screen, there is a series of charge storage units near each pixel, including first color particles with positive charge (such as black particles) and second color particles with negative charge (such as white particles). The charge corresponding to the pixel particles includes a pixel electrode for receiving a drive waveform signal (first drive waveform) from an IC, and the first drive waveform corresponds to a different level (first voltage value), so the voltage value corresponding to the first drive waveform is obtained and input to the pixel electrode in the display to drive the black and white particles to move, so that the electronic paper displays pixel images corresponding to different pixels.
[0125] Exemplarily, when a first voltage value (negative voltage) is input, using the principle of positive and negative attraction, the positively charged black particles will move to the top of the electronic paper, and the negatively charged white particles will move to the other side of the electronic paper, so that the electronic paper will display the pixel color corresponding to the charge at the top. In this example, the transition screen displayed by the electronic paper is a black screen corresponding to the black particles moving to the top.
[0126] In the above method, by accurately controlling the pixel electrode, the afterimage phenomenon caused by residual charge can be reduced and the display stability can be improved.
[0127] S103, after the display displays the transition picture, control the display to display the first picture.
[0128] In the embodiment of the present application, after the transitional image is displayed, the display screen (electronic paper) needs to be controlled to display the original or next predetermined image (first image). This control process may involve changing the driving waveform, adjusting the position of the charged particles, or changing the state of the pixels to ensure that the image on the display is correctly updated.
[0129] Specifically, the position of each pixel in the first picture can be read. This is usually done by identifying each pixel point through row and column addresses, and receiving the pixel data of the first picture by reading a memory, etc. The data may be a numerical value representing information such as the brightness and color of the pixel. These data need to be parsed to determine the state of each pixel point. The first picture is different from the transition picture. The transition picture is a monochrome picture, while the first picture is a two-color picture. Therefore, the first picture includes black and white pixels, and its driving waveform is different from the first driving waveform.
[0130] The first waveform needs to drive the screen to a full black or full white mode, and the second driving waveform (the waveform driving the first screen) includes black and white patterns, numbers and other target contents to be displayed. The second driving waveform corresponding to the first screen is obtained by searching the LUT table according to the black and white pixels in the second screen, such as Figure 5 , which is a schematic diagram of a second driving waveform and a display screen 1 provided in an embodiment of the present application, Figure 5 (a) is a second driving waveform including multiple high level and low level segments, wherein the high level and the low level are used to drive different black and white particles, respectively, so as to drive the display to display as follows: Figure 5 (b) shows the first screen, which is a screen that uses only Figure 5 The second driving waveform shown in (a) drives the first image. Since the viscosity of the insulating solvent in the microcapsule technology limits the movement speed of the charged white particles, a partial afterimage of the second image (the previous frame of the first image) appears when the first image is displayed, resulting in a lower clarity of the first image.
[0131] In the present application, a section of a precursor waveform (first driving waveform) is added before the driving waveform (second driving waveform) to obtain the target driving waveform, such as Figure 6 6( a) is a schematic diagram of a target drive waveform and a display screen 2 provided by the present application. The target waveform shown in FIG6( a) is used to drive the display image to a white screen or a black screen (transition screen). After the transition screen is displayed, the first screen is displayed. The first screen obtained is shown in FIG6( b). Figure 6 (b) is the display screen 2 (first screen).
[0132] See also Figure 7 This is a comparison diagram of the display screen provided in the embodiment of the present application. Figure 1 ,like Figure 7 As shown in (a), the display screen is driven by directly using the driving waveform (second driving waveform) corresponding to the first picture. It can be seen that there is a partial afterimage in the display screen, resulting in a low definition of the first picture, such as Figure 7 (b) shows the display screen obtained by adding the precursor waveform (first driving waveform) or the target driving waveform to the driving waveform. By comparison, Figure 7The contents at m and n in (a) are obtained after driving with the target driving waveform. Figure 7 In (a), the residual images at m1 and n1 are significantly reduced. Figure 7 The content at m1 and n1 in (a) is clearer.
[0133] See also Figure 8 , which is a comparison diagram of the display screen provided in the embodiment of the present application Figure 2 In the case where there are many black pixels in the second picture (the previous frame of the display picture), according to the method provided in the embodiment of the present application, the color of the transition picture should display the color with a higher proportion in the previous picture, that is, the transition picture displays a completely black picture, such as Figure 8 As shown in (a), if white is used as the first picture displayed after the transition picture, it can be seen that there are some residual images of letters or numbers in the first picture, resulting in low picture clarity, such as Figure 8 As shown in (b), the method provided by the present application uses the color with more pixels in the previous frame (i.e. black) as the first picture displayed after the transition picture. It can be seen that the afterimages of the letters or numbers in the first picture are eliminated, and the clarity is high.
[0134] Similarly, when there are more white pixels in the second picture (the previous frame of the display picture), Figure 8 (c) shows the first picture after black is used as the transition picture. It can be seen that the letters or graphics in the first picture have some residual images, resulting in low picture clarity. Figure 8 As shown in (d), the method provided by the present application uses the color with more pixels in the previous frame (i.e., white) as the first picture displayed after the transition picture. It can be seen that the residual image of the letters or images in the first picture is eliminated, and the clarity is high. Therefore, by comparison, it can be seen that the method provided in the embodiment of the present application can eliminate the residual image caused by the previous picture in the electronic paper.
[0135] In the electronic paper driving display technology provided in the present application, before displaying the target picture (first picture), a transition picture is generated according to the previous frame of the first picture. The transition picture is equivalent to initializing the picture. This can avoid the phenomenon of afterimage of the previous picture when displaying the target picture, and can improve the display effect.
[0136] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0137] Corresponding to the electronic paper driving method of the above embodiment, Fig. 9: is a structural block diagram of an electronic driving device provided in an embodiment of the present application. For the sake of convenience of explanation, only the parts related to the embodiment of the present application are shown.
[0138] Reference Fig. 9 , the device comprises:
[0139] The picture generation unit 91 is used to generate a transition picture according to a second picture before the display displays the first picture, where the second picture is a frame before the first picture;
[0140] A first control unit 92, used to control the display to display a transition picture;
[0141] The second control unit 93 is used to control the display to display the first picture after the display displays the transition picture.
[0142] Correspondingly, the screen generating unit 91 is also used for:
[0143] Obtaining a first proportion corresponding to a first color and a second proportion corresponding to a second color in a second picture, wherein the first color is different from the second color, and the colors in the second picture only include the first color and the second color;
[0144] A transition picture is generated according to the first weight and the second weight.
[0145] Optionally, the screen generating unit 91 is further configured to:
[0146] Counting the number of first pixels in the second picture to obtain a first value, wherein the color of the first pixels is the first color;
[0147] Counting the number of second pixels in the second picture according to the first value to obtain a second value, wherein the color of the second pixels is the second color;
[0148] A first proportion corresponding to the first color and a second proportion corresponding to the second color in the second picture are obtained according to the first value and the second value.
[0149] Optionally, the screen generating unit 91 is further configured to:
[0150] Obtaining the density of pixels in the second picture to obtain a third value;
[0151] Calculating a ratio of the first value to the third value to obtain a first proportion corresponding to the first color in the second picture;
[0152] The ratio of the second value to the third value is calculated to obtain a second proportion corresponding to the second color in the second picture.
[0153] Optionally, the screen generating unit 91 is further configured to:
[0154] If the first specific gravity is greater than the second specific gravity, a transition picture is generated according to the first color;
[0155] If the first proportion is smaller than the second proportion, a transition picture is generated according to the second color.
[0156] Optionally, the first control unit 92 is further configured to:
[0157] Get the first screen color corresponding to the transition screen;
[0158] generating a first driving waveform according to a first picture color;
[0159] The display is driven according to the first driving waveform so that the display displays a transition picture.
[0160] Optionally, the first control unit 92 is further configured to:
[0161] Acquire a first voltage value corresponding to the first driving waveform;
[0162] The electrodes of the pixels in the display are driven according to the first voltage value, so that the display displays a transition picture.
[0163] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0164] in addition, Fig. 9 The afterimage elimination device shown can be a software unit, a hardware unit, or a combination of software and hardware units built into an existing terminal device, or can be integrated into the terminal device as an independent hanger, or can exist as an independent terminal device.
[0165] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0166] Fig.10Schematic diagram of the structure of the terminal device provided in the embodiment of the present application. Fig.10 As shown, the terminal device 10 of this embodiment includes: at least one processor 100 ( Fig.10 Only one is shown in the figure) a processor, a memory 101, and a computer program 102 stored in the memory 101 and executable on at least one processor 100, and when the processor 100 executes the computer program 102, the steps in any of the above-mentioned electronic paper driving method embodiments are implemented.
[0167] The terminal device may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The terminal device may include, but is not limited to, a processor and a memory. Those skilled in the art will understand that Fig.10 This is only an example of the terminal device 10 and does not constitute a limitation on the terminal device 10 . The terminal device 10 may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include input and output devices, network access devices, etc.
[0168] The processor 100 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0169] In some embodiments, the memory 101 may be an internal storage unit of the terminal device 10, such as a hard disk or memory of the terminal device 10. In other embodiments, the memory 101 may also be an external storage device of the terminal device 10, such as a plug-in hard disk, a smart memory card (Smart Med ia Card, SMC), a secure digital (SecureDi gi tal, SD) card, a flash card (F l ash Card), etc. equipped on the terminal device 10. Further, the memory 101 may also include both an internal storage unit of the terminal device 10 and an external storage device. The memory 101 is used to store an operating system, an application program, a boot loader (Boot Loader), data, and other programs, such as program codes of computer programs, etc. The memory 101 may also be used to temporarily store data that has been output or is to be output.
[0170] The embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0171] An embodiment of the present application provides a computer program product. When the computer program product is run on a terminal device, the terminal device can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0172] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the device / terminal device, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0173] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0174] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0175] In the embodiments provided in the present application, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0176] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0177] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.
Claims
1. An electronic paper driving method, characterized in that: The method comprises: Before the display displays the first picture, a transition picture is generated according to the second picture, where the second picture is a frame previous to the first picture; Controlling the display to display the transition picture; After the display displays the transition picture, the display is controlled to display the first picture.
2. The electronic paper driving method according to claim 1, characterized in that: Generating a transition picture according to the second picture includes: Obtaining the number of pixels corresponding to each of the plurality of colors in the second picture; The transition picture is generated according to the number of pixels corresponding to each of the multiple colors.
3. The electronic paper driving method according to claim 2, characterized in that: Generating the transition picture according to the number of pixels corresponding to each of the multiple colors includes: Obtain the color corresponding to the pixel with the largest number of pixels from the numbers of pixels corresponding to the multiple colors; The transition picture is generated according to the color corresponding to the pixel with the largest number of pixels.
4. The electronic paper driving method according to claim 3, characterized in that: Generating the transition picture according to the color corresponding to the pixel with the largest number of pixels includes: When the second picture only includes two colors, obtaining the number of first pixels corresponding to a first color in the second picture, wherein the color of the first pixels is the first color; Acquire the number of second pixels corresponding to a second color in the second picture, wherein the color of the second pixels is the second color; The color corresponding to the pixel with the largest number of pixels among the number of the first pixels and the number of the second pixels is obtained, and the transition picture is generated according to the color corresponding to the pixel with the largest number of pixels.
5. The electronic paper driving method according to claim 4, characterized in that: The step of determining the color corresponding to the pixel with the largest number of pixels according to the number of the first pixels and the number of the second pixels, and generating the transition picture according to the color corresponding to the pixel with the largest number of pixels, comprises: If the number of the first pixels is greater than the number of the second pixels, determining the first pixels as the pixels with the largest number of pixels, and displaying the first color corresponding to the first pixels on the generated transition picture; If the number of the first pixels is less than the number of the second pixels, the second pixels are determined as pixels with the largest number of pixels, and the generated transition picture displays a second color corresponding to the second pixels.
6. The electronic paper driving method according to claim 5, characterized in that: The method further comprises: If the number of the first pixels is equal to the number of the second pixels, the generated transition picture displays any one of the first color and the second color.
7. The electronic paper driving method according to claim 3, characterized in that: Generating the transition picture according to the color corresponding to the pixel with the largest number of pixels includes: In the case where the second picture only includes a first color picture and a second color picture, wherein the first color picture and the second color picture represent pictures corresponding to different colors; Obtaining the total number of pixels corresponding to the second picture; Obtaining the number of pixels corresponding to the first color picture; determining whether the number of pixels corresponding to the first color picture is greater than half of the total number of pixels corresponding to the second color picture; If the number of pixels corresponding to the first color picture is greater than half of the total number of pixels corresponding to the second picture, the generated transition picture displays the color corresponding to the first color picture; If the number of pixels corresponding to the first color picture is less than half of the total number of pixels corresponding to the second color picture, the generated transition picture displays the color corresponding to the second color picture; If the number of pixels corresponding to the first color picture is equal to half of the total number of pixels corresponding to the second color picture, the generated transition picture displays the color corresponding to any one of the first color picture and the second color picture.
8. The electronic paper driving method according to claim 1, characterized in that: The controlling the display to display the transition picture includes: Obtaining the screen color corresponding to the transition screen; Acquire a first driving waveform according to the picture color corresponding to the transition picture; The display is driven according to the first driving waveform so that the display displays the transition picture.
9. An electronic paper driving device, characterized in that: include: A picture generating unit, used for generating a transition picture according to a second picture before the display displays the first picture, wherein the second picture is a frame picture before the first picture; A first control unit, used for controlling the display to display the transition picture; The second control unit is used to control the display to display the first picture after the display displays the transition picture.
10. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 8 is implemented.
11. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.
