Data verification method, information processing device, consumable, and image forming apparatus

By generating shorter target verification information, the communication efficiency between the image forming device and the consumable chip is improved, solving the problem of excessive processing time caused by the long length of verification information data, and achieving more efficient task processing.

CN119211430BActive Publication Date: 2026-04-14ZHUHAI PANTUM ELECTRONICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ZHUHAI PANTUM ELECTRONICS CO LTD
Filing Date
2024-09-06
Publication Date
2026-04-14

AI Technical Summary

Technical Problem

In the prior art, the communication efficiency between the image forming apparatus and the consumables is low, resulting in a long length of verification information data, which in turn leads to a long time required for the image forming apparatus to process the next task or enter the next stage.

Method used

By generating shorter target verification information, the image forming apparatus and the consumable chip communicate, shortening the communication time. The target verification information is generated using the first calculation factor and intermediate data, reducing the data length.

Benefits of technology

It shortens the communication time between the image forming apparatus and consumables, and improves the efficiency of the image forming apparatus in processing the next task or moving to the next stage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119211430B_ABST
    Figure CN119211430B_ABST
Patent Text Reader

Abstract

The data verification method, the information processing device, the consumable and the image forming device provided by the embodiments of the present application, the foregoing method comprises: receiving a verification request sent by the image forming device; sending original data and target verification information to the image forming device based on the verification request, and the target verification information is used for verifying the original data. In the embodiments of the present application, the information processing device can generate shorter target verification information, and the image forming device verifies the original data based on the shorter target verification information. Since the data length of the target verification information is shorter, when the target verification information is transmitted between the image forming device and the consumable, the communication time between the image forming device and the consumable can be shortened, so as to solve the problem that the image forming device needs a relatively long time to process the next task or enter the next stage after verifying the data in the prior art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of image forming technology, specifically to a data verification method, a consumable chip, consumables, and an image forming apparatus. Background Technology

[0002] With the development of printing and imaging technology, image forming devices such as printers, copiers, fax machines, and word processors have been widely used. For ease of use, image forming devices are typically equipped with easily replaceable consumables. For example, there are consumable cartridges (such as ink cartridges, toner cartridges, and drum units) to hold recording materials (such as ink, toner, etc.). When the recording material in the consumable cartridge is depleted, the user only needs to replace the cartridge, and the image forming device can continue to be used. An image forming system includes the image forming device and consumables.

[0003] To facilitate the management of consumables, information processing devices, such as consumable chips, are typically installed on them. These devices store information related to the image forming system, known as raw data, which may include imaging control parameters and consumable-related parameters. To ensure the security of the raw data stored in the information processing device, verification information calculated using common algorithms such as SHA-512 is typically used to verify the raw data. However, the inventors discovered that the verification information in these methods is quite long. Given the already low communication efficiency between the image forming device and the consumables, the long transmission time for this verification information results in a significant delay in the image forming device's ability to complete the verification of the raw data before processing the next task or entering the next stage (e.g., entering print-ready state, printing engine paper feeding, rendering the received image). This can lead to problems such as untimely task processing and high system overhead. Ideally, when the image forming device enters the ready state, it should be able to immediately perform image forming operations upon receiving the data to be printed.

[0004] It should be noted that the information disclosed in the background section of this application is intended only to enhance the understanding of the general background of this application, and should not be construed as an admission or in any way implying that the information constitutes prior art known to those skilled in the art. Summary of the Invention

[0005] In view of this, this application provides a data verification method, an information processing device, consumables, and an image forming apparatus to solve the problem in the prior art that, during the verification of consumables, the data length of the verification information is relatively long, and the communication efficiency between the image forming apparatus and the consumables is inherently low, resulting in a long time required to transmit the verification information, which in turn makes it take a long time for the image forming apparatus to process the next task or enter the next stage.

[0006] In a first aspect, embodiments of this application provide a data verification method, the method comprising:

[0007] Receive a verification request sent by the image forming apparatus;

[0008] Based on the verification request, the image forming apparatus is sent raw data and target verification information, wherein at least a portion of the data in the target verification information is used to verify the raw data.

[0009] Before sending the target verification information to the image forming apparatus based on the verification request, the method further includes:

[0010] A first calculation factor is sent to the image forming apparatus based on the verification request;

[0011] Receive first intermediate data generated based on the first calculation factor sent by the image forming apparatus;

[0012] The target verification information is generated based on the first intermediate data; wherein the data length of the target verification information is shorter than the data length of the first verification information generated based on the original data according to a preset first algorithm.

[0013] Secondly, embodiments of this application provide a data verification method applied to an image forming apparatus, wherein a consumable is mounted on the image forming apparatus, and a consumable chip is detachably mounted on the consumable, the method comprising:

[0014] Send a verification request to the consumable;

[0015] Receive the raw data, target verification information and first calculation factor sent by the consumable;

[0016] First intermediate data is generated based on the first calculation factor, and the first intermediate data is sent to the consumables.

[0017] Based on the original data, second verification information is generated according to a preset first algorithm;

[0018] Select a portion of data from the second verification information based on the first intermediate data;

[0019] Benchmark verification information is generated based on the selected portion of the data;

[0020] The target verification information and the benchmark verification information are compared. If they are consistent, the original data is determined to have passed the verification. If they are inconsistent, the original data is determined to have failed the verification.

[0021] Thirdly, embodiments of this application provide an information processing apparatus, wherein the control device is capable of communicating with an image forming apparatus, and consumables are detachably mounted on the image forming apparatus, and the information processing apparatus includes:

[0022] The first receiving module is used to receive the verification request sent by the image forming apparatus;

[0023] A first output module is configured to send raw data and target verification information to the image forming apparatus based on the verification request, wherein at least a portion of the data in the target verification information is used to verify the raw data.

[0024] The second output module is used to send a first calculation factor to the image forming apparatus based on the verification request;

[0025] The second receiving module is used to receive the first intermediate data generated based on the first calculation factor sent by the image forming apparatus;

[0026] A generation module is used to generate the target verification information based on the first intermediate data; wherein the data length of the target verification information is shorter than the data length of the first verification information generated based on the original data according to a preset first algorithm.

[0027] Fourthly, embodiments of this application provide a consumable, including:

[0028] case;

[0029] A developer container, located within the housing, is used to contain the developer; and

[0030] The information processing apparatus described in any of the third aspects.

[0031] Fifthly, embodiments of this application provide a consumable, which further includes:

[0032] Photosensitive drum;

[0033] A charging roller for charging the photosensitive drum; and

[0034] The information processing apparatus described in any of the third aspects.

[0035] Sixthly, embodiments of this application provide an image forming apparatus, comprising:

[0036] A second controller is configured to perform the method described in any of the second aspects.

[0037] In a seventh aspect, embodiments of this application provide an image forming system, including:

[0038] Consumables as described in either the fourth or fifth aspect;

[0039] The image forming apparatus described in the sixth aspect;

[0040] The image forming apparatus and the information processing apparatus are communicatively connected.

[0041] In this embodiment, the information processing device can generate shorter target verification information, and the image forming apparatus verifies the original data based on this shorter target verification information. Because the target verification information is shorter, the communication time between the image forming apparatus and the consumables can be shortened during transmission of the target verification information. This addresses the problem in the prior art where, during consumable verification, the longer data length of the verification information, coupled with the inherently low communication efficiency between the image forming apparatus and the consumables, leads to a longer transmission time, resulting in a longer time required for the image forming apparatus to process the next task or proceed to the next stage. Attached Figure Description

[0042] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0043] Figure 1 A structural block diagram of an image forming system provided in an embodiment of this application;

[0044] Figure 2 This is a schematic diagram of the structure of an image forming apparatus provided in an embodiment of this application;

[0045] Figure 3 This is a schematic diagram of the structure of an image forming system provided in an embodiment of this application;

[0046] Figure 4 This is a schematic diagram of another image forming system provided in an embodiment of this application;

[0047] Figure 5 A flowchart illustrating a data verification method provided in an embodiment of this application;

[0048] Figure 6 A flowchart illustrating another data verification method provided in this application embodiment;

[0049] Figure 7 A flowchart illustrating another data verification method provided in this application embodiment;

[0050] Figure 8A flowchart illustrating another data verification method provided in this application embodiment;

[0051] Figure 9 A flowchart illustrating another data verification method provided in this application embodiment;

[0052] Figure 10 A structural block diagram of a consumable chip provided in an embodiment of this application;

[0053] Figure 11 This is a schematic diagram of the structure of a consumable provided in an embodiment of this application;

[0054] Figure 12 This is a schematic diagram of the structure of another consumable provided in an embodiment of this application;

[0055] Figure 13 This is a schematic diagram of the structure of another consumable provided in an embodiment of this application;

[0056] Figure 14 This is a schematic diagram of the structure of another consumable provided in an embodiment of this application;

[0057] Figure 15 This is a schematic diagram of the structure of another consumable provided in an embodiment of this application;

[0058] Figure 16 This is a schematic diagram of the structure of another consumable provided in an embodiment of this application;

[0059] Figure 17 This is a schematic diagram of the structure of another consumable provided in an embodiment of this application;

[0060] Figure 18 This is a schematic diagram of the structure of another consumable provided in an embodiment of this application;

[0061] Figure 19 This is a structural block diagram of an image forming apparatus provided in an embodiment of this application. Detailed Implementation

[0062] To better understand the technical solution of this application, the embodiments of this application will be described in detail below with reference to the accompanying drawings.

[0063] It should be understood that the described embodiments are merely some, not all, of the embodiments in this application. All other embodiments obtained by those skilled in the art based on the embodiments in this application without inventive effort are within the scope of protection of this application.

[0064] The terminology used in the embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. The singular forms “a,” “foreword,” and “the” used in the embodiments of this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.

[0065] It should be understood that the term "and / or" used in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.

[0066] See Figure 1 This is a structural block diagram of an image forming system provided in an embodiment of this application. Figure 1 As shown, the image forming system includes an image forming apparatus and consumables. The image forming apparatus is the part of the image forming system that performs the image forming operation, and the consumables are replaceable parts of the image forming system. For example, when the image forming apparatus is an inkjet printer, laser printer, 3D printer, label printer, or dot matrix printer, the corresponding consumables are ink cartridges, toner cartridges, drum units, toner cartridges, ribbon cartridges, etc.

[0067] One feasible approach is to use a separate structure for the consumables, comprising a drum cartridge and a developing cartridge that are detachable from each other. The drum cartridge includes a photosensitive drum and a charging roller, while the developing cartridge includes a developer container, a developing roller, and a developer delivery element. Another feasible approach is to use a single, integrated structure for the consumables, such as including a developer container, a developing roller, a developer delivery element, a photosensitive drum, and a charging roller.

