WO2019159399A1 - Two-dimensional code generation method, two-dimensional code generation system, two-dimensional code evaluation method, two-dimensional code evaluation system, and two-dimensional code management system - Google Patents

Two-dimensional code generation method, two-dimensional code generation system, two-dimensional code evaluation method, two-dimensional code evaluation system, and two-dimensional code management system Download PDF

Info

Publication number
WO2019159399A1
WO2019159399A1 PCT/JP2018/031959 JP2018031959W WO2019159399A1 WO 2019159399 A1 WO2019159399 A1 WO 2019159399A1 JP 2018031959 W JP2018031959 W JP 2018031959W WO 2019159399 A1 WO2019159399 A1 WO 2019159399A1
Authority
WO
WIPO (PCT)
Prior art keywords
code
dimensional
information
codes
code word
Prior art date
Application number
PCT/JP2018/031959
Other languages
French (fr)
Japanese (ja)
Inventor
傳生 西▲崎▼
Original Assignee
株式会社トッパンTdkレーベル
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社トッパンTdkレーベル filed Critical 株式会社トッパンTdkレーベル
Publication of WO2019159399A1 publication Critical patent/WO2019159399A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K1/00Methods or arrangements for marking the record carrier in digital fashion
    • G06K1/12Methods or arrangements for marking the record carrier in digital fashion otherwise than by punching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code

Definitions

  • the present invention relates to a two-dimensional code generation method, a two-dimensional code generation system, a two-dimensional code evaluation method, a two-dimensional code evaluation system, and a two-dimensional code management system.
  • the related two-dimensional code is a two-dimensional code in which another related two-dimensional code associated with the related two-dimensional code exists.
  • QR code having a structural connection relationship defined in Chapter 9 of the JIS standard (also called a structural connection QR code).
  • a technique using a code has also been proposed (see, for example, Patent Document 1).
  • the present invention has been made in view of the problems as described above, and its main purpose is to ensure the authenticity when managing an object with a two-dimensional code, and to provide a technology related to a related two-dimensional code. It is to use and implement appropriately.
  • FIG. 4 is an explanatory diagram of a QR code symbol 1;
  • FIG. 2 is a block diagram of an extension encoder 10.
  • FIG. It is a schematic diagram of RS block of related QR code (extended related QR code) according to the present embodiment. It is the figure which showed an example of the related code information.
  • 5A and 5B are diagrams showing other examples of related code information.
  • It is a flowchart of a QR code symbol generation method. It is explanatory drawing of RS block of a related QR code. It is explanatory drawing of the secret datacode word of a related QR code. It is explanatory drawing when a part of RS block is replaced.
  • 3 is a block diagram of an extension decoder 20.
  • FIG. It is a flowchart of a related QR code evaluation method.
  • a two-dimensional code generation method for generating a plurality of related two-dimensional codes associated with each other, Obtaining a private data code word, obtaining a pre-replacement code block having a public data code word and an error correction code word, and replacing the private data code word with a part of the pre-replacement code block by the private data code word
  • Each of the plurality of related two-dimensional codes is obtained by performing a generation step of obtaining a replacement code block in which the data code word is concealed and generating a related two-dimensional code based on the replacement data block.
  • a two-dimensional code generation method characterized by including.
  • a two-dimensional code generation system that generates a plurality of related two-dimensional codes associated with each other, Obtaining a private data code word, obtaining a pre-replacement code block having a public data code word and an error correction code word, and replacing the private data code word with a part of the pre-replacement code block by the private data code word
  • Each of the plurality of related two-dimensional codes is obtained by executing a generation step of obtaining a replacement code block in which a data code word is concealed and generating the related two-dimensional code based on the replacement data block.
  • a two-dimensional code evaluation method that reads a plurality of related two-dimensional codes generated by the two-dimensional code generation method and evaluates that the plurality of related two-dimensional codes are associated with each other. Obtaining the replaced data block from the related two-dimensional code, extracting the secret data code word from the replaced data block, and extracting related code information from the secret data code word; A fetching step to be executed for each of the read related two-dimensional codes; An evaluation step for evaluating that the plurality of related two-dimensional codes are associated with each other based on the related code information acquired from each of the plurality of related two-dimensional codes. Dimension code evaluation method.
  • the related code information is: Identification information indicating whether or not the two-dimensional code is a related two-dimensional code; Chain number information indicating the chain number of a plurality of related two-dimensional codes associated with each other; Order number information indicating which number of related two-dimensional codes among the related two-dimensional codes corresponding to the number of chains the related two-dimensional code comprising the related code information;
  • the related two-dimensional code comprising the related code information has index information for determining whether or not the related two-dimensional code is associated with another related two-dimensional code having a different rank number,
  • the evaluation step Based on the identification information, each of the two-dimensional codes is confirmed to be a related two-dimensional code, and based on the chain number information and the sequence number information acquired from each of the plurality of related two-dimensional codes.
  • the different rank numbers corresponding to the number of chains are aligned, and based on the index information, it is confirmed that the related two-dimensional codes corresponding to the number of chains having the different rank numbers are associated with each other.
  • the plurality of related two-dimensional codes may be evaluated as being associated with each other.
  • a display step of displaying that the plurality of related two-dimensional codes are associated with each other may be included.
  • an operator of the two-dimensional code evaluation system evaluates (confirms) that a plurality of related two-dimensional codes are associated with each other, and ensures the authenticity of the management target by the related two-dimensional code.
  • (Authenticated) can be known by displaying public information, and additional information embedded in each of a plurality of related two-dimensional codes can be collected by an operator of the two-dimensional code evaluation system. Can be presented.
  • a private information extraction process for extracting private information from the private data code word is executed for each of the read related two-dimensional codes.
  • each of the non-public information may be displayed.
  • each of the public information may be displayed in the order of the order numbers, and each of the non-public information may be displayed in the order of the order numbers.
  • a two-dimensional code generation system to include, A two-dimensional code evaluation system that reads a plurality of related two-dimensional codes generated by the two-dimensional code generation system and evaluates that the plurality of related two-dimensional codes are associated with each other.
  • QR code as an example of a two-dimensional code used in the present embodiment will be described. If there is no notice in the following description, it conforms to Japanese Industrial Standards JIS X 0510: 2004 “Two-dimensional code symbol—QR code” (hereinafter sometimes simply referred to as “JIS standard”).
  • JIS standard Japanese Industrial Standards JIS X 0510: 2004 “Two-dimensional code symbol—QR code” (hereinafter sometimes simply referred to as “JIS standard”).
  • JIS standard Japanese Industrial Standards JIS X 0510: 2004 “Two-dimensional code symbol—QR code”
  • An encoder that conforms to the JIS standard is referred to as a standard encoder
  • a decoder that conforms to the JIS standard is referred to as a standard decoder.
  • An encoder that can handle a private data code word (private information) that is made private (hidden) is called an extended encoder 10 (corresponding to a two-dimensional code generation system), and a decoder is an extended decoder 20 ( Equivalent to a two-dimensional code evaluation system).
  • the extension encoder 10 and the extension decoder 20 constitute an extension management system (corresponding to a two-dimensional code management system).
  • the QR code used here is premised on a two-dimensional code capable of recording public information and non-public information (such a QR code may be referred to as an extended QR code).
  • the public information is information that can be read by a JIS standard decoder (standard decoder).
  • the non-public information is information that cannot be read by the standard decoder and can be extracted by the extended decoder 20 described later.
  • the “code word” is described as having an 8-bit length. However, depending on the system, the “code word” may be a 16-bit length, or may have another length such as a 1-bit length. You can also.
  • FIG. 1 is an explanatory diagram of the QR code symbol 1.
  • QR code symbol 1 (hereinafter, sometimes simply referred to as “QR code”) is available in various sizes from type 1 to type 40.
  • model number “2” is taken as an example for each function. Will be described.
  • QR code symbol 1 has a function pattern and a coding area.
  • the function pattern is a pattern necessary for searching a QR code symbol position and identifying a characteristic necessary for assisting decoding in a QR code module.
  • the encoding area is an area where necessary information is written.
  • the function pattern includes a position detection pattern FP, a separation pattern SP, a timing pattern TP, an alignment pattern AP, and a quiet zone QZ.
  • the position detection pattern FP is a pattern arranged at at least three corners of the QR code. At the time of reading, by identifying the three position detection patterns FP, the direction and position of the QR code symbol 1 can be correctly recognized.
  • the separation pattern SP is a light module having a width of 1 module arranged around the position detection pattern FP. As a result, the position detection pattern FP can be distinguished from the QR code symbol 1.
  • Module M is a unit cell constituting QR code symbol 1. In principle, one bit corresponds to one module.
  • a group of a plurality of modules M, which are unit cells constituting the QR code, is referred to as a module group.
  • the timing pattern TP is a pattern in which dark modules and bright modules are alternately arranged in a straight line one module at a time. Since the number of modules of the QR code symbol 1 can be recognized by the timing pattern TP, it is possible to identify the QR code model number.
  • the alignment pattern AP is a pattern arranged at a position determined by the QR code model number.
  • the alignment pattern AP serves to assist the search for the position of the QR code symbol 1 in the case of a large module.
  • the quiet zone QZ is a bright module area of at least 4 modules wide provided around the QR code.
  • the data and error correction code words are arranged as error correction code words for error correction when actual data and data cannot be read.
  • the format information has information on the error correction level applied to the QR code symbol 1 and the standard mask pattern to be used, and is a coding pattern necessary for decoding the coding region.
  • FIG. 2 is a block diagram of the extension encoder 10.
  • the extension encoder 10 is a device that converts not only public information but also information including non-public information into a QR code symbol 1.
  • the extension encoder 10 includes a control unit 11, a display device 13, a printing device 14, and an input device 15.
  • the control unit 11 includes a calculation unit 11a and a storage unit 11b.
  • the calculation unit 11a includes a central processing unit and the like, and is responsible for executing programs and various calculations.
  • the storage unit 11b is responsible for storing necessary data when executing the program. In particular, the storage unit 11b stores programs for executing various processes.
  • the display device 13 has a display function necessary for data input and the like.
  • the display device 13 displays the generated QR code symbol 1 on a display.
  • the printing device 14 also displays the generated QR code symbol 1 on a paper medium or the like by printing.
  • the input device 15 is used for data input and operation of the extension encoder 10.
  • a related two-dimensional code (because it is a related two-dimensional code of a QR code, hereinafter referred to as a related QR code) is used.
  • the related QR code is a QR code in which there is another related QR code associated with the related QR code. That is, a normal QR code is independent by itself and independent of other QR codes, but related QR codes are associated with other related QR codes, and these related QR codes are linked to each other. doing.
  • a QR code having a structural connection relationship defined in Chapter 9 of the JIS standard (also referred to as a structural connection QR code) can be given.
  • the structurally concatenated QR code is a code that is incorporated so that it is possible to determine that its own code information is a partial code divided in association with each other based on certain code information. That is, by using this, a large code can be divided into a plurality of related small codes, and the plurality of divided small codes become related QR codes.
  • the related two-dimensional code handled in this specification is not such a structurally connected QR code of the JIS standard.
  • the structurally connected QR code of the JIS standard is also referred to as a standard related QR code
  • the related two-dimensional code handled in this paper is also referred to as an extended related QR code.
  • the differences between the standard-related QR code and the extended QR code are as follows. That is, in the standard related QR code, related code information for defining that a plurality of related QR codes are associated with each other (defined in Chapter 8.3.7 of the JIS standard, and in Section 9.1). (The structural connection header described) is not concealed. Therefore, when the related QR code is read by the standard decoder, the standard decoder indicates that the QR code is the related QR code (structural connection QR code). Can be grasped.
  • the extended related QR code since the related code information is included in the private data code word (that is, the related code information is concealed), when the related QR code is read by the standard decoder The standard decoder cannot recognize that the QR code is a related QR code (in other words, it is recognized as a normal QR code). Then, it can be recognized for the first time that the QR code is a related QR code by reading it with the extension decoder 20 that can handle the private data code word (private information).
  • FIG. 3 is a schematic diagram of an RS block of a related QR code (extended related QR code) according to the present embodiment.
  • an outline of the data format of the extended related QR code and a method of embedding private data code words (private information and related code information) will be described with reference to FIG.
  • FIG. 3 shows an RS (Reed-Solomon) block as an error correction processing unit.
  • the QR code symbol 1 includes one or a plurality of RS blocks.
  • the RS block is used as one error correction processing unit.
  • RS block is described as an example of a processing unit block for error detection and correction calculation.
  • the pre-replacement RS block (corresponding to the pre-replacement code block. Later, a post-replacement RS block will appear, so here it is distinguished from the post-replacement RS block as the pre-replacement RS block).
  • the pre-replacement RS block includes an RS (Reed-Solomon) code as a correction code word.
  • the information body is information that can be decoded when the QR code symbol 1 is read even by a standard decoder.
  • the end code is a code representing the end of the information body.
  • the padding code word is a temporary code word used for the purpose of filling an empty code word portion when the total number of code words in the information body is less than the capacity of the QR code symbol 1.
  • the RS code is a code added for error correction in units of RS blocks.
  • the error correction level “L” has an error correction capability of about 7% with respect to the total number of words. For example, when the number of words in the RS block is 100%, the error correction capability is about 7%.
  • the error correction level “M” has a correction capability of about 15% with respect to the total number of words.
  • the error correction level “Q” has a correction capability of about 25% with respect to the total number of words.
  • the error correction level “H” has an error correction capability of about 30% with respect to the total number of words.
  • “H” which is the highest class error correction capability is used to conceal the secret data code word (secret information and related code information) in the QR code.
  • the error correction level may be changed according to the degree of fear of damage to the medium on which the code symbol is formed or depending on the number of secret data code words to be concealed depending on the method.
  • FIG. 3 shows private data code words.
  • a part of the RS block is replaced with this private data code word.
  • the standard decoder can correct the replaced information body portion using the RS code. Then, the corrected information body part can be read and displayed.
  • the private data code word is information that is corrected by the RS code and discarded, it is not displayed by the standard decoder.
  • the extended decoder 20 extracts a secret data code word from the replaced RS block as will be described later. Then, after that, correction is performed with the RS code and the information body part is read out. With the above principle, it is possible to hide the secret information and the related code information in the QR code symbol 1. The details of the method of partially replacing the RS block with the private data code word will be described later.
  • the related code information is included in the private data code word together with the private information.
  • the private data code including the related code information is only the first private data code word (that is, the private data code word to be replaced with the first pre-replacement RS block) (but limited to the top).
  • the related code information includes identification information, chain number information, rank number information, and index information.
  • FIG. 4 is a diagram showing an example of related code information.
  • the identification information is information indicating whether the QR code is a related QR code. This identification information is common to all the related QR codes (the same value is used if the related QR code is not a normal QR code), and in the present embodiment (example in FIG. 4), The identification information is “01010000 (binary number)”. Then, the extension decoder 20 can grasp that the QR code is a related QR code (not a normal related QR code) by reading this numerical value “01010000 (binary number)”. .
  • Chain number information is information indicating the chain number of a plurality of related QR codes associated with each other. That is, the chain number information can be said to be the number of elements of a QR code group (aggregate) composed of a plurality of related QR codes associated with each other. In the example of FIG. 4, the chain number information is “3 (decimal number)”, which means that three related QR codes (QR code A, QR code B, QR code C) are associated with each other. .
  • the order number information is information indicating the number of related QR codes among the related QR codes corresponding to the number of chains.
  • the rank number information of the QR code A is “1 (decimal number)”. Therefore, the QR code A is the first related QR code out of three.
  • the order number information of QR code B and QR code C is “2 (decimal number)” and “3 (decimal number)”. Therefore, QR code B and QR code C are the second of three, This is the third related QR code.
  • the index information is information for determining whether or not the related QR code including the related code information is associated with another related QR code having a sequence number different from that of the related QR code.
  • a common password is used for a plurality of related QR codes associated with each other.
  • this password is AF (hexadecimal number)
  • each index information of QR code A, QR code B, and QR code C is AF (hexadecimal number).
  • the extended decoder 20 reads this password “AF (hexadecimal number)” from each of the QR code A, QR code B, and QR code C, and confirms that the passwords match, whereby the QR code A ( Whether or not QR code B, QR code C) is associated with other QR code having a different rank number from QR code A (QR code B, QR code C) (that is, QR code A, QR code B, QR code C is associated).
  • the QR code with the rank number 3 associated with the QR code A with the rank number 1 and the QR code B with the rank number 2 is only the QR code C.
  • QR code C ′ there may be a QR code C ′ in addition to the QR code C as the QR code with the rank number 3.
  • the related code information of the QR code C ′ ′ is the same as that of the QR code C. Since QR code C and QR code C ′ are not associated, QR code A, QR code B, and QR code C (or QR code A, QR code B, QR code C, and QR code C ′) are Although it can be said that a plurality of related QR codes are associated with each other, QR code A, QR code B, QR code C, and QR code C ′ cannot be said to be a plurality of related QR codes associated with each other.
  • QR code A and QR code B may further exist.
  • QR code A QR code A
  • QR code B QR code B
  • QR code C QR code C
  • FIG. 6 is a flowchart of a QR code symbol generation method.
  • FIG. 7 is an explanatory diagram of an RS block of a related QR code.
  • FIG. 8 is an explanatory diagram of a secret data code word of the related QR code.
  • a method according to the JIS standard is adopted as the encoding method to the QR code symbol 1.
  • the QR code symbol 1 has a plurality of RS blocks, but here, for ease of explanation, one RS block is illustrated as an example. Further, since the contents shown below are examples for easy explanation, each code word length may be different from the actual one.
  • the storage unit 11b stores information (start position information and information) related to the start position to be replaced with a private data code word that can be determined by a predetermined method and the length (number of words) of the private data code word. Length information) is stored.
  • information related to the start position of the related code information in the secret data code word in this embodiment, the head of the secret data code word
  • the length is described. How and how much part is replaced with private data code word, and how long part of private data code word is occupied with related code information
  • the determination is arbitrary and is not limited to the method of the present embodiment.
  • the information body and non-public information embedded in the QR code symbol 1 related to the QR code A are captured (S102).
  • the information body is “TOKYO ⁇ cr> MINATO ⁇ cr> JPN” (FIG. 7)
  • the non-public information is “1234567890” (FIG. 8).
  • the private data code word of the QR code symbol 1 is obtained by adding the related code information to the captured private information (S103).
  • a secret data code word including secret information and related code information is created.
  • related code information (“50h”, “3 (decimal number)”, “1 (decimal number)” obtained by converting “01010000 (binary number)” into a hexadecimal number is displayed.
  • password “AFh” By including “31h” converted into hexadecimal number, password “AFh”) and private information (“1234567890”) in the private data code word, a private data code word is obtained.
  • the QR code symbol 1 has a total number of code words determined according to the model number.
  • the total number of code words is the sum of the number of data code words including the number of words of the information main body (public information word) and the number of correction code words.
  • the size and number of RS blocks made up of data code words and correction code words are determined according to the model number of the QR code symbol 1. Error correction is performed in units of RS blocks.
  • the error correction level is “H” and the model number is “4”
  • the total number of code words is set to “100”. It is determined that four RS blocks are included. The number of data code words in one RS block is “9”, and the number of correction code words is “16”.
  • Replacement with private data code words is performed for each RS block as long as the number of error corrections in the RS block is not exceeded.
  • the replacement of the number of code words “8” is allowed for each RS block, and the replacement of the number of code words of “32” is allowed as a whole (referred to as “total number of allowable replacement words”). There will be).
  • an RS block (an RS block before replacement) having a public data code word and a correction code word is generated based on the code word of the information body (S106).
  • the code word of the information body is divided into a plurality of blocks. Then, an error correction code word is generated for each block, and the generated correction code word is added after the corresponding code word. Then, an RS block is generated.
  • the correction code word generation method can conform to the JIS standard.
  • FIG. 7 shows an example of an information body, a terminal code, and a correction code word (note that no padding code word exists).
  • plain text information is shown as the code word of the information body.
  • the termination code for example, a bit string of “0000” can be adopted. Then, an RS code generated based on a code word including the information main body is added to create an RS block.
  • a part of the RS block generated in this way is replaced with a secret data code word as shown in FIG. 8 (S108). That is, by replacing a part of the pre-replacement RS block with a private data code word, a post-substitution RS block in which the private data code word is concealed is obtained.
  • FIG. 9 is an explanatory diagram when a part of the RS block is replaced.
  • FIG. 9 shows the above-described RS block and a secret data code word. Then, based on the start position information and length information of the above-described private data code word, as shown in FIG. 9, in the present embodiment, the private data code word is replaced from the beginning of the RS block.
  • the standard decoder can correct the information body portion after replacement with the RS code, appropriately extract it, and display it.
  • the portion replaced with the non-public data code word is regarded as an error due to contamination of the QR code symbol 1 and is discarded, and cannot be displayed by the standard decoder.
  • the extended decoder 20 extracts a secret data code word from the post-replacement RS block, as will be described later. After that, correction is performed using the RS code to extract the information body part. Then, the extracted private data code word (private information) and the information main body part (public information) are displayed.
  • QR code symbol 1 is created based on the replaced RS block (S110).
  • a method for generating the QR code symbol 1 based on the RS block the same method as the standard QR code generation method in the JIS standard can be adopted. In this way, the QR code symbol 1 related to the QR code A can be generated.
  • step S110 is repeated in order to generate another related QR code (S112). That is, in the present embodiment, following the generation of QR code symbol 1 related to QR code A, QR code symbol 1 related to QR code B and QR code symbol 1 related to QR code C are generated using the same method. .
  • a plurality of related QR codes are generated by executing the generation process including the procedure from step S102 to step S110 a plurality of times.
  • Decoding is performed by the extension decoder 20 described above.
  • the extension decoder 20 reads a plurality of related QR codes and evaluates (confirms) that the plurality of related QR codes are associated with each other. Then, by confirming that these related QR codes are associated with each other, the management target (the person who owns the related QR code or the item to which the related QR code is attached) Etc.) can be ensured (authenticated) (details will be described later with a specific example).
  • FIG. 10 is a block diagram of the extension decoder 20.
  • the extension decoder 20 reads a plurality of related QR codes, expands public information and non-public information to be displayed included in the QR code symbol 1, and further associates the plurality of related QR codes with each other. It is a device that evaluates (confirms) this.
  • the extended decoder 20 includes a control unit 21, an imaging device 22, a display device 23, a printing device 24, and an input device 25.
  • the control unit 21 includes a calculation unit 21a and a storage unit 21b.
  • the calculation unit 21a is composed of a central processing unit and the like, and is responsible for program execution and various calculations.
  • the storage unit 21b is responsible for storing necessary data when executing the program. In particular, the storage unit 21b stores programs for executing various processes.
  • the imaging device 22 is a device for imaging the QR code symbol 1 and is, for example, a CCD camera or the like.
  • the display device 23 has a display function necessary for data input and the like.
  • the display device 23 displays the information developed from the QR code on the display.
  • the printing device 24 also displays the developed information on a paper medium or the like by printing.
  • the input device 25 is used for data input and operation of the extension decoder 20.
  • FIG. 11 is a flowchart of a related QR code evaluation method.
  • a method according to the JIS standard is adopted as a decoding method of the QR code symbol 1.
  • the storage unit 21b of the extended decoder 20 has information related to the start position to be replaced with a private data code word and the length (number of words) of the private data code word that can be determined by a predetermined method ( It is assumed that start position information and length information) are stored. Similarly, information related to the start position of the related code information in the private data code word (the head of the private data code word) and the length is described. How and how much part is replaced with private data code word, and how long part of private data code word is occupied with related code information The determination is arbitrary and is not limited to the method of the present embodiment.
  • QR code symbol 1 is read (S202).
  • QR code symbol 1 related to the QR code A is read first.
  • a plurality of RS blocks are developed based on the read QR code symbol 1 (S204).
  • those conforming to the JIS standard can be adopted.
  • the post-replacement RS block shown in FIG. 9 described above is acquired. That is, a post-replacement data block is obtained from the related QR code.
  • the code word (public data code word) and the private data code word of the information main body are extracted from the acquired post-replacement RS block by a predetermined method (S206).
  • the post-replacement RS block can be obtained by reading the QR code symbol and expanding it according to the JIS standard.
  • the extended decoder 20 determines the position of the secret data code word in the RS block after replacement based on the start position information and length information of the secret data code word stored in the storage unit 21b. Identify. And a secret datacode word is extracted from the specified position.
  • FIG. 13 is an explanatory diagram of a method for extracting the information body of the related QR code.
  • the extended decoder 20 acquires the pre-replacement RS block by performing error correction of the post-replacement RS block. Then, information from the beginning to the end code of the RS block before replacement is extracted, and the extracted data is used as the information body. That is, the public data code word is extracted from the post-replacement RS block using the correction code word, and the information body that is the public information is extracted from the public data code word.
  • the extension decoder 20 extracts the secret information and the related code information from the secret data code word. That is, the extended decoder 20 specifies the position of the related code information in the secret data code word based on the start position information and length information of the related code information stored in the storage unit 21b. Then, the related code information is extracted from the specified position, and the remaining information of the private data code word is made private information.
  • the extension decoder 20 grasps (confirms) related code information (that is, identification information, chain number information, sequence number information, and index information) (step S210). That is, it is grasped (confirmed) from the identification information that the QR code is a related QR code, and in the present embodiment, the related QR code is one of the three related QR codes based on the other three pieces of information. It is the second related QR code, and grasps (confirms) that the password is AF (hexadecimal number).
  • related code information that is, identification information, chain number information, sequence number information, and index information
  • the related code information extraction process described above is executed for each of the plurality of read related QR codes, and based on the related code information acquired from each of the plurality of related QR codes. And evaluating that a plurality of related QR codes are associated with each other. More specifically, based on the identification information, each QR code is confirmed to be a related QR code, and based on the chain number information and the sequence number information acquired from each of the plurality of related QR codes, It is confirmed that different sequence numbers for the number of chains are arranged, and related QR codes for the number of sequences having different sequence numbers are associated based on the index information (here, the related QR codes for the number of chains are related). When it is confirmed that the code index information (password) matches (when the evaluation condition is satisfied), it is evaluated that a plurality of related QR codes are associated with each other.
  • step S220 the same procedure as that in step S202 to step S210 (step S212 to step S220) is executed, and public information, non-public information, and related QR code information are extracted (step S218).
  • the extension decoder 20 grasps (confirms) related code information (that is, identification information, chain number information, sequence number information, and index information) (step S220). In other words, it is ascertained (confirmed) from the identification information that the QR code is a related QR code, and in the present embodiment, the related QR code is obtained from two other related information. It is the second related QR code, and grasps (confirms) that the password is AF (hexadecimal number).
  • the aforementioned evaluation process is performed by comparing the related code information with the related code information of QR code A (step S221).
  • different rank numbers corresponding to the number of chains are not arranged (that is, only 1 or 3 out of 3), and the evaluation condition is not satisfied, so that a plurality of related QR codes are associated with each other. Is not evaluated. In such a case, no display on the display device 23 is performed.
  • step S22 when the QR code C is read, the same procedure as that in step S202 to step S210 (step S222 to step S230) is executed, and public information, non-public information, and related QR code information are extracted (step S228).
  • the extension decoder 20 grasps (confirms) related code information (that is, identification information, chain number information, sequence number information, and index information) (step S230). In other words, it is ascertained (confirmed) from the identification information that the QR code is a related QR code, and in the present embodiment, the related QR code is determined from three of the three related QR codes. It is the second related QR code, and grasps (confirms) that the password is AF (hexadecimal number).
  • the display device 23 displays that a plurality of related QR codes are associated with each other (for example, characters “authenticated”). (Step S232). In addition to the display or in addition to the display, it may be notified by voice.
  • the display device 23 also displays the public information and the private information of each of the QR codes A to QR codes C taken out in step S208, step S218, and step S228 (step S232).
  • each public information is displayed in the order of the order number, not in the reading order of the related QR code.
  • each non-public information is also displayed in the order. Display in numerical order.
  • the public information group and the non-public information group are displayed in a lump, and the public information group is followed by the non-public information group.
  • FIG. 14 is a schematic diagram showing various information displayed on the display.
  • FIG. 15 is an explanatory diagram for explaining the first application example.
  • FIG. 16 is a schematic diagram illustrating a state in which various information according to the first application example is displayed on the display.
  • a related QR code with a chain number of 2 is used.
  • the related QR code with rank number 1 is QR code A
  • the related QR code with rank number 2 is QR code B, QR code B ', and QR code B ".
  • QR code A is affixed to patient wristband or bedside sign plate. Then, as shown in FIG. 15, medical information, patient name, age, sex, and blood type (for example, “Cardiovascular Medicine, Health Taro, 30 years old, male, O type”) as public information (information body). It is embedded in QR code A, and a disease name (for example, “angina”) is embedded in QR code A as non-public information.
  • QR code B, QR code B ′, and QR code B ′′ are affixed to the packaging material of the medicine to be distributed. And, as shown in FIG. Embedded in QR Code B, QR Code B ′, QR Code B ”,“ Public Cardiovascular Medicine, Oral Medicine 1 ”,“ Cardiovascular Medicine, Oral Medicine 2 ”,“ Cardiovascular Medicine, Oral Medicine 3 ”) The administration date and time (for example, “February 16 daytime”) is embedded in QR code B, QR code B ′, QR code B ′′.
  • a person in charge such as a nurse who distributes medicine to a patient owns, for example, a handy terminal as the extension decoder 20, and holds the handy terminal over the QR code A and the QR code B sequentially or simultaneously.
  • the process described above is executed, and it is evaluated that QR code A and QR code B are associated with each other.
  • the characters “I was able to authenticate” are displayed as shown in FIG. 16, and it is certified that “Oral medicine 1” is definitely for “Health Taro”. The Therefore, the occurrence of medication errors is reliably avoided.
  • the public information and the non-public information are displayed on the display, and the person in charge and the patient can confirm that there is no problem by looking at the display.
  • FIG. 17 is an explanatory diagram for explaining a second application example.
  • FIG. 18 is a schematic diagram illustrating a state in which various information according to the second application example is displayed on the display.
  • a visit is made in a case where the worker visits the client using the related QR code described above (for example, installation work of home appliances, repair work or waterworks).
  • QR code for example, installation work of home appliances, repair work or waterworks.
  • a system is built to allow the client to confirm that the worker is genuine.
  • a related QR code with a chain number of 3 is used. Assume that the related QR code of rank number 1 is QR code A, the related QR code of rank number 2 is QR code B, and the related QR code of rank number 3 is QR code C.
  • QR code A is affixed to an ID badge carried by the worker (a badge with a photograph, a company undertaking the work (hereinafter referred to as a contracting company), and a name). Then, as shown in FIG. 17, the operator's name (for example, “Taro Taku”) is embedded in the QR code A as public information (information body), and the worker's email address (for example, “ sagyo-t @ ... ”) is embedded in QR code A.
  • the operator's name for example, “Taro Taku”
  • the worker's email address for example, “ sagyo-t @ ...
  • QR code B is attached to the reservation form.
  • reservation information (visit date, contractor company name, etc., for example, “March 10, XX Corporation”) is embedded in QR code B as public information (information body) ( Private information is not embedded in this case).
  • the contractor sends a work instruction to the worker by e-mail or fax.
  • the QR code C is attached to the work instruction.
  • work information (visit date, place of visit, work contents, etc., for example, “March 10, Setagaya-ku, Tokyo, air conditioner repair”) as public information (information body) is QR.
  • Embed in code C (in this case, private information is not embedded).
  • the worker owns, for example, a handy terminal as the extension decoder 20, and holds the handy terminal over the QR code A to QR code C sequentially or simultaneously. Then, in the handy terminal, the process described above is executed, and it is evaluated that the QR codes A to QR codes C are associated with each other. Then, when the evaluation is made, the characters “I was able to authenticate” are displayed as shown in FIG. 18, and it is verified that the work content requested by the client is definitely performed by a genuine worker. The Therefore, it is possible to reliably prevent an erroneous operation from being performed or an operator from being dispatched by an unscrupulous trader. In addition, as shown in FIG. 18, the public information and the non-public information are displayed on the display, and the operator and the client can confirm that there is no problem by looking at the display.
  • the QR code generation method is a QR code generation method that generates a plurality of related QR codes that are associated with each other. Obtaining a pre-substitution code block having a correction code word, obtaining a post-substitution code block in which the non-public data code word is concealed by replacing a part of the pre-substitution code block with the non-public data code word, Each of the plurality of related QR codes is generated by executing a generation step of generating a related QR code based on the post-replacement data block a plurality of times, and the secret data code word is changed in each of the generation steps.
  • Related code information for making it possible to specify that the plurality of related QR codes are associated with each other when obtaining It was decided to include in the private data codewords.
  • the extended encoder 10 is an extended encoder 10 (QR code generation system) that generates a plurality of related QR codes that are associated with each other. Finding a pre-replacement code block having a public data code word and an error correction code word, and concealing the private data code word by replacing a part of the pre-replacement code block with the private data code word And generating each of the plurality of related QR codes by executing a generation step of generating a related QR code based on the replacement data block a plurality of times, and generating each of the plurality of related QR codes.
  • the plurality of related QR codes are associated with each other when determining the secret data code word in FIG.
  • the related code information for enabling identifying Rukoto it was decided to include in the private data codewords.
  • the QR code evaluation method reads a plurality of related QR codes generated by the above-described QR code generation method, and evaluates that the plurality of related QR codes are associated with each other.
  • a code evaluation method for obtaining the replaced data block from the related QR code, extracting the secret data code word from the replaced data block, and extracting the related code information from the secret data code word Based on the related code information acquired from each of the plurality of related QR codes and the related code information acquired from each of the plurality of related QR codes, a plurality of related QR codes are extracted. And an evaluation step for evaluating that the codes are associated with each other.
  • the extended decoder 20 (QR code evaluation system) reads a plurality of related QR codes generated by the extended encoder 10 (QR code generation system), and the plurality of related QR codes are read.
  • An extended decoder 20 (QR code evaluation system) that evaluates that they are associated with each other, obtains the replacement data block from the related QR code, and extracts the secret data code word from the replacement data block
  • the related code information extracting process for extracting the related code information from the non-public data code word is performed on each of the read related QR codes, and the acquired related QR code is acquired from each of the related QR codes.
  • the plurality of related QR codes are associated with each other based on the related code information. It was decided to evaluate that.
  • the extended management system is an extended encoder 10 (QR code generation system) that generates a plurality of related QR codes that are associated with each other. Finding a pre-replacement code block having a public data code word and an error correction code word, and concealing the private data code word by replacing a part of the pre-replacement code block with the private data code word And generating each of the plurality of related QR codes by executing a generation step of generating a related QR code based on the replacement data block a plurality of times, and generating each of the plurality of related QR codes.
  • the plurality of related QR codes are associated with each other when obtaining the secret data code word in FIG.
  • An extended decoder 20 (QR code evaluation system) that reads a QR code and evaluates that the plurality of related QR codes are associated with each other, obtains the replaced data block from the related QR code, and performs the replacement Extracting the private data code word from a subsequent data block, and executing related code information extraction processing for extracting the related code information from the private data code word for each of the read related QR codes, Based on the related code information acquired from each of the plurality of related QR codes.
  • QR codes such as structurally connected QR codes defined in Chapter 9 of the JIS standard are already well known, and techniques using these codes have also been proposed.
  • the management target the person who owns the related QR code or the related QR code
  • No guarantees have been made to ensure (authenticate) the authenticity of the items attached with the code.
  • the standard decoder can understand that this QR code is a structurally connected QR code (related QR code). Yes, a message to that effect (for example, a message such as “Please read the next QR code”) is displayed. Therefore, an operator who operates the standard decoder can easily recognize that the QR code is not a normal QR code but a structurally connected QR code (related QR code).
  • Such a recognition act can be an opportunity for the operator or the like to be added when the operator is an unscrupulous operator or the like.
  • the contractor etc. analyzes the read structural connection QR code (related QR code) and other structural connection QR code (related QR code) related to the structural connection QR code (related QR code). Code). Then, there is a possibility that a wrong action is performed using the other structurally connected QR code (related QR code) forged.
  • the above-mentioned items are performed using an original related QR code instead of a standard related QR code.
  • the related code information is set as a private data code. Included in words. Since the standard decoder cannot extract the related code information from the non-public data code word, even if the standard decoder reads the QR code according to the present embodiment, the standard decoder only understands it as a normal QR code. I cannot understand something in the first place. Therefore, the operator who operates the standard decoder cannot recognize that this QR code is not a normal QR code but a related QR code. Therefore, even if the operator is an unscrupulous trader or the like, the trader or the like cannot reach the above-described idea of forgery.
  • the QR code generation method As described above, the QR code generation method, the extended encoder 10 (QR code generation system), the QR code evaluation method, the extended decoder 20 (QR code evaluation system), and the extended management system (QR code management system) according to the present embodiment. According to this, when managing the object with the QR code, the authenticity can be more reliably ensured by using the technology related to the related QR code.
  • the related code information includes identification information indicating whether the QR code is a related QR code, chain number information indicating the number of chains of a plurality of related QR codes associated with each other, and
  • the related QR code including the related code information is sequence number information indicating the number of related QR codes among the related QR codes corresponding to the number of chains, and the related QR code including the related code information includes the related QR code.
  • index information for determining whether or not the related QR code is related to another related QR code having a different rank number.
  • each QR code is a related QR code, and the chain number information and the order obtained from each of the plurality of related QR codes.
  • the number information it is confirmed that the different order numbers corresponding to the number of chains are arranged, and based on the index information, the related QR codes for the number of chains having the different order numbers are associated.
  • identification information, chain number information, sequence number information, and index information are included in a secret data code word. That is, since information essential for performing forgery is concealed, if a third party does not know the concealed information, it becomes even more difficult to forge. Therefore, in the present embodiment, authenticity can be further ensured.
  • a display step for displaying that the plurality of related QR codes are associated with each other is provided.
  • the public data code word is extracted from the code block after replacement using the error correction code word, and public information is extracted from the public data code word.
  • a process is executed for each of the plurality of related QR codes read, and when the plurality of related QR codes are evaluated to be associated with each other, a display step of displaying each of the public information is provided. It was.
  • the operator of the extended decoder 20 has been evaluated (confirmed) that a plurality of related QR codes are associated with each other, and the authenticity of the management target by the related QR codes has been ensured (authenticated).
  • additional information embedded in each of a plurality of related QR codes for example, in the first application example described above, the medical subject, patient name, age, gender, Blood type and drug name
  • the medical subject, patient name, age, gender, Blood type and drug name can be presented to the operator of the extension decoder 20 together.
  • a private information extraction process for extracting private information from the private data code word is executed for each of the read related QR codes,
  • each of the non-public information is displayed.
  • each of the public information is displayed in the order of the order numbers, and each of the non-public information is displayed in the order of the order numbers.
  • the QR code has been described as an example of the two-dimensional code, but the present invention is not limited to this, and another two-dimensional code may be used.
  • Examples of the other two-dimensional codes include DataMatrix (ISO / IEC16022: 2006, JIS X-0512: 2015), PDF417 (ISO / IEC15438: 2006, JIS X-0508: 2010).
  • the information (public information, non-public information) is described as plain text, but it may be encrypted (cipher text).
  • the extension encoder 10 encrypts the public information with the public key corresponding to the password (AF). Further, the extended decoder 20 extracts related code information (password (AF) as index information) from the private data code word, selects (specifies) a secret key corresponding to the password (AF), and uses this secret key. Decrypt public information.
  • the password is index (heading) information for specifying the encryption key of the ciphertext
  • a key set corresponding to the password (the extended encoder 10 is information (for example, FIG. 7 TOKYO ⁇ cr> MINATO ⁇ cr> JPN) is encrypted with the private key when creating the electronic signature and the public key when the extension decoder 20 decrypts the electronic signature and creates the hash value) Decide in advance.
  • the extension encoder 10 creates an electronic signature with a private key corresponding to the password (AF).
  • the public key corresponding to BG will be selected, and the electronic signature
  • the hash value created using the public key does not match the hash value created from the information (for example, TOKYO ⁇ cr> MINATO ⁇ cr> JPN in FIG. 7) so that the situation is not normal. It has become. Therefore, in this mode, not only the index information (password) related to the related QR code for the number of chains matches but also the index information (password) related to the related QR code for the number of chains is required to match by AF. Will be. Therefore, it is possible to further increase security.
  • the extended encoder 10 such as a handy terminal including the control unit 11, the display device 13, the printing device 14, and the input device 15 has been described as an example of the two-dimensional code generation system. It is not limited to.
  • it may be configured from a server provided at a remote place for executing the generating step, and a terminal that exchanges data with the server and includes the display device 13, the printing device 14, and the input device 15.
  • the extended decoder 20 such as a handy terminal including the control unit 21, the imaging device 22, the display device 23, the printing device 24, and the input device 25 is described as an example of the two-dimensional code evaluation system.
  • the present invention is not limited to this.
  • it may be configured by a server provided at a remote place for executing the evaluation process, and a terminal that exchanges data with the server and includes an imaging device 22, a display device 23, a printing device 24, and an input device 25.
  • the printing device 24 may not exist.
  • the two-dimensional code generation system may be a dedicated terminal or software (application) for executing a generation (evaluation) step on a general-purpose terminal such as a PC, a smartphone, or a mobile phone. ) May be incorporated.
  • protection coding of a code block may be performed using the technique disclosed in Japanese Patent Application Laid-Open No. 2017-91039. If such protection coding is performed, the secret data code word including the related code information is further concealed.

