Data verification method, information processing device, consumable and image forming device
By transmitting short target verification information between the image forming device and the consumable, the communication efficiency problem caused by excessive length of verification information data in the prior art is solved, and the task processing speed and system efficiency of the image forming device are improved. .
Patent Information
- Application Number
- CN202411253078.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-09-11
- Filing Date
- 2024-09-06
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2044-09-06
AI Technical Summary
In the prior art, the communication efficiency between the image forming device and the consumable is low, resulting in a long transmission time of the verification information, which affects the task processing speed and system overhead of the image forming device.
By transmitting shorter target verification information between the image forming device and the consumable, first intermediate data is generated using the first calculation factor, and target verification information is generated based on the intermediate data, the data length of the verification information is shortened to improve communication efficiency.
The communication time between the image forming device and the consumables is effectively shortened, the speed of the image forming device processing the next task is improved, and the system overhead is reduced.
Smart Images

Figure CN119211430A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image forming technology, and in particular to a data verification method, a consumable chip, consumables and an image forming device. Background Art
[0002] With the development of printing imaging technology, image forming devices such as printers, copiers, fax machines, word processors, etc. have been widely used. For ease of use, image forming devices are usually equipped with consumables that are convenient for users to replace. For example, consumable boxes (such as ink cartridges, toner boxes, toner cartridges, etc.) for containing recording materials (such as ink, toner, etc.). When the recording materials in the consumable box are consumed, the user only needs to replace the consumable box, and the image forming device can continue to be used. The image forming system includes an image forming device and consumables.
[0003] In order to facilitate the management of consumables, an information processing device is usually provided on the consumables, such as a consumable chip. In the information processing device, information related to the image forming system is stored, which is called raw data, and may include imaging control related parameters and consumable related parameters. In order to ensure the security of the raw data stored in the information processing device, the raw data is usually verified using verification information calculated by common algorithms such as sha-512. However, after research, the inventor found that the data length of the verification information in the above verification method is relatively long, and the communication efficiency between the image forming device and the consumables is relatively low. It takes a long time to transmit the verification information, so that the image forming device completes the verification of the raw data and then processes the next task or enters the next stage (such as entering the print ready state, the print engine rubbing paper, rendering the received image, etc.) The time required is relatively long, which may lead to problems such as untimely task processing and high system overhead. Among them, when the image forming device enters the ready state, the image forming device can immediately perform image forming operations after receiving the data to be printed.
[0004] It should be pointed out that the information disclosed in the background technology section of this application is only intended to deepen the understanding of the general background technology of this application, and should not be regarded as an admission or suggestion in any form that the information constitutes prior art already known to those skilled in the art. Summary of the invention
[0005] In view of this, the present application provides a data verification method, an information processing device, consumables and an image forming device, so as to solve the problem in the prior art that, in the process of verifying consumables, due to the long data length of the verification information and the low communication efficiency between the image forming device and the consumables, it takes a long time to transmit the verification information, which makes it take a long time for the image forming device to process the next task or enter the next stage.
[0006] In a first aspect, an embodiment of the present application provides a data verification method, the method comprising:
[0007] receiving a verification request sent by an image forming device;
[0008] Sending original data and target verification information to the image forming device based on the verification request, wherein at least part of the target verification information is used to verify the original data;
[0009] Before sending the target verification information to the image forming device based on the verification request, the method further includes:
[0010] sending a first calculation factor to the image forming device based on the verification request;
[0011] receiving first intermediate data generated based on the first calculation factor and sent by the image forming device;
[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] In a second aspect, an embodiment of the present application provides a data verification method, which is applied to an image forming device, wherein a consumable is installed on the image forming device, and a consumable chip is detachably installed on the consumable, and the method includes:
[0014] Sending a verification request to the consumable;
[0015] Receiving original data, target verification information and a first calculation factor sent by the consumable;
[0016] generating first intermediate data based on the first calculation factor, and sending the first intermediate data to the consumable;
[0017] Generate second verification information based on the original data according to a preset first algorithm;
[0018] selecting part of the data from the second verification information based on the first intermediate data;
[0019] generating benchmark verification information based on the selected portion of the data;
[0020] The target verification information and the reference verification information are compared. If the two are consistent, it is determined that the original data has passed the verification. If the two are inconsistent, it is determined that the original data has not passed the verification.
[0021] In a third aspect, an embodiment of the present application provides an information processing device, wherein the control device is capable of communicating with an image forming device, and consumables are detachably mounted on the image forming device, and the information processing device includes:
[0022] A first receiving module, configured to receive a verification request sent by the image forming device;
[0023] A first output module, configured to send original data and target verification information to the image forming device based on the verification request, wherein at least part of the target verification information is used to verify the original data;
[0024] a second output module, configured to send a first calculation factor to the image forming device based on the verification request;
[0025] A second receiving module, configured to receive first intermediate data generated based on the first calculation factor and sent by the image forming device;
[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 the preset first algorithm.
[0027] In a fourth aspect, an embodiment of the present application provides a consumable material, including:
[0028] case;
[0029] a developer containing portion, located in the housing, for containing the developer; and
[0030] The information processing device as described in any one of the third aspects.
[0031] In a fifth aspect, an embodiment of the present application provides a consumable, wherein the consumable further comprises:
[0032] Photosensitive drum;
[0033] a charging roller for charging the photosensitive drum; and
[0034] The information processing device as described in any one of the third aspects.
[0035] In a sixth aspect, an embodiment of the present application provides an image forming device, including:
[0036] A second controller, wherein the second controller is configured to execute the method described in any one of the second aspects.
[0037] In a seventh aspect, an embodiment of the present application provides an image forming system, including:
[0038] The consumables according to any one of the fourth and fifth aspects;
[0039] The image forming device according to the sixth aspect;
[0040] Wherein, the image forming device and the information processing device are communicatively connected.
[0041] In the embodiment 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 consumables, the communication time between the image forming device and the consumables can be shortened, so as to solve the problem in the prior art that in the process of verifying the consumables, due to the longer data length of the verification information and the relatively low communication efficiency between the image forming device and the consumables, it takes a longer time to transmit the verification information, so that the image forming device takes a longer time to process the next task or enter the next stage. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0043] Figure 1 A structural block diagram of an image forming system provided in an embodiment of the present application;
[0044] Figure 2 A schematic diagram of the structure of an image forming device provided in an embodiment of the present application;
[0045] Figure 3 A schematic diagram of the structure of an image forming system provided in an embodiment of the present application;
[0046] Figure 4 A schematic diagram of the structure of another image forming system provided in an embodiment of the present application;
[0047] Figure 5 A schematic diagram of a data verification method provided in an embodiment of the present application;
[0048] Figure 6 A schematic diagram of a flow chart of another data verification method provided in an embodiment of the present application;
[0049] Figure 7 A schematic diagram of a flow chart of another data verification method provided in an embodiment of the present application;
[0050] Figure 8A schematic diagram of a flow chart of another data verification method provided in an embodiment of the present application;
[0051] Fig. 9 A schematic diagram of a flow chart of another data verification method provided in an embodiment of the present application;
[0052] Fig.10 A structural block diagram of a consumable chip provided in an embodiment of the present application;
[0053] Fig.11 A schematic diagram of the structure of a consumable provided in an embodiment of the present application;
[0054] Fig.12 A schematic diagram of the structure of another consumable provided in an embodiment of the present application;
[0055] Fig.13 A schematic diagram of the structure of another consumable provided in an embodiment of the present application;
[0056] Fig.14 A schematic diagram of the structure of another consumable provided in an embodiment of the present application;
[0057] Fig.15 A schematic diagram of the structure of another consumable provided in an embodiment of the present application;
[0058] Fig.16 A schematic diagram of the structure of another consumable provided in an embodiment of the present application;
[0059] Fig.17 A schematic diagram of the structure of another consumable provided in an embodiment of the present application;
[0060] Fig.18 A schematic diagram of the structure of another consumable provided in an embodiment of the present application;
[0061] Fig.19 A structural block diagram of an image forming device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0062] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0063] It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0064] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "above", and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.
[0065] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0066] See also Figure 1 , is a structural block diagram of an image forming system provided in an embodiment of the present application. Figure 1 As shown, the image forming system includes an image forming device and consumables. The image forming device is a part of the image forming system that performs image forming operations, and the consumables are replaceable accessories in the image forming system. For example, when the image forming device is an inkjet printer, a laser printer, a 3D printer, a label printer, or a dot matrix printer, the consumables are ink cartridges, toner cartridges, toner cartridges, toner cartridges, ribbon cartridges, etc.
[0067] One possible implementation is that the consumables are of a split structure, including a drum box and a developer box that are detachable from each other, wherein the drum box includes a photosensitive drum and a charging roller, and the developer box includes a developer container, a developer roller, and a developer conveying element. Another possible implementation is that the consumables are of an integrated structure, for example, the consumables include a developer container, a developer roller, a developer conveying element, a photosensitive drum, a charging roller, etc.
[0068] Furthermore, the consumables may also include only a shell and a developer containing portion. It is additionally noted that the consumables may also be the aforementioned developer box or drum box. The aforementioned developer containing portion is used to contain developers such as toner, and the developer conveying element is a component such as a powder feeding roller, a powder feeding screw, etc., for stirring and / or conveying toner. Of course, the aforementioned developer box may also include only the aforementioned developer containing portion, which is not limited here. Furthermore, the aforementioned developer box may also include only the aforementioned developer containing portion and the developer conveying element, which is not limited here.
[0069] In a possible implementation, the consumables may also include a powder cartridge and / or an imaging component, and the powder cartridge is used to deliver toner to the imaging component when the toner contained in the imaging component is insufficient so that the image forming device forms an image based on the toner delivered by the imaging component, wherein when the consumable is a powder cartridge, the consumable may only include a housing and a developer containing portion, or may include a housing, a developer containing portion, and a developer conveying element, which is not limited in this application. When the consumable is an imaging component, the consumable may include a housing, a developer containing portion, a developer conveying unit, a charging roller, a photosensitive drum, etc., which is not limited in this embodiment of the application.
[0070] It should be pointed out that the consumables mentioned in the embodiments of the present application may also be other components, parts, units (such as paper boxes, etc.) in the image forming device that are easily damaged and need to be replaced, which also belong to the technical solutions corresponding to the consumables protected by this application.
[0071] In order to facilitate the management of consumables, the consumables are also used in conjunction with consumable chips, which are electronic devices with storage functions. The consumable chips may also include a first controller (e.g., a microcontroller unit (MCU)) and the like that can be used for information processing components. In one embodiment, the consumable chip may be installed on the consumables. The consumable chip may be installed on the consumables before the consumables leave the factory, or may be installed on the consumables by the user after the consumables leave the factory. In another embodiment, the consumable chip does not need to be installed on the consumables, but is fixed to the image forming device by a mounting member or an adhesive. When the image forming device uses the consumables, the contact points of the consumable chip are electrically contacted with the contact terminals corresponding to the image forming device, thereby realizing the electrical connection between the consumable chip and the image forming device. When the image forming device does not use the consumables (the consumables are not in working state), the contact points of the consumable chip may or may not be in contact with the contact terminals corresponding to the image forming device. For example, when the consumables are installed in the image forming device but are not used, or when the consumables are taken out of the image forming device. It should be noted that when the consumables are of the aforementioned split structure including a drum box and a developer box that are detachable from each other, the drum box and the developer box are usually equipped with consumable chips respectively.
[0072] When the consumables are installed on the image forming device, the consumables chip is connected to the image forming device for communication. The communication connection can be a communication connection through a contact, an antenna or a coil, which is not limited in the embodiment of the present application. It should be noted that the consumables chip stores information including raw data, and the raw data is information related to the image forming system. For example, the raw data may include at least one of the following categories: 1) imaging control related parameters, such as: printing engine control parameter information, specifically high voltage control parameters, fixing temperature parameters, paper feed speed control parameters, etc. When the image forming device is a color printer, it also includes color calibration parameter information or calibration patterns; 2) consumables related parameters, such as: various proportional factors for calculating toner consumption; or basic attribute information of consumables, wherein the basic attribute information of consumables may specifically be information such as the model of the consumables, the serial number of the consumables, and the capacity and life of the consumables. It should be noted that those skilled in the art can also design the consumables chip to store other types of raw data according to actual needs, which is not limited in the embodiment of the present application.
[0073] For details, see Figure 2 , is a structural schematic diagram of an image forming system provided in an embodiment of the present 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 device 200, thereby being electrically connected to the processor 201 of the image forming device 200 through the first communication interface 204. In one embodiment, the above-mentioned 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 device 200, so that the image forming device 200 can power 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 the present 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 Figure 3, the first consumable chip 210 and the second consumable chip 220 are in communication connection. When the image forming device 200 and the first consumable chip 210 communicate, the image forming device 200 acts as a host to send instructions to the first consumable chip 210, and the first consumable chip 210 acts as a slave to respond to the instructions sent by the host. When the first consumable chip 210 and the second consumable chip 220 communicate, the first consumable chip 210 acts as a host to send instructions to the second consumable chip 220, and the second consumable chip 220 acts as a slave to respond to the instructions sent by the first consumable chip 210. Among them, the instructions sent by the first consumable chip 210 to the second consumable chip 220 can be generated by the first consumable chip 210, or the first consumable chip 210 can forward the instructions sent by the image forming device 200. At this time, the first consumable chip 210 determines who should process the instructions sent by the image forming device 200, and when it is determined that the instructions should be processed by the second consumable chip 220, the instructions are forwarded 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 appropriate 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 and the second consumable chip and the image forming device. When the first consumable chip determines that the first consumable chip needs to communicate with the image forming device at the current stage, the communication link between the first consumable chip and the image forming device is connected by the switch, or the communication link between the first consumable chip and the image forming device is kept connected. When the first consumable chip determines that the second consumable chip needs to communicate with the image forming device at the current stage, the communication link between the second consumable chip and the image forming device is connected by the switch. When the first consumable chip determines that the second consumable chip does not need to communicate with the image forming device at the current stage, the communication link between the second consumable chip and the image forming device is disconnected by the switch. The information processing device described in the embodiment of the present application may include a chipset, and the chipset includes a first consumable chip 210 and a second consumable chip 220 to form a chipset.
[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 image forming apparatus as a whole, and the image forming unit is used to form an image on a conveyed paper based on image data under the control of the image forming control unit.
[0075] The image forming control unit may be a system on chip (SoC), which is a miniature system composed of components of multiple systems and is configured to control the imaging processing operations of the image forming device, such as linear correction, noise reduction, bad pixel removal, detail enhancement, etc., to improve the quality of image output. The image forming control unit is also used to perform processing operations related to data transmission and reception, command transmission and reception, and engine control of printing images, such as transmitting and receiving data, printing engine control commands, status, etc. through an interface unit (including but not limited to a USB port, a wired network port, a wireless network port, or other interfaces, etc.).
[0076] See also Figure 4 , is a schematic diagram of the structure of an image forming device provided in an embodiment of the present application. Figure 4 As shown, the image forming part of the image forming device may include: a developer containing part 11, a developing part 12, a developer conveying element 13, a photosensitive part 14, a transfer part 15 and a fixing assembly 5, etc. The paper to be printed moves in the paper feeding direction, and after successively undergoing the powder feeding operation of the developer conveying element 13 and the developing operation of the developing part 12, it reaches the clamping area between the photosensitive part 14 and the transfer part 15 for transfer, and then passes through the fixing assembly 5 for fixing to complete the image forming operation, wherein the developer containing part 11 is used to contain the developer, and the developer can be materials such as toner and carbon powder; the developing part 12 includes: a developing roller, etc.; the developer conveying element 13 includes: a powder feeding roller, etc.; the photosensitive part 14 includes: a photosensitive drum (OPC, Organic Photo Conductor) and a charging roller, etc., wherein the charging roller is used to charge the photosensitive drum.
[0077] Usually, the image forming device is detachably mounted with at least one consumable material. Figure 4 As an example, the image forming device shown in FIG. 1 is detachably mounted with four consumables (respectively Figure 4 The consumables 1, 2, 3 and 4 shown are used to provide four colors of developers, namely black K, cyan C, magenta M and yellow Y, to the image forming device respectively. Of course, in other embodiments, the number of consumables installed in the image forming device may be increased or decreased, for example, to 5 or 6 or even more or less, etc., and the present application does not limit this.
[0078] In the prior art, in order to ensure the security of the original data stored in the consumable chip, the original data is usually verified using verification information calculated by common algorithms such as sha-512. However, the inventors have found through research that the data length of the verification information in the above verification method is relatively long, and the communication efficiency between the image forming device and the consumable is relatively low. It takes a long time to transmit the verification information, which makes it take a long time for the image forming device to complete the verification of the original data and process the next task or enter the next stage (such as entering the print ready state, the printing engine rubbing paper, rendering the received image, etc.), which may lead to problems such as untimely task processing and high system overhead.
[0079] In view of the above problems, the embodiment of the present application provides a data verification method, wherein the consumable chip 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 chip, the communication time between the image forming device and the consumable chip can be shortened, so as to solve the problem in the prior art that in the process of verifying the consumables, due to the longer data length of the verification information and the relatively low communication efficiency between the image forming device and the consumables, it takes a longer time to transmit the verification information, which makes it take a longer time for the image forming device to process the next task or enter the next stage.
[0080] See also Figure 5 , is a flow chart of a data verification method provided in an embodiment of the present application. The 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 the embodiment of the present application, the verification request is used to instruct the consumable chip to feedback 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 original data and target verification information to the image forming device based on the verification request.
[0084] Specifically, after receiving the above-mentioned verification request sent by the image forming device, the consumable chip can send the original data and target verification information to the image forming device based on the verification request. The target verification information involved in the embodiment of the present application is verification information with a shorter data length. Specifically, compared with the verification information directly obtained by directly calculating the original data using common algorithms such as sha-512, the data length of the target verification information is shorter. The generation process of the target verification information is described in detail below. It can be understood that the consumable chip sends the original data and target verification information to the image forming device based on the request. Specifically, it can be sending the original data and the target verification information at the same time. For example, the consumable chip sends a communication instruction to the image forming device to realize the transmission of the original data and the target verification information; it can also be sending the original data and the target verification information non-simultaneously. For example, the consumable chip sends different communication instructions to the image forming device at different times to realize the transmission of the original data and the 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 original data and target verification information sent by the consumable chip, the image forming device can perform security verification on the original 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 original data. The embodiment of the present application does 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 original data.
[0087] Specifically, security verification of raw data refers to the process of confirming the integrity and availability of raw data. Integrity means that raw data is not accidentally modified, maliciously modified or deleted during storage, processing and transmission. Availability means that raw data can be correctly acquired and used, ensuring that raw data can be accessed and utilized in a timely and accurate manner. After the image forming device receives the raw data and target verification information sent by the consumable chip, it will generate benchmark verification information based on the raw data in the same way as the target verification information is generated based on the raw data, and then compare the received target verification information with the benchmark verification information to determine whether the two are consistent. If there is any inconsistency, the raw data cannot pass the security verification. Furthermore, the image forming device can determine that the consumable is abnormal.
[0088] In the embodiment of the present application, since the data length of the target verification information is relatively short, therefore, when the target verification information is transmitted between the image forming device and the consumable chip, the communication time between the image forming device and the consumable chip can be shortened, so as to solve the problem in the prior art that, in the process of verifying the consumables, the data length of the verification information is relatively long, and the communication efficiency between the image forming device and the consumables is relatively low, resulting in a long time required to transmit the verification information, which makes it take a long time for the image forming device to process the next task or enter the next stage.
[0089] See also Figure 6 , is a flow chart of another data verification method provided in an embodiment of the present application. Figure 6 As shown, this method Figure 5 After step S301 and before step S302, the following steps are also included.
[0090] Step S401: the consumable chip sends a first calculation factor to the image forming device based on the verification request.
[0091] Specifically, after receiving the above-mentioned verification request sent by the image forming device, 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 by other methods. The embodiment of the present application does not limit this. Then, the first calculation factor is sent to the image forming device, and the first calculation factor is used to generate the first intermediate data.
[0092] It can be understood that the original data and the first calculation factor sent by the consumable chip to the image forming device may be sent simultaneously. For example, the consumable chip sends the original data and the first calculation factor to the image forming device based on the same data frame; or the original data and the first calculation factor may be sent non-simultaneously. For example, the consumable chip sends the original data and the first calculation factor to the image forming device respectively through different data frames, thereby realizing the transmission of the original 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 device may 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 only based on the first calculation factor generated by the consumable chip. In another possible implementation, after receiving the first calculation factor, the image forming device generates a second calculation factor, and then generates the first intermediate data based on the first calculation factor and the second calculation factor according to a third algorithm. That is, in this implementation, the first intermediate data is generated based on both the first calculation factor generated by the consumable chip and the second calculation factor generated by the image forming device. The present application does not limit the method for generating the first intermediate data, as long as the first calculation factor is involved.
[0095] For ease of explanation, hereinafter, the first calculation factor is labeled as “R1”; the second calculation factor is labeled as “R2”; and the first intermediate data is labeled as “M”.
[0096] Exemplarily, the first calculation factor R1 is any data in the first data set. After obtaining the first calculation factor R1, using R1 as a coordinate, search for data corresponding to R1 in a preset one-dimensional data table, and use the searched data corresponding to R1 as the first intermediate data M.
[0097] Exemplarily, 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, use (R1, R2) as coordinates to search for data in a preset data table, and use the searched data as the first intermediate data M.
[0098] Exemplarily, 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 calculation result of R1+R2 is converted into data of corresponding bits (for example, 8 bits or 16 bits, etc.), and the first intermediate data M is obtained. For example, the data of the first data set are binary integers ranging from 1 to 1111111, the data of the second data set are binary integers ranging from 1 to 10000000, and the corresponding number of bits is set to 8 bits. When R1 is the binary number 1010000 and R2 is the binary number 10010, the binary number M is 8 bits, then M=R1+R2=1010000+10010=01100010; for example, the data of the first data set are decimal integers ranging from 0 to 32767, the data of the second data set are decimal integers ranging from 0 to 32768, and the corresponding number of bits is set to 16 bits. When R1 is the decimal number 32000 and R2 is the decimal number 31000, M=R1+R2=32000+31000=63000, and the binary number converted to 16 bits is 1111011000011000.
[0099] In the embodiment of the present application, since the image forming device generates the 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, thereby improving the security of data verification. Specifically, the consumable chip and the image forming device provide the first calculation factor R1 and the second calculation factor R2 respectively each time the data verification method provided in the embodiment of the present application is executed, and both R1 and R2 are used to generate the first intermediate data, that is, the consumable chip and the image forming device are both involved in the generation process of the first intermediate data. Compared with the generation of the first intermediate data determined by only one party, the generation process of the first intermediate data based on the first calculation factor R1 and the second calculation factor R2 respectively provided by the consumable chip and the image forming device is random for either party of the image forming device and the consumable chip, and is not easily counterfeited, thereby improving the security of data verification.
[0100] Of course, those skilled in the art may also use other methods according to actual needs to generate the first intermediate data M. In addition, in the process of generating the first intermediate data M, in addition to using the first calculation factor R1 and the second calculation factor R2, other data may also be needed, and the embodiment of the present application does not specifically limit 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 partial data from the first verification information based on the first intermediate data. After obtaining the first intermediate data M, the consumable chip may select partial data from the first verification information based on the first intermediate data M.
[0104] In one embodiment of the present application, the first verification information is generated based on the original data according to a preset first algorithm. Exemplarily, the first algorithm is a commonly used algorithm such as sha-512. It can be understood that the data length of the first verification information generated by processing the original data using commonly used algorithms 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. The embodiment of the present application does not limit the generating subject of 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 other subjects 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 commonly used algorithms such as SHA-512 as the calculation logic of the preset first algorithm, and stores original data. Before the consumable chip selects part of the 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 commonly used algorithms such as SHA-512 as the calculation logic of the preset first algorithm, but is directly pre-written with the first verification information, that is, the consumable chip pre-stores the first verification information.
[0107] It should be noted that the consumable chip selects part of the data from the first verification information based on the first intermediate data, which may include the following understanding methods:
[0108] First: after receiving the first intermediate data, the consumable chip selects part 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 part of the data from the first verification information according to a preset rule. This application does not specifically limit the preset rule.
[0110] That is, part of the data may be selected from the first verification information using the first intermediate data, or part of the data may be selected from the first verification information without relying on the first intermediate data.
[0111] In the first way of understanding, 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 can be generated indirectly based on the first intermediate data M, and the embodiments of the present application do not impose specific restrictions on this. Exemplarily, in the first implementation, the selected partial data is generated directly based on the first intermediate data M; in the second implementation, the partial data can be selected based on the conversion data corresponding to the first intermediate data M, wherein the conversion data corresponding to the first intermediate data M is the result of calculating and generating the first intermediate data M using a preset algorithm; in the third implementation, the preliminary data of 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 of the selected partial data is calculated and generated according to the preset algorithm. That is, the present 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 way of understanding, partial data may 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 a preset rule to determine partial data, wherein the consumable chip selects partial data from the first verification information using a preset rule by dividing the first verification information into several segments, and selecting segments with even numbers from left to right as the selected partial data, such as dividing the first verification information into 8 segments, ABCDEFGH, and selecting the 2nd, 4th, 6th, and 8th segments, namely BDFH; or directly selecting data from a predetermined segment from the first verification information as the selected partial data, for example, the predetermined segment is the 1st, 3rd, and 5th segment, namely ACE.
[0113] It should be noted that the embodiment of the present application only needs to ensure that at least part of the data of the target verification information corresponds to part of the data in the first verification information. The consumable chip selects part of the data from the first verification information based on the first intermediate data, and the specific method of generating the target verification information based on the selected part of the data is not limited.
[0114] Step S405: the consumable chip generates the aforementioned target verification information based on the selected partial data, wherein the data length of the target verification information is shorter than the data length of the aforementioned first verification information.
[0115] In a possible implementation, the selected part of the data may be directly used as the target verification information, so that 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 the selected partial data in combination with other data, and the data length of the target verification information is shorter than the data length of the first verification information. The embodiment of the present application does not limit the selection of other data, as long as the data length of the target verification information finally generated is shorter than the data length of the first verification information. By way of example, the target verification information is composed of other data and the 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, the target verification information may be generated by calculation using a preset algorithm based on the selected partial data.
[0118] In another possible implementation, target verification information can be generated based on part of the selected partial data, and part of the selected partial data can be directly used as the target verification information, or it can be combined with other data to generate the target verification information, or it can be calculated and generated using a preset algorithm, 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 content, target verification information is generated based on the first intermediate data and the first verification information.
[0120] Please continue reading Figure 6 , the embodiments of the present application are Figure 5 The step S302 shown further includes a step S406: the image forming apparatus selects partial data from the second verification information based on the first intermediate data.
[0121] In the embodiment of the present application, the second verification information is generated based on the original data according to a preset first algorithm.
[0122] In one embodiment of the present application, the second verification information is generated by the image forming device based on the original data according to a preset first algorithm. Exemplarily, the first algorithm is a common algorithm such as sha-512. It can be understood that the data length of the second verification information generated by processing the original data using a common 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 device on the original data based on the target verification information is correct, the first algorithm used by the image forming device to generate the second verification information based on the original data is the same algorithm as the first algorithm used to generate the first verification information in step S404.
[0124] It should be pointed out that, in the embodiment of the present application, the way in which the image forming device selects part of the data from the second verification information based on the first intermediate data is the same as step S404 in the above text: the way in which the consumable chip selects part of the data from the first verification information based on the first intermediate data. Therefore, its specific content can be found in the description of step S404 in the above text. For the sake of brevity, it will not be repeated here.
[0125] S407: The image forming apparatus generates reference verification information based on the selected partial data.
[0126] After generating the second verification information, the image forming apparatus selects partial data from the second verification information based on the first intermediate data M, and generates reference verification information based on the selected partial data.
[0127] It should be pointed out that in the embodiment of the present application, 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 part above. For the sake of brevity, it will not be repeated here.
[0128] Please continue reading Figure 6 , the embodiments of the present application are Figure 5 The step S303 shown specifically includes step S3031: comparing the aforementioned target verification information and the aforementioned benchmark verification information, if the two are consistent, it is determined that the verification has passed, if the two are inconsistent, it is determined that the original data has not passed the verification.
[0129] As mentioned above, the second verification information and the reference verification information are generated in the same manner as the first verification information and the target verification information. Therefore, when there is no abnormality in the storage of the original data in the consumable chip and there is no abnormality in the data transmission between the consumable and the image forming device, the reference verification information and the target verification information should be consistent, that is, the original data is secure. By comparing the reference verification information and the target verification information, the security of the original data can be determined. Specifically, if the reference verification information and the target verification information are consistent, it is determined that the verification is passed; if the reference verification information and the target verification information are inconsistent, it is determined that the verification is not passed.
[0130] In one embodiment of the present application, if it is determined that the verification fails, it means that the storage of the consumable chip and / or the communication link between the consumable and the image forming device is abnormal and unreliable, then the image forming device can determine that the consumable is abnormal, and further, operations such as restricting the use of the consumable can be performed. If it is determined that the verification passes, it means that the storage of the consumable chip and the communication link between the consumable and the image forming device are both reliable, then the image forming device can determine that the consumable is normal.
[0131] See also Figure 7, is a flow chart of another data verification method provided in an embodiment of the present application. Figure 7 As shown, this method Figure 5 The step S404 shown specifically includes the following steps.
[0132] Step S4041: the consumable chip processes the first intermediate data based on a preset second algorithm to generate second intermediate data.
[0133] For ease of explanation, the second intermediate data is marked as “P” hereinafter.
[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 non-binary data, the consumable chip must first convert the first intermediate data M to obtain corresponding binary data, and then process the obtained binary data based on a preset second algorithm to generate second intermediate data P.
[0135] In a possible implementation, the first intermediate data M is 8-bit binary data, and the preset second algorithm is: identify the first N valid bits in the first intermediate data M in order from left to right, wherein the valid bit is a binary bit with a value of "1", and the invalid bit is a binary bit with a value of "0", and N≥1 (for example, N can be 1, 2, 3 or 5, etc.); when the first N valid bits in the first intermediate data M are identified, the binary bits other than the first N valid bits from left to right in the first intermediate data M are set to invalid bits, and the second intermediate data P is obtained; when the identification of each bit of the first intermediate data M is completed, the number of valid bits identified is <N, then the first intermediate number M is bitwise inverted, and the binary bits of the number obtained after the bitwise inversion are set to invalid bits except the first N valid bits from left to right, and the second intermediate data P is obtained; when the identification of each bit of the first intermediate data M is completed, the number of valid bits identified is = 0, and 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 digits ≥ N, the second intermediate data P is an 8-bit binary number, the number of valid digits = N, the number of invalid digits = 8-N, and the position of the valid digits of the second intermediate data P is the same as the position of the first N valid digits of the first intermediate data M in order from left to right;
[0138] (2) When the first intermediate data M is an 8-bit binary number and 0<the number of valid digits<N, the second intermediate data P is equal to a binary number obtained by inverting the first intermediate data M bit by bit and setting the binary bits other than the first N valid bits from left to right to invalid bits;
[0139] (3) When the first intermediate data M is an 8-bit binary number and the number of significant digits = 0, the second intermediate data P is an 8-bit binary number and P = 00101001.
[0140] Exemplarily, the first intermediate data M=10100101, and the valid bits in the first intermediate data M are identified according to the conditions of "valid bits are binary bits with a value of '1', and invalid bits are binary bits with a value of '0'", "N=3", and "valid bits are identified in order from left to right". The first three valid bits identified are the first, third, and sixth binary bits in M, respectively. After setting the binary bits except the three valid bits as invalid bits, the second intermediate data P obtained is binary data, P=10100100.
[0141] Exemplarily, the first intermediate data M=00100100, according to the conditions of "valid bits are binary bits with a value of '1', invalid bits are binary bits with a value of '0'", "N=3", and "valid bits are identified in order from left to right", the valid bits in the first intermediate data M are identified, and the two valid bits identified are the 3rd and 6th binary bits in M, respectively, 0<number of valid bits<N, the first intermediate data M is bitwise inverted to obtain the binary number 11011011, and the binary bits of the bitwise inverted number 11011011 except the first N valid bits from left to right are set to invalid binary bits, and the second intermediate number P=11010000.
[0142] Exemplarily, if the first intermediate data M=00000000, according to the conditions of "valid bits are binary bits with a value of '1', invalid bits are binary bits with a value of '0'", "N=3", and "valid bits are identified in order from left to right", the valid bits in the first intermediate data M are identified. When the identification of each bit of the first intermediate data M is completed, the identified number of valid bits = 0, and the second intermediate data P is set to binary data, and P=00101001.
[0143] It should be noted that the above possible implementation is only one of the possible implementations. In other possible implementations, the recognition order of 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 also be binary bits with a value of '0', and correspondingly, 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 the embodiments of the present application do 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, and can also 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 meets the corresponding preset rules.
[0144] The consumable chip indirectly processes the first intermediate data based on a preset second algorithm to generate 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 binary first intermediate data M, the consumable chip processes the first intermediate data M by bitwise inversion or the like to obtain conversion data of the first intermediate data M, and transforms the operation rules in the preset second algorithm to obtain a deformation algorithm of the preset second algorithm. Then, the conversion data of the first intermediate data M is processed based on the deformation algorithm of the preset second algorithm to generate second intermediate data P.
[0146] In one possible implementation, the first intermediate data M is a binary number, and the consumable chip transforms the operation rules in the preset second algorithm to obtain a deformation 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 deformation algorithm of the preset second algorithm to obtain preliminary data of the second intermediate data P, and then processes the preliminary data of the second intermediate data P 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 bitwise inversion or the like to obtain conversion data of the first intermediate data M, and then processes the conversion data of the first intermediate data M based on a preset second algorithm to generate preliminary data of the second intermediate data P, and then processes the preliminary data of the second intermediate data P to obtain the second intermediate data P.
[0148] Of course, those skilled in the art may also use other methods to generate the second intermediate data P according to actual needs, and the embodiment of the present application does not impose any specific limitation on this.
[0149] Step S4042: the consumable chip selects part 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 part of the data in the first verification information based on the second intermediate data P to obtain the selected part of the data.
[0151] It should be noted that the selected partial data can be directly generated based on the second intermediate data P, or can be indirectly selected based on the second intermediate data P, and the embodiments of the present application do not impose specific restrictions on this. Exemplarily, in the first implementation, the selected partial data is directly generated based on the second intermediate data P; in the second implementation, the partial data can also be generated based on the conversion data corresponding to the second intermediate data P, wherein the conversion 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 conversion data corresponding to the second intermediate data P, and then the preliminary data of the target verification information is converted using a preset algorithm to obtain the selected partial data.
[0152] Exemplarily, the first check information is 64 bytes of data, and the first check information is equally divided into 8 sub-check information segments, and each sub-check information segment contains 8 bytes, that is, 64 bits. For example, the second intermediate data P = 00100110 (the valid bit is a binary bit with a value of "1", and the invalid bit is a binary bit with a value of "0"), and the 8 sub-check information segments are ABCD EFGH. According to the second intermediate data P, the third sub-check information segment "C", the sixth sub-check information segment "F" and the seventh sub-check information segment "G" binary bits are selected from the 8 sub-check information segments, and the selected information is combined to obtain the target check information, that is, CFG. It can be understood that the selected partial data is only a part of the first verification information. The target verification information is generated based on the selected partial data. The data length of the target verification information can be shorter than the data length of the first verification information. Therefore, the communication time between the image forming device and the consumable chip can be shortened, which is conducive to solving the problem in the prior art that in the process of verifying the consumables, due to the long data length of the verification information and the low communication efficiency between the image forming device and the consumables, it takes a long time to transmit the verification information, which makes the image forming device take a long time to process the next task or enter the next stage.
[0153] It should be supplemented that, in addition to generating the target verification information based on the second intermediate data P and the first verification information, the embodiment of the present application can also directly select data matching the valid bits in the first intermediate data M in the first verification information based on the aforementioned first intermediate data M, and then generate the aforementioned target verification information based on the selected data. By way of example, taking the identification of valid bits in a binary bit with a value of '1' and the number of valid bits being 3 in order from left to right as an example, the first intermediate data M is 10110000, the first verification information is 64 bytes of data, and the first verification information is segmented into ABCD EFGH. The sub-verification information segments matching the valid bits selected using the first intermediate data M are A, C, and D, and the target verification information obtained can be ACD. For example, taking the case where the valid bit is a binary bit with a value of '1' and the number of valid bits is 3, and the valid bits are identified from left to right, the first intermediate data M is 10111000, the first check information is 64 bytes of data, and the first check information is segmented into ABCD EFGH. Then, using the first intermediate data M, according to the first 3 bits "1" as the valid bits, the sub-check information segments A, C, and D that match the valid bits are selected, and the "1" after the 3rd bit "1" is directly ignored, and the target check information obtained can be ACD.
[0154] Of course, those skilled in the art may also adopt other methods to select part of the data from the first verification information according to actual needs, and the embodiments of the present application do not impose specific limitations on this.
[0155] Please continue reading Figure 7 , this method is Figure 5 The step S406 shown specifically includes the following steps.
[0156] Step S4061: the image forming apparatus processes the first intermediate data based on a preset second algorithm to generate third intermediate data.
[0157] For the convenience of explanation, the third intermediate data is marked as P' hereinafter.
[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 corresponding binary data, and then process the obtained binary data based on a preset second algorithm to generate three intermediate data marked as P'.
[0159] In a possible implementation, when the first intermediate data M is binary data, after obtaining the first intermediate data M, the image forming apparatus may directly process the first intermediate data M to generate the third intermediate data P′.
[0160] The binary data obtained by converting the binary first intermediate data M or the non-binary first intermediate data M is processed to generate the third intermediate data P'. The specific generation process can refer to the generation process of the second intermediate data P in the above step S4041. Therefore, the specific content of step S4061 can refer to the description of the above step S4041. For the sake of brevity, it will not be repeated here.
[0161] Step S4062: The image forming apparatus selects partial data from the second verification information based on the third intermediate data.
[0162] In a specific implementation, the image forming apparatus may select data matching valid bits in the third intermediate data P' from at least part of the data in the second verification information based on the third intermediate data P' to obtain the selected part of the 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 the above step S4042. Therefore, the specific content of step S4062 can refer to the description of the above step S4042, and will not be repeated here for the sake of brevity.
[0164] See also Figure 8 , is a flow chart of another data verification method provided in an embodiment of the present application. Figure 8 As shown, this method Figure 6 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 second calculation factor verification data.
[0166] For the convenience of explanation, the second calculation factor check data is marked as R2' hereinafter.
[0167] As mentioned above, the first intermediate data M can be generated by the image forming device according to the third algorithm based on the first calculation factor R1 and the second calculation factor R2. 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. Exemplarily, if the first calculation factor R1 is any data in the first data set, 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 device 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. On the contrary, the consumable chip can search for the vertical coordinate R2' (second calculation factor verification data) corresponding to the first intermediate data M in the preset data table according to the first intermediate data M and the horizontal coordinate R1 (first calculation factor).
[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'. Exemplarily, the data of the first data set are binary integers ranging from 00000001 to 01111111, and the data of the second data set are binary integers ranging from 00000001 to 10000000, and the corresponding number of bits is set to 8 bits. When the first calculation factor R1 is a binary number 01010000, and the second calculation factor R2 is a binary number 00010010, the third algorithm is addition, and the fourth algorithm is subtraction, M is a binary number, and M=R1+R2=01010000+000 10010=01100010, the consumable chip can perform calculations, subtract 00000001 from the first intermediate data M to obtain M', which is 01100001, subtract 00000001 from the first calculation factor R1 to obtain R3, which is 01001111, and then subtract R3 from M' to obtain R2', which is 00010010, which is equal to 00010010 obtained by directly processing the first intermediate data M and the first calculation factor R1 according to the fourth algorithm, that is, subtracting the first calculation factor R1 from the first intermediate data M. Of course, those skilled in the art can also use other methods to generate the second calculation factor verification data R2' according to actual needs, and the embodiment of the present application does not make specific restrictions 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 according to the fourth algorithm.
[0169] Step S602: the consumable chip sends second calculation factor verification data to the image forming device.
[0170] Specifically, after obtaining the second calculation factor verification data R2', the consumable chip may send the second calculation factor verification data R2' to the image forming device, so that the image forming device verifies the consumable based on the second calculation factor verification data R2'.
[0171] It can be understood that the second calculation factor verification data R2' and the aforementioned target verification information sent by the consumable chip to the image forming device may be sent simultaneously. For example, the consumable chip sends the second calculation factor verification data R2' and the target verification information to the image forming device based on the same data frame; or the second calculation factor verification data R2' and the target verification information may be sent non-simultaneously. For example, the consumable chip sends the second calculation factor verification data R2' and the target verification information to the image forming device respectively 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 with the second calculation factor to determine whether the two are consistent. If they are inconsistent, it is determined that the consumables are abnormal.
[0173] It can be understood 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' are inconsistent. Therefore, it can be determined whether the consumable is abnormal 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 also Fig. 9 , is a flow chart of another data verification method provided in an embodiment of the present application. Fig. 9 As shown, this method Figure 7 The following steps are also included.
[0175] Step S701: the consumable chip sends second intermediate data to the image forming device.
[0176] Specifically, after generating the second intermediate data P, the consumable chip can send the second intermediate data P to the image forming device so that the image forming device verifies the consumable based on the second intermediate data P. In addition to directly outputting the second intermediate data to the image forming device, the consumable chip can also integrate the second intermediate data into the target verification information.
[0177] Step S702: the image forming apparatus compares the second intermediate data with the third intermediate data, and if the two are inconsistent, determines that the consumable is abnormal.
[0178] If the consumable chip directly outputs the second intermediate data, the image forming device 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 device 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, so 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 consistent, it is determined that the consumable is normal; if the second intermediate data P and the third intermediate data P' are inconsistent, it is determined that the consumable is abnormal.
[0180] It should be pointed out that Figure 5-Figure 9 The process shown is only an exemplary description of one or some specific implementations provided by the present application, and should not be used as a limitation on the scope of protection of the present application. Those skilled in the art may modify the process according to actual needs without affecting the feasibility of the solution. Figure 5-Figure 9 Combining or adjusting some of the steps in Figure 5-Figure 9 The order of the steps in the above description should all fall within the protection scope of this application.
[0181] For example, Figure 8 Steps S601 to S603 and Fig. 9 Steps S701-S702 in the above are set in the same embodiment, that is, in this embodiment, the consumables are verified by "comparing the target verification information with the benchmark verification information", "comparing the second calculation factor verification data R2' with the second calculation factor R2" and "comparing the second intermediate data P with 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 with the benchmark verification information", "comparing the second calculation factor verification data R2' with the second calculation factor R2" and "comparing the second intermediate data P with the third intermediate data P'" for verifying the consumables, and the embodiment of the present application does not limit the execution order of the three verification methods.
[0182] Corresponding to the above embodiment, the embodiment of the present application also provides a consumable chip.
[0183] See also Fig.10 , is a structural block diagram of a consumable chip provided in an embodiment of the present application. Fig.10As shown, the consumable chip includes a first controller, preferably, the first controller is an MCU (Microcontroller Unit), and the first controller is used to: receive a verification request sent by the aforementioned image forming device; send original data and target verification information to the aforementioned image forming device based on the aforementioned verification request, and at least part of the data in the aforementioned target verification information is used to verify the aforementioned original data; the aforementioned first controller is also used to: send a first calculation factor to the aforementioned image forming device based on the aforementioned verification request; receive first intermediate data generated based on the aforementioned first calculation factor and sent by the aforementioned image forming device;
[0184] Based on the aforementioned first intermediate data and the 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 a possible implementation, the consumable chip further includes: a memory for storing the aforementioned original data and / or conversion information of the aforementioned original data.
[0186] In a 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 a possible implementation, the first controller is specifically configured to process the first intermediate data based on a preset second algorithm to generate second intermediate data.
[0188] In a possible implementation, the first controller is specifically used to send the second intermediate data to the image forming device, where the second intermediate data is used to determine whether the consumables are abnormal.
[0189] In a possible implementation, the first controller is specifically configured to:
[0190] Based on the first intermediate data, select part of the data in the first verification information;
[0191] The aforementioned target verification information is generated based on the selected portion of data.
[0192] In a possible implementation manner, at least part of the selected partial data matches at least part of the valid bits in the first intermediate data.
[0193] In a possible implementation, the first controller is specifically configured to:
[0194] The target verification information is generated based on the second intermediate data and the first verification information.
[0195] In a possible implementation, the first controller is specifically configured to:
[0196] Based on the second intermediate data, select part of the data in the first verification information;
[0197] The aforementioned target verification information is generated based on the selected portion of data.
[0198] In a possible implementation manner, at least part of the selected partial data matches at least part of the valid bits in the second intermediate data.
[0199] In a possible implementation manner, when the first intermediate data is binary data, the first controller is specifically configured to:
[0200] Identify N valid bits in the first intermediate data, where N≥1;
[0201] Setting the binary bits other than the aforementioned N valid bits in the aforementioned first intermediate data to invalid bits to obtain the aforementioned second intermediate data;
[0202] Alternatively, when the first intermediate data is non-binary data, the first controller is specifically configured to:
[0203] Converting the first intermediate data into binary data;
[0204] Identify N valid bits in the obtained binary data, N ≥ 1;
[0205] The binary bits other than the aforementioned N valid bits in the aforementioned binary data are set as invalid bits to obtain the aforementioned second intermediate data.
[0206] In a possible implementation manner, when the first intermediate data is binary data, the first controller is specifically configured to:
[0207] Identify N valid bits in the first intermediate data in a sequence from left to right or from right to left;
[0208] When the first intermediate data is non-binary data, the first controller is specifically configured to:
[0209] In order from left to right or from right to left, N significant bits are identified in the obtained binary data.
[0210] In a possible implementation, the valid bit is a binary bit with a value of "1", and the invalid bit is a binary bit with a value of "0";
[0211] Alternatively, the aforementioned valid bit is a binary bit with a value of "0", and the aforementioned invalid bit is a binary bit with a value of "1".
[0212] In a possible implementation, the first controller is further configured to:
[0213] Processing the first intermediate data and the first calculation factor according to a fourth algorithm to generate second calculation factor verification data;
[0214] The second calculation factor verification data is sent to the image forming device; the second calculation factor verification data is used to determine whether the consumables are abnormal.
[0215] In a 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 part of the 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 part of the data.
[0216] In a possible implementation, the first controller is specifically used to: based on the second intermediate data, select data that matches the valid bits in the second intermediate data from at least part of the data in the first verification information to obtain the target verification information.
[0217] In one embodiment, the consumable chip of the embodiment of the present application generally includes a substrate and a plurality of contact contacts, wherein the plurality of contact contacts are arranged on the substrate, and each contact contact is respectively used to electrically connect to a plurality of contact terminals arranged on the image forming device, thereby realizing communication between the image forming device and the consumable chip, wherein the plurality of contact contacts may include VCC contacts, GND contacts, SDA contacts, and SCL contacts.
[0218] In another implementation, the consumable chip in the embodiment of the present application may further include an adapter plate in addition to the substrate, wherein the adapter plate is electrically connected to the substrate, and at least part of the aforementioned multiple contact points may be disposed on the adapter plate.
[0219] The embodiments of the present application do not limit the specific form of the consumable chip.
[0220] It should be pointed out that the specific contents involved in the embodiments of the present application can be found in the description of the above method embodiments, and for the sake of brevity, they will not be repeated here.
[0221] Corresponding to the above embodiment, the embodiment of the present application also provides a consumable.
[0222] See also Fig.11 , is a schematic diagram of the structure of a consumable provided in an embodiment of the present application. Fig.11As shown, the consumable includes a shell; a developer containing portion, located in the shell, for containing the developer; and the consumable chip mentioned above in the above embodiment.
[0223] See also Fig.12 , is a schematic diagram of the structure of another consumable provided in an embodiment of the present application. Fig.12 As shown, the consumables Fig.11 The illustrated embodiment further includes a developer conveying element for conveying developer.
[0224] See also Fig.13 , is a schematic diagram of the structure of another consumable provided in an embodiment of the present application. Fig.13 As shown, the consumables Fig.12 The illustrated embodiment further includes a photosensitive drum and a charging roller for charging the photosensitive drum.
[0225] See also Fig.14 , is a schematic diagram of the structure of another consumable provided in an embodiment of the present application. Fig.14 As shown, the consumables include a photosensitive drum; a charging roller for charging the photosensitive drum; and the consumable chip mentioned above in the above embodiment.
[0226] It should be pointed out that Figure 11-Figure 14 The specific contents 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 embodiment, the embodiment of the present application further provides an information processing device, including:
[0228] A first receiving module, used for receiving a verification request sent by the aforementioned image forming device;
[0229] A first output module, configured to send the original data and target verification information to the image forming device based on the verification request, wherein at least part of the target verification information is used to verify the original data;
[0230] A second output module, configured to send the first calculation factor to the image forming device based on the verification request;
[0231] A second receiving module, configured to receive first intermediate data generated based on the first calculation factor and sent by the image forming device;
[0232] A generation module is used to generate the aforementioned target verification information 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 the preset first algorithm.
[0233] In one embodiment, the aforementioned generation module is further used 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 to:
[0235] Based on the first intermediate data, select part of the data in the first verification information;
[0236] The aforementioned target verification information is generated based on the selected portion of data.
[0237] In one embodiment, at least part of the selected partial data matches at least part of the valid bits in the first intermediate data.
[0238] In one embodiment, the aforementioned generation module is specifically used to:
[0239] The target verification information is generated based on the second intermediate data and the first verification information.
[0240] In one embodiment, the aforementioned generation module is specifically used to:
[0241] Based on the second intermediate data, select part of the data in the first verification information;
[0242] The aforementioned target verification information is generated based on the selected portion of data.
[0243] In one embodiment, at least part of the selected partial data matches at least part of the valid bits in the second intermediate data.
[0244] In one embodiment, when the first intermediate data is binary data, the generating module is specifically configured to:
[0245] Identify N valid bits in the first intermediate data, where N≥1;
[0246] Setting the binary bits other than the aforementioned N valid bits in the aforementioned first intermediate data to invalid bits to obtain the aforementioned second intermediate data;
[0247] Alternatively, when the first intermediate data is non-binary data, the generating module is specifically configured to:
[0248] Converting the first intermediate data into binary data;
[0249] Identify N valid bits in the obtained binary data, N ≥ 1;
[0250] The binary bits other than the aforementioned N valid bits in the aforementioned binary data are set as invalid bits to obtain the aforementioned second intermediate data.
[0251] In one embodiment, when the first intermediate data is binary data, the generating module is specifically configured to:
[0252] Identify N valid bits in the first intermediate data in a sequence from left to right or from right to left;
[0253] When the first intermediate data is non-binary data, the generating module is specifically configured to:
[0254] In order from left to right or from right to left, N significant bits are identified in the obtained binary data.
[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 bit is a binary bit with a value of "0", and the aforementioned invalid bit is a binary bit with a value of "1".
[0257] In one embodiment, the aforementioned generating module is used to process the aforementioned first intermediate data and the aforementioned first calculation factor according to a 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 device; the aforementioned second calculation factor verification data is used to determine whether the aforementioned consumables are abnormal.
[0259] In the embodiment of the present 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 by software or by 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 including devices such as FPGA (Field Programmable Gate Array), MCU (Microcontroller Unit), DSP (digital signal processor) and the like. The first output module, the third output module and the second output module can also realize functions by building a specific waveform generator circuit. The first receiving module, the second receiving module and the generating module can also realize corresponding functions by building a digital logic calculator. The present 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 a 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 arranged on the consumables and different from the consumable chips, which is not limited in the present application.
[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 outside the consumable chip and electrically connected to the consumable chip, and the other units are built into the first controller of the consumable chip, that is, the aforementioned consumables include a consumable chip and an external module electrically connected to the consumable chip.
[0264] In a 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 arranged 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 arranged on the first consumable chip, and the generating module is arranged on the second consumable chip. After the first receiving module of the first consumable chip receives the verification request sent by the image forming device, the verification request or the parsed information of the verification request is sent to the second consumable chip. The second consumable chip generates a first calculation factor based on the verification request or the parsed information of the verification request, 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 device based on the verification request. The second receiving module of the first consumable chip receives the first intermediate data generated based on the first calculation factor and sent by the image forming device, 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 the original data and the target verification information to the image forming device based on the verification request, wherein the original data may be pre-stored in the first consumable chip.
[0265] Of course, those skilled in the art may also set the first receiving module, the first output module, the second output module, the second receiving module and the third output module generating module on different consumable chips in other ways, and this application does not limit this.
[0266] It should be noted that in the embodiment of the present application, the target verification information, the second intermediate data and the second calculation factor verification data can all be used by the image forming device to verify the consumables, that is, to determine whether the consumables are abnormal. The specific content of how the target verification information, the second intermediate data and the second calculation factor verification data are used by the image forming device to verify the consumables can be referred to the above description. For the sake of simplicity, it will not be repeated here. In practical applications, for example, when the modules of the information processing device are all 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 device. For example, when the first output module, the second output module and the third output module of the information processing device are arranged on the first consumable chip, and the generation module is arranged 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 device by the first consumable chip. The target verification information sent by the information processing device is used for the image forming device to compare with the aforementioned reference verification information generated to determine whether the two are consistent. If there is any inconsistency, the image forming device determines that the consumables are abnormal. If they are consistent, the image forming device 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 for the image forming device to compare with the aforementioned third intermediate data to determine whether the two are consistent. If the two are inconsistent, it is determined that the aforementioned consumables are abnormal. If they are consistent, the image forming device determines that the consumables are normal. The second calculation factor verification data sent by the information processing device is used for the image forming device to compare with the aforementioned second calculation factor to determine whether the two are consistent. If the two are inconsistent, it is determined that the aforementioned consumables are abnormal. If they are consistent, the image forming device determines that the consumables are normal. Further, 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 set 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 content of the image forming device determining whether the consumables are 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 pointed out that the specific contents involved in the embodiments of the present application can be found in the above description, and for the sake of brevity, they will not be repeated here.
[0268] Corresponding to the above embodiment, the embodiment of the present application further provides a data verification method, which is applied to the consumable chip or information processing device described in the above embodiment, including:
[0269] receiving a verification request sent by the aforementioned image forming device;
[0270] Sending the original data and target verification information to the image forming device based on the verification request, at least part of the target verification information being used to verify the original data;
[0271] Before sending the target verification information to the image forming device based on the verification request, the method further includes:
[0272] sending a first calculation factor to the image forming device based on the verification request;
[0273] receiving first intermediate data generated based on the first calculation factor and sent by the image forming device;
[0274] 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 the preset first algorithm.
[0275] In one embodiment, the first intermediate data is processed based on a preset second algorithm to generate second intermediate data.
[0276] In one embodiment, the generating of the target verification information based on the first intermediate data and the first verification information includes:
[0277] Based on the first intermediate data, select part of the data in the first verification information;
[0278] The aforementioned target verification information is generated based on the selected portion of data.
[0279] In one embodiment, at least part of the selected partial data matches at least part of the valid bits in the first intermediate data.
[0280] In one embodiment, the generating of the target verification information based on the first intermediate data includes:
[0281] The target verification information is generated based on the second intermediate data and the first verification information.
[0282] In one embodiment, the generating of the target verification information based on the second intermediate data and the first verification information includes:
[0283] Based on the second intermediate data, select part of the data in the first verification information;
[0284] The aforementioned target verification information is generated based on the selected portion of data.
[0285] In one embodiment, at least part of the selected partial data matches at least part of the valid bits in the second intermediate data.
[0286] In one embodiment, when the first intermediate data is binary data, the 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 first intermediate data, where N≥1;
[0288] Setting the binary bits other than the aforementioned N valid bits in the aforementioned first intermediate data to invalid bits to obtain the aforementioned second intermediate data;
[0289] Alternatively, when the first intermediate data is non-binary data, the processing of the first intermediate data based on a preset second algorithm to generate second intermediate data includes:
[0290] Converting the first intermediate data into binary data;
[0291] Identify N valid bits in the obtained binary data, N ≥ 1;
[0292] The binary bits other than the aforementioned N valid bits in the aforementioned binary data are set as invalid bits to obtain the aforementioned second intermediate data.
[0293] In one embodiment, when the first intermediate data is binary data, the step of identifying N valid bits in the first intermediate data includes:
[0294] Identify N valid bits in the first intermediate data in a sequence from left to right or from right to left;
[0295] When the first intermediate data is non-binary data, the step of identifying N valid bits in the obtained binary data includes:
[0296] In order from left to right or from right to left, N significant bits are identified in the obtained binary data.
[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 bit is a binary bit with a value of "0", and the aforementioned invalid bit is a binary bit with a value of "1".
[0299] In one embodiment, after receiving the first intermediate data generated based on the first calculation factor and sent by the image forming device, the method further includes:
[0300] Processing the first intermediate data and the first calculation factor according to a fourth algorithm to generate second calculation factor verification data;
[0301] The second calculation factor verification data is sent to the image forming device; the second calculation factor verification data is used to determine whether the consumables are abnormal.
[0302] Corresponding to the above embodiment, the embodiment of the present application also provides a consumable.
[0303] See also Fig.15 , is a schematic diagram of the structure of a consumable provided in an embodiment of the present application. Fig.15 As shown, the consumables include a shell; a developer containing portion, located in the shell and used to contain the developer; and the information processing device described in the above embodiment.
[0304] See also Fig.16 , is a schematic diagram of the structure of another consumable provided in an embodiment of the present application. Fig.16 As shown, the consumables Fig.15 The illustrated embodiment further includes a developer conveying element for conveying developer.
[0305] See also Fig.17 , is a schematic diagram of the structure of another consumable provided in an embodiment of the present application. Fig.17 As shown, the consumables Fig.16 The illustrated embodiment further includes a photosensitive drum and a charging roller for charging the photosensitive drum.
[0306] See also Fig.18 , is a schematic diagram of the structure of another consumable provided in an embodiment of the present application. Fig.18 As shown, the consumables include a photosensitive drum; a charging roller for charging the photosensitive drum; and the information processing device described in the above embodiment.
[0307] It should be pointed out that Figure 15-18 The specific contents 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 embodiment, the embodiment of the present application further provides an image forming device.
[0309] See also Fig.19 , is a structural block diagram of an image forming device provided in an embodiment of the present application. Fig.19 As shown, the image forming apparatus includes a second controller, and the second controller is configured to execute part or all of the methods in the above method embodiments.
[0310] It should be pointed out that the specific contents involved in the embodiments of the present application can be found in the description of the above embodiments, and for the sake of brevity, they will not be repeated here.
[0311] Corresponding to the above-mentioned embodiment, the embodiment of the present application further provides an image forming system, which includes the consumables mentioned above in the above-mentioned embodiment and the image forming device mentioned above in the above-mentioned embodiment; wherein the image forming device and the consumable chip are communicatively connected.
[0312] It should be pointed out that the specific contents involved in the embodiments of the present application can be found in the description of the above embodiments, and for the sake of brevity, they will not be repeated here.
[0313] Corresponding to the above embodiment, the embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium may store a program, wherein when the program is running, the device where the computer-readable storage medium is located may be controlled to perform some or all of the steps in the above method embodiment. In a specific implementation, the computer-readable storage medium may be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM).
[0314] Corresponding to the above-mentioned embodiment, the embodiment of the present application further provides a computer program product, which includes executable instructions. When the executable instructions are executed on a computer, the computer executes some or all of the steps in the above-mentioned method embodiment.
[0315] In the embodiments of the present application, "at least one" refers to one or more, and "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and subsequent associated 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 be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0316] Those of ordinary skill in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented in a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0317] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0318] In several embodiments provided in the present application, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the aforementioned methods of each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (read-only memory, referred to as ROM), random access memory (random access memory, referred to as RAM), disk or optical disk and other media that can store program codes.
[0319] The above is only a specific implementation of the present application. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. The protection scope of the present application shall be based on the protection scope of the above claims.
Claims
1. A data verification method, characterized in that: The method comprises: receiving a verification request sent by an image forming device; Sending original data and target verification information to the image forming device based on the verification request, wherein at least part of the target verification information is used to verify the original data; Before sending the target verification information to the image forming device based on the verification request, the method further includes: sending a first calculation factor to the image forming device based on the verification request; receiving first intermediate data generated based on the first calculation factor and sent by the image forming device; 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.
2. The method according to claim 1, characterized in that include: 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 generating the target verification information based on the first intermediate data and the first verification information includes: Based on the first intermediate data, select part of the data in the first verification information; The target verification information is generated based on the selected portion of data.
4. The method according to claim 3, characterized in that: At least part of the selected partial data matches at least part of the valid bits in the first intermediate data.
5. The method according to claim 2, characterized in that: The generating the target verification information based on the first intermediate data includes: The target verification information is generated based on the second intermediate data and the first verification information.
6. The method according to claim 5, characterized in that The generating the target verification information based on the second intermediate data and the first verification information includes: Based on the second intermediate data, selecting part of the data in the first verification information; The target verification information is generated based on the selected portion of data.
7. The method according to claim 6, characterized in that At least part of the selected partial data matches at least part 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 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, N≥1; Setting the binary bits other than the N valid bits in the first intermediate data to invalid bits to obtain the second intermediate data; Alternatively, when the first intermediate data is non-binary data, the processing the first intermediate data based on a preset second algorithm to generate second intermediate data includes: converting the first intermediate data into binary data; Identify N valid bits in the obtained binary data, N ≥ 1; The binary bits other than the N valid bits in the obtained binary data are set as 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 a sequence from left to right or from right to left; When the first intermediate data is non-binary data, identifying N valid bits in the obtained binary data includes: In order from left to right or from right to left, N significant bits are identified in the obtained binary data.
10. The method according to any one of claims 4, 7-9, characterized in that: The valid bit is a binary bit with a value of "1", and the invalid bit is a binary bit with a value of "0"; Alternatively, the valid bit is a binary bit with a value of "0", and the invalid bit is a binary bit with a value of "1".
11. The method according to any one of claims 1 to 10, characterized in that: After receiving the first intermediate data generated based on the first calculation factor and sent by the image forming device, the method further includes: Processing the first intermediate data and the first calculation factor according to a fourth algorithm to generate second calculation factor verification data; The second calculation factor verification data is sent to the image forming device; 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 device, wherein consumables are installed on the image forming device, characterized in that: The method comprises: Sending a verification request to the consumable; Receiving original data, target verification information and a first calculation factor sent by the consumable; generating first intermediate data based on the first calculation factor, and sending the first intermediate data to the consumable; Generate second verification information based on the original data according to a preset first algorithm; selecting part of the data from the second verification information based on the first intermediate data; generating benchmark verification information based on the selected portion of the data; The target verification information and the reference verification information are compared. If the two are consistent, it is determined that the original data has passed the verification. If the two are inconsistent, it is determined that the original data has not passed the verification.
13. The method according to claim 12, characterized in that The selecting part of the data from the second verification information based on the first intermediate data includes: Processing the first intermediate data based on a preset second algorithm to generate third intermediate data; Partial data is selected from the second verification information based on the third intermediate data.
14. The method according to claim 13, characterized in that The selecting part of the data from the second verification information based on the third intermediate data includes: Based on the third intermediate data, data matching valid bits in the third intermediate data is extracted in the second check information.
15. The method according to claim 13, characterized in that When the first intermediate data is binary data, the processing the first intermediate data based on a preset second algorithm to generate third intermediate data includes: Identify N valid bits in the first intermediate data, N≥1; Setting the binary bits other than the N valid bits in the first intermediate data to invalid bits to obtain the third intermediate data; Alternatively, when the first intermediate data is non-binary data, the processing of the first intermediate data based on a preset second algorithm to generate third intermediate data includes: converting the first intermediate data into binary data; Identify N valid bits in the obtained binary data, N ≥ 1; The binary bits other than the N valid bits in the obtained binary data are set as invalid bits to obtain the third intermediate data.
16. The method according to claim 12, characterized in that The generating first intermediate data based on the first calculation factor comprises: generating a second calculation factor; Based on the first calculation factor and the second calculation factor, and according to a preset third algorithm, generating the first intermediate data; After sending the first intermediate data to the consumable, the method further includes: Receiving second calculation factor verification data sent by the consumable; The second calculation factor verification data is compared with the second calculation factor, and if the two are inconsistent, it is determined that the consumable is 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: Acquire second intermediate data generated by the consumable; The second intermediate data and the third intermediate data are compared, and if the two are inconsistent, it is determined that the consumable is abnormal.
18. An information processing device, wherein the control device is capable of communicating with an image forming device, and the image forming device is detachably mounted with consumables, characterized in that: include: A first receiving module, configured to receive a verification request sent by the image forming device; A first output module, configured to send original data and target verification information to the image forming device based on the verification request, wherein at least part of the target verification information is used to verify the original data; a second output module, configured to send a first calculation factor to the image forming device based on the verification request; A second receiving module, configured to receive first intermediate data generated based on the first calculation factor and sent by the image forming device; 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 the preset first algorithm.
19. The information processing device according to claim 18, characterized in that: The generating module is further used to process the first intermediate data based on a preset second algorithm to generate second intermediate data.
20. The information processing device according to claim 18 or 19, characterized in that: The generating module is specifically used for: Based on the first intermediate data, select part of the data in the first verification information; The target verification information is generated based on the selected portion of data.
21. The information processing device according to claim 20, characterized in that: At least part of the selected partial data matches at least part of the valid bits in the first intermediate data.
22. The information processing device according to claim 19, characterized in that: The generating module is specifically used for: The target verification information is generated based on the second intermediate data and the first verification information.
23. The information processing device according to claim 22, characterized in that: The generating module is specifically used for: Based on the second intermediate data, selecting part of the data in the first verification information; The target verification information is generated based on the selected portion of data.
24. The information processing device according to claim 23, characterized in that: At least part of the selected partial data matches at least part of the valid bits in the second intermediate data.
25. The information processing device according to claim 19, characterized in that When the first intermediate data is binary data, the generating module is specifically configured to: Identify N valid bits in the first intermediate data, N≥1; Setting the binary bits other than the N valid bits in the first intermediate data to invalid bits to obtain the second intermediate data; Alternatively, when the first intermediate data is non-binary data, the generating module is specifically configured to: converting the first intermediate data into binary data; Identify N valid bits in the obtained binary data, N ≥ 1; The binary bits other than the N valid bits in the obtained binary data are set as invalid bits to obtain the second intermediate data.
26. The information processing device according to claim 25, characterized in that: When the first intermediate data is binary data, the generating module is specifically configured to: Identify N valid bits in the first intermediate data in a sequence from left to right or from right to left; When the first intermediate data is non-binary data, the generating module is specifically configured to: In order from left to right or from right to left, N significant bits are identified in the obtained binary data.
27. The information processing device according to any one of claims 21, 24-26, characterized in that: The valid bit is a binary bit with a value of "1", and the invalid bit is a binary bit with a value of "0"; Alternatively, the valid bit is a binary bit with a value of "0", and the invalid bit is a binary bit with a value of "1".
28. The information processing device according to any one of claims 18 to 27, characterized in that: The generating module is configured to process the first intermediate data and the first calculation factor according to a fourth algorithm to generate second calculation factor verification data; The information processing device further includes: a third output module, configured 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 material, characterized in that: include: case; A developer containing portion, located in the housing, for containing the developer; as well as An information processing device as claimed in any one of claims 18 to 28.
30. The consumable material according to claim 29, characterized in that: The consumables also include: The developer conveying element is used for conveying the developer.
31. The consumable material according to claim 30, characterized in that: The consumables also include: Photosensitive drum; A charging roller is used for charging the photosensitive drum.
32. A consumable material, characterized in that: The consumables also include: Photosensitive drum; a charging roller for charging the photosensitive drum; and An information processing device as claimed in any one of claims 18 to 28.
33. An image forming device, characterized in that: include: A second controller, wherein the second controller is configured to execute the method according to any one of claims 12 to 17.
Citation Information
Patent Citations
Dead nozzle compensation
CA2508141A1
Image forming apparatus and communication method
CN103546655A
File fragment uploading verification method and system
CN113938269A
Data verification method and device, storage medium and electronic equipment
CN113972990A
Image forming apparatus, startup control method thereof, and storage medium
CN114785899A
