Display method and device of ink screen, electronic equipment and storage medium

By identifying the cursor feature area on the electronic ink screen and refreshing the cursor pixels in advance using a faster refresh mode, the display delay problem caused by the fast cursor movement speed is solved, and the display effect and user experience of the ink screen are improved.

CN120544516APending Publication Date: 2025-08-26ONYX INT
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510917751.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-03
Publication Date
2025-08-26

AI Technical Summary

Technical Problem

When the electronic ink screen is displayed quickly, especially when the cursor moves faster, it is easy to have display delays or fail to display normally.

Method used

By comparing the current display screen with the screen to be displayed, identify the changed pixels and determine whether they belong to the cursor feature area. If so, a faster refresh mode (such as A2 refresh mode) is used to refresh the cursor pixel collection in advance to ensure that the cursor can be updated in time in the display screen.

Benefits of technology

It effectively avoids display delay caused by excessive cursor movement speed, and improves the display effect and user experience of the ink screen.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120544516A_ABST
    Figure CN120544516A_ABST
Patent Text Reader

Abstract

The invention provides a display method and device of an ink screen, electronic equipment and a storage medium, and the display method comprises the steps: comparing a current display picture with a to-be-displayed picture, and obtaining variable pixels in the to-be-displayed picture, the changing pixels are pixels which are displayed on the same pixel point of the ink screen of the to-be-displayed picture and the current display picture and have different color values; judging whether an area corresponding to the change pixel comprises a cursor feature area or not; if the area corresponding to the change pixel comprises a cursor feature area, a cursor pixel set of the cursor feature area is obtained from the change pixel, and when the current display picture is refreshed, the ink screen is driven to refresh and display the cursor pixel set according to a first refresh mode. According to the method, the cursor feature region of the to-be-displayed picture is refreshed in advance in the refresh cycle of the current display picture, so that the condition of cursor display delay can be avoided, and the display effect of the ink screen is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of display technology, and in particular to a display method, device, electronic device and storage medium for an ink screen. Background Art

[0002] E-ink display technology dates back to 1996, based on research conducted by the MIT Media Lab. Using electrophoretic particle devices (EPD), these displays closely resemble traditional paper, earning them the nickname "electronic paper." Electronic ink, similar to printing ink, is made of pigments, which explains the similarities between the display and traditional paper. E-ink is typically formulated as a thin film composed of numerous microcapsules, each about the diameter of a human hair. The black and white spheres within these microcapsules are pigment particles with different charges. Initially, the pigment particles are suspended within the microcapsules. When an electric field is applied in a specific direction, the corresponding pigment particles are pushed to the top of the microcapsules, causing the microcapsules to display different colors. These microcapsules, each with a different color, form various text and patterns.

[0003] Compared to the LCD screens of general electronic devices, the display frame rate of the electronic ink screen is much slower. For example, the display frame rate of a mobile phone or tablet screen can be 60 frames / s, which means that it takes 16.7ms to display one image frame, while the display frame rate of the electronic ink screen can be 1.8 frames / s, which means that it takes 550ms to display one image frame. Therefore, when electronic devices with ink screens display images quickly, such as playing animated images, playing videos, updating page content at a high frequency, and scrolling pages, it will cause serious delays in the display of the screen, and even the loss of screen content. In particular, when moving the cursor at a faster speed, the cursor will be displayed delayed on the ink screen. When the cursor movement speed exceeds a certain threshold, the cursor display on the ink screen will be severely delayed or even unable to display normally. The cursor display can only keep up with the cursor position update speed after the cursor stops or the cursor movement speed decreases, resulting in poor display effect. Summary of the Invention

[0004] The present application provides a display method, device, electronic device and storage medium for an ink screen to improve the display effect of the ink screen.

[0005] In a first aspect, the present application provides a method for displaying an ink screen, which includes: Comparing the currently displayed image with the image to be displayed, and obtaining changed pixels in the image to be displayed, wherein the changed pixels are pixels displayed on the same pixel point on the ink screen as the image to be displayed and the currently displayed image and having different color values; Determining whether the area corresponding to the changed pixel includes a cursor feature area; If the area corresponding to the changed pixel includes a cursor feature area, a cursor pixel set of the cursor feature area is obtained from the changed pixel. When refreshing the current display screen, the ink screen is driven to refresh and display the cursor pixel set according to the first refresh mode.

[0006] In some embodiments of the present application, when refreshing the currently displayed screen, the step of driving the ink screen to refresh and display the cursor pixel set according to the first refresh mode includes: acquiring a first driving waveform of the cursor pixel set according to a first refresh mode; Determining whether the pixels refreshed and displayed on the current display screen coincide with the cursor pixel set; If not, when refreshing the current display screen, using the first driving waveform to drive the ink screen to refresh and display the cursor pixel set; If so, obtain the overlapping pixel area in the current display screen that overlaps with the cursor pixel set, interrupt the execution of the driving waveform of the overlapping pixel area of ​​the current display screen, and when refreshing the current display screen, use the first driving waveform to drive the ink screen to refresh and display the cursor pixel set.

[0007] In some embodiments of the present application, when refreshing the currently displayed image, the step of using the first driving waveform to drive the ink screen to refresh and display the cursor pixel set includes: When refreshing the current display screen, the current cursor area pixels in the current display screen are obtained, the driving waveform of the current cursor area pixels in the current display screen is interrupted, and the first driving waveform is used to drive the ink screen to refresh and display the cursor pixel set.

[0008] In some embodiments of the present application, the step of obtaining a cursor pixel set of the cursor feature area from the changed pixels, and driving the ink screen to refresh and display the cursor pixel set according to a first refresh mode when refreshing the current display screen includes: Obtaining the moving speed of the cursor; Determining whether the moving speed is greater than a preset speed; If so, a cursor pixel set of the cursor feature area is obtained from the changed pixels, and when refreshing the current display screen, the ink screen is driven according to the first refresh mode to refresh and display the cursor pixel set.

[0009] In some embodiments of the present application, the step of obtaining the movement speed of the cursor includes: Acquire first coordinate information of the cursor on the currently displayed screen and second coordinate information of the cursor on the screen to be displayed; Obtaining a movement displacement of the cursor according to the first coordinate information and the second coordinate information; Obtaining a first time when data of the currently displayed picture is updated and a second time when data of the to-be-displayed picture is updated; Get the time difference between the first time and the second time; The moving speed of the cursor is obtained according to the moving displacement and the time difference.

[0010] In some embodiments of the present application, the step of determining whether the area corresponding to the changed pixels includes a cursor feature area includes: dividing the changed pixels into at least one changed region; Perform feature matching on the features of the changed area and preset features of the cursor; When the feature matching satisfies a preset condition, the changed area is the cursor feature area, and it is determined that the area corresponding to the changed pixels includes the cursor feature area; When the feature matching does not meet the preset conditions, the changed area is not the cursor feature area, and it is determined that the area corresponding to the changed pixels does not include the cursor feature area.

[0011] In some embodiments of the present application, the characteristic of the changing area is the shape outline of the changing area, and the preset feature of the cursor is the cursor shape outline. When the similarity between the shape outline of the changing area and the cursor shape outline is greater than or equal to ninety percent, the changing area is the cursor feature area, and it is determined that the area corresponding to the changing pixel includes the cursor feature area; when the similarity between the shape outline of the changing area and the cursor shape outline is less than ninety percent, the changing area is not the cursor feature area, and it is determined that the area corresponding to the changing pixel does not include the cursor feature area.

[0012] In some embodiments of the present application, the characteristic of the changing region is the area of ​​the changing region, and the preset characteristic of the cursor is the cursor area. When the ratio of the area of ​​the changing region to the cursor area is greater than or equal to ninety percent and less than or equal to one hundred percent, the changing region is the cursor characteristic region, and it is determined that the region corresponding to the changing pixel includes the cursor characteristic region; when the ratio of the area of ​​the changing region to the cursor area is less than ninety percent or greater than one hundred percent, the changing region is not the cursor characteristic region, and it is determined that the region corresponding to the changing pixel does not include the cursor characteristic region.

[0013] In some embodiments of the present application, the step of obtaining a cursor pixel set of the cursor feature area from the changed pixels, and driving the ink screen to refresh and display the cursor pixel set according to a first refresh mode when refreshing the current display screen includes: Obtaining a movement displacement of the cursor between the to-be-displayed image and the currently displayed image; Determining whether the movement displacement is greater than a first threshold and less than a second threshold; If so, a cursor pixel set of the cursor feature area is obtained from the changed pixels, and when refreshing the current display screen, the ink screen is driven according to the first refresh mode to refresh and display the cursor pixel set.

[0014] In some embodiments of the present application, the refresh time of one frame of the first refresh mode is shorter than the refresh time of one frame of the current refresh mode of the currently displayed image.

[0015] In some embodiments of the present application, the first refresh mode is the A2 refresh mode, and the current refresh mode is a refresh mode other than the A2 refresh mode.

[0016] In some embodiments of the present application, the first refresh mode and the current refresh mode of the currently displayed picture are the same refresh mode.

[0017] In a second aspect, an embodiment of the present application further provides an ink screen display device, comprising: a comparison module, configured to compare a currently displayed image with an image to be displayed, and obtain changed pixels in the image to be displayed, wherein the changed pixels are pixels of the image to be displayed and the currently displayed image displayed on the same pixel point on the e-ink screen and having different color values; a judgment module, configured to judge whether the area corresponding to the changed pixels includes a cursor feature area; The driving module obtains a cursor pixel set of the cursor feature area from the changing pixel if the area corresponding to the changing pixel includes a cursor feature area, and drives the ink screen to refresh and display the cursor pixel set according to the first refresh mode when refreshing the current display screen.

[0018] In a third aspect, an embodiment of the present application further provides an electronic device, including: one or more processors; a memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the electronic device implements the display method as described in any one of the first aspects.

[0019] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the display method as described in any one of the first aspects is implemented.

[0020] The present application provides a method, device, electronic device, and storage medium for displaying an ink screen, wherein the display method comprises: comparing a currently displayed image with an image to be displayed, obtaining changed pixels in the image to be displayed, wherein the changed pixels are pixels of the image to be displayed and the currently displayed image displayed on the same pixel point of the ink screen and having different color values; determining whether the area corresponding to the changed pixels includes a cursor feature area; if the area corresponding to the changed pixels includes a cursor feature area, obtaining a cursor pixel set of the cursor feature area from the changed pixels, and driving the ink screen to refresh and display the cursor pixel set according to a first refresh mode when refreshing the currently displayed image. If the area corresponding to the changed pixels includes a cursor feature area, the present application drives the ink screen to refresh and display the cursor pixel set according to a first refresh mode when refreshing the currently displayed image, and refreshes the cursor feature area of ​​the image to be displayed in advance within the refresh cycle of the currently displayed image, thereby avoiding a cursor display delay caused by excessive cursor movement, thereby improving the display effect and user experience of the ink screen. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 A flowchart of the ink screen display method provided in this application; Figure 2 This is a flowchart of step S30 of the ink screen display method according to the first embodiment of the present application; Figure 3 This is a flowchart of step S30 of the second embodiment of the ink screen display method provided by this application; Figure 4 This is a flowchart of step S36 of the ink screen display method provided by this application; Figure 5 This is a flowchart of step S20 of the ink screen display method provided by this application; Figure 6 This is a flowchart of step S30 of embodiment 3 of the ink screen display method provided by this application; Figure 7 A schematic diagram of the structure of the ink screen display device provided in this application; Figure 8 This is a schematic diagram of the structure of the electronic device provided in this application. DETAILED DESCRIPTION

[0022] The following is a further detailed description of the embodiments of the present application in conjunction with the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely for the purpose of explaining the embodiments of the present application, and are not intended to limit the embodiments of the present application. It should also be noted that, for ease of description, the accompanying drawings only illustrate portions of the embodiments of the present application, rather than all structures.

[0023] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, not to describe a specific order or precedence. It should be understood that such terms are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein. The terms "first," "second," and the like generally distinguish objects of a class and do not limit the number of objects. For example, the first object can be one or more, and should not be construed as indicating or implying relative importance. Furthermore, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates an "or" relationship between the connected objects. Furthermore, unless otherwise expressly specified or limited, the terms "disposed," "mounted," "connected," "connected," and "in series" should be interpreted broadly, meaning, for example, fixed, removable, or integral; mechanically or electrically; directly or indirectly through an intermediary; or internally between two components. Those skilled in the art will understand the specific meanings of these terms in this application on a case-by-case basis.

[0024] The display method provided in the embodiments of the present application can be used on an ink screen, especially on an electronic device equipped with an ink screen. The electronic device can be an electronic device based on an ink screen, such as a tablet computer, a mobile phone, an e-reader, a personal digital assistant (PDA), etc. Specifically, the electronic device may include an ink screen, a communication module, a digital signal processor, an image processing module, a microcontroller, a screen driver module, a timing control circuit, and a power control circuit.

[0025] The following is a detailed description of the various embodiments of the present application.

[0026] Figure 1 This is a flowchart of the ink screen display method provided in the present application. The ink screen display method provided in the embodiment of the present application can be executed by a display device, which can be implemented by hardware and / or software and integrated into the ink screen.

[0027] The following description is made by taking the method of displaying an ink screen on a display device as an example. Figure 1 , a method for displaying an ink screen, the method comprising: Step S10: Compare the current display image and the image to be displayed to obtain changed pixels in the image to be displayed, where the changed pixels are pixels that are displayed on the same pixel point of the image to be displayed and the current display image and have different color values.

[0028] The image information of the ink screen display is actually an array composed of multiple pixels. The way to compare the current display screen and the screen to be displayed is to compare the image information of the screen to be displayed with the image information of the current display screen one by one. Specifically, in the embodiment of the present application, the color values ​​of the screen to be displayed and the current display screen at the same pixel point of the ink screen are compared one by one. The color value of the pixel in the screen to be displayed may correspond to the same color value of the pixel in the current display screen, or may correspond to a different color value of the pixel in the current display screen. In the present application, the changed pixel is a pixel with different color values ​​displayed on the same pixel point of the ink screen as the screen to be displayed and the current display screen.

[0029] Step S20: Determine whether the area corresponding to the changed pixels includes a cursor feature area.

[0030] Specifically, the area corresponding to the changed pixel may include only one area, or may include multiple areas, and then determine whether the above area includes the cursor feature area. Because there are many types of cursors, each type of cursor corresponds to a cursor feature area. In this embodiment, if the area corresponding to the changed pixel includes the cursor feature area of ​​any type of cursor, then it is determined that the area corresponding to the changed pixel includes the cursor feature area; otherwise, the area corresponding to the changed pixel does not include the cursor feature area. In another embodiment of the present application, it is also possible to only target a certain type of cursor. If the area corresponding to the changed pixel includes the cursor feature area of ​​a certain type of cursor, then it is determined that the area corresponding to the changed pixel includes the cursor feature area; otherwise, the area corresponding to the changed pixel does not include the cursor feature area.

[0031] Step S30: If the area corresponding to the changed pixel includes a cursor feature area, a cursor pixel set of the cursor feature area is obtained from the changed pixel. When refreshing the current display screen, the ink screen is driven to refresh and display the cursor pixel set according to the first refresh mode.

[0032] That is, when the area corresponding to the changing pixel includes the cursor feature area, the cursor pixel set of the cursor feature area is obtained from the changing pixel, and when refreshing the current display screen, the ink screen is driven to refresh and display the cursor pixel set according to the first refresh mode. When the area corresponding to the changing pixel does not include the cursor feature area, the current display screen and the screen to be displayed are refreshed and displayed in sequence according to the existing refresh method. Therefore, when the area corresponding to the changing pixel includes the cursor feature area, the present application refreshes the cursor feature area of ​​the screen to be displayed in advance within the refresh cycle of the current display screen, thereby avoiding the situation where the cursor display is delayed due to the cursor moving too fast, thereby improving the display effect and user experience of the ink screen.

[0033] Furthermore, in one embodiment of the present application, the first refresh mode and the current refresh mode of the currently displayed screen are different refresh modes, and the refresh time of one frame of the first refresh mode is less than the refresh time of one frame of the current refresh mode of the currently displayed screen. Since the refresh time of one frame of the first refresh mode is shorter, the cursor feature area can be displayed faster, further improving the display speed of the cursor. Among them, as the priority mode of the present application, the first refresh mode is the A2 refresh mode, and the current refresh mode is a refresh mode other than the A2 refresh mode. However, it is easy to imagine that the first refresh mode can also be other existing refresh modes.

[0034] In addition, in another embodiment of the present application, the first refresh mode and the current refresh mode of the currently displayed image are the same refresh mode. For example, the first refresh mode and the current refresh mode of the currently displayed image are both A2 refresh mode or other existing refresh modes.

[0035] Please refer to Figure 2 , Figure 2 This is a flow chart of the embodiment 1 of step S30 of the ink screen display method provided by this application. Figure 1 Based on the provided display method, in one embodiment of the present application, when refreshing the current display screen, the step of driving the ink screen to refresh and display the cursor pixel set according to the first refresh mode includes: Step S31, obtaining a first driving waveform of the cursor pixel set according to a first refresh mode; Step S32: determining whether the pixels refreshed and displayed on the current display screen coincide with the cursor pixel set; Step S33: If no, when refreshing the current display screen, using the first driving waveform to drive the ink screen to refresh and display the cursor pixel set; Step S34: If yes, obtain the overlapping pixel area in the current display screen that overlaps with the cursor pixel set, interrupt the execution of the driving waveform of the overlapping pixel area of ​​the current display screen, and when refreshing the current display screen, use the first driving waveform to drive the ink screen to refresh and display the cursor pixel set.

[0036] Since the e-ink display can refresh pixels concurrently, when the pixels refreshed on the current display do not overlap with the cursor pixel set, the cursor pixel set and the current display can be refreshed and displayed simultaneously. Specifically, when refreshing the current display, the first driving waveform is used to drive the e-ink display to refresh and display the cursor pixel set.

[0037] When the pixels being refreshed on the current display coincide with the cursor pixel set, to ensure that the cursor pixel set is displayed in advance without delay, the overlapping pixel region in the current display that overlaps with the cursor pixel set is obtained, and the driving waveform for the overlapping pixel region of the current display is interrupted. Then, when refreshing the current display, the first driving waveform is used to drive the e-ink display to refresh and display the cursor pixel set. At this point, all other regions of the current display, except the overlapping pixel region, are refreshed and displayed normally.

[0038] To summarize, the present application compares whether the pixels refreshed and displayed on the current display screen overlap with the cursor pixel set. When the pixels refreshed and displayed on the current display screen overlap with the cursor pixel set, the driving waveform of the overlapping pixel area of ​​the current display screen is interrupted, thereby ensuring that the cursor pixel set can be displayed when the current display screen is refreshed.

[0039] Further, in Figure 1 Based on the provided display method, in one embodiment of the present application, when refreshing the current display screen, the step of using the first driving waveform to drive the ink screen to refresh and display the cursor pixel set includes: Step S35: When refreshing the current display screen, obtain the current cursor area pixels in the current display screen, interrupt the execution of the driving waveform of the current cursor area pixels in the current display screen, and use the first driving waveform to drive the ink screen to refresh and display the cursor pixel set.

