CN113687802A - Chip verification method and related device - Google Patents

Chip verification method and related device Download PDF

Info

Publication number
CN113687802A
CN113687802A CN202110994172.5A CN202110994172A CN113687802A CN 113687802 A CN113687802 A CN 113687802A CN 202110994172 A CN202110994172 A CN 202110994172A CN 113687802 A CN113687802 A CN 113687802A
Authority
CN
China
Prior art keywords
chip
check field
verification
verified
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110994172.5A
Other languages
Chinese (zh)
Inventor
魏文武
其他发明人请求不公开姓名
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Zhono Electronic Technology Co ltd
Original Assignee
Guangzhou Zhono Electronic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Zhono Electronic Technology Co ltd filed Critical Guangzhou Zhono Electronic Technology Co ltd
Priority to CN202110994172.5A priority Critical patent/CN113687802A/en
Publication of CN113687802A publication Critical patent/CN113687802A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1229Printer resources management or printer maintenance, e.g. device status, power levels
    • G06F3/123Software or firmware update, e.g. device firmware management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1284Local printer device

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The invention provides a chip verification method and a related device, wherein the method comprises the following steps: acquiring a sequence number and a preset check field corresponding to a chip to be verified; the chip to be verified is arranged on the imaging equipment, and a verification field is preset and used for distinguishing different chips with the same sequence number; and when the serial number is judged to be correct and the preset check field is not consistent with the history check field in the history record, determining that the chip to be verified passes the verification, wherein the history chip communicated with the imaging equipment corresponds to the history check field. In the embodiment of the invention, even if a certain serial number repeatedly appears in the same imaging device, the serial number can still be mistaken as the first-time used serial number by the imaging device due to different check fields, so that the chip with the repeated serial number can be used in the same imaging device, and the effect that the powder box or the chip of the ink box can be repeatedly used even if the chip of the powder box or the ink box has the same serial number can also be realized.

Description

Chip verification method and related device
Technical Field
The invention relates to the technical field of chips, in particular to a chip verification method and a related device.
Background
With the popularization of office automation, printing equipment is indispensable equipment in office activities, a consumable chip is generally arranged on common printing equipment, and in the printing process, communication interaction is carried out between the consumable chip and a printer host to complete data processing and printing control.
In the prior art, each imaging box is provided with a consumable chip, a sequence number is preset in the consumable chip, after the imaging media placed in the imaging box is consumed, the printer marks the current sequence number as the imaging media, and therefore, when the chip with the same sequence number is installed on the printer, the printer determines whether the chip is repeatedly used only through the sequence number, because the printer defaults that the imaging media in the imaging box corresponding to the sequence number is consumed, the chip corresponding to the sequence number cannot pass the verification, finally, the imaging box corresponding to the sequence number cannot be continuously used, other chips need to be replaced, and the equipment cost is wasted.
Disclosure of Invention
One of the objectives of the present invention is to provide a chip verification method and related apparatus, so as to achieve the effect that even though a chip has the same serial number, the chip can pass verification under a certain condition, thereby achieving repeated use and saving equipment cost.
Embodiments of the invention may be implemented as follows:
in a first aspect, the present invention provides a chip verification method, comprising: acquiring a sequence number and a preset check field corresponding to a chip to be verified; the chip to be verified is installed on the imaging equipment, and the preset check field is used for distinguishing different chips with the same sequence number; and when the serial number is judged to be correct and the preset check field is not consistent with the history check field in the history record, determining that the chip to be verified passes the verification, wherein the history chip communicated with the imaging equipment corresponds to the history check field.
In a second aspect, the present invention provides a chip verification apparatus, including: the acquisition module acquires a sequence number and a preset check field corresponding to a chip to be verified; the chip to be verified is installed on the imaging equipment, and the preset check field is used for distinguishing different chips with the same sequence number; and the verification module is used for determining that the chip to be verified passes verification when the serial number is judged to be correct and the preset verification field is not consistent with the history verification field in the history record, wherein the history chip communicated with the imaging equipment corresponds to the history verification field.
In a third aspect, the present invention provides a chip, where the chip to be verified is installed in an imaging device, the chip is in communication connection with the imaging device, and the chip is configured to: providing a sequence number and a preset check field of the chip; the preset check field is used for distinguishing different chips with the same sequence number; the sequence number and the preset check field are used for: and when the serial number is judged to be correct and the preset check field is not consistent with the history check field in the history record, determining that the chip to be verified passes the verification, wherein the history chip communicated with the imaging equipment corresponds to the history check field.
In a fourth aspect, the invention provides an imaging device, wherein a chip to be verified is installed on the imaging device, the chip to be verified is in communication connection with the imaging device, and the imaging device is used for acquiring a sequence number and a preset check field corresponding to the chip to be verified; the chip to be verified is installed on the imaging equipment, and the preset check field is used for distinguishing different chips with the same sequence number; and when the serial number is judged to be correct and the preset check field is not consistent with the history check field in the history record, determining that the chip to be verified passes the verification, wherein the history chip communicated with the imaging equipment corresponds to the history check field.
In a fifth aspect, the present invention provides an electronic device, where the electronic device is in communication connection with a chip to be verified and an imaging device, respectively, and the chip to be verified is installed on the imaging device; the method comprises the following steps: a memory storing machine executable instructions executable by the processor; a processor configured to execute the machine executable instructions to implement the chip verification method of the first aspect.
In a sixth aspect, the present invention provides a computer-readable storage medium having stored thereon machine-executable instructions which, when executed by a processor, implement the chip verification method of the first aspect.
The difference between the chip verification method and the related device provided by the embodiment of the invention and the prior art is that the prior art only determines whether the chip is repeatedly used through the serial number, so that the chip with the same serial number and the imaging box corresponding to the serial number cannot be continuously used, and other chips need to be replaced, thereby causing the waste of equipment cost; the chip to be verified is arranged on the imaging equipment, and a verification field is preset and used for distinguishing different chips with the same sequence number; and when the serial number is judged to be correct and the preset check field is not consistent with the history check field in the history record, determining that the chip to be verified passes the verification, wherein the history chip communicated with the imaging equipment corresponds to the history check field. Therefore, even if a certain serial number repeatedly appears in the same imaging device, the serial number can still be mistaken as the first-time used serial number by the imaging device due to different check fields, so that the chip with the repeated serial number can be used in the same imaging device, and the effect that the powder box or the chip of the ink box can be repeatedly used even if the chip of the powder box or the ink box has the same serial number can also be realized.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is an application scenario diagram of a chip verification method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an electronic device according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating an exemplary check field maintenance table of a chip according to an embodiment of the present invention;
fig. 4 is a schematic flow chart of a chip verification method according to an embodiment of the present invention;
FIG. 5 is a schematic flow chart diagram of another chip verification method provided by the embodiment of the invention;
FIG. 6 is a schematic flow chart diagram of another chip verification method according to an embodiment of the present invention;
FIG. 7 is a schematic flow chart diagram of another chip verification method according to an embodiment of the present invention;
fig. 8 is a functional block diagram of a chip verification apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
In the description of the present invention, it should be noted that if the terms "upper", "lower", "inside", "outside", etc. indicate an orientation or a positional relationship based on that shown in the drawings or that the product of the present invention is used as it is, this is only for convenience of description and simplification of the description, and it does not indicate or imply that the device or the element referred to must have a specific orientation, be constructed in a specific orientation, and be operated, and thus should not be construed as limiting the present invention.
Furthermore, the appearances of the terms "first," "second," and the like, if any, are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
It should be noted that the features of the embodiments of the present invention may be combined with each other without conflict.
Referring to fig. 1, fig. 1 is a view of an application scenario of the chip verification method according to the embodiment of the present invention, where the chip verification method includes an imaging device 10, each imaging box of the imaging device 10 is provided with a chip 20-1, and the chip 20-1 may communicate with the imaging device through a network. Wherein, the chip 20-1 also has chips 20-2,20-2,20-3, …, 20-n with the same serial number.
The imaging device 10 may maintain and count serial numbers of chips that are historically installed on the computer, and may verify the chips that are currently installed on the computer. For example, the chip is usually verified to store information such as the model number, serial number, consumable capacity, consumable consumption, number of prints, and number of prints of the consumable container.
For example, assuming that the chips 20-2 through 20-n are all historically operated chips, the imaging device 10 remembers the serial number of any one of the chips 20-2 through 20-n after the chip is first used by the imaging device 10. When the chip 20-1 is mounted, the imaging device 10 obtains the serial number of the chip 20-1 and verifies whether the serial number of the chip 20-1 is overlapped with the counted serial number.
It is understood that the above-mentioned verification function may be implemented by other devices, for example, the chip 20-1 sends the verification information to the device with data analysis function for verification, and then sends the verification result to the imaging device 10.
It is noted that the image forming apparatus may be, but is not limited to, a copying machine, a printer, a facsimile machine, a word processor, and the like.
Referring to fig. 2, fig. 2 is a schematic view of an electronic device according to an embodiment of the present invention, and the electronic device may be respectively connected to the chip 20-1 and the imaging device 10 shown in fig. 1 in a communication manner. The electronic device 20 includes a memory 210, a communication interface 220, and a processor 230;
the memory 210, communication interface 220, and processor 230 components are electrically connected to each other, directly or indirectly, to enable the transfer or interaction of data. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The chip verification apparatus 500 includes at least one software function module that may be stored in the memory 210 in the form of software or firmware (firmware) or solidified in an Operating System (OS) of the electronic device. The processor 230 is used to execute executable modules stored in the memory 210, such as software functional modules or computer programs included in the chip verification apparatus 400.
The Memory 210 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The memory 210 is used for storing a program, the processor 230 executes the program after receiving an execution instruction, and the method for executing disclosed in any embodiment of the present invention may be applied to the processor 230, or implemented by the processor 230.
Processor 230 may be an integrated circuit chip having signal processing capabilities. The Processor 230 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Further, with continued reference to fig. 1, taking a printer as an example, in the prior art, each imaging cartridge of the printer is provided with a consumable chip, when the chip is used by the printer for the first time, the printer remembers the serial number, when the powder box or the ink box corresponding to the chip is used completely, the printer marks that the chip corresponding to the serial number is used completely, even if the data of the chip is reset by using a reset technology, or the chip with the same serial number is installed on a powder box or an ink box still having carbon powder or ink and then is installed on the printer again through the ink box or the powder box, the printer still considers that the powder box or the ink box installed with the chip is used, thereby preventing the use of the compact or cartridge, resulting in the inability to reuse the compact or cartridge and the chip.
The related art also provides a serial number adjustment scheme to solve the above problems, but the serial number of the chip that can be recognized by the imaging device is limited, and thus the above problems cannot be completely solved, and therefore, based on the above situation, there is a need for a method for a chip that can be recognized by a printer without changing the serial number, so that the chip with the repeated serial number can be used in the same printer, and further, the chip of the cartridge or the ink cartridge can be reused by the printer even if the chip of the cartridge or the ink cartridge has the same serial number.
Based on the above problem, in order to enable a chip with a repeated serial number to be used in the same printer and also enable the chip of a powder box or an ink box to be reused by the printer even if the chip has the same serial number, the printer is still taken as an example below to describe a chip provided by the embodiment of the present invention.
In the chip provided in the embodiment of the present invention, a check field and a sequence number generated in advance are simultaneously burned into the chip in a chip manufacturing process, where the check field may be as shown in fig. 3, and fig. 3 is an exemplary diagram of a check field maintenance table of the chip provided in the embodiment of the present invention, where data "1316073863" in a black frame corresponds to the check field of the chip and has an address of 0x13-0x17, which is 5 bytes of data. The check field can be generated on a burning frame, then is filled to the corresponding position of the black frame, and then is burnt into the chip.
It should be noted that the check fields in each chip are not all FF or 00, and the 5-byte check fields can be regarded as infinite.
Further, the printer records the serial number and the unit check field to determine whether the serial number is used repeatedly by the printer, and if the check field is determined to be different, the printer still considers that the serial number is used first by the printer. As long as the check fields in each chip are different, the chips which are considered by the printer that the sequence numbers are not repeated can be obtained under the condition of limited sequence numbers.
In one example, the check field provided by the embodiment of the present invention may be generated by:
step 1, determining the upgrade codes of all target chips.
Wherein, the sequence number of each target chip is the same.
And 2, aiming at the first target chip, constructing initial random data as the check field of the first target chip.
Wherein, the first target chip is any one of all target chips.
And 3, aiming at the current target chip, generating the check field of the current target chip according to the check field of the last upgraded target chip and the upgrade code of the current target chip.
Wherein the current target chip is any one of the remaining target chips except the first target chip.
And 4, traversing all the remaining target chips until the check field of each target chip is obtained.
It should be noted that the upgrade code may be a count value of a timer, for example, please refer to fig. 1 again, assuming that the target chips are chips 20-1 to 20-n, when the chip 20-1 is manufactured, the timer is started to count, the count value is 1, when the chip 20-2 is manufactured, the count value is 2, and so on, the count value of the chip 20-n is n.
Continuing with the example of chips 20-1 through 20-n in fig. 1, the above process can be understood as follows: the upgrade codes corresponding to the chips 20-1 to 20-n are 1 to n, respectively. Assuming that the chip 20-1 is the first target chip, a check field is randomly generated as the chip 20-1, then, for the chip 20-2, the check field of the chip 20-2 is generated according to the check field of the chip 20-1 and the upgrade code of the chip 20-2, the check field of the chip 20-3 is generated according to the check field of the chip 20-2 and the upgrade code of the chip 20-3, and so on, and the check fields of the chips 20-1 to 20-n are obtained.
In one example, a preset compression algorithm may be used to generate a new check field according to the check field and the upgrade code, so that the input value of the compression algorithm is always changed, and therefore, the sequence number is repeated in time, and the obtained chip check fields are also different and can be verified by the same printer.
The chip provided by the embodiment of the invention can provide the sequence number and the preset check field of the chip; presetting a check field for distinguishing different chips with the same sequence number; the sequence number and the preset check field are used for: when the serial number is judged to be correct and the preset check field is not consistent with the historical check field in the historical record, the chip to be verified is determined to pass verification, wherein the historical chip communicated with the imaging equipment corresponds to the historical check field, so that the chip can pass verification under a certain condition even if the chip has the same serial number, the repeated use is realized, and the equipment cost is saved.
Based on the obtained chip, a method for verifying the chip is provided below, please refer to fig. 4, where fig. 4 is a schematic flowchart of a method for verifying the chip according to an embodiment of the present invention, the method for verifying the chip can be applied to the imaging device shown in fig. 1 or the electronic device shown in fig. 2, and the method includes:
s401, acquiring a sequence number and a preset check field corresponding to a chip to be verified.
The chip to be verified is installed on the imaging equipment, and the check field is preset and used for distinguishing different chips with the same sequence number.
S402, when the serial number is judged to be correct and the preset check field is not consistent with the historical check field in the historical record, determining that the chip to be verified passes the verification.
Wherein the history chip and the history check field in communication with the imaging device correspond. The history chip is a chip which is historically installed on the imaging device, and when the history chip is used by the imaging device for the first time, the imaging device can acquire the serial number and the check field of the history chip.
In the implementation process, whether the serial number is correct or not can be judged firstly, if the serial number is incorrect, the chip is directly determined to fail the verification, if the serial number is correct, whether the verification field is consistent with the historical verification field or not is continuously judged, if the verification field is not consistent with the historical verification field, the verification is passed, and if the verification field is consistent with the historical verification field, the verification is failed.
It should be noted that there is no execution sequence for determining whether the sequence number is correct and determining whether the check field is consistent with the history check field, and the sequence number may be verified before the sequence number is verified, or the sequence number may be verified before the check field is verified, which is not limited herein.
In a possible embodiment, the history record may be maintained by the imaging device, or may be maintained by other devices having an analysis function, and when maintained by other devices, the other devices may receive all the sequence numbers and check fields recognized by the imaging device, so as to generate the history record.
For convenience of understanding, please continue to refer to fig. 1, assuming that the chip to be verified is the chip 20-1, the chips 20-2 to 20-n are historical chips communicating with the imaging device, that is, chips that have been used on the imaging device, the imaging device records the sequence numbers and check fields of the chips 20-2 to 20-n, the chip 20-1 is the same as the sequence numbers of the chips 20-2 to 20-n, but the check fields are different from these chips, and therefore, in the case that it is determined that the check field of the chip 20-1 is not consistent with the check fields recorded on the imaging device, it may be determined that the chip 20-1 passes verification.
The chip verification method provided by the embodiment of the invention is different from the prior art in that the prior art only determines whether the chip is repeatedly used through the serial number, so that the chip with the same serial number and the imaging box corresponding to the serial number cannot be continuously used, other chips need to be replaced, and the waste of equipment cost is caused; the chip to be verified is arranged on the imaging equipment, and a verification field is preset and used for distinguishing different chips with the same sequence number; and when the serial number is judged to be correct and the preset check field is not consistent with the history check field in the history record, determining that the chip to be verified passes the verification, wherein the history chip communicated with the imaging equipment corresponds to the history check field. Therefore, even if a certain serial number repeatedly appears in the same imaging device, the serial number can still be mistaken as the first-time used serial number by the imaging device due to different check fields, so that the chip with the repeated serial number can be used in the same imaging device, and the effect that the powder box or the chip of the ink box can be repeatedly used even if the chip of the powder box or the ink box has the same serial number can also be realized.
It should be noted that the chip verification method provided in the foregoing embodiment is applicable to a scenario where chips with the same serial number are used in the same imaging device, and if the chips with the same serial number are used in different imaging devices for the first time, the above problem may not occur.
It should be further noted that, when the chip verification method is applied to the imaging device 10 shown in fig. 1, the imaging device 10 obtains the serial number and the preset check field of the chip to be verified and then executes the verification function, and when the chip verification method is applied to the electronic device shown in fig. 2, after the electronic device receives the successful chip installation, the electronic device may obtain the serial number and the preset check field sent by the chip, execute the verification function, and then send the verification result to the imaging device, or after the electronic device receives the successful chip installation, the electronic device may obtain the serial number and the preset check field obtained from the chip by the imaging device, and then execute the verification function, and send the verification result to the imaging device, which is not specifically limited herein.
Alternatively, when the chip passes the verification, the imaging device may be controlled to perform imaging operations, for example, printing, copying, faxing, etc. operations may be performed. And when the chip to be verified is determined not to pass the verification, controlling the imaging equipment to output prompt information of verification error.
Continuing with the example of a printer, the printer may record the historical verification field of the historical chip, if the chip corresponding to the verification field SN1 is replaced with a new cartridge after the printer has finished a life (the chip becomes empty from a new one with stored consumable (toner or ink) capacity), and if the serial number of the chip in the cartridge is also SN1 and the verification field is consistent with the verification field recorded by the printer last time, the machine will report an error. Therefore, even if there are several chips having the SN1 serial number, the check fields in each SN1 chip are different, and thus several chips repeating the SN1 can be used normally when they are used in the same printer.
Optionally, in order to prolong the service life of the chip, a possible implementation is further provided below, please refer to fig. 5, where fig. 5 is a schematic flowchart of another chip verification method provided in an embodiment of the present invention, and the method may further include:
and S403, acquiring the consumable capacity of the chip to be verified.
In order to ensure the smooth proceeding of the subsequent imaging operation, the information of the consumable capacity of the chip, the consumption of the consumable, the printing times, the printing quantity and the like can be verified. When the chip passes the verification, the consumable capacity can be obtained.
S407, if the consumable capacity is determined to reach the preset value, modifying the preset check field to obtain the updated preset check field.
And S408, resetting the consumable volume to the initial maximum consumable volume.
It can be understood that if it is determined that the consumable capacity reaches the preset value, it indicates that the consumption of the capacity of the chip is almost zero, the chip cannot be used continuously, the imaging device marks that the chip corresponding to the check field cannot be used continuously, and in order to prolong the service life of the chip, the check field of the chip can be modified.
In an example, the manner of modifying the check field may be the same as the manner of generating the check field in the foregoing, and is not described herein again.
Optionally, although the foregoing embodiment may extend the service life of the chip, in order to avoid that the chip is used without limitation, which causes confusion in the market and severe abrasion in chip use, an implementation manner is further provided below, please refer to fig. 6, where fig. 6 is a schematic flowchart of another chip verification method provided in the embodiment of the present invention, and the method may further include:
s404, judging whether the modification times corresponding to the chip to be verified reach the preset times or not.
S405, if the number of times of modification reaches the preset number of times, controlling the imaging equipment to output prompt information of chip replacement. If the number of times of modification does not reach the preset number of times, step S407 is executed.
Through the implementation process, the modification times of the chip can be controlled, and the problems of market disorder and serious abrasion of the chip due to unlimited modification and use of the chip can be avoided.
Optionally, an implementation manner of obtaining the sequence number and the check field is further provided below, please refer to fig. 7, fig. 7 is a schematic flowchart of another chip verification method provided in the embodiment of the present invention, where step S401 may include:
s401-1, a sequence number maintenance table of a chip to be verified and at least one check field table are obtained.
S401-2, according to the preset secret key, the sequence number is analyzed from the sequence number maintenance table, and the preset check field is analyzed from the check field table.
In this embodiment, the chip to be verified may obtain other data tables of the chip to be verified, which are used for verifying other attribute information of the chip to be verified, for example, information such as a model, a serial number, a consumable capacity, a consumable consumption amount, a printing number, and a printing quantity of a consumable container is usually stored in the chip.
In order to ensure the security of the data information provided by the chip, the serial number maintenance table is bound with a group of secret keys, so that the serial number of the chip to be verified can be obtained by analyzing according to the secret keys after the serial number maintenance table is obtained.
In one embodiment, if a plurality of check field tables exist, when the sequence number is judged to be correct and a preset check field in one check field table is inconsistent with a historical check field in a historical record, determining that the chip to be verified passes the verification; or if a plurality of check field tables exist, when the sequence number is judged to be correct and the preset check fields corresponding to all the check field tables are inconsistent with the historical check fields in the historical record, determining that the chip to be verified passes the verification.
In one implementation, continuing with the example of the imaging device 10 and the chip 20-1 shown in fig. 1, steps S401-1 and S401-2 may be implemented as follows: after the imaging device 10 is provided with the chip 20-1, an acquisition instruction of the sequence number maintenance table is sent to the chip 20-1 to obtain the sequence number maintenance table of the chip 20-1, the sequence number is analyzed from the sequence number maintenance table according to a preset secret key, if the sequence number is judged to be correct, an acquisition instruction of the check field table is sent to the chip 20-1, at least one check field table is obtained, a preset check field is analyzed from the sequence number, whether the preset check field is consistent with the historical check field or not is judged, if not, the chip 20-1 is confirmed to be verified, and if so, the chip 20-1 is not verified.
In another implementation process, taking the imaging device 10 and the chip 20-1 shown in fig. 1 as an example, after the chip 20-1 is mounted on the imaging device 10, an obtaining instruction of a check field table of the serial number maintenance table may be sent to the chip 20-1, and then after the serial number maintenance table of the chip 20-1 and at least one check field table are obtained, the serial number is analyzed, and a preset check field is analyzed from the check field table for verification.
In another implementation, continuing to take the imaging device 10 and the chip 20-1 shown in fig. 1 as an example, after the chip is mounted on the imaging device 10, the imaging device may send a mounting completion instruction to another device having a data analysis function, and then the other device sends an acquisition instruction of the serial number maintenance table to the chip 20-1, so as to obtain the serial number maintenance table of the chip 20-1, and according to a preset secret key, resolve the serial number from the serial number maintenance table, if the serial number is determined to be correct, send an acquisition instruction of the check field table to the chip 20-1, and after at least one check field table is obtained, resolve a preset check field from the serial number, determine whether the preset check field is consistent with the historical check field, if not, determine that the chip 20-1 passes the verification, and send an instruction that the verification passes to the imaging device, if the verification result is consistent, the chip 20-1 fails to pass the verification, and an instruction of failing to pass the verification is sent to the imaging device.
Or, the other device may send an instruction for acquiring the check field table of the serial number maintenance table to 20-1, further analyze the serial number and analyze the preset check field from the check field table for verification after acquiring the serial number maintenance table of the chip to be verified 20-1 and at least one check field table, and send an instruction for passing or failing verification to the imaging device.
Through the various implementation modes, the sequence number and the check field of the chip to be verified can be obtained, and whether the chip to be verified can be continuously used or not is further judged.
Referring to fig. 8, fig. 8 is a functional block diagram of a chip verification apparatus according to an embodiment of the present invention. The chip verification apparatus 500 includes: an acquisition module 520 and a verification module 540.
An obtaining module 520, configured to obtain a sequence number and a preset check field corresponding to a chip to be verified; the chip to be verified is installed on the imaging equipment, and the preset check field is used for distinguishing different chips with the same sequence number;
and the verification module 540 is configured to determine that the chip to be verified passes verification when the serial number is determined to be correct and the preset verification field is inconsistent with a history verification field in a history record, where a history chip communicated with the imaging device corresponds to the history verification field.
Optionally, the preset check field is determined by the following method: determining upgrading codes of all target chips; wherein the sequence number of each target chip is the same; the chip to be verified is any one of the target chips; aiming at a first target chip, constructing initial random data as the check field of the first target chip; wherein the first target chip is any one of all the target chips; aiming at a current target chip, generating the check field of the current target chip according to the check field of the last upgraded target chip and the upgrade code of the current target chip; wherein the current target chip is any one of the remaining target chips except the first target chip; and traversing all the rest target chips until the check field of each target chip is obtained.
Optionally, the chip verification apparatus 500 further includes a modification module, an obtaining module 520, and is further configured to obtain the consumable capacity; the modification module is used for modifying the preset check field if the consumable capacity is determined to reach the preset value, and obtaining the updated preset check field; resetting the consumable capacity to an initial maximum consumable capacity.
Optionally, the chip verification apparatus 500 further includes a control module, a verification module 540, and is further configured to determine whether the modification times corresponding to the chip to be verified reach preset times; the control module is used for controlling the imaging equipment to output prompt information for replacing the chip if the modification times reach the preset times; and if the modification times do not reach the preset times, modifying the preset check field to obtain the updated preset check field.
Optionally, the obtaining module 520 is specifically configured to: obtaining a sequence number maintenance table of the chip to be verified and at least one check field table; and analyzing the sequence number from the sequence number maintenance table and analyzing the preset check field from the check field table according to a preset secret key.
Optionally, the verification module 540 is further configured to: if a plurality of check field tables exist, determining that the chip to be verified passes verification when the sequence number is judged to be correct and the preset check field in one of the check field tables is not consistent with the historical check field in the historical record; or if a plurality of check field tables exist, determining that the chip to be verified passes verification when the sequence number is judged to be correct and the preset check fields corresponding to all the check field tables are inconsistent with the historical check fields in the historical record.
Optionally, the control module is further configured to control the imaging device to perform an imaging operation when it is determined that the chip to be verified passes verification; and when the chip to be verified is determined not to pass the verification, controlling the imaging equipment to output prompt information of verification error.
According to the chip verification device provided by the embodiment of the invention, the sequence number and the preset verification field corresponding to the chip to be verified are obtained through the obtaining module; the chip to be verified is installed on the imaging equipment, and the preset check field is used for distinguishing different chips with the same sequence number; the verification module 540 is configured to determine that the chip to be verified passes verification when the serial number is determined to be correct and the preset verification field is inconsistent with the history verification field in the history record, where the history chip in communication with the imaging device corresponds to the history verification field, so that the chip can pass verification under a certain condition even if the chip has the same serial number, and further, the repeated use is realized, and the device cost is saved.
The invention also provides an imaging device, which can be the imaging device 10 shown in fig. 1, wherein the imaging device is provided with a chip to be verified, the chip to be verified is in communication connection with the imaging device, and the imaging device is used for acquiring a sequence number and a preset check field corresponding to the chip to be verified; the chip to be verified is arranged on the imaging equipment, and a verification field is preset and used for distinguishing different chips with the same sequence number; and when the serial number is judged to be correct and the preset check field is not consistent with the history check field in the history record, determining that the chip to be verified passes the verification, wherein the history chip communicated with the imaging equipment corresponds to the history check field. The imaging device provided by the embodiment of the invention can realize that the chip can pass the verification under a certain condition even if the chip has the same serial number, thereby realizing the effects of repeated use and equipment cost saving.
It should be noted that the image forming apparatus in the present embodiment may be, but is not limited to, a copying machine, a printer, a facsimile machine, a word processor, and the like.
An embodiment of the present invention provides a readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the chip verification method according to any one of the foregoing embodiments. The readable storage medium can be, but is not limited to, various media that can store program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a PROM, an EPROM, an EEPROM, a magnetic or optical disk, etc.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (12)

1. A method of chip verification, the method comprising:
acquiring a sequence number and a preset check field corresponding to a chip to be verified; the chip to be verified is installed on the imaging equipment, and the preset check field is used for distinguishing different chips with the same sequence number;
and when the serial number is judged to be correct and the preset check field is not consistent with the history check field in the history record, determining that the chip to be verified passes the verification, wherein the history chip communicated with the imaging equipment corresponds to the history check field.
2. The chip verification method according to claim 1, wherein the predetermined check field is determined by:
determining upgrading codes of all target chips; wherein the sequence number of each target chip is the same; the chip to be verified is any one of all the target chips;
aiming at a first target chip, constructing initial random data as the check field of the first target chip; wherein the first target chip is any one of all the target chips;
aiming at a current target chip, generating the check field of the current target chip according to the check field of the last upgraded target chip and the upgrade code of the current target chip; wherein the current target chip is any one of the remaining target chips except the first target chip;
and traversing all the rest target chips until the check field of each target chip is obtained.
3. The chip verification method according to claim 1, further comprising:
acquiring the consumable material capacity of the chip to be verified;
if the consumable capacity reaches a preset value, modifying the preset check field to obtain an updated preset check field;
resetting the consumable capacity to an initial maximum consumable capacity.
4. The chip verification method according to claim 3, wherein before modifying the predetermined check field to obtain the updated predetermined check field if it is determined that the consumable capacity reaches the predetermined value, the method further comprises:
judging whether the modification times corresponding to the chip to be verified reach preset times or not;
if the modification times reach the preset times, controlling the imaging equipment to output prompt information for replacing the chip;
and if the modification times do not reach the preset times, modifying the preset check field to obtain the updated preset check field.
5. The chip verification method according to claim 1, wherein obtaining the sequence number and the preset check field corresponding to the chip to be verified comprises:
obtaining a sequence number maintenance table of the chip to be verified and at least one check field table;
and analyzing the sequence number from the sequence number maintenance table and analyzing the preset check field from the check field table according to a preset secret key.
6. The chip verification method according to claim 5, further comprising:
if a plurality of check field tables exist, determining that the chip to be verified passes verification when the sequence number is judged to be correct and the preset check field in one of the check field tables is not consistent with the historical check field in the historical record; alternatively, the first and second electrodes may be,
if a plurality of check field tables exist, when the sequence number is judged to be correct, and the preset check fields corresponding to all the check field tables are inconsistent with the historical check fields in the historical record, determining that the chip to be verified passes the verification.
7. The chip verification method according to claim 1, further comprising:
when the chip to be verified is confirmed to pass verification, controlling the imaging equipment to execute imaging operation;
and when the chip to be verified is determined not to pass the verification, controlling the imaging equipment to output prompt information of verification error.
8. A chip verification apparatus, comprising:
the acquisition module acquires a sequence number and a preset check field corresponding to a chip to be verified; the chip to be verified is installed on the imaging equipment, and the preset check field is used for distinguishing different chips with the same sequence number;
and the verification module is used for determining that the chip to be verified passes verification when the serial number is judged to be correct and the preset verification field is not consistent with the history verification field in the history record, wherein the history chip communicated with the imaging equipment corresponds to the history verification field.
9. A chip, wherein the chip is mounted to an imaging device, wherein the chip is communicatively coupled to the imaging device, and wherein the chip is configured to:
providing a sequence number and a preset check field of the chip; the preset check field is used for distinguishing different chips with the same sequence number;
the sequence number and the preset check field are used for: and when the serial number is judged to be correct and the preset check field is not consistent with the history check field in the history record, determining that the chip passes the verification, wherein the history chip communicated with the imaging equipment corresponds to the history check field.
10. The imaging device is characterized in that a chip to be verified is installed on the imaging device, the chip to be verified is in communication connection with the imaging device, and the imaging device is used for:
acquiring a sequence number and a preset check field corresponding to the chip to be verified; the chip to be verified is installed on the imaging equipment, and the preset check field is used for distinguishing different chips with the same sequence number;
and when the serial number is judged to be correct and the preset check field is not consistent with the history check field in the history record, determining that the chip to be verified passes the verification, wherein the history chip communicated with the imaging equipment corresponds to the history check field.
11. An electronic device is characterized in that the electronic device is respectively in communication connection with a chip to be verified and an imaging device, and the chip to be verified is installed on the imaging device; the method comprises the following steps:
a memory storing machine executable instructions executable by a processor;
the processor, configured to execute the machine executable instructions to implement the chip verification method of any one of claims 1 to 7.
12. A computer-readable storage medium having stored thereon machine-executable instructions which, when executed by a processor, implement the chip verification method of any one of claims 1 to 7.
CN202110994172.5A 2021-08-27 2021-08-27 Chip verification method and related device Pending CN113687802A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110994172.5A CN113687802A (en) 2021-08-27 2021-08-27 Chip verification method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110994172.5A CN113687802A (en) 2021-08-27 2021-08-27 Chip verification method and related device

Publications (1)

Publication Number Publication Date
CN113687802A true CN113687802A (en) 2021-11-23

Family

ID=78583342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110994172.5A Pending CN113687802A (en) 2021-08-27 2021-08-27 Chip verification method and related device

Country Status (1)

Country Link
CN (1) CN113687802A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103753963A (en) * 2013-12-26 2014-04-30 珠海艾派克微电子有限公司 Method for using imaging device for verifying validity of imaging box and imaging device
CN104553384A (en) * 2014-12-25 2015-04-29 珠海艾派克微电子有限公司 Consumable chip as well as identification method and device for serial number of consumable chip
CN105058997A (en) * 2015-08-17 2015-11-18 珠海艾派克微电子有限公司 Method for verifying chip of imaging box of printing device and printing device
CN108734253A (en) * 2017-04-14 2018-11-02 广州众诺电子技术有限公司 Consumable chip verification method, consumable chip and consumable container
CN110210208A (en) * 2019-05-31 2019-09-06 珠海揉博电子科技有限公司 Sequence number operation method, sequence number running gear, consumable chip and imaging cartridge

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103753963A (en) * 2013-12-26 2014-04-30 珠海艾派克微电子有限公司 Method for using imaging device for verifying validity of imaging box and imaging device
CN104553384A (en) * 2014-12-25 2015-04-29 珠海艾派克微电子有限公司 Consumable chip as well as identification method and device for serial number of consumable chip
CN105058997A (en) * 2015-08-17 2015-11-18 珠海艾派克微电子有限公司 Method for verifying chip of imaging box of printing device and printing device
CN108734253A (en) * 2017-04-14 2018-11-02 广州众诺电子技术有限公司 Consumable chip verification method, consumable chip and consumable container
CN110210208A (en) * 2019-05-31 2019-09-06 珠海揉博电子科技有限公司 Sequence number operation method, sequence number running gear, consumable chip and imaging cartridge

Similar Documents

Publication Publication Date Title
US7421371B2 (en) Automated performance analysis and failure remediation
CN102693100B (en) Network system, interface board, method of controlling printing on network system
US20080082462A1 (en) Systems and methods for print accounting
US20130111459A1 (en) Delivery system and management method thereof
JP6058596B2 (en) Management system, management device, management method, management program
WO2003077138A2 (en) Document processing system including multi-device compatible interface and related methods
US20060294290A1 (en) Concurrent in-application programming of programmable devices
KR101837364B1 (en) Printing material cartridge
CN113687802A (en) Chip verification method and related device
CN114193935B (en) Printing consumable communication method, regeneration consumable chip, printing consumable and printing system
US20050034116A1 (en) Control of programming electronic devices
CN111260366B (en) Burning method, system and storage medium
CN113442597B (en) Consumable chip, response method of consumable chip, consumable box and storage medium
CN113199870B (en) Authentication method of consumable chip and printing consumable
CN113099062A (en) Image forming apparatus monitoring method, system and computer storage medium
CN110757968B (en) Method and system for verifying consumable and accessory of printing equipment
US20080082430A1 (en) Systems and methods for print accounting
JP6732234B2 (en) How to reset chips, container of chips and consumables
US7496629B2 (en) Communication apparatus and communication control method in the apparatus
US20100309506A1 (en) Consumable serial number tracking in a managed services hosted environment
US10839437B2 (en) Managed print services
CN108389057B (en) Filter screen double anti-counterfeiting method and device, electronic equipment and storage medium
CN111400699A (en) Terminal verification method, device and system and storage medium
CN113961154A (en) Chip verification method, universal chip and imaging box
CN110399245B (en) Code pattern printing control method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination