Chip and imaging box

By randomly selecting and returning authentication data in the data communication between the chip and the host device, the problem of easy acquisition of authentication data in the prior art is solved, and the security of data communication and the security authentication reliability of the equipment are improved.

CN112966255BActive Publication Date: 2025-04-29APEX MICROELECTRONICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110277810.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-15
Publication Date
2025-04-29
Estimated Expiration
2041-03-15

AI Technical Summary

Technical Problem

In the prior art In the image forming device, the authentication data of the chip is easily obtained by unauthorized third parties, resulting in poor security.

Method used

When the chip communicates with the host device data, an authentication data is randomly selected and returned. When the number of sent authentication data reaches the preset number, an authentication data that has not been sent or returned is selected to send to the host device.

Benefits of technology

It improves the security of internal data of the chip and the security of data communication, avoids the host device easily accessing all the authentication data inside the chip, and enhances the security authentication reliability of the device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112966255B_ABST
    Figure CN112966255B_ABST
Patent Text Reader

Abstract

The present application provides a chip and an imaging box, wherein the chip stores a plurality of different authentication data, and the chip is used to receive an authentication instruction from a host device, wherein the authentication instruction instructs the chip to send corresponding specific authentication data; if the number of different authentication data sent to the host device reaches a preset number, one authentication data is selected from the plurality of authentication data as target authentication data and sent to the host device; wherein the preset number is less than the total number of authentication data stored in the chip, thereby increasing the complexity of the authentication mechanism running in the chip, and increasing the security of data communication and the reliability of device authentication.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of data communication technology, and in particular to a chip and an imaging box. Background Art

[0002] Image forming devices, such as printers, as one of the commonly used information devices, have brought many conveniences to people's work and life.

[0003] The image forming device is provided with a replaceable imaging cartridge, such as an ink cartridge, a toner cartridge, etc. The imaging cartridge is equipped with a consumable chip to store data such as the remaining amount of consumables, consumable properties, and production date, as well as multiple authentication data for authenticating the imaging cartridge. The security of the authentication data exchange is particularly important for the image forming device.

[0004] In order to prevent the authentication data in the chip from being known by an unauthorized third party, the prior art adopts a method of returning only part of the authentication data at a time when the image forming device and the chip are authenticated to prevent the entire authentication data from being known by the third party. However, in the above method, the third party can read all the authentication data by obtaining it multiple times, and the authentication data is easy to be known, which has poor security. Summary of the invention

[0005] An embodiment of the present application provides a chip and an imaging box. When the chip is communicating data with a host device, when there is a large amount of authentication data inside the chip that has been sent to the host device, the chip randomly returns one authentication data to the host device, thereby preventing the host device from easily knowing all the authentication data stored inside the chip, thereby improving the security of the data inside the chip and the security of data communication based on the chip.

[0006] In a first aspect, an embodiment of the present application provides a chip, wherein the chip stores a plurality of different authentication data, and the chip is used to:

[0007] Receive an authentication instruction from a host device, wherein the authentication instruction instructs the chip to send corresponding specific authentication data; if the number of different authentication data sent to the host device reaches a preset number, select one authentication data from the multiple authentication data as the target authentication data and send it to the host device; wherein the preset number is less than the total number of authentication data stored in the chip.

[0008] Optionally, the chip is also used for:

[0009] If the number of different authentication data sent does not reach the preset number, the specific authentication data corresponding to the authentication instruction is sent to the host device.

[0010] Optionally, the chip is also used for:

[0011] Obtain a first mark of each authentication data; and determine whether the number of authentication data sent to the host device reaches a preset number based on the number of the first marks.

[0012] Optionally, the chip is also used for:

[0013] After the specific authentication data is sent to the host device, the first flag is set for the specific authentication data.

[0014] Optionally, the chip is also used for:

[0015] Determine whether the specific authentication data corresponding to the authentication instruction is set with a first mark; if so, send the specific authentication data to the host device.

[0016] Optionally, the target authentication data is the authentication data without the first mark set.

[0017] Optionally, the target authentication data is authentication data that has not been sent to the host device.

[0018] Optionally, the chip is also used for:

[0019] After sending the target authentication data to the host device, a second flag is set for the target authentication data.

[0020] Optionally, the chip is also used for:

[0021] If the number of different authentication data sent to the host device reaches a preset number, the authentication data not set with the first mark or the second mark is determined as the target authentication data.

[0022] Optionally, the chip is also used for:

[0023] After receiving the authentication instruction, if each authentication data stored in the chip has been set with a first mark or a second mark, one authentication data is randomly selected and sent to the host device.

[0024] In a second aspect, an embodiment of the present application further provides an imaging box, which can be detachably mounted on an image forming device, and the imaging box includes the chip provided by any embodiment of the present application.

[0025] A chip and an imaging box provided in an embodiment of the present application, when the chip receives an authentication instruction sent by a host device, determines whether the number of different authentication data currently sent to the host device has reached a preset number. If so, selects one authentication data from multiple authentication data stored in the chip as target authentication data and sends it to the host device. The target authentication data can be authentication data that has been sent or authentication data that has not been sent, thereby increasing the complexity of the authentication data communication logic, improving the security of data communication, preventing the host device from easily learning all the authentication data and authentication methods inside the chip, improving the security of data stored in the chip, and improving the reliability of device security authentication. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0027] Figure 1 An application scenario diagram provided for an embodiment of the present application;

[0028] Figure 2 A schematic diagram of the structure of a chip provided in one embodiment of the present application;

[0029] Figure 3 A schematic diagram of the structure of a chip provided in another embodiment of the present application;

[0030] Figure 4 A schematic diagram of the structure of a chip provided in another embodiment of the present application;

[0031] Figure 5 for Figure 2 A flowchart of the authentication method executed by the chip in the illustrated embodiment;

[0032] Figure 6 A schematic diagram of the structure of a chip provided in another embodiment of the present application;

[0033] Figure 7 A schematic diagram of the structure of an imaging box provided in one embodiment of the present application.

[0034] The above drawings have shown the clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present disclosure in any way, but to illustrate the concepts of the present disclosure to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0035] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0036] The technical solution of the present invention and how the technical solution of the present invention solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present invention will be described below in conjunction with the accompanying drawings.

[0037] The application scenarios of the embodiments of the present application are explained below:

[0038] Figure 1 An application scenario diagram provided for an embodiment of the present application, such as Figure 1 As shown, the image forming device 100 includes a detachable imaging box 110, and the imaging box 110 is usually provided with a chip 111 for data communication with the main control device 120 of the image forming device 100. The chip 111 stores a plurality of authentication data, such as authentication data 1 to authentication data N, for security authentication, such as authentication of the imaging box 110. Specifically, when it is necessary to authenticate the imaging box 110, the main control device 120 generates an authentication instruction and sends the authentication instruction to the chip 111. The authentication instruction usually corresponds to one or more specific authentication data on the chip 111, such as authentication data N-1, so that the chip 111 sends the one or more specific authentication data, such as authentication data N-1, to the main control device 120 based on the authentication instruction, thereby realizing authentication of the imaging box 110.

[0039] When the third-party device 20 sends an authentication instruction to the chip 111 to obtain authentication data, in order to prevent all the authentication data stored in the chip 111 from being easily known, the prior art refuses to respond to the authentication instruction of the third-party device 20 when the number of authentication data returned by the chip 111 to the third-party device 200 reaches a preset number, that is, no authentication data is sent to the third-party device 20.

[0040] However, in the above manner, the authentication mechanism of the chip 111 is relatively simple and can be easily cracked by a third party. Since the authentication data in the chip 111 used in the same model of imaging box 110 are the same, the third party can obtain all the authentication data stored in the chip 111 by sending different authentication instructions to multiple different chips 111 through the third-party device 20, so that the third-party imaging box can apply the cracked authentication data to the image forming device 100, which reduces the use security of the image forming device 100.

[0041] In order to improve the complexity of the authentication mechanism of chip 111 and the security of data communication, the main concept of the authentication mechanism of the chip provided in the embodiment of the present application is: after receiving the authentication instruction sent by the host device, in the case that the authentication data sent by chip 111 to the host device reaches a preset number, one authentication data is selected from the multiple authentication data stored in chip 111 and sent to the host device, so that when the authentication data sent reaches a preset number, authentication data can still be replied to the host device, and the replied authentication data may not match the authentication instruction at this time, thereby increasing the complexity of the chip authentication mechanism, preventing third-party devices from easily obtaining all the authentication data stored in chip 111 and the correspondence between the authentication data and the authentication instruction, improving the security of data communication of chip 111, preventing non-authenticated devices from being used in image forming device 100, and improving the safety and life of the image forming device 100.

[0042] Figure 2 A schematic diagram of the structure of a chip provided in one embodiment of the present application is shown in FIG. Figure 2 As shown, the chip 200 stores a plurality of authentication data. The chip 200 is disposed in the imaging box 110 of the image forming apparatus 100 . The chip 200 is used to receive an authentication instruction from the host device 300 , thereby executing an authentication method to send target authentication data to the host device 300 .

[0043] Each authentication data is different, and a data identifier can be set for each authentication data in order to distinguish different authentication data. The host device 300 can be the main control device 120 of the image forming apparatus 100, or a third-party device 20, such as a user terminal. A specific authentication data to be returned can be specified in the authentication instruction.

[0044] Specifically, the chip 200 is used to receive an authentication instruction from the host device 300, and the authentication instruction instructs the chip 200 to send corresponding specific authentication data; if the number of different authentication data sent to the host device 300 reaches a preset number, one authentication data is selected from the multiple authentication data as the target authentication data and sent to the host device 300, and the target authentication data does not necessarily match the authentication instruction; if the number of different authentication data sent to the host device 300 does not reach the preset number, the specific authentication data corresponding to the authentication instruction is selected from the multiple authentication data and sent to the host device.

[0045] The preset number is smaller than the total number of authentication data stored in the chip, and may be 1 / 2, 3 / 4 or other values ​​of the total number of authentication data stored in the chip.

[0046] Specifically, the authentication instruction sent by the host device 300 may be received through the preset communication interface of the chip 200. The authentication instruction may correspond to one or more authentication data stored on the chip 200.

[0047] Specifically, when the number of authentication data sent to the host device 300 reaches a preset number, one authentication data can be randomly selected from the multiple authentication data stored in the chip 200 as the above-mentioned target authentication data to send the target authentication data to the host device 300.

[0048] Further, the number of different authentication data sent to the host device 300 may be the number of different authentication data sent to the host device 300, or the number of types of authentication data sent to the host device 300, and the repeated authentication data sent will not increase the number of authentication data sent to the host device 300.

[0049] Exemplarily, assuming that the six authentication data sent to the host device 300 are: a1, a2, a3, a2, a3 and a4, the number of different authentication data sent to the host device 300 is 4.

[0050] Further, when the number of different authentication data sent to the host device 300 reaches a preset number, if the next authentication instruction sent by the host device 300 is received, an authentication number can be randomly determined from the multiple authentication data not sent to the host device 300 as the above-mentioned target authentication data, or one authentication data can be selected and returned in the order of data identifiers of the multiple authentication data not sent to the host device 300, for example, sequential selection starting from the direction of the data identifier as the minimum value or reverse selection starting from the direction of the data identifier as the maximum value.

[0051] Exemplarily, assuming that the preset number is 4, the multiple authentication data stored on the chip 200 are: data 1 to data 16, and the authentication data that the chip 200 has sent to the host device 300 are: data 1, data 3, data 6, data 2, data 1 and data 6, respectively. Then, the number of different authentication data sent is 4, and the repeated authentication data, i.e., data 1 and data 6, is only recorded once. When the chip 200 receives the authentication instruction, since the number of authentications sent to the host device 300 reaches the preset number, the chip 200 selects one authentication data that has not been sent or returned, such as data 12, from the authentication data stored therein, i.e., data 1 to data 16, and sends it to the host device 300.

[0052] A chip provided in an embodiment of the present application, when the chip receives an authentication instruction sent by a host device, determines whether the number of different authentication data currently sent to the host device has reached a preset number. If so, selects one authentication data from multiple authentication data stored in the chip as target authentication data and sends it to the host device. The target authentication data can be authentication data that has been sent or authentication data that has not been sent, thereby increasing the complexity of the authentication data communication logic, improving the security of data communication, preventing the host device from easily knowing all the authentication data and authentication methods inside the chip, improving the security of data stored in the chip, and improving the reliability of device security authentication.

[0053] Figure 3 A schematic diagram of a chip structure provided in another embodiment of the present application, combined with Figure 2 and Figure 3 It can be seen that the chip 200 further includes: an instruction receiving module 210 , a sent quantity determining module 220 and a data sending module 230 .

[0054] Among them, the instruction receiving module 210 is used to receive the authentication instruction of the host device 300; the sent quantity judgment module 220 is used to judge whether the number of different authentication data sent to the host device 300 has reached a preset number; the data sending module 230 is used to select one authentication data from the multiple authentication data as the target authentication data and send it to the host device 300 if the number of different authentication data sent has reached the preset number.

[0055] Optionally, the chip 200 is further used to: if the number of different authentication data sent does not reach the preset number, send the specific authentication data corresponding to the authentication instruction to the host device 300.

[0056] The specific authentication data may be one or more authentication data among multiple authentication data.

[0057] Specifically, the chip 200 may store an authentication relationship table, which is used to describe the correspondence between data in the authentication instruction and specific authentication data, so that when the chip 200 receives the authentication instruction, it determines the specific authentication data corresponding to the authentication instruction based on the authentication relationship table.

[0058] Exemplarily, Table 1 is a schematic diagram of an authentication relationship table provided by an embodiment of the present application. As shown in Table 1, when the data in the authentication instruction are A, B, C, D, E, F, G and H, respectively, the corresponding specific authentication data are a, b, c, d, e, f, g and h, respectively. That is, when the data in the authentication instruction is E, the corresponding specific authentication data is e, when the data in the authentication instruction is G, the corresponding specific authentication data is g, and so on.

[0059] Table 1 Authentication relationship table

[0060] Authentication instructions A B C D E F G H Specific authentication data a b c d e f g h

[0061] Specifically, the data sending module 230 is further configured to send the specific authentication data corresponding to the authentication instruction to the host device 300 when the number of different authentication data sent does not reach the preset number.

[0062] Optionally, the chip 200 is further used to: obtain a first mark of each authentication data. Accordingly, judging whether the number of different authentication data sent to the host device 300 reaches a preset number includes: judging whether the number of different authentication data sent to the host device 300 reaches a preset number according to the number of the first marks.

[0063] The first mark is used to identify each authentication data sent to the host device 300 when the number of authentication data sent to the host device 300 does not reach the preset number. The first mark can be in any form, such as a preset flag bit or a preset character, etc. The first mark can also be generated according to the device identification and / or the preset number of the host device 300.

[0064] Exemplarily, a preset flag bit can be set for each authentication data. When the preset flag bit is 0, it indicates that the authentication data has not been set with the first mark, that is, it has not been returned to the host device 300. When the preset flag bit is 1, it indicates that the authentication data has been set with the first mark, that is, the authentication data has been returned to the host device 300.

[0065] Specifically, the first flag may be set by a processor inside the chip 200 , or may be set by the main control device 120 of the image forming apparatus 100 .

[0066] Optionally, the chip 200 is further used to: after sending the specific authentication data to the host device 300, set the first mark for the specific authentication data.

[0067] Exemplarily, after sending the specific authentication data corresponding to the authentication instruction to the host device 300, the processor of the chip 200 or the main control device 120 of the image forming apparatus 100 rewrites the preset flag bit of the specific authentication data to 1, that is, sets a first mark for the specific authentication data.

[0068] Specifically, Figure 4 A schematic diagram of a chip structure provided in another embodiment of the present application, combined with Figure 3 and Figure 4 It can be known that the chip 200 further includes a first mark setting module 240. The first mark setting module 240 is used to set the first mark for the specific authentication data after sending the specific authentication data to the host device 300.

[0069] Specifically, when the chip 200 receives an authentication instruction and the number of authentication data that the chip 200 has sent to the host device 300 does not reach a preset number, the chip 200 sends the specific authentication data corresponding to the authentication instruction to the host device 300, and the first mark setting module 240 sets a first mark for the specific authentication data stored in the chip 200.

[0070] Exemplarily, assuming that the preset number is 8, the authentication data that chip 200 has sent to the host device 300 are data 5 and data 7. It can be seen that the number of different authentication data sent is 2. When chip 200 receives authentication instruction O1, and the specific authentication data corresponding to authentication instruction O1 is data 12, chip 200 sends data 12 to the host device 300, and sets a first mark for the data 12 stored in chip 200 to mark the sent authentication data when the number of different authentication data sent does not reach the preset number.

[0071] In this embodiment, when the chip 200 receives an authentication instruction, if the number of different authentication data sent has not reached a preset number, the specific authentication instruction corresponding to the authentication instruction is sent to the host device 300, and a first mark is set for the specific authentication data to achieve secure authentication of the imaging box, and based on the first mark, it can be quickly determined whether the number of different authentications sent has reached a preset number; when the preset number is reached, the chip 200 randomly returns an authentication data to the host device, which increases the complexity of the authentication method or authentication mechanism running in the chip 200, so that a third-party device cannot easily obtain all the authentication data, thereby improving the security of the authentication data, and further protecting the authentication mechanism of the chip 200 and the image forming device, avoiding misauthentication, and improving the safety of the use of the image forming device.

[0072] Optionally, the chip 200 is further used for:

[0073] Determine whether the specific authentication data corresponding to the authentication instruction is set with a first mark; if so, send the specific authentication data to the host device.

[0074] Specifically, if the specific authentication data corresponding to the authentication instruction is set or added with a first mark, it indicates that the specific authentication data requested by the authentication instruction has been sent to the host device 300. There is no need to perform a judgment process related to the preset quantity, and the specific authentication data is directly sent to the host device 300 to improve the efficiency of data authentication.

[0075] For example, assuming that the chip 200 has sent three authentication data to the host device 300: data 8, data 10 and data 17. If the specific authentication data corresponding to the authentication instruction O2 currently sent by the host device 300 is data 10, and data 10 has been sent to the host device 300 before, data 10 can be sent directly to the host device 300 without determining whether the number of authentication data sent to the host device 300 has reached the preset number.

[0076] Optionally, when the number of different authentication data sent to the host device 300 reaches a preset number, the target authentication data should preferably be each authentication data that is not set with the first mark, that is, each authentication data that is not sent to the host device is preferably preferred. Because the traditional authentication mechanism of the chip applied in this field generally has a one-to-one correspondence and matching between authentication data and authentication instructions, after the number of different authentication data sent reaches a preset number, the authentication data that has not been sent is preferred, which increases the probability of one-to-one correspondence between authentication data and authentication instructions, but the authentication data and authentication data may not match, which can better confuse third parties, increase the difficulty of cracking the correspondence between authentication data and authentication instructions, avoid counterfeit chips from being used in the image forming device 100, and improve the security and life of the image forming device 100.

[0077] Optionally, the chip 200 is further used for:

[0078] After the target authentication data is sent to the host device 300, a second flag is set for the target authentication data.

[0079] The second mark is different from the first mark, and is used to identify each authentication data sent to the host device 300 when the number of different authentication data sent to the host device 300 reaches a preset number. The second mark can be in any form, such as a preset flag bit or a preset character, etc. The second mark can also be generated according to the device identification and / or preset number of the host device 300.

[0080] Specifically, when the number of authentication data sent to the host device 300 reaches a preset number, the chip 200 determines a target authentication data from multiple authentication data, sends the target authentication data to the host device 300, and sets a second mark for the target authentication data stored in the chip 200.

[0081] In some embodiments, the second flag may be set by a processor inside the chip 200 , or may be set by the main control device 120 of the image forming apparatus 100 .

[0082] In some embodiments, the chip 200 further includes a second tag setting module, configured to set a second tag for the target authentication data after sending the target authentication data to the host device 300 .

[0083] Specifically, the target authentication data may preferably be authentication data without the first mark and the second mark being set.

[0084] Optionally, the chip 200 is further used for:

[0085] If the number of sent authentication data reaches a preset number, the authentication data that is not set with the first mark or the second mark is determined as the target authentication data.

[0086] In some embodiments, the data sending module 230 of the chip 200 is specifically used for:

[0087] If the number of sent authentication data has reached a predetermined number, the authentication data not set with the first mark or the second mark is determined as the target authentication data, and the target authentication data is sent to the host device 300.

[0088] It is preferred to send authentication data that is not set with the first mark or the second mark as the target authentication data, which further increases the probability of one-to-one correspondence between the authentication data and the authentication instruction, and also further increases the difficulty of cracking the correspondence between the authentication data and the authentication instruction.

[0089] Optionally, the chip 200 is further used for:

[0090] After receiving the authentication instruction, if each authentication data stored in the chip has been set with a first mark or a second mark, one authentication data is randomly selected and sent to the host device.

[0091] In some embodiments, the chip 200 is also used to: after the number of different authentication data sent reaches a preset number, record the historical authentication instructions sent by the host device 300 and the target authentication data returned corresponding to the historical authentication instructions, and the historical authentication instructions are different from the authentication instructions received before the number of sent authentication data reaches the preset number. When the chip 200 receives an authentication instruction from the host device 300, it first determines whether the various historical authentication instructions stored in the chip 200 include the same historical authentication instructions as the authentication instruction. If so, the target authentication data corresponding to the historical authentication instruction is sent to the host device 300. Specifically, the recording module or memory of the chip 200 can record the historical authentication instructions sent by the host device 300 at each time node.

[0092] After the number of different authentication data sent reaches a preset number, the chip 200 records the historical authentication instruction and the target authentication data returned by the historical authentication instruction. After that, when the same historical authentication instruction is sent again, it will reply with the same target authentication data as the first time. In this way, it is avoided that after the number of authentication data sent reaches the preset number, the same instruction will receive different target authentication data, and the authentication data and authentication instruction are guaranteed to correspond one to one. Even if the authentication data and the authentication instruction do not match, the third party cannot detect it, so that the authentication mechanism of the chip 200 can be better hidden, and the third party is prevented from making counterfeit chips for use in the image forming device 100, thereby improving the safety and life of the image forming device 100.

[0093] In some embodiments, the data sending module 230 of the chip 200 is further used to randomly select one authentication data and send it to the host device after receiving the authentication instruction if each authentication data stored in the chip has been set with the first mark or the second mark.

[0094] Figure 5 for Figure 2 The flowchart of the authentication method executed by the chip in the embodiment shown is as follows: Figure 5 As shown, the authentication method includes the following steps:

[0095] Step S501 , receiving an authentication instruction from the host device 300 .

[0096] The authentication instruction instructs the chip 200 to send corresponding specific authentication data to the host device 300 .

[0097] Step S502 , determining whether the number of different authentication data sent to the host device 300 reaches a preset number.

[0098] The preset number is smaller than the total number of authentication data stored in the chip.

[0099] Optionally, after receiving the authentication instruction from the host device 300, the authentication method further includes:

[0100] Get the first tag of each authentication data.

[0101] Accordingly, determining whether the number of different authentication data sent to the host device 300 reaches a preset number includes:

[0102] According to the number of the first marks, or according to the count value of the number of authentication data returned, that is, each time a different authentication data chip is returned before the preset number is reached, the processor performs a cumulative count to determine whether the number of different authentication data sent to the host device 300 has reached the preset number.

[0103] Step S503 : If yes, one authentication data is selected from the multiple authentication data as target authentication data and sent to the host device 300 .

[0104] Optionally, after sending the target authentication data to the host device 300, the authentication method further includes:

[0105] A second tag is set for the target authentication data.

[0106] Optionally, selecting one authentication data from the plurality of authentication data as target authentication data and sending it to the host device 300 includes:

[0107] The authentication data for which the first mark or the second mark is not set is determined as the target authentication data; and the target authentication data is sent to the host device 300.

[0108] Step S504 , if not, sending the specific authentication data corresponding to the authentication instruction to the host device 300 .

[0109] Optionally, after sending the specific authentication data to the host device 300, the authentication method further includes:

[0110] The first flag is set for the specific authentication data.

[0111] Optionally, after receiving the authentication instruction from the host device 300, the authentication method further includes:

[0112] Determine whether the specific authentication data corresponding to the authentication instruction is set with a first mark; if so, send the specific authentication data to the host device.

[0113] Optionally, after receiving the authentication instruction, if each authentication data stored in the chip has been set with a first mark or a second mark, the authentication method further includes:

[0114] A random authentication data is selected and sent to the host device.

[0115] Figure 6 A schematic diagram of a chip structure provided in another embodiment of the present application, combined with Figure 2 and Figure 6 It can be known that the chip 200 also includes a memory 21 and at least one processor 22. The memory 21 stores a computer program, so that the at least one processor 22 executes the computer program to implement the authentication method provided in any embodiment of the present application.

[0116] In some embodiments, authentication data may be stored in memory 21 .

[0117] The predetermined number may be stored in the memory 21 of the chip 200, or in the program code, or solidified in the logic circuit. The authentication data may be a password, a secret key, a signature data, etc., which are related data that can be used for identity authentication. The authentication data itself can complete the authentication function of the printing system, or it can complete the authentication function in conjunction with other data. The authentication data may be independent data, or part of other data, or be associated with other data.

[0118] Figure 7 A schematic diagram of the structure of an imaging box provided in one embodiment of the present application is shown in FIG. Figure 7 As shown, the imaging box 800 includes a body 810 and a chip 820 .

[0119] Among them, chip 820 is the Figures 2 to 4 , Figure 6 A chip provided by any embodiment of the illustrated embodiments.

[0120] The imaging box 100 provided in this embodiment can be detachably installed on the image forming device 100 .

[0121] An embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and the computer program is executed by a processor to implement the present application. Figure 5 The corresponding embodiment provides an authentication method.

[0122] Among them, the computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.

[0123] An embodiment of the present application provides a computer program product, including a computer program, which is executed by a processor to implement the present application. Figure 5 The corresponding embodiment provides an authentication method.

[0124] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0125] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the disclosure disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the claims.

[0126] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A chip, characterized in that: The chip stores a plurality of different authentication data, and the chip is used for: receiving an authentication instruction from a host device, wherein the authentication instruction instructs the chip to send corresponding specific authentication data; If the number of different authentication data sent to the host device reaches a preset number, one authentication data is randomly selected from the multiple authentication data as the target authentication data and sent to the host device; wherein the preset number is less than the total number of authentication data stored in the chip.

2. The chip according to claim 1, characterized in that: The chip is also used for: If the number of different authentication data sent to the host device does not reach the preset number, the specific authentication data corresponding to the authentication instruction is sent to the host device.

3. The chip according to claim 2, characterized in that: The chip is also used for: After sending the specific authentication data to the host device, a first flag is set for the specific authentication data.

4. The chip according to claim 3, characterized in that: The chip is also used for: Determining whether the specific authentication data corresponding to the authentication instruction is set with a first mark; If so, the specific authentication data is sent to the host device.

5. The chip according to claim 3, characterized in that: The chip is also used for: Obtaining a first mark of each authentication data; According to the number of the first marks, it is determined whether the number of the authentication data sent to the host device reaches a preset number.

6. The chip according to any one of claims 1 to 2, characterized in that: The target authentication data is authentication data that is not sent to the host device.

7. The chip according to claim 6, characterized in that: The chip is also used for: After sending the target authentication data to the host device, a second flag is set for the target authentication data.

8. The chip according to claim 7, characterized in that: The chip is also used for: If the number of different authentication data sent to the host device reaches a preset number, the authentication data not set with the first mark or the second mark is determined as the target authentication data.

9. The chip according to claim 8, characterized in that: The chip is also used for: After receiving the authentication instruction, if each authentication data stored in the chip has been set with a first mark or a second mark, one authentication data is randomly selected and sent to the host device.

10. An imaging box, characterized in that: Comprising a chip as described in any one of claims 1 to 9.

Citation Information

Patent Citations

  • System and method for digital signatures and authentication

    CN101488856A

  • Systems and methods for authentication of access based on multi-data source information

    US20180157851A1