[0040] Since the current cursor area pixels of the current display screen will be displayed simultaneously when refreshing the current display screen, in order to avoid two cursors appearing on the display screen, in an embodiment of the present application, when refreshing the current display screen, the current cursor area pixels in the current display screen are obtained, and then the driving waveform of the current cursor area pixels of the current display screen is interrupted, and then the first driving waveform is used to drive the ink screen to refresh and display the cursor pixel set.

[0041] Please refer to Figure 3 , Figure 3 This is a flow chart of the second embodiment of the ink screen display method of step S30 provided in this application. Figure 1 Based on the provided display method, in one embodiment of the present application, a cursor pixel set of the cursor feature area is obtained from the changed pixels, and when refreshing the current display screen, the step of driving the ink screen to refresh and display the cursor pixel set according to the first refresh mode includes: Step S36: obtaining the moving speed of the cursor; Step S37: determining whether the moving speed is greater than a preset speed; Step S38: If yes, obtain the cursor pixel set of the cursor feature area from the changed pixels, and when refreshing the current display screen, drive the ink screen to refresh and display the cursor pixel set according to the first refresh mode.

[0042] On an electronic device with an ink screen, when the cursor is moved at a faster speed, the cursor will be displayed delayed on the ink screen. When the cursor movement speed is greater than a certain speed, the cursor display on the ink screen will be severely delayed or may not be displayed normally. The cursor display can only keep up with the cursor position update speed after the cursor stops or the cursor movement speed is reduced. Therefore, in one embodiment of the present application, the technical solution of the present application is adopted only when the movement speed is greater than the preset speed, that is, when refreshing the current display screen, the ink screen is driven to refresh and display the cursor pixel set according to the first refresh mode. When the movement speed moves at a lower speed or the movement speed is less than or equal to the preset speed, it means that the cursor moves slowly. At this time, the cursor can be displayed normally on the ink screen or there may be some display delays, but the display effect can be achieved and meet user needs. At this time, there is no need to refresh the cursor pixel set in advance.

[0043] Please refer to Figure 4 , Figure 4 This is a flowchart of step S36 of the ink screen display method provided by this application. Figure 3Based on the provided display method, in one embodiment of the present application, the step of obtaining the movement speed of the cursor includes: Step S361: Acquire first coordinate information of the cursor on the current display screen and second coordinate information of the cursor on the screen to be displayed; Step S362: Obtain the movement displacement of the cursor according to the first coordinate information and the second coordinate information; Step S363: obtaining a first time when the data of the currently displayed image is updated and a second time when the data of the to-be-displayed image is updated; Step S364: obtaining the time difference between the first time and the second time; Step S365: Obtain the moving speed of the cursor according to the moving displacement and the time difference.

[0044] Among them, obtaining the first coordinate information of the cursor on the currently displayed screen is to obtain the first coordinate information of the current cursor area in the currently displayed screen. Obtaining the second coordinate information of the cursor on the screen to be displayed is to obtain the second coordinate information of the cursor pixel set on the screen to be displayed. Then, the movement displacement of the cursor is obtained based on the first coordinate information and the second coordinate information, and then the first time of data update of the currently displayed screen and the second time of data update of the screen to be displayed are obtained, wherein the first time is also the time when the cursor is at the corresponding position of the currently displayed screen, and the second time is also the time when the cursor is at the corresponding position of the screen to be displayed. Finally, the time difference between the first time and the second time is obtained, and then the movement speed of the cursor can be obtained based on the movement displacement and the time difference, that is, the movement speed is obtained by dividing the movement displacement by the time difference.

[0045] Please refer to Figure 5 , Figure 5 This is a flowchart of step S20 of the ink screen display method provided by this application. Figure 1 Based on the provided display method, in one embodiment of the present application, the step of determining whether the area corresponding to the changed pixel includes a cursor feature area includes: Step S21, dividing the changed pixels into at least one changed region; Step S22: matching the features of the changed area with the preset features of the cursor; Step S23: When the feature matching satisfies a preset condition, the changed region is the cursor feature region, and it is determined that the region corresponding to the changed pixels includes the cursor feature region; Step S24: When the feature matching does not meet the preset conditions, the changed area is not the cursor feature area, and it is determined that the area corresponding to the changed pixels does not include the cursor feature area.

[0046] The changed pixels are segmented into at least one changed region. In one embodiment of the present application, the segmentation of the changed pixels into at least one changed region can be performed using a minimum bounding rectangle algorithm or a clustering algorithm. It is readily apparent that other algorithms can also be used to segment the changed pixels into at least one changed region. The features of the changed region are then matched against preset cursor features. When the feature match satisfies a preset condition, the changed region is considered the cursor feature region, and the region corresponding to the changed pixels is determined to include the cursor feature region. The preset cursor feature can be one or multiple, as there are many types of cursors, each corresponding to a preset cursor feature. When there is one preset cursor feature, the features of the changed region are matched against the preset cursor feature. If the feature match satisfies a preset condition, the changed region is considered the cursor feature region, and the region corresponding to the changed pixels is determined to include the cursor feature region. When there are multiple preset cursor features, the features of the changed region are matched against the multiple preset cursor features. If the feature match with any one of the preset cursor features satisfies a preset condition, the changed region is considered the cursor feature region, and the region corresponding to the changed pixels is determined to include the cursor feature region. The preset condition can be set based on actual circumstances.

[0047] On the contrary, when the feature matching does not meet the preset conditions, the changed area is not the cursor feature area, and it is determined that the area corresponding to the changed pixels does not include the cursor feature area.

[0048] Further, in Figure 5 On the basis of the provided display method, in one embodiment of the present application, the feature of the changing area is the shape outline of the changing area, and the preset feature of the cursor is the shape outline of the cursor. When the similarity between the shape outline of the changing area and the shape outline of the cursor is greater than or equal to 90%, the changing area is the cursor feature area, and it is determined that the area corresponding to the changing pixel includes the cursor feature area; when the similarity between the shape outline of the changing area and the shape outline of the cursor is less than 90%, the changing area is not the cursor feature area, and it is determined that the area corresponding to the changing pixel does not include the cursor feature area. As can be seen from the above, in this embodiment, the preset condition is that the similarity between the shape outline of the changing area and the shape outline of the cursor is greater than or equal to 90%.

[0049] Further, in Figure 5On the basis of the provided display method, in one embodiment of the present application, the characteristic of the changing region is the area of ​​the changing region, and the preset characteristic of the cursor is the cursor area. When the ratio of the area of ​​the changing region to the cursor area is greater than or equal to ninety percent and less than or equal to one hundred percent, the changing region is the cursor characteristic region, and it is determined that the region corresponding to the changing pixel includes the cursor characteristic region; when the ratio of the area of ​​the changing region to the cursor area is less than ninety percent or greater than one hundred percent, the changing region is not the cursor characteristic region, and it is determined that the region corresponding to the changing pixel does not include the cursor characteristic region. As can be seen from the above, in this embodiment, the preset condition is that the ratio of the area of ​​the changing region to the cursor area is greater than or equal to ninety percent and less than or equal to one hundred percent.

[0050] Further, please refer to Figure 6 , Figure 6 This is a flow chart of step S30 of the third embodiment of the ink screen display method provided by this application. Figure 1 Based on the provided display method, in one embodiment of the present application, the step of obtaining a cursor pixel set of the cursor feature area from the changed pixels, and driving the ink screen to refresh and display the cursor pixel set according to a first refresh mode when refreshing the current display screen includes: Step S3A, obtaining the movement displacement of the cursor between the to-be-displayed image and the currently displayed image; Step S3B, determining whether the movement displacement is greater than a first threshold and less than a second threshold; Step S3C: If yes, obtain the cursor pixel set of the cursor feature area from the changed pixels, and when refreshing the current display screen, drive the ink screen to refresh and display the cursor pixel set according to the first refresh mode.

[0051] Since the cursor moves relatively large between the screen to be displayed and the currently displayed screen when the cursor moves quickly, in order to more accurately identify the movement status of the cursor, in an embodiment of the present application, the movement displacement of the cursor between the screen to be displayed and the currently displayed screen is limited to be greater than a first threshold and less than a second threshold. Because when the movement displacement is less than or equal to the first threshold, it means that the cursor moves slowly. At this time, the cursor can be displayed normally on the ink screen or some display delay may occur, but the display effect can be achieved and user needs can be met. At this time, there is no need to refresh the cursor pixel set in advance.

[0052] When the moving displacement is greater than the first threshold and less than the second threshold, it means that the cursor moves faster, and the cursor may be displayed with severe delay or even cannot be displayed normally on the ink screen. The cursor pixel set of the cursor feature area is obtained from the changed pixels. When refreshing the current display screen, the ink screen is driven to refresh and display the cursor pixel set according to the first refresh mode, thereby avoiding the situation where the cursor display delay is caused by the cursor moving too fast, thereby improving the display effect and user experience of the ink screen.

[0053] Furthermore, in an embodiment of the present application, the first threshold is a width value of 10 pixels, and the second threshold is a width value of 50 pixels. It is easy to imagine that the specific values ​​of the first threshold and the second threshold can be flexibly set according to actual conditions.

[0054] The movement displacement of the cursor between the image to be displayed and the currently displayed image can be obtained in the following manner: first coordinate information of the cursor on the currently displayed image is obtained, that is, the first coordinate information of the current cursor area in the currently displayed image is obtained. Second coordinate information of the cursor on the image to be displayed is obtained, that is, the second coordinate information of the cursor pixel set on the image to be displayed is obtained. The movement displacement of the cursor is then obtained based on the first coordinate information and the second coordinate information.

[0055] Figure 7 This is a schematic diagram of the structure of the ink screen display device provided by this application. Figure 7 The display device includes: a first comparison module 10, a judgment module 20 and a driving module 30.

