Data transmission method, data verification method, data processing method and application device

By inserting a check bit in data transmission, the problem of bit flipping caused by charged particles during high-altitude transportation of consumable chips is solved, ensuring data transmission accuracy, avoiding printing errors, and improving print quality.

CN121636243APending Publication Date: 2026-03-10ZHUHAI PANTUM ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-29
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

The parity check technology in the present technology cannot effectively identify the flipping of 2 bits of consumable chip caused by charged particles during high-altitude transportation, which leads to the image forming equipment making incorrect judgments on the properties of consumables and affects the printing quality.

Method used

A check bit is inserted during data transmission. The index value of the check bit is associated with the number of 1s or 0s in the valid data. The check bit ensures the accuracy of data transmission. I2C or TCP/IP is used for communication.

Benefits of technology

It effectively avoids data transmission errors, ensures print quality, and reduces error correction costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121636243A_ABST
    Figure CN121636243A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a data transmission method, a data verification method, a data processing method and an application device, and the method comprises the steps: receiving a first data request signal, and determining first data according to the first data request signal; inserting the first check bit into the first valid data, wherein the insertion position of the first check bit is a first index value; the first data comprises a first to-be-checked byte, and the first to-be-checked byte has a first check bit and first valid data; a first index value of the first check bit in the first byte to be checked is associated with the number of digits 1 or digits 0 in the first valid data; the first check bit has a preset value; and sending the first data. The first check bit is inserted into the first effective data, the first index value of the first check bit is related to the number of the digit values in the first effective data, correct data transmission can be guaranteed through the first check bit, and printing errors or poor printing quality caused by data transmission errors are avoided; and error correction cost is low.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data verification and processing technology, and in particular to a data transmission method, a data verification method, a data processing method, and an application device. Background Technology

[0002] Image forming devices such as printers, copiers, and fax machines use ink or toner to create images on paper. When the toner level is low, users need to replace consumables such as ink cartridges or drums to replenish it. Some existing consumables have chips that store image forming-related information and facilitate simple communication control. For example, the consumable chip can store information such as the number of pages printed and the amount of toner consumed, allowing the printer controller to estimate the remaining toner level. However, because only the toner is replenished during repeated recycling and transportation of consumables, without replacing the chip, the information stored in the chip may become increasingly susceptible to bit flipping with each transport. If the information in the consumable chip regarding the compatible device model or transmission protocol changes, the image forming device may misjudge the consumable's properties, leading to incorrect control and making it difficult to create high-quality images.

[0003] In the process of conceiving and implementing this application, the inventors discovered the following problem: Although the parity check in the prior art can meet the verification requirements to a certain extent, the consumable chip is more prone to two bit flips due to the presence of charged particles during high-altitude transportation, but the parity check can only identify one bit error, which is difficult to meet the requirements in this scenario.

[0004] The preceding description is intended to provide general background information and does not necessarily constitute prior art. Summary of the Invention

[0005] This application provides a data transmission method, a data verification method, a data processing method, and an application device to achieve accurate information transmission and avoid printing errors or poor printing quality.

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

[0007] Receive a first data request signal and determine the first data based on the first data request signal;

[0008] The first check bit is inserted into the first valid data, and the insertion position of the first check bit is the first index value; the first data includes a first byte to be checked, and the first byte to be checked has a first check bit and first valid data; the first index value of the first check bit in the first byte to be checked is associated with the number of 1s or 0s in the first valid data; the first check bit has a preset value;

[0009] Send the first data.

[0010] In one possible implementation, the method further includes:

[0011] Send a second data request signal;

[0012] Receive second data; wherein the second data includes a second byte to be verified;

[0013] The second index value and the second valid data of the second check bit are determined based on the number of 1s or 0s in the second byte to be checked.

[0014] Whether the second data is abnormal is determined by whether the number of 1s or 0s in the second valid data matches the second index value.

[0015] In one possible implementation, determining the second index value of the second check bit and the second valid data based on the number of 1s or 0s in the second byte to be checked specifically includes:

[0016] Subtract 1 from the number of 1s or 0s in the second byte to be checked to obtain the second index value of the second check bit;

[0017] The second valid data is obtained by removing the second check bit from the second byte to be checked.

[0018] In one possible implementation, determining whether the second data is abnormal based on whether the second index value matches the number of 1s or 0s in the second valid data specifically includes:

[0019] If the number of 1s or 0s in the second index value matches the number of digits in the second valid data, then the second data is considered normal.

[0020] If the number of 1s or 0s in the second index value is inconsistent with the number of digits in the second valid data, then the second data is determined to be abnormal.

[0021] Secondly, this application proposes an information verification method, which includes:

[0022] Receive second data; wherein the second data includes a second byte to be verified;

[0023] The second index value and the second valid data of the second check bit are determined based on the number of 1s or 0s in the second byte to be checked.

[0024] Whether the second data is abnormal is determined by whether the number of 1s or 0s in the second valid data matches the second index value.

[0025] In one possible implementation, determining whether the second data is abnormal based on whether the second index value matches the number of 1s or 0s in the second valid data specifically includes:

[0026] If the number of 1s or 0s in the second index value matches the number of digits in the second valid data, then the second data is considered normal.

[0027] If the number of 1s or 0s in the second index value is inconsistent with the number of digits in the second valid data, then the second data is determined to be abnormal.

[0028] Thirdly, this application proposes a data processing method, which includes:

[0029] Determine the first data;

[0030] The first check bit is inserted into the first valid data, and the insertion position of the first check bit is the first index value; the first data includes a first byte to be checked, and the first byte to be checked has a first check bit and first valid data; the first index value of the first check bit in the first byte to be checked is associated with the number of 1s or 0s in the first valid data; the first check bit has a preset value;

[0031] Store the first data.

[0032] In one possible implementation, the method further includes:

[0033] Read the first data from the storage unit; the first data includes a first byte to be verified, and the first byte to be verified includes a first check bit and valid data;

[0034] The first index value of the first check bit is determined based on the number of 1s or 0s in the first byte to be checked.

[0035] The first valid data in the first byte to be checked is read based on the first check bit.

[0036] Fourthly, this application also provides a replaceable unit, including any of the above-described data transmission methods, and / or including any of the above-described information verification methods; and / or, any of the above-described data processing methods.

[0037] Fifthly, this application also provides an imaging device, including any of the above-described data transmission methods, and / or, including any of the above-described information verification methods; and / or, any of the above-described data processing methods.

[0038] In a sixth aspect, this application also proposes an image forming apparatus, including the replaceable unit and the imaging device as described above, wherein the replaceable unit is configured to be installed or removed from the imaging device, and when the replaceable unit is installed on the imaging device, it is able to participate in the imaging operation performed by the imaging device.

[0039] In a seventh aspect, this application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement any of the methods described above.

[0040] Eighthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements any of the methods described above.

[0041] This application provides a data transmission method, a data verification method, a data processing method, and an application device. The method includes: receiving a first data request signal and determining first data based on the first data request signal; inserting a first check bit into first valid data, the insertion position of the first check bit being a first index value; the first data includes a first byte to be verified, the first byte to be verified having a first check bit and first valid data; the first index value of the first check bit in the first byte to be verified is associated with the number of 1s or 0s in the first valid data; the first check bit has a preset value; and sending the first data. By inserting a first check bit into the first valid data, the first index value of the first check bit is related to the number of digits in the first valid data. The first check bit ensures correct data transmission, avoiding data transmission errors that could lead to printing errors or poor printing quality; and the error correction cost is low. Attached Figure Description

[0042] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0043] Figure 1 A flowchart illustrating a data transmission method provided in an embodiment of this application;

[0044] Figure 2 A schematic diagram illustrating the insertion of a first check bit according to an embodiment of this application;

[0045] Figure 3 A flowchart illustrating a data transmission method provided in an embodiment of this application;

[0046] Figure 4 This is a schematic diagram illustrating the verification of the second byte to be verified according to an embodiment of this application;

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

[0048] Figure 6 A flowchart illustrating a data processing method provided in an embodiment of this application;

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

[0050] Figure 8 This is a schematic diagram illustrating data transmission between an imaging device and a replaceable unit according to an embodiment of this application;

[0051] Figure 9 This is a schematic diagram illustrating data processing performed by an imaging device or replaceable unit according to an embodiment of this application.

[0052] Figure 10 A flowchart illustrating a data processing method provided in an embodiment of this application;

[0053] Figure 11 A flowchart illustrating a data processing method provided in another embodiment of this application;

[0054] Figure 12 This is a schematic diagram of the imaging device provided in this application.

[0055] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0056] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0057] Image forming devices such as printers, copiers, or fax machines use ink or toner to create images on paper. When the toner level is low, users need to replace consumables such as ink cartridges or drums to replenish the toner. Some existing consumables have chips that can store image forming-related information and facilitate simple communication control. For example, the consumable chip can store information such as the number of pages printed and the amount of toner consumed, allowing the printer controller to estimate the remaining toner level after reading this information. The consumable chip can also store the model of the image forming device to which the consumable is compatible (such as the serial number) and the supported transmission protocols (such as I2C).2 Information such as C, SPI, and USB is provided to facilitate correct printer control of consumables and data transmission. However, when the toner runs out, the image forming equipment manufacturer, user, or third-party consumable manufacturer can replenish the toner for recycling; consumables are generally transported by air. However, the "bit flip" phenomenon in the storage units of consumables at high altitudes due to charged particles is higher than that of ground transportation. This is because the SRAM-type FPGA used in consumables is highly sensitive to charged particles in the atmosphere and is prone to single-event upsets, leading to data errors during transmission. In addition, "bit flips" can also occur in other scenarios that may generate ionizing radiation. If the information in the consumable chip regarding the compatible device model or transmission protocol changes, the image forming equipment may misjudge the properties of the consumable, leading to incorrect control and making it difficult for the image forming equipment to produce high-quality images.

[0058] In the process of conceiving and implementing this application, the inventors discovered the following problem: Although the parity check in the prior art can meet the data verification requirements to a certain extent, the consumable chip is more prone to two bit flips due to the presence of charged particles during high-altitude transportation, but the parity check can only identify one bit error, which is difficult to meet the requirements in this scenario.

[0059] To address the aforementioned problems, this application provides a data transmission method, which includes the following steps: Figure 1 As shown, Figure 1 A flowchart illustrating a data transmission method provided in an embodiment of this application:

[0060] Step S102: Receive the first data request signal and determine the first data based on the first data request signal.

[0061] Specifically, the first data request signal can be received via a wireless communication network or a wired network. The first data can be extracted from a pre-stored dataset to determine the first data information to be sent.

[0062] Step S104: Insert the first check bit into the first valid data. The insertion position of the first check bit is the first index value. The first data includes a first byte to be checked. The first byte to be checked has a first check bit and first valid data. The first index value of the first check bit in the first byte to be checked is associated with the number of 1s or 0s in the first valid data. The first check bit has a preset value.

[0063] Specifically, the first data includes multiple bytes to be verified. This application uses the first byte to be verified as an example for explanation. The first byte to be verified has 8 bits, of which the first valid data occupies 7 bits and the first check bit occupies 1 bit.

[0064] Step S106: Send the first data.

[0065] Specifically, the first data is transmitted via a wireless communication network or a wired network, wherein the first data transmitted is data after inserting a check bit.

[0066] This application inserts a first check bit into the first valid data. The first index value of the first check bit is related to the number of digits in the first valid data. The first check bit can ensure the correct transmission of data and avoid printing errors or poor printing quality caused by data transmission errors; the error correction cost is low.

[0067] In one possible implementation, parity check is used, which involves adding a parity bit after the valid data. Parity checks are divided into odd parity and even parity; taking odd parity as an example, the parity bit in odd parity ensures that the number of 1s in the valid data is odd. That is, when the number of 1s is odd, the parity bit is 0; when the number of 1s is even, the parity bit is 1. Parity check can detect a single bit error because a single bit error necessarily means a change in parity. However, if two bits are error, since the parity has not changed, it cannot be detected. Secondly, Hamming codes can accurately determine which bits are error, but if the valid data has 7 bits, 4 parity bits are needed to achieve this effect, as the valid data represents a relatively small percentage of the total data; furthermore, it involves more complex computational logic.

[0068] The first check bit in the embodiments of this application is as follows: Figure 2 As shown, Figure 2 This is a schematic diagram illustrating the insertion of a first check bit according to an embodiment of this application. In this embodiment, the first index value of the first check bit is associated with the number of 1s in the first valid data. The first valid data has 7 bits, of which 2 are 1s. The first index value of the first check bit is related to the position where it is inserted into the first valid data. The first index value of the first check bit is 2, and the first index value starts from 0. Therefore, the first check bit is inserted from the 3rd bit of the first valid data, and the first check bit has a value of 1. The first byte to be checked includes the first check bit and the first valid data. The first data includes multiple bytes to be checked.

[0069] In one possible implementation, the first index value of the first check bit is associated with the number of 0 bits in the first valid data. The first valid data has 7 bits, of which 2 are 0 bits. The first index value of the first check bit is related to the position where it is inserted into the first valid data. The first index value of the first check bit is 2, where the first index value starts from 0. Therefore, the first check bit is inserted from the 3rd bit of the first valid data, and the first check bit takes the value of 0.