Abstract

Provided is a two-dimensional code generation method for generating a plurality of associated two-dimensional codes which have been mutually associated, said method characterized by: generating each of the plurality of associated two-dimensional codes by multiple repetitions of a generation step which involves deriving a private data code word, deriving a pre-substitution code block comprising a public data code word and an error correction code word, deriving a post-substitution code block wherein the private code word has been concealed by substituting a portion of the pre-substitution code block with the private data code word, and generating an associated two-dimensional code on the basis of the post-substitution data block; and, when deriving the private data code word in each of the generation steps, causing associated code information to be included in the private data code word, said associated code information being capable of indicating that the plurality of associated two-dimensional codes are mutually associated.

Description

二次元コード生成方法、二次元コード生成システム、二次元コード評価方法、二次元コード評価システム、及び、二次元コード管理システムTwo-dimensional code generation method, two-dimensional code generation system, two-dimensional code evaluation method, two-dimensional code evaluation system, and two-dimensional code management system
 本発明は、二次元コード生成方法、二次元コード生成システム、二次元コード評価方法、二次元コード評価システム、及び、二次元コード管理システムに関する。 The present invention relates to a two-dimensional code generation method, a two-dimensional code generation system, a two-dimensional code evaluation method, a two-dimensional code evaluation system, and a two-dimensional code management system.
 関連二次元コードは、既によく知られている。関連二次元コードとは、当該関連二次元コードに関連付けられた他の関連二次元コードが存在する二次元コードである。 Related 2D codes are already well known. The related two-dimensional code is a two-dimensional code in which another related two-dimensional code associated with the related two-dimensional code exists.
 このような関連二次元コードの代表的な例としては、JIS規格の第9章に規定されている構造的連接関係を有するQRコード(構造的連接QRコードとも呼ぶ)を挙げることができ、このコードを利用した技術も提案されている(例えば、特許文献1参照)。 A typical example of such a related two-dimensional code is a QR code having a structural connection relationship defined in Chapter 9 of the JIS standard (also called a structural connection QR code). A technique using a code has also been proposed (see, for example, Patent Document 1).
特開2010-61468号公報JP 2010-61468 A
 ところで、人、物等の対象の真正性が担保される要請がある。つまり、当該対象が真正な者であり(又は、真正な者により作成や管理が成された物であり)、悪徳な業者等が介入していないことが保証される必要がある。 By the way, there is a request to ensure the authenticity of objects such as people and things. In other words, it is necessary to ensure that the subject is a genuine person (or is created or managed by a genuine person) and that no unscrupulous traders are involved.
 本発明は、上記のような課題に鑑みなされたものであって、その主な目的は、対象を二次元コードで管理する際に真正性を担保することを、関連二次元コードに係る技術を用いて、適切に実現することにある。 The present invention has been made in view of the problems as described above, and its main purpose is to ensure the authenticity when managing an object with a two-dimensional code, and to provide a technology related to a related two-dimensional code. It is to use and implement appropriately.
 主たる本発明は、
 互いに関連付けられた複数の関連二次元コードを生成する二次元コード生成方法であって、
 非公開データコード語を求め、公開データコード語と誤り訂正コード語とを有する置換前コードブロックを求め、前記置換前コードブロックの一部を前記非公開データコード語で置換することにより前記非公開データコード語が隠蔽された置換後コードブロックを求め、前記置換後データブロックに基づいて関連二次元コードを生成する生成工程を、複数回実行することにより、前記複数の関連二次元コードの各々を生成し、
 各々の前記生成工程において前記非公開データコード語を求める際に、前記複数の関連二次元コードが互いに関連付けられていることを特定可能とするための関連コード情報を、前記非公開データコード語に含ませることを特徴とする二次元コード生成方法である。
The main invention is
A two-dimensional code generation method for generating a plurality of related two-dimensional codes associated with each other,
Obtaining a private data code word, obtaining a pre-replacement code block having a public data code word and an error correction code word, and replacing the private data code word with a part of the pre-replacement code block by the private data code word Each of the plurality of related two-dimensional codes is obtained by performing a generation step of obtaining a replacement code block in which the data code word is concealed and generating a related two-dimensional code based on the replacement data block. Generate and
When obtaining the non-public data code word in each of the generation steps, related code information for enabling identification of the plurality of related two-dimensional codes being associated with each other is included in the non-public data code word. It is a two-dimensional code generation method characterized by including.
 本発明の他の特徴については、本明細書及び添付図面の記載により明らかにする。 Other features of the present invention will be clarified by the description of the present specification and the accompanying drawings.
QRコードシンボル1の説明図である。4 is an explanatory diagram of a QR code symbol 1; FIG. 拡張エンコーダ10のブロック図である。2 is a block diagram of an extension encoder 10. FIG. 本実施の形態に係る関連QRコード(拡張関連QRコード)のRSブロックの概要図である。It is a schematic diagram of RS block of related QR code (extended related QR code) according to the present embodiment. 関連コード情報の一例を示した図である。It is the figure which showed an example of the related code information. 図5A及び図5Bは、関連コード情報の他の例を示した図である。5A and 5B are diagrams showing other examples of related code information. QRコードシンボル生成方法のフローチャートである。It is a flowchart of a QR code symbol generation method. 関連QRコードのRSブロックの説明図である。It is explanatory drawing of RS block of a related QR code. 関連QRコードの非公開データコード語の説明図である。It is explanatory drawing of the secret datacode word of a related QR code. RSブロックの一部を置換したときの説明図である。It is explanatory drawing when a part of RS block is replaced. 拡張デコーダ20のブロック図である。3 is a block diagram of an extension decoder 20. FIG. 関連QRコード評価方法のフローチャートである。It is a flowchart of a related QR code evaluation method. 関連QRコードの非公開データコード語の抽出方法の説明図である。It is explanatory drawing of the extraction method of the secret datacode word of a related QR code. 関連QRコードの情報本体の取り出し方法の説明図である。It is explanatory drawing of the extraction method of the information main body of a related QR code. ディスプレイに各種情報が表示された様子を示した模式図である。It is the schematic diagram which showed a mode that various information was displayed on the display. 第一適用例を説明するための説明図である。It is explanatory drawing for demonstrating a 1st application example. 第一適用例に係る各種情報がディスプレイに表示された様子を示した模式図である。It is the schematic diagram which showed a mode that the various information which concerns on a 1st application example was displayed on the display. 第二適用例を説明するための説明図である。It is explanatory drawing for demonstrating a 2nd application example. 第二適用例に係る各種情報がディスプレイに表示された様子を示した模式図である。It is the schematic diagram which showed a mode that the various information which concerns on a 2nd application example was displayed on the display.
 本明細書及び添付図面の記載により、少なくとも次のことが明らかにされる。 At least the following will be made clear by the description in this specification and the accompanying drawings.
 互いに関連付けられた複数の関連二次元コードを生成する二次元コード生成方法であって、
 非公開データコード語を求め、公開データコード語と誤り訂正コード語とを有する置換前コードブロックを求め、前記置換前コードブロックの一部を前記非公開データコード語で置換することにより前記非公開データコード語が隠蔽された置換後コードブロックを求め、前記置換後データブロックに基づいて関連二次元コードを生成する生成工程を、複数回実行することにより、前記複数の関連二次元コードの各々を生成し、
 各々の前記生成工程において前記非公開データコード語を求める際に、前記複数の関連二次元コードが互いに関連付けられていることを特定可能とするための関連コード情報を、前記非公開データコード語に含ませることを特徴とする二次元コード生成方法。
A two-dimensional code generation method for generating a plurality of related two-dimensional codes associated with each other,
Obtaining a private data code word, obtaining a pre-replacement code block having a public data code word and an error correction code word, and replacing the private data code word with a part of the pre-replacement code block by the private data code word Each of the plurality of related two-dimensional codes is obtained by performing a generation step of obtaining a replacement code block in which the data code word is concealed and generating a related two-dimensional code based on the replacement data block. Generate and
When obtaining the non-public data code word in each of the generation steps, related code information for enabling identification of the plurality of related two-dimensional codes being associated with each other is included in the non-public data code word. A two-dimensional code generation method characterized by including.
 かかる場合には、対象を二次元コードで管理する際に真正性を担保することを、関連二次元コードに係る技術を用いて、適切に実現することが可能となる。 In such a case, it is possible to appropriately realize the guarantee of authenticity when managing the object with the two-dimensional code, using the technology related to the related two-dimensional code.
 また、前記関連コード情報は、
 二次元コードが関連二次元コードであるか否かを示す識別情報と、
 互いに関連付けられた複数の関連二次元コードの連鎖数を示す連鎖数情報と、
 前記関連コード情報を備える関連二次元コードが、前記連鎖数分の関連二次元コードのうちの何番目の関連二次元コードであるかを示す序列番号情報と、
 前記関連コード情報を備える関連二次元コードが、該関連二次元コードと序列番号が異なる他の関連二次元コードと関連付けられているか否かを判断するための指標情報と、
 を有することとしてもよい。
The related code information is:
Identification information indicating whether or not the two-dimensional code is a related two-dimensional code;
Chain number information indicating the chain number of a plurality of related two-dimensional codes associated with each other;
Order number information indicating which number of related two-dimensional codes among the related two-dimensional codes corresponding to the number of chains the related two-dimensional code comprising the related code information;
Index information for determining whether or not the related two-dimensional code including the related code information is associated with another related two-dimensional code having a different rank number from the related two-dimensional code;
It is good also as having.
 かかる場合には、真正性をより一層確実に担保することができる。 In such a case, authenticity can be more reliably ensured.
 次に、互いに関連付けられた複数の関連二次元コードを生成する二次元コード生成システムであって、
 非公開データコード語を求め、公開データコード語と誤り訂正コード語とを有する置換前コードブロックを求め、前記置換前コードブロックの一部を前記非公開データコード語で置換することにより前記非公開データコード語が隠蔽された置換後コードブロックを求め、前記置換後データブロックに基づいて前記関連二次元コードを生成する生成工程を、複数回実行することにより、前記複数の関連二次元コードの各々を生成し、
 各々の前記生成工程において前記非公開データコード語を求める際に、前記複数の関連二次元コードが互いに関連付けられていることを特定可能とするための関連コード情報を、前記非公開データコード語に含ませることを特徴とする二次元コード生成システム。
Next, a two-dimensional code generation system that generates a plurality of related two-dimensional codes associated with each other,
Obtaining a private data code word, obtaining a pre-replacement code block having a public data code word and an error correction code word, and replacing the private data code word with a part of the pre-replacement code block by the private data code word Each of the plurality of related two-dimensional codes is obtained by executing a generation step of obtaining a replacement code block in which a data code word is concealed and generating the related two-dimensional code based on the replacement data block. Produces
When obtaining the non-public data code word in each of the generation steps, related code information for enabling identification of the plurality of related two-dimensional codes being associated with each other is included in the non-public data code word. A two-dimensional code generation system characterized by inclusion.
 かかる場合には、対象を二次元コードで管理する際に真正性を担保することを、関連二次元コードに係る技術を用いて、適切に実現することが可能となる。 In such a case, it is possible to appropriately realize the guarantee of authenticity when managing the object with the two-dimensional code, using the technology related to the related two-dimensional code.
 次に、上記二次元コード生成方法により生成された複数の関連二次元コードを読み取って、該複数の関連二次元コードが互いに関連付けられていることを評価する二次元コード評価方法であって、
 前記関連二次元コードから前記置換後データブロックを求め、前記置換後データブロックから前記非公開データコード語を抽出し、前記非公開データコード語から前記関連コード情報を取り出す関連コード情報取り出し処理を、読み取った前記複数の関連二次元コードの各々に対して実行する取り出し工程と、
 前記複数の関連二次元コードの各々から取得された前記関連コード情報に基づいて、前記複数の関連二次元コードが互いに関連付けられていることを評価する評価工程と、を有することを特徴とする二次元コード評価方法。
Next, a two-dimensional code evaluation method that reads a plurality of related two-dimensional codes generated by the two-dimensional code generation method and evaluates that the plurality of related two-dimensional codes are associated with each other.
Obtaining the replaced data block from the related two-dimensional code, extracting the secret data code word from the replaced data block, and extracting related code information from the secret data code word; A fetching step to be executed for each of the read related two-dimensional codes;
An evaluation step for evaluating that the plurality of related two-dimensional codes are associated with each other based on the related code information acquired from each of the plurality of related two-dimensional codes. Dimension code evaluation method.
 かかる場合には、対象を二次元コードで管理する際に真正性を担保することを、関連二次元コードに係る技術を用いて、適切に実現することが可能となる。 In such a case, it is possible to appropriately realize the guarantee of authenticity when managing the object with the two-dimensional code, using the technology related to the related two-dimensional code.
 また、前記関連コード情報は、
 二次元コードが関連二次元コードであるか否かを示す識別情報と、
 互いに関連付けられた複数の関連二次元コードの連鎖数を示す連鎖数情報と、
 前記関連コード情報を備える関連二次元コードが、前記連鎖数分の関連二次元コードのうちの何番目の関連二次元コードであるかを示す序列番号情報と、
 前記関連コード情報を備える関連二次元コードが、該関連二次元コードと序列番号が異なる他の関連二次元コードと関連付けられているか否かを判断するための指標情報と、を有し、
 前記評価工程においては、
 前記識別情報に基づいて、各々の前記二次元コードが関連二次元コードであることが確認され、前記複数の関連二次元コードの各々から取得された前記連鎖数情報及び前記序列番号情報に基づいて、前記連鎖数分の互いに異なる前記序列番号が揃ったことが確認され、前記指標情報に基づいて、互いに異なる前記序列番号を有する連鎖数分の前記関連二次元コードが関連付けられていることが確認された際に、
 前記複数の関連二次元コードが互いに関連付けられていると評価することとしてもよい。
The related code information is:
Identification information indicating whether or not the two-dimensional code is a related two-dimensional code;
Chain number information indicating the chain number of a plurality of related two-dimensional codes associated with each other;
Order number information indicating which number of related two-dimensional codes among the related two-dimensional codes corresponding to the number of chains the related two-dimensional code comprising the related code information;
The related two-dimensional code comprising the related code information has index information for determining whether or not the related two-dimensional code is associated with another related two-dimensional code having a different rank number,
In the evaluation step,
Based on the identification information, each of the two-dimensional codes is confirmed to be a related two-dimensional code, and based on the chain number information and the sequence number information acquired from each of the plurality of related two-dimensional codes. It is confirmed that the different rank numbers corresponding to the number of chains are aligned, and based on the index information, it is confirmed that the related two-dimensional codes corresponding to the number of chains having the different rank numbers are associated with each other. When
The plurality of related two-dimensional codes may be evaluated as being associated with each other.
 かかる場合には、真正性をより一層確実に担保することができる。 In such a case, authenticity can be more reliably ensured.
 また、前記複数の関連二次元コードが互いに関連付けられていると評価した際に、前記複数の関連二次元コードが互いに関連付けられている旨を表示する表示工程を有することとしてもよい。 Further, when evaluating that the plurality of related two-dimensional codes are associated with each other, a display step of displaying that the plurality of related two-dimensional codes are associated with each other may be included.
 かかる場合には、複数の関連二次元コードが互いに関連付けられていることが評価(確認)され、真正性が担保された(認証された)ことを二次元コード評価システムの操作者等に対し、明確に知らせることが可能となる。 In such a case, it is evaluated (confirmed) that a plurality of related two-dimensional codes are associated with each other, and authenticity is ensured (authenticated) to an operator of the two-dimensional code evaluation system, etc. It becomes possible to inform clearly.
 また、前記取り出し工程においては、前記置換後コードブロックから前記誤り訂正コード語を用いて前記公開データコード語を抽出し、前記公開データコード語から公開情報を取り出す公開情報取り出し処理を、読み取った前記複数の関連二次元コードの各々に対して実行し、
 前記複数の関連二次元コードが互いに関連付けられていると評価した際に、各々の前記公開情報を表示する表示工程を有することとしてもよい。
Further, in the extraction step, the public data code word is extracted from the post-substitution code block using the error correction code word, and public information extraction processing for extracting public information from the public data code word is read. Execute for each of a plurality of related 2D codes,
When evaluating that the plurality of related two-dimensional codes are associated with each other, a display step of displaying each of the public information may be included.
 かかる場合には、二次元コード評価システムの操作者等は、複数の関連二次元コードが互いに関連付けられていることが評価(確認)され、当該関連二次元コードによる管理対象の真正性が担保された(認証された)ことを、公開情報の表示により知ることができ、さらに、複数の関連二次元コードの各々に埋め込まれている追加の情報を二次元コード評価システムの操作者等にまとめて提示することができる。 In such a case, an operator of the two-dimensional code evaluation system evaluates (confirms) that a plurality of related two-dimensional codes are associated with each other, and ensures the authenticity of the management target by the related two-dimensional code. (Authenticated) can be known by displaying public information, and additional information embedded in each of a plurality of related two-dimensional codes can be collected by an operator of the two-dimensional code evaluation system. Can be presented.
 また、前記取り出し工程においては、前記非公開データコード語から非公開情報を取り出す非公開情報取り出し処理を、読み取った前記複数の関連二次元コードの各々に対して実行し、
 前記表示工程においては、各々の前記非公開情報を表示することとしてもよい。
In the extraction step, a private information extraction process for extracting private information from the private data code word is executed for each of the read related two-dimensional codes.
In the display step, each of the non-public information may be displayed.
 かかる場合には、二次元コード評価システムの操作者等は、複数の関連二次元コードが互いに関連付けられていることが評価(確認)され、当該関連二次元コードによる管理対象の真正性が担保された(認証された)ことを、非公開情報の表示により知ることができ、さらに、複数の関連二次元コードの各々に埋め込まれている追加の情報を二次元コード評価システムの操作者等にまとめて提示することができる。 In such a case, an operator of the two-dimensional code evaluation system evaluates (confirms) that a plurality of related two-dimensional codes are associated with each other, and ensures the authenticity of the management target by the related two-dimensional code. (Authenticated) can be known by displaying non-public information, and additional information embedded in each of a plurality of related two-dimensional codes is collected by an operator of the two-dimensional code evaluation system. Can be presented.
 また、前記表示工程においては、各々の前記公開情報を前記序列番号の順に表示し、各々の前記非公開情報を前記序列番号の順に表示することとしてもよい。 Further, in the display step, each of the public information may be displayed in the order of the order numbers, and each of the non-public information may be displayed in the order of the order numbers.
 かかる場合には、関連二次元コードの読み取り順に影響されることなく、所望の順番で公開情報及び非公開情報を表示することが可能となる。 In such a case, it is possible to display public information and non-public information in a desired order without being affected by the reading order of the related two-dimensional code.
 次に、上記二次元コード生成システムにより生成された複数の関連二次元コードを読み取って、該複数の関連二次元コードが互いに関連付けられていることを評価する二次元コード評価システムであって、
 前記関連二次元コードから前記置換後データブロックを求め、前記置換後データブロックから前記非公開データコード語を抽出し、前記非公開データコード語から前記関連コード情報を取り出す関連コード情報取り出し処理を、読み取った前記複数の関連二次元コードの各々に対して実行し、
 前記複数の関連二次元コードの各々から取得された前記関連コード情報に基づいて、前記複数の関連二次元コードが互いに関連付けられていることを評価することを特徴とする二次元コード評価システム。
Next, a two-dimensional code evaluation system that reads a plurality of related two-dimensional codes generated by the two-dimensional code generation system and evaluates that the plurality of related two-dimensional codes are associated with each other.
Obtaining the replaced data block from the related two-dimensional code, extracting the secret data code word from the replaced data block, and extracting related code information from the secret data code word; Executing each of the read related two-dimensional codes,
A two-dimensional code evaluation system for evaluating that the plurality of related two-dimensional codes are associated with each other based on the related code information acquired from each of the plurality of related two-dimensional codes.
 かかる場合には、対象を二次元コードで管理する際に真正性を担保することを、関連二次元コードに係る技術を用いて、適切に実現することが可能となる。 In such a case, it is possible to appropriately realize the guarantee of authenticity when managing the object with the two-dimensional code, using the technology related to the related two-dimensional code.
 次に、互いに関連付けられた複数の関連二次元コードを生成する二次元コード生成システムであって、
 非公開データコード語を求め、公開データコード語と誤り訂正コード語とを有する置換前コードブロックを求め、前記置換前コードブロックの一部を前記非公開データコード語で置換することにより前記非公開データコード語が隠蔽された置換後コードブロックを求め、前記置換後データブロックに基づいて前記関連二次元コードを生成する生成工程を、複数回実行することにより、前記複数の関連二次元コードの各々を生成し、
 各々の前記生成工程において前記非公開データコード語を求める際に、前記複数の関連二次元コードが互いに関連付けられていることを特定可能とするための関連コード情報を、前記非公開データコード語に含ませる二次元コード生成システムと、
 該二次元コード生成システムにより生成された複数の関連二次元コードを読み取って、該複数の関連二次元コードが互いに関連付けられていることを評価する二次元コード評価システムであって、
 前記関連二次元コードから前記置換後データブロックを求め、前記置換後データブロックから前記非公開データコード語を抽出し、前記非公開データコード語から前記関連コード情報を取り出す関連コード情報取り出し処理を、読み取った前記複数の関連二次元コードの各々に対して実行し、
 前記複数の関連二次元コードの各々から取得された前記関連コード情報に基づいて、前記複数の関連二次元コードが互いに関連付けられていることを評価する二次元コード評価システムと、
 を備えることを特徴とする二次元コード管理システム。
Next, a two-dimensional code generation system that generates a plurality of related two-dimensional codes associated with each other,
Obtaining a private data code word, obtaining a pre-replacement code block having a public data code word and an error correction code word, and replacing the private data code word with a part of the pre-replacement code block by the private data code word Each of the plurality of related two-dimensional codes is obtained by executing a generation step of obtaining a replacement code block in which a data code word is concealed and generating the related two-dimensional code based on the replacement data block. Produces
When obtaining the non-public data code word in each of the generation steps, related code information for enabling identification of the plurality of related two-dimensional codes being associated with each other is included in the non-public data code word. A two-dimensional code generation system to include,
A two-dimensional code evaluation system that reads a plurality of related two-dimensional codes generated by the two-dimensional code generation system and evaluates that the plurality of related two-dimensional codes are associated with each other.
Obtaining the replaced data block from the related two-dimensional code, extracting the secret data code word from the replaced data block, and extracting related code information from the secret data code word; Executing each of the read related two-dimensional codes,
A two-dimensional code evaluation system that evaluates that the plurality of related two-dimensional codes are associated with each other based on the related code information acquired from each of the plurality of related two-dimensional codes;
A two-dimensional code management system comprising:
 かかる場合には、対象を二次元コードで管理する際に真正性を担保することを、関連二次元コードに係る技術を用いて、適切に実現することが可能となる。 In such a case, it is possible to appropriately realize the guarantee of authenticity when managing the object with the two-dimensional code, using the technology related to the related two-dimensional code.
 ===本実施の形態に係るQRコード(二次元コードの一例)について===
 先ず、本実施の形態で用いられる二次元コードの一例としてのQRコードについて説明する。なお、以下の説明で特段のことわりのない場合には、日本工業規格 JIS X 0510 : 2004「二次元コードシンボル-QRコード-」(以下、単に「JIS規格」ということがある)に準ずる。また、このJIS規格に準ずるエンコーダを標準エンコーダといい、JIS規格に準ずるデコーダを標準デコーダという。また、非公開とされる(隠蔽される)非公開データコード語(非公開情報)を取り扱うことができるエンコーダを拡張エンコーダ10(二次元コード生成システムに相当)といい、デコーダを拡張デコーダ20(二次元コード評価システムに相当)という。また、当該拡張エンコーダ10と当該拡張デコーダ20により拡張管理システム(二次元コード管理システムに相当)が構成される。
=== Regarding QR Code (Example of Two-Dimensional Code) According to the Present Embodiment ===
First, a QR code as an example of a two-dimensional code used in the present embodiment will be described. If there is no notice in the following description, it conforms to Japanese Industrial Standards JIS X 0510: 2004 “Two-dimensional code symbol—QR code” (hereinafter sometimes simply referred to as “JIS standard”). An encoder that conforms to the JIS standard is referred to as a standard encoder, and a decoder that conforms to the JIS standard is referred to as a standard decoder. An encoder that can handle a private data code word (private information) that is made private (hidden) is called an extended encoder 10 (corresponding to a two-dimensional code generation system), and a decoder is an extended decoder 20 ( Equivalent to a two-dimensional code evaluation system). The extension encoder 10 and the extension decoder 20 constitute an extension management system (corresponding to a two-dimensional code management system).
 つまり、ここで用いられるQRコードは、公開情報と非公開情報とを記録することができる二次元コード(このようなQRコードを拡張QRコードということがある)を前提としている。公開情報は、JIS規格のデコーダ(標準デコーダ)で読み出し可能な情報である。一方、非公開情報は、標準デコーダでは読み出すことができず、後述する拡張デコーダ20によって抽出することが可能な情報である。 That is, the QR code used here is premised on a two-dimensional code capable of recording public information and non-public information (such a QR code may be referred to as an extended QR code). The public information is information that can be read by a JIS standard decoder (standard decoder). On the other hand, the non-public information is information that cannot be read by the standard decoder and can be extracted by the extended decoder 20 described later.
 また、以下の説明において、「コード語」は、8ビット長として説明するが、システムに応じて、16ビット長とすることもできるし、1ビット長など他の長さを有するものとすることもできる。 In the following description, the “code word” is described as having an 8-bit length. However, depending on the system, the “code word” may be a 16-bit length, or may have another length such as a 1-bit length. You can also.
 図1は、QRコードシンボル1の説明図である。QRコードシンボル1(以下、単に、「QRコード」ということもある)は、1型から40型まで様々なサイズが用意されているが、ここでは、一例として型番「2」を例に各機能について説明する。 FIG. 1 is an explanatory diagram of the QR code symbol 1. QR code symbol 1 (hereinafter, sometimes simply referred to as “QR code”) is available in various sizes from type 1 to type 40. Here, model number “2” is taken as an example for each function. Will be described.
 QRコードシンボル1は、機能パターンと符号化領域を有する。機能パターンは、QRコードのモジュール内での復号化を補助するために必要なQRコードシンボル位置の検索や特性の識別に必要なパターンである。符号化領域は、必要となる情報が書き込まれている領域である。 QR code symbol 1 has a function pattern and a coding area. The function pattern is a pattern necessary for searching a QR code symbol position and identifying a characteristic necessary for assisting decoding in a QR code module. The encoding area is an area where necessary information is written.
 機能パターンは、位置検出パターンFP、分離パターンSP、タイミングパターンTP、位置合わせパターンAP、および、クワイエットゾーンQZを有する。 The function pattern includes a position detection pattern FP, a separation pattern SP, a timing pattern TP, an alignment pattern AP, and a quiet zone QZ.
 位置検出パターンFPは、QRコードの少なくとも3つの隅に配置されるパターンである。読み取り時において、3つの位置検出パターンFPを識別することで、QRコードシンボル1の方向や位置を正しく認識可能とする。 The position detection pattern FP is a pattern arranged at at least three corners of the QR code. At the time of reading, by identifying the three position detection patterns FP, the direction and position of the QR code symbol 1 can be correctly recognized.
 分離パターンSPは、位置検出パターンFPの周りに配置される1モジュール幅の明モジュールである。これにより、位置検出パターンFPをQRコードシンボル1から区別することができるようになる。 The separation pattern SP is a light module having a width of 1 module arranged around the position detection pattern FP. As a result, the position detection pattern FP can be distinguished from the QR code symbol 1.
 モジュールMは、QRコードシンボル1を構成する単位セルである。原則として、1ビットが1モジュールに相当する。なお、ここでは、QRコードを構成する単位セルであるモジュールMを複数集合させたものをモジュール群と呼ぶ。 Module M is a unit cell constituting QR code symbol 1. In principle, one bit corresponds to one module. Here, a group of a plurality of modules M, which are unit cells constituting the QR code, is referred to as a module group.
 タイミングパターンTPは、暗モジュールと明モジュールが1モジュールずつ直線状に交互に配置されたパターンである。タイミングパターンTPによって、QRコードシンボル1のモジュール数を認識可能となるため、これによりQRコードの型番を識別することができる。 The timing pattern TP is a pattern in which dark modules and bright modules are alternately arranged in a straight line one module at a time. Since the number of modules of the QR code symbol 1 can be recognized by the timing pattern TP, it is possible to identify the QR code model number.
 位置合わせパターンAPは、QRコードの型番によって決められた位置に配置されるパターンである。位置合わせパターンAPは、大きなモジュールの場合、QRコードシンボル1の位置の検索を補助する働きをする。 The alignment pattern AP is a pattern arranged at a position determined by the QR code model number. The alignment pattern AP serves to assist the search for the position of the QR code symbol 1 in the case of a large module.
 クワイエットゾーンQZは、QRコードの周囲に設けられる最低4モジュール幅の明モジュール領域である。 The quiet zone QZ is a bright module area of at least 4 modules wide provided around the QR code.
 符号化領域は、データおよび誤り訂正コード語(以下、単に「訂正コード語」ということがある)と、形式情報FIを有する。また、型番の大きなものには型番情報も付加される。形式情報FIは、誤り訂正レベルと標準マスクパターン(JIS規格におけるマスクパターン)の情報を有する。 The encoding area has data, an error correction code word (hereinafter sometimes simply referred to as “correction code word”), and format information FI. In addition, model number information is also added to a large model number. The format information FI includes information on an error correction level and a standard mask pattern (mask pattern in JIS standard).
 データおよび誤り訂正コード語は、実際のデータおよびデータが読み出せなかった場合の誤り訂正用の誤り訂正コード語を配置する。形式情報は、QRコードシンボル1に適用する誤り訂正レベルおよび使用する標準マスクパターンに関する情報を有し、符号化領域を復号化するのに必要な符号化パターンである。 The data and error correction code words are arranged as error correction code words for error correction when actual data and data cannot be read. The format information has information on the error correction level applied to the QR code symbol 1 and the standard mask pattern to be used, and is a coding pattern necessary for decoding the coding region.
 図2は、拡張エンコーダ10のブロック図である。拡張エンコーダ10は、公開情報のみならず非公開情報を含んだ情報をQRコードシンボル1に変換する装置である。拡張エンコーダ10は、制御部11と表示装置13と印刷装置14と入力装置15を備える。 FIG. 2 is a block diagram of the extension encoder 10. The extension encoder 10 is a device that converts not only public information but also information including non-public information into a QR code symbol 1. The extension encoder 10 includes a control unit 11, a display device 13, a printing device 14, and an input device 15.
 制御部11は、演算部11aと記憶部11bを備える。演算部11aは中央演算装置等からなり、プログラムの実行および種々の演算を担う。記憶部11bは、プログラムの実行に際して、必要なデータの記憶を担う。特に、記憶部11bには、各種処理を実行するためのプログラムが記憶されている。 The control unit 11 includes a calculation unit 11a and a storage unit 11b. The calculation unit 11a includes a central processing unit and the like, and is responsible for executing programs and various calculations. The storage unit 11b is responsible for storing necessary data when executing the program. In particular, the storage unit 11b stores programs for executing various processes.
 表示装置13は、データの入力等に際し必要な表示機能を担う。また、表示装置13は、生成されたQRコードシンボル1をディスプレイに表示する。印刷装置14も、生成されたQRコードシンボル1を印刷により紙媒体等に表示する。また、入力装置15は、データの入力および拡張エンコーダ10の操作に使用される。 The display device 13 has a display function necessary for data input and the like. The display device 13 displays the generated QR code symbol 1 on a display. The printing device 14 also displays the generated QR code symbol 1 on a paper medium or the like by printing. The input device 15 is used for data input and operation of the extension encoder 10.
 本実施の形態においては、二次元コード(QRコード)として、関連二次元コード(QRコードの関連二次元コードであるため、以下、関連QRコードと呼ぶ)が用いられる。関連QRコードとは、当該関連QRコードに関連付けられた他の関連QRコードが存在するQRコードである。すなわち、通常のQRコードは、それ自身で独立しており、他のQRコードとは無関係であるが、関連QRコードは他の関連QRコードと関連付けられており、これらの関連QRコードは互いに連鎖している。 In the present embodiment, as a two-dimensional code (QR code), a related two-dimensional code (because it is a related two-dimensional code of a QR code, hereinafter referred to as a related QR code) is used. The related QR code is a QR code in which there is another related QR code associated with the related QR code. That is, a normal QR code is independent by itself and independent of other QR codes, but related QR codes are associated with other related QR codes, and these related QR codes are linked to each other. doing.
 このような関連QRコードの代表的な例としては、JIS規格の第9章に規定されている構造的連接関係を有するQRコード(構造的連接QRコードとも呼ぶ)を挙げることができる。構造的連接QRコードとは、自身のコード情報が、あるコード情報をもとに互いに関連を持って分割された部分的コードであることが判別可能に組み込まれたコードである。すなわち、これを利用することにより大コードを、関連を持った複数の小コードに分割することができ、分割された複数の小コードが関連QRコードとなる。 As a representative example of such a related QR code, a QR code having a structural connection relationship defined in Chapter 9 of the JIS standard (also referred to as a structural connection QR code) can be given. The structurally concatenated QR code is a code that is incorporated so that it is possible to determine that its own code information is a partial code divided in association with each other based on certain code information. That is, by using this, a large code can be divided into a plurality of related small codes, and the plurality of divided small codes become related QR codes.
 しかしながら、本明細書で取り扱う関連二次元コードは、このようなJIS規格標準の構造的連接QRコードではない。以下では、JIS規格標準の構造的連接QRコードのことを標準関連QRコードとも呼び、本稿で取り扱う関連二次元コードを拡張関連QRコードとも呼ぶ。 However, the related two-dimensional code handled in this specification is not such a structurally connected QR code of the JIS standard. Hereinafter, the structurally connected QR code of the JIS standard is also referred to as a standard related QR code, and the related two-dimensional code handled in this paper is also referred to as an extended related QR code.
 詳細については後述するが、標準関連QRコードと拡張QRコードの相違点は、以下の通りである。すなわち、標準関連QRコードでは、複数の関連QRコードが互いに関連付けられていることを特定可能とするための関連コード情報(JIS規格の8.3.7章に定義があり、9.1章に記載されている構造的連接ヘッダ)が隠蔽されておらず、したがって、標準デコーダで関連QRコードを読み込んだ際に、標準デコーダは当該QRコードが関連QRコード(構造的連接QRコード)であることを把握することができる。 Although details will be described later, the differences between the standard-related QR code and the extended QR code are as follows. That is, in the standard related QR code, related code information for defining that a plurality of related QR codes are associated with each other (defined in Chapter 8.3.7 of the JIS standard, and in Section 9.1). (The structural connection header described) is not concealed. Therefore, when the related QR code is read by the standard decoder, the standard decoder indicates that the QR code is the related QR code (structural connection QR code). Can be grasped.
 一方で、拡張関連QRコードでは、前記関連コード情報が非公開データコード語に含まれているため(つまり、関連コード情報が隠蔽されているため)、標準デコーダで関連QRコードを読み込んだ際に、標準デコーダは当該QRコードが関連QRコードであることを把握することができない(換言すれば、通常のQRコードと認識する)。そして、非公開データコード語(非公開情報)を取り扱うことができる拡張デコーダ20で読み込むことにより、初めて、当該QRコードが関連QRコードであることを認識することができる。 On the other hand, in the extended related QR code, since the related code information is included in the private data code word (that is, the related code information is concealed), when the related QR code is read by the standard decoder The standard decoder cannot recognize that the QR code is a related QR code (in other words, it is recognized as a normal QR code). Then, it can be recognized for the first time that the QR code is a related QR code by reading it with the extension decoder 20 that can handle the private data code word (private information).
 図3は、本実施の形態に係る関連QRコード(拡張関連QRコード)のRSブロックの概要図である。まず、図3を参照しつつ、拡張関連QRコードのデータフォーマットの概要、および、非公開データコード語(非公開情報及び関連コード情報)を埋め込む手法について説明する。図3には、誤り訂正処理単位として、RS(リード・ソロモン)ブロックが示されている。QRコードシンボル1には、1または複数のRSブロックが含まれる。そして、RSブロックを1つの誤り訂正処理単位としている。 FIG. 3 is a schematic diagram of an RS block of a related QR code (extended related QR code) according to the present embodiment. First, an outline of the data format of the extended related QR code and a method of embedding private data code words (private information and related code information) will be described with reference to FIG. FIG. 3 shows an RS (Reed-Solomon) block as an error correction processing unit. The QR code symbol 1 includes one or a plurality of RS blocks. The RS block is used as one error correction processing unit.
 なお、ここで説明する実施形態においては、リード・ソロモン(RS)符号による誤り訂正方式を採用しているため、誤り検出訂正演算の処理単位ブロックの一例として、「RSブロック」と記載している。 In the embodiment described here, an error correction method using a Reed-Solomon (RS) code is adopted, so that “RS block” is described as an example of a processing unit block for error detection and correction calculation. .
 置換前RSブロック(置換前コードブロックに相当。後に、置換後RSブロックが登場するため、ここでは置換前RSブロックとして置換後RSブロックとは区別する)は、表示対象である情報本体(公開情報に相当する)と、非表示部分である終端符号と、非表示部分であるパディングコード語とを有する公開データコード語を含む。また、置換前RSブロックは、訂正コード語としてのRS(リード・ソロモン)符号を含む。情報本体とは、標準デコーダであってもQRコードシンボル1を読み取ったときにデコード可能な情報である。終端符号は、情報本体の終端を表す符号である。パディングコード語は、情報本体のコード語の総数がQRコードシンボル1の容量に満たない場合、空のコード語部分を充填する目的で使用される仮のコード語である。RS符号は、RSブロックを単位として誤り訂正するために付加される符号である。 The pre-replacement RS block (corresponding to the pre-replacement code block. Later, a post-replacement RS block will appear, so here it is distinguished from the post-replacement RS block as the pre-replacement RS block). ), A terminal code that is a non-display portion, and a padding code word that is a non-display portion. The pre-replacement RS block includes an RS (Reed-Solomon) code as a correction code word. The information body is information that can be decoded when the QR code symbol 1 is read even by a standard decoder. The end code is a code representing the end of the information body. The padding code word is a temporary code word used for the purpose of filling an empty code word portion when the total number of code words in the information body is less than the capacity of the QR code symbol 1. The RS code is a code added for error correction in units of RS blocks.
 QRコードでは、「L」「M」「Q」「H」の4段階の誤り訂正レベルが選択可能である。誤り訂正レベル「L」では、全体の語数に対して約7%の誤り訂正能力を有する。例えば、RSブロックの語数を100%とした場合、そのうちの約7%の誤り訂正能力を有する。誤り訂正レベル「M」では、全体の語数に対して約15%の訂正能力を有する。誤り訂正レベル「Q」では、全体の語数に対して約25%の訂正能力を有する。誤り訂正レベル「H」では、全体の語数に対して約30%の誤り訂正能力を有する。本実施の形態では、例えば、最高クラスの誤り訂正能力である「H」を利用して、非公開データコード語(非公開情報及び関連コード情報)をQRコードに隠蔽する。ただし、コードシンボルが形成された媒体の破損の恐れの程度に応じて、あるいは方式によっては隠蔽される非公開データコード語の語数に応じて誤り訂正レベルを変更してもよい。 In the QR code, four error correction levels of “L”, “M”, “Q”, and “H” can be selected. The error correction level “L” has an error correction capability of about 7% with respect to the total number of words. For example, when the number of words in the RS block is 100%, the error correction capability is about 7%. The error correction level “M” has a correction capability of about 15% with respect to the total number of words. The error correction level “Q” has a correction capability of about 25% with respect to the total number of words. The error correction level “H” has an error correction capability of about 30% with respect to the total number of words. In the present embodiment, for example, “H” which is the highest class error correction capability is used to conceal the secret data code word (secret information and related code information) in the QR code. However, the error correction level may be changed according to the degree of fear of damage to the medium on which the code symbol is formed or depending on the number of secret data code words to be concealed depending on the method.
 QRコードに情報を隠蔽する手法の概念は、次の通りである。ここで、情報の「隠蔽」とは、標準の方法(装置、ソフトウェア等。具体例は、デコーダ)によって読み出し取得ができる通常の情報とは異なり、標準の方法(装置、ソフトウェア等。具体例は、デコーダ)では読み出し取得できないようにすることを意味する。図3には、非公開データコード語が示されている。ここでは、この非公開データコード語でRSブロックの一部を置換する。このように、一部を置換した場合であっても、標準デコーダでは、置換後の情報本体部分を、RS符号を用いて訂正できる。そして、訂正後の情報本体部分を読み出して表示することができる。一方、非公開データコード語は、RS符号により訂正されて捨てられてしまう情報であるため、標準デコーダでは表示されないことになる。 The concept of the method for hiding information in the QR code is as follows. Here, “concealment” of information is different from normal information that can be read and acquired by a standard method (apparatus, software, etc., a specific example is a decoder), and a standard method (apparatus, software, etc.). , Decoder) means that reading and acquisition cannot be performed. FIG. 3 shows private data code words. Here, a part of the RS block is replaced with this private data code word. In this way, even if a part is replaced, the standard decoder can correct the replaced information body portion using the RS code. Then, the corrected information body part can be read and displayed. On the other hand, since the private data code word is information that is corrected by the RS code and discarded, it is not displayed by the standard decoder.
 これに対し、拡張デコーダ20では、後述するように、置換後RSブロックから非公開データコード語を抽出する。そして、その後、RS符号により訂正を行って情報本体部分を読み出す。以上の原理によりQRコードシンボル1に非公開情報及び関連コード情報を隠蔽することができる。なお、非公開データコード語でのRSブロックの一部置換方法の詳細については、後述するものとする。 On the other hand, the extended decoder 20 extracts a secret data code word from the replaced RS block as will be described later. Then, after that, correction is performed with the RS code and the information body part is read out. With the above principle, it is possible to hide the secret information and the related code information in the QR code symbol 1. The details of the method of partially replacing the RS block with the private data code word will be described later.
 前述したとおり、また、図3に示すように、関連コード情報は、非公開情報と共に非公開データコード語に含まれている。ただし、この関連コード情報を含む非公開データコードは、先頭の非公開データコード語(つまり、先頭の置換前RSブロックの置換対象となる非公開データコード語)のみである(ただし、先頭に限定されるものではなく、例えば、二番目の非公開データコード語のみであってもよい)。本実施の形態に係る関連コード情報は、図4に示すように、識別情報と、連鎖数情報と、序列番号情報と、指標情報と、を備えている。なお、図4は、関連コード情報の一例を示した図である。 As described above, as shown in FIG. 3, the related code information is included in the private data code word together with the private information. However, the private data code including the related code information is only the first private data code word (that is, the private data code word to be replaced with the first pre-replacement RS block) (but limited to the top). For example, it may be only the second private data code word). As shown in FIG. 4, the related code information according to the present embodiment includes identification information, chain number information, rank number information, and index information. FIG. 4 is a diagram showing an example of related code information.
 識別情報は、QRコードが関連QRコードであるか否かを示す情報である。この識別情報は、全ての関連QRコードに対して共通のものであり(通常のQRコードでなく関連QRコードであれば同じ値を採り)、本実施の形態(図4の例)では、当該識別情報を「01010000(2進数)」としている。そして、拡張デコーダ20が、この数値「01010000(2進数)」を読み取ることにより、QRコードが(通常の関連QRコードではなく)関連QRコードであることを把握することができるようになっている。 The identification information is information indicating whether the QR code is a related QR code. This identification information is common to all the related QR codes (the same value is used if the related QR code is not a normal QR code), and in the present embodiment (example in FIG. 4), The identification information is “01010000 (binary number)”. Then, the extension decoder 20 can grasp that the QR code is a related QR code (not a normal related QR code) by reading this numerical value “01010000 (binary number)”. .
 連鎖数情報は、互いに関連付けられた複数の関連QRコードの連鎖数を示す情報である。すなわち、連鎖数情報は、互いに関連付けられた複数の関連QRコードから構成されるQRコードグループ(集合体)の要素数とも言える。図4の例では、連鎖数情報は「3(10進数)」であり、三つの関連QRコード(QRコードA、QRコードB、QRコードC)が互いに関連付けられていることを意味している。 Chain number information is information indicating the chain number of a plurality of related QR codes associated with each other. That is, the chain number information can be said to be the number of elements of a QR code group (aggregate) composed of a plurality of related QR codes associated with each other. In the example of FIG. 4, the chain number information is “3 (decimal number)”, which means that three related QR codes (QR code A, QR code B, QR code C) are associated with each other. .
 序列番号情報は、当該関連コード情報を備える関連QRコードが、前記連鎖数分の関連QRコードのうちの何番目の関連QRコードであるかを示す情報である。図4の例では、QRコードAの序列番号情報は「1(10進数)」であり、したがって、QRコードAは、3個中1番目の関連QRコードとなっている。同様に、QRコードB、QRコードCの序列番号情報は「2(10進数)」、「3(10進数)」であり、したがって、QRコードB、QRコードCは、3個中2番目、3番目の関連QRコードとなっている。 The order number information is information indicating the number of related QR codes among the related QR codes corresponding to the number of chains. In the example of FIG. 4, the rank number information of the QR code A is “1 (decimal number)”. Therefore, the QR code A is the first related QR code out of three. Similarly, the order number information of QR code B and QR code C is “2 (decimal number)” and “3 (decimal number)”. Therefore, QR code B and QR code C are the second of three, This is the third related QR code.
 指標情報は、関連コード情報を備える関連QRコードが、該関連QRコードと序列番号が異なる他の関連QRコードと関連付けられているか否かを判断するための情報である。本実施の形態では、当該指標情報として、互いに関連付けられた複数の関連QRコードに共通のパスワードを用いることとしている。図4の例では、このパスワードをAF(16進数)としており、したがって、QRコードA、QRコードB、QRコードCの各々の指標情報はAF(16進数)となっている。そして、拡張デコーダ20が、このパスワード「AF(16進数)」をQRコードA、QRコードB、QRコードCの各々から読み取り、パスワードが一致していることを確認することによって、QRコードA(QRコードB、QRコードC)が該QRコードA(QRコードB、QRコードC)と序列番号が異なる他の関連QRコードと関連付けられているか否か(つまり、QRコードA、QRコードB、QRコードCが関連付けられていること)を判断することができるようになっている。 The index information is information for determining whether or not the related QR code including the related code information is associated with another related QR code having a sequence number different from that of the related QR code. In the present embodiment, as the index information, a common password is used for a plurality of related QR codes associated with each other. In the example of FIG. 4, this password is AF (hexadecimal number), and therefore each index information of QR code A, QR code B, and QR code C is AF (hexadecimal number). Then, the extended decoder 20 reads this password “AF (hexadecimal number)” from each of the QR code A, QR code B, and QR code C, and confirms that the passwords match, whereby the QR code A ( Whether or not QR code B, QR code C) is associated with other QR code having a different rank number from QR code A (QR code B, QR code C) (that is, QR code A, QR code B, QR code C is associated).
 なお、図4の例においては、序列番号が1のQRコードA及び序列番号が2のQRコードBと関連付けられている序列番号が3のQRコードは、QRコードCのみであるが、このような序列番号が3のQRコードが複数あってもよい。 In the example of FIG. 4, the QR code with the rank number 3 associated with the QR code A with the rank number 1 and the QR code B with the rank number 2 is only the QR code C. There may be a plurality of QR codes having a sequence number of 3.
 例えば、図5Aに示すように、序列番号が3のQRコードとして、QRコードCの他にQRコードC’が存在する場合もある。そして、かかるQRコードC ’の関連コード情報は、QRコードCと同じとなる。なお、QRコードCとQRコードC’は関連付けられていないので、QRコードAとQRコードBとQRコードC(又は、QRコードAとQRコードBとQRコードCとQRコードC’)は、互いに関連付けられた複数の関連QRコードと言えるが、QRコードAとQRコードBとQRコードCとQRコードC’は、互いに関連付けられた複数の関連QRコードとは言えない。 For example, as shown in FIG. 5A, there may be a QR code C ′ in addition to the QR code C as the QR code with the rank number 3. The related code information of the QR code C ′ ′ is the same as that of the QR code C. Since QR code C and QR code C ′ are not associated, QR code A, QR code B, and QR code C (or QR code A, QR code B, QR code C, and QR code C ′) are Although it can be said that a plurality of related QR codes are associated with each other, QR code A, QR code B, QR code C, and QR code C ′ cannot be said to be a plurality of related QR codes associated with each other.
 また、QRコードA、QRコードBについても同様のことが言え、例えば、図5Bに示すように、QRコードA’ 、QRコードA” 、QRコードB’が更に存在することとしてもよい。 The same applies to QR code A and QR code B. For example, as shown in FIG. 5B, QR code A ′, QR code A ″, and QR code B ′ may further exist.
 次に、具体的な関連QRコードの生成方法について、図4の例に基づいて説明する(すなわち、QRコードA、QRコードB、QRコードCを生成する方法を例に挙げて説明する)。 Next, a specific related QR code generation method will be described based on the example of FIG. 4 (that is, a method of generating QR code A, QR code B, and QR code C will be described as an example).
図6は、QRコードシンボル生成方法のフローチャートである。図7は、関連QRコードのRSブロックの説明図である。図8は、関連QRコードの非公開データコード語の説明図である。以下の説明において、特段のことわりがない場合、QRコードシンボル1へのエンコード手法は、JIS規格による手法が採用される。なお、QRコードシンボル1は、複数のRSブロックを有する場合がほとんどであるが、ここでは説明の容易のために、1つのRSブロックを例示して説明を行う。また、以下に示される内容は容易な説明を行うための例示であるので、各コード語長は実際のものと異なることがある。 FIG. 6 is a flowchart of a QR code symbol generation method. FIG. 7 is an explanatory diagram of an RS block of a related QR code. FIG. 8 is an explanatory diagram of a secret data code word of the related QR code. In the following description, when there is no special notice, a method according to the JIS standard is adopted as the encoding method to the QR code symbol 1. In most cases, the QR code symbol 1 has a plurality of RS blocks, but here, for ease of explanation, one RS block is illustrated as an example. Further, since the contents shown below are examples for easy explanation, each code word length may be different from the actual one.
 また、前提として、記憶部11bには、所定の方法で定めることができる非公開データコード語で置換される開始位置と非公開データコード語の長さ(語数)にかかわる情報(開始位置情報と長さ情報)が記憶されているものとする。同様に、非公開データコード語における関連コード情報の開始位置(本実施の形態では、非公開データコード語の先頭とする)と長さにかかわる情報が記載されているものとする。なお、どの部分がどれ位の長さだけ非公開データコード語で置換されるか、また、非公開データコード語のどの部分がどれ位の長さだけ関連コード情報で占められるかをどのように定めるかについては、任意であり、何ら本実施の形態の方法に限定されるものではない。 Also, as a premise, the storage unit 11b stores information (start position information and information) related to the start position to be replaced with a private data code word that can be determined by a predetermined method and the length (number of words) of the private data code word. Length information) is stored. Similarly, it is assumed that information related to the start position of the related code information in the secret data code word (in this embodiment, the head of the secret data code word) and the length is described. How and how much part is replaced with private data code word, and how long part of private data code word is occupied with related code information The determination is arbitrary and is not limited to the method of the present embodiment.
 先ず、QRコードAに係るQRコードシンボル1に埋め込まれる情報本体および非公開情報が取り込まれる(S102)。ここでは、情報本体を「TOKYO<cr>MINATO<cr>JPN」とし(図7)、非公開情報を「1234567890」としている(図8)。 First, the information body and non-public information embedded in the QR code symbol 1 related to the QR code A are captured (S102). Here, the information body is “TOKYO <cr> MINATO <cr> JPN” (FIG. 7), and the non-public information is “1234567890” (FIG. 8).
 次に、QRコードシンボル1の非公開データコード語を、取り込まれた非公開情報に関連コード情報を付加することにより求める(S103)。このことにより、非公開情報と関連コード情報を含んだ非公開データコード語が作成される。本実施の形態においては、図8に示すように、関連コード情報(「01010000(2進数)」を16進数に変換した「50h」、「3(10進数)」「1(10進数)」を16進数に変換した「31h」、パスワード「AFh」)と、非公開情報(「1234567890」)を、非公開データコード語に含ませることにより、非公開データコード語が求められることとなる。 Next, the private data code word of the QR code symbol 1 is obtained by adding the related code information to the captured private information (S103). As a result, a secret data code word including secret information and related code information is created. In the present embodiment, as shown in FIG. 8, related code information (“50h”, “3 (decimal number)”, “1 (decimal number)” obtained by converting “01010000 (binary number)” into a hexadecimal number is displayed. By including “31h” converted into hexadecimal number, password “AFh”) and private information (“1234567890”) in the private data code word, a private data code word is obtained.
 次に、取り込まれた情報本体(公開データコード語)及び非公開データコード語に基づいてQRコードシンボル1の型番が決定される(S104)。QRコードシンボル1は型番に応じてトータルのコード語数が定められている。トータルのコード語数は、情報本体(公開情報語)の語数を含むデータコード語数と、訂正コード語数と、の和である。また、QRコードシンボル1の型番に応じて、データコード語と訂正コード語からなるRSブロックの大きさと数が定められている。そして、誤り訂正は、RSブロックを単位として行われる。 Next, the model number of the QR code symbol 1 is determined based on the fetched information body (public data code word) and private data code word (S104). The QR code symbol 1 has a total number of code words determined according to the model number. The total number of code words is the sum of the number of data code words including the number of words of the information main body (public information word) and the number of correction code words. Also, the size and number of RS blocks made up of data code words and correction code words are determined according to the model number of the QR code symbol 1. Error correction is performed in units of RS blocks.
 例えば、誤り訂正レベルが「H」であって型番が「4」の場合、トータルのコード語数は「100」と定められている。そして、4つのRSブロックを含むことが定められている。1つのRSブロックにおけるデータコード語数は「9」であり、訂正コード語数は「16」である。 For example, when the error correction level is “H” and the model number is “4”, the total number of code words is set to “100”. It is determined that four RS blocks are included. The number of data code words in one RS block is “9”, and the number of correction code words is “16”.
 データコード語数「9」と訂正コード語数「16」の和は「25」であり、このようなRSブロックが4つあるため、型番が「4」のQRコードシンボルは、25×4=100の総コード語数を有することになる。 The sum of the number of data code words “9” and the number of correction code words “16” is “25”. Since there are four such RS blocks, the QR code symbol of the model number “4” is 25 × 4 = 100. It will have the total number of code words.
 また、このときの誤り訂正数は、RSブロック毎に「8」である。これは、データコード語数「9」のうちの「8」を訂正する能力を有することを表す。RSブロックは4つであったから、4×8=32の語数の総訂正能力を有することになる。100語のうち32語を訂正可能としているので、全体からすると32%の訂正能力を有することになる。 Also, the number of error corrections at this time is “8” for each RS block. This indicates that the data code word number “9” has the ability to correct “8”. Since there are four RS blocks, it has a total correction capacity of 4 × 8 = 32 words. Since 32 words out of 100 words can be corrected, the correction ability is 32% in total.
 非公開データコード語による置換は、RSブロック毎に、RSブロックの誤り訂正数を超えない範囲で行われる。上記の場合であると、RSブロック毎にコード語数「8」の置換が許容されることになり、全体では「32」のコード語数の置換が許容される(「総置換許容語数)と呼ぶことがある)ことになる。 Replacement with private data code words is performed for each RS block as long as the number of error corrections in the RS block is not exceeded. In the above case, the replacement of the number of code words “8” is allowed for each RS block, and the replacement of the number of code words of “32” is allowed as a whole (referred to as “total number of allowable replacement words”). There will be).
 このような演算に基づいて、非公開データコード語数が総置換許容語数を上回らず、かつ、情報本体(公開データコード語)の語数がデータコード語数を上回らない最小サイズのQRコードシンボル1の型番が選択される。 Based on such an operation, the model number of the QR code symbol 1 of the minimum size in which the number of secret data code words does not exceed the total permissible number of replacement words and the number of information body (public data code words) does not exceed the number of data code words. Is selected.
 次に、情報本体のコード語に基づいて、公開データコード語と訂正コード語とを有するRSブロック(置換前RSブロック)が生成される(S106)。RSブロックを生成するため、情報本体のコード語が複数のブロックに分割される。そして、各ブロックに対して誤り訂正コード語が生成され、生成された訂正コード語が対応するコード語の後に付加される。そして、RSブロックが生成される。なお、訂正コード語の生成手法については、JIS規格に準ずることができる。 Next, an RS block (an RS block before replacement) having a public data code word and a correction code word is generated based on the code word of the information body (S106). In order to generate the RS block, the code word of the information body is divided into a plurality of blocks. Then, an error correction code word is generated for each block, and the generated correction code word is added after the corresponding code word. Then, an RS block is generated. Note that the correction code word generation method can conform to the JIS standard.
 図7には、情報本体と終端符号と訂正コード語の一例が示されている(なお、パディングコード語が存在しない例としている)。ここでは、情報本体のコード語としてプレインなテキスト情報が示されている。終端符号は、例えば、「0000」のビット列を採用することができる。そして、情報本体を含むコード語に基づいて生成されたRS符号が付加され、RSブロックが作成されている。 FIG. 7 shows an example of an information body, a terminal code, and a correction code word (note that no padding code word exists). Here, plain text information is shown as the code word of the information body. As the termination code, for example, a bit string of “0000” can be adopted. Then, an RS code generated based on a code word including the information main body is added to create an RS block.
 このようにして生成されたRSブロックの一部が、図8に示したような非公開データコード語で置換される(S108)。すなわち、置換前RSブロックの一部を非公開データコード語で置換することにより非公開データコード語が隠蔽された置換後RSブロックを求める。 A part of the RS block generated in this way is replaced with a secret data code word as shown in FIG. 8 (S108). That is, by replacing a part of the pre-replacement RS block with a private data code word, a post-substitution RS block in which the private data code word is concealed is obtained.
 図9は、RSブロックの一部を置換したときの説明図である。図9には、前述のRSブロックと、非公開データコード語が示されている。そして、前述の非公開データコード語の開始位置情報と長さ情報に基づき、図9に示されるように、本実施の形態においては、RSブロックの先頭から非公開データコード語で置換される。 FIG. 9 is an explanatory diagram when a part of the RS block is replaced. FIG. 9 shows the above-described RS block and a secret data code word. Then, based on the start position information and length information of the above-described private data code word, as shown in FIG. 9, in the present embodiment, the private data code word is replaced from the beginning of the RS block.
 このように、RSブロックの一部が非公開データコード語で置換されると、情報本体の一部が消失してしまうことになる。しかしながら、RSブロック単位で訂正を行うことができるため、標準デコーダでは、置換後の情報本体部分をRS符号で訂正して適切に抽出し、表示できるのである。 Thus, when a part of the RS block is replaced with a secret data code word, a part of the information body is lost. However, since correction can be performed in units of RS blocks, the standard decoder can correct the information body portion after replacement with the RS code, appropriately extract it, and display it.
 そして、非公開データコード語で置換された部分は、QRコードシンボル1の汚損等による誤りであるとみなされて捨てられてしまう情報となるので、標準デコーダでは表示することができない。一方、拡張デコーダ20では、後述するように、置換後RSブロックから非公開データコード語を抽出する。そして、その後、RS符号により訂正を行って情報本体部分を抽出する。そして、抽出された非公開データコード語(非公開情報)と情報本体部分(公開情報)を表示するのである。 The portion replaced with the non-public data code word is regarded as an error due to contamination of the QR code symbol 1 and is discarded, and cannot be displayed by the standard decoder. On the other hand, the extended decoder 20 extracts a secret data code word from the post-replacement RS block, as will be described later. After that, correction is performed using the RS code to extract the information body part. Then, the extracted private data code word (private information) and the information main body part (public information) are displayed.
 次に、置換後RSブロックに基づいてQRコードシンボル1を作成する(S110)。RSブロックに基づいてQRコードシンボル1を生成する手法は、JIS規格における標準的なQRコード生成手法と同様のものを採用することができる。このようにすることで、QRコードAに係るQRコードシンボル1を生成することができる。 Next, QR code symbol 1 is created based on the replaced RS block (S110). As a method for generating the QR code symbol 1 based on the RS block, the same method as the standard QR code generation method in the JIS standard can be adopted. In this way, the QR code symbol 1 related to the QR code A can be generated.
 次に、他の関連QRコードを生成するために、ステップS102からステップS110の手順を繰り返す(S112)。すなわち、本実施の形態では、QRコードAに係るQRコードシンボル1の生成に引き続き、同様の方法を用いてQRコードBに係るQRコードシンボル1とQRコードCに係るQRコードシンボル1を生成する。このように、本実施の形態においては、ステップS102からステップS110の手順からなる生成工程を複数回実行することにより複数の関連QRコードを生成する。 Next, the procedure from step S102 to step S110 is repeated in order to generate another related QR code (S112). That is, in the present embodiment, following the generation of QR code symbol 1 related to QR code A, QR code symbol 1 related to QR code B and QR code symbol 1 related to QR code C are generated using the same method. . Thus, in the present embodiment, a plurality of related QR codes are generated by executing the generation process including the procedure from step S102 to step S110 a plurality of times.
 次に、このようにして生成されたQRコードシンボル1のデコード手法について説明する。デコードは、上述した拡張デコーダ20により行われる。拡張デコーダ20は、複数の関連QRコードを読み取って、該複数の関連QRコードが互いに関連付けられていることを評価する(確認する)。そして、これらの関連QRコードが互いに関連付けられていることが確認されることにより、当該関連QRコードによる管理対象(当該関連QRコードを所有している人や当該関連QRコードが添付されている物等)の真正性(正当性)を担保する(認証する)ことが可能となる(詳細については、具体例を挙げて後述する)。 Next, a decoding method of the QR code symbol 1 generated in this way will be described. Decoding is performed by the extension decoder 20 described above. The extension decoder 20 reads a plurality of related QR codes and evaluates (confirms) that the plurality of related QR codes are associated with each other. Then, by confirming that these related QR codes are associated with each other, the management target (the person who owns the related QR code or the item to which the related QR code is attached) Etc.) can be ensured (authenticated) (details will be described later with a specific example).
 図10は、拡張デコーダ20のブロック図である。拡張デコーダ20は、複数の関連QRコードを読み取って、QRコードシンボル1に含まれる表示対象である公開情報と非公開情報とを展開し、さらに、該複数の関連QRコードが互いに関連付けられていることを評価する(確認する)装置である。拡張デコーダ20は、制御部21と撮像装置22と表示装置23と印刷装置24と入力装置25を備える。 FIG. 10 is a block diagram of the extension decoder 20. The extension decoder 20 reads a plurality of related QR codes, expands public information and non-public information to be displayed included in the QR code symbol 1, and further associates the plurality of related QR codes with each other. It is a device that evaluates (confirms) this. The extended decoder 20 includes a control unit 21, an imaging device 22, a display device 23, a printing device 24, and an input device 25.
 制御部21は、演算部21aと記憶部21bを備える。演算部21aは中央演算装置等からなり、プログラムの実行および種々の演算を担う。記憶部21bは、プログラムの実行に際して、必要なデータの記憶を担う。特に、記憶部21bには、各種処理を実行するためのプログラムが記憶されている。 The control unit 21 includes a calculation unit 21a and a storage unit 21b. The calculation unit 21a is composed of a central processing unit and the like, and is responsible for program execution and various calculations. The storage unit 21b is responsible for storing necessary data when executing the program. In particular, the storage unit 21b stores programs for executing various processes.
 撮像装置22は、QRコードシンボル1を撮像するための装置であって、例えば、CCDカメラなどである。 The imaging device 22 is a device for imaging the QR code symbol 1 and is, for example, a CCD camera or the like.
 表示装置23は、データの入力等に際し必要な表示機能を担う。また、表示装置23は、QRコードから展開された情報をディスプレイに表示する。印刷装置24も、展開された情報を印刷により紙媒体等に表示する。また、入力装置25は、データの入力および拡張デコーダ20の操作に使用される。 The display device 23 has a display function necessary for data input and the like. The display device 23 displays the information developed from the QR code on the display. The printing device 24 also displays the developed information on a paper medium or the like by printing. The input device 25 is used for data input and operation of the extension decoder 20.
 図11は、関連QRコード評価方法のフローチャートである。以下の説明において、特段のことわりがない場合、QRコードシンボル1のデコード手法は、JIS規格による手法が採用される。 FIG. 11 is a flowchart of a related QR code evaluation method. In the following description, when there is no special notice, a method according to the JIS standard is adopted as a decoding method of the QR code symbol 1.
 また、前提として、拡張デコーダ20の記憶部21bには、所定の方法で定めることができる非公開データコード語で置換される開始位置と非公開データコード語の長さ(語数)にかかわる情報(開始位置情報と長さ情報)が記憶されているものとする。同様に、非公開データコード語における関連コード情報の開始位置(非公開データコード語の先頭)と長さにかかわる情報が記載されているものとする。なお、どの部分がどれ位の長さだけ非公開データコード語で置換されるか、また、非公開データコード語のどの部分がどれ位の長さだけ関連コード情報で占められるかをどのように定めるかについては、任意であり、何ら本実施の形態の方法に限定されるものではない。 In addition, as a premise, the storage unit 21b of the extended decoder 20 has information related to the start position to be replaced with a private data code word and the length (number of words) of the private data code word that can be determined by a predetermined method ( It is assumed that start position information and length information) are stored. Similarly, information related to the start position of the related code information in the private data code word (the head of the private data code word) and the length is described. How and how much part is replaced with private data code word, and how long part of private data code word is occupied with related code information The determination is arbitrary and is not limited to the method of the present embodiment.
 まず、QRコードシンボル1の読み取りが行われる(S202)。ここでは、最初に、QRコードAに係るQRコードシンボル1を読み取ったものとする。そして、読み取ったQRコードシンボル1に基づいて、複数のRSブロックが展開される(S204)。これら複数のRSブロックへの展開は、JIS規格に準ずるものを採用することができる。これにより、たとえば、前述の図9に示された置換後RSブロックが取得される。つまり、関連QRコードから置換後データブロックが求められることとなる。 First, QR code symbol 1 is read (S202). Here, it is assumed that the QR code symbol 1 related to the QR code A is read first. Then, a plurality of RS blocks are developed based on the read QR code symbol 1 (S204). For the development to these plurality of RS blocks, those conforming to the JIS standard can be adopted. Thereby, for example, the post-replacement RS block shown in FIG. 9 described above is acquired. That is, a post-replacement data block is obtained from the related QR code.
 次に、取得された置換後RSブロックから所定の方法によって情報本体のコード語(公開データコード語)および非公開データコード語が抽出される(S206)。 Next, the code word (public data code word) and the private data code word of the information main body are extracted from the acquired post-replacement RS block by a predetermined method (S206).
 図12は、関連QRコードの非公開データコード語の抽出方法の説明図である。図12には、置換後RSブロックと非公開データコード語が示されている。 FIG. 12 is an explanatory diagram of a method for extracting a secret data code word of a related QR code. FIG. 12 shows a post-replacement RS block and a secret datacode word.
 置換後RSブロックは、前述のように、QRコードシンボルを読み取り、JIS規格に準じて展開することにより取得することができる。本実施の形態において、拡張デコーダ20は、記憶部21bに記憶されている非公開データコード語の開始位置情報と長さ情報とに基づいて、置換後RSブロックにおける非公開データコード語の位置を特定する。そして、特定した位置から非公開データコード語を抽出する。 As described above, the post-replacement RS block can be obtained by reading the QR code symbol and expanding it according to the JIS standard. In the present embodiment, the extended decoder 20 determines the position of the secret data code word in the RS block after replacement based on the start position information and length information of the secret data code word stored in the storage unit 21b. Identify. And a secret datacode word is extracted from the specified position.
 図13は、関連QRコードの情報本体の取り出し方法の説明図である。拡張デコーダ20は、置換後RSブロックの誤り訂正を行うことにより、置換前RSブロックを取得する。そして、置換前RSブロックの先頭から終端符号までの情報を抽出し、抽出したデータを情報本体とする。つまり、置換後RSブロックから訂正コード語を用いて公開データコード語を抽出し、公開データコード語から公開情報である情報本体を取り出すこととなる。 FIG. 13 is an explanatory diagram of a method for extracting the information body of the related QR code. The extended decoder 20 acquires the pre-replacement RS block by performing error correction of the post-replacement RS block. Then, information from the beginning to the end code of the RS block before replacement is extracted, and the extracted data is used as the information body. That is, the public data code word is extracted from the post-replacement RS block using the correction code word, and the information body that is the public information is extracted from the public data code word.
 次に、拡張デコーダ20は、非公開データコード語から、非公開情報と関連コード情報を取り出す。すなわち、拡張デコーダ20は、記憶部21bに記憶されている関連コード情報の開始位置情報と長さ情報とに基づいて、非公開データコード語における関連コード情報の位置を特定する。そして、特定した位置から関連コード情報を取り出すと共に、非公開データコード語の残りの情報を非公開情報とする。 Next, the extension decoder 20 extracts the secret information and the related code information from the secret data code word. That is, the extended decoder 20 specifies the position of the related code information in the secret data code word based on the start position information and length information of the related code information stored in the storage unit 21b. Then, the related code information is extracted from the specified position, and the remaining information of the private data code word is made private information.
 拡張デコーダ20は、関連コード情報(すなわち、識別情報と連鎖数情報と序列番号情報と指標情報)を把握(確認)する(ステップS210)。つまり、識別情報から本QRコードが関連QRコードであることを把握(確認)すると共に、本実施の形態においては、他の3つの情報から当該関連QRコードが3つの関連QRコードのうちの1番目の関連QRコードであり、パスワードがAF(16進数)であることを把握(確認)する。 The extension decoder 20 grasps (confirms) related code information (that is, identification information, chain number information, sequence number information, and index information) (step S210). That is, it is grasped (confirmed) from the identification information that the QR code is a related QR code, and in the present embodiment, the related QR code is one of the three related QR codes based on the other three pieces of information. It is the second related QR code, and grasps (confirms) that the password is AF (hexadecimal number).
 なお、本実施の形態においては、上述した関連コード情報取り出し処理を、読み取った複数の関連QRコードの各々に対して実行し、複数の関連QRコードの各々から取得された関連コード情報に基づいて、複数の関連QRコードが互いに関連づけられていることを評価する。より具体的には、前記識別情報に基づいて、各々のQRコードが関連QRコードであることが確認され、複数の関連QRコードの各々から取得された連鎖数情報及び序列番号情報に基づいて、連鎖数分の互いに異なる序列番号が揃ったことが確認され、指標情報に基づいて、互いに異なる序列番号を有する連鎖数分の関連QRコードが関連付けられている(ここでは、連鎖数分の関連QRコードの指標情報(パスワード)が一致している)ことが確認された際に(評価条件が満たされた際に)、複数の関連QRコードが互いに関連付けられていると評価する。 In the present embodiment, the related code information extraction process described above is executed for each of the plurality of read related QR codes, and based on the related code information acquired from each of the plurality of related QR codes. And evaluating that a plurality of related QR codes are associated with each other. More specifically, based on the identification information, each QR code is confirmed to be a related QR code, and based on the chain number information and the sequence number information acquired from each of the plurality of related QR codes, It is confirmed that different sequence numbers for the number of chains are arranged, and related QR codes for the number of sequences having different sequence numbers are associated based on the index information (here, the related QR codes for the number of chains are related). When it is confirmed that the code index information (password) matches (when the evaluation condition is satisfied), it is evaluated that a plurality of related QR codes are associated with each other.
 ここでは、一つの関連QRコードのみしか読み取られていないため、当該評価工程は未だ実行されない。そして、表示装置23による表示についても何ら行われない。 Here, since only one related QR code is read, the evaluation process is not yet executed. No display is performed on the display device 23.
 次に、QRコードBを読み込むと、ステップS202からステップS210と同様の手順(ステップS212からステップS220)が実行され、公開情報、非公開情報、関連QRコード情報が取り出される(ステップS218)。 Next, when the QR code B is read, the same procedure as that in step S202 to step S210 (step S212 to step S220) is executed, and public information, non-public information, and related QR code information are extracted (step S218).
 拡張デコーダ20は、関連コード情報(すなわち、識別情報と連鎖数情報と序列番号情報と指標情報)を把握(確認)する(ステップS220)。つまり、識別情報から本QRコードが関連QRコードであることを把握(確認)すると共に、本実施の形態においては、他の3つの情報から当該関連QRコードが3つの関連QRコードのうちの2番目の関連QRコードであり、パスワードがAF(16進数)であることを把握(確認)する。 The extension decoder 20 grasps (confirms) related code information (that is, identification information, chain number information, sequence number information, and index information) (step S220). In other words, it is ascertained (confirmed) from the identification information that the QR code is a related QR code, and in the present embodiment, the related QR code is obtained from two other related information. It is the second related QR code, and grasps (confirms) that the password is AF (hexadecimal number).
 そして、当該関連コード情報と、QRコードAの関連コード情報と、を照らし合わせることにより、前述した評価工程が実施される(ステップS221)。ここでは、連鎖数分の互いに異なる序列番号が揃っておらず(つまり、3つのうちの1,2しかない)評価条件が満たされていないため、複数の関連QRコードが互いに関連付けられているとは評価されない。そして、このような場合には、表示装置23による表示については何ら行われない。 Then, the aforementioned evaluation process is performed by comparing the related code information with the related code information of QR code A (step S221). In this case, different rank numbers corresponding to the number of chains are not arranged (that is, only 1 or 3 out of 3), and the evaluation condition is not satisfied, so that a plurality of related QR codes are associated with each other. Is not evaluated. In such a case, no display on the display device 23 is performed.
 さらに、QRコードCを読み込むと、ステップS202からステップS210と同様の手順(ステップS222からステップS230)が実行され、公開情報、非公開情報、関連QRコード情報が取り出される(ステップS228)。 Further, when the QR code C is read, the same procedure as that in step S202 to step S210 (step S222 to step S230) is executed, and public information, non-public information, and related QR code information are extracted (step S228).
 拡張デコーダ20は、関連コード情報(すなわち、識別情報と連鎖数情報と序列番号情報と指標情報)を把握(確認)する(ステップS230)。つまり、識別情報から本QRコードが関連QRコードであることを把握(確認)すると共に、本実施の形態においては、他の3つの情報から当該関連QRコードが3つの関連QRコードのうちの3番目の関連QRコードであり、パスワードがAF(16進数)であることを把握(確認)する。 The extension decoder 20 grasps (confirms) related code information (that is, identification information, chain number information, sequence number information, and index information) (step S230). In other words, it is ascertained (confirmed) from the identification information that the QR code is a related QR code, and in the present embodiment, the related QR code is determined from three of the three related QR codes. It is the second related QR code, and grasps (confirms) that the password is AF (hexadecimal number).
 そして、当該関連コード情報と、QRコードA及びQRコードBの関連コード情報と、を照らし合わせることにより、前述した評価工程が実施される(ステップS231)。ここでは、各々のQRコードが関連QRコードであることが確認され、連鎖数分の互いに異なる序列番号が揃ったことが確認され(つまり、3つのうちの1,2,3が揃う)、互いに異なる序列番号を有する連鎖数分の関連QRコードが関連付けられている(連鎖数分の関連QRコードの指標情報(パスワード)がAFで一致している)ことが確認され、前記評価条件が満たされるため、複数の関連QRコード(QRコードA乃至QRコードC)が互いに関連付けられていると評価される。 Then, the above-described evaluation process is performed by comparing the related code information with the related code information of QR code A and QR code B (step S231). Here, it is confirmed that each QR code is a related QR code, and it is confirmed that different sequence numbers corresponding to the number of chains are arranged (that is, 1, 2, 3 out of three are arranged), and It is confirmed that related QR codes corresponding to the number of chains having different sequence numbers are associated (index information (passwords) of related QR codes corresponding to the number of chains matches in AF), and the evaluation condition is satisfied Therefore, it is evaluated that a plurality of related QR codes (QR code A to QR code C) are associated with each other.
 そして、本実施の形態においては、拡張デコーダ20がかかる評価をした際に、複数の関連QRコードが互いに関連付けられている旨(例えば、「認証できました」の文字)が表示装置23により表示される(ステップS232)。なお、表示の代わりに、又は、表示に加えて、かかる旨を音声により報知することとしてもよい。 In this embodiment, when the extended decoder 20 makes such an evaluation, the display device 23 displays that a plurality of related QR codes are associated with each other (for example, characters “authenticated”). (Step S232). In addition to the display or in addition to the display, it may be notified by voice.
 さらに、かかる際に、表示装置23は、ステップS208、ステップS218、ステップS228で取り出されたQRコードA乃至QRコードCの各々の公開情報と非公開情報も表示する(ステップS232)。なお、本実施の形態においては、図14に示すように、各々の公開情報を、関連QRコードの読み取り順ではなく、前記序列番号の順に表示し、同様に、各々の非公開情報も前記序列番号の順に表示する。また、公開情報のグループと非公開情報のグループがそれぞれ一塊になるように表示し、公開情報のグループの次に非公開情報のグループが続くように表示する。なお、図14は、ディスプレイに各種情報が表示された様子を示した模式図である。 Further, at this time, the display device 23 also displays the public information and the private information of each of the QR codes A to QR codes C taken out in step S208, step S218, and step S228 (step S232). In the present embodiment, as shown in FIG. 14, each public information is displayed in the order of the order number, not in the reading order of the related QR code. Similarly, each non-public information is also displayed in the order. Display in numerical order. Also, the public information group and the non-public information group are displayed in a lump, and the public information group is followed by the non-public information group. FIG. 14 is a schematic diagram showing various information displayed on the display.
 ===具体的な適用例について===
 上述した関連QRコードの適用例について、幾つかの例を挙げて説明する。
