CN117729294A - Color correction method, device, equipment and storage medium - Google Patents
Color correction method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN117729294A CN117729294A CN202311769734.1A CN202311769734A CN117729294A CN 117729294 A CN117729294 A CN 117729294A CN 202311769734 A CN202311769734 A CN 202311769734A CN 117729294 A CN117729294 A CN 117729294A
- Authority
- CN
- China
- Prior art keywords
- color correction
- interrupt
- executed
- interrupt signal
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000012937 correction Methods 0.000 title claims abstract description 452
- 238000000034 method Methods 0.000 title claims abstract description 78
- 238000012544 monitoring process Methods 0.000 claims abstract description 32
- 238000011084 recovery Methods 0.000 claims abstract description 19
- 230000004044 response Effects 0.000 claims abstract description 17
- 230000008569 process Effects 0.000 claims description 23
- 238000012545 processing Methods 0.000 claims description 10
- 230000005856 abnormality Effects 0.000 claims description 8
- 230000008859 change Effects 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 7
- 230000015572 biosynthetic process Effects 0.000 abstract description 2
- 239000003086 colorant Substances 0.000 abstract 1
- 239000000843 powder Substances 0.000 description 13
- 230000009471 action Effects 0.000 description 8
- 238000004891 communication Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 7
- 230000000694 effects Effects 0.000 description 7
- 238000001514 detection method Methods 0.000 description 3
- 230000007257 malfunction Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 229910052573 porcelain Inorganic materials 0.000 description 2
- 238000007639 printing Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000015556 catabolic process Effects 0.000 description 1
- 238000006731 degradation reaction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 230000004634 feeding behavior Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Landscapes
- Color Electrophotography (AREA)
- Control Or Security For Electrophotography (AREA)
Abstract
The application provides a color correction method, a device, equipment and a storage medium, and relates to the technical field of image formation, wherein the method comprises the following steps: monitoring whether a color correction influencing factor exists during the color correction, wherein the influencing factor at least comprises one of an external influencing factor and an internal influencing factor; interrupting the color correction in response to monitoring an influencing factor of the color correction; when an interrupt recovery signal is detected, acquiring interrupt information, and determining a color correction mode to be executed based on an acquisition result of the interrupt information; according to the color correction mode to be performed, color correction is performed. The color correction method and the device can correct colors more accurately, and further can guarantee subsequent image quality.
Description
Technical Field
The present disclosure relates to the field of image forming technologies, and in particular, to a color correction method, apparatus, device, and storage medium.
Background
With the development of imaging technology, image forming apparatuses are increasingly used as a type of computer peripheral device. An image forming apparatus is an apparatus that forms an image on an image forming medium based on an image forming principle, and is such as a printer. In order to secure the image quality effect of image formation, it is necessary to perform color correction on the image forming apparatus.
Currently, during the execution of color correction by an image forming apparatus, some influence factors may occur, which cause the image forming apparatus to be unable to accurately perform color correction, thereby causing the image forming apparatus to have difficulty in securing the quality of subsequent operations.
Disclosure of Invention
The application provides a color correction method, a device, equipment and a storage medium, which are used for solving the problem that during the color correction of an image forming device, some influence factors possibly occur, so that the image forming device cannot accurately perform the color correction, and further the image forming device is difficult to guarantee the quality of a subsequent printing job.
In a first aspect, the present application provides a color correction method, including:
monitoring whether a color correction influencing factor exists during the color correction, wherein the influencing factor at least comprises one of an external influencing factor and an internal influencing factor;
interrupting the color correction in response to monitoring an influencing factor of the color correction;
when an interrupt recovery signal is detected, acquiring interrupt information, and determining a color correction mode to be executed based on an acquisition result of the interrupt information;
according to the color correction mode to be performed, color correction is performed.
Optionally, the influencing factor is an external influencing factor, and determining the color correction mode to be executed based on the obtained result of the interrupt information includes: determining a color correction mode being executed at the time of interruption based on the acquisition result of the interruption information; determining a color correction mode to be executed according to the color correction mode being executed; or, based on the acquisition result of the interrupt information, it is determined that the color correction mode to be executed is the color correction mode executed at the start of the color correction.
Optionally, the influencing factor is an internal influencing factor, and determining the color correction mode to be executed based on the obtained result of the interrupt information includes: based on the acquisition result of the interrupt information, it is determined that the color correction mode to be executed is the color correction mode executed at the start of color correction.
Optionally, performing color correction according to a color correction mode to be performed includes: according to the color correction mode to be executed, color correction is executed according to a preset color correction timing.
Optionally, in response to monitoring an influencing factor of the color correction, interrupting the color correction includes: the interrupt information is cleared when the color correction is interrupted, and the color correction condition is not reset.
If the influencing factors are internal influencing factors, the interrupt information is cleared when the color correction is interrupted, and the color correction condition is not reset.
Optionally, after performing color correction according to the color correction mode to be performed, the color correction method further includes: when the color correction is completed, the interrupt information is cleared and the color correction condition is reset.
Optionally, performing color correction according to a color correction mode to be performed includes: determining whether a color correction condition is reached; if so, performing color correction according to the color correction mode to be performed.
Optionally, the external influencing factors include at least one of the image forming apparatus being powered off, a front cover of the image forming apparatus being opened, and an abnormality in operation of the image forming apparatus; the internal influencing factors at least comprise the change of the consumable residual quantity.
In a second aspect, the present application provides a color correction method, including:
monitoring whether a color correction interrupt signal is received during the color correction period, wherein the interrupt signal at least comprises one of an external interrupt signal and an internal interrupt signal, the external interrupt signal is an electric or mechanical interrupt signal, and the internal interrupt signal is an interrupt signal related to toner;
Executing a first process for suspending the color correction when the received interrupt signal is an external interrupt signal;
when the received interrupt signal is an internal interrupt signal, a second process for canceling the color correction is performed.
Optionally, the color correction method further includes: recording interrupt information when the color correction is started to be executed, and clearing the interrupt information when the color correction is executed; after the first process is performed, the color correction method further includes: in response to the interrupt resume signal, it is determined whether interrupt information is present, and if so, color correction is re-performed.
Optionally, the second process is further used to clear the interrupt information.
In a third aspect, the present application provides a color correction device, comprising:
a monitoring module for monitoring whether a color correction influencing factor exists during the color correction, wherein the influencing factor at least comprises one of an external influencing factor and an internal influencing factor;
an interruption module for interrupting the color correction in response to monitoring an influencing factor of the color correction;
the determining module is used for acquiring interrupt information when the interrupt recovery signal is detected, and determining a color correction mode to be executed based on the acquisition result of the interrupt information;
And the execution module is used for executing color correction according to the color correction mode to be executed.
Optionally, the influencing factor is an external influencing factor, and the determining module is specifically configured to: determining a color correction mode being executed at the time of interruption based on the acquisition result of the interruption information; determining a color correction mode to be executed according to the color correction mode being executed; or, based on the acquisition result of the interrupt information, it is determined that the color correction mode to be executed is the color correction mode executed at the start of the color correction.
Optionally, the influencing factor is an internal influencing factor, and the determining module is specifically configured to: based on the acquisition result of the interrupt information, it is determined that the color correction mode to be executed is the color correction mode executed at the start of color correction.
Optionally, the execution module is specifically configured to: according to the color correction mode to be executed, color correction is executed according to a preset color correction timing.
Optionally, the interrupt module is specifically configured to: the interrupt information is cleared when the color correction is interrupted, and the color correction condition is not reset.
Optionally, the execution module is further configured to: after performing color correction according to the color correction mode to be performed, when the color correction is completed, the interrupt information is cleared and the color correction condition is reset.
Optionally, the execution module is specifically configured to: determining whether a color correction condition is reached; if so, performing color correction according to the color correction mode to be performed.
Optionally, the external influencing factors include at least one of the image forming apparatus being powered off, a front cover of the image forming apparatus being opened, and an abnormality in operation of the image forming apparatus; the internal influencing factors at least comprise the change of the consumable residual quantity.
In a fourth aspect, the present application provides a color correction device, comprising:
the monitoring module is used for monitoring whether the interrupt signal of the color correction is received or not in the color correction period, the interrupt signal at least comprises one of an external interrupt signal and an internal interrupt signal, the external interrupt signal is an electric or mechanical interrupt signal, and the internal interrupt signal is an interrupt signal related to the toner;
the first execution module is used for executing first processing when the received interrupt signal is an external interrupt signal, and the first processing is used for suspending color correction;
and the second execution module is used for executing second processing when the received interrupt signal is an internal interrupt signal, and the second processing is used for canceling the color correction.
Optionally, the color correction device further includes a recording module for recording interrupt information when the color correction is started to be executed, and the interrupt information is cleared when the color correction is executed; the first execution module, after executing the first process, is further configured to: in response to the interrupt resume signal, it is determined whether interrupt information is present, and if so, color correction is re-performed.
Optionally, the second process is further used to clear the interrupt information.
In a fifth aspect, the present application provides an electronic device, comprising: a processor, a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored in the memory to implement the color correction method as described in the first or second aspect of the present application.
In a sixth aspect, the present application provides a computer readable storage medium having stored therein computer program instructions which, when executed, implement a color correction method as described in the first or second aspect of the present application.
In a seventh aspect, the present application provides a computer program product comprising a computer program which when executed implements the color correction method according to the first or second aspect of the present application.
The color correction method, the device, the equipment and the storage medium can execute color correction according to the color correction mode determined by the interrupt information, so that the color correction can still be accurately performed when the influence factors occur. The problem of image quality degradation caused by incorrect execution of color correction is effectively avoided.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief description will be given below of the drawings that are needed in the embodiments or the prior art descriptions, and it is obvious that the drawings in the following description are some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort to a person skilled in the art.
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application;
FIG. 2 is a flowchart of a color correction method according to an embodiment of the present disclosure;
FIG. 3 is a flowchart of a color correction method according to another embodiment of the present application;
FIG. 4 is a flowchart of a color correction method according to another embodiment of the present application;
FIG. 5 is a schematic diagram of a color correction device according to an embodiment of the present disclosure;
FIG. 6 is a schematic structural diagram of a color correction device according to another embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
Image forming apparatuses, such as printers, are increasingly used. The printer generally has a color correction function, and the color correction may include modes such as density correction or color correction to ensure the quality of a printed image. The printer may set specific execution conditions for color correction, and when the execution conditions are satisfied, the printer may automatically execute the color correction. For example, the color correction may be automatically triggered when the number of printed pages reaches a preset number of pages.
Currently, during the execution of color correction by an image forming apparatus, some influence factors may occur, which cause the image forming apparatus to be unable to accurately perform color correction, thereby causing the image forming apparatus to have difficulty in securing the quality of subsequent operations. Taking the example that the image forming apparatus is a printer, when the printer starts to perform color correction, there may occur some cases in which it is difficult to continue the color correction, for example, a case in which power is suddenly turned off, or a case in which a user suddenly opens a front cover of the printer, and the like, at this time, the printer may interrupt the color correction. When the interrupt factor is eliminated, the related art may have the following problems: (1) The printer erroneously performs a conditional reset for the color correction has been completed; but in practice color correction is not complete, resulting in difficulty in guaranteeing the quality of subsequent print jobs; (2) Only the event affecting the normal progress of the color correction such as power outage is regarded as an interruption factor, but the internal interruption factor such as the powder feeding behavior is not considered, or the event not affecting the normal execution of the color correction is not regarded as an interruption factor. Therefore, a new color correction scheme is needed to solve the above-mentioned problems.
Based on the above-mentioned problems, the present application provides a color correction method, apparatus, device and storage medium, in which, after color correction is interrupted due to external influence factors or internal influence factors during execution of color correction, when an interruption recovery signal is detected, a color correction mode to be executed is determined based on the obtained interruption information, and the color correction is executed according to the color correction mode to be executed, so that the color correction can be more accurately performed, and further, the subsequent image quality can be ensured.
In the following, first, an application scenario of the solution provided in the present application is illustrated.
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application. As shown in fig. 1, in the present application scenario, taking an example in which the image forming apparatus is a printer, the user turns off the printer during the printer color correction. It should be noted that, in the embodiments of the present application, the cause of power failure of the printer is not limited, for example, the cause of power failure of the printer may be power failure caused by unstable power or other factors. The printer monitors the external factor of power down, interrupting the color correction. After a user powers on the printer, the printer detects an interrupt resume signal, and determines a color correction mode to be executed based on the acquired interrupt information (such as an interrupt flag bit); according to the color correction mode to be performed, color correction is performed.
It should be noted that fig. 1 is only a schematic diagram of an application scenario provided by the embodiment of the present application, and the embodiment of the present application does not limit the devices included in fig. 1, or limit the positional relationship between the devices in fig. 1.
The following describes the technical scheme of the present application in detail through specific embodiments. It should be noted that the following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
Fig. 2 is a flowchart of a color correction method according to an embodiment of the present application. The color correction method may be performed by software and/or hardware means, which may be, for example, a color correction device, which may be an electronic device or a processing chip in an electronic device. As shown in fig. 2, the method of the embodiment of the present application includes:
s201, monitoring whether a color correction influence factor exists during color correction, wherein the influence factor at least comprises one of an external influence factor and an internal influence factor.
In the embodiment of the present application, the execution condition of the image forming apparatus for performing color correction, for example, the number of pages of the job that the image forming apparatus has operated is greater than the threshold of the number of pages, or the consumable cartridge of the image forming apparatus is replaced, or the like, may be set. When the execution condition of the color correction is reached, the image forming apparatus automatically performs the color correction. During the color correction, the image forming apparatus may monitor whether or not there is an influence factor of the color correction, the influence factor including at least one of an external influence factor and an internal influence factor.
Optionally, the external influencing factors include at least one of the image forming apparatus being powered off, a front cover of the image forming apparatus being opened, and an abnormality in operation of the image forming apparatus; the internal influencing factors at least comprise the change of the consumable residual quantity.
An image forming apparatus such as a printer is exemplified, and an external influencing factor such as sudden power-off, or a user suddenly opens a front cover of the printer, or an abnormality in stopping printing of a printer body, or the like; the internal influencing factors are for example, the consumable residual quantity caused by the powder supply action is changed, wherein the powder supply action refers to the process of transporting consumable materials such as carbon powder and the like from the outside of the developing box to the inside of the developing box, the color attribute can be adjusted according to the consumable residual quantity of the developing box in the prior art, and the color correction parameters before the powder supply action are not suitable for the process after the powder supply. That is, the parameters obtained by correcting the completion item before the powder feeding action is generated are not suitable for the printer after the powder feeding is completed, and the image quality of the printed image and the image quality of the target image deviate, so that the independent powder feeding condition is generated, and interruption protection is required. In this step, during color correction, the image forming apparatus monitors whether there is an external influence factor or an internal influence factor of color correction.
S202, interrupting color correction in response to monitoring the influence factors of the color correction.
In this step, the image forming apparatus interrupts the color correction when the influence factor of the color correction is monitored. For example, the image forming apparatus interrupts color correction under an external influence of sudden power failure.
S203, when the interrupt recovery signal is detected, acquiring interrupt information, and determining a color correction mode to be executed based on the acquisition result of the interrupt information.
It will be appreciated that an interrupt recovery signal such as a signal detected upon re-power-up after power-down; the interrupt information is, for example, an interrupt flag, which is a flag for representing the color correction mode, and may be stored in the memory. The acquisition result of the interrupt information is used to indicate whether the interrupt information is acquired. In one example, interrupt information may be recorded in response to a color correction start signal; when the interrupt resume signal is detected, interrupt information is acquired, and whether interrupt information exists is judged based on the acquisition result of the interrupt information, if so, a color correction mode to be executed, such as a color correction mode executed at the start of color correction, is determined based on the interrupt information, that is, color correction is re-executed. In another example, interrupt information may be recorded when interrupting color correction; when the interrupt resume signal is detected, interrupt information is acquired, whether interrupt information exists is judged based on the acquisition result of the interrupt information, and if the interrupt information exists, a color correction mode to be executed, such as a color correction mode being executed when the interrupt occurs, is determined based on the interrupt information, so that the color correction is continuously executed from the color correction mode being executed when the interrupt occurs. When the color correction is completed, the interrupt information is cleared.
For different influencing factors, how to determine the color correction mode to be executed based on the interrupt information is referred to the following embodiments, and will not be described herein.
S204, performing color correction according to the color correction mode to be performed.
In this step, after the color correction pattern to be executed is determined, color correction may be executed according to the color correction pattern to be executed. The timing of performing color correction may be different for different influencing factors, and reference may be made to the following embodiments. It will be appreciated that the interrupt information is cleared when the completion of the color correction is performed.
According to the color correction method, whether the influence factors of color correction exist or not is monitored during color correction, wherein the influence factors at least comprise one of external influence factors and internal influence factors; interrupting the color correction in response to monitoring an influencing factor of the color correction; when an interrupt recovery signal is detected, acquiring interrupt information, and determining a color correction mode to be executed based on an acquisition result of the interrupt information; according to the color correction mode to be performed, color correction is performed. In the embodiment of the application, during the execution of color correction, when an external influence factor or an internal influence factor of the color correction is monitored, the color correction is interrupted, when an interruption recovery signal is detected, a color correction mode to be executed is determined based on the acquired interruption information, and the color correction is executed according to the color correction mode to be executed; instead of terminating the color correction if an external factor of the color correction is monitored, or continuing the color correction if an internal factor of the color correction is monitored. Therefore, the embodiment of the application can more accurately correct the color, and further can guarantee the subsequent image quality.
Fig. 3 is a flowchart of a color correction method according to another embodiment of the present application. On the basis of the above embodiments, the color correction method is further described in the embodiments of the present application. As shown in fig. 3, the method of the embodiment of the present application may include:
s301, monitoring whether a color correction influence factor exists during color correction, wherein the influence factor at least comprises one of an external influence factor and an internal influence factor.
A detailed description of this step may be referred to the related description of S201 in the embodiment shown in fig. 2, and will not be repeated here.
S302, interrupting color correction in response to monitoring the influence factors of the color correction.
For a detailed description of this step, reference may be made to the relevant description of S202 in the embodiment shown in fig. 2. Optionally, if the influencing factor is an internal influencing factor, the interrupt information is cleared when the color correction is interrupted, and the color correction condition is not reset.
Illustratively, when a powder feeding action occurs, the color correction is discontinued and the interrupt information is cleared, and the color correction condition is not reset. When the powder supply action occurs, the current color correction operation is canceled, and the fact that the color porcelain correction does not occur is regarded as the fact that the color porcelain correction does not occur. And waiting until the next preset color correction time, and re-executing the color correction.
In consideration of the case that the influence factor is an external influence factor, in the embodiment of the present application, step S203 in fig. 2 may further include two steps S303 and S304 as follows:
s303, acquiring interrupt information when an interrupt resume signal is detected, and determining a color correction mode being executed during interrupt based on an acquisition result of the interrupt information, wherein the influence factor is an external influence factor; the color correction mode to be executed is determined according to the color correction mode being executed.
For example, in the case where the influence factor is an external influence factor, the interruption information is assumed to be an interruption flag bit, and in one example, the image forming apparatus is assumed to have a color correction mode of correction mode 1, and the correction mode 1 includes 3 sub-correction modes sequentially executed, such as type 1, type 2, and type 3, respectively, and the interruption flag bit is recorded to be 1000 at the start of color correction; wherein 1 in the interrupt flag bit 1000 indicates that the color correction mode is correction mode 1, and 000 in the interrupt flag bit 1000 respectively corrects three sub-correction modes included in mode 1, namely, type 1, type 2 and type 3. After the sub-correction mode of the type 1 is completed, the interrupt flag is updated to 1100, that is, each time the sub-correction mode is completed, the interrupt flag corresponding to the sub-correction mode is updated from 0 to 1. Assuming that the color correction is interrupted while the type 2 is being executed, upon detection of the interrupt resume signal, an interrupt flag bit of 1100 is acquired, and based on the acquisition result of the interrupt flag bit of 1100, it is determined that the color correction mode to be executed is type 2. In another example, the interrupt flag bit may be recorded as 1100 when interrupting the color correction; upon detection of the interrupt resume signal, an interrupt flag is acquired, and based on the acquisition result of the interrupt flag, a color correction mode to be executed, such as a color correction mode being executed when an interrupt occurs, i.e., type 2, is determined to continue execution of color correction starting from type 2. It will be appreciated that in some embodiments, the entire correction procedure may be re-executed instead of by interrupting the information recording mode, as long as it is confirmed that interrupt information is present.
It is understood that, in the case where the color correction pattern includes a plurality of sub-correction patterns sequentially executed, any one of the sub-correction patterns is interrupted, it is necessary to determine the color correction pattern being executed at the time of interruption based on the acquired interruption information when the interruption recovery signal is detected, so that the color correction pattern to be executed is determined from the color correction pattern being executed.
S304, the influence factors are external influence factors, when an interrupt recovery signal is detected, interrupt information is acquired, and based on the acquisition result of the interrupt information, the color correction mode to be executed is determined to be the color correction mode executed at the beginning of color correction.
In this step, for the case where the influence factor is an external influence factor, when the interrupt resume signal is detected, it may be determined that the color correction mode to be executed is the color correction mode executed at the start of the color correction, that is, the color correction is re-executed, based on the acquisition result of the acquired interrupt information.
It should be noted that, in the embodiment of the present application, the execution sequence of S303 and S304 is not limited, and S303 and S304 are parallel schemes, which are used alternatively.
In consideration of the case that the influencing factor is an internal influencing factor, in the embodiment of the present application, step S203 in fig. 2 may further include the following step S305:
S305, the influence factors are internal influence factors, when an interrupt recovery signal is detected, interrupt information is acquired, and based on the acquisition result of the interrupt information, the color correction mode to be executed is determined to be the color correction mode executed at the beginning of color correction.
Illustratively, the internal influencing factors such as the amount of consumable remaining changes due to the powder supply action. When the powder supply action occurs, interrupting the color correction, clearing the interrupt information, and not resetting the color correction condition; when the powder supply is completed, the interrupt information may be acquired, and the color correction may be re-performed based on the acquisition result of the interrupt information. In this case, the result of acquiring the interrupt information may be "there is no stored interrupt information", and for example, when the interrupt information is a value of 0, it is considered that the interrupt information is not stored.
It will be appreciated that, in the case where the color correction pattern includes a plurality of sub-correction patterns that are sequentially executed, any one of the sub-correction patterns is interrupted, and it is necessary to re-execute the color correction when the interruption recovery signal is detected, because the toner supply behavior changes the density of the toner, the previous parameters cannot be adapted to the parameters after the toner supply, and the color correction needs to be re-executed.
It should be noted that, in the embodiment of the present application, the execution sequence of S303, S304, and S305 is not limited.
In this embodiment, step S204 in fig. 2 may further include step S306 as follows:
s306, determining whether a color correction condition is met; if so, performing color correction according to the color correction mode to be performed.
It is understood that the color correction condition refers to a condition that is currently capable of satisfying normal execution of color correction, and the color correction condition is not reset when the color correction is interrupted. In this step, in order to ensure the correctness of the color correction, it may be judged whether or not a color correction condition is reached, for example, the number of pages of the job that the image forming apparatus has operated is greater than a threshold value of the number of pages; if so, performing color correction according to the color correction mode to be performed. It is possible to avoid a situation in which the color correction condition is not reached (e.g., some engine error occurs) and the color correction is performed erroneously.
Alternatively, for the case where the influence factor is an internal influence factor, color correction may be performed according to a preset color correction timing according to a color correction pattern to be performed.
Illustratively, the preset color correction opportunities include, for example, at power-on, at sleep wakeup, or at receipt of a print job.
S307, when the color correction is completed, the interrupt information is cleared, and the color correction condition is reset.
In this step, the interrupt information is used to determine whether to perform the current color correction, and when the color correction is completed, the interrupt information may be cleared and the color correction condition may be reset.
According to the color correction method, whether the influence factors of color correction exist or not is monitored during color correction, wherein the influence factors at least comprise one of external influence factors and internal influence factors; interrupting the color correction in response to monitoring an influencing factor of the color correction; when an interruption recovery signal is detected, obtaining interruption information for the case that the influence factor is an external influence factor, and determining a color correction mode being executed during interruption based on the obtained result of the interruption information; determining a color correction mode to be executed according to the color correction mode being executed; or when the interrupt recovery signal is detected, acquiring interrupt information, and determining that the color correction mode to be executed is the color correction mode executed at the beginning of color correction based on the acquisition result of the interrupt information; aiming at the condition that the influence factors are internal influence factors, when an interrupt recovery signal is detected, acquiring interrupt information, and determining that a color correction mode to be executed is a color correction mode executed at the beginning of color correction based on the acquisition result of the interrupt information; determining whether a color correction condition is reached; if so, executing color correction according to the color correction mode to be executed; when the color correction is completed, the interrupt information is cleared and the color correction condition is reset. In the embodiment of the application, during the execution of color correction, when an external influence factor or an internal influence factor of the color correction is monitored, the color correction is interrupted, when an interruption recovery signal is detected, based on the acquisition result of interruption information, corresponding color correction modes to be executed are determined for different influence factors, the color correction is executed according to the color correction modes to be executed, when the color correction is completed, the interruption information is cleared, and the color correction conditions are reset; instead of terminating the color correction if an external factor of the color correction is monitored, or continuing the color correction if an internal factor of the color correction is monitored. Therefore, the embodiment of the application can more accurately correct the color, and further can ensure the subsequent image quality.
Fig. 4 is a flowchart of a color correction method according to another embodiment of the present application. As shown in fig. 4, the method of the embodiment of the present application includes:
s401, monitoring whether an interrupt signal of color correction is received or not in the color correction period, wherein the interrupt signal at least comprises one of an external interrupt signal and an internal interrupt signal, the external interrupt signal is an electric or mechanical interrupt signal, and the internal interrupt signal is an interrupt signal related to toner.
In this step, the external interrupt signal is an electric or mechanical interrupt signal, for example, the electric interrupt signal may be that the image forming apparatus is cut off power control, or the image forming apparatus detects that the power supply voltage is unstable. The mechanical interrupt signal may be that the front cover of the image forming apparatus is opened, or that an inclination sensor, a vibration sensor, or a controller inside the image forming apparatus detects an abnormality of a mechanical member inside the image forming apparatus, for example, that the controller detects a broken line of the fixing assembly, or that the inclination sensor detects an abnormality of the inclination of the fixing bracket, or that the vibration sensor detects an abnormal vibration of the mechanical member, or the like. The internal interrupt signal is an interrupt signal related to toner, for example, a change in the remaining amount of toner, or for an image forming apparatus having a plurality of developing cartridges, in which addition or removal of one or more developing cartridges may also be used as the internal interrupt signal.
S402, when the received interrupt signal is an external interrupt signal, performing a first process for suspending the color correction.
S403, when the received interrupt signal is an internal interrupt signal, performing a second process for canceling the color correction.
It should be noted that, in the embodiment of the present application, the execution sequence of S402 and S403 is not limited.
Embodiments of the present application suspend color correction when an electrical or mechanical interrupt signal is monitored. This is to take into account that the electrical and mechanical interrupt signals may not affect the effect of the color correction and that the electrical and mechanical interrupt signals are easier to restore by the user himself, e.g., for the electrical interrupt signal the user may reconnect the power supply to eliminate the malfunction and for the mechanical interrupt signal the user may manually close the front cover or readjust the position of the fusing assembly to eliminate the malfunction. When the electric and mechanical malfunctions are removed, the image forming apparatus performs interrupt recovery and continues to execute or re-execute the color correction flow. In the embodiments of the present application, when the interrupt signal related to the toner is detected, since the final correction effect may be affected by the change of the toner (for example, some image forming apparatuses compensate the correction effect according to the toner residual amount), when the interrupt signal related to the toner is detected, the current color correction operation may be canceled, and the color correction may be re-performed until the next color correction condition is reached, so as to avoid the correction effect reduction caused by the change of the toner.
In one possible implementation, interrupt information may also be recorded when color correction starts to be performed. The interrupt information is cleared when the color correction execution is completed. And after the first process is performed, embodiments of the present application may further include: in response to the interrupt resume signal, it is determined whether interrupt information is present, and if so, color correction is re-performed. I.e. the interrupt resume signal is for issuing after the electrical or mechanical fault has been cleared, the first process does not clear the interrupt information, so that upon detection of the interrupt resume signal it can be determined whether to continue or re-perform the color correction depending on whether the interrupt information is present.
In one possible implementation, the second process is also used to clear the interrupt information. And in the second process, the color correction condition is not reset, so that the color correction can be regarded as not being performed, and the image forming apparatus can re-perform the color correction according to the changed toner when the next color correction condition is satisfied.
The following are device embodiments of the present application, which may be used to perform method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.
Fig. 5 is a schematic structural diagram of a color correction device according to an embodiment of the present application, and as shown in fig. 5, a color correction device 500 according to an embodiment of the present application includes: a monitoring module 501, an interrupt module 502, a determination module 503, and an execution module 504. Wherein:
a monitoring module 501, configured to monitor whether a color correction influencing factor exists during color correction, where the influencing factor includes at least one of an external influencing factor and an internal influencing factor.
An interruption module 502 for interrupting the color correction in response to monitoring the influencing factors of the color correction.
A determining module 503, configured to acquire interrupt information when the interrupt resume signal is detected, and determine a color correction mode to be executed based on the acquisition result of the interrupt information.
An execution module 504, configured to execute color correction according to a color correction mode to be executed.
In some embodiments, the influencing factors are external influencing factors, and the determining module 503 may be specifically configured to: determining a color correction mode being executed at the time of interruption based on the acquisition result of the interruption information; determining a color correction mode to be executed according to the color correction mode being executed; or, based on the acquisition result of the interrupt information, it is determined that the color correction mode to be executed is the color correction mode executed at the start of the color correction.
In some embodiments, the influencing factors are internal influencing factors, and the determining module 503 may be specifically configured to: based on the acquisition result of the interrupt information, it is determined that the color correction mode to be executed is the color correction mode executed at the start of color correction.
In some embodiments, the execution module 504 may be specifically configured to: according to the color correction mode to be executed, color correction is executed according to a preset color correction timing.
Alternatively, the interrupt module 502 may be specifically configured to: the interrupt information is cleared when the color correction is interrupted, and the color correction condition is not reset.
Optionally, the execution module 504 may be further configured to: after performing color correction according to the color correction mode to be performed, when the color correction is completed, the interrupt information is cleared and the color correction condition is reset.
In some embodiments, the execution module 504 may be specifically configured to: determining whether a color correction condition is reached; if so, performing color correction according to the color correction mode to be performed.
Optionally, the external influencing factors include at least one of the image forming apparatus being powered off, a front cover of the image forming apparatus being opened, and an abnormality in operation of the image forming apparatus; the internal influencing factors at least comprise the change of the consumable residual quantity.
The device of the embodiment of the present application may be used to execute the technical solution of any of the above-described embodiments of the method, and its implementation principle and technical effects are similar, and are not repeated here.
Fig. 6 is a schematic structural diagram of a color correction device according to another embodiment of the present application, and as shown in fig. 6, a color correction device 600 according to an embodiment of the present application includes: a monitoring module 601, a first executing module 602 and a second executing module 603. Wherein:
the monitoring module 601 is configured to monitor whether a color correction interrupt signal is received during a color correction period, where the interrupt signal includes at least one of an external interrupt signal and an internal interrupt signal, the external interrupt signal is an electrical or mechanical interrupt signal, and the internal interrupt signal is an interrupt signal related to toner.
The first execution module 602 is configured to execute a first process for suspending color correction when the received interrupt signal is an external interrupt signal.
The second execution module 603 is configured to execute a second process for canceling the color correction when the received interrupt signal is an internal interrupt signal.
Optionally, the color correction device 600 may further include a recording module 604, configured to record interrupt information when the color correction is started, where the interrupt information is cleared when the color correction is completed; the first execution module 602 may be further configured to, after executing the first process: in response to the interrupt resume signal, it is determined whether interrupt information is present, and if so, color correction is re-performed.
Optionally, the second process is further used to clear the interrupt information.
The device of the embodiment of the present application may be used to execute the technical solution of any of the above-described embodiments of the method, and its implementation principle and technical effects are similar, and are not repeated here.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 7, the electronic device 700 may include: at least one processor 701 and a memory 702.
A memory 702 for storing programs. In particular, the program may include program code including computer-executable instructions.
The memory 702 may include high-speed random access memory (Random Access Memory, RAM) and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The processor 701 is configured to execute computer-executable instructions stored in the memory 702 to implement the color correction method described in the foregoing method embodiment. The processor 701 may be a central processing unit (Central Processing Unit, CPU), or an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits configured to implement embodiments of the present application.
Optionally, the electronic device 700 may also include a communication interface 703. In a specific implementation, if the communication interface 703, the memory 702, and the processor 701 are implemented independently, the communication interface 703, the memory 702, and the processor 701 may be connected to each other and perform communication with each other through buses. The bus may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnect (Peripheral Component, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. Buses may be divided into address buses, data buses, control buses, etc., but do not represent only one bus or one type of bus.
Alternatively, in a specific implementation, if the communication interface 703, the memory 702, and the processor 701 are implemented on a single chip, the communication interface 703, the memory 702, and the processor 701 may complete communication through internal interfaces.
The present application also provides a computer readable storage medium having stored therein computer program instructions which, when executed by a processor, implement the solution of the color correction method as above.
The present application also provides a computer program product comprising a computer program which, when executed by a processor, implements aspects of the color correction method as above.
The computer readable storage medium described above may be implemented by any type or combination of volatile or non-volatile Memory devices, such as static random access Memory (Static Random Access Memory, SRAM), electrically erasable programmable Read-Only Memory (Electrically Erasable Programmable Read Only Memory, EEPROM), erasable programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), programmable Read-Only Memory (Programmable Read Only Memory, PROM), read Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk, or optical disk. A readable storage medium can be any available medium that can be accessed by a general purpose or special purpose computer.
An exemplary readable storage medium is coupled to the processor such the processor can read information from, and write information to, the readable storage medium. In the alternative, the readable storage medium may be integral to the processor. The processor and the readable storage medium may reside in an application specific integrated circuit. It is of course possible that the processor and the readable storage medium are present as discrete components in the color correction device.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.
Claims (15)
1. A color correction method, comprising:
monitoring whether a color correction influencing factor exists during color correction, wherein the influencing factor at least comprises one of an external influencing factor and an internal influencing factor;
Interrupting the color correction in response to monitoring an influencing factor of the color correction;
when an interrupt recovery signal is detected, acquiring interrupt information, and determining a color correction mode to be executed based on an acquisition result of the interrupt information;
and executing color correction according to the color correction mode to be executed.
2. The color correction method according to claim 1, wherein the influence factor is the external influence factor, and the determining the color correction pattern to be executed based on the acquisition result of the interrupt information includes:
determining a color correction mode being executed at the time of interruption based on the acquisition result of the interruption information; determining the color correction mode to be executed according to the color correction mode being executed;
or, based on the obtained result of the interrupt information, determining that the color correction mode to be executed is a color correction mode executed at the start of color correction.
3. The color correction method according to claim 1, wherein the influence factor is the internal influence factor, and the determining the color correction pattern to be executed based on the acquisition result of the interrupt information includes:
And determining that the color correction mode to be executed is a color correction mode executed at the beginning of color correction based on the acquisition result of the interrupt information.
4. A color correction method according to claim 3, wherein said performing color correction according to said color correction pattern to be performed comprises:
and executing color correction according to the preset color correction time according to the color correction mode to be executed.
5. A method according to claim 3, wherein said interrupting the color correction in response to monitoring a factor affecting the color correction comprises:
if the influencing factors are internal influencing factors, the interrupt information is cleared when the color correction is interrupted, and the color correction condition is not reset.
6. The color correction method according to claim 1, wherein after performing color correction according to the color correction pattern to be performed, further comprising:
and clearing the interrupt information and resetting the color correction condition when the color correction is completed.
7. The color correction method according to any one of claims 1 to 6, characterized in that the performing color correction according to the color correction pattern to be performed includes:
Determining whether a color correction condition is reached;
and if so, executing color correction according to the color correction mode to be executed.
8. The color correction method according to any one of claims 1 to 6, wherein the external influence factor includes at least one of an image forming apparatus being powered off, a front cover of the image forming apparatus being opened, and an abnormality in operation of the image forming apparatus occurring; the internal influencing factors at least comprise the change of the consumable residual quantity.
9. A color correction method, comprising:
monitoring whether a color correction interrupt signal is received during color correction, wherein the interrupt signal at least comprises one of an external interrupt signal and an internal interrupt signal, the external interrupt signal is an electric or mechanical interrupt signal, and the internal interrupt signal is an interrupt signal related to toner;
executing a first process for suspending the color correction when the received interrupt signal is an external interrupt signal;
when the received interrupt signal is an internal interrupt signal, a second process for canceling the color correction is performed.
10. The color correction method according to claim 9, further comprising:
recording interrupt information when the color correction is started to be executed, wherein the interrupt information is cleared when the color correction is executed;
after the first processing is performed, the method further comprises:
and responding to an interrupt resume signal, judging whether the interrupt information exists, and if so, re-executing the color correction.
11. The color correction method of claim 10, wherein the second process is further used to clear the interrupt information.
12. A color correction device, comprising:
a monitoring module for monitoring whether a color correction influencing factor exists during color correction, wherein the influencing factor at least comprises one of an external influencing factor and an internal influencing factor;
an interruption module for interrupting the color correction in response to monitoring an influencing factor of the color correction;
the determining module is used for acquiring interrupt information when the interrupt recovery signal is detected, and determining a color correction mode to be executed based on the acquired result of the interrupt information;
and the execution module is used for executing color correction according to the color correction mode to be executed.
13. A color correction device, comprising:
a monitoring module for monitoring whether an interrupt signal of color correction is received during the color correction, wherein the interrupt signal at least comprises one of an external interrupt signal and an internal interrupt signal, the external interrupt signal is an electric or mechanical interrupt signal, and the internal interrupt signal is an interrupt signal related to toner;
a first execution module configured to execute a first process for suspending the color correction when the received interrupt signal is an external interrupt signal;
and the second execution module is used for executing second processing when the received interrupt signal is an internal interrupt signal, wherein the second processing is used for canceling the color correction.
14. An electronic device, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored in the memory to implement the color correction method of any one of claims 1 to 11.
15. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein computer program instructions which, when executed, implement the color correction method according to any of claims 1 to 11.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311769734.1A CN117729294A (en) | 2023-12-20 | 2023-12-20 | Color correction method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311769734.1A CN117729294A (en) | 2023-12-20 | 2023-12-20 | Color correction method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117729294A true CN117729294A (en) | 2024-03-19 |
Family
ID=90210430
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311769734.1A Pending CN117729294A (en) | 2023-12-20 | 2023-12-20 | Color correction method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117729294A (en) |
-
2023
- 2023-12-20 CN CN202311769734.1A patent/CN117729294A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8954801B2 (en) | Microcomputer and method of operation thereof | |
US7707376B2 (en) | Verifying the validity of data saved at power down by comparing the time of save to time of power-off upon start up | |
US9349084B2 (en) | Image forming apparatus, non-transitory computer-readable storage medium and method for monitoring error in central processing unit and performs resetting process | |
US20130332914A1 (en) | Firmware updating method, image forming apparatus, and storage medium | |
US9772905B2 (en) | Updating control firmware of information processing apparatus, method of controlling the same, and storage medium | |
JP2007286859A (en) | Control unit and image forming device | |
US8595530B2 (en) | Information processing apparatus and control method of information processing apparatus | |
JP4482514B2 (en) | Image forming apparatus | |
CN117729294A (en) | Color correction method, device, equipment and storage medium | |
US9392133B2 (en) | Information processing apparatus and image forming apparatus | |
JP6253433B2 (en) | Control device | |
JP2015032103A (en) | Image forming apparatus, control method of image forming apparatus, and program | |
JP5470124B2 (en) | Electronic device and program for electronic device | |
JP2009301124A (en) | Equipment with memory device and method for protecting memory device | |
US11181963B2 (en) | Information processing device and control method for the same | |
US11919309B2 (en) | Liquid discharge apparatus, control method, and computer-readable storage medium | |
JP3812281B2 (en) | Printing device | |
US20210014376A1 (en) | Information processing apparatus | |
JPH0581138A (en) | Microprogram controller | |
JP4372090B2 (en) | Image forming apparatus | |
JP4136105B2 (en) | Image forming apparatus and control method thereof | |
JP2022015838A (en) | Image forming apparatus and image forming method | |
JP4372089B2 (en) | Image forming apparatus | |
US20180335988A1 (en) | Image forming apparatus, method of controlling same, and storage medium | |
KR100334104B1 (en) | Apparatus to protect fixing unit included in printer and Method to |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |