Refreshing method and device of electronic paper screen, equipment and medium
By detecting and eliminating operations to be eliminated during the refresh process of the electronic paper screen, the execution sequence of refresh instructions is optimized, which solves the problems of high power consumption and long time consumption when the electronic paper screen is refreshed multiple times, and improves the refresh speed and efficiency.
Patent Information
- Application Number
- CN202410903960.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-09-10
AI Technical Summary
Existing e-paper screens consume high power and take a long time to refresh multiple times, and cannot effectively increase the refresh speed.
By obtaining the alternative operations corresponding to the refresh instructions executed during multiple refresh processes, detect the operations to be eliminated that can be deleted from the alternative operations corresponding to each refresh instruction, and execute the deleted alternative operations to optimize the execution order of the refresh instructions. to reduce the operations required to refresh.
The power consumption and time consuming of refreshing are reduced, the refresh speed is improved, and the number of operations is reduced, thereby solving the problems of high power consumption and long time consuming during multiple refreshes in the existing technology.
Smart Images

Figure CN118629359A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electronic price tag display, and in particular to a method, device, equipment and medium for refreshing an electronic paper screen. Background Art
[0002] An electronic paper screen is a display screen made using electrophoretic display technology. The control circuit applies voltage to each pixel to drive the movement of colored electrophoretic particles in the electronic paper film to achieve the effect of displaying images. As a reflective display screen, the electronic paper screen can maintain the image for a long time after it is updated without continuous refreshing, so the power consumption is very low.
[0003] Normally, an e-paper screen will only refresh one image at a time, and will enter a sleep state after completing one image refresh. However, for some special application requirements, the e-paper screen may refresh the image more than once in a row. Currently, by repeating the image refresh process once, the e-paper screen can refresh the image more than once in a row, but this method has problems such as long refresh time and high refresh power consumption. Summary of the invention
[0004] The present invention provides a method, device, equipment and medium for refreshing an electronic paper screen to improve the driving experience of a user.
[0005] In a first aspect, the present invention provides a method for refreshing an electronic paper screen, comprising:
[0006] Get the refresh instruction of the electronic paper screen;
[0007] When the number of the refresh instructions is at least two, obtaining alternative operations corresponding to each of the refresh instructions, the refresh instructions correspond to at least one alternative operation, and different refresh instructions are executed asynchronously;
[0008] Obtaining operations to be eliminated from the candidate operations corresponding to each of the refresh instructions; the operations to be eliminated include standard process operations or operations for processing the same data;
[0009] Eliminating corresponding operations to be eliminated from the candidate operations corresponding to the refresh instructions according to the instruction execution order of the refresh instructions, so as to obtain the candidate operations corresponding to the updated refresh instructions;
[0010] According to the instruction execution sequence, the alternative operations corresponding to the at least two updated refresh instructions are executed to achieve refreshing of the electronic paper screen.
[0011] In a second aspect, the present invention further provides a refreshing device for an electronic paper screen, comprising:
[0012] A refresh instruction acquisition module, used to acquire a refresh instruction of the electronic paper screen;
[0013] An alternative operation acquisition module, used for acquiring the alternative operation corresponding to each refresh instruction when the number of the refresh instructions is at least two, the refresh instruction corresponds to at least one alternative operation, and different refresh instructions are executed asynchronously;
[0014] A detection module for operations to be eliminated, used for obtaining operations to be eliminated from the candidate operations corresponding to each refresh instruction; the operations to be eliminated include standard process operations or operations for processing the same data;
[0015] An alternative operation updating module, used to eliminate corresponding operations to be eliminated from the alternative operations corresponding to each refresh instruction according to the instruction execution order of each refresh instruction, so as to obtain the alternative operations corresponding to the updated refresh instruction;
[0016] The instruction execution module is used to execute the alternative operations corresponding to the at least two updated refresh instructions according to the instruction execution sequence to achieve refreshing of the electronic paper screen.
[0017] In a third aspect, an embodiment of the present invention further provides an electronic device, including:
[0018] at least one processor; and
[0019] a memory communicatively coupled to at least one processor; wherein
[0020] The memory stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor so that the at least one processor can execute the refresh method of the electronic paper screen provided by any embodiment of the present invention.
[0021] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for refreshing an electronic paper screen of any embodiment of the present invention when executed.
[0022] The embodiment of the present invention obtains alternative operations corresponding to refresh instructions executed during multiple refresh processes when the electronic paper screen is refreshed multiple times, detects operations to be deleted from the alternative operations corresponding to each refresh instruction, and executes the deleted alternative operations, thereby reducing the operations required for refreshing during the refresh process of the electronic paper screen, solving the problem of high power consumption and long time consumption of multiple refreshes in the prior art, reducing refresh time consumption, and improving refresh speed. At the same time, reducing operations can also reduce refresh power consumption.
[0023] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0025] Figure 1 is a flow chart of a method for refreshing an electronic paper screen provided according to Embodiment 1 of the present invention;
[0026] Figure 2 It is a flow chart of a one-time image refresh in the prior art;
[0027] Figure 3 It is a flow chart of two consecutive image refreshes in the prior art;
[0028] Figure 4 It is a flow chart of N consecutive image refreshes in the prior art;
[0029] Figure 5 is a flow chart of a method for refreshing an electronic paper screen provided according to a second embodiment of the present invention;
[0030] Figure 6 is a flow chart of two consecutive image refreshes provided according to the second embodiment of the present invention;
[0031] Figure 7 is a flowchart of N consecutive image refreshes provided according to Embodiment 2 of the present invention;
[0032] Figure 8 is a flow chart of two consecutive image refreshes provided according to the second embodiment of the present invention;
[0033] Fig. 9 is a flowchart of N consecutive image refreshes provided according to Embodiment 2 of the present invention;
[0034] Fig.10 is a flow chart of a method for refreshing an electronic paper screen provided according to Embodiment 3 of the present invention;
[0035] Fig.11 is a flowchart of two consecutive image refreshes provided according to Embodiment 3 of the present invention;
[0036] Fig.12 is a flowchart of a continuous N-times image refresh provided according to Embodiment 3 of the present invention;
[0037] Fig.13is a flowchart of two consecutive image refreshes provided according to Embodiment 3 of the present invention;
[0038] Fig.14 is a flowchart of a continuous N-times image refresh provided according to Embodiment 3 of the present invention;
[0039] Fig.15 is a flowchart of two consecutive image refreshes provided according to Embodiment 3 of the present invention;
[0040] Fig.16 is a flowchart of a continuous N-times image refresh provided according to Embodiment 3 of the present invention;
[0041] Fig.17 is a structural schematic diagram of a refreshing device for an electronic paper screen provided according to a fourth embodiment of the present invention;
[0042] Fig.18 It is a structural schematic diagram of an electronic device for implementing the refreshing method of the electronic paper screen according to an embodiment of the present invention. DETAILED DESCRIPTION
[0043] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0044] It should be noted that the terms "first" and "second" and the like in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0045] In the technical solution of the embodiment of the present invention, the acquisition, storage and application of the vehicle parameters involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0046] Embodiment 1
[0047] Figure 1A flow chart of a method for refreshing an electronic paper screen provided in Embodiment 1 of the present invention. This embodiment can be applied to situations where the operations required for refreshing are reduced during continuous refreshing of an electronic paper screen. The method can be executed by a refreshing device for an electronic paper screen. The refreshing device for an electronic paper screen can be implemented in the form of hardware and / or software and is specifically configured in an electronic device, and is specifically executed by a driver integrated circuit of the electronic device.
[0048] See also Figure 1 The refresh method of the electronic paper screen shown includes:
[0049] S101, obtaining a refresh instruction of the electronic paper screen.
[0050] An electronic paper screen is a display screen made using electrophoretic display technology. The driver integrated circuit (IC) applies a driving voltage to each pixel through a control circuit on a thin film transistor (TFT) substrate, thereby driving the movement of colored particles in the electronic paper film to achieve the effect of displaying images.
[0051] The refresh command is used to refresh the electronic paper screen. Electronic paper screen refresh can be understood as electronic paper screen color display. Executing a refresh command specifically means refreshing the corresponding color area of the electronic paper screen to the color type corresponding to the color area according to the target image. The color area can refer to an area with pixels of the same color. The color type is used to distinguish different colors.
[0052] S102: When the number of the refresh instructions is at least two, obtain alternative operations corresponding to each of the refresh instructions, wherein the refresh instruction corresponds to at least one alternative operation, and different refresh instructions are executed asynchronously.
[0053] In fact, a refresh process corresponding to a refresh instruction needs to execute multiple operations. The operations required to execute a refresh process are alternative operations, that is, the operations required to execute a refresh instruction are alternative operations. Different refresh instructions need to execute the same type of alternative operations. Asynchronous execution means not executing at the same time. A refresh instruction represents a refresh process, and a refresh process will not execute two refresh instructions at the same time.
[0054] Exemplarily, the types of alternative operations corresponding to the refresh instruction include: reset operation, initialization code sending operation, drive waveform lookup table loading operation, image data writing operation, power-on operation, electronic paper screen refresh operation, power-off operation and sleep operation, etc. Among them, the reset operation Reset refers to resetting the driver IC of the electronic paper screen; the initialization code sending operation Send Initialization code refers to initializing the driver IC of the electronic paper screen; the drive waveform lookup table loading operation Loading Waveform Look Up Table refers to loading the drive waveform lookup table, and the driver IC of the electronic paper screen loads the drive waveform lookup table; the image data writing operation Write Image Data or DTM (Data Transmission, image data transmission) refers to writing image data, writing image data to the driver IC of the electronic paper screen; the power-on operation Power on refers to powering on the TFT array substrate of the electronic paper screen; the electronic paper screen refresh operation Displayrefresh refers to image refresh of the electronic paper screen; the power-off operation Power off refers to powering off the TFT array substrate of the electronic paper screen; the sleep operation Deep sleep refers to the driver IC of the electronic paper screen entering a sleep state.
[0055] In the existing method, the execution process of multiple alternative operations corresponding to a refresh instruction is as follows: Figure 2 As shown; the execution process of multiple alternative operations corresponding to the two refresh instructions is as follows Figure 3 As shown, the two refresh processes include the first image refresh and the second image refresh. Both the first image refresh and the second image refresh include all the alternative operations in the first image refresh process. The complete process of the two image refreshes is repeated to achieve two consecutive image refreshes. The execution process of multiple alternative operations corresponding to multiple refresh instructions is as shown in FIG. Figure 4 As shown, the process of N image refreshes includes the 1st image refresh, the 2nd image refresh, ... and the Nth image refresh, a total of N processes. The 1st image refresh, the 2nd image refresh, ... and the Nth image refresh all include all the alternative operations in 1 image refresh. The complete process of N image refreshes is repeated to achieve N consecutive image refreshes.
[0056] In fact, in the process of executing the refresh instruction, in addition to executing the above-mentioned alternative operations, it is also necessary to execute the first power-on operation of the electronic paper screen Supply Power or VDD (operating voltage) on, and the busy status check operation Check Busy that persists during the screen refresh process. Among them, the first power-on operation of the electronic paper screen only needs to be executed once, usually when leaving the factory, and is rarely executed again during the subsequent refresh process of the electronic paper screen. The busy status check operation is an operation that must be performed after each of the above-mentioned alternative operations is completed, and it cannot be omitted. Accordingly, the alternative operation is actually an operation that can be eliminated from the operations that need to be performed by the refresh instruction.
[0057] When the number of refresh instructions is one, all the alternative operations corresponding to the refresh instruction need to be executed. At this time, there is no operation to be eliminated, and the refresh instruction is directly executed. When the number of refresh instructions is at least two, it is determined whether there is an operation to be eliminated. If there is an operation to be eliminated, the operation to be eliminated corresponding to the refresh instruction is deleted and the operation to be eliminated is not executed; if there is no operation to be eliminated, the alternative operations corresponding to each refresh instruction are executed in sequence according to the execution order between the refresh instructions.
[0058] Among the multiple refresh instructions, different refresh instructions may correspond to the same image or different images. Exemplarily, when a multi-color image is used to refresh the electronic paper screen, due to the bit limit of the driver integrated circuit, the number of color types refreshed at one time has an upper limit, and the upper limit of the color type can be exceeded by multiple continuous refreshes. At this time, different refresh instructions may correspond to the same image; for example, it is necessary to display multiple different images continuously, for example, in the scenario of testing the electronic paper screen, different images are displayed by multiple continuous refreshes to detect the color display function of the electronic paper screen, wherein some of the different images only need to refresh the electronic paper screen once, and some images need to refresh the electronic paper screen multiple times. At this time, some of the different refresh instructions correspond to different images, and some refresh instructions correspond to the same image; for example, the electronic paper screen needs to present a dynamic playback effect, such as flickering, and at least two images are displayed by multiple continuous refreshes, so that the electronic paper screen dynamically plays and displays these images. At this time, different refresh instructions may correspond to the same image or different images, wherein there are at least two different images among the multiple images, and the same image may exist among the multiple images.
[0059] In addition, if the time interval between two refresh instructions is too long and the standby state is maintained, redundant power consumption will also be caused. Therefore, it can be specifically limited that at least two refresh instructions are executed continuously, that is, the refresh method of the electronic paper screen provided by the embodiment of the present invention is specifically applied in the scenario of multiple continuous refreshes. Specifically, when the execution interval between the two refresh instructions is less than or equal to the preset time threshold, it is determined that the two refresh instructions are executed continuously.
[0060] S103, obtaining operations to be eliminated from the candidate operations corresponding to each of the refresh instructions; the operations to be eliminated include standard process operations or operations for processing the same data.
[0061] The operation to be eliminated may refer to an alternative operation that can be omitted, and the operation to be eliminated will not affect the color rendering function of the electronic paper screen. The standard process operation may refer to an operation of a process nature that is not related to processing data. The same data processing operation may refer to the same data processing operation, wherein the data processing operation may refer to an operation for processing data. Exemplarily, the standard process operation may include a power-on operation and a sleep operation, etc. The same data processing operation may include a transmission operation for transmitting the same data, and for another example, the same data processing operation may include a storage operation for storing the same data, and for another example, the same data processing operation may include a calculation operation for performing the same calculation on the same data, etc. In fact, there are multiple standard process operations and the same data processing operations, and one or more of them can be selected as the operation to be eliminated as needed to omit the operation to be eliminated in the overall multiple refresh process.
[0062] Among them, the operations to be eliminated of different refresh instructions can be the same or different. For example, for the same data processing operation corresponding to the refresh instruction, the refresh instruction that executes the same data processing operation for the first time cannot omit the same data processing operation, and the refresh instruction that executes the same data processing operation later can use the same data processing operation as the operation to be eliminated. Correspondingly, the refresh instruction that executes the same data processing operation for the first time has a different operation to be eliminated from the refresh instruction that executes the same data processing operation later; and there are the same operations to be eliminated between multiple refresh instructions that execute the same data processing operation later, that is, the same data processing operation. For another example, when some alternative operations that appear in pairs are used as operations to be eliminated, the refresh instruction that executes the operation pair for the first time omits the operation with a later timing in the operation pair, the refresh instruction that executes the operation pair for the last time omits the operation with an earlier timing in the operation pair, and the refresh instruction that executes the operation pair in the middle omits the operation pair.
[0063] S104 , according to the instruction execution order of each of the refresh instructions, eliminate the corresponding operations to be eliminated from the candidate operations corresponding to each of the refresh instructions, and obtain the candidate operations corresponding to the updated refresh instructions.
[0064] The instruction execution order may refer to the execution order of asynchronously executed refresh instructions. The alternative operation corresponding to the updated refresh instruction may refer to the alternative operation after omitting the operation to be eliminated. When there are multiple operations to be eliminated, the elimination operations of different operations to be eliminated are independent of each other, and the operations to be eliminated are eliminated respectively to obtain the updated alternative operation.
[0065] S105 . Execute the alternative operations corresponding to the at least two updated refresh instructions in accordance with the instruction execution sequence, so as to refresh the electronic paper screen.
[0066] According to the instruction execution order, each refresh instruction is executed in sequence. When each refresh instruction is executed, according to the execution order of the corresponding alternative operations after the update, the corresponding alternative operations after the update are executed in sequence.
[0067] The embodiment of the present invention obtains alternative operations corresponding to refresh instructions executed during multiple refresh processes when the electronic paper screen is refreshed multiple times, detects operations to be deleted from the alternative operations corresponding to each refresh instruction, and executes the deleted alternative operations, thereby reducing the operations required for refreshing during the refresh process of the electronic paper screen, solving the problem of high power consumption and long time consumption of multiple refreshes in the prior art, reducing refresh time consumption, and improving refresh speed. At the same time, reducing operations can also reduce refresh power consumption.
[0068] Embodiment 2
[0069] Figure 5 This is a flow chart of a method for refreshing an electronic paper screen provided in the second embodiment of the present invention. The embodiment of the present invention is optimized and improved on the basis of the technical solutions of the above embodiments.
[0070] Furthermore, "eliminating corresponding operations to be eliminated from the alternative operations corresponding to each refresh instruction according to the instruction execution order of each refresh instruction" is refined as: eliminating the end operation from the alternative operations of the first refresh instruction executed; eliminating the start operation from the alternative operations of the last refresh instruction executed, and the end operation corresponds to the start operation; when there is a refresh instruction executed in the middle, eliminating the start operation and the end operation from the alternative operations of the refresh instruction executed in the middle, and the execution order of the refresh instruction executed in the middle is between the execution order of the first refresh instruction executed and the execution order of the last refresh instruction executed.
[0071] It should be noted that, for the parts not described in detail in the embodiments of the present invention, reference may be made to the descriptions in the aforementioned embodiments.
[0072] See also Figure 5 The refresh method of the electronic paper screen shown includes:
[0073] S501: Obtain a refresh instruction for the electronic paper screen.
[0074] S502: When the number of the refresh instructions is at least two, obtain alternative operations corresponding to each of the refresh instructions, wherein the refresh instruction corresponds to at least one alternative operation, and different refresh instructions are executed asynchronously.
[0075] S503, obtaining operations to be eliminated from the candidate operations corresponding to each of the refresh instructions; the operations to be eliminated include standard process operations, and the standard process operations include start operations or end operations.
[0076] The start operation and the end operation of the same device or module are an operation pair. In multiple alternative operations corresponding to the same refresh instruction, the start operation and the end operation of the same device or module appear at the same time.
[0077] Exemplarily, the reset operation and the sleep operation are an operation pair, the reset operation is the start-up operation of the driver IC, and the sleep operation is the end operation of the driver IC; the power-on operation and the power-off operation are an operation pair, the power-on operation and are the start-up operation of the TFT array substrate, and the power-off operation is the end operation of the TFT array substrate.
[0078] S504: Eliminate the end operation from the candidate operations of the first executed refresh instruction.
[0079] The first executed refresh instruction may refer to the refresh instruction that is executed first in the instruction execution sequence. The number of the end operations is at least one.
[0080] S505: Eliminate the start operation from the candidate operations of the last executed refresh instruction, and the end operation corresponds to the start operation.
[0081] The last executed refresh instruction may refer to the last executed refresh instruction in the instruction execution sequence. The number of the start operation is at least one, and the start operation and the end operation correspond one to one.
[0082] S506. When there is a refresh instruction that is executed intermediately, the start operation and the end operation are eliminated from the alternative operations of the refresh instruction that is executed intermediately to obtain the alternative operations corresponding to the updated refresh instruction, and the execution order of the refresh instruction that is executed intermediately is between the execution order of the first refresh instruction that is executed and the execution order of the last refresh instruction that is executed.
[0083] The refresh instruction executed in the middle may refer to a refresh instruction other than the first refresh instruction executed and the last refresh instruction executed. When the number of refresh instructions is two, there is no refresh instruction executed in the middle. When the number of refresh instructions is at least three, there is a refresh instruction executed in the middle. The refresh instruction executed in the middle excludes both the start operation and the corresponding end operation.
[0084] The instruction execution order is used to determine the execution order of the refresh instructions of the same start operation, and to determine the execution order of the refresh instructions of the same end operation. In fact, the start operation is executed at the beginning, and the end operation is ended at the end. Accordingly, only the first refresh instruction executed is required to retain the start operation, and the last refresh instruction executed is required to retain the end operation, and the remaining start operations and end operations are discarded.
[0085] In an optional embodiment, for a scenario in which the same start operation and the same end operation corresponding to the same start operation exist in the alternative operations of each refresh instruction, the first refresh instruction executed is the first refresh instruction executed among all refresh instructions, and the last refresh instruction executed is the last refresh instruction executed among all refresh instructions.
[0086] In an optional embodiment, for a scenario in which the same start operation and the same end operation corresponding to the same start operation exist in the alternative operations of some refresh instructions, a refresh instruction group having the same start operation and the same corresponding end operation is obtained, and the refresh instruction group includes at least two refresh instructions. There is at least one refresh instruction group, and different refresh instruction groups correspond to different start operations, and different refresh instruction groups correspond to different end operations. The same refresh instruction can be in multiple refresh instruction groups. For each refresh instruction group, the first refresh instruction executed is the refresh instruction executed first in the refresh instruction group, and the last refresh instruction executed is the refresh instruction executed last in the refresh instruction group; in the refresh instruction group, the end operation is eliminated from the alternative operations of the first refresh instruction executed; the start operation is eliminated from the alternative operations of the last refresh instruction executed; when there is a refresh instruction executed in the middle, the start operation and the end operation are eliminated from the alternative operations of the refresh instruction executed in the middle.
[0087] S507: Execute the alternative operations corresponding to the at least two updated refresh instructions in accordance with the instruction execution sequence to refresh the electronic paper screen.
[0088] Optionally, the start operation includes: a drive reset operation of the electronic paper screen or a power-on operation of the array substrate of the electronic paper screen; the end operation includes: a drive sleep operation of the electronic paper screen or a power-off operation of the array substrate of the electronic paper screen.
[0089] The driving reset operation of the electronic paper screen and the driving sleep operation of the electronic paper screen are corresponding start operation and end operation; the array substrate power-on operation of the electronic paper screen and the array substrate power-off operation of the electronic paper screen are corresponding start operation and end operation.
[0090] The multiple operations to be eliminated in a refresh instruction may include multiple start operations, which include a drive reset operation of the electronic paper screen and / or a power-on operation of the array substrate of the electronic paper screen; the multiple operations to be eliminated in a refresh instruction may include multiple end operations, which include a drive sleep operation of the electronic paper screen and / or a power-off operation of the array substrate of the electronic paper screen.
[0091] In an optional embodiment, among all refresh instructions, the driving sleep operation of the electronic paper screen is eliminated from the alternative operations of the first refresh instruction executed; the driving reset operation of the electronic paper screen is eliminated from the alternative operations of the last refresh instruction executed; when there are refresh instructions executed in the middle, the driving reset operation of the electronic paper screen and the driving sleep operation of the electronic paper screen are eliminated from the alternative operations of the refresh instructions executed in the middle.
[0092] like Figure 6 As shown in the figure, it shows the process of two consecutive image refreshes of an electronic paper screen. Figure 3 Compared with the existing refresh process, the driver sleep operation is omitted in the first image refresh process, and the driver reset operation is omitted in the second image refresh process. When the electronic paper screen performs two consecutive image refreshes, since the two image refresh processes are performed continuously, it is not necessary to enter the Deep Sleep mode at the end of the first image refresh, and it is not necessary to perform a reset at the beginning of the second image refresh. Therefore, the following steps can be omitted: step S008 Deep Sleep in the first image refresh process, and step S001 Reset in the second image refresh process.
[0093] like Figure 7 As shown in FIG. 1 , a process of continuously refreshing an image of an electronic paper screen N times is shown, where N>2. Figure 4 Compared with the existing refresh process, the step of driving sleep operation is omitted in the first image refresh process, the driving sleep operation and driving reset operation are omitted in the second to N-1 image refreshes, and the driving reset operation is omitted in the Nth image refresh process. When the electronic paper screen performs N consecutive image refreshes, since the N image refresh processes are performed continuously, the following steps can be omitted: step S008 Deep Sleep in the first image refresh process, step S001 Reset and step S008 Deep Sleep in the second to N-1 image refresh processes, and step S001 Reset in the second image refresh process.
[0094] In this embodiment, the refresh process of more than one image refresh is regarded as a complete refresh process, so only one Reset step and Deep Sleep step are required in the entire refresh process, and by omitting unnecessary Reset steps and Deep Sleep steps, refresh time and refresh power consumption can be further saved. This refresh mode is suitable for all refresh processes of more than one continuous image refresh.
[0095] In an optional embodiment, among all refresh instructions, the array substrate power-off operation is eliminated from the alternative operations of the first refresh instruction executed; the array substrate power-on operation is eliminated from the alternative operations of the last refresh instruction executed; when there are refresh instructions executed in the middle, the array substrate power-on operation and the array substrate power-off operation are eliminated from the alternative operations of the refresh instructions executed in the middle.
[0096] In an optional embodiment, among all refresh instructions, the driving sleep operation of the electronic paper screen and the power-off operation of the array substrate are eliminated in the alternative operations of the first refresh instruction executed; the driving reset operation of the electronic paper screen and the power-on operation of the array substrate are eliminated in the alternative operations of the last refresh instruction executed; when there are refresh instructions executed in the middle, the driving reset operation of the electronic paper screen, the driving sleep operation of the electronic paper screen, the power-on operation of the array substrate and the power-off operation of the array substrate are eliminated in the alternative operations of the refresh instructions executed in the middle.
[0097] like Figure 8 As shown in the figure, it shows the process of two consecutive image refreshes of an electronic paper screen. Figure 3 Compared with the existing refresh process, step S007 Power off the TFT array substrate of the electronic paper screen and step S008 Deep Sleep are omitted in the first image refresh process, and step S001 Reset and step S005 Power on the TFT array substrate of the electronic paper screen are omitted in the second image refresh process. When the electronic paper screen performs two consecutive image refreshes, since the two image refresh processes are performed continuously, it is not necessary to power off the TFT array substrate of the electronic paper screen and enter the Deep Sleep mode at the end of the first image refresh, and it is not necessary to reset and power on the TFT array substrate of the electronic paper screen at the beginning of the second image refresh. Therefore, the following steps can be omitted: 1. Step S007 Power off the TFT array substrate of the electronic paper screen and step S008 Deep Sleep in the first image refresh process; 2. Step S001 Reset and step S005 Power on the TFT array substrate of the electronic paper screen in the second image refresh process.
[0098] like Fig. 9 As shown in FIG. 1 , a process of continuously refreshing an image of an electronic paper screen N times is shown, where N>2. Figure 4 Compared with the existing refresh process, step S007 and step S008 are omitted in the first image refresh, step S001, step S005, step S007 and step S008 are omitted in the second to N-1th image refreshes, and step S001 and step S005 are omitted in the Nth image refresh process. When the electronic paper screen performs N consecutive image refreshes, since the N image refresh processes are performed continuously, the following steps can be omitted: 1. Step S007 Power off during the first image refresh process, the TFT array substrate of the electronic paper screen is powered off, and step S008 Deep Sleep; 2. Step S001 Reset during the second to N-1th image refresh processes, step S005 Power on during the TFT array substrate of the electronic paper screen is powered on, step S007 Power off during the TFT array substrate of the electronic paper screen is powered off, and step S008 Deep Sleep; 3. Step S001 Reset during the Nth image refresh process, and step S005 Power on during the TFT array substrate of the electronic paper screen is powered on.
[0099] In this embodiment, the refresh process of more than one image refresh is regarded as a complete refresh process, so only one Reset step and Deep Sleep step are required in the entire refresh process, and only one Power on step and Power off step are required. By omitting unnecessary Reset steps, Deep Sleep steps, Power on steps and Power off steps, refresh time and refresh power consumption can be further saved. This refresh mode is suitable for all refresh processes of more than one continuous image refresh.
[0100] By specifically configuring the start operation and the end operation as the start and end operations of the driver IC and the TFT array substrate, the driver IC sleep and reset operations and the power on and off operations of the TFT array substrate during the refresh process of the electronic paper screen can be omitted, thereby shortening the refresh process of the electronic paper screen, increasing the refresh speed, and reducing the refresh power consumption corresponding to the omitted operations.
[0101] The technical solution of the embodiment of the present invention eliminates corresponding start operations and / or end operations for refresh instructions with different instruction execution orders, thereby reducing the start and stop operations in the intermediate process of refreshing while ensuring the realization of corresponding functions, improving the refresh speed, and reducing the refresh power consumption corresponding to the omitted operations.
[0102] Embodiment 3
[0103] Fig.10 This is a flow chart of a method for refreshing an electronic paper screen provided in Embodiment 3 of the present invention. The embodiment of the present invention is optimized and improved on the basis of the technical solutions of the above embodiments.
[0104] Further, “eliminating corresponding operations to be eliminated from the alternative operations corresponding to each refresh instruction according to the instruction execution order of each refresh instruction” is refined as: detecting whether there are identical data processing operations in the alternative operations corresponding to each refresh instruction according to the differences between the data processed by the data processing operations in the alternative operations of each refresh instruction; when there are identical data processing operations in at least two refresh instructions, eliminating the existing identical data processing operations from the alternative operations corresponding to the corresponding refresh instruction in the refresh instructions having the identical data processing operations according to the instruction execution order of each refresh instruction.
[0105] It should be noted that, for the parts not described in detail in the embodiments of the present invention, reference may be made to the descriptions in the aforementioned embodiments.
[0106] See also Fig.10 The refresh method of the electronic paper screen shown includes:
[0107] S1001. Obtain a refresh instruction for the electronic paper screen.
[0108] S1002. When the number of the refresh instructions is at least two, obtain alternative operations corresponding to each of the refresh instructions, wherein the refresh instruction corresponds to at least one alternative operation, and different refresh instructions are executed asynchronously.
[0109] S1003, obtaining operations to be eliminated from the candidate operations corresponding to each of the refresh instructions; the operations to be eliminated include operations for processing the same data.
[0110] S1004. Detect whether there is an identical data processing operation in the candidate operations corresponding to the refresh instructions according to the difference between the data processed by the data processing operations in the candidate operations of the refresh instructions.
[0111] The same data processing operation may refer to a data processing operation that processes the same data as other data processing operations. The data processing operations in the alternative operations of different refresh instructions perform the same processing process, and the content that may differ between different data processing operations is the processed data. Different refresh instructions may be to use different images to refresh the screen, or to use the same image to refresh the screen, and the image used needs to be refreshed once or multiple times, etc. The aforementioned content will result in the data processed by the data processing operation being the same or different.
[0112] The purpose of omitting operations is to reduce repeated operations. When the processing procedures of different data processing operations are the same, it is only necessary to compare the data processed by the data processing operations of different refresh instructions to detect whether the same data exists, so as to determine whether the data processing operations are the same.
[0113] S1005. When at least two refresh instructions have the same data processing operation, according to the instruction execution order of each refresh instruction, among the refresh instructions with the same data processing operation, the existing same data processing operation is eliminated from the alternative operations corresponding to the corresponding refresh instructions to obtain the alternative operations corresponding to the updated refresh instructions.
[0114] The instruction execution order is used to determine the execution order of refresh instructions with the same data processing operation. All refresh instructions may have the same data processing operation, or only some refresh instructions may have the same data processing operation. The number of types of the same data processing operation may be at least one. The number of the same data processing operation is at least one. For at least two refresh instructions that are executed continuously with the same data processing operation, after the refresh instruction executed earlier completes the execution of the same data processing operation, the refresh instruction executed later does not need to execute the same data processing operation again, and accordingly, the same data processing operation of the refresh instruction executed later can be eliminated.
[0115] S1006. Execute the alternative operations corresponding to the at least two updated refresh instructions in accordance with the instruction execution sequence to refresh the electronic paper screen.
[0116] Optionally, based on the difference between the data processed by the data processing operations in the alternative operations of each refresh instruction, detecting whether the same data processing operation exists in the alternative operations corresponding to each refresh instruction includes: when the data processed by the data processing operations in the alternative operations corresponding to at least two refresh instructions executed consecutively are consistent, determining that the at least two refresh instructions executed consecutively have the same data processing operation.
[0117] If the data processed by the data processing operations in the alternative operations corresponding to the two refresh instructions are consistent, but there are other refresh instructions between the two refresh instructions, and the data processed by the data processing operations in the alternative operations corresponding to the other refresh instructions are different from the data processed by the two refresh instructions, this will result in that after the refresh instruction with the earlier execution order among the two refresh instructions is executed, it is necessary to reload other data, and when the refresh instruction with the later execution order among the two refresh instructions is executed, it is reloaded to the same data. At this time, if the same data processing operation of the refresh instruction with the later execution order is eliminated, it will cause the processed data error, and then cause the refresh error. Therefore, it is necessary to determine that the at least two refresh instructions executed continuously have the same data processing operation when the data processed by the data processing operations in the alternative operations corresponding to at least two refresh instructions executed continuously are consistent. If there are other non-continuous refresh instructions whose corresponding data are consistent with the aforementioned processed data, then there is no same data processing operation between the other non-continuous refresh instructions and the at least two refresh instructions executed continuously.
[0118] By detecting whether the data processed by multiple refresh instructions executed continuously are consistent, it is determined whether multiple refresh instructions have the same data processing operations. This allows accurate detection of refresh instructions that can eliminate the same data processing operations, improves the accuracy of eliminating redundant operations, reduces screen refresh errors caused by accidental deletion operations, and improves the accuracy of screen refresh.
[0119] Optionally, in refresh instructions where the same data processing operation exists, the same data processing operation existing in the alternative operations corresponding to the corresponding refresh instructions is eliminated, including: according to the instruction execution order of each of the refresh instructions, among multiple refresh instructions where the same data processing operation exists and is executed continuously, selecting at least one refresh instruction with a later instruction execution order as the target instruction; and eliminating the same data processing operation existing in the alternative operations corresponding to the target instruction.
[0120] Multiple refresh instructions for the same data processing operation and executed continuously may refer to multiple refresh instructions that process the same data and are executed in a continuous order. The target instruction may refer to a refresh instruction other than the refresh instruction that is executed first in the instruction execution order among the multiple refresh instructions for the same data processing operation. The multiple refresh instructions for the same data processing operation include at least one target instruction and a refresh instruction that is executed first in the instruction execution order. In fact, when multiple refresh instructions for the same data processing operation execute the same operation, only the first executed operation needs to be completed, and subsequent identical operations do not need to be executed again. Accordingly, only the refresh instruction that is executed first in the instruction execution order does not need to eliminate the same data processing operation, and the target instruction needs to eliminate the same data processing operation.
[0121] It can be understood that multiple refresh instructions for the same data processing operation can be regarded as a data processing operation group, different refresh instructions for the same data processing operation belong to different data processing operation groups, and refresh instructions for the same data processing operation but not executed consecutively belong to different data processing operation groups. Data operation groups correspond to the same data processing operation one by one. In each data processing operation group, the same data processing operation corresponding to the data processing operation group of the refresh instruction executed later is eliminated.
[0122] By eliminating the same data processing operation of multiple refresh instructions that are executed later in the order of execution among multiple refresh instructions that have the same data processing operation and are executed continuously, redundant same data processing operations can be accurately eliminated, data processing errors can be avoided, and accurate and fast screen refresh can be achieved.
[0123] Optionally, the same data processing operation includes: an initialization code sending operation, a drive waveform lookup table loading operation, or an image data writing operation.
[0124] The data processed by the initialization code sending operation may be an initialization code. The data processed by the lookup table loading operation of the driving waveform may be a lookup table of the driving waveform. The data processed by the image data writing operation may be image data. The image data may refer to a color area that needs to be refreshed in a refresh round of a refresh instruction, and a color type that needs to be refreshed in the color area.
[0125] The multiple identical data processing operations existing in the same refresh instruction include at least one of the following: an initialization code sending operation, a drive waveform lookup table loading operation, or an image data writing operation, etc.
[0126] In a specific example, the multiple refresh instructions include: refresh instructions 1-7, and the execution order is: refresh instruction 1, refresh instruction 2, refresh instruction 3, refresh instruction 4, refresh instruction 5, refresh instruction 6 and refresh instruction 7. The image data written by the image data writing operation of refresh instruction 1, refresh instruction 2, refresh instruction 4, refresh instruction 6 and refresh instruction 7 are the same. The lookup table loaded by the lookup table loading operation of the driving waveform of refresh instruction 4, refresh instruction 5 and refresh instruction 6 is the same. Therefore, refresh instruction 1, refresh instruction 2, refresh instruction 4, refresh instruction 5, refresh instruction 6 and refresh instruction 7 have the same data processing operation.
[0127] Since refresh instruction 1 and refresh instruction 2 are refresh instructions executed continuously, refresh instruction 6 and refresh instruction 7 are refresh instructions executed continuously, refresh instruction 4 is not continuous with refresh instruction 1, refresh instruction 2, refresh instruction 6 and refresh instruction 7. Therefore, refresh instruction 1 and refresh instruction 2 have the same image data write operation, and refresh instruction 6 and refresh instruction 7 have the same image data write operation.
[0128] Since refresh instruction 4, refresh instruction 5 and refresh instruction 6 are refresh instructions that are executed continuously, refresh instruction 4, refresh instruction 5 and refresh instruction 6 have a lookup table loading operation of the same driving waveform.
[0129] Correspondingly, for refresh instructions 1 and refresh instructions 2 that have the same image data write operation, the same image data write operation of refresh instruction 2 is eliminated; for refresh instructions 6 and refresh instructions 7 that have the same image data write operation, the same image data write operation of refresh instruction 7 is eliminated; for refresh instructions 4, refresh instructions 5 and refresh instructions 6 that have the same drive waveform lookup table load operation, the same drive waveform lookup table load operation of refresh instructions 5 and refresh instructions 6 is eliminated.
[0130] By specifically configuring the same data processing operation as an initialization code sending operation, a drive waveform lookup table loading operation, or an image data writing operation, it is possible to omit the initialization, drive waveform lookup table, and image data processing operations during the refresh process of the electronic paper screen, shorten the refresh process of the electronic paper screen, increase the refresh speed, and reduce the refresh power consumption corresponding to the omitted operations.
[0131] The embodiment of the present invention detects whether there are identical data processing operations in various refresh instructions, and, according to the instruction execution order, queries the alternative operations that need to be eliminated in the refresh instructions that have identical data processing operations, and eliminates the corresponding identical data processing operations. This can reduce the identical data processing operations in the intermediate process of the refresh while ensuring the realization of the corresponding functions, thereby improving the refresh speed and reducing the refresh power consumption corresponding to the omitted operations.
[0132] In an optional embodiment, if Fig.11 As shown in the figure, it shows the process of two consecutive image refreshes of an electronic paper screen. Figure 3Compared with the existing refresh process, step S007 and step S008 are omitted in the first image refresh process, and step S001, step S002 and step S005 are omitted in the second image refresh process. When the electronic paper screen performs two consecutive image refreshes, since the two image refresh processes are performed continuously, it is not necessary to power off the TFT array substrate of the electronic paper screen and enter the Deep Sleep mode at the end of the first image refresh, and it is not necessary to reset and power on the TFT array substrate of the electronic paper screen at the beginning of the second image refresh; in addition, if the Initialization Code in the two image refresh processes is the same, it is not necessary to send the initialization code in the second image refresh process. Therefore, the following steps can be omitted: 1. Step S007 and step S008 in the first image refresh process; 2. Step S001, step S002 and step S005 in the second image refresh process.
[0133] like Fig.12 As shown in FIG. 1 , a process of continuously refreshing an image of an electronic paper screen N times is shown, where N>2. Figure 4 Compared with the existing refresh process, step S007 and step S008 are omitted in the first image refresh, step S001, step S002, step S005, step S007 and step S008 are omitted in the second to N-1 image refreshes, and step S001, step S002 and step S005 are omitted in the N-th image refresh process. When the electronic paper screen continuously performs N image refreshes, since the N-th image refresh process is performed continuously, the following steps can be omitted: 1. Step S007 and step S008 in the first image refresh process; 2. Step S001, step S002, step S005, step S007 and step S008 in the second to N-1 image refresh processes; 3. Step S001, step S002 and step S005 in the N-th image refresh process.
[0134] In this embodiment, the refresh process of more than one image refresh is regarded as a complete refresh process. If the initialization code in all refresh processes is the same, only one Reset step and DeepSleep step, only one Power on step and Power off step, and only one SendInitialization Code step are required in the entire refresh process. By omitting unnecessary Reset steps, Deep Sleep steps, Power on steps, Power off steps, and Send Initialization Code steps, refresh time and refresh power consumption can be further saved. This refresh mode is suitable for refresh processes with the same initialization code in more than one continuous image refresh.
[0135] In an optional embodiment, if Fig.13 As shown in the figure, it shows the process of two consecutive image refreshes of an electronic paper screen. Figure 3 Compared with the existing refresh process, step S007 and step S008 are omitted in the first image refresh process, and step S001, step S002, step S003 and step S005 are omitted in the second image refresh process. When the electronic paper screen performs two consecutive image refreshes, since the two image refresh processes are performed continuously, it is not necessary to power off the TFT array substrate of the electronic paper screen and enter the Deep Sleep mode at the end of the first image refresh, and it is not necessary to reset and power on the TFT array substrate of the electronic paper screen at the beginning of the second image refresh; in addition, if the Initialization Code and Waveform LUT lookup table of the driving waveform in the two image refresh processes are the same, it is not necessary to send the initialization code and load the Waveform LUT lookup table of the driving waveform of the driver IC of the electronic paper screen in the second image refresh process. Therefore, the following steps can be omitted: 1. Step S007 and Step S008 in the first image refresh process; 2. Step S001, Step S002, Step S003 and Step S005 in the second image refresh process.
[0136] like Fig.14 As shown in FIG. 1 , a process of continuously refreshing an image of an electronic paper screen N times is shown, where N>2. Figure 4Compared with the existing refresh process, step S007 and step S008 are omitted in the first image refresh, step S001, step S002, step S003, step S005, step S007 and step S008 are omitted in the second to N-1 image refreshes, and step S001, step S002, step S003 and step S005 are omitted in the N-th image refresh process. When the electronic paper screen continuously performs N image refreshes, since the N-th image refresh process is performed continuously, the following steps can be omitted: 1. Step S007 and step S008 in the first image refresh process; 2. Step S001, step S002, step S003, step S005, step S007 and step S008 in the second to N-1 image refresh processes; 3. Step S001, step S002, step S003 and step S005 in the N-th image refresh process.
[0137] In this embodiment, the refresh process of more than one image refresh is regarded as a complete refresh process. If the initialization code and the drive waveform lookup table in all refresh processes are the same, only one Reset step and Deep Sleep step are required in the entire refresh process, only one Power on step and Power off step are required, and only one Send Initialization Code step and Loading Waveform LUT step are required. By omitting unnecessary Reset steps, Deep Sleep steps, Power on steps, Power off steps, Send Initialization Code steps, and Loading Waveform LUT steps, refresh time and refresh power consumption can be further saved. This refresh method is suitable for refresh processes with the same initialization code and drive waveform in more than one continuous image refresh.
[0138] like Fig.15 As shown in the figure, it shows the process of two consecutive image refreshes of an electronic paper screen. Figure 3Compared with the existing refresh process, step S007 and step S008 are omitted in the first image refresh process, and step S001, step S002, step S003, step S004 and step S005 are omitted in the second image refresh process. When the electronic paper screen performs two consecutive image refreshes, since the two image refresh processes are performed continuously, it is not necessary to perform Power off to power off the TFT array substrate of the electronic paper screen and not enter the Deep Sleep mode at the end of the first image refresh, and it is not necessary to perform Reset and Power on to power on the TFT array substrate of the electronic paper screen at the beginning of the second image refresh; when the electronic paper screen performs two consecutive image refreshes, if the Initialization Code, Waveform LUT drive waveform lookup table and Image Data in the two image refresh processes are the same, it is not necessary to perform Send Initialization Code, Loading Waveform LUT to load the drive waveform lookup table of the electronic paper screen driver IC and Write Image Data / DTM to write image data to the driver IC of the electronic paper screen in the second image refresh process. Therefore, the following steps can be omitted: 1. Step S007 and Step S008 in the first image refresh process; 2. Step S001, Step S002, Step S003, Step S004 and Step S005 in the second image refresh process.
[0139] like Fig.16 As shown in FIG. 1 , a process of continuously refreshing an image of an electronic paper screen N times is shown, where N>2. Figure 4 Compared with the existing refresh process, step S007 and step S008 are omitted in the first image refresh, step S001, step S002, step S003, step S004, step S005, step S007 and step S008 are omitted in the second to N-1th image refreshes, and step S001, step S002, step S003, step S004 and step S005 are omitted in the Nth image refresh process. When the electronic paper screen refreshes the image N times continuously, since the N image refresh processes are performed continuously, the following steps can be omitted: 1. Step S007 and Step S008 in the 1st image refresh process; 2. Step S001, Step S002, Step S003, Step S004, Step S005, Step S007 and Step S008 in the 2nd to N-1th image refresh processes; 3. Step S001, Step S002, Step S003, Step S004 and Step S005 in the Nth image refresh process.
[0140] In this embodiment, the refresh process of more than one image refresh is regarded as a complete refresh process. If the initialization code, drive waveform lookup table, and image data in all refresh processes are the same, only one Reset step and Deep Sleep step are required in the entire refresh process, only one Power on step and Power off step are required, and only one Send Initialization Code step, Loading Waveform LUT step, and Writing Image Data / DTM step are required. By omitting unnecessary Reset steps, Deep Sleep steps, Power on steps, Power off steps, Send Initialization Code steps, Loading Waveform LUT steps, and Writing Image Data / DTM steps, refresh time and refresh power consumption can be further saved. This refresh method is suitable for refresh processes in which the initialization code, drive waveform lookup table, and image data are the same in more than one continuous image refresh.
[0141] The embodiment of the present invention can save refresh time by deleting unnecessary refresh steps in the continuous refresh process, and can save screen power consumption by deleting unnecessary refresh steps in the continuous refresh process. According to the type of continuous screen refresh process, a suitable screen refresh step is selected, and while achieving the display effect, the screen refresh time and screen refresh power consumption can be minimized, thereby greatly improving the service life of the electronic paper screen battery. The embodiment of the present invention can be used for a refresh process of 2 consecutive refreshes and a refresh process of N consecutive refreshes. Different refresh processes can be selected according to different refresh requirements to achieve the best refresh effect, refresh time and refresh power consumption. The refresh process formed by adapting to a combination of multiple refresh methods can achieve the effect of reducing refresh time and refreshing power consumption.
[0142] Embodiment 4
[0143] Fig.17 A schematic diagram of the structure of a refresh device for an electronic paper screen provided in Embodiment 4 of the present invention. The embodiment of the present invention can be applied to the case where the operations required for refreshing are reduced during the continuous refreshing of the electronic paper screen. The device can execute the refresh method for the electronic paper screen. The refresh device for the electronic paper screen can be implemented in the form of hardware and / or software, and the device can be configured in an electronic device.
[0144] See also Fig.17 The refresh device of the electronic paper screen shown includes:
[0145] A refresh instruction acquisition module 1701 is used to acquire a refresh instruction of the electronic paper screen;
[0146] An alternative operation acquisition module 1702, configured to acquire, when the number of the refresh instructions is at least two, alternative operations corresponding to each refresh instruction, wherein the refresh instruction corresponds to at least one alternative operation, and different refresh instructions are executed asynchronously;
[0147] The to-be-eliminated operation detection module 1703 is used to obtain the to-be-eliminated operations from the candidate operations corresponding to each of the refresh instructions; the to-be-eliminated operations include standard process operations or same data processing operations;
[0148] The candidate operation updating module 1704 is used to eliminate the corresponding operations to be eliminated from the candidate operations corresponding to the refresh instructions according to the instruction execution order of the refresh instructions, so as to obtain the candidate operations corresponding to the updated refresh instructions;
[0149] The instruction execution module 1705 is used to execute the alternative operations corresponding to the at least two updated refresh instructions according to the instruction execution sequence to achieve refreshing of the electronic paper screen.
[0150] The embodiment of the present invention obtains alternative operations corresponding to refresh instructions executed during multiple refresh processes when the electronic paper screen is refreshed multiple times, detects operations to be deleted from the alternative operations corresponding to each refresh instruction, and executes the deleted alternative operations, thereby reducing the operations required for refreshing during the refresh process of the electronic paper screen, solving the problem of high power consumption and long time consumption of multiple refreshes in the prior art, reducing refresh time consumption, and improving refresh speed. At the same time, reducing operations can also reduce refresh power consumption.
[0151] Further, the operations to be eliminated include: standard process operations, the standard process operations include start operations or end operations;
[0152] The alternative operation updating module 1704 includes:
[0153] A first instruction operation elimination unit, used for eliminating the end operation from the candidate operations of the first executed refresh instruction;
[0154] A last instruction operation elimination unit, used to eliminate the start operation from the candidate operations of the last executed refresh instruction, the end operation corresponding to the start operation;
[0155] An intermediate instruction operation elimination unit is used to eliminate the start operation and the end operation from the alternative operations of the intermediately executed refresh instruction when there is an intermediately executed refresh instruction, and the execution order of the intermediately executed refresh instruction is between the execution order of the first executed refresh instruction and the execution order of the last executed refresh instruction.
[0156] Furthermore, the startup operation includes: a drive reset operation of the electronic paper screen or a power-on operation of the array substrate of the electronic paper screen; the end operation includes: a drive sleep operation of the electronic paper screen or a power-off operation of the array substrate of the electronic paper screen.
[0157] Further, the operations to be eliminated include: same data processing operations;
[0158] The alternative operation updating module 1704 includes:
[0159] a same operation detection unit, configured to detect whether there is a same data processing operation in the alternative operations corresponding to each of the refresh instructions according to the difference between the data processed by the data processing operations in the alternative operations of each of the refresh instructions;
[0160] The corresponding operation elimination unit is used to eliminate the existing identical data processing operations in the alternative operations corresponding to the corresponding refresh instructions in the refresh instructions having the same data processing operations when at least two refresh instructions have the same data processing operations, according to the instruction execution order of each of the refresh instructions.
[0161] Furthermore, the same operation detection unit includes:
[0162] The continuous instruction detection subunit is used to determine that the at least two refresh instructions executed continuously have the same data processing operation when the data processed by the data processing operation in the alternative operations corresponding to the at least two refresh instructions executed continuously are consistent.
[0163] Furthermore, the corresponding operation elimination unit includes:
[0164] A subsequent operation detection subunit is used to select at least one refresh instruction with a subsequent instruction execution order as a target instruction among a plurality of refresh instructions having the same data processing operation and being executed continuously according to the instruction execution order of each of the refresh instructions;
[0165] The post-operation elimination subunit is used to eliminate the same data processing operations existing in the alternative operations corresponding to the target instruction.
[0166] Furthermore, the same data processing operation includes: an initialization code sending operation, a drive waveform lookup table loading operation or an image data writing operation.
[0167] The electronic paper screen refresh device provided in the embodiment of the present invention can execute the electronic paper screen refresh method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the electronic paper screen refresh method.
[0168] Embodiment 5
[0169] Fig.18 A schematic diagram of an electronic device 1800 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0170] like Fig.18 As shown, the electronic device 1800 includes at least one processor 1801, and a memory connected to the at least one processor 1801 in communication, such as a read-only memory (ROM) 1802, a random access memory (RAM) 1803, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 1801 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 1802 or the computer program loaded from the storage unit 1808 to the random access memory (RAM) 1803. In RAM 1803, various programs and data required for the operation of the electronic device 1800 can also be stored. The processor 1801, ROM 1802 and RAM 1803 are connected to each other via a bus 1804. An input / output (I / O) interface 1805 is also connected to the bus 1804.
[0171] Multiple components in the electronic device 1800 are connected to the I / O interface 1805, including: an input unit 1806, such as a keyboard, a mouse, etc.; an output unit 1807, such as various types of displays, speakers, etc.; a storage unit 1808, such as a disk, an optical disk, etc.; and a communication unit 1809, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 1809 allows the electronic device 1800 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0172] The processor 1801 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 1801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 1801 performs the various methods and processes described above, such as a refresh method for an electronic paper screen.
[0173] In some embodiments, the refresh method of the electronic paper screen may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 1808. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 1800 via the ROM 1802 and / or the communication unit 1809. When the computer program is loaded into the RAM 1803 and executed by the processor 1801, one or more steps of the refresh method of the electronic paper screen described above may be performed. Alternatively, in other embodiments, the processor 1801 may be configured to execute the refresh method of the electronic paper screen in any other appropriate manner (e.g., by means of firmware).
[0174] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0175] The computer program for implementing the method of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable electronic paper screen refresh device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program can be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.
[0176] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0177] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0178] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0179] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS (Virtual Private Server) services.
[0180] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0181] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for refreshing an electronic paper screen, characterized in that: The method comprises: Get the refresh instruction of the electronic paper screen; When the number of the refresh instructions is at least two, obtaining alternative operations corresponding to each of the refresh instructions, the refresh instructions correspond to at least one alternative operation, and different refresh instructions are executed asynchronously; Obtaining operations to be eliminated from the candidate operations corresponding to each of the refresh instructions; the operations to be eliminated include standard process operations or operations for processing the same data; Eliminating corresponding operations to be eliminated from the candidate operations corresponding to the refresh instructions according to the instruction execution order of the refresh instructions, and obtaining the candidate operations corresponding to the updated refresh instructions; According to the instruction execution sequence, the alternative operations corresponding to the at least two updated refresh instructions are executed to achieve refreshing of the electronic paper screen.
2. The method according to claim 1, characterized in that The operations to be eliminated include: standard process operations, wherein the standard process operations include start operations or end operations; Eliminating corresponding operations to be eliminated from candidate operations corresponding to each refresh instruction according to the instruction execution order of each refresh instruction includes: Eliminate the end operation from the candidate operations of the first executed refresh instruction; Eliminate the start operation from the candidate operations of the last executed refresh instruction, the end operation corresponding to the start operation; When there is an intermediately executed refresh instruction, the start operation and the end operation are eliminated from the alternative operations of the intermediately executed refresh instruction, and the execution order of the intermediately executed refresh instruction is between the execution order of the first executed refresh instruction and the execution order of the last executed refresh instruction.
3. The method according to claim 2, characterized in that The startup operation includes: a driving reset operation of the electronic paper screen or a power-on operation of the array substrate of the electronic paper screen; the end operation includes: a driving sleep operation of the electronic paper screen or a power-off operation of the array substrate of the electronic paper screen.
4. The method according to claim 1, characterized in that: The operations to be eliminated include: same data processing operations; Eliminating corresponding operations to be eliminated from the candidate operations corresponding to the refresh instructions according to the instruction execution order of the refresh instructions includes: According to the difference between the data processed by the data processing operations in the alternative operations of the refresh instructions, detecting whether there is the same data processing operation in the alternative operations corresponding to the refresh instructions; When at least two refresh instructions have the same data processing operation, according to the instruction execution order of each refresh instruction, among the refresh instructions having the same data processing operation, the same data processing operation is eliminated from the alternative operations corresponding to the corresponding refresh instructions.
5. The method according to claim 4, characterized in that The detecting whether there is the same data processing operation in the alternative operations corresponding to the refresh instructions according to the difference between the data processed by the data processing operations in the alternative operations of the refresh instructions includes: When the data processed by the data processing operations in the candidate operations corresponding to at least two refresh instructions executed continuously are consistent, it is determined that the at least two refresh instructions executed continuously have the same data processing operation.
6. The method according to claim 5, characterized in that The step of removing the existing identical data processing operations from the candidate operations corresponding to the corresponding refresh instructions in the refresh instructions including: According to the instruction execution order of each of the refresh instructions, among a plurality of refresh instructions having the same data processing operation and being executed continuously, selecting at least one refresh instruction with a later instruction execution order as a target instruction; The same data processing operations existing in the candidate operations corresponding to the target instruction are eliminated.
7. The method according to claim 4, characterized in that The same data processing operation includes: an initialization code sending operation, a drive waveform lookup table loading operation or an image data writing operation.
8. A refreshing device for an electronic paper screen, characterized in that: The device comprises: A refresh instruction acquisition module, used to acquire a refresh instruction of the electronic paper screen; An alternative operation acquisition module, used for acquiring the alternative operation corresponding to each refresh instruction when the number of the refresh instructions is at least two, the refresh instruction corresponds to at least one alternative operation, and different refresh instructions are executed asynchronously; A detection module for operations to be eliminated, used for obtaining operations to be eliminated from the candidate operations corresponding to each refresh instruction; the operations to be eliminated include standard process operations or operations for processing the same data; An alternative operation updating module, used to eliminate corresponding operations to be eliminated from the alternative operations corresponding to each refresh instruction according to the instruction execution order of each refresh instruction, so as to obtain the alternative operations corresponding to the updated refresh instruction; The instruction execution module is used to execute the alternative operations corresponding to the at least two updated refresh instructions according to the instruction execution sequence to achieve refreshing of the electronic paper screen.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for refreshing an electronic paper screen according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for refreshing an electronic paper screen according to any one of claims 1 to 7 when executed.
