Printing device and tape

By setting multiple labels and storage elements on the belt of the printing device and using authentication data for authentication, the problem of unauthorized information writing when the belt is invalid is solved, and information security is guaranteed.

CN111695650BActive Publication Date: 2024-11-19BROTHER KOGYO KK
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010174295.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-03-15
Filing Date
2020-03-13
Publication Date
2024-11-19
Estimated Expiration
2040-03-13

AI Technical Summary

Technical Problem

The existing printing device cannot effectively prevent unauthorized information from being written to the storage element when the belt is invalid, and there is a risk of information security.

Method used

A printing device is designed, including a supply part, a printing part, a reading part and a controller. By setting multiple labels and storage elements on the tape, authentication is ensured that only specific authentication is met. Information is allowed to be written only when conditions are met.

Benefits of technology

It effectively prevents unauthorized information writing, improves information security, and ensures the reliability and security of the printing process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111695650B_ABST
    Figure CN111695650B_ABST
Patent Text Reader

Abstract

A printing device includes: a supply part; a printing part; a reading part; and a controller. The supply part is configured to convey a belt in its longitudinal direction. The belt includes: a plurality of labels arranged continuously in the longitudinal direction; and a plurality of storage elements provided on corresponding labels among the plurality of labels. A first storage element is provided on the first label and configured to store first authentication data. A second storage element is provided on the second label and configured to store second authentication data. The printing part is configured to print on the plurality of labels. The controller is configured to perform: reading the first authentication data from the first storage element by the reading part, and reading the second authentication data from the second storage element; and determining whether the first authentication data is related to the second authentication data to satisfy the authentication condition.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to printing devices and belts. Background Art

[0002] It is known in the art that a belt is provided with a storage element capable of storing information, and a printing device capable of reading information from the storage element provided on the belt and writing information to the storage element through contactless communication. Japanese Patent Application Publication No. 2007-296746 provides an example of a radio frequency identification (RFID) inlet installed on RFID label paper. An RFID label printing device with a printing device determines whether the information read from the RFID inlet through contactless communication includes a type code of the type of RFID label paper that can be used in the RFID label printing device. When it is determined that the information read from the RFID inlet does not include a type code of the RFID label paper that can be used on the RFID label printing device, the RFID label printing device does not use the printing device to perform a printing operation on the label paper.

[0003] With the above conventional printing device and tape, the printing device can not only read information from the storage element arranged on the tape, but also write information into the storage element. However, it is desirable to prevent the printing device from performing unauthorized information writing to the storage element arranged on the tape when the tape used on the printing device is invalid. Summary of the invention

[0004] Therefore, an object of the present disclosure is to provide a printing device and a tape capable of preventing information from being written to a storage element provided on the tape without authorization.

[0005] To achieve the above and other purposes, according to a first aspect of the present disclosure, there is provided a printing device, comprising: a supply part; a printing part; a reading part; and a controller. The supply part is configured to convey a belt in the longitudinal direction of the belt. The belt comprises: a plurality of labels; and a plurality of storage elements. The plurality of labels are arranged continuously in the longitudinal direction. The plurality of labels comprise a first label and a second label. The plurality of storage elements are arranged on corresponding labels of the plurality of labels. Each of the plurality of storage elements is configured to store at least authentication data. The plurality of storage elements comprise a first storage element arranged on the first label and a second storage element arranged on the second label. The first storage element is configured to store the first authentication data. The second storage element is configured to store the second authentication data. The printing part is configured to print on the plurality of labels. The reading part is configured to read the authentication data from each of the plurality of storage elements. The controller is configured to perform: (a) reading; and (b) determining. In (a) reading, the controller reads the first authentication data from the first storage element and the second authentication data from the second storage element through the reading part. In (b) determining, the controller determines whether the first authentication data is related to the second authentication data to satisfy the authentication condition.

[0006] Preferably, the printing device further comprises a writing part. The writing part is configured to write information to each of the plurality of storage elements. Also preferably, the controller is configured to further perform: (c) allowing. In response to determining that the authentication condition is satisfied, in (c) allowing, the controller allows the writing part to write information to the first storage element.

[0007] In the printing device, preferably, the second label is adjacent to the first label in the longitudinal direction.

[0008] Preferably, in (b) determining, the authentication condition requires that the first authentication data is equal to the second authentication data.

[0009] Also preferably, (b) determining includes: (b1) calculating; and (b2) determining. In (b1) calculating, the controller calculates the authentication value by applying the first authentication data and the second authentication data to a prescribed formula. In (b2) determining, the controller determines whether the authentication value is equal to a prescribed key value.

[0010] Preferably, the printing device further comprises a memory. The memory is configured to pre-store a prescribed key value. It is also preferred that in the determination (b2), the controller determines whether the authentication value is equal to the prescribed key value stored in the memory.

[0011] Preferably, (b) determination further comprises (b3) reading. In (b3) reading, the controller reads the prescribed key value stored in the first storage element through the reading portion. It is also preferred that, in (b2) determination, the controller determines whether the authentication value is equal to the prescribed key value read from the first storage element.

[0012] In the printing device, preferably, the plurality of labels further include a third label. The third label is adjacent to the first label on the opposite side of the second label in the longitudinal direction. Also preferably, the plurality of storage elements include a third storage element. The third storage element is disposed on the third label and is configured to store third authentication data. Preferably, (a) reading also reads the third authentication data from the third storage element by the reading portion. Preferably, in (b) determining, the controller determines whether the first authentication data is associated with the second authentication data to satisfy the first authentication condition, and whether the first authentication data is associated with the third authentication data to satisfy the second authentication condition. Also preferably, in (c) allowing, the controller allows the writing portion to write information to the first storage element in response to determining that the first authentication condition and the second authentication condition are simultaneously satisfied.

[0013] Preferably, (b) determining includes: (b4) calculating; (b5) determining; (b6) calculating; and (b7) determining. In (b4) calculating, the controller calculates a first authentication value by applying the first authentication data and the second authentication data to the first formula. In (b5) determining, the controller determines whether the first authentication value is equal to the first key value. In (b6) calculating, the controller calculates a second authentication value by applying the first authentication data and the third authentication data to the second formula. In (b7) determining, the controller determines whether the second authentication value is equal to the second key value.

[0014] Preferably, (b) determination further comprises (b8) reading. In (b8) reading, the controller reads the first key value and the second key value stored in the first storage element through the reading portion. It is also preferred that in (b5) determination, the controller determines whether the first authentication value is equal to the first key value read from the first storage element, and in (b7) determination, the controller determines whether the second authentication value is equal to the second key value read from the first storage element.

[0015] According to a second aspect of the present disclosure, a belt is provided, comprising: a plurality of labels; and a plurality of storage elements. The plurality of labels are arranged continuously in a longitudinal direction. The plurality of labels include a first label and a second label adjacent to the first label in the longitudinal direction. The plurality of storage elements are arranged on corresponding labels among the plurality of labels. Each of the plurality of storage elements is provided with a first storage area and a second storage area. The first storage area is configured to pre-store first data. The second storage area is configured to pre-store second data. The plurality of storage elements include a first storage element arranged on a first label and a second storage element arranged on a second label. The second data stored in the first storage element is equal to the first data stored in the second storage element.

[0016] In the tape, preferably, the plurality of tags further include a third tag adjacent to the first tag on an opposite side of the second tag in the longitudinal direction. Also preferably, the plurality of storage elements include a third storage element disposed on the third tag. Preferably, the first data stored in the first storage element is equal to the second data stored in the third storage element.

[0017] According to a third aspect of the present disclosure, a belt is also provided, which includes: a plurality of labels; and a plurality of storage elements. The plurality of labels are arranged continuously in the longitudinal direction. The plurality of labels include a first label, a second label, and a third label. The second label is adjacent to the first label in the longitudinal direction. The third label is adjacent to the first label on the opposite side of the second label in the longitudinal direction. The plurality of storage elements are arranged on corresponding labels in the plurality of labels. Each storage element in the plurality of storage elements is provided with a first storage area and a second storage area. The first storage area is configured to pre-store first data. The second storage area is configured to pre-store second data. The plurality of storage elements include a first storage element, a second storage element, and a third storage element. The first storage element is arranged on the first label. The second storage element is arranged on the second label. The third storage element is arranged on the third label. The first digital sequence forms a first total value of the second data stored in the first storage element and the first data stored in the second storage element. The second digital sequence forms a second total value of the first data stored in the first storage element and the second data stored in the third storage element. At least a portion of the first digital sequence is identical to at least a portion of the second digital sequence.

[0018] According to a fourth aspect of the present disclosure, a belt is also provided, which includes: a plurality of labels; and a plurality of storage elements. The plurality of labels are arranged continuously in a longitudinal direction. The plurality of labels include a first label and a second label adjacent to the first label in the longitudinal direction. The plurality of storage elements are arranged on corresponding labels in the plurality of labels. Each of the plurality of storage elements is provided with a first storage area and a second storage area. The first storage area is configured to pre-store authentication data. The second storage area is configured to pre-store a first key value. The plurality of storage elements include a first storage element arranged on the first label and a second storage element arranged on the second label. The first digital sequence forms a first authentication value, which is obtained by multiplying the authentication data stored in the first storage element with the authentication data stored in the second storage element. The second digital sequence forms a first key value stored in the second storage element. At least a portion of the first digital sequence includes at least a portion of the second digital sequence.

[0019] In the tape, preferably, the plurality of labels further include a third label adjacent to the first label on the opposite side of the second label in the longitudinal direction. Also preferably, the plurality of storage elements include a third storage element disposed on the third label. Preferably, each of the plurality of storage elements is provided with a third storage area, the third storage area being configured to pre-store a second key value. Preferably, the third digital sequence forms a second authentication value, the second authentication value being obtained by multiplying the authentication data stored in the first storage element with the authentication data stored in the third storage element. The fourth digital sequence forms a second key value stored in the third storage element. At least a portion of the third digital sequence includes at least a portion of the fourth digital sequence.

[0020] According to the first to fourth aspects of the present disclosure, it is possible to suppress unauthorized writing of information into a storage element provided on a tape. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The specific features and advantages of the present disclosure and other objects will become apparent from the following description taken in conjunction with the accompanying drawings, in which:

[0022] Figure 1 is a perspective view of a printing device according to an embodiment of the present disclosure;

[0023] Figure 2 is a plan view of a cartridge mounting portion of a printing device in which a tape cartridge is mounted;

[0024] Figure 3 is a block diagram showing an electrical configuration of a printing apparatus according to an embodiment of the present disclosure;

[0025] Figure 4A is a plan view of a band according to an embodiment of the present disclosure, showing a plurality of wireless communication tags disposed on the band;

[0026] Figure 4B is a conceptual diagram of label information stored in a wireless communication label provided on a band according to a first embodiment of the present disclosure;

[0027] Figure 5 is a flowchart showing steps in a signature confirmation process executed by the CPU of the printing apparatus according to the first embodiment of the present disclosure;

[0028] Figure 6 is a flowchart showing steps in a label writing process executed by the CPU of the printing apparatus according to the first embodiment;

[0029] Figure 7 is a conceptual diagram of label information stored in a wireless communication label provided on a band according to a second embodiment of the present disclosure;

[0030] Figure 8is a flowchart showing steps in a label confirmation process executed by the CPU of the printing apparatus according to the second embodiment;

[0031] Fig. 9 is a conceptual diagram of label information stored in a wireless communication label provided on a band according to a third embodiment of the present disclosure;

[0032] Fig.10 is a flowchart showing steps in a label confirmation process executed by the CPU of the printing apparatus according to the third embodiment;

[0033] Fig.11 is a conceptual diagram of label information stored in a wireless communication label provided on a band according to a fourth embodiment of the present disclosure;

[0034] Fig.12 is a flowchart showing steps in a label confirmation process executed by the CPU of the printing apparatus according to the fourth embodiment;

[0035] Fig.13 is a conceptual diagram of label information stored in a wireless communication label provided on a band according to a fifth embodiment of the present disclosure;

[0036] Fig.14 is a flowchart showing some steps in a label confirmation process executed by the CPU of the printing apparatus according to the fifth embodiment;

[0037] Fig.15 is a flowchart showing another part of steps in the label confirmation process executed by the CPU of the printing apparatus according to the fifth embodiment; and

[0038] Fig.16 : is a flowchart showing the remaining steps in the label confirmation process executed by the CPU of the printing apparatus according to the fifth embodiment. DETAILED DESCRIPTION

[0039] Next, embodiments of the present disclosure will be described with reference to the accompanying drawings. The reference drawings are used to describe the technical features that are possible using the present disclosure. The configurations of the devices shown in the drawings are merely examples, and the present disclosure is not intended to be limited to these configurations. Figure 1 The upper right side, lower left side, lower right side, upper left side, top side and bottom side of the printing device 1 shown are defined as the right side, left side, front side, rear side, top side and bottom side of the printing device 1, respectively. Figure 4A The top side, bottom side, right side, and left side of the belt 50 shown are defined as the top side, bottom side, front end, and rear end of the belt 50, respectively.

[0040] like Figure 1As shown, the printing device 1 is provided with a body cover 2. The body cover 2 is a shell of the printing device 1 and has a rectangular parallelepiped shape. A keyboard 3 for inputting characters is provided on the top surface of the front portion of the body cover 2. The keyboard 3 includes a power switch, function keys, arrow keys, etc. A display 5 is provided in the top surface of the body cover 2 to the rear side of the keyboard 3. The display 5 displays various information. The display 5 can be, for example, a dot matrix LCD. A box cover 6 is provided on the rear side of the display 5. The box cover 6 can be opened and closed on the body cover 2. A discharge port 9 is formed in the rear portion of the left side surface of the body cover 2. The printed portion of the tape 50 is discharged from the body cover 2 through the discharge port 9.

[0041] like Figure 2 As shown, inside the body cover 2, the box cover 6 (see Figure 1 ) is provided below the cassette mounting portion 8. The cassette mounting portion 8 is a recess having a shape corresponding to the shape of the tape cassette 30. Therefore, when the cassette cover 6 is opened, the tape cassette 30 can be installed in or removed from the cassette mounting portion 8. The printing device 1 uses the tape cassette 30 installed in the cassette mounting portion 8 to print characters input via the keyboard 3.

[0042] The tape cassette 30 is provided with a box-shaped cassette housing 33 for accommodating a tape 50, a black ribbon 60, etc. The unprinted tape 50 is wound on a tape reel 40. The tape reel 40 is rotatably supported at the left rear portion of the cassette housing 33. The unused black ribbon 60 is wound on a ribbon reel 42. The ribbon reel 42 is rotatably supported at the right front portion of the cassette housing 33. A ribbon take-up reel 44 is rotatably supported in the cassette housing 33, between the tape reel 40 and the ribbon reel 42. The ribbon take-up reel 44 pulls the unused black ribbon 60 out of the ribbon reel 42, and winds up the black ribbon 60 after the black ribbon 60 has been used for printing. A tape drive roller 46 is rotatably supported at the left front corner of the cassette housing 33. The tape drive roller 46 pulls the tape 50 out of the tape reel 40 to print and convey the tape 50. The upstream side and the downstream side in the conveying direction of the belt 50 correspond to the front end side and the rear end side in the longitudinal direction of the belt 50 , respectively.

[0043] The cassette mounting portion 8 is also provided with a ribbon take-up shaft (not shown), a tape drive shaft (not shown), a thermal head 10, a platen mechanism 12, a wireless communication reader 16, a wireless communication writer 18, and the like. The ribbon take-up shaft is inserted into the ribbon take-up reel 44 and is driven by the tape feed motor 23 (see FIG. Figure 3) is driven to rotate. The tape drive shaft is inserted into the tape drive roller 46, and is driven by the tape feed motor 23 to rotate through a transmission mechanism (not shown). The thermal head 10 is arranged on the right side of the tape drive shaft. When the tape 50 is conveyed, the thermal head 10 uses an unused ink ribbon 60 to print on the tape 50. The pressure plate mechanism 12 presses the tape 50 and the ink ribbon 60 against the thermal head 10, and conveys the tape 50 and the ink ribbon 60. The cutting mechanism 17 is arranged between the discharge port 9 and the box mounting portion 8. The cutting mechanism 17 is driven by the cutter motor 24 (see Figure 3 ) is driven to cut the belt 50 at a specified position.

[0044] The wireless communication reader 16 is arranged on the upstream side of the cutting mechanism 17 in the conveying direction of the tape 50. The wireless communication reader 16 is opposite to the tape 50 discharged from the tape cassette 30, and is capable of reading data from a wireless communication tag 80 (see FIG. 4 ) on the tape 50 using near field communication. The wireless communication writer 18 is provided between the discharge port 9 and the cutting mechanism 17. The wireless communication writer 18 is opposite to the tape 50 in the area between the discharge port 9 and the cutting mechanism 17, and is capable of writing data to the wireless communication tag 80 of the tape 50 using near field communication. In the present embodiment, the wireless communication reader 16 is a well-known radio frequency identification (RFID) reader, and the wireless communication writer 18 is a well-known RFID writer. The distance between the wireless communication reader 16 and the wireless communication writer 18 is preferably set to be larger than the interval between a plurality of wireless communication tags 80 (described later) arranged on the tape 50.

[0045] Next, we will refer to Figure 3 The electrical configuration of the printing device 1 is described. The printing device 1 is provided with a control circuit unit 70. The control circuit unit 70 is provided with a central processing unit (CPU) 71, a read only memory (ROM) 72, a character generator ROM (CGROM) 73, a random access memory (RAM) 74, a flash memory 75, and an input / output interface 77, all of which are connected via a data bus 69. The CPU 71 performs overall control of the printing device 1. The ROM 72 stores various parameters required when the CPU 71 executes various programs. The CGROM 73 stores image data representing characters to be printed on the tape 50. The RAM 74 includes a plurality of storage areas such as a text memory, a print buffer, and the like. The flash memory 75 stores various programs executed by the CPU 71, data read from the wireless communication tag 80, data to be written to the wireless communication tag 80, and the like.

[0046] The input / output interface 77 is connected to the keyboard 3, the liquid crystal drive circuit (LCDC) 25, the drive circuits 26, 27 and 28, the wireless communication reader 16 and the wireless communication writer 18. The wireless communication reader 16 is provided with an antenna (not shown) and a reader IC (not shown) as the well-known RFID reader. The wireless communication writer 18 is provided with an antenna (not shown) and a writer IC (not shown) as the well-known RFID writer. The LCDC 25 has a video RAM (not shown) for outputting display data to the display 5. The drive circuit 26 is an electronic circuit for driving the thermal head 10. The drive circuit 27 is an electronic circuit for driving the tape feed motor 23. The drive circuit 28 is an electronic circuit for driving the cutter motor 24.

[0047] Next, we will refer to Figure 4A , while giving an overview of the tape 50. The tape 50 is a long sheet-like object, which includes a plurality of labels 51 of fixed length arranged continuously along the conveying direction. When the tape cassette 30 is installed in the printing device 1, the tape 50 is conveyed along the longitudinal direction within the printing device 1. The thermal head 10 prints characters on one surface of the tape 50 using an ink ribbon 60. The surface on which the thermal head 10 prints will be referred to as the "printing surface". The cutting mechanism 17 cuts the tape 50 in units corresponding to the labels 51. A plurality of wireless communication labels 80 are provided on a side of the tape 50 opposite to the printing surface. Data can be read from and written to the wireless communication labels 80 through wireless communication. The wireless communication labels 80 are arranged along the longitudinal direction of the tape 50.

[0048] The wireless communication tag 80 in the present embodiment is a well-known RFID tag. Each wireless communication tag 80 has an IC chip 81, an antenna 82, and a sealing substrate 83. The sealing substrate 83 is a rectangular sheet. The IC chip 81 and the antenna 82 are arranged on the surface of the sealing substrate 83. The IC chip 81 is provided with a high-frequency circuit, a memory, and a power supply circuit. The antenna 82 is a coil-shaped antenna wound on the IC chip 81 on the sealing substrate 83. Although the wireless communication tag 80 in the present embodiment is a passive RFID tag, an active RFID tag may be used instead.

