JP2011010087A - Encoding apparatus, determination apparatus, determination system, encoding method and determination method - Google Patents

Encoding apparatus, determination apparatus, determination system, encoding method and determination method Download PDF

Info

Publication number
JP2011010087A
JP2011010087A JP2009152247A JP2009152247A JP2011010087A JP 2011010087 A JP2011010087 A JP 2011010087A JP 2009152247 A JP2009152247 A JP 2009152247A JP 2009152247 A JP2009152247 A JP 2009152247A JP 2011010087 A JP2011010087 A JP 2011010087A
Authority
JP
Japan
Prior art keywords
codeword
determination
additional
group
identification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2009152247A
Other languages
Japanese (ja)
Inventor
Masao Ikeda
昌夫 池田
Masafumi Shimizu
雅史 清水
Akihiko Nakajima
亮彦 中島
Hitoshi Mitsugi
仁 三次
Naoyasu Kamiya
尚保 神谷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Keio University
Original Assignee
Nippon Telegraph and Telephone Corp
Keio University
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 Nippon Telegraph and Telephone Corp, Keio University filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2009152247A priority Critical patent/JP2011010087A/en
Publication of JP2011010087A publication Critical patent/JP2011010087A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a determination system capable of determining whether a group of tags is proper by writing to and reading from tags.SOLUTION: In the determination system including an encoding apparatus and a determination apparatus, the encoding apparatus generates additional code words, on the basis of all identification code words in a group and writes the additional code words, by making the identification code words associated. On the basis of all the identification code words in a readable region, the determination apparatus generates a determination-side additional code word through the same arithmetic operations as that of the encoding apparatus and determines whether a group of tags is proper, according to whether additional code word is the same as the determination-side additional code word.

Description

本発明は、1個以上のタグが含まれるグループの適正性を判定する符号化装置、判定装置、判定システム、符号化方法及び判定方法に関する。   The present invention relates to an encoding device, a determination device, a determination system, an encoding method, and a determination method for determining the appropriateness of a group including one or more tags.

近年、タグの読み取り装置が、交通システムや物品管理などの様々な用途に利用されている。特にリーダと電子タグとから構成されるRFID(Radio Frequency Identification)システムでは複数の電子タグを実質的に同時に読み取ることや、電子タグに情報を書き込むことも可能である。また最近ではバーコードにも商品番号だけでなく、付加情報も書き加えられるようになった。また、2次元コードも提案され、利用されている。なお、以下では、電子タグや、ホログラムや液晶パネルにバーコードや2次元コード等が表示されあるいは紙などにバーコードや2次元コード等が印刷された光学タグや、磁気シート等の磁気タグ等を総称してタグという。   In recent years, tag readers have been used for various purposes such as traffic systems and article management. In particular, in an RFID (Radio Frequency Identification) system including a reader and an electronic tag, a plurality of electronic tags can be read substantially simultaneously, and information can be written to the electronic tag. Recently, not only product numbers but also additional information can be added to barcodes. Two-dimensional codes have also been proposed and used. In the following, an electronic tag, an optical tag on which a barcode or a two-dimensional code is displayed on a hologram or a liquid crystal panel or a barcode or a two-dimensional code is printed on paper, a magnetic tag such as a magnetic sheet, etc. Are collectively referred to as tags.

タグの読み取り技術の向上によって、個々のタグを効率よく読み取ることができるようになると共に、読み取り技術を用いて様々な応用が提案されている。
例えば、特許文献1では、電子タグに短距離トランシーバと長距離トランシーバ機能を配備し、電子タグ同士が相互に通信することで一群のコンテナから所定のコンテナを探す技術を開示している。
Improvements in tag reading technology have enabled individual tags to be read efficiently, and various applications have been proposed using the reading technology.
For example, Patent Document 1 discloses a technology in which a short-distance transceiver and a long-distance transceiver function are provided in an electronic tag, and a predetermined container is searched from a group of containers by the electronic tags communicating with each other.

一方、電子タグの情報セキュリティの観点からは、タグの組み合わせの適正性を確認する技術が提案されている。非特許文献1では読み取り装置を介して、複数の電子タグが、タグ間で相互に情報を伝達することで最終的にグループを示す1個の値を生成し、その適正性を別途設置した認証機能によって確認することが提案されている。また、非特許文献2の方法では、グループ確認までの時間制限を設けることによって、不足のタグがある場合に、悪意のある読取装置が全てのタグが揃っていることを示す値を生成し、全てのタグが揃っていると報告することを防止している。   On the other hand, from the viewpoint of information security of electronic tags, a technique for confirming the appropriateness of the combination of tags has been proposed. In Non-Patent Document 1, a plurality of electronic tags finally generate a single value indicating a group by transmitting information between the tags via a reader, and the appropriateness is separately installed. It is proposed to check by function. Further, in the method of Non-Patent Document 2, by setting a time limit until group confirmation, when there is a shortage of tags, a malicious reading device generates a value indicating that all tags are present, This prevents reporting that all tags are available.

特開平10−506357号公報Japanese Patent Laid-Open No. 10-506357

A. Juels,”Strengthening EPC tags against cloning”, 4th ACM Workshop on Wireless Security,2005年,p.67−p.76A. Juels, “Strengthening EPC tags against cloning”, 4th ACM Workshop on Wireless Security, 2005, p. 67-p. 76 J. Saito、他1名,"Grouping proof for RFID Tags", 19th IEEE International Conference on Advanced Information Networking and Applications,2005年,p.621−p.624J. Saito and 1 other, "Grouping proof for RFID Tags", 19th IEEE International Conference on Advanced Information Networking and Applications, 2005, p. 621-p. 624

しかしながら、従来の技術では個々のタグを読み取っただけでは、グループに属するタグの不足やグループ外のタグの混入など、タグのグループの適正性を検出することはできなかった。たとえば、それぞれにタグが付された50個の物品をグループとして梱包すべきところ、48個の物品しか梱包されていなかった場合でも、欠品の有無を物品に付されたタグから判定することはできず、納品リストなど他の手段を用いて欠品の有無等を判定していた。
特許文献1の方法は、互いに通信する複数のタグを使って他のタグを発見し、あるいは、読み取り信頼性を高めるものであって、タグはグループの情報を保有しないので、タグのグループの適正性を判定することはできない。
また、非特許文献1の方法および非特許文献2の方法は、いずれの手法も読み取り装置が信頼できないことを前提としているため、電子タグが入力した情報に対して、情報を生成する機能を有することと、グループとなる電子タグに秘密鍵が配布できることを前提としている。即ち、タグのみからタグのグループの適正性を判定することはできない。
However, the conventional technology cannot detect the suitability of a tag group, such as a shortage of tags belonging to a group or the mixing of tags outside the group, by simply reading individual tags. For example, 50 items each with a tag should be packed as a group, and even if only 48 items are packed, the presence or absence of a missing item can be determined from the tag attached to the item. It was not possible to determine the presence or absence of missing items using other means such as a delivery list.
The method of Patent Document 1 uses a plurality of tags that communicate with each other to discover other tags, or improves reading reliability, and since tags do not have group information, the tag group is not appropriate. Sex cannot be determined.
In addition, since the methods of Non-Patent Document 1 and Non-Patent Document 2 are based on the premise that the reading device is not reliable, the method has a function of generating information for information input by an electronic tag. And that the secret key can be distributed to the grouped electronic tags. That is, the suitability of a tag group cannot be determined from the tag alone.

本発明は、上記事情に鑑みてなされたもので、その目的は、タグがデータの読み書き以外の特別な機能を備えることを必要とせず、タグへデータの読み書きによってタグのグループの適正性を判定できる符号化装置、判定装置、判定システム、符号化方法及び判定方法を提供することにある。   The present invention has been made in view of the above circumstances, and its purpose is to determine the appropriateness of a tag group by reading / writing data from / to a tag without requiring the tag to have a special function other than reading / writing data. An encoding device, a determination device, a determination system, an encoding method, and a determination method are provided.

[1]この発明は上述した課題を解決するためになされたもので、本発明の一態様による符号化装置は、タグのグループに含まれる各タグから識別符号語を読み取る読み取り部と、任意個の識別符号語を入力としかつ識別符号語に関して交換則が成り立つ演算を前記識別符号語に対して行って、前記タグのグループを識別する付加符号語を生成する付加符号語生成部と、前記付加符号語を前記識別符号語の各々に対応付けて前記タグのグループに含まれる各タグに書き込む書き込み部とを具備することを特徴とする。
ここで、識別符号語及び付加符号語を保持する媒体をタグとよぶ。
この符号化装置は、読み取った識別符号語から付加符号語を生成する。この付加符号語を用いて、判定装置がタグの集合(グループ)の適正性を判定することができる。
[2]また、本発明の一態様による符号化装置は上述の符号化装置であって、前記付加符号語生成部が行う演算は前記識別符号語の各々から巡回符号を生成し、生成した巡回符号のビット毎の排他的論理和を算出する演算であることを特徴とする。
この符号化装置は、巡回符号の生成及び排他的論理和の演算によって読み取った識別符号語から付加符号語を生成する。この付加符号語を用いて、判定装置がタグのグループの適正性を判定することができる。
[3]また、本発明の一態様による符号化装置は上述の符号化装置であって、前記付加符号語生成部が行う演算は前記識別符号語の各々に対してハッシュ演算を行い、生成したハッシュ値のビット毎の排他的論理和を算出する演算であることを特徴とする。
この符号化装置は、ハッシュ演算及び排他的論理和の演算によって読み取った識別符号語から付加符号語を生成する。この付加符号語を用いて、判定装置がタグのグループの適正性を判定することができる。
[4]また、本発明の一態様による判定装置は、タグのグループを識別する付加符号語と識別符号語とをタグから読み取る読み取り部と、読み取った前記識別符号語の全部に前記付加符号語の生成に用いられた演算と同一の演算を行って判定側付加符号語を生成する判定側付加符号語生成部と、読み取った前記付加符号語と生成した前記判定側付加符号語とが同一であれば、付加符号語生成時のタグのグループと、読み取った前記タグのグループとが同一であると判断し、読み取った前記付加符号語と生成した前記判定側付加符号語とが異なれば、付加符号語生成時のタグのグループと、読み取ったタグのグループとが異なると判断する判定部とを具備することを特徴とする。
この判定装置は、読み取った識別符号語から判定側付加符号語を生成し、読み取った付加符号語との同一性を判定することによってタグのグループの適正性を判定することができる。
[5]また、本発明の一態様による判定装置は上述の判定装置であって、前記読み取り部がタグから読み取った前記付加符号語が同一であるか否かに基づいて前記識別符号語をグループに分類するグループ取得部をさらに具備し、前記判定側付加符号語生成部は、同一の前記グループに属する前記識別符号語の全部に、付加符号語の生成に用いられた演算と同一の演算を行って判定側付加符号語を生成し、前記判定部は、読み取った前記付加符号語と生成した前記判定側付加符号語とが同一であれば、付加符号語生成時のタグのグループと、グループ取得部が分類したグループに含まれるタグのグループとが同一であると判断し、読み取った前記付加符号語と生成した前記判定側付加符号語とが異なれば、付加符号語生成時のタグのグループと、グループ取得部が分類したグループに含まれるタグのグループとが異なると判断することを特徴とする。
この判定装置は、読み取った識別符号語をグループに分類するので、複数のグループの識別符号語を読み取った場合でもタグのグループの適正性を判定することができる。
[6]また、本発明の一態様による判定装置は上述の判定装置であって、前記判定側付加符号語生成部が行う演算は前記識別符号語の各々から巡回符号を生成し、生成した巡回符号のビット毎の排他的論理和を算出する演算であることを特徴とする。
この判定装置は、符号化装置が付加符号語を生成するのと同一の演算である巡回符号の生成及び排他的論理和の演算によって読み取った識別符号語から判定側付加符号語を生成し、読み取った付加符号語との同一性を判定することによってタグのグループの適正性を判定することができる。
[7]また、本発明の一態様による判定装置は上述の判定装置であって、前記判定側付加符号語生成部が行う演算は前記識別符号語の各々に対してハッシュ演算を行い、生成したハッシュ値のビット毎の排他的論理和を算出する演算であることを特徴とする。
この判定装置は、符号化装置が付加符号語を生成するのと同一の演算であるハッシュ演算及び排他的論理和の演算によって読み取った識別符号語から判定側付加符号語を生成し、読み取った付加符号語との同一性を判定することによってタグのグループの適正性を判定することができる。
[8]また、本発明の一態様による判定システムは、タグのグループに含まれる各タグから識別符号語を読み取る読み取り部と、任意個の識別符号語を入力としかつ識別符号語に関して交換則が成り立つ演算を前記識別符号語に対して行って、前記タグのグループを識別する付加符号語を生成する付加符号語生成部と、前記付加符号語を前記識別符号語の各々に対応付けて前記タグのグループに含まれる各タグに書き込む書き込み部とを具備する符号化装置と、タグからタグのグループを識別する付加符号語と識別符号語とを読み取る読み取り部と、読み取った前記識別符号語の全部に前記付加符号語の生成に用いられた演算と同一の演算を行って判定側付加符号語を生成する判定側付加符号語生成部と、読み取った前記付加符号語と生成した前記判定側付加符号語とが同一であれば、付加符号語生成時のタグのグループと、読み取った前記タグのグループとが同一であると判断し、読み取った前記付加符号語と生成した前記判定側付加符号語とが異なれば、付加符号語生成時のタグのグループと、読み取ったタグのグループとが異なると判断する判定部とを具備する判定装置とを具備することを特徴とする。
この判定システムでは、符号化装置は読み取った識別符号語から付加符号語を生成する。判定装置は読み取った識別符号語から判定側付加符号語を生成し、符号化装置が生成した付加符号語との同一性を判定することによってタグのグループの適正性を判定することができる。
[9]また、本発明の一態様による符号化方法は、符号化装置が、タグのグループに含まれる各タグから識別符号語を読み取る読み取りステップと、符号化装置が、任意個の識別符号語を入力としかつ識別符号語に関して交換則が成り立つ演算を前記識別符号語に対して行って、前記タグのグループを識別する付加符号語を生成する付加符号語生成ステップと、符号化装置が、前記付加符号語を前記識別符号語の各々に対応付けて前記タグのグループに含まれる各タグに書き込む書き込みステップとを具備することを特徴とする。
この符号化方法では、読み取った識別符号語から付加符号語を生成する。この付加符号語を用いて、判定装置がタグのグループの適正性を判定することができる。
[10]また、本発明の一態様による判定方法は、判定装置が、タグからタグのグループを識別する付加符号語と識別符号語とを読み取る読み取りステップと、判定装置が、読み取った前記識別符号語の全部に前記付加符号語の生成に用いられた演算と同一の演算を行って判定側付加符号語を生成する判定側付加符号語生成ステップと、判定装置が、読み取った前記付加符号語と生成した前記判定側付加符号語とが同一であれば、付加符号語生成時のタグのグループと、読み取った前記タグのグループとが同一であると判断し、読み取った前記付加符号語と生成した前記判定側付加符号語とが異なれば、付加符号語生成時のタグのグループと、読み取ったタグのグループとが異なると判断する判定ステップとを具備することを特徴とする。
この判定方法では、読み取った識別符号語から判定側付加符号語を生成し、読み取った付加符号語との同一性を判定することによってタグのグループの適正性を判定することができる。
[1] The present invention has been made to solve the above-described problems, and an encoding device according to an aspect of the present invention includes a reading unit that reads an identification codeword from each tag included in a tag group, and an arbitrary number. An additional codeword generation unit for generating an additional codeword for identifying the group of tags by performing, on the identification codeword, an operation in which an identification codeword is input and an exchange rule for the identification codeword is satisfied. And a writing unit that writes a code word to each tag included in the tag group in association with each identification code word.
Here, the medium holding the identification codeword and the additional codeword is called a tag.
This encoding device generates an additional codeword from the read identification codeword. Using this additional codeword, the determination device can determine the appropriateness of a set (group) of tags.
[2] An encoding device according to an aspect of the present invention is the encoding device described above, and the operation performed by the additional codeword generation unit generates a cyclic code from each of the identification codewords and generates the cyclic It is an operation for calculating an exclusive OR for each bit of the code.
This encoding device generates an additional codeword from an identification codeword read by generating a cyclic code and calculating an exclusive OR. Using this additional codeword, the determination device can determine the suitability of the tag group.
[3] The encoding device according to one aspect of the present invention is the encoding device described above, and the operation performed by the additional codeword generation unit is performed by performing a hash operation on each of the identification codewords. It is an operation for calculating an exclusive OR for each bit of the hash value.
This encoding device generates an additional codeword from the identification codeword read by hash operation and exclusive OR operation. Using this additional codeword, the determination device can determine the suitability of the tag group.
[4] In addition, the determination device according to an aspect of the present invention includes a reading unit that reads an additional codeword for identifying a tag group and an identification codeword from the tag, and the additional codeword for all of the read identification codewords. The determination-side additional codeword generation unit that generates the determination-side additional codeword by performing the same operation as that used for generating the read-out additional codeword and the generated determination-side additional codeword are the same If there is a tag group at the time of generating the additional codeword and the group of the read tag are the same, if the read additional codeword and the generated determination side additional codeword are different, It is characterized by comprising a determination unit that determines that the tag group at the time of codeword generation and the read tag group are different.
This determination apparatus can determine the suitability of a group of tags by generating a determination side additional codeword from the read identification codeword and determining the identity with the read additional codeword.
[5] A determination device according to an aspect of the present invention is the determination device described above, wherein the identification codewords are grouped based on whether or not the additional codeword read from the tag by the reading unit is the same. The determination side additional codeword generation unit further performs the same operation as the operation used to generate the additional codeword on all the identification codewords belonging to the same group. To generate a determination side additional codeword, and the determination unit, if the read additional codeword and the generated determination side additional codeword are the same, a group of tags at the time of additional codeword generation, and a group If it is determined that the tag group included in the group classified by the acquisition unit is the same, and the read additional codeword is different from the generated determination side additional codeword, the tag group at the time of additional codeword generation Characterized in that the the group of tags group acquiring unit is included in the group classified determines different.
Since this determination device classifies the read identification codewords into groups, even when the identification codewords of a plurality of groups are read, it is possible to determine the appropriateness of the tag group.
[6] Moreover, the determination apparatus according to an aspect of the present invention is the determination apparatus described above, and the calculation performed by the determination side additional codeword generation unit generates a cyclic code from each of the identification codewords, and generates the cyclic It is an operation for calculating an exclusive OR for each bit of the code.
The determination device generates a determination side additional codeword from the identification codeword read by the cyclic code generation and the exclusive OR operation that are the same operations as the encoding device generates the additional codeword, and reads the determination side additional codeword. The suitability of the tag group can be determined by determining the identity with the added codeword.
[7] Moreover, the determination device according to an aspect of the present invention is the determination device described above, and the calculation performed by the determination side additional codeword generation unit is performed by performing a hash operation on each of the identification codewords. It is an operation for calculating an exclusive OR for each bit of the hash value.
This determination device generates a determination-side additional codeword from an identification codeword read by a hash operation and an exclusive OR operation, which are the same operations that the encoding device generates an additional codeword, and reads the added The suitability of the tag group can be determined by determining the identity with the codeword.
[8] In addition, the determination system according to one aspect of the present invention includes a reading unit that reads an identification codeword from each tag included in a tag group, an arbitrary number of identification codewords as input, and an exchange rule for the identification codeword. An additional codeword generation unit that performs an operation on the identification codeword to generate an additional codeword for identifying the tag group, and associates the additional codeword with each of the identification codewords A coding unit including a writing unit for writing to each tag included in the group, a reading unit for reading an additional codeword and an identification codeword for identifying the tag group from the tag, and all of the read identification codewords A determination-side additional codeword generation unit that generates a determination-side additional codeword by performing the same operation as that used to generate the additional codeword, and generates the read additional codeword. If the determination side additional codeword is the same, the tag group at the time of additional codeword generation and the read tag group are determined to be the same, and the read additional codeword and the generated determination If the side additional codeword is different, a determination apparatus including a determination unit that determines that the tag group at the time of additional codeword generation and the read tag group is different is provided.
In this determination system, the encoding device generates an additional codeword from the read identification codeword. The determination device can determine the suitability of the tag group by generating a determination-side additional codeword from the read identification codeword and determining the identity with the additional codeword generated by the encoding device.
[9] Also, in the encoding method according to one aspect of the present invention, the encoding device reads the identification codeword from each tag included in the tag group, and the encoding device includes any number of identification codewords. And an additional codeword generation step for generating an additional codeword for identifying the group of tags by performing an operation on the identification codeword and performing an operation that satisfies an exchange rule for the identification codeword, and the encoding device includes: A write step of writing an additional codeword to each tag included in the tag group in association with each of the identification codewords.
In this encoding method, an additional codeword is generated from the read identification codeword. Using this additional codeword, the determination device can determine the suitability of the tag group.
[10] In the determination method according to an aspect of the present invention, the determination device reads the additional codeword and the identification codeword for identifying the tag group from the tag, and the identification code read by the determination device A determination-side additional codeword generation step for generating a determination-side additional codeword by performing the same operation as that used for generating the additional codeword for all words; and the determination device reads the additional codeword If the generated determination side additional codeword is the same, the tag group at the time of generating the additional codeword is determined to be the same as the read tag group, and the read additional codeword is generated. If the determination side additional codeword is different, a determination step of determining that the tag group at the time of generating the additional codeword is different from the read tag group is provided.
In this determination method, it is possible to determine the suitability of the tag group by generating a determination-side additional codeword from the read identification codeword and determining the identity with the read additional codeword.

この発明によれば、秘密鍵の配布等の特別な機能を必要とせずにタグへの読み書きによってタグのグループの適正性を判定できる。また、複数のグループに属するタグが存在する場合にもタグのグループの適正性を判定できる。   According to the present invention, the suitability of a tag group can be determined by reading and writing to the tag without requiring a special function such as the distribution of a secret key. Also, even when tags belonging to a plurality of groups are present, it is possible to determine the appropriateness of the tag group.

本発明の第1の実施形態による判定システムの概略構成を示す概略図である。It is the schematic which shows schematic structure of the determination system by the 1st Embodiment of this invention. 同実施形態における判定システムの動作の概要を示す概略図である。It is the schematic which shows the outline | summary of operation | movement of the determination system in the embodiment. 同実施形態における符号化装置1の概略構成を示す機能ブロック図である。It is a functional block diagram which shows schematic structure of the encoding apparatus 1 in the embodiment. 同実施形態における判定装置6の概略構成を示す機能ブロック図である。It is a functional block diagram which shows schematic structure of the determination apparatus 6 in the embodiment. 同実施形態における識別符号語記憶部14が記憶するデータの構成を示すデータ構成図である。It is a data block diagram which shows the structure of the data which the identification codeword memory | storage part 14 in the same embodiment memorize | stores. 同実施形態において符号語記憶部65が記憶するデータの構成を示すデータ構成図である。It is a data block diagram which shows the structure of the data which the codeword memory | storage part 65 memorize | stores in the same embodiment. 同実施形態においてグループ記憶部66が記憶するデータの構成を示すデータ構成図である。It is a data block diagram which shows the structure of the data which the group memory | storage part 66 memorize | stores in the embodiment. 同実施形態において判定側付加符号語記憶部67が記憶するデータの構成を示すデータ構造図である。It is a data structure figure which shows the structure of the data which the determination side additional codeword memory | storage part 67 memorize | stores in the same embodiment. 同実施形態における付加符号語生成部12の概略構成を示す機能ブロック図である。It is a functional block diagram which shows schematic structure of the additional codeword production | generation part 12 in the embodiment. 同実施形態における判定側付加符号語生成部63の概略構成を示す機能ブロック図である。It is a functional block diagram which shows schematic structure of the determination side additional codeword production | generation part 63 in the embodiment. 同実施形態における符号化装置1が行う処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the process which the encoding apparatus 1 in the embodiment performs. 同実施形態における判定側付加符号語生成部63が判定側付加符号語を生成する手順を示すフローチャートである。It is a flowchart which shows the procedure in which the determination side additional codeword production | generation part 63 in the same embodiment produces | generates a determination side additional codeword. 同実施形態において1個の電子タグが複数の付加符号語を記憶する例を示す図である。It is a figure which shows the example in which one electronic tag memorize | stores a some additional codeword in the same embodiment. 同実施形態において符号語記憶部65が複数の付加符号語を記憶する例を示す図である。It is a figure which shows the example in which the codeword memory | storage part 65 memorize | stores a some additional codeword in the same embodiment. 本発明の第2の実施形態による符号化装置2の付加符号語生成部12の概略構成を示す機能ブロック図である。It is a functional block diagram which shows schematic structure of the additional codeword production | generation part 12 of the encoding apparatus 2 by the 2nd Embodiment of this invention. 同実施形態における判定装置7判定側付加符号語生成部63の概略構成を示す機能ブロック図である。It is a functional block diagram which shows schematic structure of the determination apparatus 7 determination side additional codeword production | generation part 63 in the embodiment. 同実施形態において符号化装置2の付加符号語生成部12が付加符号語を生成する手順を示すフローチャートである。It is a flowchart which shows the procedure in which the additional codeword production | generation part 12 of the encoding apparatus 2 produces | generates an additional codeword in the same embodiment. 同実施形態において判定装置7の判定側付加符号語生成部63が判定側付加符号語を生成する手順を示すフローチャートである。It is a flowchart which shows the procedure in which the determination side additional codeword production | generation part 63 of the determination apparatus 7 produces | generates a determination side additional codeword in the same embodiment.

<第1の実施形態>
以下、図面を参照して、本発明の第1の実施の形態について説明する。
図1は本実施形態の判定システム100の概略構成を示す概略図である。
本実施形態の判定システム100は符号化装置1と判定装置6とを含んで構成される。符号化装置1および判定装置6は、n個のタグに対してデータの読み書きを行う。
本判定システム100は、グループに属するタグの不足やグループ外のタグの混入やグループに属するタグの一部がグループ外のタグに置き換わるなどによってタグのグループの同一性が失われていないかをタグに記憶された識別符号語および付加符号語を用いて判断し、同一性が失われていなければタグのグループが適正であると判定し、同一性が失われていればタグのグループが不適正であると判定する。ここでは識別符号語および付加符号語を保持する媒体をタグといい、タグには電子タグや光学タグや磁気タグが含まれるが、これらに限らない。また、識別符号語はタグを識別するデータであり、各タグには互いに異なる識別符号語が予め記憶されている。したがって、識別符号語を用いてタグをユニークに識別可能である。また、付加符号語はタグのグループを識別するデータであり、判定装置1が生成してタグに書き込む。
タグのグループの適正性を判定する処理は、符号化装置1が行う処理と判定装置6が行う処理とに大別できる。ここで、タグのグループの適正性とは、符号化装置1が識別符号語を読み取って付加符号語を書き込んだタグのグループと、判定装置6識別符号語および付加符号語を読み取ったタグのグループが同一であることをいう。
符号化装置1は、タグから識別符号語を読み取って付加符号語を生成し、生成した付加符号語をタグに書き込む。その処理の概略は以下のとおりである。
(1)まず、符号化装置1が、読み取り可能領域にある全てのタグを1グループとしてグループに属する全てのタグから一括して或いは順番に識別符号語を読み取る。
(2)次に、符号化装置1は、読み取った識別符号語から付加符号語を生成する。符号化装置1は、各識別符号語からCRC(Cyclic Redundancy Code、巡回符号または短縮化巡回符号)を生成する。符号化装置1は、読み取った全ての識別符号語から生成したCRCの排他的論理和をとることで付加符号語を生成する。なお、符号化装置1が、各識別符号語の一部分からCRCを生成するようにしてもよい。また、符号化装置1が、ハッシュ関数など他の方法を用いて付加符号語を生成するようにしてもよい。
(3)次に、符号化装置1は、生成した付加符号語をグループに属する各タグに書き込む。符号化装置1は、グループに属する各タグに同一の付加符号語を書き込む。すなわち、付加符号語はタグのグループを示す。付加符号語を書き込む記憶領域は予め定められており、符号化装置1はこの予め定められた記憶領域に付加符号語を書き込む。
<First Embodiment>
The first embodiment of the present invention will be described below with reference to the drawings.
FIG. 1 is a schematic diagram illustrating a schematic configuration of a determination system 100 according to the present embodiment.
The determination system 100 according to the present embodiment includes an encoding device 1 and a determination device 6. The encoding device 1 and the determination device 6 read / write data from / to n tags.
The determination system 100 determines whether the identity of the tag group has been lost due to a lack of tags belonging to the group, mixing of tags outside the group, or replacement of some tags belonging to the group with tags outside the group. If the identity group is not lost, the tag group is determined to be appropriate. If the identity is lost, the tag group is incorrect. It is determined that Here, the medium holding the identification codeword and the additional codeword is referred to as a tag, and the tag includes an electronic tag, an optical tag, and a magnetic tag, but is not limited thereto. The identification code word is data for identifying a tag, and different identification code words are stored in advance in each tag. Therefore, the tag can be uniquely identified using the identification code word. The additional codeword is data for identifying a tag group, and is generated by the determination device 1 and written to the tag.
The process of determining the appropriateness of a tag group can be broadly divided into a process performed by the encoding device 1 and a process performed by the determination device 6. Here, the adequacy of the tag group is a group of tags in which the encoding device 1 reads the identification codeword and writes the additional codeword, and a group of tags in which the determination device 6 reads the identification codeword and the additional codeword. Are the same.
The encoding device 1 reads the identification codeword from the tag to generate an additional codeword, and writes the generated additional codeword to the tag. The outline of the process is as follows.
(1) First, the encoding apparatus 1 reads all the tags in the readable area as one group from all the tags belonging to the group all at once or sequentially.
(2) Next, the encoding device 1 generates an additional codeword from the read identification codeword. The encoding device 1 generates a CRC (Cyclic Redundancy Code, a cyclic code or a shortened cyclic code) from each identification codeword. The encoding device 1 generates an additional codeword by taking an exclusive OR of CRCs generated from all the read identification codewords. Note that the encoding apparatus 1 may generate a CRC from a part of each identification codeword. The encoding device 1 may generate the additional codeword using another method such as a hash function.
(3) Next, the encoding device 1 writes the generated additional codeword to each tag belonging to the group. The encoding device 1 writes the same additional codeword to each tag belonging to the group. That is, the additional codeword indicates a group of tags. The storage area in which the additional codeword is written is determined in advance, and the encoding device 1 writes the additional codeword in this predetermined storage area.

判定装置6は、読み取り可能な領域にあるタグについて、タグのグループの適正性を判定する。その処理の概略は以下のとおりである。
(4)まず、判定装置6は、読み取り可能な領域にある全タグから識別符号語と付加符号語を一括あるいは順番に読み取る。
(5)次に、判定装置6は、読み取った識別符号語から判定側付加符号語を生成する。判定装置6は、符号化装置1が行ったのと同じ演算を行って判定側付加符号語を生成する。
(6)次に、判定装置6は、判定側付加符号語と付加符号語とが同一か否かを判断する。判定側付加符号語と付加符号語とが同一の場合は、符号化装置1が付加符号語を生成したタグのグループに含まれる全てのタグと判定装置6が読み取り可能な領域にあるタグのグループに含まれる全てのタグとが同一であると判断して、タグのグループが適正であると判定する。一方、判定側付加符号語と付加符号語とが異なる場合は、符号化装置1が付加符号語を生成したタグのグループに含まれる全てのタグと判定装置6が読み取り可能な領域にあるタグのグループに含まれる全てのタグとが異なると判断して、タグのグループが不適正であると判定する。
The determination device 6 determines the appropriateness of the tag group for the tags in the readable area. The outline of the process is as follows.
(4) First, the determination device 6 reads the identification codeword and the additional codeword from all the tags in the readable area at once or in order.
(5) Next, the determination device 6 generates a determination side additional codeword from the read identification codeword. The determination device 6 performs the same operation as that performed by the encoding device 1 to generate a determination-side additional codeword.
(6) Next, the determination device 6 determines whether or not the determination-side additional codeword is the same as the additional codeword. When the determination-side additional codeword is the same as the additional codeword, all tags included in the tag group in which the encoding device 1 has generated the additional codeword and a group of tags in an area readable by the determination device 6 It is determined that all the tags included in the tag are the same, and the tag group is determined to be appropriate. On the other hand, when the determination side additional codeword is different from the additional codeword, all the tags included in the tag group in which the encoding device 1 has generated the additional codeword and the tags in the region readable by the determination device 6 are included. It is determined that all the tags included in the group are different, and it is determined that the tag group is inappropriate.

判定システム100は、例えばレンタルまたはリースされた物品のグループが返却された際に、全ての物品が揃っているかを判定する。或いは、判定システム100は、出荷された物品のグループが入荷した際に、全ての物品が揃っているかを判定する。
各物品には予めタグが付されており、各タグは予め識別符号語を記憶している。符号化装置1は、レンタル・リース時あるいは出荷時に、グループに属する物品のタグに付加符号語を書き込む。判定装置6は、レンタル・リース品の返却時あるいは受け取り時に、識別符号語から判定側付加符号語を生成し、符号化装置1によって生成された付加符号語と同一か否かを判断することによってタグのグループの適正性を判定する。このタグのグループの適正性が、物品のグループの適正性を示す。
なお、符号化装置1と判定装置6とは別々の装置であってもよいし、両者の機能を併せ持つ1個の装置であってもよい。例えばレンタルまたはリースされた物品のグループが返却された際に、全ての物品が揃っているかを判定する場合は、符号化装置1の機能と判定装置6の機能とを併せ持つ1個の装置を用いることができる。一方、出荷された物品のグループが入荷した際に、全ての物品が揃っているかを判定する場合は、符号化装置1と判定装置6とが別々の装置であることが好ましい。
なお、判定装置6は、複数のタグのグループを対象として、各グループの物品等が揃っているか否かを判定することもできる。詳細については後述する。
The determination system 100 determines whether all the articles are available when, for example, a group of rental or leased articles is returned. Alternatively, the determination system 100 determines whether all the articles are available when a group of shipped articles is received.
A tag is attached in advance to each article, and each tag stores an identification code word in advance. The encoding device 1 writes the additional codeword in the tag of the article belonging to the group at the time of rental lease or shipment. The determination device 6 generates a determination side additional codeword from the identification codeword when the rental / lease product is returned or received, and determines whether or not it is the same as the additional codeword generated by the encoding device 1. Determine the adequacy of the tag group. The suitability of the tag group indicates the suitability of the article group.
Note that the encoding device 1 and the determination device 6 may be separate devices, or may be a single device having both functions. For example, when a group of rental or leased items is returned, when it is determined whether all the items are available, one device having both the function of the encoding device 1 and the function of the determination device 6 is used. be able to. On the other hand, when it is determined whether all the articles are available when the group of shipped articles is received, it is preferable that the encoding device 1 and the determination device 6 are separate devices.
In addition, the determination apparatus 6 can also determine whether the articles | goods of each group are prepared for the group of several tags. Details will be described later.

本実施形態では、判定システム100は、タグとして電子タグを用いる。
符号化装置1または判定装置6が電子タグに対して高周波無線にて読み出し要求信号を送信すると、電子タグは当該信号を受信し、この信号に従って内蔵する半導体メモリからデータを読み出し、高周波無線にてそのデータを送信する。また、符号化装置1が電子タグに書き込みたいデータを含む書き込み要求信号を高周波無線にて送信すると、電子タグは当該信号を受信し、受信した信号からデータを取り出して半導体メモリに書き込む。
In the present embodiment, the determination system 100 uses an electronic tag as a tag.
When the encoding device 1 or the determination device 6 transmits a read request signal to the electronic tag by high-frequency radio, the electronic tag receives the signal, reads data from the built-in semiconductor memory according to this signal, and performs high-frequency radio Send the data. In addition, when the encoding device 1 transmits a write request signal including data to be written to the electronic tag by high-frequency radio, the electronic tag receives the signal, extracts data from the received signal, and writes the data to the semiconductor memory.

次に、符号化装置1及び判定装置6が行う、電子タグからの識別符号語や付加符号語の読み取りや書き込みについて説明する。
図2は、符号化装置1及び判定装置6が電子タグからの識別符号語や付加符号語の読み取りや書き込みを行う状態を示す図である。
Next, reading and writing of an identification codeword and an additional codeword from an electronic tag performed by the encoding device 1 and the determination device 6 will be described.
FIG. 2 is a diagram illustrating a state in which the encoding device 1 and the determination device 6 read and write the identification codeword and the additional codeword from the electronic tag.

同図(a)は、符号化装置1が電子タグから識別符号語を読み取っている状態を示す。
同図において、符号化装置1が読み取り可能な領域にあるn個の電子タグに含まれる半導体メモリ上の、所定の記憶領域ma1と符号化装置1と無線信号rf1とが示されている。各電子タグが識別符号語と付加符号語とを記憶する記憶領域はそれぞれ予め定められている。各電子タグの識別符号語の記憶領域には、互いに異なる識別符号語(識別符号語1、識別符号語2、・・・識別符号語n)が予め記憶されている。一方同図(a)はタグに付加符号語が書き込まれていない状態を示す。
符号化装置1は各電子タグに対して識別符号語の読み出し要求信号を送信し、これを受信した各電子タグは半導体メモリから識別符号語読み出して無線信号rf1にて返信する。符号化装置1は、この無線信号を受信することで識別符号語を読み取る。
FIG. 4A shows a state where the encoding device 1 is reading an identification code word from the electronic tag.
In the figure, a predetermined storage area ma1, an encoding apparatus 1 and a radio signal rf1 on a semiconductor memory included in n electronic tags in an area readable by the encoding apparatus 1 are shown. A storage area in which each electronic tag stores an identification code word and an additional code word is predetermined. Different identification code words (identification code word 1, identification code word 2,... Identification code word n) are stored in advance in the storage area of the identification code word of each electronic tag. On the other hand, FIG. 5A shows a state where no additional codeword is written in the tag.
The encoding device 1 transmits an identification codeword read request signal to each electronic tag, and each electronic tag that has received this signal reads out the identification codeword from the semiconductor memory and returns it as a radio signal rf1. The encoding apparatus 1 reads the identification code word by receiving this radio signal.

同図(b)は、符号化装置1が電子タグに付加符号語を書き込んだ状態を示す。
同図において、符号化装置1が読み取り可能な領域にあるn個の電子タグに含まれる半導体メモリ上の所定の領域ma2と符号化装置1とが示されている。符号化装置1は各電子タグに対して付加符号語の書き込み要求と付加符号語とを無線信号にて送信し、これを受信した各電子タグは半導体メモリに付加符号語を書き込む。識別符号語の記憶領域には同図(a)で記憶していた識別符号語が保持されている。また、付加符号語の記憶領域には符号化装置1が書き込んだ付加符号語が記憶されている。
符号化装置1が読み取り可能な領域にある電子タグの全てがタグの1グループを構成する。付加符号語は、このタグのグループを識別する。
FIG. 5B shows a state where the encoding device 1 has written an additional code word on the electronic tag.
In the figure, a predetermined area ma2 on a semiconductor memory included in n electronic tags in an area readable by the encoding apparatus 1 and the encoding apparatus 1 are shown. The encoding device 1 transmits a request for writing an additional codeword and an additional codeword to each electronic tag by a wireless signal, and each electronic tag that has received the request writes the additional codeword in the semiconductor memory. In the storage area of the identification code word, the identification code word stored in FIG. Further, the additional codeword written by the encoding device 1 is stored in the additional codeword storage area.
All of the electronic tags in the area that can be read by the encoding device 1 constitute one group of tags. The additional codeword identifies this group of tags.

同図(c)は、判定装置6が電子タグから識別符号語と付加符号語とを読み取っている状態を示す。
同図において、符号化装置1が読み取り可能な領域にあるn個の電子タグに含まれる半導体メモリ上の所定の領域ma2と符号化装置1と無線信号rf2とが示されている。識別符号語の記憶領域には同図(a)で記憶していた識別符号語が保持されている。また、付加符号語の記憶領域には符号化装置1が書き込んだ付加符号語が保持されている。
判定装置6は各電子タグに対して識別符号語と付加符号語の読み出し要求信号を送信し、これを受信した各電子タグは半導体メモリから識別符号語と付加符号語とを読み出して無線信号rf2にて返信する。判定装置6は、この無線信号を受信することで識別符号語を読み取る。
FIG. 5C shows a state where the determination device 6 is reading the identification code word and the additional code word from the electronic tag.
In the figure, a predetermined area ma2 on the semiconductor memory included in the n electronic tags in the area readable by the encoding apparatus 1, the encoding apparatus 1, and the radio signal rf2 are shown. In the storage area of the identification code word, the identification code word stored in FIG. Further, the additional codeword stored by the encoding device 1 is held in the additional codeword storage area.
The determination device 6 transmits an identification codeword and additional codeword read request signal to each electronic tag, and each electronic tag that has received the readout reads the identification codeword and the additional codeword from the semiconductor memory and transmits the radio signal rf2. Reply with. The determination device 6 reads the identification code word by receiving this radio signal.

図3は、符号化装置1の概略構成を示す機能ブロック図である。
同図において、符号化装置1は、読み取り部11と付加符号生成部12と、書き込み部13と、識別符号語記憶部14と、付加符号語記憶部15とを含んで構成される。
識別符号語記憶部14は、読み取り部11が読み取る識別符号語を記憶する。付加符号語記憶部15は、付加符号語生成部12が生成する付加符号語を記憶する。
読み取り部11は、読み取り可能な領域にある全ての電子タグから識別符号語を読み取って識別符号語記憶部14に書き込む。
付加符号語生成部12は、識別符号語記憶部14から識別符号語を読み出して付加符号語を生成し、付加符号語記憶部15に書き込む。書き込み部13は、付加符号語記憶部15から付加符号語を読み出し、読み出した付加符号語を各電子タグに書き込む。
FIG. 3 is a functional block diagram illustrating a schematic configuration of the encoding device 1.
In FIG. 1, the encoding device 1 includes a reading unit 11, an additional code generation unit 12, a writing unit 13, an identification codeword storage unit 14, and an additional codeword storage unit 15.
The identification codeword storage unit 14 stores the identification codeword read by the reading unit 11. The additional codeword storage unit 15 stores the additional codeword generated by the additional codeword generation unit 12.
The reading unit 11 reads the identification code word from all the electronic tags in the readable area and writes it in the identification code word storage unit 14.
The additional codeword generation unit 12 reads the identification codeword from the identification codeword storage unit 14, generates an additional codeword, and writes it in the additional codeword storage unit 15. The writing unit 13 reads the additional codeword from the additional codeword storage unit 15 and writes the read additional codeword to each electronic tag.

図4は、判定装置6の概略構成を示す機能ブロック図である。
同図において、判定装置6は、読み取り部61とグループ取得部62と判定側付加符号語生成部63と判定部64と付加符号語記憶部65とグループ記憶部66と判定側付加符号語記憶部67とを含んで構成される。
符号語記憶部65は、読み取り部61が読み取った識別符号語と付加符号語とを記憶する。グループ記憶部66は、クループ取得部62が書き込む付加符号語を記憶する。判定側付加符号語記憶部67は、判定側付加符号語生成部63が生成した判定側付加符号語と読み取り部61が読み取った付加符号語とを対応付けて記憶する。
FIG. 4 is a functional block diagram illustrating a schematic configuration of the determination device 6.
In the figure, a determination device 6 includes a reading unit 61, a group acquisition unit 62, a determination side additional codeword generation unit 63, a determination unit 64, an additional codeword storage unit 65, a group storage unit 66, and a determination side additional codeword storage unit. 67.
The code word storage unit 65 stores the identification code word and the additional code word read by the reading unit 61. The group storage unit 66 stores additional codewords written by the group acquisition unit 62. The determination side additional codeword storage unit 67 stores the determination side additional codeword generated by the determination side additional codeword generation unit 63 and the additional codeword read by the reading unit 61 in association with each other.

図5は、識別符号語記憶部14が記憶するデータの構成を示すデータ構成図である。
同図に示すように、識別符号語記憶部14は読み取り部11が読み取った1個以上の識別符号語を1列の表形式のデータとして記憶する。
FIG. 5 is a data configuration diagram showing a configuration of data stored in the identification codeword storage unit 14.
As shown in the figure, the identification codeword storage unit 14 stores one or more identification codewords read by the reading unit 11 as one column of tabular data.

図6は、符号語記憶部65が記憶するデータの構成を示すデータ構成図である。
同図に示すように、符号語記憶部65は読み取り部61が読み取った1個以上の識別符号語と付加符号語とを対応付けて2列の表形式のデータとして記憶する。
FIG. 6 is a data configuration diagram illustrating a configuration of data stored in the codeword storage unit 65.
As shown in the figure, the codeword storage unit 65 stores one or more identification codewords read by the reading unit 61 and additional codewords in association with each other as tabular data in two columns.

図7は、グループ記憶部66が記憶するデータの構成を示すデータ構成図である。
同図に示すように、グループ記憶部66はグループ取得部62が取得した互いに異なる付加符号語を1列の表形式のデータとして、即ち順序を付して記憶する。前述したように、付加符号語はタグのグループを示すので、1個の付加符号語がタグの1グループに対応する。グループ記憶部66は、グループ取得部62が付加符号語を取得した順に付加符号語を記憶する。
FIG. 7 is a data configuration diagram showing a configuration of data stored in the group storage unit 66.
As shown in the figure, the group storage unit 66 stores different additional codewords acquired by the group acquisition unit 62 as one column of table format data, that is, with an order added. As described above, since the additional codeword indicates a group of tags, one additional codeword corresponds to one group of tags. The group storage unit 66 stores additional codewords in the order in which the group acquisition unit 62 acquires additional codewords.

図8は、判定側付加符号語記憶部67が記憶するデータの構成を示すデータ構造図である。
同図に示すように、判定側付加符号語記憶部67は判定側付加符号語生成部63が生成した判定側付加符号語を付加符号語と対応付けて2列の表形式のデータとして、即ち順序を付して記憶する。判定側付加符号語記憶部67は判定側付加符号語生成部63が判定側付加符号語を生成した順に付加符号語と判定側付加符号語とを記憶する。
FIG. 8 is a data structure diagram illustrating a configuration of data stored in the determination-side additional codeword storage unit 67.
As shown in the figure, the determination-side additional codeword storage unit 67 associates the determination-side additional codeword generated by the determination-side additional codeword generation unit 63 with the additional codeword as tabular data in two columns, that is, Memorize with order. The determination side additional codeword storage unit 67 stores the additional codeword and the determination side additional codeword in the order in which the determination side additional codeword generation unit 63 generates the determination side additional codeword.

図4に戻って、読み取り部61は、読み取り可能な領域にある電子タグから識別符号語と付加符号語とを読み取って符号語記憶部65に書き込む。グループ取得部62は、符号語記憶部65から付加符号語を読み出し、読み出した付加符号語がグループ記憶部66に記憶されている付加符号語のいずれとも異なる場合は、読み出した付加符号語をグループ記憶部66に書き込む。判定側付加符号記憶部63は、グループ記憶部66から付加符号語を1個ずつ読み出し、読み出した付加符号語に対応付けて記憶される全ての識別符号語を符号語記憶部65から読み出して判定側付加符号語を生成し、付加符号語と対応付けて判定側付加符号語記憶部67に書き込む。判定部64は、判定側付加符号語と付加符号語とが同一か否かを付加符号語毎に判定する。判定側付加符号語と付加符号語とが同一の場合は、判定側付加符号語生成部63は、符号化装置1が付加符号語を生成したタグのグループと当該グループとが同一であると判断する。一方、判定側付加符号語と付加符号語とが異なる場合は、符号化装置1が付加符号語を生成したタグのグループと当該グループとが異なると判断する。   Returning to FIG. 4, the reading unit 61 reads the identification codeword and the additional codeword from the electronic tag in the readable area, and writes it in the codeword storage unit 65. The group acquisition unit 62 reads the additional codeword from the codeword storage unit 65, and if the read additional codeword is different from any of the additional codewords stored in the group storage unit 66, the group acquisition unit 62 groups the read additional codeword Write to the storage unit 66. The determination side additional code storage unit 63 reads one additional codeword from the group storage unit 66 one by one, and reads all identification codewords stored in association with the read additional codeword from the codeword storage unit 65 for determination. A side additional codeword is generated and written in the determination side additional codeword storage unit 67 in association with the additional codeword. The determination unit 64 determines for each additional codeword whether or not the determination-side additional codeword is the same as the additional codeword. When the determination-side additional codeword is the same as the additional codeword, the determination-side additional codeword generation unit 63 determines that the group of the tag that generated the additional codeword by the encoding device 1 is the same as the group. To do. On the other hand, if the determination side additional codeword is different from the additional codeword, the encoding apparatus 1 determines that the group of the tag that generated the additional codeword is different from the group.

図9は、図3の付加符号語生成部12の概略構成を示す機能ブロック図である。
同図において、付加符号語生成部12は、識別符号語読み出し部121と、剰余演算部122と、排他的論理和演算部123と、付加符号語書き込み部124と生成多項式記憶部125と排他的論理和記憶部126とを含んで構成される。
生成多項式記憶部125は、剰余演算部122が剰余演算に用いる生成多項式を記憶する。排他的論理和記憶部126は、排他的論理和演算部123による演算結果を記憶する。
識別符号語読み出し部121は、図3の識別符号語記憶部14から、式(1)で示される識別符号語を1個ずつ読み出す。
FIG. 9 is a functional block diagram showing a schematic configuration of the additional codeword generation unit 12 of FIG.
In the figure, an additional codeword generation unit 12 is exclusive of an identification codeword reading unit 121, a remainder calculation unit 122, an exclusive OR calculation unit 123, an additional codeword writing unit 124, and a generator polynomial storage unit 125. And a logical sum storage unit 126.
The generator polynomial storage unit 125 stores a generator polynomial used by the residue calculation unit 122 for residue calculation. The exclusive OR storage unit 126 stores the calculation result of the exclusive OR calculation unit 123.
The identification code word reading unit 121 reads the identification code word represented by the formula (1) one by one from the identification code word storage unit 14 of FIG.

Figure 2011010087
Figure 2011010087

剰余演算部122は、識別符号語読み出し部121が読み出した各識別符号語から巡回符号を生成する。具体的には、剰余演算部122は、まず生成多項式記憶部125から、式(2)で示される生成多項式G(x)を読み出す。   The remainder calculation unit 122 generates a cyclic code from each identification codeword read by the identification codeword reading unit 121. Specifically, the remainder calculation unit 122 first reads the generator polynomial G (x) represented by Expression (2) from the generator polynomial storage unit 125.

Figure 2011010087
Figure 2011010087

次に、剰余演算部122は、識別符号語読み出し部121が読み出した識別符号語F(x)と生成多項式G(x)とから、式(3)で示される剰余R(x)を算出する。   Next, the remainder calculation unit 122 calculates the remainder R (x) represented by Expression (3) from the identification codeword F (x) read by the identification codeword reading unit 121 and the generator polynomial G (x). .

Figure 2011010087
Figure 2011010087

そして、剰余演算部122は、元の識別符号語F(x)と剰余R(x)とを結合して巡回符号を生成する。なお、以上では生成多項式と識別符号語とが多項式表現で示されているが、生成多項式記憶部125は生成多項式の係数の列(gk−1,gk−2,・・・,g,g)を記憶する。また、識別符号語は上記多項式の係数の列(fm−1,fm−2,・・・,f,f)である。 The remainder calculation unit 122 combines the original identification codeword F (x) and the remainder R (x) to generate a cyclic code. In the above description, the generator polynomial and the identification codeword are shown in polynomial expression. However, the generator polynomial storage unit 125 stores the coefficient polynomial (g k−1 , g k−2 ,..., G 1). , G 0 ). Further, the identification code word is a sequence of coefficients (f m−1 , f m−2 ,..., F 1 , f 0 ) of the above polynomial.

排他的論理和演算部123は、剰余演算部122が生成した各巡回符号s,s,・・・,sのビット毎の排他的論理和を演算して付加符号語を生成する。排他的論理和演算部123が行う演算を式(4)に示す。 The exclusive OR calculator 123 calculates an exclusive OR for each bit of the cyclic codes s 1 , s 2 ,..., S k generated by the remainder calculator 122 to generate an additional codeword. The calculation performed by the exclusive OR calculation unit 123 is shown in Expression (4).

Figure 2011010087
Figure 2011010087

付加符号語書き込み部124は、付加符号語が生成された後に、生成された付加符号語を排他的論理和記憶部126から読み出して図3の付加符号語記憶部15に書き込む。   After the additional codeword is generated, the additional codeword writing unit 124 reads the generated additional codeword from the exclusive OR storage unit 126 and writes it in the additional codeword storage unit 15 of FIG.

図10は、図4の判定側付加符号語生成部63の概略構成を示す機能ブロック図である。
同図において、判定側付加符号語生成部63は、グループ読み出し部631と識別符号語読み出し部632と剰余演算部633と排他的論理和演算部634と付加符号語書き込み部635と生成多項式記憶部636と排他的論理和記憶部637とを含んで構成される。
生成多項式記憶部636は、図9の生成多項式記憶部125と同じ生成多項式を同じ形式で記憶する。排他的論理和記憶部637は図9の排他的論理和記憶部126に対応し、その説明を省略する。
グループ読み出し部631は、図4のグループ記憶部66から付加符号語を1個ずつ読み出す。識別符号語読み出し部632は、グループ読み出し部631が読み出した付加符号語に対応付けられた識別符号語を図4の符号語記憶部65から1個ずつ読み出す。剰余演算部633は、図9の剰余演算部122に対応し、剰余演算部122が用いた生成多項式と同一の生成多項式g(x)を生成多項式記憶部636から読み出し、識別符号語読み出し部632が読み出した識別符号語f(x)に対して、巡回符号を生成する。排他的論理和演算部634は、図9の排他的論理和演算部123と同様に判定側付加符号語を生成する。排他的論理和演算部634は、付加符号語毎に判定側付加符号語を生成する。付加符号語書き込み部634は、排他的論理和演算部634が生成した判定側付加符号語を付加符号語と対応付けて図4の判定側付加符号語記憶部67に書き込む。
FIG. 10 is a functional block diagram showing a schematic configuration of the determination side additional codeword generation unit 63 of FIG.
In the figure, the determination side additional codeword generation unit 63 includes a group reading unit 631, an identification codeword reading unit 632, a remainder calculation unit 633, an exclusive OR calculation unit 634, an additional codeword writing unit 635, and a generator polynomial storage unit. 636 and an exclusive OR storage unit 637.
The generator polynomial storage unit 636 stores the same generator polynomial as the generator polynomial storage unit 125 of FIG. 9 in the same format. The exclusive OR storage unit 637 corresponds to the exclusive OR storage unit 126 of FIG.
The group reading unit 631 reads additional codewords one by one from the group storage unit 66 of FIG. The identification codeword reading unit 632 reads the identification codeword associated with the additional codeword read by the group reading unit 631 one by one from the codeword storage unit 65 of FIG. The remainder calculation unit 633 corresponds to the residue calculation unit 122 in FIG. 9, reads the same generator polynomial g (x) as the generator polynomial used by the residue calculation unit 122 from the generator polynomial storage unit 636, and identifies the identification codeword reading unit 632. A cyclic code is generated for the identification codeword f (x) read out by. The exclusive OR operation unit 634 generates a determination-side additional codeword in the same manner as the exclusive OR operation unit 123 of FIG. The exclusive OR operation unit 634 generates a determination-side additional codeword for each additional codeword. The additional codeword writing unit 634 writes the determination side additional codeword generated by the exclusive OR operation unit 634 to the determination side additional codeword storage unit 67 of FIG. 4 in association with the additional codeword.

次に、符号化装置1の動作について説明する。
符号化装置1は、読み取り可能な領域にある全ての電子タグを1グループとして、各電子タグから識別符号語を読み取る。各電子タグは一括して読み取り可能領域内にあってもよいし、順次読み取り可能領域内にあってもよい。例えば、符号化装置1は読み取り指示ボタン(不図示)を備える。読み取り指示ボタンが押下されると、符号化装置1は読み取り可能な全ての電子タグから識別符号語を読み取る。
あるいは、符号化装置1は読み取り開始ボタン(不図示)と読み取り終了ボタン(不図示)とを備える。符号化装置1は、読み取り開始ボタンが押下されてから読み取り終了ボタンが押下されるまでに順次提示されて読み取り可能となる電子タグから識別符号語を読み取る。
Next, the operation of the encoding device 1 will be described.
The encoding device 1 reads all of the electronic tags in the readable area as one group and reads the identification codeword from each electronic tag. Each electronic tag may be collectively in the readable area or may be sequentially in the readable area. For example, the encoding device 1 includes a reading instruction button (not shown). When the reading instruction button is pressed, the encoding device 1 reads the identification codeword from all readable electronic tags.
Alternatively, the encoding device 1 includes a reading start button (not shown) and a reading end button (not shown). The encoding device 1 reads the identification codeword from the electronic tag that is sequentially presented and can be read from when the reading start button is pressed to when the reading end button is pressed.

図11は符号化装置1が行う処理の手順を示すフローチャートである。
読み取り部11は、上記読み取り指示ボタンあるいは読み取り開始ボタンが押下されると、タグからの識別符号語の読み取りを開始する。
ステップS1において、読み取り部11は読み取り終了か否かを判断する。電子タグが一括して読み取り可能領域内にある場合は、読み取り部11は未読み取りの電子タグが無いと判断した場合に読み取り終了と判断する。電子タグが順次読み取り可能領域内にある場合は、読み取り部11は、読み取り終了ボタンが押下されている場合に読み取り終了と判断する。読み取り終了と判断した場合(ステップS1:YES)は、ステップS2に進み、読み取り終了でないと判断した場合(ステップS1:NO)は、ステップS3に進む。
ステップS2において、読み取り部11は読み取り処理完了を示す信号を付加符号語生成部12に出力し、付加符号語生成部12は付加符号語を生成する処理を開始する。
ステップS3において、読み取り部11は電子タグから読み取り符号語を読み取る。その後読み取り部11はステップS1に戻る。
FIG. 11 is a flowchart showing a procedure of processing performed by the encoding device 1.
When the reading instruction button or the reading start button is pressed, the reading unit 11 starts reading the identification codeword from the tag.
In step S1, the reading unit 11 determines whether or not reading is finished. When the electronic tags are collectively in the readable area, the reading unit 11 determines that the reading is finished when it is determined that there is no unread electronic tag. When the electronic tags are sequentially within the readable area, the reading unit 11 determines that the reading is completed when the reading end button is pressed. If it is determined that the reading is completed (step S1: YES), the process proceeds to step S2, and if it is determined that the reading is not completed (step S1: NO), the process proceeds to step S3.
In step S2, the reading unit 11 outputs a signal indicating the completion of the reading process to the additional codeword generation unit 12, and the additional codeword generation unit 12 starts a process of generating the additional codeword.
In step S3, the reading unit 11 reads a read code word from the electronic tag. Thereafter, the reading unit 11 returns to Step S1.

ステップS4において排他的論理和演算部123は排他的論理和記憶部126のデータを(0,0,・・・,0)に初期化する。
ステップS5において識別符号語読み出し部121は、図3の識別符号語記憶部14に記憶されている順に従って識別符号語を1個読み出す。
ステップS6において識別符号語読み出し部121は、識別符号語記憶部14に未読み出しの識別符号語があったか否かを判断する。残りの識別符号語があった場合(ステップS6:YES)は、ステップS7に進み、なかった場合(ステップS6:NO)は、ステップS9に進む。
In step S4, the exclusive OR operation unit 123 initializes the data in the exclusive OR storage unit 126 to (0, 0,..., 0).
In step S5, the identification code word reading unit 121 reads one identification code word in the order stored in the identification code word storage unit 14 of FIG.
In step S <b> 6, the identification codeword reading unit 121 determines whether there is an unread identification codeword in the identification codeword storage unit 14. If there is a remaining identification code word (step S6: YES), the process proceeds to step S7, and if not (step S6: NO), the process proceeds to step S9.

ステップS7において、識別符号語読み出し部121は読み出した識別符号語を剰余演算部122に出力し、剰余演算部122は入力された識別符号語識別符号語から巡回符号を生成する。具体的には、生成多項式記憶部125から生成多項式を読み出し、識別符号語読み出し部121から入力された識別符号語を生成多項式で除した剰余を算出し、元の識別符号語と剰余とを結合して巡回符号を生成する。剰余演算部122は生成した巡回符号を排他的論理和演算部123に出力する。
ステップS8において、排他的論理和演算部123は剰余演算部122から入力される各巡回符号のビット毎の排他的論理和をとる。具体的には、排他的論理和演算部123は排他的論理和記憶部126からデータを読み出し、読み出したデータと入力された巡回符号とのビット毎の排他的論理和を演算し、演算結果を排他的論理和記憶部126に書き込む。その後、付加符号語生成部12はステップS5に戻る。
In step S7, the identification codeword reading unit 121 outputs the read identification codeword to the remainder calculation unit 122, and the remainder calculation unit 122 generates a cyclic code from the input identification codeword identification codeword. Specifically, the generator polynomial is read from the generator polynomial storage unit 125, a remainder obtained by dividing the identification codeword input from the identification codeword reading unit 121 by the generator polynomial is calculated, and the original identification codeword and the remainder are combined. Thus, a cyclic code is generated. The remainder calculation unit 122 outputs the generated cyclic code to the exclusive OR calculation unit 123.
In step S <b> 8, the exclusive OR operation unit 123 calculates an exclusive OR for each bit of each cyclic code input from the remainder operation unit 122. Specifically, the exclusive OR operation unit 123 reads data from the exclusive OR storage unit 126, calculates the bitwise exclusive OR of the read data and the input cyclic code, and calculates the operation result. Write to exclusive OR storage unit 126. Thereafter, the additional codeword generation unit 12 returns to Step S5.

ステップS9において、識別符号語読み出し部121は付加符号語書き込み部124に残りの識別符号語が無いことを示す信号を出力し、付加符号語書き込み部124は排他的論理和記憶部126からデータを読み出して図3の付加符号語記憶部15に書き込む。ここで、付加符号語書き込み部124が排他的論理和記憶部126から読み出すデータは、付加符号語である。付加符号語生成部12は処理完了を示す信号を書き込み部13に出力し、ステップS10に進む。
ステップS10において、書き込み部13はタグへの付加符号語の書き込みが終了したか否かを判断する。電子タグが一括して書き込み可能領域内にある場合は、書き込み部13は未書き込みの電子タグが無いと判断した場合に読み取り終了と判断する。電子タグが順次書き込み可能領域内にある場合は、書き込み部13は、書き込み終了ボタンが押下されている場合に書き込み終了と判断する。書き込み終了と判断した場合(ステップS10:YES)は、符号化装置1は処理を終了する。ステップS10で書き込み終了でないと判断した場合(ステップS10:NO)は、書き込み部13はステップS11に進む。
ステップS11において、書き込み部13は電子タグに付加符号語を書き込む。その後書き込み部13はステップS10に戻る。
In step S 9, the identification codeword reading unit 121 outputs a signal indicating that there is no remaining identification codeword to the additional codeword writing unit 124, and the additional codeword writing unit 124 stores the data from the exclusive OR storage unit 126. Read and write to the additional codeword storage unit 15 of FIG. Here, the data that the additional codeword writing unit 124 reads from the exclusive OR storage unit 126 is an additional codeword. The additional codeword generation unit 12 outputs a signal indicating the completion of processing to the writing unit 13, and proceeds to step S10.
In step S10, the writing unit 13 determines whether or not the writing of the additional codeword to the tag is finished. When the electronic tags are collectively in the writable area, the writing unit 13 determines that the reading is completed when it is determined that there is no unwritten electronic tag. When the electronic tags are sequentially in the writable area, the writing unit 13 determines that the writing is finished when the writing end button is pressed. If it is determined that the writing has ended (step S10: YES), the encoding device 1 ends the process. If it is determined in step S10 that writing has not ended (step S10: NO), the writing unit 13 proceeds to step S11.
In step S11, the writing unit 13 writes the additional code word in the electronic tag. Thereafter, the writing unit 13 returns to Step S10.

上述したように、付加符号語生成部12はステップS6において残りの識別符号語の有無を判断し、残りの識別符号語がなくなるまでステップS7以下の処理を行うので、任意個の識別符号語に対して巡回符号の生成および排他的論理和の演算を行う。つまり、付加符号語生成部12が行う演算は任意個の識別符号語に対応する演算である。したがって、符号化装置1は任意個のタグを含むタグのグループに対して付加符号語を生成する。
また、付加符号語生成部12が行う巡回符号の生成は識別符号語毎に独立した処理なので、識別符号語の順序は生成される巡回符号に影響しない。かつ、付加符号語生成部12は巡回符号に対してビット毎の排他的論理和をとる演算を行っている。この排他的論理和の演算は可換である。以上より、付加符号語生成部12に識別符号語が入力される順序が変わっても同一の付加符号語が生成される。つまり、識別符号語に関して交換則が成り立つ。したがって、符号化装置1は、識別符号語を読み取る順序にかかわらず、同一のタグのグループに対して同一の付加符号語を生成する。
As described above, the additional codeword generation unit 12 determines whether or not there are remaining identification codewords in step S6, and performs the processes in and after step S7 until there are no remaining identification codewords. On the other hand, cyclic code generation and exclusive OR operation are performed. That is, the calculation performed by the additional codeword generation unit 12 is a calculation corresponding to an arbitrary number of identification codewords. Therefore, the encoding apparatus 1 generates an additional codeword for a group of tags including an arbitrary number of tags.
In addition, since the cyclic code generation performed by the additional codeword generation unit 12 is an independent process for each identification codeword, the order of the identification codewords does not affect the generated cyclic code. In addition, the additional codeword generation unit 12 performs an operation for obtaining an exclusive OR for each bit with respect to the cyclic code. This exclusive OR operation is commutative. As described above, even if the order in which the identification codewords are input to the additional codeword generation unit 12 is changed, the same additional codeword is generated. That is, an exchange rule is established for the identification codeword. Therefore, the encoding device 1 generates the same additional codeword for the same group of tags regardless of the order in which the identification codewords are read.

次に、判定装置6の動作について説明する。
読み取り部61は、読み取り可能な領域にある全ての電子タグから識別符号語と付加符号語とを読み取って符号語記憶部65に書き込む。符号化装置の読み取り部11の場合と同様、各電子タグは一括して与えられてもよいし、順次与えられてもよい。読み取り可能な領域にある全ての電子タグから識別符号語の読み取ると、読み取り部61は処理完了を示す信号をグループ取得部62に出力する。
読み取り部61から処理完了を示す信号が入力されると、グループ取得部62は、符号語記憶部65から付加符号語を読み出し、互いに異なる付加符号語をグループ記憶部66に書き込む。具体的にはまず、グループ取得部62は、グループ記憶部66を何も記憶していない状態に初期化する。次に、グループ取得部62は、符号語記憶部65に記憶されている順に従って付加符号語を1個ずつ読み出す。グループ取得部62は読み出した付加符号語がグループ記憶部66に記憶されているか否かを判断し、記憶されていなければその付加符号語をグループ記憶部66に書き込む。この処理を、符号語記憶部65に記憶されている全ての付加符号語に対して行った後、グループ取得部62は処理完了を示す信号を判定側付加符号語生成部63に出力する。前述のように、付加符号語はタグのグループを示しているので、グループ取得部62は互いに異なる付加符号語を取得する処理によって、付加符号語を用いて識別符号語をグループに分類する。
Next, the operation of the determination device 6 will be described.
The reading unit 61 reads the identification codeword and the additional codeword from all the electronic tags in the readable area and writes them in the codeword storage unit 65. As in the case of the reading unit 11 of the encoding device, each electronic tag may be given all at once or may be given sequentially. When the identification code word is read from all the electronic tags in the readable area, the reading unit 61 outputs a signal indicating the completion of processing to the group acquisition unit 62.
When a signal indicating processing completion is input from the reading unit 61, the group acquisition unit 62 reads the additional codeword from the codeword storage unit 65 and writes different additional codewords to the group storage unit 66. Specifically, first, the group acquisition unit 62 initializes the group storage unit 66 to a state in which nothing is stored. Next, the group acquisition unit 62 reads out additional codewords one by one in the order stored in the codeword storage unit 65. The group acquisition unit 62 determines whether or not the read additional codeword is stored in the group storage unit 66. If not stored, the group acquisition unit 62 writes the additional codeword into the group storage unit 66. After performing this process for all the additional codewords stored in the codeword storage unit 65, the group acquisition unit 62 outputs a signal indicating the completion of the process to the determination side additional codeword generation unit 63. As described above, since the additional codeword indicates a group of tags, the group acquisition unit 62 classifies the identification codeword into a group using the additional codeword by a process of acquiring different additional codewords.

グループ取得部62から処理完了を示す信号が入力されると、判定側付加符号生成部63は、グループ記憶部66から付加符号語を1個ずつ読み出し、読み出した付加符号語に対応付けて記憶される全ての識別符号語を符号語記憶部65から読み出して判定側付加符号語を生成し、判定側付加符号語記憶部に付加符号語と対応付けて書き込む。判定側付加符号語生成部63の動作については後述する。全てのグループについて判定側付加符号語の生成が終了すると、判定側付加符号語生成部63は処理完了を示す信号を判定部64に出力する。
判定側付加符号語生成部63から処理完了を示す信号が入力されると、判定部64は、判定側付加符号語と付加符号語とが同一か否かを付加符号語毎に判定する。判定側付加符号語と付加符号語とが同一の場合は、判定側付加符号語生成部63は、符号化装置1が付加符号語を生成したタグのグループと当該グループとが同一であると判断する。一方、判定側付加符号語と付加符号語とが異なる場合は、符号化装置1が付加符号語を生成したタグのグループと当該グループとが異なると判断する。
When a signal indicating processing completion is input from the group acquisition unit 62, the determination-side additional code generation unit 63 reads additional codewords one by one from the group storage unit 66, and stores them in association with the read additional codewords. Are read from the codeword storage unit 65 to generate a determination side additional codeword, and are written in the determination side additional codeword storage unit in association with the additional codeword. The operation of the determination side additional codeword generation unit 63 will be described later. When the generation of the determination side additional codeword is completed for all the groups, the determination side additional codeword generation unit 63 outputs a signal indicating the completion of processing to the determination unit 64.
When a signal indicating processing completion is input from the determination-side additional codeword generation unit 63, the determination unit 64 determines for each additional codeword whether the determination-side additional codeword is the same as the additional codeword. When the determination-side additional codeword is the same as the additional codeword, the determination-side additional codeword generation unit 63 determines that the group of the tag that generated the additional codeword by the encoding device 1 is the same as the group. To do. On the other hand, if the determination side additional codeword is different from the additional codeword, the encoding apparatus 1 determines that the group of the tag that generated the additional codeword is different from the group.

次に判定側付加符号語生成部63の動作について説明する。
図12は図10の判定側付加符号語生成部63が判定側付加符号語を生成する手順を示すフローチャートである。
読み取り部11は、上記読み取り指示ボタンあるいは読み取り開始ボタンが押下されると、タグからの識別符号語の読み取りを開始する。
グループ取得部62は全ての付加符号語の書き込みを完了すると処理完了を示す信号を判定側付加符号語生成部63に出力し、判定側付加符号語生成部63は判定側付加符号語を生成する処理を開始する。
ステップS21において付加符号語書き込み部635は排他的論理和記憶部637の値を0ビットの並びに初期化する。
ステップS22においてグループ読み出し部631は、グループ記憶部66に記憶されている順に従って付加符号語を1個読み出す。
ステップS23においてグループ読み出し部631は、グループ記憶部66に未読み出しの付加符号語があったか否かを判断する。未読み出しの付加符号語があった場合(ステップS23:YES)、ステップS24に進み、無かった場合(ステップS23:NO)、判定側付加符号語生成部63は判定側付加符号語を生成する処理を終了する。
Next, the operation of the determination side additional codeword generation unit 63 will be described.
FIG. 12 is a flowchart showing a procedure in which the determination-side additional codeword generation unit 63 in FIG. 10 generates a determination-side additional codeword.
When the reading instruction button or the reading start button is pressed, the reading unit 11 starts reading the identification codeword from the tag.
When the group acquisition unit 62 completes the writing of all the additional codewords, it outputs a signal indicating processing completion to the determination side additional codeword generation unit 63, and the determination side additional codeword generation unit 63 generates the determination side additional codeword. Start processing.
In step S21, the additional codeword writing unit 635 initializes the value of the exclusive OR storage unit 637 in a sequence of 0 bits.
In step S <b> 22, the group reading unit 631 reads one additional codeword in the order stored in the group storage unit 66.
In step S <b> 23, the group reading unit 631 determines whether there is an unread additional codeword in the group storage unit 66. When there is an unread additional codeword (step S23: YES), the process proceeds to step S24. When there is no additional codeword (step S23: NO), the determination side additional codeword generation unit 63 generates a determination side additional codeword. Exit.

ステップS24において、グループ読み出し部631は読み出した付加符号語を識別符号語読み出し部632に出力し、識別符号語読み出し部632は、符号語記憶部65でグループ読み出し部631からの付加符号語と対応付けられている識別符号語を、記憶されている順に従って1個読み出す。
ステップS25において、識別符号語読み出し部632は、符号語記憶部65でグループ読み出し部631からの付加符号語と対応付けられかつ読み出していない残りの識別符号語があったか否かを判断する。残りの識別符号語があった場合(ステップS25:YES)、ステップS26に進み、無かった場合(ステップS25:NO)、ステップS28に進む。
ステップS26において、識別符号語読み出し部632は、読み出した識別符号語を剰余演算部633に出力し、剰余演算部633は入力された識別符号語識別符号語から巡回符号を生成する。具体的には、生成多項式記憶部636から生成多項式を読み出し、識別符号語読み出し部632から入力された識別符号語を生成多項式で除した剰余を算出し、元の識別符号語と剰余とを結合して巡回符号を生成する。剰余演算部633は生成した巡回符号を排他的論理和演算部634に出力する。
In step S24, the group reading unit 631 outputs the read additional codeword to the identification codeword reading unit 632, and the identification codeword reading unit 632 corresponds to the additional codeword from the group reading unit 631 in the codeword storage unit 65. One identification code word is read out in the order stored.
In step S <b> 25, the identification codeword reading unit 632 determines whether there is a remaining identification codeword that is associated with the additional codeword from the group reading unit 631 in the codeword storage unit 65 and has not been read out. When there is a remaining identification code word (step S25: YES), the process proceeds to step S26, and when there is not (step S25: NO), the process proceeds to step S28.
In step S26, the identification codeword reading unit 632 outputs the read identification codeword to the remainder calculation unit 633, and the remainder calculation unit 633 generates a cyclic code from the input identification codeword identification codeword. Specifically, the generator polynomial is read from the generator polynomial storage unit 636, a remainder obtained by dividing the identification codeword input from the identification codeword reading unit 632 by the generator polynomial is calculated, and the original identification codeword and the remainder are combined. Thus, a cyclic code is generated. The remainder calculation unit 633 outputs the generated cyclic code to the exclusive OR calculation unit 634.

ステップS27において、排他的論理和演算部634は剰余演算部633から入力される各巡回符号のビット毎の排他的論理和を演算して判定側付加符号語を生成する。具体的には、排他的論理和演算部633は排他的論理和記憶部637からデータを読み出し、読み出したデータと入力された巡回符号とのビット毎の排他的論理和を演算し、演算結果を排他的論理和記憶部637に書き込む。その後、判定側付加符号語生成部63はステップS24に戻る。
ステップS28において、識別符号語読み出し部632は付加符号語を付加符号語書き込み部635に出力する。付加符号語書き込み部635は、排他的論理和記憶部637からデータ(判定側付加符号語)を読み出し、読み出した判定側付加符号語を識別符号語読み出し部632からの付加符号語と対応付けて判定側付加符号語記憶部67に書き込む。ここで、付加符号語書き込み部635が排他的論理和記憶部637から読み出すデータは判定側付加符号語である。その後、判定側付加符号語生成部63はステップS21に戻る。
In step S <b> 27, the exclusive OR operation unit 634 calculates the exclusive OR for each bit of each cyclic code input from the remainder operation unit 633 to generate a determination side additional codeword. Specifically, the exclusive OR operation unit 633 reads the data from the exclusive OR storage unit 637, calculates the bitwise exclusive OR of the read data and the input cyclic code, and calculates the operation result. Write to the exclusive OR storage unit 637. Thereafter, the determination side additional codeword generation unit 63 returns to Step S24.
In step S <b> 28, the identification codeword reading unit 632 outputs the additional codeword to the additional codeword writing unit 635. The additional codeword writing unit 635 reads the data (determination side additional codeword) from the exclusive OR storage unit 637 and associates the read determination side additional codeword with the additional codeword from the identification codeword reading unit 632. Write to the determination side additional codeword storage unit 67. Here, the data that the additional codeword writing unit 635 reads from the exclusive OR storage unit 637 is the determination side additional codeword. Thereafter, the determination side additional codeword generation unit 63 returns to Step S21.

以上のように、符号化装置1が付加符号語を生成するのと同じ処理にて判定装置6が判定側付加符号語を生成することによってタグのグループの適正性を判定するので、納品リスト等、識別符号語以外の情報を用意せずとも欠品や物品の入れ替わりの有無を判断することができる。また、電子タグは識別符号語の読み出しと付加符号語の読み書きとができるものであればよく、電子タグ同士の通信等、特別な機能を必要としない。また、付加符号語によってグループの分類が示されるので、判定装置6は複数のグループの電子タグが与えられても識別符号語をグループ毎に分類して判定することができる。
なお、符号化装置1あるいは判定装置6は、異なるタグのグループに対して同一の付加符号語あるいは判定側付加符号語を生成する可能性がある。このため、判定システム100は異なるタグのグループを同一のタグのグループと判断する可能性がある。この場合、判定システム100は不適正と判定すべきタグのグループを適正と判定する判定誤りが生じる。しかし、適切な識別符号語や巡回符号を用いることによって判定誤りの発生率を減少させ、あるいは発生させないようにすることができる。
As described above, the determination device 6 determines the adequacy of the tag group by generating the determination side additional codeword in the same process as the encoding device 1 generates the additional codeword. Therefore, it is possible to determine whether there is a missing item or replacement of an article without preparing information other than the identification code word. The electronic tag only needs to be able to read the identification codeword and read / write the additional codeword, and does not require any special function such as communication between the electronic tags. Further, since the group classification is indicated by the additional codeword, the determination device 6 can classify the identification codeword for each group and determine even if a plurality of groups of electronic tags are given.
Note that the encoding device 1 or the determination device 6 may generate the same additional codeword or determination-side additional codeword for different tag groups. Therefore, the determination system 100 may determine different tag groups as the same tag group. In this case, a determination error occurs in which the determination system 100 determines that a group of tags that should be determined as inappropriate is appropriate. However, by using an appropriate identification codeword or cyclic code, it is possible to reduce or prevent the occurrence of determination errors.

なお、識別符号語の符号長は、202ビット以下が望ましい。特にアクティブタグの場合はタグの送信波の衝突が起こり得るので、64ビット以下が望ましい。符号長が長くなると読み取りや書き込みに時間がかかるからである。
付加符号語の符号長も、識別符号語の場合と同様に、202ビット以下が望ましく、特にアクティブタグの場合は64ビット以下が望ましい。
また、識別符号語の符号長は、10ビット以上が好ましい。判定システム100が、異なるタグのグループを同一のタグのグループであると判定する判定誤りを少なくするためである。
なお、付加符号語の符号長も、10ビット以上が好ましい。識別符号語の場合と同様、判定システム100が、異なるタグのグループを同一のタグのグループであると判定する判定誤りを少なくするためである。なお、前述の判定誤りを少なくするために、付加符号語の符号長は識別符号語の符号長よりも長いことが好ましい。
なお、符号化装置1がタグに識別符号語を書き込むようにしてもよい。この場合、符号化装置1は識別符号生成部を備え、識別符号生成部がタグ毎にユニークな識別符号語を生成して識別符号語記憶部14に書き込むとともに、書き込み部13に出力する。書き込み部13はタグに識別符号語を書き込む。全てのタグに識別符号語を書き込んだ後、上述したのと同様に付加符号語生成部12が付加符号語を生成して、書き込み部13が各タグに付加符号語を書き込む。
The code length of the identification code word is desirably 202 bits or less. In particular, in the case of an active tag, a collision of tag transmission waves may occur, so 64 bits or less are desirable. This is because it takes time to read and write as the code length increases.
The code length of the additional codeword is desirably 202 bits or less, as in the case of the identification codeword, and particularly desirably 64 bits or less in the case of an active tag.
The code length of the identification code word is preferably 10 bits or more. This is because the determination system 100 reduces determination errors that determine that different tag groups are the same tag group.
The code length of the additional codeword is preferably 10 bits or more. This is because, as in the case of the identification codeword, the determination system 100 reduces determination errors that determine that different tag groups are the same tag group. In order to reduce the above-described determination error, the code length of the additional codeword is preferably longer than the code length of the identification codeword.
Note that the encoding device 1 may write the identification codeword in the tag. In this case, the encoding apparatus 1 includes an identification code generation unit, and the identification code generation unit generates a unique identification code word for each tag, writes the identification code word in the identification code word storage unit 14, and outputs the identification code word to the writing unit 13. The writing unit 13 writes the identification code word in the tag. After writing the identification codeword to all the tags, the additional codeword generation unit 12 generates the additional codeword as described above, and the writing unit 13 writes the additional codeword to each tag.

なお、1個の電子タグが複数のグループに属していてもよい。この場合、複数のグループに属する電子タグは、複数の付加符号語を記憶する。
図13は1個の電子タグが複数の付加符号語を記憶する例を示す図である。同図において、電子タグの記憶部は複数の付加符号語記憶領域を備える。
まず、タグ1とタグ2とタグ5とが、タグのグループ1に含まれる。これらのタグが読み取り可能な領域に置かれると、符号化装置1はこれらのタグに付加符号語1を書き込む。次に、タグ3とタグ4とタグ5とが、タグのグループ2に含まれる。これらのタグが読み取り可能な領域に置かれると、符号化装置1はこれらのタグに付加符号語2を書き込む。これにより、同図に示されるように、タグ5は複数の付加符号語を記憶する。
One electronic tag may belong to a plurality of groups. In this case, the electronic tags belonging to a plurality of groups store a plurality of additional codewords.
FIG. 13 is a diagram illustrating an example in which one electronic tag stores a plurality of additional codewords. In the figure, the storage unit of the electronic tag includes a plurality of additional codeword storage areas.
First, tag 1, tag 2, and tag 5 are included in tag group 1. When these tags are placed in a readable area, the encoding device 1 writes the additional codeword 1 to these tags. Next, tag 3, tag 4, and tag 5 are included in tag group 2. When these tags are placed in a readable area, the encoding device 1 writes the additional codeword 2 to these tags. Thereby, as shown in the figure, the tag 5 stores a plurality of additional codewords.

判定装置6は、この電子タグから識別符号語と全ての付加符号語とを読み出して符号語記憶部65に記憶し、各付加符号語について上記の処理を行う。
図14は、複数の付加符号語を記憶する符号語記憶部65のデータ構造を示す図である。同図において、符号語記憶部65は、1個の電子タグから読み出した識別符号語と付加符号語とを1行分のデータとして記憶する。1個の電子タグから複数の付加符号語を読み出した場合、行L1に示されるように、符号語記憶部65は識別符号語と複数の付加符号語とを1行分のデータとして記憶する。
これにより、判定装置6は、複数のグループの各々にこの電子タグの識別符号語が含まれた判定側付加符号語を生成して、適切な判定を行うことができる。
The determination device 6 reads the identification codeword and all the additional codewords from the electronic tag, stores them in the codeword storage unit 65, and performs the above-described processing for each additional codeword.
FIG. 14 is a diagram illustrating a data structure of the codeword storage unit 65 that stores a plurality of additional codewords. In the figure, a codeword storage unit 65 stores an identification codeword and an additional codeword read from one electronic tag as data for one row. When a plurality of additional codewords are read from one electronic tag, the codeword storage unit 65 stores the identification codeword and the plurality of additional codewords as data for one row as shown in the row L1.
Thereby, the determination apparatus 6 can generate a determination-side additional codeword in which the identification codeword of the electronic tag is included in each of the plurality of groups, and perform appropriate determination.

なお、本実施形態では判定システム100はタグとして電子タグを用いたが、符号化装置1が読み書きを行え、かつ判定装置6が読み取りを行えるタグであればよく、電子タグに限らない。
例えば、判定システム100が用いるタグは、磁気記録媒体であってもよい。この場合、磁気タグは識別符号語や付加符号語を磁気記録媒体の磁極にて保持する。また、符号化装置1及び判定装置6はいずれも磁気ヘッド等の磁気的な読み取り手段を備えて識別符号語や付加符号語を読み取る。また、符号化装置1は磁気ヘッド等の書き込み手段を備え、磁気記録媒体の磁極を変化させることによって付加符号語を書き込む。
あるいは、判定システム100が用いるタグは、紙などにバーコードまたは二次元コードまたは数字の並びなど(以下、バーコード等ともいう)が印刷された光学的タグであってもよい。この場合、光学的タグはバーコード等の光学的表示にて識別符号語や付加符号語を保持する。また、符号化装置1及び判定装置6はいずれもカメラやバーコードリーダーなどの光学的な読み取り手段を備えて読み取りを行い、バーコード等をパターン認識或いは文字認識して識別符号語や付加符号語を読み取る。また、符号化装置1は印刷手段を備え、タグにバーコード等を印刷することによって付加符号語を書き込む。なお、光学的タグはバーコード等がホログラムにて印刷された薄膜であってもよい。あるいは、グループの適正性を判定する対象の物品自体をタグとして、当該物品にバーコード等が印刷されていてもよい。
あるいは、判定システム100が用いるタグは、液晶パネルにバーコード等が表示された光学的タグであってもよい。この場合、光学的タグは内蔵する半導体メモリ等の記憶部に識別符号語と付加符号語とを記憶する。液晶パネルは前記記憶部に記憶された識別符号語や付加符号語をバーコード等にて表示する。符号化装置1及び判定相違6はいずれもカメラやバーコードリーダーなどの光学的な読み取り手段を備えて読み取りを行い、バーコード等をパターン認識或いは文字認識して識別符号語や付加符号語を読み取る。また、符号化装置1は光学的タグへの通信手段を備えて光学的タグに付加符号語を送信し、光学的タグは受信した付加符号語を記憶部に記憶する。
In the present embodiment, the determination system 100 uses an electronic tag as a tag. However, any tag can be used as long as the encoding device 1 can read and write and the determination device 6 can read, and the determination system 100 is not limited to an electronic tag.
For example, the tag used by the determination system 100 may be a magnetic recording medium. In this case, the magnetic tag holds the identification code word and the additional code word with the magnetic pole of the magnetic recording medium. Further, both the encoding device 1 and the determination device 6 are provided with magnetic reading means such as a magnetic head to read the identification codeword and the additional codeword. The encoding device 1 includes writing means such as a magnetic head, and writes additional codewords by changing the magnetic poles of the magnetic recording medium.
Alternatively, the tag used by the determination system 100 may be an optical tag in which a barcode, a two-dimensional code, or a sequence of numbers (hereinafter also referred to as a barcode) is printed on paper or the like. In this case, the optical tag holds an identification code word and an additional code word by optical display such as a barcode. In addition, the encoding device 1 and the determination device 6 both include an optical reading means such as a camera or a barcode reader for reading, and the barcode or the like is pattern-recognized or character-recognized for identification codewords or additional codewords. Read. The encoding apparatus 1 includes a printing unit, and writes an additional codeword by printing a barcode or the like on a tag. The optical tag may be a thin film on which a barcode or the like is printed with a hologram. Alternatively, a bar code or the like may be printed on an article that is the target of determining the suitability of the group as a tag.
Alternatively, the tag used by the determination system 100 may be an optical tag in which a barcode or the like is displayed on the liquid crystal panel. In this case, the optical tag stores the identification codeword and the additional codeword in a storage unit such as a built-in semiconductor memory. The liquid crystal panel displays the identification code word and the additional code word stored in the storage unit as a barcode or the like. The encoding device 1 and the judgment difference 6 are both read by providing an optical reading means such as a camera or a barcode reader, and the barcode or the like is subjected to pattern recognition or character recognition to read an identification codeword or an additional codeword. . Also, the encoding device 1 includes a communication means for the optical tag and transmits an additional codeword to the optical tag, and the optical tag stores the received additional codeword in the storage unit.

<第2の実施形態>
第1の実施形態の符号化装置1と判定装置6とは、巡回符号の生成及び排他的論理和の算出によって、それぞれ付加符号語及び判定側付加符号を生成したが、本実施形態では、ハッシュ演算及び排他的論理和の演算によって付加符号語及び判定側付加符号語を生成する符号化装置2及び判定装置7について説明する。
本実施形態の符号化装置2の概略構成は、付加符号語生成部12が行う処理以外は図3で説明したのと同様であり、その図示および説明を省略する。付加符号語生成部12はハッシュ演算及び排他的論理和の演算によって付加符号語を生成する。
<Second Embodiment>
The encoding device 1 and the determination device 6 of the first embodiment generate the additional codeword and the determination side additional code by generating the cyclic code and calculating the exclusive OR, respectively. The encoding device 2 and the determination device 7 that generate the additional codeword and the determination side additional codeword by calculation and exclusive OR operation will be described.
The schematic configuration of the encoding apparatus 2 of the present embodiment is the same as that described with reference to FIG. 3 except for the processing performed by the additional codeword generation unit 12, and the illustration and description thereof will be omitted. The additional codeword generation unit 12 generates an additional codeword by a hash operation and an exclusive OR operation.

図15は符号化装置2の付加符号語生成部12の概略構成を示す機能ブロック図である。
同図において、付加符号語生成部12は識別符号語読み出し部121とハッシュ演算部122と排他的論理和演算部123と付加符号語書き込み部124と排他的論理和記憶部126とを含んで構成される。識別符号語読み出し部121と排他的論理和123と付加符号語書き込み部124と排他的論理和記憶部126とは図9の対応する部分と同様であり、その説明を省略する。
ハッシュ演算部222は、識別符号語記憶部14から識別符号語を1個ずつ読み出す。ハッシュ演算部122は、識別符号語読み出し部121が読み出した各識別符号語に対してハッシュ演算を行い、ハッシュ値を生成する。ハッシュ演算部222は公知のハッシュ関数であるMD5を用いてハッシュ演算を行う。或いは、ハッシュ演算部222は、SHA1など他のハッシュ関数を用いてハッシュ演算を行うようにしてもよい。
FIG. 15 is a functional block diagram illustrating a schematic configuration of the additional codeword generation unit 12 of the encoding device 2.
In the figure, the additional codeword generation unit 12 includes an identification codeword reading unit 121, a hash calculation unit 122, an exclusive OR calculation unit 123, an additional codeword writing unit 124, and an exclusive OR storage unit 126. Is done. The identification codeword reading unit 121, the exclusive OR 123, the additional codeword writing unit 124, and the exclusive OR storage unit 126 are the same as the corresponding parts in FIG.
The hash calculation unit 222 reads identification codewords one by one from the identification codeword storage unit 14. The hash calculation unit 122 performs a hash calculation on each identification codeword read by the identification codeword reading unit 121 to generate a hash value. The hash calculation unit 222 performs a hash calculation using MD5 which is a known hash function. Alternatively, the hash calculator 222 may perform a hash calculation using another hash function such as SHA1.

判定装置7の概略構成についても、判定側付加符号語生成部63が行う処理以外は図4で説明したのと同様であり、その図示および説明を省略する。判定側付加符号語生成部63がハッシュ演算及び排他的論理和の演算によって判定側付加符号語を生成する。   The schematic configuration of the determination device 7 is the same as that described with reference to FIG. 4 except for the processing performed by the determination-side additional codeword generation unit 63, and the illustration and description thereof are omitted. The determination side additional codeword generation unit 63 generates a determination side additional codeword by a hash operation and an exclusive OR operation.

図16は判定装置7判定側付加符号語生成部63の概略構成を示す機能ブロック図である。
同図において、判定側付加符号語生成部63は、グループ読み出し部631と識別符号語読み出し部632とハッシュ演算部733と排他的論理和演算部634と付加符号語書き込み部635と排他的論理和記憶部637とを含んで構成される。
グループ読み出し部631と識別符号語読み出し部632と排他的論理和演算部634と付加符号語書き込み部635と排他的論理和記憶部637とは図10の対応する部分と同様であり、その説明を省略する。
ハッシュ演算部733はハッシュ演算部122と同一のハッシュ演算を行い、ハッシュ値を生成する。
なお、図11で説明したのと同様に、付加符号語生成部12が行う演算は任意個の識別符号語に対応する演算であり、識別符号語に関して交換則が成り立つ。したがって、符号化装置2は任意個のタグを含むタグのグループに対して付加符号語を生成する。また、符号化装置2は、識別符号語を読み取る順序にかかわらず、同一のタグのグループに対して同一の付加符号語を生成する。
FIG. 16 is a functional block diagram illustrating a schematic configuration of the determination device 7 determination side additional codeword generation unit 63.
In the figure, the determination side additional codeword generation unit 63 includes a group reading unit 631, an identification codeword reading unit 632, a hash operation unit 733, an exclusive OR operation unit 634, and an additional codeword writing unit 635. And a storage unit 637.
The group reading unit 631, the identification codeword reading unit 632, the exclusive OR operation unit 634, the additional codeword writing unit 635, and the exclusive OR storage unit 637 are the same as the corresponding parts in FIG. Omitted.
The hash calculator 733 performs the same hash calculation as the hash calculator 122 to generate a hash value.
As described with reference to FIG. 11, the operation performed by the additional codeword generation unit 12 is an operation corresponding to an arbitrary number of identification codewords, and an exchange rule is established for the identification codeword. Therefore, the encoding device 2 generates an additional codeword for a group of tags including an arbitrary number of tags. Also, the encoding device 2 generates the same additional codeword for the same group of tags regardless of the order in which the identification codewords are read.

符号化装置2の動作については、付加符号語生成部12以外の動作は符号化装置1(図3)の対応する各部の動作と同様であり、説明を省略する。
図17は符号化装置2の付加符号語生成部12が付加符号語を生成する手順を示すフローチャートである。
符号化装置1の場合と同様、読み取り部11は、読み取り可能な領域にある全ての識別符号語の読み取りを完了すると処理完了を示す信号を付加符号語生成部12に出力し、付加符号語生成部12は付加符号語を生成する処理を開始する。
同図においてステップS31〜S33とS35とS36とはそれぞれ図11のステップS4〜S6とS8とS9とに対応し、その説明を省略する。
ステップS34において、識別符号語読み出し部121は読み出した識別符号語をハッシュ演算部222に出力し、ハッシュ演算部222はハッシュ演算を行って入力された識別符号語識別符号語からハッシュ値を生成する。ハッシュ演算部222は生成したハッシュ値を排他的論理和演算部123に出力する。
Regarding the operation of the encoding device 2, the operations other than the additional codeword generation unit 12 are the same as the operations of the corresponding units of the encoding device 1 (FIG. 3), and a description thereof will be omitted.
FIG. 17 is a flowchart illustrating a procedure in which the additional codeword generation unit 12 of the encoding device 2 generates an additional codeword.
As in the case of the encoding device 1, the reading unit 11 outputs a signal indicating the completion of processing to the additional codeword generation unit 12 when the reading of all the identification codewords in the readable area is completed, and generates the additional codeword. The unit 12 starts processing for generating an additional codeword.
In the figure, steps S31 to S33, S35, and S36 correspond to steps S4 to S6, S8, and S9 of FIG. 11, respectively, and description thereof is omitted.
In step S34, the identification codeword reading unit 121 outputs the read identification codeword to the hash calculation unit 222, and the hash calculation unit 222 performs a hash calculation to generate a hash value from the input identification codeword identification codeword. . The hash calculator 222 outputs the generated hash value to the exclusive OR calculator 123.

判定装置7の動作についても、判定側付加符号語生成部63以外の動作は判定装置6(図4)の対応する各部の動作と同様であり、説明を省略する。
図18は判定装置7の判定側付加符号語生成部63が判定側付加符号語を生成する手順を示すフローチャートである。
判定装置6の場合と同様、グループ取得部62は全ての付加符号語の書き込みを完了すると処理完了を示す信号を判定側付加符号語生成部63に出力し、判定側付加符号語生成部63は判定側付加符号語を生成する処理を開始する。
同図において、ステップS41〜S45及びS47とS48とはそれぞれ図12のステップS21〜S25及びS27とS28とに対応し、その説明を省略する。
ステップS46において、識別符号語読み出し部632は、読み出した識別符号語をハッシュ演算部733に出力し、ハッシュ演算部733はハッシュ演算部222(図15)と同一のハッシュ演算を行い、入力された識別符号語識別符号語からハッシュ値を生成する。ハッシュ演算部733は生成したハッシュ値を排他的論理和演算部634に出力する。
Regarding the operation of the determination device 7, the operations other than the determination-side additional codeword generation unit 63 are the same as the operations of the corresponding units of the determination device 6 (FIG. 4), and a description thereof will be omitted.
FIG. 18 is a flowchart illustrating a procedure in which the determination-side additional codeword generation unit 63 of the determination device 7 generates the determination-side additional codeword.
As in the case of the determination device 6, when the group acquisition unit 62 completes the writing of all the additional codewords, the group acquisition unit 62 outputs a signal indicating processing completion to the determination side additional codeword generation unit 63. The process of generating the determination side additional codeword is started.
In the figure, steps S41 to S45 and S47 and S48 correspond to steps S21 to S25 and S27 and S28 of FIG. 12, respectively, and description thereof is omitted.
In step S46, the identification codeword reading unit 632 outputs the read identification codeword to the hash calculation unit 733, and the hash calculation unit 733 performs the same hash calculation as the hash calculation unit 222 (FIG. 15) and is input. A hash value is generated from the identification codeword identification codeword. The hash calculator 733 outputs the generated hash value to the exclusive OR calculator 634.

以上のように、実施形態1の符号化装置1及び判定装置6と同様、符号化装置2が付加符号語を生成するのと同じ処理にて判定装置7が判定側付加符号語を生成することによってタグのグループの適正性有無を判断するので、実施形態1と同様の効果が得られる。   As described above, like the encoding device 1 and the determination device 6 of the first embodiment, the determination device 7 generates the determination side additional codeword by the same process as the encoding device 2 generates the additional codeword. Thus, whether or not the tag group is appropriate is determined, so that the same effect as in the first embodiment can be obtained.

なお、第1の実施形態の付加符号語生成部12が識別符号語から付加符号語を生成する演算は、上述したように識別符号語に関して交換則が成り立つ演算である。同様に、第2の実施形態の付加符号語生成部12が識別符号語から付加符号語を生成する演算も、上述したように識別符号語に関して交換則が成り立つ演算である。これにより、識別符号語を読み取る順序にかかわらず、同一のタグのグループからは同一の付加符号語が生成される。
また、第1の実施形態の付加符号語生成部12が行う、巡回符号を生成する演算は、符号語間の距離(ハミングディスタンス)を長くする演算である。同様に、第2の実施形態の付加符号語生成部12が行う、ハッシュ演算も、識別符号語よりも符号長を長くして、符号語間の距離を長くする演算である。
また、第1の実施形態の付加符号語生成部12と第2の実施形態の付加符号語12とは、排他的論理和をとる演算を行う。この排他的論理和は、引数の数に関わらず付加符号語の長さを一定に維持しながら他の演算(論理和や論理積など)に比べて演算による情報量の減少(エントロピーの増大)の度合いが少ないという特徴がある。
以上のように符号語間の距離が長くなること及び情報量の減少が少ないことにより、第1の実施形態の付加符号語生成部12と第2の実施形態の付加符号語生成部12とは、異なるタグのグループに対して同一の付加符号語を付与する付加符号語の衝突が生じにくい。
Note that the operation of generating the additional codeword from the identification codeword by the additional codeword generation unit 12 of the first embodiment is an operation that satisfies the exchange rule for the identification codeword as described above. Similarly, the operation in which the additional codeword generation unit 12 of the second embodiment generates an additional codeword from the identification codeword is also an operation in which an exchange rule is established for the identification codeword as described above. Thus, the same additional codeword is generated from the same tag group regardless of the order of reading the identification codeword.
In addition, the calculation for generating the cyclic code performed by the additional codeword generation unit 12 of the first embodiment is a calculation for increasing the distance (Hamming distance) between codewords. Similarly, the hash calculation performed by the additional codeword generation unit 12 of the second embodiment is also a calculation that makes the code length longer than the identification codeword and increases the distance between the codewords.
Further, the additional codeword generation unit 12 of the first embodiment and the additional codeword 12 of the second embodiment perform an operation of taking an exclusive OR. This exclusive logical sum is a reduced amount of information (increased entropy) compared to other operations (logical sum, logical product, etc.) while maintaining the length of the additional codeword constant regardless of the number of arguments. There is a feature that there is little degree of.
As described above, the additional codeword generation unit 12 of the first embodiment and the additional codeword generation unit 12 of the second embodiment can be obtained by increasing the distance between codewords and reducing the amount of information. The collision of additional codewords that give the same additional codeword to different tag groups is unlikely to occur.

なお、図3と図4と図9と図10とに示す各部の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより各部の処理を行ってもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。
また、「コンピュータシステム」は、WWWシステムを利用している場合であれば、ホームページ提供環境(あるいは表示環境)も含むものとする。
また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間の間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含むものとする。また上記プログラムは、前述した機能の一部を実現するためのものであっても良く、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであっても良い。
3, 4, 9, and 10 are recorded on a computer-readable recording medium, and the program recorded on the recording medium is read into a computer system. The processing of each unit may be performed by executing. Here, the “computer system” includes an OS and hardware such as peripheral devices.
Further, the “computer system” includes a homepage providing environment (or display environment) if a WWW system is used.
The “computer-readable recording medium” refers to a storage device such as a flexible medium, a magneto-optical disk, a portable medium such as a ROM and a CD-ROM, and a hard disk incorporated in a computer system. Furthermore, the “computer-readable recording medium” dynamically holds a program for a short time like a communication line when transmitting a program via a network such as the Internet or a communication line such as a telephone line. In this case, a volatile memory in a computer system serving as a server or a client in that case, and a program that holds a program for a certain period of time are also included. The program may be a program for realizing a part of the functions described above, and may be a program capable of realizing the functions described above in combination with a program already recorded in a computer system.

なお、付加符号語生成部12(図3)が付加符号語を生成する演算は、上記で説明した巡回符号の生成及び排他的論理和の演算やハッシュ値の生成及び排他的論理和の演算に限らず、任意個の識別符号語を入力としかつ識別符号語に関して交換則が成り立つ他の演算を用いてもよい。
例えば、付加符号語生成部12が、タグのグループに含まれる全ての識別符号語の排他的論理和を算出するようにしてもよい。あるいは、タグのグループに含まれる各識別符号語から所定の一部分を取り出して排他的論理和を算出するようにしてもよい。あるいは、識別符号語から生成した巡回符号の排他的論理和を算出する前または算出した後に、特定の位置のビットのNOTをとるようにしてもよい。
The additional codeword generation unit 12 (FIG. 3) generates the additional codeword in the above-described cyclic code generation and exclusive OR operation, hash value generation and exclusive OR operation. However, the present invention is not limited to this, and other operations that take an arbitrary number of identification code words as input and satisfy an exchange rule for the identification code word may be used.
For example, the additional codeword generation unit 12 may calculate the exclusive OR of all the identification codewords included in the tag group. Alternatively, an exclusive OR may be calculated by extracting a predetermined part from each identification codeword included in the tag group. Alternatively, before or after calculating the exclusive OR of the cyclic codes generated from the identification codewords, NOT of the bit at a specific position may be taken.

以上、この発明の実施形態を図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計変更等も含まれる。   The embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to this embodiment, and includes design changes and the like within a scope not departing from the gist of the present invention.

以上説明したように、本発明はタグのグループの適正性を判定する判定システムに用いて好適である。
例えば本発明を用いて、物流のように、メーカ、卸、小売、消費者など、同じモノの集合に対して複数の関係者が、欠品の有無を検査することができる。またレンタルリースシステムのように、送り出したものすべてが、戻ってきているか、を適正に確認することができる。
As described above, the present invention is suitable for use in a determination system that determines the appropriateness of a group of tags.
For example, by using the present invention, a plurality of parties, such as logistics, such as manufacturers, wholesalers, retailers, consumers, etc. can inspect whether there is a shortage of goods. In addition, as in the rental lease system, it is possible to properly check whether all the items sent out have returned.

1、2 符号化装置
6、7 判定装置
11、61 読み取り部
12 付加符号生成部
13 書き込み部
62 グループ取得部
63 判定側付加符号生成部
64 判定部
121、632 識別符号語読み出し部
122、633 剰余演算部
123、634 排他的論理和演算部
124、635 付加符号語書き込み部
222、733 ハッシュ演算部
631 グループ読み出し部
DESCRIPTION OF SYMBOLS 1, 2 Encoding apparatus 6, 7 Judgment apparatus 11, 61 Reading part 12 Additional code production | generation part 13 Writing part 62 Group acquisition part 63 Determination side additional code production | generation part 64 Judgment part 121,632 Identification codeword reading part 122,633 Surplus Calculation unit 123, 634 Exclusive OR calculation unit 124, 635 Additional codeword writing unit 222, 733 Hash calculation unit 631 Group reading unit

Claims (10)

タグのグループに含まれる各タグから識別符号語を読み取る読み取り部と、
任意個の識別符号語を入力としかつ識別符号語に関して交換則が成り立つ演算を前記識別符号語に対して行って、前記タグのグループを識別する付加符号語を生成する付加符号語生成部と、
前記付加符号語を前記識別符号語の各々に対応付けて前記タグのグループに含まれる各タグに書き込む書き込み部と
を具備することを特徴とする符号化装置。
A reading unit that reads an identification codeword from each tag included in the tag group;
An additional codeword generating unit that inputs an arbitrary number of identification codewords and performs an operation on the identification codeword with respect to the identification codeword to generate an additional codeword that identifies the group of tags;
And a writing unit that writes the additional codeword to each tag included in the tag group in association with each of the identification codewords.
前記付加符号語生成部が行う演算は前記識別符号語の各々から巡回符号を生成し、生成した巡回符号のビット毎の排他的論理和を算出する演算であることを特徴とする請求項1に記載の符号化装置。   The operation performed by the additional codeword generation unit is an operation that generates a cyclic code from each of the identification codewords and calculates an exclusive OR for each bit of the generated cyclic code. The encoding device described. 前記付加符号語生成部が行う演算は前記識別符号語の各々に対してハッシュ演算を行い、生成したハッシュ値のビット毎の排他的論理和を算出する演算であることを特徴とする請求項1に記載の符号化装置。   2. The operation performed by the additional codeword generation unit is an operation of performing a hash operation on each of the identification codewords and calculating an exclusive OR for each bit of the generated hash value. The encoding device described in 1. タグのグループを識別する付加符号語と識別符号語とをタグから読み取る読み取り部と、
読み取った前記識別符号語の全部に前記付加符号語の生成に用いられた演算と同一の演算を行って判定側付加符号語を生成する判定側付加符号語生成部と、
読み取った前記付加符号語と生成した前記判定側付加符号語とが同一であれば、付加符号語生成時のタグのグループと、読み取った前記タグのグループとが同一であると判断し、読み取った前記付加符号語と生成した前記判定側付加符号語とが異なれば、付加符号語生成時のタグのグループと、読み取ったタグのグループとが異なると判断する判定部と
を具備することを特徴とする判定装置。
A reading unit that reads an additional codeword for identifying a group of tags and an identification codeword from the tag;
A determination-side additional codeword generation unit that generates a determination-side additional codeword by performing the same operation as that used for generating the additional codeword on all of the read identification codewords;
If the read additional codeword and the generated determination-side additional codeword are the same, it is determined that the tag group at the time of additional codeword generation and the read tag group are the same, and read A determination unit that determines that if the additional codeword is different from the generated determination-side additional codeword, the tag group at the time of generating the additional codeword and the read tag group are different from each other. Judgment device.
前記読み取り部がタグから読み取った前記付加符号語が同一であるか否かに基づいて前記識別符号語をグループに分類するグループ取得部をさらに具備し、
前記判定側付加符号語生成部は、同一の前記グループに属する前記識別符号語の全部に、付加符号語の生成に用いられた演算と同一の演算を行って判定側付加符号語を生成し、
前記判定部は、読み取った前記付加符号語と生成した前記判定側付加符号語とが同一であれば、付加符号語生成時のタグのグループと、グループ取得部が分類したグループに含まれるタグのグループとが同一であると判断し、読み取った前記付加符号語と生成した前記判定側付加符号語とが異なれば、付加符号語生成時のタグのグループと、グループ取得部が分類したグループに含まれるタグのグループとが異なると判断する
ことを特徴とする請求項4に記載の判定装置。
A group acquisition unit that classifies the identification codewords into groups based on whether the additional codewords read from the tag by the reading unit are the same;
The determination side additional codeword generation unit generates a determination side additional codeword by performing the same operation as that used for generating the additional codeword on all the identification codewords belonging to the same group,
If the read additional codeword and the generated determination side additional codeword are the same, the determination unit includes a tag group included in the group classified by the group acquisition unit and a group of tags when the additional codeword is generated. If it is determined that the group is the same, and the read additional codeword is different from the generated determination side additional codeword, it is included in the group of tags at the time of additional codeword generation and the group classified by the group acquisition unit The determination device according to claim 4, wherein the determination unit determines that the tag group is different.
前記判定側付加符号語生成部が行う演算は前記識別符号語の各々から巡回符号を生成し、生成した巡回符号のビット毎の排他的論理和を算出する演算であることを特徴とする請求項4または請求項5に記載の判定装置。   The calculation performed by the determination side additional codeword generation unit is a calculation that generates a cyclic code from each of the identification codewords and calculates an exclusive OR for each bit of the generated cyclic code. The determination apparatus according to claim 4 or 5. 前記判定側付加符号語生成部が行う演算は前記識別符号語の各々に対してハッシュ演算を行い、生成したハッシュ値のビット毎の排他的論理和を算出する演算であることを特徴とする請求項4または請求項5に記載の判定装置。   The operation performed by the determination side additional codeword generation unit is an operation that performs a hash operation on each of the identification codewords and calculates an exclusive OR for each bit of the generated hash value. The determination device according to claim 4 or 5. タグのグループに含まれる各タグから識別符号語を読み取る読み取り部と、
任意個の識別符号語を入力としかつ識別符号語に関して交換則が成り立つ演算を前記識別符号語に対して行って、前記タグのグループを識別する付加符号語を生成する付加符号語生成部と、
前記付加符号語を前記識別符号語の各々に対応付けて前記タグのグループに含まれる各タグに書き込む書き込み部と
を具備する符号化装置と、
タグからタグのグループを識別する付加符号語と識別符号語とを読み取る読み取り部と、
読み取った前記識別符号語の全部に前記付加符号語の生成に用いられた演算と同一の演算を行って判定側付加符号語を生成する判定側付加符号語生成部と、
読み取った前記付加符号語と生成した前記判定側付加符号語とが同一であれば、付加符号語生成時のタグのグループと、読み取った前記タグのグループとが同一であると判断し、読み取った前記付加符号語と生成した前記判定側付加符号語とが異なれば、付加符号語生成時のタグのグループと、読み取ったタグのグループとが異なると判断する判定部と
を具備する判定装置と
を具備することを特徴とする判定システム。
A reading unit that reads an identification codeword from each tag included in the tag group;
An additional codeword generating unit that inputs an arbitrary number of identification codewords and performs an operation on the identification codeword with respect to the identification codeword to generate an additional codeword that identifies the group of tags;
An encoding device comprising: a writing unit that associates the additional codeword with each of the identification codewords and writes the additional codeword to each tag included in the tag group;
A reading unit that reads an additional codeword and an identification codeword for identifying a group of tags from the tag;
A determination-side additional codeword generation unit that generates a determination-side additional codeword by performing the same operation as that used for generating the additional codeword on all of the read identification codewords;
If the read additional codeword and the generated determination-side additional codeword are the same, it is determined that the tag group at the time of additional codeword generation and the read tag group are the same, and read A determination device comprising: a determination unit configured to determine that if the additional codeword is different from the generated determination-side additional codeword, the tag group at the time of additional codeword generation is different from the read tag group; A determination system comprising:
符号化装置が、タグのグループに含まれる各タグから識別符号語を読み取る読み取りステップと、
符号化装置が、任意個の識別符号語を入力としかつ識別符号語に関して交換則が成り立つ演算を前記識別符号語に対して行って、前記タグのグループを識別する付加符号語を生成する付加符号語生成ステップと、
符号化装置が、前記付加符号語を前記識別符号語の各々に対応付けて前記タグのグループに含まれる各タグに書き込む書き込みステップと
を具備することを特徴とする符号化方法。
A reading step in which an encoding device reads an identification codeword from each tag included in the group of tags;
An additional code for generating an additional codeword for identifying the group of tags by performing an operation on the identification codeword with an arbitrary number of identification codewords as input and an exchange rule for the identification codeword. A word generation step;
The encoding method includes: a writing step of writing the additional codeword to each tag included in the tag group in association with each of the identification codewords.
判定装置が、タグからタグのグループを識別する付加符号語と識別符号語とを読み取る読み取りステップと、
判定装置が、読み取った前記識別符号語の全部に前記付加符号語の生成に用いられた演算と同一の演算を行って判定側付加符号語を生成する判定側付加符号語生成ステップと、
判定装置が、読み取った前記付加符号語と生成した前記判定側付加符号語とが同一であれば、付加符号語生成時のタグのグループと、読み取った前記タグのグループとが同一であると判断し、読み取った前記付加符号語と生成した前記判定側付加符号語とが異なれば、付加符号語生成時のタグのグループと、読み取ったタグのグループとが異なると判断する判定ステップと
を具備することを特徴とする判定方法。
A reading step for reading an additional codeword and an identification codeword for identifying a group of tags from the tag;
A determination side additional codeword generation step for generating a determination side additional codeword by performing the same operation as that used for generating the additional codeword on all of the read identification codewords by the determination device;
If the read additional codeword and the generated determination-side additional codeword are the same, the determination device determines that the tag group at the time of additional codeword generation and the read tag group are the same And, if the read additional codeword is different from the generated determination side additional codeword, a determination step of determining that the tag group at the time of generating the additional codeword is different from the read tag group is provided. The determination method characterized by this.
JP2009152247A 2009-06-26 2009-06-26 Encoding apparatus, determination apparatus, determination system, encoding method and determination method Pending JP2011010087A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009152247A JP2011010087A (en) 2009-06-26 2009-06-26 Encoding apparatus, determination apparatus, determination system, encoding method and determination method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009152247A JP2011010087A (en) 2009-06-26 2009-06-26 Encoding apparatus, determination apparatus, determination system, encoding method and determination method

Publications (1)

Publication Number Publication Date
JP2011010087A true JP2011010087A (en) 2011-01-13

Family

ID=43566223

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009152247A Pending JP2011010087A (en) 2009-06-26 2009-06-26 Encoding apparatus, determination apparatus, determination system, encoding method and determination method

Country Status (1)

Country Link
JP (1) JP2011010087A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013210751A (en) * 2012-03-30 2013-10-10 Nippon Telegr & Teleph Corp <Ntt> Determination system, encoding device, decoding device, determination method, and computer program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002182768A (en) * 2000-12-13 2002-06-26 Zero System:Kk Install server device, install service method and information recording medium
WO2007114520A1 (en) * 2006-03-30 2007-10-11 Nec Corporation Article control system and article control method
WO2008086393A1 (en) * 2007-01-09 2008-07-17 Mojix, Inc. Systems and methods for secure supply chain management and inventory control
JP2009522900A (en) * 2006-01-04 2009-06-11 ノキア コーポレイション Method for verifying state consistency between video encoder and video decoder
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 (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002182768A (en) * 2000-12-13 2002-06-26 Zero System:Kk Install server device, install service method and information recording medium
JP2009522900A (en) * 2006-01-04 2009-06-11 ノキア コーポレイション Method for verifying state consistency between video encoder and video decoder
WO2007114520A1 (en) * 2006-03-30 2007-10-11 Nec Corporation Article control system and article control method
WO2008086393A1 (en) * 2007-01-09 2008-07-17 Mojix, Inc. Systems and methods for secure supply chain management and inventory control
JP2010515999A (en) * 2007-01-09 2010-05-13 モジクス, インコーポレイティッド System and method for protecting supply chain management and inventory management
JP2010061468A (en) * 2008-09-04 2010-03-18 Nippon Hoso Kyokai <Nhk> Identification information output apparatus, program thereof, program transmission apparatus, and ic card

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CSNG199800849004; 福田 隆行 他: 'ICカードを用いたID情報に基づく秘密鍵共有方式に関する一考察' 電子情報通信学会論文誌 第J76-D-I巻 第1号, 19930125, p.24〜26, 社団法人電子情報通信学会 THE INSTITUTE OF ELECTRO *
JPN6013063210; 福田 隆行 他: 'ICカードを用いたID情報に基づく秘密鍵共有方式に関する一考察' 電子情報通信学会論文誌 第J76-D-I巻 第1号, 19930125, p.24〜26, 社団法人電子情報通信学会 THE INSTITUTE OF ELECTRO *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013210751A (en) * 2012-03-30 2013-10-10 Nippon Telegr & Teleph Corp <Ntt> Determination system, encoding device, decoding device, determination method, and computer program

Similar Documents

Publication Publication Date Title
US11922363B2 (en) Counterparty physical proximity verification for digital asset transfers
US11900306B2 (en) Verifiable parcel distributed ledger shipping and tracking system
US20220058458A1 (en) Methods and system of tracking &amp; tracing for supply chain by the use of barcode and peer review
US9443119B2 (en) Portable encoded information reading terminal configured to locate groups of RFID tags
CN101023437B (en) Hybrid tag interface system and method using the hybrid tag interface
JP4153918B2 (en) Wireless tag reader, wireless tag system, program, and wireless communication method
TWI332632B (en) Radio frequency identification tags capable of embedding receiver signal strength indications
CN104574011A (en) Order producing method and device as well as warehouse management system
KR20120092641A (en) Article with attached display code, display code generation device and information relay method
CN102915455A (en) Trace barcode generator, electronic scale, verification device, trace system and trace method
CN101223531A (en) Verification of a product identifier
CN104662590A (en) Motion video recognition device and motion video recognition method
US20070046431A1 (en) System and method for combining RFID tag memory
CN106997479A (en) A kind of inventory management system based on RFID technique
JP2011010087A (en) Encoding apparatus, determination apparatus, determination system, encoding method and determination method
WO2021217914A1 (en) Damage evidence extraction method and apparatus, computer device, and storage medium
US9275258B2 (en) Verifying system and a method thereof
US20220123939A1 (en) Relational Product Authentication System
CN111274831B (en) Information circulation system, method, equipment and storage medium based on RFID
JP2008234537A (en) Forged merchandise detecting system and forged merchandise detecting method
US11763250B2 (en) Efficient syncing of RFID item data between mobile devices and central servers
CN113282940A (en) Method, device, electronic equipment and storage medium for displaying secret information in segments
JP2012008783A (en) Set recognition system, set recognition method, encoding device, decoding device and program
JP4571536B2 (en) Multi-read method and multi-read device for wireless tag
Hervert-Escobar et al. Methods of selection and identification of RFID tags

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20111005

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130516

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130521

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20130605

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20130610

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20130610

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130722

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20130724

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20131220