=== Specific Application Examples ===
An application example of the above-described related QR code will be described with some examples.
 <<<第一適用例>>>
 先ず、第一適用例について、図15及び図16を用いて説明する。図15は、第一適用例を説明するための説明図である。図16は、第一適用例に係る各種情報がディスプレイに表示された様子を示した模式図である。
<<< First application example >>>
First, a first application example will be described with reference to FIGS. 15 and 16. FIG. 15 is an explanatory diagram for explaining the first application example. FIG. 16 is a schematic diagram illustrating a state in which various information according to the first application example is displayed on the display.
 第一適用例では、上述した関連QRコードを用いて、医療施設に入院する患者に対する投薬を処方通りに間違いなく実施することをチェックする仕組みを構築する。 In the first application example, using the above-mentioned related QR code, a mechanism for checking that the medication for the patient admitted to the medical facility is definitely performed as prescribed is constructed.
 本例では、連鎖数が2の関連QRコードを用いる。また、序列番号2の関連QRコードが複数(3つ)存在する。序列番号1の関連QRコードをQRコードA、序列番号2の関連QRコードをQRコードB、QRコードB’,QRコードB”とする。 In this example, a related QR code with a chain number of 2 is used. In addition, there are a plurality (three) of related QR codes with rank number 2. Assume that the related QR code with rank number 1 is QR code A, and the related QR code with rank number 2 is QR code B, QR code B ', and QR code B ".
 QRコードAは、患者のリストバンド又はベッドサイドのサインプレートに貼付される。そして、図15に示すように、公開情報(情報本体)として診療科目、患者名、年齢、性別、血液型(例えば、「循環器内科、健康太郎様、30歳、男性、O型」)をQRコードAに埋め込み、また、非公開情報として病名(例えば、「狭心症」)をQRコードAに埋め込む。 QR code A is affixed to patient wristband or bedside sign plate. Then, as shown in FIG. 15, medical information, patient name, age, sex, and blood type (for example, “Cardiovascular Medicine, Health Taro, 30 years old, male, O type”) as public information (information body). It is embedded in QR code A, and a disease name (for example, “angina”) is embedded in QR code A as non-public information.
 QRコードB、QRコードB’,QRコードB”は、配布する薬の包材に貼付される。そして、図14に示すように、公開情報(情報本体)として診療科目、薬名(例えば、「循環器内科、経口薬1」、「循環器内科、経口薬2」、「循環器内科、経口薬3」)をQRコードB、QRコードB’,QRコードB”に埋め込み、非公開情報として投与日時(例えば、「2月16日昼用」)をQRコードB、QRコードB’,QRコードB”に埋め込む。 QR code B, QR code B ′, and QR code B ″ are affixed to the packaging material of the medicine to be distributed. And, as shown in FIG. Embedded in QR Code B, QR Code B ′, QR Code B ”,“ Public Cardiovascular Medicine, Oral Medicine 1 ”,“ Cardiovascular Medicine, Oral Medicine 2 ”,“ Cardiovascular Medicine, Oral Medicine 3 ”) The administration date and time (for example, “February 16 daytime”) is embedded in QR code B, QR code B ′, QR code B ″.
 薬を患者に配布する看護師等の担当者は、前記拡張デコーダ20として例えばハンディ端末を所有し、当該ハンディ端末を当該QRコードAとQRコードBに順次または同時にかざす。すると、当該ハンディ端末において、前述した工程が実行され、QRコードAとQRコードBが互いに関連付けられているとの評価が成される。そして、当該評価が成されると、「認証できました」の文字が図16に示すように表示され、「経口薬1」が間違いなく「健康太郎様」用のものであることが認証される。したがって、投薬の誤りの発生が確実に回避される。また、合わせて、図16に示すように、公開情報及び非公開情報がディスプレイに表示され、問題が発生してないことを担当者や患者がディスプレイを見て確認できる。 A person in charge such as a nurse who distributes medicine to a patient owns, for example, a handy terminal as the extension decoder 20, and holds the handy terminal over the QR code A and the QR code B sequentially or simultaneously. Then, in the handy terminal, the process described above is executed, and it is evaluated that QR code A and QR code B are associated with each other. Then, when the evaluation is made, the characters “I was able to authenticate” are displayed as shown in FIG. 16, and it is certified that “Oral medicine 1” is definitely for “Health Taro”. The Therefore, the occurrence of medication errors is reliably avoided. In addition, as shown in FIG. 16, the public information and the non-public information are displayed on the display, and the person in charge and the patient can confirm that there is no problem by looking at the display.
 また、同様の作業を、QRコードAとQRコードB’に行い、また、QRコードAとQRコードB”に行うことにより、「経口薬2」が間違いなく「健康太郎様」用のものであることが認証され、「経口薬3」が間違いなく「健康太郎様」用のものであることが認証される。 In addition, by performing the same work on QR code A and QR code B ', and also on QR code A and QR code B "," Oral medicine 2 "is definitely for" Health Taro " It is certified that “Oral medicine 3” is definitely for “Health Taro”.
 <<<第二適用例>>>
 次に、第二適用例について、図17及び図18を用いて説明する。図17は、第二適用例を説明するための説明図である。図18は、第二適用例に係る各種情報がディスプレイに表示された様子を示した模式図である。
<<< Second application example >>>
Next, a second application example will be described with reference to FIGS. 17 and 18. FIG. 17 is an explanatory diagram for explaining a second application example. FIG. 18 is a schematic diagram illustrating a state in which various information according to the second application example is displayed on the display.
 第二適用例では、上述した関連QRコードを用いて、作業者が依頼主の元へ出向いて作業を行うケース(例えば、家電製品の据え付け工事、修理工事や水道工事など)にて、訪問してきた作業者が真正な者であることを依頼主に確認してもらう仕組みを構築する。 In the second application example, a visit is made in a case where the worker visits the client using the related QR code described above (for example, installation work of home appliances, repair work or waterworks). A system is built to allow the client to confirm that the worker is genuine.
 本例では、連鎖数が3の関連QRコードを用いる。序列番号1の関連QRコードをQRコードA、序列番号2の関連QRコードをQRコードB、序列番号3の関連QRコードはQRコードCとする。 In this example, a related QR code with a chain number of 3 is used. Assume that the related QR code of rank number 1 is QR code A, the related QR code of rank number 2 is QR code B, and the related QR code of rank number 3 is QR code C.
 QRコードAは、作業者が携行するIDバッジ(写真、作業を請け負う会社(以下、請負会社とする)、氏名が記載されたバッジ)に貼付される。そして、図17に示すように、公開情報(情報本体)として作業者の名前(例えば、「作業太郎」)をQRコードAに埋め込み、また、非公開情報として作業者のメールアドレス(例えば、「sagyo-t@・・・」)をQRコードAに埋め込む。 QR code A is affixed to an ID badge carried by the worker (a badge with a photograph, a company undertaking the work (hereinafter referred to as a contracting company), and a name). Then, as shown in FIG. 17, the operator's name (for example, “Taro Taku”) is embedded in the QR code A as public information (information body), and the worker's email address (for example, “ sagyo-t @ ... ") is embedded in QR code A.
 依頼主が、請負会社に対し作業の予約を行うと、請負会社は依頼主へメールやファックスなどで予約書を送付する。QRコードBは、当該予約書に添付される。そして、図17に示すように、公開情報(情報本体)として予約情報(訪問日時、請負会社名等。例えば、「3月10日、○○株式会社」)をQRコードBに埋め込む(なお、本ケースでは非公開情報は埋め込まれない)。 When the client makes a work reservation with the contractor, the contractor sends a reservation form to the client by e-mail or fax. QR code B is attached to the reservation form. Then, as shown in FIG. 17, reservation information (visit date, contractor company name, etc., for example, “March 10, XX Corporation”) is embedded in QR code B as public information (information body) ( Private information is not embedded in this case).
 また、依頼主が、請負会社に対し作業の予約を行うと、請負会社は作業者へメールやファックスなどで作業指示書を送付する。QRコードCは、当該作業指示書に添付される。そして、図17に示すように、公開情報(情報本体)として作業情報(訪問日時、訪問場所、作業内容等。例えば、「3月10日、東京都世田谷区・・、エアコン修理」)をQRコードCに埋め込む(なお、本ケースでは非公開情報は埋め込まれない)。 In addition, when the client makes a work reservation with the contractor, the contractor sends a work instruction to the worker by e-mail or fax. The QR code C is attached to the work instruction. Then, as shown in FIG. 17, work information (visit date, place of visit, work contents, etc., for example, “March 10, Setagaya-ku, Tokyo, air conditioner repair”) as public information (information body) is QR. Embed in code C (in this case, private information is not embedded).
 作業者は、前記拡張デコーダ20として例えばハンディ端末を所有し、当該ハンディ端末を当該QRコードA乃至QRコードCに順次または同時にかざす。すると、当該ハンディ端末において、前述した工程が実行され、QRコードA乃至QRコードCが互いに関連付けられているとの評価が成される。そして、当該評価が成されると、「認証できました」の文字が図18に示すように表示され、依頼主が依頼した作業内容が真正な作業者により間違いなく実施されることが認証される。したがって、誤った作業が実施されたり、悪徳な業者により作業者が派遣されたりすることが確実に回避される。また、合わせて、図18に示すように、公開情報及び非公開情報がディスプレイに表示され、問題が発生してないことを作業者や依頼主がディスプレイを見て確認できる。 The worker owns, for example, a handy terminal as the extension decoder 20, and holds the handy terminal over the QR code A to QR code C sequentially or simultaneously. Then, in the handy terminal, the process described above is executed, and it is evaluated that the QR codes A to QR codes C are associated with each other. Then, when the evaluation is made, the characters “I was able to authenticate” are displayed as shown in FIG. 18, and it is verified that the work content requested by the client is definitely performed by a genuine worker. The Therefore, it is possible to reliably prevent an erroneous operation from being performed or an operator from being dispatched by an unscrupulous trader. In addition, as shown in FIG. 18, the public information and the non-public information are displayed on the display, and the operator and the client can confirm that there is no problem by looking at the display.
 また、依頼主が、保有する関連QRコード(すなわち、QRコードB)によって認証に参加することで業者の不正(たとえば検収の確認を受けていないのに作業終了としてしまうなど)を防止することができる。また、認証の結果は履歴として記録保管することで後日の監査や万が一のクレームや疑義の検証のための証左として効力を有する客観的な情報として活用できる。 In addition, the client can participate in the authentication with the associated QR code (that is, QR code B) held by the client to prevent the fraud of the trader (for example, the work is ended even though the confirmation of acceptance is not received). it can. In addition, the results of authentication can be recorded and stored as a history so that it can be used as objective information that is effective as a proof for audits in the future and verification of claims and doubts.
 ===本実施の形態に係るQRコード生成方法等の有効性について===
 上述したとおり、本実施の形態に係るQRコード生成方法は、互いに関連付けられた複数の関連QRコードを生成するQRコード生成方法であって、非公開データコード語を求め、公開データコード語と誤り訂正コード語とを有する置換前コードブロックを求め、前記置換前コードブロックの一部を前記非公開データコード語で置換することにより前記非公開データコード語が隠蔽された置換後コードブロックを求め、前記置換後データブロックに基づいて関連QRコードを生成する生成工程を、複数回実行することにより、前記複数の関連QRコードの各々を生成し、各々の前記生成工程において前記非公開データコード語を求める際に、前記複数の関連QRコードが互いに関連付けられていることを特定可能とするための関連コード情報を、前記非公開データコード語に含ませることとした。
=== Effectiveness of QR Code Generation Method According to the Present Embodiment ===
As described above, the QR code generation method according to the present embodiment is a QR code generation method that generates a plurality of related QR codes that are associated with each other. Obtaining a pre-substitution code block having a correction code word, obtaining a post-substitution code block in which the non-public data code word is concealed by replacing a part of the pre-substitution code block with the non-public data code word, Each of the plurality of related QR codes is generated by executing a generation step of generating a related QR code based on the post-replacement data block a plurality of times, and the secret data code word is changed in each of the generation steps. Related code information for making it possible to specify that the plurality of related QR codes are associated with each other when obtaining , It was decided to include in the private data codewords.
 また、本実施の形態に係る拡張エンコーダ10(QRコード生成システム)は、互いに関連付けられた複数の関連QRコードを生成する拡張エンコーダ10(QRコード生成システム)であって、非公開データコード語を求め、公開データコード語と誤り訂正コード語とを有する置換前コードブロックを求め、前記置換前コードブロックの一部を前記非公開データコード語で置換することにより前記非公開データコード語が隠蔽された置換後コードブロックを求め、前記置換後データブロックに基づいて関連QRコードを生成する生成工程を、複数回実行することにより、前記複数の関連QRコードの各々を生成し、各々の前記生成工程において前記非公開データコード語を求める際に、前記複数の関連QRコードが互いに関連付けられていることを特定可能とするための関連コード情報を、前記非公開データコード語に含ませることとした。 The extended encoder 10 (QR code generation system) according to the present embodiment is an extended encoder 10 (QR code generation system) that generates a plurality of related QR codes that are associated with each other. Finding a pre-replacement code block having a public data code word and an error correction code word, and concealing the private data code word by replacing a part of the pre-replacement code block with the private data code word And generating each of the plurality of related QR codes by executing a generation step of generating a related QR code based on the replacement data block a plurality of times, and generating each of the plurality of related QR codes. The plurality of related QR codes are associated with each other when determining the secret data code word in FIG. The related code information for enabling identifying Rukoto, it was decided to include in the private data codewords.
 また、本実施の形態に係るQRコード評価方法は、上記のQRコード生成方法により生成された複数の関連QRコードを読み取って、該複数の関連QRコードが互いに関連付けられていることを評価するQRコード評価方法であって、前記関連QRコードから前記置換後データブロックを求め、前記置換後データブロックから前記非公開データコード語を抽出し、前記非公開データコード語から前記関連コード情報を取り出す関連コード情報取り出し処理を、読み取った前記複数の関連QRコードの各々に対して実行する取り出し工程と、前記複数の関連QRコードの各々から取得された前記関連コード情報に基づいて、前記複数の関連QRコードが互いに関連付けられていることを評価する評価工程と、を有することとした。 Also, the QR code evaluation method according to the present embodiment reads a plurality of related QR codes generated by the above-described QR code generation method, and evaluates that the plurality of related QR codes are associated with each other. A code evaluation method for obtaining the replaced data block from the related QR code, extracting the secret data code word from the replaced data block, and extracting the related code information from the secret data code word Based on the related code information acquired from each of the plurality of related QR codes and the related code information acquired from each of the plurality of related QR codes, a plurality of related QR codes are extracted. And an evaluation step for evaluating that the codes are associated with each other.
 また、本実施の形態に係る拡張デコーダ20(QRコード評価システム)は、上記の拡張エンコーダ10(QRコード生成システム)により生成された複数の関連QRコードを読み取って、該複数の関連QRコードが互いに関連付けられていることを評価する拡張デコーダ20(QRコード評価システム)であって、前記関連QRコードから前記置換後データブロックを求め、前記置換後データブロックから前記非公開データコード語を抽出し、前記非公開データコード語から前記関連コード情報を取り出す関連コード情報取り出し処理を、読み取った前記複数の関連QRコードの各々に対して実行し、前記複数の関連QRコードの各々から取得された前記関連コード情報に基づいて、前記複数の関連QRコードが互いに関連付けられていることを評価することとした。 The extended decoder 20 (QR code evaluation system) according to the present embodiment reads a plurality of related QR codes generated by the extended encoder 10 (QR code generation system), and the plurality of related QR codes are read. An extended decoder 20 (QR code evaluation system) that evaluates that they are associated with each other, obtains the replacement data block from the related QR code, and extracts the secret data code word from the replacement data block The related code information extracting process for extracting the related code information from the non-public data code word is performed on each of the read related QR codes, and the acquired related QR code is acquired from each of the related QR codes. The plurality of related QR codes are associated with each other based on the related code information. It was decided to evaluate that.
 また、本実施の形態に係る拡張管理システム(QRコード管理システム)は、互いに関連付けられた複数の関連QRコードを生成する拡張エンコーダ10(QRコード生成システム)であって、非公開データコード語を求め、公開データコード語と誤り訂正コード語とを有する置換前コードブロックを求め、前記置換前コードブロックの一部を前記非公開データコード語で置換することにより前記非公開データコード語が隠蔽された置換後コードブロックを求め、前記置換後データブロックに基づいて関連QRコードを生成する生成工程を、複数回実行することにより、前記複数の関連QRコードの各々を生成し、各々の前記生成工程において前記非公開データコード語を求める際に、前記複数の関連QRコードが互いに関連付けられていることを特定可能とするための関連コード情報を、前記非公開データコード語に含ませる拡張エンコーダ10(QRコード生成システム)と、当該拡張エンコーダ10(QRコード生成システム)により生成された複数の関連QRコードを読み取って、該複数の関連QRコードが互いに関連付けられていることを評価する拡張デコーダ20(QRコード評価システム)であって、前記関連QRコードから前記置換後データブロックを求め、前記置換後データブロックから前記非公開データコード語を抽出し、前記非公開データコード語から前記関連コード情報を取り出す関連コード情報取り出し処理を、読み取った前記複数の関連QRコードの各々に対して実行し、前記複数の関連QRコードの各々から取得された前記関連コード情報に基づいて、前記複数の関連QRコードが互いに関連付けられていることを評価する拡張デコーダ20(QRコード評価システム)と、を備えることとした。 The extended management system (QR code management system) according to the present embodiment is an extended encoder 10 (QR code generation system) that generates a plurality of related QR codes that are associated with each other. Finding a pre-replacement code block having a public data code word and an error correction code word, and concealing the private data code word by replacing a part of the pre-replacement code block with the private data code word And generating each of the plurality of related QR codes by executing a generation step of generating a related QR code based on the replacement data block a plurality of times, and generating each of the plurality of related QR codes. The plurality of related QR codes are associated with each other when obtaining the secret data code word in FIG. And a plurality of associations generated by the extension encoder 10 (QR code generation system) and the related encoder information (QR code generation system) including the related code information for specifying the information in the private data code word. An extended decoder 20 (QR code evaluation system) that reads a QR code and evaluates that the plurality of related QR codes are associated with each other, obtains the replaced data block from the related QR code, and performs the replacement Extracting the private data code word from a subsequent data block, and executing related code information extraction processing for extracting the related code information from the private data code word for each of the read related QR codes, Based on the related code information acquired from each of the plurality of related QR codes. Te, it was decided to include the a extended decoder 20 (QR code evaluation system) for evaluating said plurality of associated QR codes have been associated with each other.
 そのため、対象をQRコードで管理する際に真正性を担保することを、関連QRコードに係る技術を用いて、適切に実現することが可能となる。 Therefore, it is possible to appropriately realize the use of the technology related to the related QR code to ensure the authenticity when the object is managed by the QR code.
 JIS規格の第9章に規定されている構造的連接QRコード等の関連QRコードは、既によく知られており、このコードを利用した技術も提案されている。しかしながら、従来は、複数の関連QRコードが互いに関連付けられていることを評価(確認、判定)することにより、当該関連QRコードによる管理対象(当該関連QRコードを所有している人や当該関連QRコードが添付されている物等)の真正性を担保する(認証する)ようなことは実施されていなかった。 Related QR codes such as structurally connected QR codes defined in Chapter 9 of the JIS standard are already well known, and techniques using these codes have also been proposed. However, conventionally, by evaluating (confirming or determining) that a plurality of related QR codes are associated with each other, the management target (the person who owns the related QR code or the related QR code) No guarantees have been made to ensure (authenticate) the authenticity of the items attached with the code.
 また、仮に、かかる事項を、構造的連接QRコードのような標準関連QRコードを用いて実施しようとする場合には、以下の問題点が生じることが考えられる。 Also, if such matters are to be implemented using a standard-related QR code such as a structurally connected QR code, the following problems may occur.
 すなわち、標準デコーダで構造的連接QRコード(関連QRコード)の一つを読み取った際には、標準デコーダはこのQRコードが構造的連接QRコード(関連QRコード)であることを理解することができ、その旨(例えば、「次のQRコードを読み取って下さい」等のメッセージ)を表示する。したがって、標準デコーダを操作する操作者は、このQRコードが通常のQRコードではなく構造的連接QRコード(関連QRコード)であることを容易に認識することができる。 That is, when one of the structurally connected QR codes (related QR codes) is read by the standard decoder, the standard decoder can understand that this QR code is a structurally connected QR code (related QR code). Yes, a message to that effect (for example, a message such as “Please read the next QR code”) is displayed. Therefore, an operator who operates the standard decoder can easily recognize that the QR code is not a normal QR code but a structurally connected QR code (related QR code).
 そして、このような認識行為は、当該操作者が悪徳な業者等であった場合に、当該業者等が付け入る契機となり得る。例えば、当該業者等は、この読み取った構造的連接QRコード(関連QRコード)を解析して、この構造的連接QRコード(関連QRコード)に関連付けられた他の構造的連接QRコード(関連QRコード)を偽造することができる。そして、この偽造した他の構造的連接QRコード(関連QRコード)を用いて、悪事を働く可能性が生ずる。 Such a recognition act can be an opportunity for the operator or the like to be added when the operator is an unscrupulous operator or the like. For example, the contractor etc. analyzes the read structural connection QR code (related QR code) and other structural connection QR code (related QR code) related to the structural connection QR code (related QR code). Code). Then, there is a possibility that a wrong action is performed using the other structurally connected QR code (related QR code) forged.
 これに対し、本実施の形態においては、前記事項を、標準関連QRコードではなく独自の関連QRコードを用いて行うこととし、当該独自の関連QRコードにおいては、関連コード情報を非公開データコード語に含ませることとした。標準デコーダでは、非公開データコード語から関連コード情報を取り出せないため、標準デコーダは、本実施の形態に係るQRコードを読み取ったとしても、通常のQRコードと理解するのみで、関連QRコードであることをそもそも理解することができない。したがって、標準デコーダを操作する操作者は、このQRコードが通常のQRコードではなく関連QRコードであることを認識することができない。そのため、操作者が悪徳な業者等であった場合であっても、当該業者等は前述した偽造を行う発想には至り得ない。 On the other hand, in the present embodiment, the above-mentioned items are performed using an original related QR code instead of a standard related QR code. In the original related QR code, the related code information is set as a private data code. Included in words. Since the standard decoder cannot extract the related code information from the non-public data code word, even if the standard decoder reads the QR code according to the present embodiment, the standard decoder only understands it as a normal QR code. I cannot understand something in the first place. Therefore, the operator who operates the standard decoder cannot recognize that this QR code is not a normal QR code but a related QR code. Therefore, even if the operator is an unscrupulous trader or the like, the trader or the like cannot reach the above-described idea of forgery.
 このように、本実施の形態に係るQRコード生成方法、拡張エンコーダ10(QRコード生成システム)、QRコード評価方法、拡張デコーダ20(QRコード評価システム)、拡張管理システム(QRコード管理システム)によれば、対象をQRコードで管理する際に、関連QRコードに係る技術を用いて、真正性をより確実に担保することができる。 As described above, the QR code generation method, the extended encoder 10 (QR code generation system), the QR code evaluation method, the extended decoder 20 (QR code evaluation system), and the extended management system (QR code management system) according to the present embodiment. According to this, when managing the object with the QR code, the authenticity can be more reliably ensured by using the technology related to the related QR code.
 また、本実施の形態において、前記関連コード情報は、QRコードが関連QRコードであるか否かを示す識別情報と、互いに関連付けられた複数の関連QRコードの連鎖数を示す連鎖数情報と、前記関連コード情報を備える関連QRコードが、前記連鎖数分の関連QRコードのうちの何番目の関連QRコードであるかを示す序列番号情報と、前記関連コード情報を備える関連QRコードが、該関連QRコードと序列番号が異なる他の関連QRコードと関連付けられているか否かを判断するための指標情報と、を有することとした。 In the present embodiment, the related code information includes identification information indicating whether the QR code is a related QR code, chain number information indicating the number of chains of a plurality of related QR codes associated with each other, and The related QR code including the related code information is sequence number information indicating the number of related QR codes among the related QR codes corresponding to the number of chains, and the related QR code including the related code information includes the related QR code. And index information for determining whether or not the related QR code is related to another related QR code having a different rank number.
 また、前記評価工程においては、前記識別情報に基づいて、各々の前記QRコードが関連QRコードであることが確認され、前記複数の関連QRコードの各々から取得された前記連鎖数情報及び前記序列番号情報に基づいて、前記連鎖数分の互いに異なる前記序列番号が揃ったことが確認され、前記指標情報に基づいて、互いに異なる前記序列番号を有する連鎖数分の前記関連QRコードが関連付けられていることが確認された際に、前記複数の関連QRコードが互いに関連付けられていると評価することとした。 Further, in the evaluation step, based on the identification information, it is confirmed that each QR code is a related QR code, and the chain number information and the order obtained from each of the plurality of related QR codes. Based on the number information, it is confirmed that the different order numbers corresponding to the number of chains are arranged, and based on the index information, the related QR codes for the number of chains having the different order numbers are associated. When it is confirmed that the plurality of related QR codes are associated with each other, the evaluation is made.
 このように、本実施の形態においては、識別情報と連鎖数情報と序列番号情報と指標情報が、非公開データコード語に含まれている。つまり、偽造を行う上で必須の情報が隠蔽されているので、第三者がこの隠蔽された情報を知らなければ、偽造を行うことがより一層難しい状況となる。したがって、本実施の形態においては、真正性をより一層確実に担保することができる。 Thus, in the present embodiment, identification information, chain number information, sequence number information, and index information are included in a secret data code word. That is, since information essential for performing forgery is concealed, if a third party does not know the concealed information, it becomes even more difficult to forge. Therefore, in the present embodiment, authenticity can be further ensured.
 また、本実施の形態においては、前記複数の関連QRコードが互いに関連付けられていると評価した際に、前記複数の関連QRコードが互いに関連付けられている旨を表示する表示工程を有することとした。 Further, in the present embodiment, when it is evaluated that the plurality of related QR codes are associated with each other, a display step for displaying that the plurality of related QR codes are associated with each other is provided. .
 そのため、複数の関連QRコードが互いに関連付けられていることが評価(確認)され、当該関連QRコードによる管理対象の真正性が担保された(認証された)ことを拡張デコーダ20の操作者等に対し、明確に知らせることが可能となる。 Therefore, it is evaluated (confirmed) that a plurality of related QR codes are associated with each other, and it is confirmed to the operator of the extended decoder 20 that the authenticity of the management target by the related QR codes is ensured (authenticated). On the other hand, it is possible to clearly notify.
 また、本実施の形態において、前記取り出し工程においては、前記置換後コードブロックから前記誤り訂正コード語を用いて前記公開データコード語を抽出し、前記公開データコード語から公開情報を取り出す公開情報取り出し処理を、読み取った前記複数の関連QRコードの各々に対して実行し、前記複数の関連QRコードが互いに関連付けられていると評価した際に、各々の前記公開情報を表示する表示工程を有することとした。 In the present embodiment, in the extracting step, the public data code word is extracted from the code block after replacement using the error correction code word, and public information is extracted from the public data code word. A process is executed for each of the plurality of related QR codes read, and when the plurality of related QR codes are evaluated to be associated with each other, a display step of displaying each of the public information is provided. It was.
 そのため、拡張デコーダ20の操作者等は、複数の関連QRコードが互いに関連付けられていることが評価(確認)され、当該関連QRコードによる管理対象の真正性が担保された(認証された)ことを、公開情報の表示により知ることができ、さらに、複数の関連QRコードの各々に埋め込まれている追加の情報(例えば、前述の第一適用例では、診療科目、患者名、年齢、性別、血液型、薬名)を拡張デコーダ20の操作者等にまとめて提示することができる。 Therefore, the operator of the extended decoder 20 has been evaluated (confirmed) that a plurality of related QR codes are associated with each other, and the authenticity of the management target by the related QR codes has been ensured (authenticated). In addition to additional information embedded in each of a plurality of related QR codes (for example, in the first application example described above, the medical subject, patient name, age, gender, Blood type and drug name) can be presented to the operator of the extension decoder 20 together.
 また、本実施の形態において、前記取り出し工程においては、前記非公開データコード語から非公開情報を取り出す非公開情報取り出し処理を、読み取った前記複数の関連QRコードの各々に対して実行し、前記表示工程においては、各々の前記非公開情報を表示することとした。 Further, in the present embodiment, in the extraction step, a private information extraction process for extracting private information from the private data code word is executed for each of the read related QR codes, In the display step, each of the non-public information is displayed.
 そのため、拡張デコーダ20の操作者等は、複数の関連QRコードが互いに関連付けられていることが評価(確認)され、当該関連QRコードによる管理対象の真正性が担保された(認証された)ことを、非公開情報の表示により知ることができ、さらに、複数の関連QRコードの各々に埋め込まれている追加の情報(例えば、前述の第一適用例では、病名、投与日時)を拡張デコーダ20の操作者等にまとめて提示することができる。 Therefore, the operator of the extended decoder 20 has been evaluated (confirmed) that a plurality of related QR codes are associated with each other, and the authenticity of the management target by the related QR codes has been ensured (authenticated). Can be known by displaying non-public information, and additional information embedded in each of a plurality of related QR codes (for example, in the first application example described above, disease name, administration date and time) It is possible to present it to the operators etc.
 また、本実施の形態において、前記表示工程においては、各々の前記公開情報を前記序列番号の順に表示し、各々の前記非公開情報を前記序列番号の順に表示することとした。 Further, in the present embodiment, in the display step, each of the public information is displayed in the order of the order numbers, and each of the non-public information is displayed in the order of the order numbers.
 そのため、関連QRコードの読み取り順に影響されることなく、所望の順番で公開情報及び非公開情報を表示することが可能となる。 Therefore, it is possible to display public information and non-public information in a desired order without being affected by the reading order of the related QR codes.
 ===その他の実施の形態===
 上記の実施の形態は、本発明の理解を容易にするためのものであり、本発明を限定して解釈するためのものではない。本発明は、その趣旨を逸脱することなく、変更、改良され得ると共に、本発明にはその等価物が含まれることは言うまでもない。特に、以下に述べる実施形態であっても、本発明に含まれるものである。
=== Other Embodiments ===
The above embodiments are for facilitating the understanding of the present invention, and are not intended to limit the present invention. The present invention can be changed and improved without departing from the gist thereof, and it is needless to say that the present invention includes equivalents thereof. In particular, the embodiments described below are also included in the present invention.
 上記実施の形態においては、二次元コードとしてQRコードを例に挙げて説明したが、これに限定されるものではなく、他の二次元コードであっても構わない。当該他の二次元コードとしては、DataMatrix(ISO/IEC16022:2006、JIS X-0512:2015)、PDF417(ISO/IEC15438:2006、JIS X-0508:2010)を、一例として挙げることができる。 In the above embodiment, the QR code has been described as an example of the two-dimensional code, but the present invention is not limited to this, and another two-dimensional code may be used. Examples of the other two-dimensional codes include DataMatrix (ISO / IEC16022: 2006, JIS X-0512: 2015), PDF417 (ISO / IEC15438: 2006, JIS X-0508: 2010).
 また、上記実施の形態においては、情報(公開情報、非公開情報)が平文であることとして説明したが、暗号化されたもの(暗号文)であってもよい。 In the above embodiment, the information (public information, non-public information) is described as plain text, but it may be encrypted (cipher text).
 また、上記実施の形態においては、指標情報として、互いに関連付けられた複数の関連QRコードに共通のパスワードを用いることとしたが、これに限定されるものではない。例えば、JIS規格の第9.3章に規定されているパリティデータのようなものを用いることとしてもよい。 In the above embodiment, a common password is used as a plurality of related QR codes associated with each other as index information. However, the present invention is not limited to this. For example, the parity data defined in Chapter 9.3 of the JIS standard may be used.
 また、指標情報が前記パスワードであり、さらに、公開情報及び非公開情報のうちの少なくとも一方が暗号文である場合(以下では、公開情報が暗号文である場合を例にとって説明する)には、以下のようにしてもよい。すなわち、当該パスワードを、前記暗号文の暗号鍵を特定するためのインデックス(見出し)情報としてもよい。例えば、複数種類のパスワードの各々毎に、このパスワードに対応する鍵の組(公開鍵暗号方式であれば、拡張エンコーダ10が前記公開情報を暗号化する際の公開鍵と拡張デコーダ20が前記公開情報を復号化する際の秘密鍵)を予め決めておく。そして、あるパスワード(例えば、図4のAF)を使用する場合には、拡張エンコーダ10が、当該パスワード(AF)に対応する公開鍵で公開情報を暗号化する。また、拡張デコーダ20は、非公開データコード語から関連コード情報(指標情報であるパスワード(AF))を取り出して当該パスワード(AF)に対応する秘密鍵を選択(特定)し、この秘密鍵で公開情報を復号化する。 In addition, when the index information is the password and at least one of the public information and the non-public information is a ciphertext (hereinafter, the case where the public information is a ciphertext will be described as an example), The following may be used. That is, the password may be index (heading) information for specifying the ciphertext encryption key. For example, for each of a plurality of types of passwords, a key pair corresponding to the password (if the public key cryptosystem is used, the public key used when the extended encoder 10 encrypts the public information and the extended decoder 20 A secret key for decrypting information) is determined in advance. When a certain password (for example, AF in FIG. 4) is used, the extension encoder 10 encrypts the public information with the public key corresponding to the password (AF). Further, the extended decoder 20 extracts related code information (password (AF) as index information) from the private data code word, selects (specifies) a secret key corresponding to the password (AF), and uses this secret key. Decrypt public information.
 上記実施の形態においては、連鎖数分の関連QRコードの指標情報(パスワード)が一致しているか否かの確認しか行っていない。かかる確認のみでも十分であるが、このようなパスワードと鍵とを対応させる形態とすれば、よりセキュリティを高めることが可能となる。すなわち、仮に(改ざん等により偶然)AF以外のパスワード(BGとする)で連鎖数分の関連QRコードの指標情報が一致した場合には、BGに対応する秘密鍵が選択されることとなり公開情報の復号化が不可能となるので、事態が正常でないことが分かるようになっている。したがって、この形態では、連鎖数分の関連QRコードに係る指標情報(パスワード)が一致することだけでなく、連鎖数分の関連QRコードに係る指標情報(パスワード)がAFで一致することまで要求されることとなる。そのため、よりセキュリティを高めることが可能となる。 In the above embodiment, only confirmation is made as to whether the index information (passwords) of the related QR codes corresponding to the number of chains matches. Such confirmation alone is sufficient, but if the password and the key are associated with each other, security can be further improved. In other words, if the index information of the related QR codes for the number of chains matches with a password other than AF (accordingly, by accident, such as tampering), the secret key corresponding to BG is selected and the public information Since it becomes impossible to decrypt the above, it is understood that the situation is not normal. Therefore, in this mode, not only the index information (password) related to the related QR code for the number of chains matches but also the index information (password) related to the related QR code for the number of chains is required to match by AF. Will be. Therefore, it is possible to further increase security.
 また、これと類似の手法として、電子署名を付加する手法を採用してもよい。すなわち、パスワードを、前記暗号文の暗号鍵を特定するためのインデックス(見出し)情報とし、複数種類のパスワードの各々毎に、このパスワードに対応する鍵の組(拡張エンコーダ10が情報(例えば、図7のTOKYO<cr>MINATO<cr>JPN)のハッシュ値を暗号化して電子署名を作成する際の秘密鍵と拡張デコーダ20が電子署名を復号化してハッシュ値を作成する際の公開鍵)を予め決めておく。そして、あるパスワード(例えば、図4のAF)を使用する場合には、拡張エンコーダ10が、当該パスワード(AF)に対応する秘密鍵で電子署名を作成する。作成された電子署名は、例えば、図3の公開情報又は非公開情報の中に含ませる(公開情報の例であれば、TOKYO<cr>MINATO<cr>JPN及び電子署名が公開情報となる)また、拡張デコーダ20は、非公開データコード語から関連コード情報(指標情報であるパスワード(AF))を取り出して当該パスワード(AF)に対応する公開鍵を選択(特定)し、この公開鍵で電子署名からハッシュ値を作成する。また、情報(例えば、図7のTOKYO<cr>MINATO<cr>JPN)からもハッシュ値を作成し、双方のハッシュ値を比較する(ハッシュ値の一致を確認する)。 Also, as a similar method, a method of adding an electronic signature may be adopted. That is, the password is index (heading) information for specifying the encryption key of the ciphertext, and for each of a plurality of types of passwords, a key set corresponding to the password (the extended encoder 10 is information (for example, FIG. 7 TOKYO <cr> MINATO <cr> JPN) is encrypted with the private key when creating the electronic signature and the public key when the extension decoder 20 decrypts the electronic signature and creates the hash value) Decide in advance. When a certain password (for example, AF in FIG. 4) is used, the extension encoder 10 creates an electronic signature with a private key corresponding to the password (AF). The created electronic signature is included in, for example, the public information or non-public information in FIG. 3 (in the case of public information, TOKYO <cr> MINATO <cr> JPN and the electronic signature are public information) Further, the extended decoder 20 extracts related code information (password (AF) as index information) from the private data code word, selects (specifies) the public key corresponding to the password (AF), and uses this public key. Create a hash value from a digital signature. Also, a hash value is created from information (for example, TOKYO <cr> MINATO <cr> JPN in FIG. 7), and both hash values are compared (hash value match is confirmed).
 仮に(改ざん等により偶然)AF以外のパスワード(BGとする)で連鎖数分の関連QRコードの指標情報が一致した場合には、BGに対応する公開鍵が選択されることとなり、電子署名から当該公開鍵を用いて作成されたハッシュ値と、情報(例えば、図7のTOKYO<cr>MINATO<cr>JPN)から作成されたハッシュ値とが一致せず、事態が正常でないことが分かるようになっている。したがって、この形態では、連鎖数分の関連QRコードに係る指標情報(パスワード)が一致することだけでなく、連鎖数分の関連QRコードに係る指標情報(パスワード)がAFで一致することまで要求されることとなる。そのため、よりセキュリティを高めることが可能となる。 If the index information of the related QR code corresponding to the number of chains matches with a password other than AF (assumed to be BG) by accident (tampering etc.), the public key corresponding to BG will be selected, and the electronic signature The hash value created using the public key does not match the hash value created from the information (for example, TOKYO <cr> MINATO <cr> JPN in FIG. 7) so that the situation is not normal. It has become. Therefore, in this mode, not only the index information (password) related to the related QR code for the number of chains matches but also the index information (password) related to the related QR code for the number of chains is required to match by AF. Will be. Therefore, it is possible to further increase security.
 また、上記実施の形態においては、二次元コード生成システムとして、制御部11と表示装置13と印刷装置14と入力装置15を備えるハンディ端末等の拡張エンコーダ10を例に挙げて説明したが、これに限定されるものではない。例えば、前記生成工程を実行する遠隔地に備えられたサーバーと、サーバーとデータのやり取りを行い、表示装置13、印刷装置14、入力装置15を備える端末と、から構成されることとしてもよい。 In the above-described embodiment, the extended encoder 10 such as a handy terminal including the control unit 11, the display device 13, the printing device 14, and the input device 15 has been described as an example of the two-dimensional code generation system. It is not limited to. For example, it may be configured from a server provided at a remote place for executing the generating step, and a terminal that exchanges data with the server and includes the display device 13, the printing device 14, and the input device 15.
 また、上記実施の形態においては、二次元コード評価システムとして、制御部21と撮像装置22と表示装置23と印刷装置24と入力装置25を備えるハンディ端末等の拡張デコーダ20を例に挙げて説明したが、これに限定されるものではない。例えば、前記評価工程を実行する遠隔地に備えられたサーバーと、サーバーとデータのやり取りを行い、撮像装置22、表示装置23、印刷装置24、入力装置25を備える端末から構成されることとしてもよい。また、印刷装置24が存在しないこととしてもよい。 In the above embodiment, the extended decoder 20 such as a handy terminal including the control unit 21, the imaging device 22, the display device 23, the printing device 24, and the input device 25 is described as an example of the two-dimensional code evaluation system. However, the present invention is not limited to this. For example, it may be configured by a server provided at a remote place for executing the evaluation process, and a terminal that exchanges data with the server and includes an imaging device 22, a display device 23, a printing device 24, and an input device 25. Good. Further, the printing device 24 may not exist.
 また、二次元コード生成システム(二次元コード評価システム)は、専用端末であってもよいし、PC、スマートフォン、携帯電話などの汎用端末に、生成(評価)工程を実行するためのソフトウェア(アプリケーション)を組み込んだものであっても構わない。 The two-dimensional code generation system (two-dimensional code evaluation system) may be a dedicated terminal or software (application) for executing a generation (evaluation) step on a general-purpose terminal such as a PC, a smartphone, or a mobile phone. ) May be incorporated.
 また、特開2017-91039号公報に開示されている技術を用いて、コードブロック(RSブロック)の保護符号化を行ってもよい。このような保護符号化を行えば、関連コード情報を含んだ非公開データコード語がより秘匿化されることとなる。 Also, protection coding of a code block (RS block) may be performed using the technique disclosed in Japanese Patent Application Laid-Open No. 2017-91039. If such protection coding is performed, the secret data code word including the related code information is further concealed.