[0068] Furthermore, the consumable may also consist only of a housing and a developer container. It should be noted that the consumable may also be the aforementioned developer cartridge or drum cartridge. The aforementioned developer container is used to hold a developer such as toner, and the developer delivery element is a component such as a toner feed roller or a toner feed screw used for stirring and / or conveying the toner. Of course, the aforementioned developer cartridge may also consist only of the aforementioned developer container, and this is not limited here. Furthermore, the aforementioned developer cartridge may also consist only of the aforementioned developer container and developer delivery element, and this is not limited here.

[0069] In one possible implementation, the consumable may also include a toner cartridge and / or an imaging assembly. The toner cartridge is used to deliver toner to the imaging assembly when the toner in the imaging assembly is insufficient, so that the image forming apparatus can form an image based on the toner delivered by the imaging assembly. When the consumable is a toner cartridge, it may only include a housing and a developer container, or it may include a housing, a developer container, and a developer delivery element; this application does not limit this. When the consumable is an imaging assembly, it may include a housing, a developer container, a developer delivery unit, a charging roller, a photosensitive drum, etc.; this application's embodiments do not limit this.

[0070] It should be noted that the consumables mentioned in the embodiments of this application can also be other easily damaged components, parts, or units (such as paper boxes) in the image forming apparatus that need to be replaced, which also belong to the technical solutions corresponding to the consumables protected in this application.

[0071] To facilitate consumable management, the consumable is used in conjunction with a consumable chip, which is an electronic device with storage capabilities. The consumable chip may also include a first controller (e.g., a microcontroller unit (MCU)) or other information processing components. In one embodiment, the consumable chip can be installed on the consumable, either before or after the consumable leaves the factory. In another embodiment, the consumable chip does not need to be installed on the consumable; instead, it is fixed to the image forming apparatus using mounting hardware or adhesive. When the image forming apparatus uses the consumable, the contact points of the consumable chip make electrical contact with the corresponding contact terminals of the image forming apparatus, thereby achieving electrical connection between the consumable chip and the image forming apparatus. When the image forming apparatus is not using the consumable (the consumable is not in operation), the contact points of the consumable chip may or may not make contact with the corresponding contact terminals of the image forming apparatus. For example, when the consumable is installed in the image forming apparatus but not used, or when the consumable is removed from the image forming apparatus. It should be noted that when the consumables are of the aforementioned split structure, including the drum cartridge and the developing cartridge which are detachable from each other, the drum cartridge and the developing cartridge are usually equipped with consumable chips respectively.

[0072] When consumables are installed on an image forming apparatus, the consumable chip communicates with the image forming apparatus. This communication connection can be via contacts, antennas, or coils, and this application embodiment does not limit this. It should be noted that the consumable chip stores information including raw data, which is information related to the image forming system. For example, the raw data can include at least one of the following categories: 1) Imaging control related parameters, such as printing engine control parameter information, specifically high-pressure control parameters, fixing temperature parameters, paper feed speed control parameters, etc. When the image forming apparatus is a color printer, it also includes color calibration parameter information or calibration patterns; 2) Consumable related parameters, such as various proportional factors for calculating toner consumption; or basic attribute information of the consumables, which specifically may include the consumable model, serial number, and capacity life. It should be noted that those skilled in the art can also design the consumable chip to store other types of raw data according to actual needs, and this application embodiment does not limit this.

[0073] For details, see Figure 2 This is a schematic diagram of the structure of an image forming system provided in an embodiment of this application. The second communication interface 211 of the first consumable chip 210 can be electrically connected to the first communication interface 204 of the image forming apparatus 200, thereby electrically connecting to the processor 201 of the image forming apparatus 200 through the first communication interface 204. In one embodiment, the first communication interface 204 and the second communication interface 211 can be I2C interfaces respectively. The second power supply interface 212 of the consumable chip 210 can be electrically connected to the first power supply interface 205 of the image forming apparatus 200, thereby allowing the image forming apparatus 200 to supply power to the consumable chip 210 through the first power supply interface 205 and the second power supply interface 212. In one embodiment, the information processing device described in this application includes a first consumable chip and a second consumable chip. In some embodiments, the first consumable chip 210 and the second consumable chip 220 form a chipset, see [link to relevant documentation]. Figure 3The first consumable chip 210 and the second consumable chip 220 are communicatively connected. When the image forming apparatus 200 and the first consumable chip 210 communicate, the image forming apparatus 200 acts as the master, sending instructions to the first consumable chip 210, and the first consumable chip 210 acts as the slave, responding to the instructions sent by the master. When the first consumable chip 210 and the second consumable chip 220 communicate, the first consumable chip 210 acts as the master, sending instructions to the second consumable chip 220, and the second consumable chip 220 acts as the slave, responding to the instructions sent by the first consumable chip 210. The instructions sent from the first consumable chip 210 to the second consumable chip 220 can be generated by the first consumable chip 210 or forwarded by the first consumable chip 210 from the image forming apparatus 200. In this case, the first consumable chip 210 determines which device should handle the instructions sent by the image forming apparatus 200; if it determines that the second consumable chip 220 should handle it, it forwards the instructions to the second consumable chip 220. The third communication interface 213 of the first consumable chip 210 can be electrically connected to the fourth communication interface 221 of the second consumable chip 220. In one embodiment, the third communication interface 213 and the fourth communication interface 221 can be wired communication interfaces, preferably I2C interfaces, or optical, infrared, or other suitable information transmission path interfaces. In some embodiments, a switch controlled by the first consumable chip is provided in the communication link between the first consumable chip, the second consumable chip, and the image forming apparatus. When the first consumable chip determines that communication between the first consumable chip and the image forming apparatus is required at the current stage, it connects the communication link between the first consumable chip and the image forming apparatus through the switch, or keeps the communication link between the first consumable chip and the image forming apparatus connected. When the first consumable chip determines that communication between the second consumable chip and the image forming apparatus is required at the current stage, it connects the communication link between the second consumable chip and the image forming apparatus through the switch. When the first consumable chip determines that communication between the second consumable chip and the image forming apparatus is not required at the current stage, it disconnects the communication link between the second consumable chip and the image forming apparatus through the switch. The information processing device described in this application embodiment may include a chipset, which comprises a first consumable chip 210 and a second consumable chip 220.

[0074] Furthermore, the image forming apparatus includes an image forming control unit and an image forming unit, wherein the image forming control unit is used to control the entire image forming apparatus, and the image forming unit is used to form an image on the fed paper based on image data under the control of the image forming control unit.

[0075] The image forming control unit can be a System on Chip (SoC). An SoC is a miniature system composed of multiple system components, configured to control the imaging processing operations of the image forming apparatus. This includes processes such as linear correction, noise reduction, bad pixel removal, and detail enhancement of image data to improve the quality of the output image. The image forming control unit also performs data transmission and reception, command transmission and reception, and engine control-related processing operations for printing images. For example, it transmits and receives data, print engine control commands, and status information via interface units (including but not limited to USB ports, wired network ports, wireless network ports, or other interfaces).

[0076] See Figure 4 This is a schematic diagram of the structure of an image forming apparatus provided in an embodiment of this application. Figure 4 As shown, the image forming unit of the image forming apparatus may include: a developer container 11, a developing component 12, a developer delivery element 13, a photosensitive component 14, a transfer component 15, and a fixing assembly 5, etc. The paper to be printed moves in the paper feeding direction, and after passing through the toner feeding operation of the developer delivery element 13 and the developing operation of the developing component 12, it reaches the clamping area between the photosensitive component 14 and the transfer component 15 for transfer, and then passes through the fixing assembly 5 for fixing to complete the image forming operation. The developer container 11 is used to hold the developer, which can be a toner, carbon powder, or other materials. The developing component 12 includes a developing roller, etc. The developer delivery element 13 includes a toner feeding roller, etc. The photosensitive component 14 includes a photosensitive drum (OPC, Organic PhotoConductor) and a charging roller, etc., wherein the charging roller is used to charge the photosensitive drum.

[0077] Typically, image forming apparatuses have at least one consumable removably mounted, to Figure 4 Taking the image forming apparatus shown as an example, the image forming apparatus is detachably equipped with four consumables (respectively...). Figure 4 The consumables 1, 2, 3 and 4 shown are used to provide the image forming apparatus with four colors of developer: black (K), cyan (C), magenta (M) and yellow (Y). Of course, in other embodiments, the number of consumables installed in the image forming apparatus can be increased or decreased, for example, to 5 or 6 or even more or less, etc. This application does not limit this.

[0078] In existing technologies, to ensure the security of the original data stored in the consumable chip, verification information calculated using common algorithms such as SHA-512 is typically used to verify the original data. However, the inventors discovered through research that the verification information in the above verification methods is quite long. Given the already low communication efficiency between the image forming apparatus and the consumable, the transmission of this verification information takes a considerable amount of time. This results in a longer processing time for the image forming apparatus to complete the verification of the original data before proceeding to the next task or entering the next stage (such as entering the print-ready state, the print engine feeding the paper, or rendering the received image). This may lead to problems such as untimely task processing and high system overhead.

[0079] To address the aforementioned issues, this application provides a data verification method. The consumable chip can generate short target verification information, and the image forming apparatus verifies the original data based on this short target verification information. Because the target verification information is short, the communication time between the image forming apparatus and the consumable chip can be shortened during transmission. This solves the problem in the prior art where, during consumable verification, the long data length of the verification information, coupled with the inherently low communication efficiency between the image forming apparatus and the consumable, results in a long transmission time, leading to a longer processing time for the image forming apparatus to proceed to the next task or stage.

[0080] See Figure 5 This is a flowchart illustrating a data verification method provided in an embodiment of this application. This method can be applied to... Figure 1 , Figure 2 and Figure 3 The application scenarios shown are as follows: Figure 5 As shown, it mainly includes the following steps.

[0081] Step S301: The image forming apparatus sends a verification request to the consumable chip.

[0082] In this embodiment, the verification request is used to instruct the consumable chip to return the original data and the verification information corresponding to the original data. The verification information corresponding to the original data is information that can be used to perform security verification on the original data.

[0083] Step S302: The consumable chip sends raw data and target verification information to the image forming apparatus based on the verification request.

[0084] Specifically, after receiving the verification request sent by the image forming apparatus, the consumable chip can send raw data and target verification information to the image forming apparatus based on the verification request. The target verification information involved in this embodiment is verification information with a relatively short data length. Specifically, compared with the verification information directly obtained by calculating the raw data using common algorithms such as SHA-512, the target verification information has a shorter data length. The generation process of the target verification information will be described in detail below. It can be understood that the consumable chip sends raw data and target verification information to the image forming apparatus based on the request. Specifically, it can send raw data and target verification information simultaneously; for example, the consumable chip sends a single communication command to the image forming apparatus to achieve the transmission of raw data and target verification information. Alternatively, it can send raw data and target verification information at different times; for example, the consumable chip sends different communication commands to the image forming apparatus at different times to achieve the transmission of raw data and target verification information.