[0070] In one possible implementation, the method further includes the following steps, such as Figure 3 As shown, Figure 3 A flowchart illustrating a data transmission method provided in an embodiment of this application:

[0071] Step S302: Send a second data request signal.

[0072] Step S304: Receive second data; wherein the second data includes a second byte to be verified.

[0073] Specifically, the second byte to be verified includes a second check bit and second valid data. The second data may include multiple bytes to be verified; this embodiment uses the second byte to be verified as an example.

[0074] Step S306: Determine the second index value and the second valid data of the second check bit based on the number of 1s or 0s in the second byte to be checked.

[0075] Step S308: Determine whether the second data is abnormal based on whether the number of 1s or 0s in the second index value matches the number of digits in the second valid data.

[0076] This application determines whether the transmitted second data is abnormal by checking whether the second index value matches the number of 1s or 0s in the second valid data. This ensures that the received second data is normal and avoids printing errors or poor printing quality caused by data transmission errors.

[0077] In this embodiment, the first data and the second data include information related to the toner, the identification information of the replaceable unit, the identification information of the imaging device, imaging parameters, environmental parameters, component lifespan, or recycling method. The first data and the second data may also be other types of data; this application does not limit the information content included in the first data and the second data.

[0078] In one possible implementation, step S306 specifically includes:

[0079] The second index value of the second check bit is obtained by subtracting 1 from the number of 1s or 0s in the second byte to be checked.

[0080] The second valid data is obtained by removing the second check bit from the second byte to be checked.

[0081] like Figure 4 As shown, Figure 4This is a schematic diagram illustrating the verification of a second byte to be verified according to an embodiment of this application. The received second byte to be verified includes a second check bit and second valid data. The second check bit contains three 1s, and the second index value is determined to be two, thus identifying the second check bit. Removing the second check bit from the second byte to be verified yields the second valid data. This ensures data accuracy during data transmission and avoids data errors due to bit flipping.

[0082] In one possible implementation, step S308 specifically includes:

[0083] If the number of 1s or 0s in the second index value matches the number of digits in the second valid data, then the second data is considered normal.

[0084] If the number of 1s or 0s in the second index value is inconsistent with the number of digits in the second valid data, then the second data is determined to be abnormal.

[0085] Specifically, if the second data is abnormal, a second data request signal is re-signaled and / or the second data is discarded. This ensures the transmission of normal data and avoids printing errors or poor print quality caused by transmitting incorrect data.

[0086] In this application embodiment, the transmission or reception of data is performed using I2C (Inter-Integrated Circuit Serial Bus Protocol) or TCP / IP (Transmission Control Protocol / Internet Protocol).

[0087] This application proposes an information verification method for verifying whether received data is abnormal. The method includes the following steps: Figure 5 As shown, Figure 5 A flowchart of an information verification method provided in an embodiment of this application:

[0088] Step S502: Receive second data; wherein the second data includes a second byte to be verified.

[0089] Step S504: Determine the second index value and the second valid data of the second check bit based on the number of 1s or 0s in the second byte to be checked.

[0090] Step S506: Determine whether the second data is abnormal based on whether the number of 1s or 0s in the second index value matches the number of digits in the second valid data.

[0091] This application determines whether the transmitted second data is abnormal by checking whether the second index value matches the number of 1s or 0s in the second valid data. This ensures that the received second data is normal and avoids printing errors or poor printing quality caused by data transmission errors.

[0092] In one possible implementation, step S506 specifically includes:

[0093] If the number of 1s or 0s in the second index value matches the number of digits in the second valid data, then the second data is considered normal.

[0094] If the number of 1s or 0s in the second index value is inconsistent with the number of digits in the second valid data, then the second data is determined to be abnormal.

[0095] This application proposes a data processing method, which includes the following steps: Figure 6 A flowchart of a data processing method provided in an embodiment of this application is shown below. Figure 6 As shown:

[0096] Step S601: Determine the first data.

[0097] Step S602: Insert the first check bit into the first valid data. The insertion position of the first check bit is the first index value. The first data includes a first byte to be checked. The first byte to be checked has a first check bit and first valid data. The first index value of the first check bit in the first byte to be checked is associated with the number of 1s or 0s in the first valid data. The first check bit has a preset value.

[0098] Step S603: Store the first data.

[0099] This application, by adding a check bit to valid data, can prevent data errors during data fixation and storage, and avoid data errors caused by interference under normal storage conditions.

[0100] In one possible implementation, the method further includes the following steps, such as Figure 7 As shown, Figure 7 A flowchart of a data processing method provided in another embodiment of this application:

[0101] Step S604: Read the first data from the storage unit; the first data includes a first byte to be verified, and the first byte to be verified includes a first check bit and valid data.

[0102] Step S605: Determine the first index value of the first check bit based on the number of 1s or 0s in the first byte to be checked.

[0103] Step S606: Read the first valid data in the first byte to be checked according to the first check bit.

[0104] This application uses a second check bit to check whether the first valid data stored is abnormal, which can accurately determine the problem of data abnormality and reduce the cost of error correction.

[0105] This application also provides a replaceable unit, including any of the above-described data transmission methods, and / or including any of the above-described information verification methods; and / or, any of the above-described data processing methods.

[0106] This application also provides an imaging device, including any of the above-described data transmission methods, and / or, including any of the above-described information verification methods; and / or, any of the above-described data processing methods.

[0107] This application also proposes an image forming apparatus, including the replaceable unit and the imaging device as described above. The replaceable unit is configured to be able to be installed or removed from the imaging device. When the replaceable unit is installed on the imaging device, it can participate in the imaging operation performed by the imaging device.

[0108] like Figure 8 As shown, Figure 8 This is a schematic diagram illustrating data transmission between an imaging device and a replaceable unit according to an embodiment of this application. The imaging device transmits valid data to the replaceable unit, and the valid data is based on... Figure 1 Adding a check bit to the data transmission method allows for the replacement of units based on... Figure 2 The data transmission method receives and decodes data to verify its integrity. Optionally, the imaging device can be a printer. Optionally, the replaceable unit can be consumables, including toner cartridges, ink cartridges, etc.

[0109] In one embodiment, the sender processes each 7-bit unit by adding a check bit to each 7-bit data unit, forming 8 bits of data totaling 1 byte, and sends it using a standard protocol that conforms to network and data transmission standards; the receiver performs data verification on each byte of data at the data entry point, then removes the check bits and reassembles the data into a common byte stream format.

[0110] like Figure 9 As shown, Figure 9 This is a schematic diagram illustrating data processing performed by an imaging device or replaceable unit according to an embodiment of this application. The imaging device or replaceable unit can be configured to... Figure 6 The data processing method is used to store valid data, according to Figure 7 The data is read using the data processing methods described in the documentation.

[0111] Alternatively, the imaging device or replaceable unit may use SOC, IC, or soft coding to process the 1-bit parity data.

[0112] In one embodiment, when the imaging unit or replaceable unit transmits or saves data, it is easier to retrieve data by byte than by bit. Therefore, when retrieving valid data from the data stream, 7 bits are taken as a group of data. For example, if the data stream has a total of 56 bytes, it can be divided into 8 groups of data as needed, and then a check bit is added to each group of data to make up 8 bits / byte. Figure 10 As shown, Figure 10 A flowchart illustrating a data processing method according to an embodiment of this application. The data processing method includes the following steps:

[0113] Acquire the data stream and store each 7 bits / byte of data in a cache data unit.

[0114] The data stream is 56 bits long, with each step consisting of 7 bits, and is divided into 8 groups of data.

[0115] Add a checksum to each set of data and output the data after adding the checksum.

[0116] A total of 64 bits of data are output from the buffered data unit and combined into 8 bits / bytes of data according to international standards for transmission.

[0117] Data is sent according to the I2C or TCP / IP protocol.

[0118] In one embodiment, the imaging unit or replaceable unit needs to verify the received or read data when receiving or reading data, such as... Figure 11 As shown, Figure 11 A flowchart illustrating a data processing method according to another embodiment of this application. The data processing method includes the following steps:

[0119] Receive the data stream and store each 8 bits / byte of data in a buffer data unit.

[0120] Perform data validation on each set of data. Use the information validation method described above to validate the data. If the data is normal, the validation is successful; if the data is abnormal, the validation fails.

[0121] After successful verification, the data is reassembled into 7-bit / byte data and stored in the cache data unit in groups of 7 bits * 8; thus forming a 7-bit / byte data packet.

[0122] If the verification fails, discard the data or request a retransmission of the signal.

[0123] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement any of the methods described above.

[0124] This application also provides a computer program product, including a computer program that, when executed by a processor, implements any of the methods.

[0125] Figure 12 This is a schematic diagram of the imaging device provided in this application. Figure 12 As shown, the imaging device provided in this embodiment includes at least one processor 501 and a memory 502. Optionally, the device further includes a communication component 503. The processor 501, memory 502, and communication component 503 are connected via a bus 504.

[0126] In a specific implementation, at least one processor 501 executes computer execution instructions stored in memory 502, causing at least one processor 501 to perform the above-described method.

[0127] The specific implementation process of processor 501 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.

[0128] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.

[0129] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.

[0130] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.

[0131] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.

[0132] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.

[0133] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.

[0134] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0135] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0136] If a function is implemented as 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 this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0137] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0138] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.

Claims

1. A data transmission method, characterized by, The method comprises: receiving a first data request signal and determining first data according to the first data request signal; inserting a first check bit into first valid data, the insertion position of the first check bit being a first index value; the first data comprising a first byte to be checked, the first byte to be checked having the first check bit and the first valid data; the first index value of the first check bit in the first byte to be checked being associated with the number of digits 1 or digits 0 in the first valid data; the first check bit having a preset value; sending the first data.

2. The data transmission method of claim 1, wherein, The method further comprises: sending a second data request signal; receiving second data; wherein the second data comprises a second byte to be checked; determining a second index value of a second check bit and second valid data according to the number of digits 1 or digits 0 in the second byte to be checked; determining whether the second data is abnormal according to whether the second index value matches the number of digits 1 or digits 0 in the second valid data.

3. The data transmission method of claim 2, wherein, Determining a second index value of a second check bit and second valid data according to the number of digits 1 or digits 0 in the second byte to be checked specifically comprises: reducing the number of digits 1 or digits 0 in the second byte to be checked by 1 to obtain the second index value of the second check bit; eliminating the second check bit in the second byte to be checked to obtain the second valid data.

4. The data transmission method of claim 2, wherein, Determining whether the second data is abnormal according to whether the second index value matches the number of digits 1 or digits 0 in the second valid data specifically comprises: if the second index value is consistent with the number of digits 1 or digits 0 in the second valid data, it is determined that the second data is normal; if the second index value is inconsistent with the number of digits 1 or digits 0 in the second valid data, it is determined that the second data is abnormal.

5. An information checking method characterized by, The method comprises: receiving second data; wherein the second data comprises a second byte to be checked; determining a second index value of a second check bit and second valid data according to the number of digits 1 or digits 0 in the second byte to be checked; determining whether the second data is abnormal according to whether the second index value matches the number of digits 1 or digits 0 in the second valid data.

6. The information verification method according to claim 5, characterized by, Determining whether the second data is abnormal according to whether the second index value matches the number of digits 1 or digits 0 in the second valid data specifically comprises: if the second index value is consistent with the number of digits 1 or digits 0 in the second valid data, it is determined that the second data is normal; if the second index value is inconsistent with the number of digits 1 or digits 0 in the second valid data, it is determined that the second data is abnormal.

7. A data processing method, characterized by, The method comprises: determining first data; inserting a first check bit into first valid data, the insertion position of the first check bit being a first index value; the first data comprising a first byte to be checked, the first byte to be checked having the first check bit and the first valid data; the first index value of the first check bit in the first byte to be checked being associated with the number of digits 1 or digits 0 in the first valid data; the first check bit having a preset value; storing the first data.

8. The data processing method according to claim 7, characterized in that, The method further comprises: reading the first data in a storage unit; the first data comprises a first to-be-verified byte, the first to-be-verified byte comprises a first check bit and valid data; determining a second index value of the first check bit according to a number of digits 1 or digits 0 in the first to-be-verified byte; reading the first valid data in the first to-be-verified byte according to the first check bit.

9. A replaceable unit characterized by The data transmission method according to any one of claims 1-4, and / or The information verification method according to any one of claims 5-6; and / or The data processing method according to any one of claims 7-8.

10. An image forming apparatus characterized by comprising: The data transmission method according to any one of claims 1-4, and / or The information verification method according to any one of claims 5-6; and / or The data processing method according to any one of claims 7-8.

11. An image forming apparatus characterized by comprising: The replaceable unit according to claim 9 and the image forming device according to claim 10, the replaceable unit being configured to be mountable on or removable from the image forming device, when the replaceable unit is mounted on the image forming device, the replaceable unit being capable of participating in an image forming job performed by the image forming device.

12. A computer-readable storage medium, characterized in that, The computer readable storage medium has stored therein computer-executable instructions, which, when executed by a processor, are used to implement the method according to any one of claims 1-8.

13. A computer program product, characterised in that, The computer program, when executed by a processor, implements the method according to any one of claims 1-8.