1 QRコードシンボル
10 拡張エンコーダ
11 制御部、11a 演算部、11b 記憶部
13 表示装置、14 印刷装置、15 入力装置
20 拡張デコーダ
21 制御部、21a 演算部、21b 記憶部
22 撮像装置、23 表示装置、24 印刷装置、25 入力装置
1 QR Code Symbol 10 Extended Encoder 11 Control Unit, 11a Operation Unit, 11b Storage Unit 13 Display Device, 14 Printing Device, 15 Input Device 20 Extended Decoder 21 Control Unit, 21a Operation Unit, 21b Storage Unit 22 Imaging Device, 23 Display Device 24 printing devices, 25 input devices

Claims (11)

  1.  互いに関連付けられた複数の関連二次元コードを生成する二次元コード生成方法であって、
     非公開データコード語を求め、公開データコード語と誤り訂正コード語とを有する置換前コードブロックを求め、前記置換前コードブロックの一部を前記非公開データコード語で置換することにより前記非公開データコード語が隠蔽された置換後コードブロックを求め、前記置換後データブロックに基づいて関連二次元コードを生成する生成工程を、複数回実行することにより、前記複数の関連二次元コードの各々を生成し、
     各々の前記生成工程において前記非公開データコード語を求める際に、前記複数の関連二次元コードが互いに関連付けられていることを特定可能とするための関連コード情報を、前記非公開データコード語に含ませることを特徴とする二次元コード生成方法。
    A two-dimensional code generation method for generating a plurality of related two-dimensional codes associated with each other,
    Obtaining a private data code word, obtaining a pre-replacement code block having a public data code word and an error correction code word, and replacing the private data code word with a part of the pre-replacement code block by the private data code word Each of the plurality of related two-dimensional codes is obtained by performing a generation step of obtaining a replacement code block in which the data code word is concealed and generating a related two-dimensional code based on the replacement data block. Generate and
    When obtaining the non-public data code word in each of the generation steps, related code information for enabling identification of the plurality of related two-dimensional codes being associated with each other is included in the non-public data code word. A two-dimensional code generation method characterized by including.
  2.  請求項1に記載の二次元コード生成方法において、
     前記関連コード情報は、
     二次元コードが関連二次元コードであるか否かを示す識別情報と、
     互いに関連付けられた複数の関連二次元コードの連鎖数を示す連鎖数情報と、
     前記関連コード情報を備える関連二次元コードが、前記連鎖数分の関連二次元コードのうちの何番目の関連二次元コードであるかを示す序列番号情報と、
     前記関連コード情報を備える関連二次元コードが、該関連二次元コードと序列番号が異なる他の関連二次元コードと関連付けられているか否かを判断するための指標情報と、
     を有することを特徴とする二次元コード生成方法。
    The two-dimensional code generation method according to claim 1,
    The related code information is
    Identification information indicating whether or not the two-dimensional code is a related two-dimensional code;
    Chain number information indicating the chain number of a plurality of related two-dimensional codes associated with each other;
    Order number information indicating which number of related two-dimensional codes among the related two-dimensional codes corresponding to the number of chains the related two-dimensional code comprising the related code information;
    Index information for determining whether or not the related two-dimensional code including the related code information is associated with another related two-dimensional code having a different rank number from the related two-dimensional code;
    A two-dimensional code generation method comprising:
  3.  互いに関連付けられた複数の関連二次元コードを生成する二次元コード生成システムであって、
     非公開データコード語を求め、公開データコード語と誤り訂正コード語とを有する置換前コードブロックを求め、前記置換前コードブロックの一部を前記非公開データコード語で置換することにより前記非公開データコード語が隠蔽された置換後コードブロックを求め、前記置換後データブロックに基づいて前記関連二次元コードを生成する生成工程を、複数回実行することにより、前記複数の関連二次元コードの各々を生成し、
     各々の前記生成工程において前記非公開データコード語を求める際に、前記複数の関連二次元コードが互いに関連付けられていることを特定可能とするための関連コード情報を、前記非公開データコード語に含ませることを特徴とする二次元コード生成システム。
    A two-dimensional code generation system for generating a plurality of related two-dimensional codes associated with each other,
    Obtaining a private data code word, obtaining a pre-replacement code block having a public data code word and an error correction code word, and replacing the private data code word with a part of the pre-replacement code block by the private data code word Each of the plurality of related two-dimensional codes is obtained by executing a generation step of obtaining a replacement code block in which a data code word is concealed and generating the related two-dimensional code based on the replacement data block. Produces
    When obtaining the non-public data code word in each of the generation steps, related code information for enabling identification of the plurality of related two-dimensional codes being associated with each other is included in the non-public data code word. A two-dimensional code generation system characterized by inclusion.
  4.  請求項1に記載の二次元コード生成方法により生成された複数の関連二次元コードを読み取って、該複数の関連二次元コードが互いに関連付けられていることを評価する二次元コード評価方法であって、
     前記関連二次元コードから前記置換後データブロックを求め、前記置換後データブロックから前記非公開データコード語を抽出し、前記非公開データコード語から前記関連コード情報を取り出す関連コード情報取り出し処理を、読み取った前記複数の関連二次元コードの各々に対して実行する取り出し工程と、
     前記複数の関連二次元コードの各々から取得された前記関連コード情報に基づいて、前記複数の関連二次元コードが互いに関連付けられていることを評価する評価工程と、を有することを特徴とする二次元コード評価方法。
    A two-dimensional code evaluation method that reads a plurality of related two-dimensional codes generated by the two-dimensional code generation method according to claim 1 and evaluates that the plurality of related two-dimensional codes are associated with each other. ,
    Obtaining the replaced data block from the related two-dimensional code, extracting the secret data code word from the replaced data block, and extracting related code information from the secret data code word; A fetching step to be executed for each of the read related two-dimensional codes;
    An evaluation step for evaluating that the plurality of related two-dimensional codes are associated with each other based on the related code information acquired from each of the plurality of related two-dimensional codes. Dimension code evaluation method.
  5.  請求項4に記載の二次元コード評価方法であって、
     前記関連コード情報は、
     二次元コードが関連二次元コードであるか否かを示す識別情報と、
     互いに関連付けられた複数の関連二次元コードの連鎖数を示す連鎖数情報と、
     前記関連コード情報を備える関連二次元コードが、前記連鎖数分の関連二次元コードのうちの何番目の関連二次元コードであるかを示す序列番号情報と、
     前記関連コード情報を備える関連二次元コードが、該関連二次元コードと序列番号が異なる他の関連二次元コードと関連付けられているか否かを判断するための指標情報と、を有し、
     前記評価工程においては、
     前記識別情報に基づいて、各々の前記二次元コードが関連二次元コードであることが確認され、前記複数の関連二次元コードの各々から取得された前記連鎖数情報及び前記序列番号情報に基づいて、前記連鎖数分の互いに異なる前記序列番号が揃ったことが確認され、前記指標情報に基づいて、互いに異なる前記序列番号を有する連鎖数分の前記関連二次元コードが関連付けられていることが確認された際に、
     前記複数の関連二次元コードが互いに関連付けられていると評価することを特徴とする二次元コード評価方法。
    The two-dimensional code evaluation method according to claim 4,
    The related code information is
    Identification information indicating whether or not the two-dimensional code is a related two-dimensional code;
    Chain number information indicating the chain number of a plurality of related two-dimensional codes associated with each other;
    Order number information indicating which number of related two-dimensional codes among the related two-dimensional codes corresponding to the number of chains the related two-dimensional code comprising the related code information;
    The related two-dimensional code comprising the related code information has index information for determining whether or not the related two-dimensional code is associated with another related two-dimensional code having a different rank number,
    In the evaluation step,
    Based on the identification information, each of the two-dimensional codes is confirmed to be a related two-dimensional code, and based on the chain number information and the sequence number information acquired from each of the plurality of related two-dimensional codes. It is confirmed that the different rank numbers corresponding to the number of chains are aligned, and based on the index information, it is confirmed that the related two-dimensional codes corresponding to the number of chains having the different rank numbers are associated with each other. When
    A two-dimensional code evaluation method comprising evaluating that the plurality of related two-dimensional codes are associated with each other.
  6.  請求項5に記載の二次元コード評価方法であって、
     前記複数の関連二次元コードが互いに関連付けられていると評価した際に、前記複数の関連二次元コードが互いに関連付けられている旨を表示する表示工程を有することを特徴とする二次元コード評価方法。
    The two-dimensional code evaluation method according to claim 5,
    A two-dimensional code evaluation method comprising a display step of displaying that the plurality of related two-dimensional codes are associated with each other when the plurality of related two-dimensional codes are evaluated to be associated with each other. .
  7.  請求項5又は請求項6に記載の二次元コード評価方法であって、
     前記取り出し工程においては、前記置換後コードブロックから前記誤り訂正コード語を用いて前記公開データコード語を抽出し、前記公開データコード語から公開情報を取り出す公開情報取り出し処理を、読み取った前記複数の関連二次元コードの各々に対して実行し、
     前記複数の関連二次元コードが互いに関連付けられていると評価した際に、各々の前記公開情報を表示する表示工程を有することを特徴とする二次元コード評価方法。
    The two-dimensional code evaluation method according to claim 5 or 6,
    In the extraction step, the public data code word is extracted from the post-substitution code block using the error correction code word, and public information extraction processing for extracting public information from the public data code word is performed. Execute for each of the associated 2D codes,
    A two-dimensional code evaluation method comprising: a display step of displaying each of the public information when the plurality of related two-dimensional codes are evaluated as being associated with each other.
  8.  請求項7に記載の二次元コード評価方法であって、
     前記取り出し工程においては、前記非公開データコード語から非公開情報を取り出す非公開情報取り出し処理を、読み取った前記複数の関連二次元コードの各々に対して実行し、
     前記表示工程においては、各々の前記非公開情報を表示することを特徴とする二次元コード評価方法。
    The two-dimensional code evaluation method according to claim 7,
    In the extraction step, a private information extraction process for extracting private information from the private data code word is executed for each of the read related two-dimensional codes.
    In the display step, each of the non-public information is displayed.
  9.  請求項8に記載の二次元コード評価方法であって、
     前記表示工程においては、各々の前記公開情報を前記序列番号の順に表示し、各々の前記非公開情報を前記序列番号の順に表示することを特徴とする二次元コード評価方法。
    The two-dimensional code evaluation method according to claim 8,
    In the display step, each of the public information is displayed in the order of the rank number, and each of the non-public information is displayed in the order of the rank number.
  10.  請求項3に記載の二次元コード生成システムにより生成された複数の関連二次元コードを読み取って、該複数の関連二次元コードが互いに関連付けられていることを評価する二次元コード評価システムであって、
     前記関連二次元コードから前記置換後データブロックを求め、前記置換後データブロックから前記非公開データコード語を抽出し、前記非公開データコード語から前記関連コード情報を取り出す関連コード情報取り出し処理を、読み取った前記複数の関連二次元コードの各々に対して実行し、
     前記複数の関連二次元コードの各々から取得された前記関連コード情報に基づいて、前記複数の関連二次元コードが互いに関連付けられていることを評価することを特徴とする二次元コード評価システム。
    A two-dimensional code evaluation system that reads a plurality of related two-dimensional codes generated by the two-dimensional code generation system according to claim 3 and evaluates that the plurality of related two-dimensional codes are associated with each other. ,
    Obtaining the replaced data block from the related two-dimensional code, extracting the secret data code word from the replaced data block, and extracting related code information from the secret data code word; Executing each of the read related two-dimensional codes,
    A two-dimensional code evaluation system for evaluating that the plurality of related two-dimensional codes are associated with each other based on the related code information acquired from each of the plurality of related two-dimensional codes.
  11.  互いに関連付けられた複数の関連二次元コードを生成する二次元コード生成システムであって、
     非公開データコード語を求め、公開データコード語と誤り訂正コード語とを有する置換前コードブロックを求め、前記置換前コードブロックの一部を前記非公開データコード語で置換することにより前記非公開データコード語が隠蔽された置換後コードブロックを求め、前記置換後データブロックに基づいて前記関連二次元コードを生成する生成工程を、複数回実行することにより、前記複数の関連二次元コードの各々を生成し、
     各々の前記生成工程において前記非公開データコード語を求める際に、前記複数の関連二次元コードが互いに関連付けられていることを特定可能とするための関連コード情報を、前記非公開データコード語に含ませる二次元コード生成システムと、
     該二次元コード生成システムにより生成された複数の関連二次元コードを読み取って、該複数の関連二次元コードが互いに関連付けられていることを評価する二次元コード評価システムであって、
     前記関連二次元コードから前記置換後データブロックを求め、前記置換後データブロックから前記非公開データコード語を抽出し、前記非公開データコード語から前記関連コード情報を取り出す関連コード情報取り出し処理を、読み取った前記複数の関連二次元コードの各々に対して実行し、
     前記複数の関連二次元コードの各々から取得された前記関連コード情報に基づいて、前記複数の関連二次元コードが互いに関連付けられていることを評価する二次元コード評価システムと、
     を備えることを特徴とする二次元コード管理システム。
    A two-dimensional code generation system for generating a plurality of related two-dimensional codes associated with each other,
    Obtaining a private data code word, obtaining a pre-replacement code block having a public data code word and an error correction code word, and replacing the private data code word with a part of the pre-replacement code block by the private data code word Each of the plurality of related two-dimensional codes is obtained by executing a generation step of obtaining a replacement code block in which a data code word is concealed and generating the related two-dimensional code based on the replacement data block. Produces
    When obtaining the non-public data code word in each of the generation steps, related code information for enabling identification of the plurality of related two-dimensional codes being associated with each other is included in the non-public data code word. A two-dimensional code generation system to include,
    A two-dimensional code evaluation system that reads a plurality of related two-dimensional codes generated by the two-dimensional code generation system and evaluates that the plurality of related two-dimensional codes are associated with each other.
    Obtaining the replaced data block from the related two-dimensional code, extracting the secret data code word from the replaced data block, and extracting related code information from the secret data code word; Executing each of the read related two-dimensional codes,
    A two-dimensional code evaluation system that evaluates that the plurality of related two-dimensional codes are associated with each other based on the related code information acquired from each of the plurality of related two-dimensional codes;
    A two-dimensional code management system comprising:
PCT/JP2018/031959 2018-02-13 2018-08-29 Two-dimensional code generation method, two-dimensional code generation system, two-dimensional code evaluation method, two-dimensional code evaluation system, and two-dimensional code management system WO2019159399A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2018023320A JP6446578B1 (en) 2018-02-13 2018-02-13 Two-dimensional code generation method, two-dimensional code generation system, two-dimensional code evaluation method, two-dimensional code evaluation system, and two-dimensional code management system
JP2018-023320 2018-02-13

Publications (1)

Publication Number Publication Date
WO2019159399A1 true WO2019159399A1 (en) 2019-08-22

Family

ID=64899488

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2018/031959 WO2019159399A1 (en) 2018-02-13 2018-08-29 Two-dimensional code generation method, two-dimensional code generation system, two-dimensional code evaluation method, two-dimensional code evaluation system, and two-dimensional code management system

Country Status (2)

Country Link
JP (1) JP6446578B1 (en)
WO (1) WO2019159399A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110781985A (en) * 2019-09-04 2020-02-11 杭州利项科技有限公司 Data structuring system based on two-dimensional code

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108921261A (en) * 2018-04-17 2018-11-30 新大陆(福建)公共服务有限公司 A kind of safe two-dimensional code generation method and analytic method
JP2020086893A (en) * 2018-11-26 2020-06-04 合同会社Ark Two-dimensional code evaluation system and method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000224411A (en) * 1999-01-26 2000-08-11 Internatl Business Mach Corp <Ibm> Method for adding additional message to digital message and computer system
JP2010061468A (en) * 2008-09-04 2010-03-18 Nippon Hoso Kyokai <Nhk> Identification information output apparatus, program thereof, program transmission apparatus, and ic card

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000224411A (en) * 1999-01-26 2000-08-11 Internatl Business Mach Corp <Ibm> Method for adding additional message to digital message and computer system
JP2010061468A (en) * 2008-09-04 2010-03-18 Nippon Hoso Kyokai <Nhk> Identification information output apparatus, program thereof, program transmission apparatus, and ic card

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110781985A (en) * 2019-09-04 2020-02-11 杭州利项科技有限公司 Data structuring system based on two-dimensional code
CN110781985B (en) * 2019-09-04 2023-07-07 杭州利项科技有限公司 Data structuring system based on two-dimensional code

Also Published As

Publication number Publication date
JP2019139578A (en) 2019-08-22
JP6446578B1 (en) 2018-12-26

Similar Documents

Publication Publication Date Title
KR102560512B1 (en) data check
WO2019159399A1 (en) Two-dimensional code generation method, two-dimensional code generation system, two-dimensional code evaluation method, two-dimensional code evaluation system, and two-dimensional code management system
CN100405811C (en) Electronic image data verification programme and system and method
JP5914579B2 (en) Concealment target information concealment method, concealment target information concealment device, program, concealment target information extraction method, and concealment target information extraction device
US20210150169A1 (en) Method and device for providing and verifying two-dimensional code
US8230216B2 (en) Information processing apparatus, control method therefor, information processing system, and program
US20120308003A1 (en) Authentic barcodes using digital signatures
JP6020089B2 (en) Fraud detection system
JP5343761B2 (en) Optical information reader and authentication system using optical information reader
JP6035407B1 (en) Two-dimensional code generation method, two-dimensional code generation device, program, two-dimensional code, two-dimensional code reading method, two-dimensional code reading device, and two-dimensional code management system
US9679117B2 (en) System and method for obtaining an authorization key to use a product
JP2015213288A (en) Optical code, information transmission method, and authentication method
JP2006285592A (en) Contract alteration preventing system, and contract alteration preventing method
CN107451643A (en) Generation, recognition methods and the device of dynamic two-dimension code
JP5966053B1 (en) Information management method and information management system
JP6145792B2 (en) Digital signature type two-dimensional code generation device and digital signature type two-dimensional code authentication device
CN108197685A (en) The method for anti-counterfeit and terminal of a kind of visual code
JP2015138312A (en) Two-dimensional code generation method, two-dimensional code generation apparatus, program, two-dimensional code reading method, and two-dimensional code reader
CN111026583A (en) Backup recovery method for multiple private keys of blockchain wallet and computer-readable storage medium
JP7464276B2 (en) 2D code generation method, 2D code generation system, 2D code evaluation method, 2D code evaluation system, and 2D code management system
TWI436232B (en) Data processing methods and systems for processing data in an operation having a predetermined flow based on captcha (completely automated public test to tell computers and humans apart) data, and computer program products thereof
TWI639124B (en) Providing devices and methods, recording media and computer program products containing payment information of QR code
JP4685512B2 (en) Arithmetic processing unit
JP5343659B2 (en) Image processing apparatus and image processing program
TWI783895B (en) QR code verification system and method of random RS code

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18906444

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18906444

Country of ref document: EP

Kind code of ref document: A1