[0085] Step S303: The image forming apparatus verifies the original data based on the target verification information.

[0086] Specifically, after receiving the raw data and target verification information sent by the consumable chip, the image forming apparatus can perform security verification on the raw data based on the target verification information. That is, at least part of the data in the target verification information is used to verify the raw data. The embodiments of this application do not limit the composition of the target verification information, as long as the target verification information contains content that can be used to verify the raw data.

[0087] Specifically, security verification of raw data refers to the process of confirming the integrity and availability of the raw data. Integrity means that the raw data is not accidentally modified, maliciously altered, or deleted during storage, processing, and transmission. Availability means that the raw data can be correctly obtained and used, ensuring that the raw data can be accessed and utilized in a timely and accurate manner. After receiving the raw data and target verification information sent by the consumable chip, the image forming apparatus generates benchmark verification information based on the raw data in the same way as generating the target verification information based on the raw data. Then, it compares the received target verification information and benchmark verification information to determine whether they are consistent. If there is any inconsistency, the raw data fails the security verification. Furthermore, the image forming apparatus can determine that the consumable is abnormal.

[0088] In this embodiment, since the target verification information is relatively short, the communication time between the image forming apparatus and the consumable chip can be shortened when transmitting the target verification information. This helps to solve the problem in the prior art where, during the verification of consumables, the data length of the verification information is relatively long, and the communication efficiency between the image forming apparatus and the consumable is inherently low, resulting in a long transmission time for the verification information and a long time required for the image forming apparatus to process the next task or enter the next stage.

[0089] See Figure 6 This is a flowchart illustrating another data verification method provided in an embodiment of this application. Figure 6 As shown, the method is in Figure 5 After step S301 and before step S302 is completed, the following steps are also included.

[0090] Step S401: The consumable chip sends the first calculation factor to the image forming apparatus based on the above verification request.

[0091] Specifically, after receiving the verification request sent by the image forming apparatus, the consumable chip can determine the first calculation factor based on the verification request. The specific determination method can be to randomly select a number from the preset first data set as the first calculation factor, or to determine the first calculation factor in other ways. This application embodiment does not limit this. Then, the first calculation factor is sent to the image forming apparatus. The first calculation factor is used to generate the first intermediate data.

[0092] It is understood that the raw data and the first calculation factor sent by the consumable chip to the image forming apparatus can be sent simultaneously. For example, the consumable chip sends the raw data and the first calculation factor to the image forming apparatus based on the same data frame. Alternatively, the raw data and the first calculation factor can be sent separately. For example, the consumable chip sends the raw data and the first calculation factor to the image forming apparatus through different data frames, thereby realizing the transmission of the raw data and the first calculation factor.

[0093] Step S402: The image forming apparatus generates first intermediate data based on the first calculation factor.

[0094] In one possible implementation, after receiving the first calculation factor, the image forming apparatus can generate first intermediate data based on the first calculation factor according to a preset algorithm. That is, in this implementation, the first intermediate data is generated solely based on the first calculation factor generated by the consumable chip. In another possible implementation, after receiving the first calculation factor, the image forming apparatus generates a second calculation factor, and then generates the first intermediate data based on the first and second calculation factors according to a third algorithm. That is, in this implementation, the first intermediate data is generated simultaneously based on both the first calculation factor generated by the consumable chip and the second calculation factor generated by the image forming apparatus. This application does not limit the method of generating the first intermediate data, as long as the first calculation factor is involved.

[0095] For ease of explanation, the first calculation factor will be labeled "R1"; the second calculation factor will be labeled "R2"; and the first intermediate data will be labeled "M" in the following text.

[0096] For example, the first calculation factor R1 is any data in the first data set. After obtaining the first calculation factor R1, the data corresponding to R1 is searched in a preset one-dimensional data table using R1 as the coordinate, and the searched data corresponding to R1 is used as the first intermediate data M.

[0097] For example, the first calculation factor R1 is any data in the first data set, and the second calculation factor R2 is any data in the second data set. After obtaining the first calculation factor R1 and the second calculation factor R2, data is searched in a preset data table using (R1, R2) as coordinates, and the searched data is used as the first intermediate data M.

[0098] For example, the first calculation factor R1 and the second calculation factor R2 are both random integers. After obtaining the first calculation factor R1 and the second calculation factor R2, R1+R2 is calculated, and the result of R1+R2 is converted into data of the corresponding number of bits (e.g., 8 bits or 16 bits) to obtain the first intermediate data M. For example, if the data in the first data set is binary integers ranging from 1 to 1111111, and the data in the second data set is binary integers ranging from 1 to 10000000, with a corresponding bit length of 8 bits, then when R1 is the binary number 1010000 and R2 is the binary number 10010, the resulting binary number M is 8 bits, so M = R1 + R2 = 1010000 + 10010 = 01100010. Alternatively, if the data in the first data set is decimal integers ranging from 0 to 32767, and the data in the second data set is decimal integers ranging from 0 to 32768, with a corresponding bit length of 16 bits, then when R1 is the decimal number 32000 and R2 is the decimal number 31000, M = R1 + R2 = 32000 + 31000 = 63000, which is converted to a 16-bit binary number of 1111011000011000.

[0099] In this embodiment, because the image forming apparatus generates first intermediate data based on the first calculation factor sent by the consumable chip, the generation process of the first intermediate data is more random, thus improving the security of data verification. Specifically, the consumable chip and the image forming apparatus each provide a first calculation factor R1 and a second calculation factor R2 respectively each time the data verification method provided in this embodiment is executed. Both R1 and R2 are used to generate the first intermediate data, meaning that both the consumable chip and the image forming apparatus participate in the generation process of the first intermediate data. Compared to a system where only one party determines the generation of the first intermediate data, the generation process of the first intermediate data based on the first calculation factor R1 and the second calculation factor R2 provided by the consumable chip and the image forming apparatus respectively is random for either the image forming apparatus or the consumable chip, making it less susceptible to forgery and improving the security of data verification.

[0100] Of course, those skilled in the art can use other methods to generate the first intermediate data M according to actual needs. In addition, in the process of generating the first intermediate data M, besides using the first calculation factor R1 and the second calculation factor R2, it may be necessary to use other data, and the embodiments of this application do not impose specific limitations on this.

[0101] Step S403: The image forming apparatus sends first intermediate data to the consumable chip.

[0102] Specifically, after generating the first intermediate data M, the image forming apparatus sends the first intermediate data M to the consumable chip.

[0103] Step S404: The consumable chip selects a portion of data from the first verification information based on the first intermediate data. After obtaining the first intermediate data M, the consumable chip can select a portion of data from the first verification information based on the first intermediate data M.

[0104] In one embodiment of this application, the first verification information is generated based on the original data according to a preset first algorithm. For example, the first algorithm is a commonly used algorithm such as SHA-512. It is understood that the data length of the first verification information generated by processing the original data using a commonly used algorithm such as SHA-512 is relatively long; for example, the data length of the first verification information generated by processing the original data using the SHA-512 algorithm reaches 64 bytes. This embodiment of the application does not limit the entity that generates the first verification information. It can be generated by the consumable chip based on the original data according to the first algorithm, or it can be generated by an entity other than the consumable chip and then provided to the consumable chip for the consumable chip to use the first verification information to determine the target verification information.

[0105] In one possible implementation, the consumable chip pre-stores the calculation logic of commonly used algorithms such as SHA-512 as a preset first algorithm, and stores the original data. Before selecting some data from the first verification information based on the first intermediate data, the consumable chip first generates the first verification information based on the original data according to the first algorithm.

[0106] In another possible implementation, the consumable chip does not need to store the calculation logic of commonly used algorithms such as SHA-512 as the preset first algorithm. Instead, the first verification information is directly pre-written into it, that is, the consumable chip pre-stores the first verification information.

[0107] It should be noted that the consumable chip selects a portion of the data from the first verification information based on the first intermediate data, which may be interpreted in several ways:

[0108] First: After receiving the first intermediate data, the consumable chip selects a portion of the data from the first verification information based on the first intermediate data;

[0109] Second: After receiving the first intermediate data, the consumable chip selects a portion of the data from the first verification information according to a preset rule. This application does not impose specific limitations on the preset rule.

[0110] It can either select some data from the first verification information using the first intermediate data, or select some data from the first verification information without relying on the first intermediate data.

[0111] In the first interpretation, when the consumable chip selects partial data from the first verification information using the first intermediate data, the selected partial data can be generated directly based on the first intermediate data M, or indirectly based on the first intermediate data M. This application does not impose specific limitations on this. For example, in the first implementation, the selected partial data is directly generated based on the first intermediate data M; in the second implementation, partial data can be selected based on the conversion data corresponding to the first intermediate data M, where the conversion data corresponding to the first intermediate data M is the result of calculating the first intermediate data M using a preset algorithm; in the third implementation, preliminary data for the selected partial data can be generated based on the first intermediate data M or the conversion data corresponding to the first intermediate data M, and the preliminary data for the selected partial data can be calculated according to a preset algorithm to generate the selected partial data. That is, this application does not limit the specific method of selecting partial data, as long as the partial data selected by the consumable chip is the same as the partial data of the first verification information.

[0112] In the second interpretation, partial data can also be selected from the first verification information without relying on the first intermediate data. For example, after receiving the first intermediate data, the consumable chip triggers the consumable chip to select partial data from the first verification information using preset rules to determine the partial data. The consumable chip can select partial data from the first verification information using preset rules by dividing the first verification information into several segments and selecting the segments with even numbers from left to right as the selected partial data. For example, if the first verification information is divided into 8 segments, ABCDEFGH, and segments 2, 4, 6, and 8 are selected, i.e., BDFH, it can also be that data from a predetermined segment is directly selected from the first verification information as the selected partial data. For example, the predetermined segment is segments 1, 3, and 5, i.e., ACE.

[0113] It should be noted that, in this application embodiment, it is only necessary to ensure that at least a portion of the data in the target verification information corresponds to a portion of the data in the first verification information. The specific method for the consumable chip to select a portion of the data from the first verification information based on the first intermediate data and generate the target verification information based on the selected portion of the data is not limited.

[0114] Step S405: The consumable chip generates the aforementioned target verification information based on the selected portion of the data, wherein the data length of the target verification information is shorter than the data length of the aforementioned first verification information.

[0115] In one possible implementation, the selected portion of the data can be directly used as the target verification information, thus the data length of the target verification information is shorter than the data length of the first verification information.