[0056] The comparison module 10 is used to compare the current display image with the image to be displayed, and obtain changed pixels in the image to be displayed, wherein the changed pixels are pixels of the image to be displayed and the current display image displayed on the same pixel point on the ink screen and having different color values; The judging module 20 is used to judge whether the area corresponding to the changed pixel includes a cursor feature area; If the area corresponding to the changed pixel includes a cursor feature area, the driving module 30 obtains a cursor pixel set of the cursor feature area from the changed pixel, and when refreshing the current display screen, drives the ink screen to refresh and display the cursor pixel set according to the first refresh mode.

[0057] That is, when the area corresponding to the changing pixel includes the cursor feature area, the cursor pixel set of the cursor feature area is obtained from the changing pixel, and when refreshing the current display screen, the ink screen is driven to refresh and display the cursor pixel set according to the first refresh mode. When the area corresponding to the changing pixel does not include the cursor feature area, the current display screen and the screen to be displayed are refreshed and displayed in sequence according to the existing refresh method. Therefore, when the area corresponding to the changing pixel includes the cursor feature area, the present application refreshes the cursor feature area of ​​the screen to be displayed in advance within the refresh cycle of the current display screen, thereby avoiding the situation where the cursor display is delayed due to the cursor moving too fast, thereby improving the display effect and user experience of the ink screen.

[0058] The display device of the ink screen provided in the embodiment of the present application is included in the ink screen and can be used to execute any display method provided in the above embodiments, and has corresponding functions and beneficial effects.

[0059] It is worth noting that in the embodiment of the above-mentioned ink screen display device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application.

[0060] Figure 8 A schematic diagram of the structure of the electronic device provided in this application, such as Figure 8 As shown, the electronic device includes one or more processors; a memory for storing one or more programs; when the one or more programs are executed by the one or more processors, the electronic device implements the ink screen display method as described above, Figure 8 A processor 201 is taken as an example.

[0061] The memory 202 is a computer-readable storage medium that can be used to store software programs, computer executable programs and modules. The processor 201 executes various functional applications and data processing of the electronic device by running the software programs, instructions and modules stored in the memory 202, thereby realizing the above-mentioned display method.

[0062] The memory 202 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created based on the use of the electronic device, etc. In addition, the memory 202 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 202 may further include a memory remotely located relative to the processor 201, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0063] The electronic device mentioned above includes a handwriting input device, which can be used to execute any of the above display methods and has corresponding functions and beneficial effects.

[0064] The present application also provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform the display method. The computer program, when executed by the processor, can also implement the relevant operations of the display method provided in any embodiment of the present application, and have the corresponding functions and beneficial effects.

[0065] Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems, or computer program products.

[0066] Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the functions described in the process. Figure 1 a process or multiple processes and / or boxes Figure 1These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including the instruction device, which implements the function specified in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0067] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory. Memory may include non-permanent storage in a computer-readable medium, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.

[0068] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can be implemented using any method or technology for information storage. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change RAM (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media, such as modulated data signals and carrier waves.

[0069] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.

[0070] Note that the above are only preferred embodiments of the present application and the technical principles employed. Those skilled in the art will understand that the present application is not limited to the specific embodiments herein, and that various obvious changes, readjustments, and substitutions can be made by those skilled in the art without departing from the scope of protection of the present application. Therefore, although the present application has been described in more detail through the above embodiments, the present application is not limited to the above embodiments and may include many other equivalent embodiments without departing from the scope of the present application. The scope of the present application is determined by the scope of the appended claims.

Claims

1. A method for displaying an ink screen, characterized in that: include: Comparing the currently displayed image with the image to be displayed, and obtaining changed pixels in the image to be displayed, wherein the changed pixels are pixels displayed on the same pixel point on the ink screen as the image to be displayed and the currently displayed image and having different color values; Determining whether the area corresponding to the changed pixel includes a cursor feature area; If the area corresponding to the changed pixel includes a cursor feature area, a cursor pixel set of the cursor feature area is obtained from the changed pixel. When refreshing the current display screen, the ink screen is driven to refresh and display the cursor pixel set according to the first refresh mode.

2. The display method according to claim 1, wherein: The step of driving the ink screen to refresh and display the cursor pixel set according to the first refresh mode when refreshing the current display screen includes: acquiring a first driving waveform of the cursor pixel set according to a first refresh mode; Determining whether the pixels refreshed and displayed on the current display screen coincide with the cursor pixel set; If not, when refreshing the current display screen, using the first driving waveform to drive the ink screen to refresh and display the cursor pixel set; If so, obtain the overlapping pixel area in the current display screen that overlaps with the cursor pixel set, interrupt the execution of the driving waveform of the overlapping pixel area of ​​the current display screen, and when refreshing the current display screen, use the first driving waveform to drive the ink screen to refresh and display the cursor pixel set.

3. The display method according to claim 2, wherein: The step of using the first driving waveform to drive the ink screen to refresh and display the cursor pixel set when refreshing the current display screen includes: When refreshing the current display screen, the current cursor area pixels in the current display screen are obtained, the driving waveform of the current cursor area pixels in the current display screen is interrupted, and the first driving waveform is used to drive the ink screen to refresh and display the cursor pixel set.

4. The display method according to claim 1, wherein: The step of obtaining a cursor pixel set of the cursor feature area from the changed pixels, and driving the ink screen to refresh and display the cursor pixel set according to the first refresh mode when refreshing the current display screen, includes: Obtaining the moving speed of the cursor; Determining whether the moving speed is greater than a preset speed; If so, a cursor pixel set of the cursor feature area is obtained from the changed pixels, and when refreshing the current display screen, the ink screen is driven according to the first refresh mode to refresh and display the cursor pixel set.

5. The display method according to claim 4, wherein: The step of obtaining the moving speed of the cursor comprises: Acquire first coordinate information of the cursor on the currently displayed screen and second coordinate information of the cursor on the screen to be displayed; Obtaining a movement displacement of the cursor according to the first coordinate information and the second coordinate information; Obtaining a first time when data of the currently displayed picture is updated and a second time when data of the to-be-displayed picture is updated; Get the time difference between the first time and the second time; The moving speed of the cursor is obtained according to the moving displacement and the time difference.

6. The display method according to claim 1, wherein: The step of determining whether the area corresponding to the changed pixels includes a cursor feature area includes: dividing the changed pixels into at least one changed region; Perform feature matching on the features of the changed area and preset features of the cursor; When the feature matching satisfies a preset condition, the changed area is the cursor feature area, and it is determined that the area corresponding to the changed pixels includes the cursor feature area; When the feature matching does not meet the preset conditions, the changed area is not the cursor feature area, and it is determined that the area corresponding to the changed pixels does not include the cursor feature area.

7. The display method according to claim 6, wherein: The characteristic of the changing area is the shape outline of the changing area, and the preset feature of the cursor is the cursor shape outline. When the similarity between the shape outline of the changing area and the cursor shape outline is greater than or equal to ninety percent, the changing area is the cursor feature area, and it is determined that the area corresponding to the changing pixel includes the cursor feature area; when the similarity between the shape outline of the changing area and the cursor shape outline is less than ninety percent, the changing area is not the cursor feature area, and it is determined that the area corresponding to the changing pixel does not include the cursor feature area.

8. The display method according to claim 6, wherein: The characteristic of the changing region is the area of ​​the changing region, and the preset characteristic of the cursor is the cursor area. When the ratio of the area of ​​the changing region to the cursor area is greater than or equal to ninety percent and less than or equal to one hundred percent, the changing region is the cursor characteristic region, and it is determined that the region corresponding to the changing pixel includes the cursor characteristic region; when the ratio of the area of ​​the changing region to the cursor area is less than ninety percent or greater than one hundred percent, the changing region is not the cursor characteristic region, and it is determined that the region corresponding to the changing pixel does not include the cursor characteristic region.

9. The display method according to claim 1, wherein: The step of obtaining a cursor pixel set of the cursor feature area from the changed pixels, and driving the ink screen to refresh and display the cursor pixel set according to the first refresh mode when refreshing the current display screen, includes: Obtaining a movement displacement of the cursor between the to-be-displayed image and the currently displayed image; Determining whether the movement displacement is greater than a first threshold and less than a second threshold; If so, a cursor pixel set of the cursor feature area is obtained from the changed pixels, and when refreshing the current display screen, the ink screen is driven according to the first refresh mode to refresh and display the cursor pixel set.

10. The display method according to claim 1, wherein: The refresh time of one frame of the first refresh mode is shorter than the refresh time of one frame of the current refresh mode of the currently displayed image.

11. The display method according to claim 10, wherein: The first refresh mode is the A2 refresh mode, and the current refresh mode is a refresh mode other than the A2 refresh mode.

12. The display method according to claim 1, wherein: The first refresh mode and the current refresh mode of the currently displayed picture are the same refresh mode.

13. An ink screen display device, characterized in that: include: a comparison module, configured to compare a currently displayed image with an image to be displayed, and obtain changed pixels in the image to be displayed, wherein the changed pixels are pixels of the image to be displayed and the currently displayed image displayed on the same pixel point on the e-ink screen and having different color values; A judgment module, configured to judge whether the area corresponding to the changed pixels includes a cursor feature area; The driving module obtains a cursor pixel set of the cursor feature area from the changing pixel if the area corresponding to the changing pixel includes a cursor feature area, and drives the ink screen to refresh and display the cursor pixel set according to the first refresh mode when refreshing the current display screen.

14. An electronic device, characterized in that: include: one or more processors; a memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the electronic device implements the display method according to any one of claims 1 to 12.

15. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the display method according to any one of claims 1 to 12 is implemented.