[0049] The IC chip 81 has a plurality of storage areas capable of storing various information. In the present embodiment, a label identification area 101, an address A area 102, an address B area 103, a supplementary information area 104, and the like are provided in the chip 81. The label identification area 101 stores unique identification data of the corresponding wireless communication label 80. The address A area 102 and the address B area 103 store data for authenticating the wireless communication label 80. The address A area 102 and the address B area 103 will be described in more detail later. The supplementary information area 104 stores supplementary data such as information on the tape cassette 30 (e.g., the type of tape, the print color, and the tape width), information related to the wireless communication label 80, any information written by the user, and the like. The various information stored in the wireless communication label 80 will be collectively referred to as label information 100.

[0050] In this embodiment, an RFID writer (not shown) is used to write various information to a plurality of wireless communication labels 80 when manufacturing the tape 50. Information is written in order starting from the wireless communication label 80 arranged on the front end side of the tape 50. At this time, ID data is written to the label identification area 101 of each of the plurality of wireless communication labels 80. The ID data is allocated in ascending order starting from the front end to the rear end of the tape 50. Figure 4B , the ID data written to each label identification area 101 is shown with the word "No." added at the beginning. Valid data for authenticating each wireless communication label 80 is written to the corresponding address A area 102 and address B area 103. Supplementary data is written to the supplementary information area 104. The supplementary data specifies a unique manufacturing date and time (hours, minutes, and seconds accurate to four decimal places) for the wireless communication label 80.

[0051] In the present embodiment, the wireless communication tags 80 are arranged at regular intervals along the longitudinal direction (i.e., the conveying direction) of the belt 50 so that one wireless communication tag 80 is provided for each tag 51. Figure 4A In the embodiment, the three tags 51 arranged on the belt 50 from the downstream end to the upstream side in the conveying direction are referred to as tags 51A, 51B, and 51C. The wireless communication labels 80 provided on the respective tags 51A, 51B, and 51C are referred to as wireless communication labels 80A, 80B, and 80C. The label information 100 stored on each of the wireless communication labels 80A, 80B, and 80C is referred to as label information 100A, 100B, and 100C, respectively.

[0052] In the label 51A (wireless communication label 80A) at the leading end of the tape 50, "1" is stored in the label identification area 101. This "1" is the smallest ID data. ID data "2" is stored in the label identification area 101 of the second label 51B (wireless communication label 80B), and ID data "3" is stored in the label identification area 101 of the third label 51C (wireless communication label 80C). As the ID data becomes larger in the wireless communication labels 80A, 80B, and 80C, the supplementary data stored in the corresponding supplementary information area 104 indicates a later manufacturing date and time.

[0053] <First Embodiment>

[0054] Next, we will refer to Figure 4A and Figure 4B The tape 50 according to the first embodiment is described in detail. In the following description, the authentication data stored in the address A area 102 of the wireless communication tag 80 is referred to as A data, and the authentication data stored in the address B area 103 of the wireless communication tag 80 is referred to as B data. The A data and the B data are pre-written in each wireless communication tag 80 according to the following rule.

[0055] The B data stored on the wireless communication tag 80 provided in the first tag, wherein the first tag is an arbitrary tag 51, is identical to the A data stored in the wireless communication tag 80 provided on the second tag adjacent to the first tag in the longitudinal direction (i.e., the conveying direction) of the belt 50. Similarly, the A data stored in the wireless communication tag 80 provided on the first tag is equal to the B data stored in the wireless communication tag 80 provided on the third tag, which is adjacent to the first tag from the side of the first tag opposite to the second tag.

[0056] Will use Figure 4A and 4B The example shown describes the above rules. Figure 4A In the example, tag 51B will be the first tag, tag 51C will be the second tag, and tag 51A will be the third tag. Wireless communication labels 80A to 80C set on the third, first and second tags store label information 100A to 100C respectively. In this example, Figure 4B As shown, both the B data in the label information 100A and the A data in the label information 100B are "0010". Similarly, the B data in the label information 100B and the A data in the label information 100C are also equal to "0011". In other words, according to the first embodiment, the B data in an arbitrary label 51 is the same as the A data in the label 51 adjacent to the arbitrary label 51 from the upstream side (the rear end side in the longitudinal direction) in the conveying direction of the belt 50.

[0057] In the first embodiment, the A data and the B data should be calculated to satisfy the above-mentioned rule, and should be written into the corresponding address A area 102 and address B area 103 in the plurality of wireless communication tags 80 provided on the tape 50 when the tape 50 is manufactured. Preferably, the combination of the A data and the B data stored in any one of the plurality of wireless communication tags 80 is different from the combination of the A data and the B data stored in all other wireless communication tags 80.

[0058] Next, we will refer to Figure 5 and Figure 6 The read / write control process according to the first embodiment is described. The printing device 1 performs the read / write control process associated with the process of conveying and printing the tape 50. The read / write control process is performed while the tape cassette 30 is installed in the cassette installation portion 8 so as to read information from the wireless communication tag 80 and write information to the wireless communication tag 80. The read / write control process includes a tag confirmation process (see Figure 5 ) and tag writing processing (see Figure 6 ). When the power of the printing apparatus 1 is turned on, the CPU 71 of the printing apparatus 1 executes these processes according to the program stored in the ROM 72.

[0059] like Figure 5 As shown, in S1 of the label confirmation process according to the first embodiment, the CPU 71 first determines whether the wireless communication label 80 is identifiable. When the wireless communication reader 16 can detect the wireless communication label 80 within the time period in which the tape 50 is conveyed by a prescribed distance, the CPU 71 determines that the wireless communication label 80 is identifiable. When the wireless communication label 80 is identifiable (S1: Yes), in S3, the CPU 71 controls the wireless communication reader 16 to read the label information 100 from the wireless communication label 80 detected in S1. Here, the wireless communication label 80 detected in S1 is referred to as label N. The CPU 71 stores the label information read from the label N in the flash memory 75. The CPU 71 also stores a variable N indicating the ID data read from the label N in the flash memory 75. The variable N is set to correspond to the ID data read from the label N in S3. Label N is the latest wireless communication label 80 detected by the wireless communication reader 16, and the ID data stored in the label identification area 101 of the wireless communication label 80 is referred to as "N".

[0060] exist Figure 4A and 4BIn the illustrated example, the first wireless communication label 80 detected by the wireless communication reader 16 immediately after the printing apparatus 1 is turned on is the wireless communication label 80A set on the label 51A. Since the wireless communication label 80A stores the ID data "1" in the label identification area 101, the label information 100 of the label "1" is stored in the flash memory 75, and the variable N is set to "1" (S3). When the belt 50 is subsequently conveyed, the label information 100 is read from each wireless communication label 80 in turn and stored in the flash memory 75, and the variable N is updated to reflect the latest ID data (S3). Each time the label information is read from the newly detected wireless communication label 80, the variable N is increased by 1 from the latest value.

[0061] In S5, the CPU 71 determines whether the label information 100 of the label (N-1) is stored in the flash memory 75. The label (N-1) represents the wireless communication label 80 having the ID data of the value obtained by subtracting 1 (i.e., N-1) from the variable N in the flash memory 75. In other words, the label (N-1) represents the wireless communication label 80 read just before the latest label N. Figure 4A and Figure 4B In the example shown, the tag (N-1) immediately after turning on the power of the printing device 1 will correspond to the wireless communication tag 80 having the ID data "0", but the tag having the ID data "0" does not exist on the tape 50 (S5: No). In this case, the CPU 71 returns to S1.

[0062] If the label information 100 in the label (N-1) exists in the flash memory 75 (S5: YES), then in S7, the CPU 71 determines whether the B data in the label (N-1) is equal to the A data in the label N. Specifically, the CPU 71 determines whether the B data included in the label information 100 stored in the flash memory 75 for the label (N-1) is the same as the A data included in the label information 100 stored in the flash memory 75 for the label N.

[0063] If the B data in the tag (N-1) is equal to the A data in the tag N (S7: YES), the tag (N-1) is regarded as a valid wireless communication tag 80. In S9, the CPU 71 stores the write permission flag for the tag (N-1) in the flash memory 75 and sets the flag to "1". The write permission flag specifies whether information can be written to the corresponding wireless communication tag 80, where "1" indicates that writing is allowed and "0" indicates that writing is prohibited.

[0064] However, if the B data in the tag (N-1) is different from the A data in the tag N (S7: No), the tag (N-1) may be an invalid wireless communication tag 80. Therefore, in S11, the CPU 71 stores the write permission flag for the tag (N-1) in the flash memory 75 and sets the flag to "0". After completing step S9 or S11, the CPU 71 returns to S1. Each time the above-mentioned processing in S5 to S11 is performed, the write permission flag is stored in the flash memory 75 for the wireless communication tag 80 read immediately before the latest tag N.

[0065] Note that when the wireless communication reader 16 does not detect the wireless communication label 80 (S1: No), in S13, the CPU 71 determines whether the label information of label N is stored in the flash memory 75. Label N indicates the wireless communication label 80 having the ID data of the value of the variable N in the flash memory 74. In other words, label N indicates the wireless communication label 80 detected last. If the label information 100 of label N exists (S13: Yes), the label N whose label information 100 is read last is regarded as the wireless communication label 80 set at the rear end of the tape 50. Therefore, in S15, the CPU 71 sets the write permission flag of label N in the flash memory 75 to "1" according to the same method described in S9. After completing S15 or if the label information 100 of label N does not exist in the flash memory 75 (S13: No), the CPU 71 ends the label confirmation processing. Similarly, if the variable N is not stored in the flash memory 74 in step S13, the CPU 71 ends the signature confirmation process.

[0066] like Figure 6 As shown, in S101 of the label writing process according to the first embodiment, the CPU 71 first determines whether the wireless communication label 80 has been detected. When the wireless communication writer 18 has detected one of the plurality of wireless communication labels 80 set on the tape 50, the CPU 71 determines that the wireless communication label 80 has been detected. If the wireless communication label 80 has been detected (S101: Yes), then in S103, the CPU 71 determines whether the write permission flag for the detected wireless communication label 80 (hereinafter referred to as the detected label) is "1". Specifically, the CPU 71 reads the ID data from the label identification area 101 of the detected label. The CPU 71 refers to the flash memory 75 to identify the write permission flag in the detected label corresponding to the ID data read from the label identification area 101, and determines whether the write permission flag is "1".

[0067] When the write permission flag in the detected label is "1" (S103: Yes), in S105, the CPU 71 reads the target information from the flash memory 75 and writes the target information in the detected label using the wireless communication writer 18. The target information is information to be written in the wireless communication label 80. For example, the user may have input the information in advance through the keyboard 3 or the like. Examples of the target information are information specifying the creator or purpose of the label 51 and information about the product to which the label 51 is to be attached.

[0068] In S107, the CPU 71 determines whether the A data and the B data stored in the detected tag remain unchanged by comparing the current data with the data before executing S105. If the A data and the B data remain unchanged (S107: Yes), then in S109, the CPU 71 modifies the A data and the B data in the detected tag. Specifically, the CPU 71 controls the wireless communication writer 18 to add a prescribed value (e.g., "1") to the A data stored in the address A area 102 of the detected tag, and to add a prescribed value (e.g., "1") to the B data stored in the address B area 103 of the detected tag. By modifying the A data and the B data in the detected tag in this manner, the CPU 71 can prevent invalid information from being updated to the detected tag.

[0069] After completing the processing in S109, the CPU 71 returns to S101. The CPU 71 also returns to S101 when it is determined that the wireless communication tag 80 has not been detected (S101: No), when it is determined that the write permission flag in the detected tag is not "1" (step S103: No), or when it is determined that one or both of the A data and the B data in the detected tag have been modified (S107: No).

[0070] Next, we will refer to Figure 4A and Figure 4B A specific example of the read / write control process according to the first embodiment is described. In this example, when the tape 50 is conveyed during the printing operation, the label information 100A to 100C is sequentially read from the tags 51A to 51C (wireless communication labels 80A to 80C) by the wireless communication reader 16. At the moment when the label information 100B is read, the variable N stored in the flash memory 75 is "2" (S1: Yes, S3). In this case, the CPU 71 determines in S5 that the B data in the label information 100A and the A data in the label information 100B are both "0010". Since the data are equal (S5: Yes, S7: Yes), in S9, the CPU 71 sets the write permission flag in the wireless communication label 80A to "1".

[0071] When the wireless communication writer 18 subsequently detects the wireless communication label 80A, the write permission flag in the wireless communication label 80A is "1". Therefore, the wireless communication writer 18 is controlled to write the target information into the wireless communication label 80A (S101: Yes, S103: Yes, S105). If the A data and the B data in the wireless communication label 80A remain unchanged after step S105, the CPU 71 executes a process for modifying the A data and the B data (S107: Yes, S109).

[0072] <Second Embodiment>

[0073] Next, we will refer to Figure 7 The belt 50 according to the second embodiment is described. The belt 50 according to the second embodiment is similar to the belt in the first embodiment (see Figure 4A and 4B ), but differs according to the rule of writing the A data and the B data into the wireless communication tag 80 in advance. The rule is as follows. Note that in the second embodiment, the tag information 110 stored in each of the wireless communication tags 80A, 80B and 80C will be referred to as the tag information 110A, 110B and 110C, respectively.

[0074] The plurality of labels 51 include a first label, a second label, and a third label. As described in the first embodiment, the first label, the second label, and the third label constitute any three labels 51 adjacent to each other in the longitudinal direction (i.e., the conveying direction) of the belt 50. More specifically, in the present embodiment, the second label is adjacent to the first label in the longitudinal direction of the belt 50, and the third label is adjacent to the first label from the side opposite to the second label.

[0075] At least a portion of the sum of the B data stored in the wireless communication label 80 set on the first tag and the A data stored in the wireless communication label 80 set on the second tag is equal to at least a portion of the sum of the A data stored in the wireless communication label 80 set in the first tag and the B data stored in the wireless communication label 80 set on the third tag. This will be described in more detail.

[0076] In the present embodiment, the A data and the B data stored in each wireless communication tag 80 are each composed of a plurality of digits. The sum (first sum) of the B data stored in the wireless communication tag 80 set on the first tag and the A data stored in the wireless communication tag 80 set on the second tag is also composed of a plurality of digits, and the sum (second sum) of the A data stored in the wireless communication tag 80 set on the first tag and the B data stored in the wireless communication tag 80 set on the third tag is also composed of a plurality of digits. In other words, a sequence of a plurality of digits (first digit sequence) forms the first sum, and another sequence of a plurality of digits (second digit sequence) forms the second sum. In the present embodiment, at least a portion of the first digit sequence is respectively identical to at least a portion of the second digit sequence. The first sum is an example of a first total value of the present disclosure, and the second sum is an example of a second total value of the present disclosure.

[0077] Will use Figure 4A and 7 The example shown describes the above rules. Figure 4A In the example, tag 51B will be the first tag, tag 51C will be the second tag, and tag 51A will be the third tag. The wireless communication tags 80A to 80C set on the third, first and second tags store Figure 7 The tag information 110A to 110C shown. In this example, the sum of the B data "0011" in the tag information 110B and the A data "1100" in the tag information 110C is called the first sum, and the sum of the A data "1101" in the tag information 110B and the B data "0010" in the tag information 110A is called the second sum. The first sum and the second sum are both "1111" and are therefore equal. In other words, all the numbers that make up the first sum completely match all the numbers that make up the second sum.

[0078] In the second embodiment, the A data and the B data should be calculated to satisfy the above-mentioned rule, and should be written to the corresponding address A area 102 and address B area 103 in the plurality of wireless communication labels 80 provided on the tape 50 when the tape 50 is manufactured. Preferably, the combination of the A data and the B data stored in any one of the plurality of wireless communication labels 80 is different from the combination of the A data and the B data stored in all other wireless communication labels 80.

[0079] Next, we will refer to Figure 8 The read / write control process according to the second embodiment is described. The signature confirmation process of the second embodiment is similar to that of the first embodiment (see Figure 5) is that step S17 is executed instead of step S7. Therefore, in S17, the CPU 71 determines whether the sum of the B data in the tag (N-1) and the A data in the tag N is equal to a prescribed value. Specifically, the CPU 71 calculates the sum of the B data included in the tag information 110 of the tag (N-1) stored in the flash memory 75 and the A data included in the tag information 110 of the tag N stored in the flash memory 75. Next, the CPU 71 determines whether the calculated sum is equal to a prescribed value pre-stored in the ROM 72.

[0080] In S17 , the CPU 71 may determine whether at least a portion of a numerical sequence forming the calculated sum is identical to at least a portion of a numerical sequence forming a prescribed value pre-stored in the ROM 72 .

[0081] If the calculated sum is equal to the prescribed value (S17: Yes), then in S9, the CPU 71 sets the write permission flag of the tag (N-1) to "1". If the calculated sum is not equal to the prescribed value (S17: No), then in S11, the CPU 71 sets the write permission flag of the tag (N-1) to "0". The rest of the tag confirmation process is the same as in the first embodiment (see Figure 5 The signature writing process according to the second embodiment is the same as the process described in the first embodiment (see Figure 6 ).

[0082] Next, we will refer to Figure 4A and Figure 7 A specific example of the read / write control process according to the second embodiment is described. In this example, when the tape 50 is conveyed in the printing operation, the wireless communication reader 16 sequentially reads the label information 110A to 110C from the tags 51A to 51C (wireless communication labels 80A to 80C). At the moment after the label information 110B is read, the variable N stored in the flash memory 75 is "2" (S1: Yes, S3). In this case, the CPU 71 calculates the sum of the B data "0010" in the label information 110A and the A data "1101" in the label information 110B as "1111". Since the sum is equal to the prescribed value "1111" pre-stored in the ROM 72 (S5: Yes, S17: Yes), the CPU 71 sets the write permission flag of the wireless communication label 80A to "1" (S9). Thereafter, as described in the first embodiment, the target information is written to the wireless communication label 80A.

[0083] <Third Embodiment>

[0084] Next, we will refer to Fig. 9 The belt 50 according to the third embodiment is described. The belt 50 according to the third embodiment is similar to the belt in the first embodiment (see Figure 4A and4B ), but it is different according to the rule of writing A data and B data into the wireless communication tag 80 in advance. The rule is as follows. Note that in the third embodiment, the tag information 120 stored in each of the wireless communication tags 80A, 80B and 80C is referred to as tag information 120A, 120B and 120C, respectively. In addition, according to the third embodiment, one hundred wireless communication tags 80 are provided on the tape 50. The tag information 120 stored in the last wireless communication tag 80 provided on the rear end side in the longitudinal direction of the tape 50 is referred to as tag information 120Z.

[0085] The data stored in the wireless communication tag 80 provided in any tag 51 among the plurality of tags 51 is equal to at least a part of the supplementary data stored in the wireless communication tag 80 of the same tag 51. In other words, the supplementary data stored in the supplementary information area 104 of each wireless communication tag 80 is composed of a plurality of digits, and the A data stored in the address A area 102 of each wireless communication tag 80 is identical to at least a part of the digit sequence forming the supplementary data stored in the supplementary information area 104 of the same wireless communication tag 80.

[0086] At least a portion of the product obtained by multiplying the A data stored in the wireless communication tag 80 provided in any arbitrary first tag among the plurality of tags 51 by the A data stored in the wireless communication tag 80 provided on the second tag adjacent to the first tag in the longitudinal direction (i.e., the conveying direction) of the belt 50 is equal to at least a portion of the B data stored in the wireless communication tag 80 provided on the first tag. In other words, the product obtained by multiplying the A data stored in the wireless communication tag 80 on the first tag by the A data stored in the wireless communication tag 80 on the second tag is formed by a digital sequence (first digital sequence). The digital sequence includes at least a portion of the digital sequence (second digital sequence) forming the B data stored in the wireless communication tag 80 on the first tag.

[0087] In addition, the tag 51 includes a third tag adjacent to the first tag on a side opposite to the second tag in the longitudinal direction. At least a portion of the product obtained by multiplying the A data stored in the wireless communication tag 80 on the first tag and the A data stored in the wireless communication tag 80 on the third tag is equal to at least a portion of the B data stored in the wireless communication tag 80 on the third tag. In other words, the product obtained by multiplying the A data stored in the wireless communication tag 80 on the first tag and the A data stored in the wireless communication tag 80 on the third tag is formed by a digital sequence (third digital sequence). The digital sequence includes at least a portion of the digital sequence (fourth digital sequence) forming the B data stored in the wireless communication tag 80 on the third tag.

[0088] Will use Figure 4A and 9 The example shown describes the above rules. Figure 4A In the example, tag 51B is the first tag, tag 51C is the second tag, and tag 51A is the third tag. The wireless communication tags 80B, 80C, and 80A provided on the first to third tags store Fig. 9 120B, 120C and 120A are shown. In this example, the four digits of the A data "0016" in the tag information 120A are respectively identical to the last four digits "0016" (four digits to the right of the decimal point of seconds) of the supplementary data in the tag information 120A. Similarly, the four digits of the A data "1232" in the tag information 120B are respectively identical to the last four digits "1232" of the supplementary data in the tag information 120B, and the four digits of the A data "2448" in the tag information 120C are respectively identical to the last four digits "2448" of the supplementary data in the tag information 120C.

[0089] In addition, the product of the A data "16" in the tag information 120A and the A data "1232" in the tag information 120B is the first product "19712". The last four digits of the first product are the same as the B data "9712" in the tag information 120A. In addition, the product of the A data in the tag information 120B and the A data in the tag information 120C is the second product "3015936". The last four digits of the second product are the same as the B data "5936" in the tag information 120B.

[0090] In the third embodiment, the A data and the B data should be calculated so as to satisfy the above-mentioned rule, and should be written into the corresponding address A area 102 and address B area 103 in the plurality of wireless communication labels 80 provided on the tape 50 when the tape 50 is manufactured. Specifically, the supplementary data should be written into the supplementary information area 104 while the tape 50 is manufactured, and at least a part of the supplementary data (the last four digits in this example) should be written into the address A area 102. Furthermore, at least a part of the product of the A data in any two adjacent wireless communication labels 80 (the last four digits in this example) should be written into the address B area 103 in the wireless communication label 80 provided on the leading end side in the longitudinal direction of the tape 50 (i.e., the downstream side in the conveying direction). Fig. 9 In the example of FIG. 8 , a value “0” is written as an end marker in the address B area 103 of the label information 120Z stored in the last wireless communication label 80 .

[0091] Next, we will refer to Fig.10 The read / write control process according to the third embodiment is described. The signature confirmation process of the third embodiment is similar to that of the first embodiment (see Figure 5 ) is that step S27 is performed instead of step S7. Therefore, in S27, the CPU 71 determines whether the product of the A data in the tag (N-1) and the A data in the tag N is equal to the B data in the tag (N-1). Specifically, the CPU 71 calculates the product of the A data included in the tag information 120 stored in the flash memory 75 for the tag (N-1) and the A data included in the tag information 120 stored in the flash memory 75 for the tag N. Next, the CPU 71 determines whether at least a portion of the calculated product is equal to the B data included in the tag information 120 of the tag (N-1). In other words, the CPU 71 determines whether the B data included in the tag information 120 of the tag (N-1) is identical to a portion of the digital sequence forming the calculated product.

[0092] If the calculated product is equal to the B data in the signature (N-1) (S27: Yes), then in S9, the CPU 71 sets the write permission flag of the signature (N-1) to "1". Here, the expression "the calculated product is equal to the B data in the signature (N-1)" means that at least a portion of the digital sequence forming the calculated product is respectively identical to at least a portion of the B data in the signature (N-1). If the calculated product is not equal to the B data in the signature (N-1) (S27: No), then in S11, the CPU 71 sets the write permission flag of the signature (N-1) to "0". The rest of the signature confirmation processing is the same as that in the first embodiment (see Figure 5 The signature writing process according to the third embodiment is the same as that in the first embodiment (see Figure 6 ). Note that if the end marker "0" is read from the address B area 103 in S3, the CPU 71 may proceed to S15 immediately after setting the write permission flag of the tag (N-1) in S9 or S11.

[0093] Next, we will refer to Figure 4A and Fig. 9A specific example of the read / write control process according to the third embodiment is described. In this example, when the tape 50 is conveyed in the printing operation, the wireless communication reader 16 sequentially reads the label information 120A to 120C from the tags 51A to 51C (wireless communication labels 80A to 80C). At the moment after the label information 120B is read, the variable N stored in the flash memory 75 is "2" (S1: Yes, S3). In this case, the CPU 71 calculates the product of the A data "16" in the label information 120A and the A data "1232" in the label information 120B as "19712". The last four digits of the product are respectively equal to the B data "9712" in the label information 120A (S5: Yes, S27: Yes). Therefore, in S9, the CPU 71 sets the write permission flag of the wireless communication label 80A to "1". Thereafter, as described in the first embodiment, the target information is written to the wireless communication label 80A.

[0094] <Fourth Embodiment>

[0095] Next, we will refer to Fig.11 The belt 50 according to the fourth embodiment is described. The belt 50 according to the fourth embodiment is similar to the belt of the first embodiment (see Figure 4A and 4B ), but differs according to the following points. In the fourth embodiment, the label information 130 stored in each of the wireless communication labels 80A, 80B, and 80C is referred to as label information 130A, 130B, and 130C, respectively. In addition, according to the fourth embodiment, one hundred wireless communication labels 80 are provided on the tape 50. The label information 130 stored in the last wireless communication label 80 will be referred to as label information 130Z.

[0096] Compared with the above embodiment (see Figure 4A and Figure 4B ), when the tape 50 is manufactured according to the fourth embodiment, an RFID writer (not shown) writes various information sequentially into a plurality of wireless communication labels 80, starting from the wireless communication label 80 disposed at the rear end. At this time, ID data is written into the label identification area 101 of the plurality of wireless communication labels 80. The ID data is allocated in ascending order from the rear end to the front end of the tape 50. Valid data for authenticating each wireless communication label 80 is written into the corresponding address A area 102 and address B area 103. Supplementary data is written into the supplementary information area 104. The supplementary data specifies a unique manufacturing date and time (hour, minute, and second accurate to four decimal places) for the wireless communication label 80.

[0097] For example, a value "100" as the maximum ID data is stored in the label identification area 101 of the label 51A (wireless communication label 80A) at the leading end of the tape 50. ID data "99" is stored in the label identification area 101 of the label 51B (wireless communication label 80B), and ID data "98" is stored in the label identification area 101 of the label 51C (wireless communication label 80C). As the ID data in the wireless communication labels 80A, 80B, and 80C become smaller and smaller, the supplementary data stored in the corresponding supplementary information area 104 indicates a later manufacturing date and time. In this example, "0" has been written as an end marker in the address B area 103 of the label information 130Z stored in the last wireless communication label 80.

[0098] In the tape 50 according to the fourth embodiment, the A data and the B data are pre-written in the wireless communication tag 80 (see Fig. 9 4, tag 51B is the first tag, tag 51C is the second tag, and tag 51A is the third tag. In this example, wireless communication labels 80B, 80C, and 80A are provided on the first to third tags to store the wireless communication information. Fig.11 The label information 130B, the label information 130C and the label information 130A are shown. The A data and the B data stored in the label information 130A to 130C follow the same rules as those of the third embodiment (label information 120A to 120C).

[0099] Next, we will refer to Fig.12 The read / write control process according to the fourth embodiment is described. In S31 of the label confirmation process according to the fourth embodiment, as in S1 of the first embodiment, the CPU 71 first determines whether the wireless communication label 80 is identifiable. If the wireless communication label 80 can be identified (S31: Yes), then as described in S3 of the first embodiment, in S33, the CPU 71 reads the label information from the label N.

[0100] In S35, the CPU 71 determines whether the label information 130 of the label (N+1) is stored in the flash memory 75. The label (N+1) represents the wireless communication label 80 having the ID data for the value obtained by adding 1 to the variable N in the flash memory 75 (i.e., N+1). In other words, the label (N+1) represents the wireless communication label 80 read just before the latest label N. Fig.11In the example shown, the tag (N+1) immediately after turning on the power of the printing apparatus 1 corresponds to the wireless communication tag 80 having the ID data "101", and the wireless communication tag 80 having the ID data "101" does not exist on the tape 50 (S35: No). In this case, the CPU 71 returns to S31.

[0101] If the signature information 130 of the tag (N+1) exists in the flash memory 75 (S35: Yes), then in S37, the CPU 71 determines whether the product of the A data in the tag (N+1) and the A data in the tag N is equal to the B data in the tag (N+1). Here, the expression "the product of the A data in the tag (N+1) and the A data in the tag N is equal to the B data in the tag (N+1)" means that at least a part of the digital sequence forming the product of the A data in the tag (N+1) and the A data in the tag N is respectively the same as at least a part of the B data in the tag (N+1). If the calculated product is equal to the B data in the tag (N+1) (S37: Yes), then in S39, the CPU 71 sets the write permission flag of the tag (N+1) to "1" in the flash memory 75. If the calculated product is not equal to the B data of the tag (N+1) (S37: NO), then in S41, the CPU 71 sets the write permission flag of the tag (N+1) to "0" in the flash memory 75. After completing step S39 or S41, the CPU 71 returns to S31.

[0102] When the wireless communication label 80 cannot be recognized (S31: No), in S43, the CPU 71 determines whether the label information 130 of the label N exists in the flash memory 75. If the label information 130 exists for the label N (S43: Yes), in S45, the CPU 71 sets the write permission flag of the label N to "1". After executing the processing in S45, when the label information 130 of the label N does not exist in the flash memory 75 or the variable N is not stored in the flash memory 74 (S43: No), the CPU 71 ends the label confirmation processing.

[0103] The signature writing process according to the fourth embodiment is the same as that in the first embodiment (see Figure 6 ).exist Fig.12 In the illustrated signature confirmation process according to the fourth embodiment, when the end marker "0" is read from the address B area 103 in S33, the CPU 71 may proceed to S45 immediately after setting the write permission flag of the signature (N-1) in S39 or S41.

[0104] Next, we will refer to Figure 4A and Fig.11A specific example of the read / write control process according to the fourth embodiment is described. In this example, when the tape 50 is conveyed in the printing operation, the wireless communication reader 16 sequentially reads the label information 130A to 130C from the tags 51A to 51C (wireless communication labels 80A to 80C). At the moment after the label information 130B is read, the variable N stored in the flash memory 75 is "99" (S31: Yes, S33). In this case, the CPU 71 calculates the product of the A data "16" in the label information 130A and the A data "1232" in the label information 130B as "19712". The last four digits of the product are respectively the same as the B data "9712" in the label information 130A (S35: Yes, S37: Yes). Therefore, in S39, the CPU 71 sets the write permission flag for the wireless communication label 80A to "1". Thereafter, as described in the first embodiment, the target information is written to the wireless communication label 80A.

[0105] <Fifth Embodiment>

[0106] Next, we will refer to Fig.13 The belt 50 according to the fifth embodiment is described. The belt 50 according to the fifth embodiment is different from the belt in the first embodiment (see Figure 4A and Figure 4B ), but differs according to the following points. In the fifth embodiment, the tag information 140 stored in each of the wireless communication tags 80A, 80B, and 80C is referred to as tag information 140A, 140B, and 140C, respectively. In addition, the tag information 140 stored on the fourth wireless communication tag 80 on the upstream side of the wireless communication tag 80C in the conveying direction of the belt 50 is referred to as tag information 140D. Furthermore, according to the fifth embodiment, one hundred wireless communication tags 80 are provided on the belt 50. The tag information 140 stored in the last wireless communication tag 80 is referred to as tag information 140Z.

[0107] In the fifth embodiment, a label recognition area 201, an address A area 202, an address B area 203, an address C area 204, a supplementary information area 205, etc. are provided in the IC chip 81. The label recognition area 201 and the supplementary information area 205 are the same as the label recognition area 101 and the supplementary information area 104 in the previous embodiment. The address A area 202, the address B area 203, and the address C area 204 store data for authenticating the wireless communication label 80. In the following description, the authentication data stored in the address A area 202 will be referred to as A data; the authentication data stored in the address B area 203 will be referred to as B data; and the authentication data stored in the address C area 204 will be referred to as C data. The A data, the B data, and the C data are pre-written in the wireless communication label 80 according to the following rule.

[0108] At least a portion of a product obtained by multiplying the A data stored in the wireless communication tag 80 provided in any arbitrary first tag among the plurality of tags 51 and the A data stored in the wireless communication tag 80 provided in the second tag adjacent to the first tag in the longitudinal direction (i.e., the conveying direction) is equal to at least a portion of the B data stored in the wireless communication tag 80 of the first tag and at least a portion of the C data stored in the wireless communication tag 80 of the second tag. The tag 51 further includes a third tag adjacent to the first tag in the longitudinal direction on a side opposite to the second tag. At least a portion of a product obtained by multiplying the A data stored in the wireless communication tag 80 of the first tag and the A data stored in the wireless communication tag 80 of the third tag is equal to at least a portion of the C data stored in the wireless communication tag 80 of the first tag and at least a portion of the B data stored in the wireless communication tag 80 of the third tag.

[0109] Will use Figure 4A and 13 The example shown describes the above rules. Figure 4A In this case, the tag 51B will be the first tag, the tag 51C will be the second tag, and the tag 51A will be the third tag. In this case, the wireless communication tags 80B, 80C and 80A set on the first to third tags respectively store Fig.13 The tag information 140B, 140C, and 140A are shown. In this case, the product of the A data "40" in the tag information 140B, which is the four digits to the right of the decimal point of the second in the supplementary data stored in the supplementary information area 205 of the same tag information 140B, and the A data "7534" in the tag information 140C, which is the four digits to the right of the decimal point of the second in the supplementary data stored in the supplementary information area 205 of the same tag information 140C, is the first product "301360". The last four digits of the first product are respectively the same as the B data "1360" in the tag information 140B. Furthermore, the product of the A data "40" in the tag information 140B, which is the four digits to the right of the decimal point of the second in the supplementary data stored in the supplementary information area 205 of the same tag information 140B ("0040"), and the A data "2546" in the tag information 140A, which is the four digits to the right of the decimal point of the second in the supplementary data stored in the supplementary information area 205 of the same tag information 140A, is the second product "101840". The last four digits of the second product are respectively the same as the C data "1840" in the tag information 140B.

[0110] Note that the last four digits of the first product are also respectively the same as the C data "1360" in the signature information 140C, and the last four digits of the second product are also respectively the same as the B data "1840" in the signature information 140A. The first product is an example of the first authentication value of the present disclosure, and the second product is an example of the second authentication value of the present disclosure.

[0111] In the fifth embodiment, as in the fourth embodiment described above (see Fig.11 ), when the tape 50 is manufactured, an RFID writer (not shown) sequentially writes various information into a plurality of wireless communication labels 80 starting from the wireless communication label 80 disposed at the rear end of the tape 50. At this time, the A data, the B data, and the C data should be calculated to satisfy the above-mentioned rule, and should be written into the corresponding address A area 202, the address B area 203, and the address C area 204 of the wireless communication label 80 disposed on the tape 50.

[0112] Specifically, the supplementary data should be written in the supplementary information area 205, and at least a part of the supplementary data (the last four digits in this example) should be written as A data in the address A area 202 when the tape 50 is manufactured. Furthermore, at least a part of the first product (the last four digits in this example) obtained by multiplying the A data in two adjacent wireless communication tags 80 should be written as B data in the address B area 203 in the wireless communication tag 80 at the leading end side in the longitudinal direction of the tape 50 (the downstream side in the conveying direction). Similarly, at least a part of the second product (the last four digits in this example) obtained by multiplying the A data in two adjacent wireless communication tags 80 should be written as C data in the address C area 204 in the wireless communication tag 80 at the trailing end side in the conveying direction of the tape 50 (the upstream side in the conveying direction).

[0113] Note that when the tag 51 at the rear end is the first tag, the second tag will not exist because no tag 51 exists further upstream of the first tag in the conveying direction. In this case, since no A data is stored in the wireless communication tag 80 of the second tag, the first product cannot be calculated. In other words, the B data to be written to the wireless communication tag 80 of the first tag cannot be calculated. Therefore, in this example, the value "0" is written as an end marker to the address B area 203 of the tag information 140Z stored in the last wireless communication tag 80.

[0114] In addition, when the label 51A at the leading end of the tape 50 is the first label, there is no third label because there is no label 51 further downstream of the first label in the conveying direction. In this case, since no A data is stored in the wireless communication tag 80 of the third label, the second product cannot be calculated. In other words, the C data of the wireless communication tag 80 to be written on the first label cannot be calculated. Therefore, in this example, the value "0" is written as a start mark in the address C area 204 of the label information 140A stored in the first wireless communication tag 80.

[0115] Next, we will refer to Figures 14 to 16 The read / write control process according to the fifth embodiment is described. In S51 of the label confirmation process according to the fifth embodiment, as in S31 of the fourth embodiment, the CPU 71 first determines whether the wireless communication label 80 is identifiable. If the wireless communication label 80 can be identified (S51: Yes), then as described in S33 of the fourth embodiment, in S53, the CPU 71 reads the label information 140 from the label N.

[0116] In S55, the CPU 71 determines whether the label information 140 of the label (N+1) and the label (N+2) is stored in the flash memory 75. The label (N+2) indicates the wireless communication label 80 having the ID data for the value obtained by adding 2 (i.e., N+2) to the variable N in the flash memory 75. In other words, the label (N+2) indicates the wireless communication label 80 read twice before the latest label N. If the label information 140 does not exist for both the label (N+1) and the label (N+2) (S55: No), the CPU 71 proceeds to S83. The label (N+2) will be described later. Fig.16 The processing in S83 to S93 shown in .

[0117] If the tag information 140 for the tag (N+1) and the tag (N+2) does exist in the flash memory 75, then in S57, the CPU 71 calculates the first product X1 by multiplying the A data in the tag N by the A data in the tag (N+1). In S59, the CPU 71 calculates the second product X2 by multiplying the A data in the tag (N+1) by the A data in the tag (N+2). In S61, the CPU 71 determines whether the first product X1 is equal to the B data in the tag (N+1) and whether the second product X2 is equal to the C data in the tag (N+1).

[0118] Here, the expression "the first product X1 is equal to the B data in the signature (N+1)" means that at least a portion of the digital sequence forming the first product X1 is respectively identical to at least a portion of the B data in the signature (N+1), and the expression "the second product X2 is equal to the C data in the signature (N+1)" means that at least a portion of the digital sequence forming the second product X2 is respectively identical to at least a portion of the C data in the signature (N+1). More specifically, in S71, when the last four digits of the first product X1 completely match the B data in the signature (N+1), the CPU 71 determines that the first product X1 is equal to the B data in the signature (N+1), and when the last four digits of the second product X2 completely match the C data in the signature (N+1), the CPU 71 determines that the second product X2 is equal to the C data in the signature (N+1).

[0119] When the CPU 71 determines that the first product X1 is equal to the B data in the tag (N+1) and the second product X2 is equal to the C data in the tag (N+1) (S61: Yes), in S63, the CPU 71 sets the write permission flag of the tag (N+1) to "1" in the flash memory 75. However, if the first product X1 is not equal to the B data in the tag (N+1), or if the second product X2 is not equal to the C data in the tag (N+1) (S61: No), in S65, the CPU 71 sets the write permission flag of the tag (N+1) to "0" in the flash memory 75. After completing step S63 or S65, the CPU 71 returns to S51. Each time the processing in the above steps S55 to S65 is performed, the write permission flag is stored in the flash memory 75 for the wireless communication tag 80 read just before the latest tag N, that is, the wireless communication tag 80 as the tag (N+1).

[0120] If the tag information 140 does not exist for both the tag (N+1) and the tag (N+2) (S55: No), then in S83, the CPU 71 determines whether the tag information of the tag (N+1) exists. If the tag information 140 of the tag (N+1) exists (S83: Yes), the tag (N+1) whose tag information 140 is read last is considered to be the wireless communication tag 80 set at the leading end of the tape 50. Therefore, in S85, the CPU 71 determines whether the C data in the tag (N+1) is "0". Specifically, the CPU 71 determines whether "0" is stored in the address C area 204 of the tag information 140 of the tag (N+1) stored in the flash memory 75. If the C data of the tag (N+1) is "0" (S85: Yes), then in S87, the CPU 71 calculates the first product X1 as described in S57. In other words, the CPU 71 calculates the first product X1 by multiplying the A data in the label N and the A data in the label (N+1).

[0121] In S89, the CPU 71 determines whether the first product X1 is equal to the B data in the tag (N+1). If the first product X1 is equal to the B data of the tag (N+1) (S89: Yes), the tag (N+1) is considered to be a valid wireless communication tag 80. In S91, the CPU 71 sets the write permission flag of the tag (N+1) to "1" in the flash memory 75. However, if the C data in the tag (N+1) is not "0" (S85: No), or if the first product X1 is not equal to the B data in the tag (N+1) (S89: No), the tag (N+1) may not be a valid wireless communication tag 80. Therefore, in S93, the CPU 71 sets the write permission flag of the tag (N+1) to "0" in the flash memory 75. After completing step S91 or S93, or if the signature information 140 of the signature (N+1) does not exist (S83: NO), the CPU 71 returns to S51.

[0122] On the other hand, if the wireless communication tag 80 cannot be recognized (S51: No), then in S71, the CPU 71 determines whether the tag information 140 of tag N exists. If the tag information 140 of tag N exists (S71: Yes), the tag N whose tag information 140 is read last is considered to be the wireless communication tag 80 set at the rear end of the tape 50. Therefore, in S73, the CPU 71 determines whether the B data in the tag N is "0". Specifically, the CPU 71 determines whether "0" is stored in the address B area 203 of the tag information 140 stored in the flash memory 75 for the tag N. If the B data of the tag N is "0" (S73: Yes), then in S75, the CPU 71 calculates the first product X1 as described in S57. In other words, the CPU 71 calculates the first product X1 by multiplying the A data in the tag N and the A data in the tag (N+1).

[0123] In S77, the CPU 71 determines whether the first product X1 is equal to the C data in the tag N. If the first product X1 is equal to the C data of the tag N (S77: Yes), the tag N is considered to be a valid wireless communication tag 80. In S79, the CPU 71 sets the write permission flag of the tag N to "1" in the flash memory 75. However, if the B data in the tag N is not "0" (S73: No), or if the first product X1 is not equal to the C data in the tag N (S77: No), the tag N may not be a valid wireless communication tag 80. Therefore, in S81, the CPU 71 sets the write permission flag of the tag N to "0" in the flash memory 75. After completing step S79 or S81, or if there is no tag information 140 of the tag N (S71: No), the CPU 71 ends the tag confirmation process.

[0124] Next, we will refer to Figure 4A and Fig.13 A specific example of the read / write control process according to the fifth embodiment is described. In this example, when the tape 50 is conveyed in the printing operation, the wireless communication reader 16 sequentially reads the label information 140A to 140C from the tags 51A to 51C (wireless communication labels 80A to 80C). At the moment after the label information 140B is read, the variable N stored in the flash memory 75 is "99" (S51: Yes, S53).

[0125] In this case, the label information 140A is stored (S55: No, S83: Yes), and in S87, a value "101840" is calculated as the first product X1 by multiplying the A data "2546" in the label information 140A by the A data "40" in the label information 140B. Since the last four digits of the first product X1 are equal to the B data "1840" in the label information 140A (S89: Yes), in S91, the CPU 71 sets the write permission flag of the wireless communication label 80A to "1". Thereafter, as described in the first embodiment, the target information is written to the wireless communication label 80A.

[0126] At the time after the label information 140C is read, the variable N stored in the flash memory 75 is "98" (S51: Yes, S53).

[0127] In this case, in S57, a value of "301360" is calculated as a first product X1 by multiplying the A data "40" in the tag information 140B by the A data "7534" in the tag information 140C. In S59, a value of "101840" is calculated as a second product X2 by multiplying the A data "40" in the tag information 140B by the A data "2546" in the tag information 140A. Since the last four digits of the first product X1 are equal to the B data "1360" in the tag information 140B, and the last four digits of the second product X2 are equal to the C data "1840" in the tag information 140B (S61: Yes), in S63, the CPU 71 sets the write permission flag of the wireless communication tag 80B to "1". Thereafter, as described in the first embodiment, the target information is written to the wireless communication tag 80B.

[0128] <Reference>

[0129] The printing device 1 according to the above-described embodiment is provided with a tape feed motor 23, a thermal head 10, a wireless communication reader 16, a wireless communication writer 18, and a CPU 71. The tape feed motor 23 feeds a tape 50 along its longitudinal direction. The tape 50 has a plurality of tags 51 arranged along its longitudinal direction. Each tag 51 is provided with a wireless communication label 80 which stores at least authentication data (e.g., A data, B data, and C data). The thermal head 10 prints on the tag 51 of the tape 50 fed by the tape feed motor 23. The wireless communication reader 16 reads information from the wireless communication label 80 provided in the tag 51 of the tape 50.

[0130] The CPU 71 controls the wireless communication reader 16 to read the first authentication data and the second authentication data ( Figure 5 , 8 and S3 of 10, Fig.12 S33, Fig.14 The first authentication data is stored in the wireless communication label 80 provided on the first tag, and the second authentication data is stored in the wireless communication label 80 provided on the second tag. The CPU 71 determines whether the first authentication data and the second authentication data read by the wireless communication reader 16 satisfy the authentication condition ( Figure 5 S7, Figure 8 S17, Fig.10 S27, Fig.12 S37, Fig.14 The authentication condition is a predetermined relationship between the first authentication data and the second authentication data.

[0131] Through this process, the printing device 1 determines whether the wireless communication label 80 of the first label is valid using the first authentication data in the wireless communication label 80 of the first label and the second authentication data in the wireless communication label 80 of the second label. In other words, the printing device 1 can reliably determine whether the wireless communication label 80 of the first label is valid not only by using the authentication of the wireless communication label 80 on the first label, but also by using the authentication of the wireless communication label 80 on both labels (the first label and the second label). Therefore, the printing device 1 can suppress unauthorized writing of information to the wireless communication label 80 set on the tape 50.

[0132] The wireless communication writer 18 writes information into the wireless communication label 80 provided on the tag 51 on the tape 50 fed by the tape feed motor 23. When determining that the authentication condition has been satisfied, the CPU 71 allows the wireless communication writer 18 to write information into the first tag ( Figure 5 , 8 and S9 from 10, Fig.12 S39, Fig.14In this way, the printing apparatus 1 can suppress unauthorized writing of information to the invalid wireless communication tag 80.

[0133] The second label is adjacent to the first label in the longitudinal direction of the tape 50. Therefore, by performing authentication using the wireless communication labels 80 on two adjacent labels (the first label and the second label), the printing device 1 can quickly determine whether the wireless communication label 80 on the first label is valid.

[0134] In the first embodiment, when the first authentication data (B data in label (N-1)) and the second authentication data (data in label N) read by the wireless communication reader 16 are the same data ( Figure 5 When S7 is executed, the CPU 71 determines that the authentication condition has been satisfied.

[0135] In the second embodiment, when the calculated value is equal to the specified key value ( Figure 8 The CPU 71 determines that the authentication condition has been satisfied. The calculated value is found by applying the first authentication data (B data in the label (N-1)) and the second authentication data (A data in the label N) read by the wireless communication reader 16 to a prescribed formula (addition expression). Specifically, the CPU 71 determines whether the calculated value is the key value using the key value (prescribed value) pre-stored in the ROM 72 of the printing device 1 (S17).

[0136] In the third embodiment, when the calculated value is equal to the specified key value ( Fig.10 In S17 of the present invention, the CPU 71 determines that the authentication condition has been satisfied. Here, the calculated value is found by applying the first authentication data (A data in label (N-1)) and the second authentication data (A data in label N) read by the wireless communication reader 16 to a prescribed formula (multiplication expression). In S3, the CPU 71 controls the wireless communication reader 16 to read the key value (B data in label (N-1)) stored in the wireless communication label 80 set on the first tag. In S27, the CPU 71 uses the key value read in S3 to determine whether the calculated value is the key value.

[0137] In the fourth embodiment, when the calculated value is equal to the specified key value ( Fig.12In S37 of the present invention, the CPU 71 determines that the authentication condition has been satisfied. Here, the calculated value is found by applying the first authentication data (data in the label (N+1)) and the second authentication data (data in the label N) read by the wireless communication reader 16 to a prescribed formula (multiplication expression). In S33, the CPU 71 controls the wireless communication reader 16 to read the key value (B data in the label (N+1)) stored in the wireless communication label 80 set on the first tag. In S37, the CPU 71 uses the key value read in S35 to determine whether the calculated value is the key value.

[0138] In the fifth embodiment, Fig.14 In S53 of the present invention, the CPU 71 controls the wireless communication reader 16 to read the first authentication data (A data in label (N+1)), the second authentication data (A data in label N), and the third authentication data (A data in label N+2). The third authentication data is data stored in the wireless communication label 80 provided on the third label, which is adjacent to the first label on the side opposite to the second label in the longitudinal direction of the tape 50. In S61, the CPU 71 determines whether the first authentication data and the second authentication data read by the wireless communication reader 16 satisfy the first authentication condition and whether the first authentication data and the third authentication data read by the wireless communication reader 16 satisfy the second authentication condition. When both the first authentication condition and the second authentication condition are satisfied, in S63, the CPU 71 allows the wireless communication writer 18 to write information to the first label.

[0139] For example, when the first calculated value (first product X1) is equal to the prescribed first key value, the CPU 71 determines that the first authentication condition is satisfied (S57, S61). The first calculated value is found by applying the first authentication data and the second authentication data read by the wireless communication reader 16 to the prescribed formula (multiplication expression). When the second calculated value (second product X2) is equal to the prescribed second key value, the CPU 71 determines that the second authentication condition is satisfied (S57, S61). The second calculated value is found by applying the first authentication data and the third authentication data read by the wireless communication reader 16 to the prescribed formula (multiplication expression).

[0140] For example, in Fig.14In S53, the CPU 71 controls the wireless communication reader 16 to read the first key value (B data in the label (N+1)) stored in the wireless communication label 80 set on the first tag. In S61, the CPU 71 uses the first key value read in S53 to determine whether the first calculated value is the first key value. Also in S53, the CPU 71 controls the wireless communication reader 16 to read the second key value (C data in the label (N+1)) stored in the wireless communication label 80 set on the first tag. In S61, the CPU 71 uses the second key value read in S53 to determine whether the second calculated value is the second key value.

[0141] In the above-described embodiment, the wireless communication tag 80 is an example of a storage element of the present disclosure. The tape feed motor 23 is an example of a supply portion of the present disclosure. The thermal head 10 is an example of a printing portion of the present disclosure. The wireless communication reader 16 is an example of a reading portion of the present disclosure. The wireless communication writer 18 is an example of a writing portion of the present disclosure. The CPU 71 is an example of a controller of the present disclosure. The ROM 52 is an example of a memory of the present disclosure. Although it has been described in detail with reference to a specific embodiment, it is obvious to those skilled in the art that various changes and modifications may be made thereto.

[0142] For example, any combination of the first to fifth embodiments may be implemented. The wireless communication tag 80 may also be a storage element using a wireless communication system different from that of the RFID tag. The wireless communication reader 16 and the wireless communication writer 18 may be a reader and a writer using a wireless communication system different from that of the RFID tag. The above embodiment describes the case where one wireless communication tag 80 is provided on each tag 51, but a plurality of wireless communication tags 80 may be provided on a single tag 51. The tag 51 is also not limited to a fixed length tag, but may be a variable length.

[0143] In the above-described first and second embodiments, the combinations of A data and B data stored in the plurality of wireless communication tags 80 are preferably all different from each other. In this case, the CPU 71 may combine Figure 5 Step S7 and Figure 8 The determination in step S17 of step S14 determines whether the A data in the tag (N-1) is different from the A data in the tag N. If the A data in the tag (N-1) is the same as the A data in the tag N, the wireless communication tag 80 may be invalid. Therefore, in step S11, the CPU 71 may set the write permission flag of the tag (N-1) stored in the flash memory 75 to "0".

[0144] In the third to fifth embodiments described above, the authentication data "0" is used as an end mark or a start mark. All other authentication data are preferably set to a value other than "0". Therefore, in the third to fifth embodiments described above, the four decimal digits of the seconds in the manufacturing time (which are unlikely to be "0" in reality) are set as A data, which is the basis for calculating all authentication data. Note that if the four decimal digits of the seconds in the manufacturing time are "0000", the A data may be set to a value obtained by adding a prescribed value (e.g., "1") to this value.

[0145] In S109 of the label writing process (see Figure 6 ), the above embodiment describes the case where the A data and the B data are modified by adding a prescribed value to each of the A data and the B data. However, as long as the A data and the B data are modified, the prescribed value added to the A data and the B data in S109 is arbitrary. In addition, the A data and the B data may be modified by an arithmetic operation other than addition. Note that when a specific value ("0" in the above embodiment) has a function such as an end mark or a start mark, it is preferred that the A data and the B data are modified in S109 by an arithmetic operation that does not change the A data and the B data to the specific value.

Claims

1. A printing device, characterized in that: include: a supply portion configured to convey the tape in a longitudinal direction of the tape, the tape comprising: a plurality of labels arranged continuously in the longitudinal direction, the plurality of labels comprising a first label and a second label; and a plurality of storage elements disposed on corresponding labels among the plurality of labels, each of the plurality of storage elements configured to store at least authentication data, the plurality of storage elements comprising a first storage element disposed on the first label and a second storage element disposed on the second label, the first storage element configured to store first authentication data, and the second storage element configured to store second authentication data; a printing portion configured to print on the plurality of labels; a reading section configured to read the authentication data from each of the plurality of storage elements; a writing section configured to write information to each of the plurality of storage elements; and A controller configured to perform: (a) reading the first authentication data from the first storage element and reading the second authentication data from the second storage element by the reading section; (b) determining whether the first authentication data is correlated with the second authentication data to satisfy an authentication condition; and (c) in response to determining that the authentication condition is satisfied, allowing the writing section to write information to the first storage element, and in the event that it is determined that the authentication condition is not satisfied, not allowing the writing section to write information to the first storage element.

2. The printing device according to claim 1, characterized in that: in, The second label is adjacent to the first label in the longitudinal direction.

3. The printing device according to claim 1 or 2, characterized in that: in, In (b) determination, the authentication condition requires that the first authentication data is equal to the second authentication data.

4. The printing device according to claim 1 or 2, characterized in that: in, (b) determine whether: (b1) calculating an authentication value by applying the first authentication data and the second authentication data to a prescribed formula; and (b2) Determine whether the authentication value is equal to a specified key value.

5. The printing device according to claim 4, characterized in that: Further including: a memory configured to store the specified key value in advance, Wherein, in (b2) determination, the controller determines whether the authentication value is equal to the prescribed key value stored in the memory.

6. The printing device according to claim 4, characterized in that: in, (b) determine further including: (b3) reading the prescribed key value stored in the first storage element by the reading section, and Wherein, in (b2) determination, the controller determines whether the authentication value is equal to the prescribed key value read from the first storage element.

7. The printing device according to claim 1, characterized in that: in, the plurality of tags further include a third tag adjacent to the first tag on an opposite side of the second tag in the longitudinal direction, and the plurality of storage elements include a third storage element disposed on the third tag and configured to store third authentication data, wherein, in (a) reading, the controller further reads the third authentication data from the third storage element through the reading section, wherein, in (b), the controller determines whether the first authentication data is associated with the second authentication data to satisfy a first authentication condition, and whether the first authentication data is associated with the third authentication data to satisfy a second authentication condition, and Wherein, in (c) allowing, in response to determining that both the first authentication condition and the second authentication condition are satisfied, the controller allows the writing section to write information to the first storage element.

8. The printing device according to claim 7, characterized in that: in, (b) determine whether: (b4) calculating a first authentication value by applying the first authentication data and the second authentication data to a first formula; (b5) determining whether the first authentication value is equal to the first key value; (b6) calculating a second authentication value by applying the first authentication data and the third authentication data to a second formula; and (b7) Determine whether the second authentication value is equal to the second key value.

9. The printing device according to claim 8, characterized in that: in, (b) determine further including: (b8) reading the first key value and the second key value stored in the first storage element by the reading section, and Wherein, in (b5) determination, the controller determines whether the first authentication value is equal to the first key value read from the first storage element, and in (b7) determination, the controller determines whether the second authentication value is equal to the second key value read from the first storage element.

10. A belt, characterized in that include: a plurality of labels, the plurality of labels are arranged continuously in a longitudinal direction, the plurality of labels include a first label and a second label adjacent to the first label in the longitudinal direction; and a plurality of storage elements, the plurality of storage elements being arranged on corresponding tags among the plurality of tags, each of the plurality of storage elements being provided with a first storage area and a second storage area, the first storage area being configured to pre-store first data, the second storage area being configured to pre-store second data, the plurality of storage elements comprising a first storage element arranged on the first tag and a second storage element arranged on the second tag, The second data stored in the first storage element is equal to the first data stored in the second storage element.

11. The belt according to claim 10, characterized in that in, The plurality of labels further include a third label adjacent to the first label on an opposite side of the second label in the longitudinal direction, and the plurality of storage elements include a third storage element disposed on the third label, and The first data stored in the first storage element is equal to the second data stored in the third storage element.

12. A belt, characterized in that include: a plurality of labels, the plurality of labels are arranged continuously in a longitudinal direction, the plurality of labels include a first label, a second label and a third label, the second label is adjacent to the first label in the longitudinal direction, the third label is adjacent to the first label on an opposite side of the second label in the longitudinal direction; and a plurality of storage elements, wherein the plurality of storage elements are arranged on corresponding tags among the plurality of tags, each of the plurality of storage elements is provided with a first storage area and a second storage area, the first storage area is configured to pre-store first data, the second storage area is configured to pre-store second data, the plurality of storage elements include a first storage element, a second storage element and a third storage element, the first storage element is arranged on the first tag, the second storage element is arranged on the second tag, and the third storage element is arranged on the third tag, wherein a first digital sequence forms a first total value of the second data stored in the first storage element and the first data stored in the second storage element, and a second digital sequence forms a second total value of the first data stored in the first storage element and the second data stored in the third storage element, and at least a portion of the first digital sequence is identical to at least a portion of the second digital sequence.

13. A belt, characterized in that include: a plurality of labels, the plurality of labels are arranged continuously in a longitudinal direction, the plurality of labels include a first label and a second label adjacent to the first label in the longitudinal direction; and a plurality of storage elements, the plurality of storage elements being arranged on corresponding tags among the plurality of tags, each of the plurality of storage elements being provided with a first storage area and a second storage area, the first storage area being configured to pre-store authentication data, the second storage area being configured to pre-store a first key value, the plurality of storage elements comprising a first storage element arranged on the first tag and a second storage element arranged on the second tag, wherein a first digital sequence forms a first authentication value obtained by multiplying the authentication data stored in the first storage element by the authentication data stored in the second storage element, and a second digital sequence forms the first key value stored in the second storage element, and at least a portion of the first digital sequence includes at least a portion of the second digital sequence.

14. The belt according to claim 13, characterized in that in, The plurality of labels further include a third label adjacent to the first label on an opposite side of the second label in the longitudinal direction, and the plurality of storage elements include a third storage element disposed on the third label, Each of the plurality of storage elements is provided with a third storage area, the third storage area being configured to pre-store a second key value, and wherein the third digital sequence forms a second authentication value obtained by multiplying the authentication data stored in the first storage element by the authentication data stored in the third storage element, and the fourth digital sequence forms the second key value stored in the third storage element, and at least a portion of the third digital sequence includes at least a portion of the fourth digital sequence.