[0116] In another possible implementation, target verification information can be generated based on selected partial data combined with other data, and the data length of the target verification information is shorter than the data length of the first verification information. In this embodiment, the selection of other data is not limited, as long as the data length of the final generated target verification information is shorter than the data length of the first verification information. For example, the target verification information is composed of other data and selected partial data, wherein the other data serves as the data header of the target verification information, and the selected partial data serves as other components of the target verification information.

[0117] In another possible implementation, target verification information can be generated by using a preset algorithm based on selected partial data.

[0118] In another possible implementation, target verification information can be generated based on a portion of the selected data. The selected data can be used directly as target verification information, or it can be combined with other data to generate target verification information. Alternatively, a preset algorithm can be used to calculate and generate target verification information, as long as the data length of the target verification information is shorter than the data length of the first verification information.

[0119] Based on the foregoing, target verification information is generated from the first intermediate data and the first verification information.

[0120] Please continue reading. Figure 6 The embodiments of this application are in Figure 5 The step S302 shown is followed by step S406: the image forming apparatus selects a portion of the data from the second verification information based on the first intermediate data.

[0121] In this embodiment of the application, the second verification information is generated based on the original data according to a preset first algorithm.

[0122] In one embodiment of this application, the second verification information is generated by the image forming apparatus based on the original data according to a preset first algorithm. For example, the first algorithm is a commonly used algorithm such as SHA-512. It is understood that the data length of the second verification information generated by processing the original data using a commonly used algorithm such as SHA-512 is relatively long; for example, the data length of the second verification information generated by processing the original data using the SHA-512 algorithm reaches 64 bytes.

[0123] It should be noted that, in order to ensure that the verification result of the image forming apparatus on the original data based on the target verification information is correct, the first algorithm used by the image forming apparatus to generate the second verification information based on the original data is the same algorithm used to generate the first verification information in step S404.

[0124] It should be noted that in this embodiment, the method by which the image forming apparatus selects part of the data from the second verification information based on the first intermediate data is the same as the method by which the consumable chip selects part of the data from the first verification information based on the first intermediate data in step S404 above. Therefore, the specific content can be found in the description of step S404 above. For the sake of brevity, it will not be repeated here.

[0125] S407: The image forming apparatus generates reference verification information based on selected partial data.

[0126] After generating the second verification information, the image forming apparatus selects a portion of the data from the second verification information based on the first intermediate data M, and generates reference verification information based on the selected portion of the data.

[0127] It should be noted that in this embodiment, the method of generating the benchmark verification information is the same as the method of generating the target verification information above. Therefore, its specific content can be found in the description of the target verification information section above. For the sake of brevity, it will not be repeated here.

[0128] Please continue reading. Figure 6 The embodiments of this application are in Figure 5 The step S303 shown specifically includes step S3031: compare the aforementioned target verification information and the aforementioned benchmark verification information. If the two are consistent, the verification is determined to be passed; if the two are inconsistent, the original data is determined to have failed the verification.

[0129] As mentioned above, the second verification information and the benchmark verification information are generated in the same way as the first verification information and the target verification information. Therefore, assuming no abnormalities occur in the original data stored in the consumable chip and no abnormalities occur in the data transmission between the consumable and the image forming apparatus, the benchmark verification information and the target verification information should be consistent, meaning the original data is secure. The security of the original data can be determined by comparing the benchmark verification information and the target verification information. Specifically, if the benchmark verification information and the target verification information are consistent, the verification is considered successful; if they are inconsistent, the verification is considered unsuccessful.

[0130] In one embodiment of this application, if the verification fails, it indicates that the storage of the consumable chip and / or the communication link between the consumable and the image forming apparatus is abnormal and unreliable. The image forming apparatus can then determine that the consumable is abnormal and may further perform operations such as restricting the use of the consumable. If the verification passes, it indicates that the storage of the consumable chip and the communication link between the consumable and the image forming apparatus are reliable. The image forming apparatus can then determine that the consumable is normal.

[0131] See Figure 7This is a flowchart illustrating another data verification method provided in an embodiment of this application. Figure 7 As shown, the method is in Figure 5 The steps shown in step S404 specifically include the following steps.

[0132] Step S4041: The consumable chip processes the first intermediate data based on a preset second algorithm to generate the second intermediate data.

[0133] For ease of explanation, the second intermediate data will be labeled "P" in the following text.

[0134] It should be noted that the first intermediate data M can be binary data or non-binary data. When the first intermediate data M is not binary data, the consumable chip needs to first convert the first intermediate data M to obtain the corresponding binary data, and then process the obtained binary data based on the preset second algorithm to generate the second intermediate data P.

[0135] In one possible implementation, the first intermediate data M is 8 bits of binary data. The preset second algorithm is as follows: identify the first N significant bits in the first intermediate data M from left to right, where significant bits are binary bits with the value "1" and invalid bits are binary bits with the value "0", and N≥1 (for example, N can be 1, 2, 3, or 5, etc.); when the first N significant bits in the first intermediate data M are identified, set the binary bits in the first intermediate data M other than the first N significant bits from left to right to invalid bits to obtain the second intermediate data P; when the identification of each bit of the first intermediate data M is completed, if the number of significant bits identified is < N, then the first intermediate data M is bitwise inverted, and the binary bits of the number obtained after bitwise inversion are set to invalid bits except for the first N significant bits from left to right to obtain the second intermediate data P; when the identification of each bit of the first intermediate data M is completed, if the number of significant bits identified is 0, the second intermediate data P is set to binary data, and P = 00101001.

[0136] The corresponding preset rules are as follows:

[0137] (1) When the first intermediate data M is an 8-bit binary number and the number of valid bits is ≥ N, the second intermediate data P is an 8-bit binary number with a number of valid bits = N and a number of invalid bits = 8-N. The position of the valid bits of the second intermediate data P is the same as the position of the first N valid bits of the first intermediate data M in the order from left to right.

[0138] (2) When the first intermediate data M is an 8-bit binary number and 0 < number of significant bits < N, the second intermediate data P is equal to the binary number of the first intermediate data M after bitwise inversion, with the bits other than the first N significant bits from left to right set as invalid bits.

[0139] (3) When the first intermediate data M is an 8-bit binary number and the number of effective bits is 0, the second intermediate data P is an 8-bit binary number and P = 00101001.

[0140] For example, the first intermediate data M = 10100101 is identified according to the conditions of "the valid bits are binary bits with the value '1' and the invalid bits are binary bits with the value '0'", "N = 3" and "the valid bits are identified in order from left to right". The first 3 valid bits identified are the 1st, 3rd and 6th binary bits in M. After setting the binary bits other than these 3 valid bits as invalid bits, the obtained second intermediate data P is binary data, P = 10100100.

[0141] For example, the first intermediate data M = 00100100. According to the conditions of "the valid bits are binary bits with the value '1' and the invalid bits are binary bits with the value '0'", "N = 3", and "the valid bits are identified in order from left to right", the valid bits in the first intermediate data M are identified. The two identified valid bits are the 3rd and 6th binary bits in M, respectively. 0 < number of valid bits < N. The first intermediate data M is inverted bitwise to obtain the binary number 11011011. The binary bits of the inverted number 11011011 other than the first N valid bits from left to right are set as invalid bits. The second intermediate data P = 11010000.

[0142] For example, if the first intermediate data M = 00000000, the valid bits in the first intermediate data M are identified according to the conditions of "the valid bits are binary bits with the value '1' and the invalid bits are binary bits with the value '0'", "N = 3", and "the valid bits are identified in order from left to right". When each bit of the first intermediate data M is identified, the number of valid bits identified is 0. The second intermediate data P is set to binary data and P = 00101001.

[0143] It should be noted that the above-described possible implementation is only one of many possible implementations. In other possible implementations, the order of recognizing the valid bits of the first intermediate data M in the preset second algorithm can also be from right to left, and the valid bits can be binary bits with a value of '0', while the invalid bits are binary bits with a value of '1'. Those skilled in the art can also set the preset second algorithm to other algorithms according to actual needs, and this application embodiment does not limit this. It should also be noted that the consumable chip can directly process the first intermediate data based on the preset second algorithm to generate the second intermediate data, or it can indirectly process the first intermediate data based on the preset second algorithm to generate the second intermediate data, as long as the second intermediate data generated by the consumable chip conforms to the corresponding preset rules.

[0144] The consumable chip indirectly processes the first intermediate data based on a preset second algorithm to generate the second intermediate data, which may include the following implementation methods:

[0145] In one possible implementation, the first intermediate data M is a binary number. After obtaining the first intermediate data M, the consumable chip processes the first intermediate data M by bit inversion or other methods to obtain the converted data of the first intermediate data M. It then transforms the operation rules in the preset second algorithm to obtain the modified algorithm of the preset second algorithm. Finally, it processes the converted data of the first intermediate data M based on the modified algorithm of the preset second algorithm to generate the second intermediate data P.

[0146] In one possible implementation, the first intermediate data M is a binary number. The consumable chip transforms the operation rules in the preset second algorithm to obtain a modified algorithm of the preset second algorithm. After obtaining the binary data first intermediate data M, the consumable chip processes the first intermediate data M based on the modified algorithm of the preset second algorithm to obtain the preliminary data of the second intermediate data P. Then, the preliminary data of the second intermediate data P is processed to obtain the second intermediate data P.

[0147] In one possible implementation, the first intermediate data M is a binary number. After obtaining the binary data first intermediate data M, the consumable chip processes the first intermediate data M by bit inversion or other methods to obtain the converted data of the first intermediate data M. Then, based on a preset second algorithm, the converted data of the first intermediate data M is processed to generate the preliminary data of the second intermediate data P. Then, the preliminary data of the second intermediate data P is processed to obtain the second intermediate data P.

[0148] Of course, those skilled in the art can use other methods to generate the second intermediate data P according to actual needs, and the embodiments of this application do not impose specific limitations on this.

[0149] Step S4042: The consumable chip selects a portion of the data from the first verification information based on the second intermediate data.

[0150] In a specific implementation, the consumable chip can select data that matches the valid bits in the second intermediate data P from at least a portion of the data in the first verification information, based on the second intermediate data P, to obtain the selected partial data.

[0151] It should be noted that the selected partial data can be generated directly based on the second intermediate data P, or indirectly based on the second intermediate data P. This application embodiment does not impose specific limitations on this. For example, in the first implementation, the selected partial data is generated directly based on the second intermediate data P; in the second implementation, the partial data can also be generated based on the transformed data corresponding to the second intermediate data P, wherein the transformed data of the second intermediate data P is the result obtained by calculating the second intermediate data P using a preset algorithm; in the third implementation, preliminary data of the partial data can be generated based on the second intermediate data P or the transformed data corresponding to the second intermediate data P, and then the preliminary data of the target verification information can be transformed using a preset algorithm to obtain the selected partial data.

[0152] For example, the first check information is 64 bytes of data. Dividing this first check information into 8 sub-check information segments, each sub-check information segment contains 8 bytes, or 64 bits. For instance, the second intermediate data P = 00100110 (valid bits are binary bits with a value of "1", invalid bits are binary bits with a value of "0"), and the 8 sub-check information segments are ABCD EFGH. Based on the second intermediate data P, the 3rd sub-check information segment "C", the 6th sub-check information segment "F", and the 7th sub-check information segment "G" are selected from the 8 sub-check information segments. These selected bits are then combined to obtain the target check information, CFG. It is understood that the selected data is only a part of the first verification information. Target verification information is generated based on the selected data. The data length of the target verification information can be shorter than that of the first verification information. Therefore, the communication time between the image forming apparatus and the consumable chip can be shortened. This helps to solve the problem in the prior art where, during the verification of consumables, the data length of the verification information is relatively long, and the communication efficiency between the image forming apparatus and the consumable is inherently low, resulting in a long transmission time for the verification information. This leads to a long time required for the image forming apparatus to process the next task or enter the next stage.

[0153] It should be further explained that, in addition to generating target verification information based on the second intermediate data P and the first verification information in the embodiments of this application, the target verification information can also be generated directly based on the aforementioned first intermediate data M, selecting data whose valid bits match in the first verification information, and then generating the aforementioned target verification information based on the selected data. For example, taking the binary bits with a value of '1' as the valid bits and the number of valid bits as 3, and identifying the valid bits in order from left to right, the first intermediate data M is 10110000, the first verification information is 64 bytes of data, and the first verification information is divided into segments ABCD EFGH, then the sub-verification information segments whose valid bits match selected using the first intermediate data M are A, C, and D, and the target verification information obtained can be ACD. For example, taking a binary bit with a value of '1' as the effective bit and the number of effective bits as 3, and identifying the effective bits in order from left to right, the first intermediate data M is 10111000, and the first check information is 64 bytes of data. The first check information is divided into segments ABCD EFGH. Then, using the first intermediate data M, based on the first 3 "1" bits as effective bits, the sub-check information segments that match the effective bits are selected as A, C, and D, while directly ignoring the "1" bits after the 3rd "1" bit. The resulting target check information can be ACD.

[0154] Of course, those skilled in the art may also select other data from the first verification information according to actual needs, and the embodiments of this application do not impose specific limitations on this.

[0155] Please continue reading. Figure 7 This method is in Figure 5 The steps shown in step S406 specifically include the following steps.

[0156] Step S4061: The image forming apparatus processes the first intermediate data based on a preset second algorithm to generate the third intermediate data.

[0157] For ease of explanation, the third intermediate data will be labeled P' in the following text.

[0158] It should be noted that the first intermediate data M can be binary data or non-binary data. When the first intermediate data M is non-binary data, the image forming device needs to first convert the first intermediate data M to obtain the corresponding binary data, and then process the obtained binary data based on the preset second algorithm to generate the third intermediate data labeled P'.

[0159] In one possible implementation, when the first intermediate data M is binary data, the image forming apparatus can directly process the first intermediate data M after obtaining it to generate the third intermediate data P'.

[0160] The specific process of generating the third intermediate data P' by processing the binary first intermediate data M or the binary data obtained by converting the non-binary first intermediate data M can be referred to the generation process of the second intermediate data P in step S4041 above. Therefore, the specific content of step S4061 can be referred to the description of step S4041 above. For the sake of brevity, it will not be repeated here.

[0161] Step S4062: The image forming apparatus selects a portion of the data from the second verification information based on the third intermediate data.

[0162] In a specific implementation, the image forming apparatus can select data that matches the valid bits in the third intermediate data P' from at least a portion of the data in the second verification information based on the third intermediate data P', and obtain the selected partial data.

[0163] It should be noted that the method for generating the selected partial data in step S4062 is the same as the method for generating the selected partial data in step S4042 above. Therefore, the specific content of step S4062 can be referred to the description of step S4042 above, and will not be repeated here for the sake of brevity.

[0164] See Figure 8 This is a flowchart illustrating another data verification method provided in an embodiment of this application. Figure 8 As shown, the method is in Figure 6 In addition to the above, the following steps are also included.

[0165] Step S601: The consumable chip processes the first intermediate data and the first calculation factor according to the fourth algorithm to generate the second calculation factor verification data.

[0166] For ease of explanation, the second calculated factor verification data will be labeled R2' in the following text.

[0167] As mentioned above, the first intermediate data M can be generated by the image forming apparatus based on the first calculation factor R1 and the second calculation factor R2 according to the third algorithm. Therefore, by processing the first intermediate data M and the first calculation factor R1 according to the fourth algorithm, the second calculation factor verification data R2' corresponding to the second calculation factor R2 can be generated, wherein the third algorithm and the fourth algorithm are inverse operations of each other. For example, if the first calculation factor R1 is any data in the first data set, and the second calculation factor R2 is any data in the second data set. After obtaining the first calculation factor R1 and the second calculation factor R2, the image forming apparatus uses (R1, R2) as coordinates to search for data in a preset data table, and uses the searched data as the first intermediate data M. Conversely, the consumable chip can use the first intermediate data M and the horizontal coordinate R1 (the first calculation factor) to search for the vertical coordinate R2' (the second calculation factor verification data) corresponding to the first intermediate data M in the preset data table.

[0168] It should be noted that, according to actual needs, those skilled in the art can also indirectly process the first intermediate data M and the first calculation factor R1 according to the fourth algorithm to generate the second calculation factor verification data R2'. For example, the data in the first data set is binary integers, ranging from 00000001 to 01111111, and the data in the second data set is binary integers, ranging from 00000001 to 10000000, with a corresponding bit length of 8 bits. When the first calculation factor R1 is the binary number 01010000, the second calculation factor R2 is the binary number 00010010, the third algorithm is addition, the fourth algorithm is subtraction, M is a binary number, and M = R1 + R2 = 01010000 + 000 10010 = 01100010. The consumable chip can perform calculations: subtracting 00000001 from the first intermediate data M yields M' as 01100001; subtracting 00000001 from the first calculation factor R1 yields R3 as 01001111; and subtracting R3 from M' yields R2' as 00010010. This is equal to 00010010 obtained by directly processing the first intermediate data M and the first calculation factor R1 using the fourth algorithm. Of course, those skilled in the art can use other methods to generate the second calculation factor verification data R2' according to actual needs. This application embodiment does not impose specific limitations on this, as long as the generated second calculation factor verification data R2' is equal to the data generated by directly processing the first intermediate data M and the first calculation factor R1 using the fourth algorithm.

[0169] Step S602: The consumable chip sends the second calculation factor verification data to the image forming apparatus.

[0170] Specifically, after obtaining the second calculation factor verification data R2', the consumable chip can send the second calculation factor verification data R2' to the image forming apparatus so that the image forming apparatus can verify the consumable based on the second calculation factor verification data R2'.

[0171] It is understood that the consumable chip can send the second calculation factor verification data R2' and the aforementioned target verification information to the image forming apparatus simultaneously. For example, the consumable chip sends the second calculation factor verification data R2' and the target verification information to the image forming apparatus based on the same data frame. Alternatively, the consumable chip can send the second calculation factor verification data R2' and the target verification information separately to the image forming apparatus based on different data frames, thereby realizing the transmission of the second calculation factor verification data R2' and the target verification information.

[0172] Step S603: The image forming apparatus compares the second calculation factor verification data and the second calculation factor to determine whether they are consistent. If they are inconsistent, the consumable is determined to be abnormal.

[0173] It is understandable that if the consumable is normal, the second calculation factor R2 and the second calculation factor verification data R2' should be consistent; if the consumable is abnormal, the second calculation factor R2 and the second calculation factor verification data R2' will not be consistent. Therefore, whether the consumable is abnormal can be determined based on the comparison result of the second calculation factor R2 and the second calculation factor verification data R2'. Specifically, if the second calculation factor R2 and the second calculation factor verification data R2' are consistent, the consumable is normal; if the second calculation factor R2 and the second calculation factor verification data R2' are inconsistent, the consumable is abnormal.

[0174] See Figure 9 This is a flowchart illustrating another data verification method provided in an embodiment of this application. Figure 9 As shown, the method is in Figure 7 In addition to the above, the following steps are also included.

[0175] Step S701: The consumable chip sends second intermediate data to the image forming apparatus.

[0176] Specifically, after generating the second intermediate data P, the consumable chip can send the second intermediate data P to the image forming apparatus so that the image forming apparatus can verify the consumable based on the second intermediate data P. In addition to directly outputting the second intermediate data to the image forming apparatus, the consumable chip can also integrate the second intermediate data into the target verification information.

[0177] Step S702: The image forming apparatus compares the aforementioned second intermediate data and the aforementioned third intermediate data. If the two are inconsistent, it is determined that the aforementioned consumables are abnormal.

[0178] If the consumable chip directly outputs the second intermediate data, the image forming apparatus directly receives the second intermediate data sent by the consumable chip. If the consumable chip integrates the second intermediate data into the target verification information, the image forming apparatus obtains the second intermediate data from the target verification information.

[0179] As mentioned above, the second intermediate data P and the third intermediate data P' are generated in the same way. Therefore, by comparing the second intermediate data P and the third intermediate data P', it can be determined whether the consumable is abnormal. Specifically, if the second intermediate data P and the third intermediate data P' are the same, the consumable is determined to be normal; if the second intermediate data P and the third intermediate data P' are inconsistent, the consumable is determined to be abnormal.

[0180] It should be pointed out that, Figures 5-9 The illustrated process is merely an exemplary description of one or more specific implementations provided in this application and should not be construed as limiting the scope of protection of this application. Those skilled in the art can modify the process according to actual needs without affecting the feasibility of the solution. Figures 5-9 Some steps in the process can be combined or adjusted in other ways. Figures 5-9 The order in which the steps are performed should all fall within the scope of protection of this application.

[0181] For example, it can be Figure 8 Steps S601-S603 and Figure 9 Steps S701-S702 are set in the same embodiment. That is, in this embodiment, the consumables are verified by "comparing the target verification information and the benchmark verification information", "comparing the second calculation factor verification data R2' and the second calculation factor R2", and "comparing the second intermediate data P and the third intermediate data P'". In addition, those skilled in the art can arbitrarily arrange the verification order of the above three verification methods, namely "comparing the target verification information and the benchmark verification information", "comparing the second calculation factor verification data R2' and the second calculation factor R2", and "comparing the second intermediate data P and the third intermediate data P'", and the embodiments of this application do not limit the execution order of the three verification methods.

[0182] Corresponding to the above embodiments, this application also provides a consumable chip.

[0183] See Figure 10 This is a structural block diagram of a consumable chip provided in an embodiment of this application. Figure 10As shown, the consumable chip includes a first controller, preferably an MCU (Microcontroller Unit), which is configured to: receive a verification request sent by the image forming apparatus; send raw data and target verification information to the image forming apparatus based on the verification request, wherein at least a portion of the data in the target verification information is used to verify the raw data; the first controller is further configured to: send a first calculation factor to the image forming apparatus based on the verification request; and receive first intermediate data generated based on the first calculation factor sent by the image forming apparatus.

[0184] Based on the aforementioned first intermediate data and first verification information, the aforementioned target verification information is generated; wherein, the aforementioned first verification information is generated based on the aforementioned original data according to a preset first algorithm, and the data length of the aforementioned target verification information is shorter than the data length of the aforementioned first verification information.

[0185] In one possible implementation, the consumable chip further includes a memory for storing the aforementioned raw data and / or conversion information of the aforementioned raw data.

[0186] In one possible implementation, the consumable chip further includes: a memory for storing the aforementioned first verification information, and / or conversion information of the aforementioned first verification information.

[0187] In one possible implementation, the aforementioned first controller is specifically used to: process the aforementioned first intermediate data based on a preset second algorithm to generate second intermediate data.

[0188] In one possible implementation, the aforementioned first controller is specifically used to: send the aforementioned second intermediate data to the aforementioned image forming apparatus, the aforementioned second intermediate data being used to determine whether the aforementioned consumables are abnormal.

[0189] In one possible implementation, the aforementioned first controller is specifically used for:

[0190] Based on the aforementioned first intermediate data, select a portion of the data from the aforementioned first verification information;

[0191] The aforementioned target verification information is generated based on the selected portion of the data.

[0192] In one possible implementation, at least a portion of the selected data is matched with at least a portion of the valid bits in the first intermediate data.

[0193] In one possible implementation, the aforementioned first controller is specifically used for:

[0194] The aforementioned target verification information is generated based on the aforementioned second intermediate data and the aforementioned first verification information.

[0195] In one possible implementation, the aforementioned first controller is specifically used for:

[0196] Based on the aforementioned second intermediate data, select a portion of the data from the aforementioned first verification information;

[0197] The aforementioned target verification information is generated based on the selected portion of the data.

[0198] In one possible implementation, at least a portion of the selected data is matched with at least a portion of the valid bits in the second intermediate data.

[0199] In one possible implementation, when the aforementioned first intermediate data is binary data, the aforementioned first controller is specifically used for:

[0200] Identify N valid bits in the aforementioned first intermediate data, where N ≥ 1;

[0201] Set all binary bits except the aforementioned N valid bits in the first intermediate data to invalid bits to obtain the aforementioned second intermediate data;

[0202] Alternatively, when the aforementioned first intermediate data is non-binary data, the aforementioned first controller is specifically used for:

[0203] Convert the aforementioned first intermediate data into binary data;

[0204] Identify N valid bits in the obtained binary data, where N ≥ 1;

[0205] Set all binary bits except the aforementioned N valid bits in the obtained binary data to invalid bits to obtain the aforementioned second intermediate data.

[0206] In one possible implementation, when the aforementioned first intermediate data is binary data, the aforementioned first controller is specifically used for:

[0207] Identify N valid bits in the aforementioned first intermediate data in either left-to-right or right-to-left order;

[0208] When the aforementioned first intermediate data is non-binary data, the aforementioned first controller is specifically used for:

[0209] Identify N valid bits in the obtained binary data in either left-to-right or right-to-left order.

[0210] In one possible implementation, the aforementioned valid bits are binary bits with a value of "1", and the aforementioned invalid bits are binary bits with a value of "0".

[0211] Alternatively, the aforementioned valid bits are binary bits with a value of "0", and the aforementioned invalid bits are binary bits with a value of "1".

[0212] In one possible implementation, the aforementioned first controller is further configured to:

[0213] The first intermediate data and the first calculation factor are processed according to the fourth algorithm to generate the second calculation factor verification data.

[0214] The aforementioned second calculation factor verification data is sent to the aforementioned image forming apparatus; the aforementioned second calculation factor verification data is used to determine whether the aforementioned consumables are abnormal.

[0215] In one possible implementation, the aforementioned first controller is specifically used to: process the aforementioned first intermediate data based on a preset second algorithm to generate second intermediate data; select a portion of data from the aforementioned first verification information based on the aforementioned second intermediate data; and generate the aforementioned target verification information based on the selected portion of data.

[0216] In one possible implementation, the aforementioned first controller is specifically used to: select data that matches the valid bits in the aforementioned second intermediate data from at least a portion of the data in the aforementioned first verification information, based on the aforementioned second intermediate data, to obtain the aforementioned target verification information.

[0217] In one embodiment, the consumable chip of this application typically includes a substrate and multiple contact points. The multiple contact points are disposed on the substrate, and each contact point is used to electrically connect with multiple contact terminals disposed on the image forming apparatus, thereby realizing communication between the image forming apparatus and the consumable chip. The multiple contact points may include VCC contact, GND contact, SDA contact, and SCL contact.

[0218] In another embodiment, the consumable chip in this application may further include an adapter board in addition to the substrate, wherein the adapter board is electrically connected to the substrate, and at least some of the aforementioned multiple contact points may be disposed on the adapter board.

[0219] The embodiments of this application do not limit the specific form of the consumable chip.

[0220] It should be noted that the specific content involved in the embodiments of this application can be found in the description of the above method embodiments, and will not be repeated here for the sake of brevity.

[0221] Corresponding to the above embodiments, this application also provides a consumable.

[0222] See Figure 11 This is a structural schematic diagram of a consumable provided in an embodiment of this application. Figure 11As shown, the consumable includes a housing; a developer container located inside the housing for containing developer; and the consumable chip described in the above embodiments.

[0223] See Figure 12 This is a schematic diagram of the structure of another consumable provided in an embodiment of this application. Figure 12 As shown, this consumable is in Figure 11 The illustrated embodiment also includes a developer delivery element for delivering developer.

[0224] See Figure 13 This is a schematic diagram of the structure of another consumable provided in an embodiment of this application. Figure 13 As shown, this consumable is in Figure 12 The embodiment shown also includes a photosensitive drum and a charging roller for charging the photosensitive drum.

[0225] See Figure 14 This is a schematic diagram of the structure of another consumable provided in an embodiment of this application. Figure 14 As shown, the consumable includes a photosensitive drum; a charging roller for charging the photosensitive drum; and the consumable chip described in the above embodiments.

[0226] It should be pointed out that, Figures 11-14 The specific details of the consumable chip in the illustrated embodiment can be found in the description of the above embodiment, and will not be repeated here for the sake of brevity.

[0227] Corresponding to the above embodiments, this application also provides an information processing apparatus, including:

[0228] The first receiving module is used to receive the verification request sent by the aforementioned image forming apparatus;

[0229] The first output module is used to send raw data and target verification information to the image forming apparatus based on the aforementioned verification request, wherein at least a portion of the data in the aforementioned target verification information is used to verify the aforementioned raw data.

[0230] The second output module is used to send a first calculation factor to the aforementioned image forming apparatus based on the aforementioned verification request;

[0231] The second receiving module is used to receive the first intermediate data generated based on the first calculation factor sent by the aforementioned image forming apparatus;

[0232] The generation module is used to generate the target verification information based on the aforementioned first intermediate data; wherein the data length of the target verification information is shorter than the data length of the first verification information generated based on the aforementioned original data according to a preset first algorithm.

[0233] In one embodiment, the aforementioned generation module is further configured to: process the aforementioned first intermediate data based on a preset second algorithm to generate second intermediate data.

[0234] In one embodiment, the aforementioned generation module is specifically used for:

[0235] Based on the aforementioned first intermediate data, select a portion of the data from the aforementioned first verification information;

[0236] The aforementioned target verification information is generated based on the selected portion of the data.

[0237] In one embodiment, at least a portion of the selected data is matched with at least a portion of the valid bits in the first intermediate data.

[0238] In one embodiment, the aforementioned generation module is specifically used for:

[0239] The aforementioned target verification information is generated based on the aforementioned second intermediate data and the aforementioned first verification information.

[0240] In one embodiment, the aforementioned generation module is specifically used for:

[0241] Based on the aforementioned second intermediate data, select a portion of the data from the aforementioned first verification information;

[0242] The aforementioned target verification information is generated based on the selected portion of the data.

[0243] In one embodiment, at least a portion of the selected data is matched with at least a portion of the valid bits in the second intermediate data.

[0244] In one embodiment, when the aforementioned first intermediate data is binary data, the aforementioned generation module is specifically used for:

[0245] Identify N valid bits in the aforementioned first intermediate data, where N ≥ 1;

[0246] Set all binary bits except the aforementioned N valid bits in the first intermediate data to invalid bits to obtain the aforementioned second intermediate data;

[0247] Alternatively, when the aforementioned first intermediate data is non-binary data, the aforementioned generation module is specifically used for:

[0248] Convert the aforementioned first intermediate data into binary data;

[0249] Identify N valid bits in the obtained binary data, where N ≥ 1;

[0250] Set all binary bits except the aforementioned N valid bits in the obtained binary data to invalid bits to obtain the aforementioned second intermediate data.

[0251] In one embodiment, when the aforementioned first intermediate data is binary data, the aforementioned generation module is specifically used for:

[0252] Identify N valid bits in the aforementioned first intermediate data in either left-to-right or right-to-left order;

[0253] When the aforementioned first intermediate data is non-binary data, the aforementioned generation module is specifically used for:

[0254] Identify N valid bits in the obtained binary data in either left-to-right or right-to-left order.

[0255] In one embodiment, the aforementioned valid bit is a binary bit with a value of "1", and the aforementioned invalid bit is a binary bit with a value of "0".

[0256] Alternatively, the aforementioned valid bits are binary bits with a value of "0", and the aforementioned invalid bits are binary bits with a value of "1".

[0257] In one embodiment, the aforementioned generation module is used to process the aforementioned first intermediate data and the aforementioned first calculation factor according to the fourth algorithm to generate second calculation factor verification data.

[0258] The aforementioned information processing device further includes: a third output module, used to send the aforementioned second calculation factor verification data to the aforementioned image forming apparatus; the aforementioned second calculation factor verification data is used to determine whether the aforementioned consumables are abnormal.

[0259] In this embodiment of the application, the first receiving module, the first output module, the second output module, the second receiving module, and the generating module in the information processing device can be implemented in software or in hardware.

[0260] Specifically, the first receiving module, the first output module, the second output module, the second receiving module, the third output module, and the generating module can be circuit units of devices including FPGA (Field Programmable Gate Array), MCU (Microcontroller Unit), DSP (Digital Signal Processor), etc. The first output module, the third output module, and the second output module can also implement their functions by building a specific waveform generator circuit. The first receiving module, the second receiving module, and the generating module can also implement their corresponding functions by building a digital logic calculator. This application does not further limit the specific implementation form of each module.

[0261] In one possible implementation, the first receiving module, the first output module, the second output module, the second receiving module, the third output module, and the generating module are all included in the aforementioned consumable chip. Preferably, the first receiving module, the first output module, the second output module, the second receiving module, the third output module, and the generating module are all included in the first controller of the aforementioned consumable chip.

[0262] In one possible implementation, the first receiving module, the first output module, the second output module, the second receiving module, the third output module, and the generating module are other modules that are different from the consumable chip and are disposed on the consumable. This application does not limit this.

[0263] In one possible implementation, at least one of the first receiving module, the first output module, the second output module, the second receiving module, the third output module, and the generating module can be an external module electrically connected to the consumable chip, while the other units are built into the first controller of the consumable chip. That is, the aforementioned consumable includes the consumable chip and the external module electrically connected to the consumable chip.

[0264] In one possible implementation, the first receiving module, the first output module, the second output module, the second receiving module, the third output module, and the generating module are respectively disposed on two or more different consumable chips that can communicate with each other. Preferably, the first receiving module, the first output module, the second output module, the second receiving module, and the third output module are disposed on the first consumable chip, and the generating module is disposed on the second consumable chip. After receiving a verification request from the image forming apparatus, the first receiving module of the first consumable chip sends the verification request or its parsing information to the second consumable chip. The second consumable chip generates a first calculation factor based on the verification request or its parsing information and sends it to the first consumable chip. The second output module of the first consumable chip sends the first calculation factor to the image forming apparatus based on the verification request. The second receiving module of the first consumable chip receives first intermediate data generated based on the first calculation factor from the image forming apparatus and forwards the first intermediate data to the second consumable chip. The generation module of the second consumable chip generates target verification information based on the first intermediate data and sends the target verification information to the first consumable chip. The first output module of the first consumable chip sends raw data and target verification information to the image forming apparatus based on the verification request. The raw data may be pre-stored in the first consumable chip.

[0265] Of course, those skilled in the art can also arrange the first receiving module, the first output module, the second output module, the second receiving module, and the third output module generation module on different consumable chips in other ways, and this application does not limit this.

[0266] It should be noted that, in the embodiments of this application, the target verification information, the second intermediate data, and the second calculation factor verification data can all be used by the image forming apparatus to verify the consumables, that is, to determine whether the consumables are abnormal. The specific details of how the target verification information, the second intermediate data, and the second calculation factor verification data are used by the image forming apparatus to verify the consumables can be found in the description above, and will not be repeated here for the sake of brevity. In practical applications, for example, when all modules of the information processing device are included in the aforementioned consumable chip, the target verification information, the second intermediate data, and the second calculation factor verification data are generated by the aforementioned consumable chip and sent to the image forming apparatus. For example, when the first output module, the second output module, and the third output module of the information processing device are disposed on the first consumable chip, and the generation module is disposed on the second consumable chip, the target verification information, the second intermediate data, and the second calculation factor verification data are generated by the second consumable chip and sent to the image forming apparatus by the first consumable chip. The target verification information sent by the information processing device is used by the image forming apparatus to compare with the generated aforementioned benchmark verification information to determine whether the two are consistent. If there is a discrepancy, the image forming apparatus determines that the consumables are abnormal; if they are consistent, the image forming apparatus determines that the consumables are normal. The second intermediate data output by the information processing device or integrated into the target verification information is used by the image forming device to compare with the aforementioned third intermediate data to determine whether they are consistent. If they are inconsistent, the consumable is determined to be abnormal; if they are consistent, the image forming device determines that the consumable is normal. The second calculation factor verification data sent by the information processing device is used by the image forming device to compare with the aforementioned second calculation factor to determine whether they are consistent. If they are inconsistent, the consumable is determined to be abnormal; if they are consistent, the image forming device determines that the consumable is normal. Furthermore, if the first receiving module, the first output module, the second output module, the second receiving module, the third output module, and the generating module are at least partially disposed in the aforementioned consumable chip, the target verification information, the second intermediate data, and the second calculation factor verification data can also be used by the image forming device to verify the consumable chip to determine whether the consumable chip is abnormal. For details, please refer to the section on determining whether the consumable is normal based on the target verification information, the second intermediate data, and the second calculation factor verification data in this section, which will not be repeated here.

[0267] It should be noted that the specific content involved in the embodiments of this application can be found in the description above, and will not be repeated here for the sake of brevity.

[0268] Corresponding to the above embodiments, this application also provides a data verification method, applied to the consumable chip or information processing device described in the above embodiments, including:

[0269] Receive the verification request sent by the aforementioned image forming apparatus;

[0270] Based on the aforementioned verification request, the original data and target verification information are sent to the aforementioned image forming apparatus, wherein at least a portion of the data in the aforementioned target verification information is used to verify the aforementioned original data.

[0271] Before sending the aforementioned target verification information to the aforementioned image forming apparatus based on the aforementioned verification request, the method further includes:

[0272] Based on the aforementioned verification request, a first calculation factor is sent to the aforementioned image forming apparatus;

[0273] Receive first intermediate data generated based on the first calculation factor sent by the aforementioned image forming apparatus;

[0274] The aforementioned target verification information is generated based on the aforementioned first intermediate data; wherein the data length of the aforementioned target verification information is shorter than the data length of the first verification information generated based on the aforementioned original data according to a preset first algorithm.

[0275] In one embodiment, the aforementioned first intermediate data is processed based on a preset second algorithm to generate second intermediate data.

[0276] In one embodiment, the aforementioned generation of target verification information based on the aforementioned first intermediate data and first verification information includes:

[0277] Based on the aforementioned first intermediate data, select a portion of the data from the aforementioned first verification information;

[0278] The aforementioned target verification information is generated based on the selected portion of the data.

[0279] In one embodiment, at least a portion of the selected data is matched with at least a portion of the valid bits in the first intermediate data.

[0280] In one embodiment, the aforementioned generation of the target verification information based on the aforementioned first intermediate data includes:

[0281] The aforementioned target verification information is generated based on the aforementioned second intermediate data and the aforementioned first verification information.

[0282] In one embodiment, the aforementioned generation of the target verification information based on the aforementioned second intermediate data and the aforementioned first verification information includes:

[0283] Based on the aforementioned second intermediate data, select a portion of the data from the aforementioned first verification information;

[0284] The aforementioned target verification information is generated based on the selected portion of the data.

[0285] In one embodiment, at least a portion of the selected data is matched with at least a portion of the valid bits in the second intermediate data.

[0286] In one embodiment, when the aforementioned first intermediate data is binary data, the aforementioned processing of the first intermediate data based on a preset second algorithm to generate second intermediate data includes:

[0287] Identify N valid bits in the aforementioned first intermediate data, where N ≥ 1;

[0288] Set all binary bits except the aforementioned N valid bits in the first intermediate data to invalid bits to obtain the aforementioned second intermediate data;

[0289] Alternatively, when the aforementioned first intermediate data is non-binary data, the aforementioned first intermediate data is processed based on a preset second algorithm to generate second intermediate data, including:

[0290] Convert the aforementioned first intermediate data into binary data;

[0291] Identify N valid bits in the obtained binary data, where N ≥ 1;

[0292] Set all binary bits except the aforementioned N valid bits in the obtained binary data to invalid bits to obtain the aforementioned second intermediate data.

[0293] In one embodiment, when the aforementioned first intermediate data is binary data, identifying N valid bits in the aforementioned first intermediate data includes:

[0294] Identify N valid bits in the aforementioned first intermediate data in either left-to-right or right-to-left order;

[0295] When the aforementioned first intermediate data is non-binary data, the aforementioned identification of N valid bits in the obtained binary data includes:

[0296] Identify N valid bits in the obtained binary data in either left-to-right or right-to-left order.

[0297] In one embodiment, the aforementioned valid bit is a binary bit with a value of "1", and the aforementioned invalid bit is a binary bit with a value of "0".

[0298] Alternatively, the aforementioned valid bits are binary bits with a value of "0", and the aforementioned invalid bits are binary bits with a value of "1".

[0299] In one embodiment, after receiving the first intermediate data generated based on the first calculation factor sent by the image forming apparatus, the method further includes:

[0300] The first intermediate data and the first calculation factor are processed according to the fourth algorithm to generate the second calculation factor verification data.

[0301] The aforementioned second calculation factor verification data is sent to the aforementioned image forming apparatus; the aforementioned second calculation factor verification data is used to determine whether the aforementioned consumables are abnormal.

[0302] Corresponding to the above embodiments, this application also provides a consumable.

[0303] See Figure 15 This is a structural schematic diagram of a consumable provided in an embodiment of this application. Figure 15 As shown, the consumable includes a housing; a developer container located inside the housing for containing developer; and the information processing device described in the above embodiments.

[0304] See Figure 16 This is a schematic diagram of the structure of another consumable provided in an embodiment of this application. Figure 16 As shown, this consumable is in Figure 15 The illustrated embodiment also includes a developer delivery element for delivering developer.

[0305] See Figure 17 This is a schematic diagram of the structure of another consumable provided in an embodiment of this application. Figure 17 As shown, this consumable is in Figure 16 The embodiment shown also includes a photosensitive drum and a charging roller for charging the photosensitive drum.

[0306] See Figure 18 This is a schematic diagram of the structure of another consumable provided in an embodiment of this application. Figure 18 As shown, the consumable includes a photosensitive drum; a charging roller for charging the photosensitive drum; and the information processing device described in the above embodiments.

[0307] It should be pointed out that, Figures 15-18 The specific details of the consumable chip in the illustrated embodiment can be found in the description of the above embodiment, and will not be repeated here for the sake of brevity.

[0308] Corresponding to the above embodiments, this application also provides an image forming apparatus.

[0309] See Figure 19 This is a structural block diagram of an image forming apparatus provided in an embodiment of this application. Figure 19 As shown, the image forming apparatus includes a second controller, which is configured to perform some or all of the methods described in the above method embodiments.

[0310] It should be noted that the specific content involved in the embodiments of this application can be found in the description of the above embodiments, and will not be repeated here for the sake of brevity.

[0311] Corresponding to the above embodiments, this application also provides an image forming system, which includes the consumables and image forming apparatus described in the above embodiments; wherein the image forming apparatus and the consumable chip are communicatively connected.

[0312] It should be noted that the specific content involved in the embodiments of this application can be found in the description of the above embodiments, and will not be repeated here for the sake of brevity.

[0313] Corresponding to the above embodiments, this application also provides a computer-readable storage medium, wherein the computer-readable storage medium may store a program, wherein when the program runs, it can control the device where the computer-readable storage medium is located to execute some or all of the steps in the above method embodiments. Specifically, the computer-readable storage medium may be a magnetic disk, an optical disk, read-only memory (ROM), or random access memory (RAM), etc.

[0314] Corresponding to the above embodiments, this application also provides a computer program product containing executable instructions that, when executed on a computer, cause the computer to perform some or all of the steps in the above method embodiments.

[0315] In this application embodiment, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent the existence of A alone, the simultaneous existence of A and B, or the existence of B alone. A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, and c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.

[0316] Those skilled in the art will recognize that the units and algorithm steps described in the embodiments disclosed herein can be implemented using electronic hardware, computer software, or a combination of electronic hardware and software. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0317] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0318] In the several embodiments provided in this application, any function, if implemented as a software functional unit and sold or used as an independent product, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0319] The foregoing description is merely a specific embodiment of this application. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the protection scope of this application. The protection scope of this application shall be determined by the protection scope of the foregoing claims.

Claims

1. A data verification method, characterized in that, The method includes: Receive a verification request sent by the image forming apparatus; Based on the verification request, the image forming apparatus is sent raw data and target verification information, wherein at least a portion of the data in the target verification information is used to verify the raw data. Before sending the target verification information to the image forming apparatus based on the verification request, the method further includes: A first calculation factor is sent to the image forming apparatus based on the verification request; Receive first intermediate data generated based on the first calculation factor sent by the image forming apparatus; Based on the first intermediate data, select a portion of the data from the first verification information; The target verification information is generated based on the selected portion of the data; wherein the data length of the target verification information is shorter than the data length of the first verification information generated based on the original data according to a preset first algorithm.

2. The method according to claim 1, characterized in that, Also includes: The first intermediate data is processed based on a preset second algorithm to generate second intermediate data.

3. The method according to claim 1 or 2, characterized in that, The selected portion of data is generated directly based on the first intermediate data, or indirectly based on the first intermediate data.

4. The method according to claim 3, characterized in that, At least a portion of the selected data matches at least a portion of the valid bits in the first intermediate data.

5. The method according to claim 1 or 2, characterized in that, The step of selecting a portion of data based on the first intermediate data and the first verification information includes: Based on the second intermediate data, a portion of the data is selected from the first verification information, and the second intermediate data is generated based on the first intermediate data.

6. The method according to claim 5, characterized in that, The selected portion of data is generated directly based on the second intermediate data, or indirectly based on the second intermediate data.

7. The method according to claim 6, characterized in that, At least a portion of the selected partial data matches at least a portion of the valid bits in the second intermediate data.

8. The method according to claim 2, characterized in that, When the first intermediate data is binary data, the step of processing the first intermediate data based on a preset second algorithm to generate second intermediate data includes: Identify N valid bits in the first intermediate data, where N ≥ 1; Set all binary bits in the first intermediate data except for the N valid bits to invalid bits to obtain the second intermediate data; Alternatively, when the first intermediate data is non-binary data, the step of processing the first intermediate data based on a preset second algorithm to generate second intermediate data includes: Convert the first intermediate data into binary data; Identify N valid bits in the obtained binary data, where N ≥ 1; The binary bits other than the N valid bits in the obtained binary data are set to invalid bits to obtain the second intermediate data.

9. The method according to claim 8, characterized in that, When the first intermediate data is binary data, identifying N valid bits in the first intermediate data includes: Identify N valid bits in the first intermediate data in either left-to-right or right-to-left order; When the first intermediate data is non-binary data, the step of identifying N valid bits in the obtained binary data includes: Identify N valid bits in the obtained binary data in either left-to-right or right-to-left order.

10. The method according to any one of claims 4, 7-9, characterized in that, Valid bits are binary bits with a value of "1", and invalid bits are binary bits with a value of "0". Alternatively, the valid bits are binary bits with a value of "0", and the invalid bits are binary bits with a value of "1".

11. The method according to claim 1 or 2, characterized in that, After receiving the first intermediate data generated based on the first calculation factor sent by the image forming apparatus, the method further includes: The first intermediate data and the first calculation factor are processed according to the fourth algorithm to generate the second calculation factor verification data. The second calculation factor verification data is sent to the image forming apparatus; the second calculation factor verification data is used to determine whether the consumables are abnormal.

12. A data verification method applied to an image forming apparatus, wherein consumables are installed on the image forming apparatus, characterized in that, The method includes: Send a verification request to the consumable; Receive the raw data, target verification information and first calculation factor sent by the consumable; First intermediate data is generated based on the first calculation factor, and the first intermediate data is sent to the consumables. Based on the original data, second verification information is generated according to a preset first algorithm; Select a portion of data from the second verification information based on the first intermediate data; Benchmark verification information is generated based on the selected portion of the data; The target verification information and the benchmark verification information are compared. If they are consistent, the original data is determined to have passed the verification. If they are inconsistent, the original data is determined to have failed the verification.

13. The method according to claim 12, characterized in that, The step of selecting a portion of data from the second verification information based on the first intermediate data includes: The first intermediate data is processed based on a preset second algorithm to generate the third intermediate data; Select a portion of the data from the second verification information based on the third intermediate data.

14. The method according to claim 13, characterized in that, The step of selecting a portion of data from the second verification information based on the third intermediate data includes: Based on the third intermediate data, data that matches the valid bits in the third intermediate data is extracted from the second verification information.

15. The method according to claim 13, characterized in that, When the first intermediate data is binary data, the process of processing the first intermediate data based on a preset second algorithm to generate the third intermediate data includes: Identify N valid bits in the first intermediate data, where N ≥ 1; Set all binary bits in the first intermediate data except for the N valid bits to invalid bits to obtain the third intermediate data; Alternatively, when the first intermediate data is non-binary data, the step of processing the first intermediate data based on a preset second algorithm to generate the third intermediate data includes: Convert the first intermediate data into binary data; Identify N valid bits in the obtained binary data, where N ≥ 1; The binary bits other than the N valid bits in the obtained binary data are set to invalid bits to obtain the third intermediate data.

16. The method according to claim 12, characterized in that, The generation of first intermediate data based on the first calculation factor includes: Generate a second calculation factor; Based on the first calculation factor and the second calculation factor, the first intermediate data is generated according to a preset third algorithm; After sending the first intermediate data to the consumable, the method further includes: Receive the second calculation factor verification data sent by the consumable; If the verification data of the second calculation factor and the second calculation factor are inconsistent, the consumable is determined to be abnormal.

17. The method according to any one of claims 12 to 16, characterized in that, After sending the first intermediate data to the consumable, the method further includes: Obtain the second intermediate data generated by the consumables; If the second and third intermediate data are not consistent, the consumables are determined to be abnormal.

18. An information processing apparatus capable of communicating with an image forming apparatus, wherein consumables are detachably mounted on the image forming apparatus, characterized in that, include: The first receiving module is used to receive the verification request sent by the image forming apparatus; A first output module is configured to send raw data and target verification information to the image forming apparatus based on the verification request, wherein at least a portion of the data in the target verification information is used to verify the raw data. The second output module is used to send a first calculation factor to the image forming apparatus based on the verification request; The second receiving module is used to receive the first intermediate data generated based on the first calculation factor sent by the image forming apparatus; The generation module is used to select a portion of data from the first verification information based on the first intermediate data; The target verification information is generated based on the selected portion of the data; wherein the data length of the target verification information is shorter than the data length of the first verification information generated based on the original data according to a preset first algorithm.

19. The information processing apparatus according to claim 18, characterized in that, The generation module is further configured to: process the first intermediate data based on a preset second algorithm to generate second intermediate data.

20. The information processing apparatus according to claim 18 or 19, characterized in that, The selected portion of data is generated directly based on the first intermediate data, or indirectly based on the first intermediate data.

21. The information processing apparatus according to claim 20, characterized in that, At least a portion of the selected data matches at least a portion of the valid bits in the first intermediate data.

22. The information processing apparatus according to claim 18 or 19, characterized in that, The generation module is specifically used for: Based on the second intermediate data, a portion of the data is selected from the first verification information, and the second intermediate data is generated based on the first intermediate data.

23. The information processing apparatus according to claim 22, characterized in that, The selected portion of data is generated directly based on the second intermediate data, or indirectly based on the second intermediate data.

24. The information processing apparatus according to claim 23, characterized in that, At least a portion of the selected partial data matches at least a portion of the valid bits in the second intermediate data.

25. The information processing apparatus according to claim 19, characterized in that, When the first intermediate data is binary data, the generation module is specifically used for: Identify N valid bits in the first intermediate data, where N ≥ 1; Set all binary bits in the first intermediate data except for the N valid bits to invalid bits to obtain the second intermediate data; Alternatively, when the first intermediate data is non-binary data, the generation module is specifically used for: Convert the first intermediate data into binary data; Identify N valid bits in the obtained binary data, where N ≥ 1; The binary bits other than the N valid bits in the obtained binary data are set to invalid bits to obtain the second intermediate data.

26. The information processing apparatus according to claim 25, characterized in that, When the first intermediate data is binary data, the generation module is specifically used for: Identify N valid bits in the first intermediate data in either left-to-right or right-to-left order; When the first intermediate data is non-binary data, the generation module is specifically used for: Identify N valid bits in the obtained binary data in either left-to-right or right-to-left order.

27. The information processing apparatus according to any one of claims 21, 24-26, characterized in that, Valid bits are binary bits with a value of "1", and invalid bits are binary bits with a value of "0". Alternatively, the valid bits are binary bits with a value of "0", and the invalid bits are binary bits with a value of "1".

28. The information processing apparatus according to claim 18 or 19, characterized in that, The generation module is used to process the first intermediate data and the first calculation factor according to the fourth algorithm to generate the second calculation factor verification data. The information processing device further includes: a third output module, used to send the second calculation factor verification data to the image forming device; The second calculation factor verification data is used to determine whether the consumable is abnormal.

29. A consumable, characterized in that, include: case; A developer container, located inside the housing, is used to contain the developer; as well as The information processing apparatus according to any one of claims 18 to 28.

30. The consumable according to claim 29, characterized in that, The consumables also include: A developer delivery element for delivering the developer.

31. The consumable according to claim 30, characterized in that, The consumables also include: Photosensitive drum; A charging roller is used to charge the photosensitive drum.

32. A consumable, characterized in that, The consumables also include: Photosensitive drum; A charging roller for charging the photosensitive drum; and The information processing apparatus according to any one of claims 18 to 28.

33. An image forming apparatus, characterized in that, include: A controller configured to perform the method according to any one of claims 12-17.

Citation Information

Patent Citations

  • File fragment uploading verification method and system

    CN113938269A

  • Verifiable, Leak-Resistant Encryption and Decryption

    US20110138192A1