JP6742568B2 - Copy protection code generation method - Google Patents

Copy protection code generation method Download PDF

Info

Publication number
JP6742568B2
JP6742568B2 JP2015196270A JP2015196270A JP6742568B2 JP 6742568 B2 JP6742568 B2 JP 6742568B2 JP 2015196270 A JP2015196270 A JP 2015196270A JP 2015196270 A JP2015196270 A JP 2015196270A JP 6742568 B2 JP6742568 B2 JP 6742568B2
Authority
JP
Japan
Prior art keywords
code
image
superimposed
superposed
noise
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.)
Active
Application number
JP2015196270A
Other languages
Japanese (ja)
Other versions
JP2017068766A (en
Inventor
啓真 峯
啓真 峯
Original Assignee
株式会社シェアメディカル
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 株式会社シェアメディカル filed Critical 株式会社シェアメディカル
Priority to JP2015196270A priority Critical patent/JP6742568B2/en
Publication of JP2017068766A publication Critical patent/JP2017068766A/en
Application granted granted Critical
Publication of JP6742568B2 publication Critical patent/JP6742568B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、端末上で表示される1次元コード乃至は2次元コードの複製防止に関るものである。 The present invention relates to prevention of duplication of a one-dimensional code or a two-dimensional code displayed on a terminal.

従来、1次元コード(バーコード)や、2次元コードと呼ばれる識別子が利用されている。これらコードは、数字や文字などの情報を一定の規則に従って表記しており、リーダによって読み取ることで容易に情報を取得することができる。 Conventionally, an identifier called a one-dimensional code (bar code) or a two-dimensional code has been used. These codes describe information such as numbers and letters according to a certain rule, and the information can be easily acquired by reading with a reader.

これまでは、これらコードは、商品の外装や商品本体、チケットなどに印刷され、リーダで読み取ることで利用されていた。例えば、商品のクーポンや会員カード、イベントのチケット、商品券などが、紙や樹脂などにコードを印刷することで提供される。 Until now, these codes have been used by being printed on the exterior of the product, the product body, tickets, etc., and read by a reader. For example, product coupons, membership cards, event tickets, gift certificates, etc. are provided by printing a code on paper or resin.

クーポンや入場券など、一度利用されたコードの再利用を出来なくしたい場合、それぞれ異なるコードを印刷する特殊な印刷方法が必要となる。加えて、目視やコピー機での複製、写真撮影などによって複製が極めて容易であるため、不正に複製されたコードが使用される恐れがある。それを防ぐためには、別途コードの上にスクラッチ加工する等、特殊な加工方法も必要である。 If you want to prevent the reuse of codes that have been used once, such as coupons and admission tickets, you need a special printing method to print different codes. In addition, since the duplication is extremely easy by visual inspection, duplication with a copying machine, photography, etc., there is a possibility that an illegally duplicated code is used. To prevent this, special processing methods such as scratch processing on the cord separately are also required.

そのため、コード上に、可視光の吸収性及び赤外光の透過性を有する隠蔽部を設け、目視並びにコピー機での複製を防止したコードが知られている(特許文献1)。 Therefore, there is known a code in which a concealing portion having a visible light absorbing property and an infrared light transmitting property is provided on the code to prevent visual inspection and duplication by a copying machine (Patent Document 1).

また、近年では、モバイル端末の普及に伴って、ユーザに携行される端末の画面上に表示したコードを、印刷物のコードに替えて利用することが行われている(例えば特許文献2)。 Further, in recent years, with the spread of mobile terminals, the code displayed on the screen of the terminal carried by the user has been used instead of the code of the printed matter (for example, Patent Document 2).

特開2015−110308号公報JP, 2005-110308, A 特開2002−189963号公報JP, 2002-189963, A

このように、印刷物でコードを提供する場合、印刷する媒体の費用や、印刷作業や特殊加工のコスト・手間、印刷物の在庫管理、使用済の印刷物の処理など、コードの利用に付随して様々な問題が生じていた。そのため、電子的にコードを提供する必要がある。 In this way, when the code is provided as a printed matter, there are various costs associated with the use of the code, such as the cost of the medium to be printed, the cost and labor of printing work and special processing, inventory management of printed matter, and processing of used printed matter. There was a problem. Therefore, it is necessary to provide the code electronically.

しかしながら、モバイル端末のディスプレイ上に表示されたコードは、紙媒体のコードと同様、目視やコード画像の複製(画面キャプチャ)、カメラによるディスプレイ自体の撮像等、不正な複製や2次配布を容易に行うことができる。 However, the code displayed on the display of the mobile terminal, like the code on a paper medium, facilitates illegal duplication and secondary distribution such as visual inspection, code image duplication (screen capture), and image pickup of the display itself by a camera. It can be carried out.

そのため、上述のような複製を防ぐことができ、リーダでは読み取ることが可能な電子的なコードが求められていた。 Therefore, there is a demand for an electronic code that can prevent the above duplication and can be read by the reader.

本発明は上記のような実状に鑑みてなされたものであり、電子的に表示され、撮影等による複製を防止した複製防止コードを提供することを課題とする。 The present invention has been made in view of the above situation, and an object of the present invention is to provide a duplication prevention code which is electronically displayed and prevents duplication due to photographing or the like.

上記課題を解決するために、本発明は、コード画像を解析するステップと、
コード画像から2値で表されるコード情報を生成するステップと、
コード情報にノイズ要素を重畳した重畳コード情報を、2種類以上生成するステップと、
複数の前記重畳コード情報に基づいて、重畳コード画像を連続的に変化させながら表示するコード動画像を生成するステップと、を備えることを特徴とする。
In order to solve the above problems, the present invention provides a step of analyzing a code image,
Generating binary code information from the code image,
Generating two or more types of superposed code information in which a noise element is superposed on the code information,
Generating a code moving image that is displayed while continuously changing the superimposed code image based on a plurality of the superimposed code information.

このような構成とすることで、ノイズが重畳された重畳コード画像を連続的に切り替えながら表示するコード動画像を生成することができる。表示されているコード動画像は、複数の重畳コード画像を連続的に表示するものであり、毎フレーム表示されるコードにはノイズが重畳されている。そのため、画面キャプチャやカメラによる撮像等をされたとしても、撮影されるコードはノイズが重畳されたままであり、複製できない。 With such a configuration, it is possible to generate a code moving image that is displayed while continuously switching the superimposed code images on which noise is superimposed. The displayed code moving image continuously displays a plurality of superimposed code images, and noise is superimposed on the code displayed in each frame. Therefore, even if the screen is captured or the image is captured by the camera, the code to be captured is still superposed with noise and cannot be duplicated.

一方、コード動画像は、所定の間隔で重畳コード画像を切り替えながら表示している。そのため、コードリーダによる走査(スキャン)中に、重畳コード画像の切り替えが起きれば、先に表示された重畳コード画像のノイズが重畳されていない個所と、後に表示された重畳コード画像のノイズが重畳されていない個所と、がスキャンされ、元の正確なコードを読み取ることができる。 On the other hand, the code moving image is displayed while switching the superimposed code images at a predetermined interval. Therefore, if switching of the superimposed code image occurs during scanning by the code reader, the noise of the superimposed code image displayed first and the noise of the superimposed code image displayed later are superimposed. The part that has not been scanned is scanned and the original accurate code can be read.

そのため、撮影等による複製を防止しながら、リーダによるコードの読み取りが可能な電子的なコードを提供することができる。 Therefore, it is possible to provide an electronic code that can be read by a reader while preventing duplication due to photographing or the like.

本発明の好ましい形態では、前記コード情報を生成する際に、コードを構成する構成要素の最小単位を特定するステップを備え、
前記重畳コード情報を生成する際に、前記コード情報に前記最小単位のノイズ要素を1以上重畳することを特徴とする。
このような構成とすることで、最小単位でノイズ要素を重畳することができ、ノイズ要素の特定の困難性が高まる。そのため、重畳コード画像が撮影された場合であっても、ノイズ要素の特定が困難になり、不正な複製を防止することができる。
In a preferred aspect of the present invention, when generating the code information, a step of identifying a minimum unit of a constituent element of the code is provided,
When generating the superimposed code information, one or more noise elements of the minimum unit are superimposed on the code information.
With such a configuration, the noise element can be superimposed in the minimum unit, and the difficulty of specifying the noise element increases. Therefore, even when the superimposed code image is captured, it is difficult to identify the noise element, and it is possible to prevent unauthorized duplication.

本発明の好ましい形態では、前記重畳コード情報を生成する際に、ノイズ要素を重畳する重畳領域を決定し、
前記コード動画像上で連続的に表示される少なくとも一組の重畳コード画像は、異なる重畳領域にノイズ要素が重畳されていることを特徴とする。
このような構成とすることで、異なる位置にノイズ要素が重畳されていることで、コードの読み取りが可能となる。
In a preferred mode of the present invention, when generating the superimposition code information, a superimposition region on which a noise element is superimposed is determined,
At least one set of superimposed code images continuously displayed on the code moving image is characterized in that noise elements are superimposed in different overlapping regions.
With such a configuration, the code can be read because the noise elements are superimposed at different positions.

本発明の好ましい形態では、前記コード動画像上で連続的に表示される少なくとも一組の重畳コード画像において、それぞれの重畳領域は、ノイズ要素が重畳されない非重畳領域を隔てた位置に決定されることを特徴とする。
このような構成とすることで、連続する重畳コード画像のそれぞれのノイズ要素の間に、ノイズ要素が重畳されない非重畳領域を設けることができる。これにより、連続する重畳コード画像のそれぞれのノイズ要素を離間させることができ、コード動画像の読取精度を高めることができる。
In a preferred aspect of the present invention, in at least one set of superimposed code images continuously displayed on the code moving image, each overlapping region is determined at a position apart from a non-overlapping region in which a noise element is not superimposed. It is characterized by
With such a configuration, it is possible to provide a non-overlapping region in which a noise element is not superimposed between each noise element of continuous superimposed code images. Thereby, it is possible to separate the noise elements from each other in the continuous superimposed code image, and it is possible to improve the reading accuracy of the code moving image.

本発明の好ましい形態では、前記コード動画像上で表示される連続的に表示される少なくとも一組の重畳コード画像のうち、先に表示される第1の重畳コード画像は、コードリーダの走査方向の終端側にノイズ要素が重畳されており、
前記第1の重畳コード画像に続いて表示される第2の重畳コード画像は、コードリーダの走査方向の始端側にノイズ要素が重畳されており、
前記第1の重畳コードの最も前記始端側に位置するノイズ要素及び、前記第2の重畳コードの最も前記終端側に位置するノイズ要素は、コード上で相対的に離間した位置に重畳されていることを特徴とする。
このような構成とすることで、コードの読み取り精度を高めることができる。
In a preferred aspect of the present invention, of the at least one set of continuously displayed superimposed code images displayed on the code moving image, the first superimposed code image displayed first is the scanning direction of the code reader. The noise element is superimposed on the terminal side of
The second superimposed code image displayed after the first superimposed code image has a noise element superimposed on the start end side in the scanning direction of the code reader,
The noise element located closest to the start end side of the first superimposed code and the noise element located closest to the end side of the second superimposed code are superimposed at positions relatively separated from each other on the code. It is characterized by
With such a configuration, the code reading accuracy can be improved.

本発明の好ましい形態では、前記重畳コード情報を生成する際に、コードのデータ領域にノイズ要素を重畳することを特徴とする。
このような構成とすることで、データ領域にノイズ要素を重畳することができる。コードのスタートキャラクタ、ストップキャラクタの部分にノイズを重畳しても構わないが、コードの読み取り精度自体が低下する為、データ領域のみにノイズ要素を重畳するのが好ましい。
In a preferred aspect of the present invention, a noise element is superimposed on the data area of the code when the superimposed code information is generated.
With such a configuration, noise elements can be superimposed on the data area. Although noise may be superimposed on the start character and stop character portions of the code, it is preferable to superimpose the noise element only on the data area because the reading accuracy itself of the code deteriorates.

また、例えばチェックデジット部分にのみノイズを重畳した場合、チェックデジットの仕組みを理解している者であれば、ノイズを重畳した画像から元のコード画像を復元することが可能となり、好ましくない。 Further, for example, when noise is superimposed only on the check digit portion, a person who understands the mechanism of the check digit can restore the original code image from the image on which noise is superimposed, which is not preferable.

また、ノイズ要素が1つのみである場合、複数のノイズ重畳コードの画像を画面キャプチャなどにより入手し、それらの相違点を比較することで元となるコード画像が復元できてしまう。そのため、1のノイズ重畳コード情報に重畳されるノイズ要素は、複数のノイズ要素単位であるのが好ましい。 Further, when there is only one noise element, it is possible to restore the original code image by obtaining images of a plurality of noise superimposed codes by screen capture and comparing the differences. Therefore, it is preferable that the noise element to be superimposed on one piece of noise superimposed code information is a plurality of noise element units.

また、連続的に表示されない一組以上のノイズ重畳情報(重畳コード画像)の重畳領域は、共通する位置に設けられるのが、ノイズ要素を重畳し、ダミーのコードを生成する観点からよい。 Further, it is preferable that the superimposition regions of one or more sets of noise superimposition information (superimposed code images) that are not continuously displayed are provided at a common position from the viewpoint of superimposing noise elements and generating a dummy code.

本発明は、コード動画像を生成するコード生成装置と、生成されたコード動画像を表示する端末と、を備え、コードの複製を防止するためのコード生成システムであって、
前記コード生成装置は、読取対象となるコード画像を解析し、2値で表されるコード情報を生成する解析手段と、
前記コード情報にノイズ要素を重畳した重畳コード情報を、2種類以上生成する重畳コード生成手段と、を備え、
前記コード生成装置又は前記端末は、複数の前記重畳コード情報基づいて、重畳コード画像を連続的に変化させながら表示するコード動画像を生成する合成手段を備えることを特徴とする。
The present invention is a code generation system for preventing code duplication, comprising a code generation device that generates a code moving image and a terminal that displays the generated code moving image.
The code generation device analyzes a code image to be read and generates code information represented by a binary value;
Superimposing code generating means for generating two or more kinds of superimposing code information in which a noise element is superimposed on the code information,
The code generation device or the terminal is provided with a synthesizing unit that generates a code moving image that is displayed while continuously changing a superimposed code image based on a plurality of the superimposed code information.

本発明は、コード生成装置であって、読取対象となるコード画像を解析し、2値で表されるコード情報を生成する解析手段と、
前記コード情報にノイズ要素を重畳した重畳コード情報を、2種類以上生成する重畳コード生成手段と、を備えることを特徴とする。
The present invention is a code generation device, and an analysis unit that analyzes a code image to be read and generates code information represented by two values.
It is characterized by further comprising: superimposition code generation means for generating two or more kinds of superimposition code information in which a noise element is superposed on the code information.

本発明は、コード生成プログラムであって、読取対象となるコード画像を解析し、2値で表されるコード情報を生成する解析手段と、
前記コード情報にノイズ要素を重畳した重畳コード情報を、2種類以上生成する重畳コード生成手段と、をコンピュータに実行させることを特徴とする。
The present invention is a code generation program, and analysis means for analyzing a code image to be read and generating code information represented by two values,
It is characterized in that the computer is caused to execute a superimposition code generating means for generating two or more kinds of superimposition code information in which a noise element is superimposed on the code information.

本発明によれば、電子的に表示され、撮影等による複製を防止した複製防止コードを提供することできる。 According to the present invention, it is possible to provide a copy protection code which is electronically displayed and which prevents copying due to photographing or the like.

本発明の実施形態に関る複製防止コード生成方法を提供する為のコード生成システムの概要を示す図である。It is a figure which shows the outline|summary of the code generation system for providing the copy protection code generation method concerning embodiment of this invention. 本発明の実施形態に関るコード生成装置及びモバイル端末のハードウェア構成の一例を示す図である。図2(a)はコード生成装置2のハードウェア構成を示し、図2(b)はモバイル端末3のハードウェア構成を示している。It is a figure showing an example of hardware constitutions of a code generation device and a mobile terminal concerning an embodiment of the present invention. 2A shows the hardware configuration of the code generation device 2, and FIG. 2B shows the hardware configuration of the mobile terminal 3. 本発明の実施形態に関るコード生成装置の機能ブロック図である。It is a functional block diagram of the code generation device concerning an embodiment of the present invention. 本発明の実施形態に関る1次元コードの一例を示す図である。It is a figure which shows an example of the one-dimensional code concerning embodiment of this invention. 本発明の実施形態に関るコード動画像が生成されるまでの処理フローチャートである。7 is a processing flowchart until a code moving image is generated according to the embodiment of the present invention. 本発明の実施形態に関るコード動画像生成中の各段階におけるコードの状態を示す図である。It is a figure which shows the state of the code|cord|chord in each step in the process of code|symbol moving image generation which concerns on embodiment of this invention. 本発明の実施形態に関るコード動画像生成中の各段階におけるコードの状態を示す図である。It is a figure which shows the state of the code|cord|chord in each step in the process of code|symbol moving image generation which concerns on embodiment of this invention. 本発明の実施形態に関るリーダの走査時間と各重畳コード情報の表示時間との関係を示す図である。It is a figure which shows the relationship between the scanning time of the reader and the display time of each superimposition code information which concern on embodiment of this invention. 本発明の実施形態に関るリーダでコード動画像を読み取る際の流れを示す処理フローチャートである。6 is a processing flowchart showing a flow when a code moving image is read by a reader according to the embodiment of the present invention. 本発明の実施形態に関るコードの読み取りが成功する場合のスキャン開始のタイミングを示す図である。FIG. 7 is a diagram showing a scan start timing when a code is successfully read according to the embodiment of the present invention.

以下、図面を用いて、本発明の実施形態に関る複製防止コード生成方法について説明する。なお、以下に示す実施形態は本発明の一例であり、本発明を以下の実施形態に限定するものではない。本実施形態では、1次元コードのコード画像からコード動画像を生成する場合の例を示すが、2次元コードのコード動画像を生成する場合であっても同様の処理で複製防止機能を備えたコード動画像を生成することが可能である。 Hereinafter, a copy protection code generation method according to an embodiment of the present invention will be described with reference to the drawings. The embodiments described below are examples of the present invention, and the present invention is not limited to the following embodiments. In the present embodiment, an example in which a code moving image is generated from a code image of a one-dimensional code is shown, but even in the case of generating a code moving image of a two-dimensional code, a copy prevention function is provided by similar processing. It is possible to generate a code moving image.

1.コード生成システム
図1は、本発明の実施形態に関る複製防止コード生成方法を提供する為のコード生成システムの概要を示す図である。符号1はコード生成システム全体を示し、符号2はコード画像から複製防止機能を備えたコード動画像を生成するコード生成装置を示し、符号3はコード生成装置2で生成されたコード動画像を表示するモバイル端末(端末)を示している。また、コード生成装置2とモバイル端末3とは、ネットワーク介して通信可能に構成されている。
1. Code Generation System FIG. 1 is a diagram showing an outline of a code generation system for providing a copy protection code generation method according to an embodiment of the present invention. Reference numeral 1 indicates the entire code generation system, reference numeral 2 indicates a code generation device for generating a code moving image having a copy protection function from the code image, and reference numeral 3 indicates the code moving image generated by the code generation device 2. The mobile terminal (terminal) which does is shown. Moreover, the code generation device 2 and the mobile terminal 3 are configured to be communicable via a network.

本実施形態では、複製防止機能を有するコード動画像をコード生成装置2で生成しているが、モバイル端末3上でコード画像からコード動画像を生成し、表示するように構成してもよい。また、コード生成装置2がノイズ要素を重畳したコード情報(重畳コード画像)を生成し、それらをモバイル端末3に出力して、モバイル端末3上でコード動画像に合成しても構わない。 In the present embodiment, the code moving image having the copy protection function is generated by the code generating device 2. However, the code moving image may be generated from the code image on the mobile terminal 3 and displayed. Further, the code generation device 2 may generate code information (superimposed code image) on which a noise element is superimposed, output the code information to the mobile terminal 3, and combine the code information with the code moving image on the mobile terminal 3.

図2は、本実施形態に関るコード生成装置2及びモバイル端末3のハードウェア構成の一例を示す図である。図2(a)はコード生成装置2のハードウェア構成を示している。コード生成装置2は、CPU201と、メモリ202と、記憶装置203と、入力装置204と、表示装置205と、外部装置と通信を行うためのインタフェースである通信装置206と、を備えている。また、記録装置203は、オペレーティングシステム(OS)207と、コード生成プログラム208などが記録されている。コード生成プログラム208は、オペレーティングシステム207と協調してその機能を発揮するものである。 FIG. 2 is a diagram showing an example of the hardware configuration of the code generation device 2 and the mobile terminal 3 according to the present embodiment. FIG. 2A shows the hardware configuration of the code generation device 2. The code generation device 2 includes a CPU 201, a memory 202, a storage device 203, an input device 204, a display device 205, and a communication device 206 that is an interface for communicating with an external device. Further, the recording device 203 records an operating system (OS) 207, a code generation program 208, and the like. The code generation program 208 cooperates with the operating system 207 to exert its function.

図2(b)はモバイル端末3のハードウェア構成を示している。モバイル端末3は、CPU301と、メモリ302と、記憶装置303と、入力装置304と、表示装置305と、外部装置と通信を行うためのインタフェースである通信装置306と、を備えている。また、記録装置303は、オペレーティングシステム(OS)307と、コード動画像を表示装置305上に表示するためのコード表示プログラム308などが記録されている。コード表示プログラム308は、オペレーティングシステム307と協調してその機能を発揮するものである。 FIG. 2B shows the hardware configuration of the mobile terminal 3. The mobile terminal 3 includes a CPU 301, a memory 302, a storage device 303, an input device 304, a display device 305, and a communication device 306 that is an interface for communicating with an external device. The recording device 303 also stores an operating system (OS) 307, a code display program 308 for displaying a code moving image on the display device 305, and the like. The code display program 308 exhibits its function in cooperation with the operating system 307.

図3は、本実施形態に関るコード生成装置2の機能ブロック図である。コード生成装置2は、記憶部4と、コード画像を受け取り、記憶部4に記憶する入力手段5と、コード画像を解析してコード情報を生成する解析手段6と、ノイズ要素をコード情報に重畳して重畳コード情報を生成する重畳コード生成手段7と、複数の重畳コード情報からコード動画像を生成する合成手段8と、生成したコード動画像を出力する出力手段9と、を備えている。 FIG. 3 is a functional block diagram of the code generation device 2 according to the present embodiment. The code generation device 2 includes a storage unit 4, an input unit 5 that receives a code image and stores the code image in the storage unit 4, an analysis unit 6 that analyzes the code image to generate code information, and superimposes a noise element on the code information. A superimposition code generation unit 7 that generates superimposition code information, a synthesis unit 8 that generates a code moving image from a plurality of superposition code information, and an output unit 9 that outputs the generated code moving image are provided.

解析手段6は、コード画像を2値化するために2色化する2色化手段11と、コード画像を2値化するための2値化手段12と、2値化したコード情報から余白などを処理してコード領域を抜き出すコード領域特定手段13と、コード情報におけるデータ領域を特定するためのデータ領域特定手段14と、コードを生成する最小単位(1次元コードにおける最細のバー)を特定する最小単位特定手段15と、を備えている。解析手段6は、写真撮影されたコード画像等、歪んだコード画像からコード動画像を生成する場合を想定して、入力されたコード画像の傾きや歪み等を補正する補正手段を更に備えていても構わない。 The analysis unit 6 is a binarization unit 11 that binarizes the code image to binarize it, a binarization unit 12 that binarizes the code image, and a margin from the binarized code information. Code area identifying means 13 for extracting the code area by processing the data area, data area identifying means 14 for identifying the data area in the code information, and the minimum unit for generating the code (the thinnest bar in the one-dimensional code). And a minimum unit specifying means 15 for performing. The analysis unit 6 further includes a correction unit that corrects the inclination or distortion of the input code image, assuming that a code moving image is generated from a distorted code image such as a photographed code image. I don't mind.

2.コードの概要
図4は、1次元コードの一例を示す図である。1次元コードCは、コードの幅を特定するためのスタートキャラクタs及びストップキャラクタeと、バーによって符号化された情報が記載されたデータ領域dと、データ領域dの読み込み結果と比較して正確に読取が行われたか否かを判定するためのチェックデジットcと、符号化した情報を数字で記載した数値領域nと、を備えている。スタートキャラクタsと、データ領域dと、チェックデジットcと、ストップキャラクタeと、を併せて、コード領域とする。なお、数値領域nの情報は、情報の複製などを防ぐため、コード動画像上では表示しないのが好ましい。
2. Outline of Code FIG. 4 is a diagram showing an example of a one-dimensional code. The one-dimensional code C is more accurate than the start character s and the stop character e for specifying the width of the code, the data area d in which the information encoded by the bar is described, and the read result of the data area d. A check digit c for determining whether or not the data has been read, and a numerical value region n in which coded information is written in numbers are provided. The start character s, the data area d, the check digit c, and the stop character e are combined to form a code area. The information in the numerical area n is preferably not displayed on the code moving image in order to prevent duplication of the information.

3.コード動画像の生成
図5〜図7を用いて、コード画像の入力からコード動画像の生成までの処理について説明する。図5は、コード動画像が生成されるまでの処理フローチャートである。図6、図7は、コード動画像生成中の各段階におけるコードの状態を示す図である。
3. Generation of code moving image The processing from the input of the code image to the generation of the code moving image will be described with reference to FIGS. FIG. 5 is a processing flowchart until the code moving image is generated. 6 and 7 are diagrams showing the state of the code at each stage during the generation of the code moving image.

ステップ1(S1)では、生成するコード動画像中で切り替わる重畳コード画像の枚数と、コード動画像のフレームレートと、コード画像の種別と、を設定する。コード動画像は、ここで設定されたフレームレートで、設定された枚数の重畳コード画像を繰り返し連続的に変化させながら表示する。 In step 1 (S1), the number of superimposed code images to be switched in the generated code moving image, the frame rate of the code moving image, and the type of code image are set. The code moving image is displayed while the set number of superimposed code images are repeatedly and continuously changed at the frame rate set here.

ここで必ずしも、画像枚数やフレームレートは入力を求める必要はなく、予め設定した値でコード動画像を生成するようにしてもよい。また、コード動画像の種別は、コード生成装置2においてコード画像を解析して導出するようにしてもよく、また、コード動画像の生成に際して必ずしも必要ではない。更に、後述するノイズ要素を重畳する位置(重畳領域)を設定するために、読取を行うリーダのスキャン速度、モバイル端末3の画面上に表示される表示時間を設定するようにしてもよい。 Here, the number of images and the frame rate are not necessarily required to be input, and the code moving image may be generated with a preset value. Further, the type of the code moving image may be derived by analyzing the code image in the code generating device 2, and is not always necessary when generating the code moving image. Further, in order to set a position (superimposed region) where a noise element to be described later is superimposed, the scan speed of the reader for reading and the display time displayed on the screen of the mobile terminal 3 may be set.

ステップ2(S2)では、図6(a)に表されるような1次元コードのコード画像Cを受け取る。入力手段5を介して受け取ったコード画像は記憶部4に記憶される。 In step 2 (S2), the code image C of the one-dimensional code as shown in FIG. 6A is received. The code image received via the input means 5 is stored in the storage unit 4.

次いで、図6(b)に表されるように、2色化手段11を用いてコード画像Cを2色化する(ステップ3(S3))。S3でコード画像が2色化されたならば、図6(c)に示すように、2値化手段12を用いて、2色化されたコード画像Cを2値化したコード情報に変換する(S4)。本実施形態では、「1」で表される黒色要素bと、「0」で表される白色要素wとを用いて、コード画像Cをコード情報として表現している。 Next, as shown in FIG. 6B, the code image C is converted into two colors using the two-colorization unit 11 (step 3 (S3)). When the code image is binarized in S3, the binarizing means 12 is used to convert the binarized code image C into binarized code information as shown in FIG. 6C. (S4). In this embodiment, the code image C is expressed as code information by using the black element b represented by "1" and the white element w represented by "0".

S4で得られたコード情報から、コード領域特定手段13を用いて、コード領域以外の余白や数値領域n等を取り除き、コード領域のみを抽出する(S5)。まず、図6(c)における行方向に並んだ要素を1つの単位とみなし、同じパターンが現れる個所の抽出を行う。抽出を行ったコード情報が図5(d)に示すものである。 From the code information obtained in S4, the code area specifying means 13 is used to remove the margins other than the code area, the numerical area n, etc., and extract only the code area (S5). First, the elements arranged in the row direction in FIG. 6C are regarded as one unit, and the portion where the same pattern appears is extracted. The extracted code information is shown in FIG. 5(d).

次いで、図6(d)の列方向に並んだ要素を1つの単位とみなし、同じパターンが現れる個所の抽出を行う。そして、左右側の白色要素wで表される余白部分を除外する。抽出を行ったコード情報が図6(e)に示すものである。 Next, the elements arranged in the column direction of FIG. 6D are regarded as one unit, and the portion where the same pattern appears is extracted. Then, the blank portion represented by the white elements w on the left and right sides is excluded. The extracted code information is shown in FIG. 6(e).

S5においてコード領域が抽出されたなら、ノイズを重畳する重畳領域を設定するために、コードのデータ領域の特定を行う(S6)。また、コード領域において情報を表現する図形の最小単位sを特定する(S7)。1次元コードにおける最小単位sは、最も細いバーである。図6(f)は、コード領域における最小単位sを示す図である。なお、ノイズの重畳は、必ずしもデータ領域に行われる必要はない。 If the code area is extracted in S5, the data area of the code is specified in order to set the superposition area on which noise is superimposed (S6). Further, the minimum unit s of the figure expressing the information in the code area is specified (S7). The smallest unit s in the one-dimensional code is the thinnest bar. FIG. 6F is a diagram showing the minimum unit s in the code area. The superposition of noise does not necessarily have to be performed in the data area.

最小単位Sが特定されたならば、図6(e)示すようなコード情報にノイズ要素を重畳し、重畳コード情報を生成する(S8)。重畳コード情報は、S1で決定した重畳コード画像の枚数だけ生成される。まず、ノイズを重畳するための重畳領域を設定する。重畳領域は、ノイズを重畳する際の領域であり、本実施形態ではS5で抽出したコードのデータ領域内に設定する。 When the minimum unit S is specified, the noise element is superimposed on the code information as shown in FIG. 6E to generate the superimposed code information (S8). The superimposition code information is generated by the number of superimposition code images determined in S1. First, a superimposition region for superimposing noise is set. The superimposition region is a region when noise is superimposed, and is set in the data region of the code extracted in S5 in this embodiment.

図7(a)は、重畳領域を、S7において求めたコードの最小単位sの大きさとした場合の図である。この場合、重畳領域(最小単位)に含まれた白色要素wを、黒色要素bに置き換え、ノイズ要素とする。図7(b)は、重畳領域を、最小単位sの列数と、複数の列数と、の範囲に指定した場合の図である。この場合、重畳領域に含まれた最小単位sの白色要素wの1単位以上を、所定の方法乃至はランダム選択して黒色要素bに置き換え、ノイズ要素とする。 FIG. 7A is a diagram in the case where the overlapping area has a size of the minimum unit s of the code obtained in S7. In this case, the white element w included in the overlapping area (minimum unit) is replaced with the black element b to be a noise element. FIG. 7B is a diagram in the case where the overlapping area is specified in the range of the number of columns of the minimum unit s and the number of columns. In this case, one unit or more of the white element w of the minimum unit s included in the overlapping area is replaced with the black element b by a predetermined method or random selection to be a noise element.

詳しくは後述するが、生成されるコード動画像上において、先に表示されるノイズ重畳コードと、その次に表示されるノイズ重畳コードと、に重畳されたノイズ要素が離間している程、コード動画像の読取精度が高まる。そのため、連続して表示されるノイズ重畳コードに設定される重畳領域のコード上の位置は、ノイズ要素が重畳されない非重畳領域を挟むように配置されるのが好ましい。 As will be described later in detail, in the generated code moving image, the noise component superimposed on the noise superimposed code displayed first and the noise superimposed code displayed next becomes more distant from the code. The accuracy of reading moving images is improved. Therefore, it is preferable that the positions on the code of the superimposition regions set for the noise superimposition codes that are continuously displayed are arranged so as to sandwich the non-superimposition region where the noise element is not superimposed.

なお、2次元コードは誤り補正が強いため、2次元コードにノイズを重畳する場合、1の重畳領域に対して、複数のノイズ要素を重畳するのが好ましい。重畳されるノイズ要素の数は、予め決定した所定の数やランダムな数であってもよいし、S1において初期条件として入力するようにしてもよい。 Since the two-dimensional code has a strong error correction, when superimposing noise on the two-dimensional code, it is preferable to superpose a plurality of noise elements on one superposed area. The number of noise elements to be superimposed may be a predetermined number or a random number, or may be input as an initial condition in S1.

重畳領域内の要素をノイズ要素に置き換える処理を行なって、コード情報から重畳コード情報を複数枚分生成する。ここで、ノイズは必ずしも白色要素wを黒色要素bに置き換えることで重畳される必要はなく、黒色要素bを白色要素wに置き換えることで重畳されてもよい。更に、それら両方を併せて行い、重畳コード情報を生成するようにしてもよい。 A process of replacing the element in the overlapping area with a noise element is performed, and a plurality of pieces of overlapping code information are generated from the code information. Here, the noise does not necessarily have to be superimposed by replacing the white element w with the black element b, and may be superimposed by replacing the black element b with the white element w. Further, both of them may be performed together to generate the superimposition code information.

S8で複数枚の重畳コード情報が生成されたなら、それらをS1で決定したフレームレートでつなぎあわせ、コード動画像を生成する(S9)。コード動画像は、S8で生成された重畳コード情報(重畳コード画像)を所定の順番乃至はランダムな順番で、前記フレームレートでつなぎ合わせた動画像であり、ノイズ画像が重畳されたコード画像が連続で切り替わりながら表示される。 If a plurality of pieces of superimposed code information are generated in S8, they are connected at the frame rate determined in S1 to generate a code moving image (S9). The code moving image is a moving image obtained by connecting the superimposed code information (superimposed code image) generated in S8 in a predetermined order or a random order at the frame rate, and the code image on which the noise image is superimposed is It is displayed while switching continuously.

S8において、複数の重畳コード情報を生成する際、少なくとも連続して表示される2つの重畳コード情報は、異なる個所にノイズ要素を重畳してある必要がある。更に、後に表示される重畳コード情報のノイズ要素の位置が、先に表示する重畳コード情報のノイズ要素の位置から、リーダが走査する走査方向の始端側に位置した組み合わせが、少なくとも1組以上必要である。 When a plurality of pieces of superimposition code information are generated in S8, it is necessary that at least two pieces of superimposition code information displayed continuously have noise elements superposed on different points. Further, at least one or more combinations of the position of the noise element of the superimposition code information displayed later and the position of the noise element of the superimposition code information displayed first on the start end side in the scanning direction scanned by the reader are required. Is.

4.コード動画像の読み取り
リーダの走査時間とコード動画像の各画像の表示時間(1/Xfps)の関係を考えると、走査時間>表示時間となる場合、走査時間=表示時間となる場合、走査時間<表示時間となる場合、の3つの場合が考えらえる。
4. Scanning code moving image Considering the relationship between the scanning time of the reader and the display time (1/Xfps) of each image of the code moving image, if scanning time>display time, scanning time=display time, scanning time <When display time is reached, there are three possible cases.

図8は、リーダの走査時間と重畳コード画像の表示時間との関係を示す図である。図8(a)は走査時間<表示時間となる場合にリーダで読み取られる1次元コードを示し、図8(b)は走査時間=表示時間となる場合にリーダで読み取られる1次元コードを示し、図8(c)は走査時間>表示時間となる場合にリーダで読み取られる1次元コードを示す。 FIG. 8 is a diagram showing the relationship between the scanning time of the reader and the display time of the superimposed code image. 8A shows a one-dimensional code read by the reader when scan time<display time, and FIG. 8B shows a one-dimensional code read by the reader when scan time=display time. FIG. 8C shows a one-dimensional code read by the reader when scan time>display time.

図中で、時間軸tに沿って(図中左から右へ)並んだ走査時間のセルは、リーダが走査方向に向かってコード上を1回走査する時間を示している。表示時間のセルは、コード動画像の1つの重畳コード画像がモバイル端末3の画面上に表示されている時間を示している。なお、リーダでの走査は、コードの読み取りが成功するまで遅延することなく途切れず繰り返され、コード動画像として表示している個々の重畳コード画像の切り替えは、遅延することなく途切れず繰り返されるものとして説明する。 In the drawing, the cells of the scanning time arranged along the time axis t (from left to right in the drawing) indicate the time when the reader scans the code once in the scanning direction. The display time cell indicates the time when one superimposed code image of the code moving image is displayed on the screen of the mobile terminal 3. It should be noted that the scanning by the reader is repeated without any delay until the code is successfully read, and the switching of the individual superimposed code images displayed as the code moving image is repeated without any delay. As described below.

なお、コード動画像は、モバイル端末3のディスプレイ(表示装置305)に表示されるため、表示するディスプレイのリフレッシュレートに依存したフレーム数で表示される。本実施形態では、60fpsのコード動画像が、リフレッシュレートが60Hzのディスプレイで表示されているとして説明する。 Since the code moving image is displayed on the display (display device 305) of the mobile terminal 3, the code moving image is displayed with the number of frames depending on the refresh rate of the display to be displayed. In the present embodiment, it is assumed that a 60 fps code moving image is displayed on a display with a refresh rate of 60 Hz.

図9は、リーダでコード動画像を読み取る際の流れを示す処理フローチャートである。
S11では、コード動画像の読み取り(走査)が行われる。走査が行われたならチェックデジットによって読み取った符号の値を確認する(S12)。
FIG. 9 is a processing flowchart showing a flow when the code moving image is read by the reader.
In S11, the code moving image is read (scanned). If scanning is performed, the value of the code read by the check digit is confirmed (S12).

S12での確認によってコードが無効と判断されたならば(S13でNO(N))、S11に戻り、コードの読み込みを繰り返す。S12での確認によってコードが有効と判断されたならば(S13でYES(Y))、コードを利用する装置にコードを出力して(S14)、処理を終了する。 If the code is determined to be invalid by the confirmation in S12 (NO in S13), the process returns to S11 and the reading of the code is repeated. If the code is determined to be valid by the confirmation in S12 (YES in S13), the code is output to the device that uses the code (S14), and the process ends.

走査時間<表示時間となる場合、図8(a)に示すように、リーダがコード上を走査している間に読み取られる1次元コードには、1つのコード(重畳コード画像)のみを読み取る場合(スキャン0(SC0))と、コードA及びコードBの二つのコードに跨って読み取る場合(スキャン1(SC1))と、が考えらえる。 When scanning time <display time, as shown in FIG. 8A, when only one code (superimposed code image) is read in the one-dimensional code read while the reader scans the code. It can be considered that (scan 0 (SC0)) and the case of reading across two codes A and B (scan 1 (SC1)).

SC0のタイミングでリーダによる走査が行われた場合、1枚の重畳コード画像を読み取ることとなるため、コード領域の値とチェックデジットの値が異なり、読み取りが失敗する。一方、SC1のタイミングでリーダによる走査が行われた場合、重畳コード画像Aの中の1Aの領域及び重畳コード画像Bの中の1Bの領域にノイズ要素が含まれていなければ、走査途中に表示された重畳コード画像がAからBに切り替わり、ノイズ要素が重畳されてない部分のみがスキャンできるため、ノイズ要素が重畳されていない元のコード画像を復元することができる。 When scanning is performed by the reader at the timing of SC0, one superimposed code image is read, so the value of the code area and the value of the check digit are different, and the reading fails. On the other hand, when scanning is performed by the reader at the timing of SC1, if the noise element is not included in the area 1A in the superimposed code image A and the area 1B in the superimposed code image B, it is displayed during the scanning. The superimposed code image thus switched is switched from A to B, and only the portion where the noise element is not superimposed can be scanned, so that the original code image where the noise element is not superimposed can be restored.

走査時間=表示時間となる場合、図8(b)に示すように、リーダがコード上を走査している間に読み取られる1次元コードには、1つの重畳コード画像のみを読み取る場合と、2つの重畳コード画像に跨って読み取る場合と、が考えらえる。図示例では、走査の開始タイミング及び重畳コード画像の切り替えタイミングが異なる場合、即ち、リーダが2つの重畳コード画像に跨って読み取る場合(SC2)を示している。なお、1つのコードのみを読み取る場合はコード動画像の画像の切り替えのタイミングとリーダによる走査開始のタイミングが一致した場合であり、スキャンの開始タイミングと、コード動画像の表示タイミングをずらして試行すれば、SC2のように2つのコードに跨って読み取ることができる。SC2の場合、SC1の場合と同様、元のコード画像を復元することができる。 When the scanning time is equal to the display time, as shown in FIG. 8B, the one-dimensional code read while the reader scans the code includes a case where only one superimposed code image is read and It can be considered as a case of reading over one superimposed code image. The illustrated example shows the case where the scanning start timing and the superimposition code image switching timing are different, that is, the case where the reader reads over two superimposition code images (SC2). Note that when reading only one code, the timing of switching the images of the code moving image and the timing of scanning start by the reader coincide, and the scanning start timing and the display timing of the code moving image are shifted and the trial is performed. For example, it can be read across two codes like SC2. In the case of SC2, the original code image can be restored as in the case of SC1.

走査時間>表示時間となる場合、図8(c)に示すように、リーダがコード上を走査している間に読み取られる1次元コードには、2つの重畳コード画像に跨って読み取る場合(SC4)と、3つ以上の重畳コード画像に跨って読み取る場合(SC3)と、が考えらえる。図示例では、走査が最大で3つの重畳コード画像に跨る場合を例示する。SC4の場合、SC1、SC2の場合と同様、元のコード画像を復元することができる。SC3の場合、重畳コード画像Aの中の3Aの領域、コード画像Bの中の3Bの領域、並びにコード画像Cの中の3Cの領域にノイズ要素が含まれていなければ、走査途中に表示された重畳コード画像がAからB、BからCに切り替わり、ノイズ要素が重畳されてない部分のみがスキャンできるため、ノイズ要素が重畳されていない元のコード画像を復元することができる。 When the scanning time>the display time, as shown in FIG. 8C, the one-dimensional code read while the reader scans the code is read over two superimposed code images (SC4 ) And a case of reading over three or more superimposed code images (SC3). In the illustrated example, the case where the scanning extends over at most three superimposed code images is illustrated. In the case of SC4, the original code image can be restored as in the case of SC1 and SC2. In the case of SC3, if the noise element is not included in the area 3A in the superimposed code image A, the area 3B in the code image B, and the area 3C in the code image C, it is displayed during scanning. Since the superimposed code image is switched from A to B and from B to C, and only the portion where the noise element is not superimposed can be scanned, the original code image where the noise element is not superimposed can be restored.

次いで、ノイズ要素が重畳される位置について説明する。図10は、コードの読み取りが成功する場合のスキャン開始のタイミングを示す図である。図10(a)は、重畳コード画像A及び重畳コード画像Bが連続的に表示される場合における、読み取りが成功するスキャン開始のタイミングを示す図である。図10(b)は、重畳コード画像C及び重畳コード画像Dが連続的に表示される場合における、読み取りが成功するスキャン開始のタイミングを示す図である。 Next, the position where the noise element is superimposed will be described. FIG. 10 is a diagram showing the scan start timing when the code reading is successful. FIG. 10A is a diagram showing a scan start timing at which reading is successful when the superimposed code image A and the superimposed code image B are continuously displayed. FIG. 10B is a diagram showing a scan start timing at which reading is successful when the superimposed code image C and the superimposed code image D are continuously displayed.

ここで、重畳コード画像A〜Dには、重畳領域Nに、ノイズ要素N〜Nが重畳されている。連続して表示される一組の重畳コード画像の、それぞれの重畳領域Nは、非重畳領域Nを隔てて配置されている。なお、重畳コード画像A〜Dに本来現れる、復元対象となる元のコード画像(1次元コード)の部分に関しては図示を省略している。また、時間軸tに沿って、重畳コード画像上に記載された矢印SCは、各重畳コード画像上をリーダが読み取る部分(走査する部分)を示している。tは、表示された重畳コード画像が切り替わるタイミングを示す。 Here, in the superimposition code images A to D, the noise elements N a to N d are superposed on the superposition region N. The respective overlapping regions N of the set of consecutively displayed superimposed code images are arranged with a non-overlapping region N 0 therebetween. Note that the original code image (one-dimensional code) to be restored, which originally appears in the superimposed code images A to D, is not shown. Further, along the time axis t, an arrow SC described on the superimposed code image indicates a portion (scanning portion) that the reader reads on each superimposed code image. t c indicates the timing at which the displayed superimposed code image is switched.

図10(a)に表れるように、tは読取が成功するコード動画像の最も早いスキャン開始タイミングを示し、tは読取が成功するコード動画像の最も遅いスキャン開始タイミングを示している。先に表示される重畳コード画像Aのノイズ要素Nは、走査方向の終端側に重畳されており、後に表示される重畳コード画像Bのノイズ要素Nは、走査方向の始端側に重畳されている。 As shown in FIG. 10A, t 0 indicates the earliest scan start timing of the code moving image that is successfully read, and t 1 indicates the latest scan start timing of the code moving image that is successfully read. The noise element N a of the superimposed code image A displayed first is superimposed on the terminal side in the scanning direction, and the noise element N b of the superimposed code image B displayed later is superimposed on the starting side in the scanning direction. ing.

コードの読み取りが成功するためには、tからtの間にリーダによる走査が開始される必要がある。このスキャンが開始されるタイミングtからtの間隔は、最も前記始端側に位置するノイズ要素N及び最も終端側に位置するノイズ要素Nの離間距離(N−N)によって変化する。 In order for the code to be read successfully, scanning by the reader must be started between t 0 and t 1 . Interval t 1 from the timing t 0 when the scan is started, it varies with the distance of the noise component N b located to the noise component N a and most terminating located nearest the starting side (N a -N b) To do.

また、同様に、図10(b)においても、tは読取が成功するコード動画像の最も早いスキャン開始タイミングを示し、tは読取が成功するコード動画像の最も遅いスキャン開始タイミングを示している。先に表示される重畳コード画像Cのノイズ要素Nは、走査方向の終端側に重畳されており、後に表示される重畳コード画像Dのノイズ要素Nは、走査方向の始端側に重畳されている。 Similarly, also in FIG. 10B, t 0 represents the earliest scan start timing of the code moving image that is successfully read, and t 1 is the latest scan start timing of the code moving image that is successfully read. ing. The noise element N c of the superimposed code image C displayed first is superimposed on the terminal side in the scanning direction, and the noise element N d of the superimposed code image D displayed later is superimposed on the starting side in the scanning direction. ing.

図10(b)に現れるように、(N−N)は(N−N)より更に離間しており、その離間距離に応じてtからtの間隔も広くなっている。この離間した距離の長さに対応して読取が成功するタイミングでスキャンが開始される可能性が上がり、読取精度が向上する。なお、離間距離は、非重畳領域Nの幅並びに、重畳領域N及びノイズ要素の配置位置によって決定される。 As shown in FIG. 10B, (N c −N d ) is further separated from (N a −N b ), and the interval from t 0 to t 1 is widened according to the separation distance. .. It is more likely that scanning will be started at the timing of successful reading corresponding to the length of the separated distance, and the reading accuracy will be improved. The separation distance is determined by the width of the non-overlapping area N 0 and the arrangement positions of the overlapping area N and the noise element.

本発明によれば、ノイズが重畳された重畳コード画像を連続的に切り替えながら表示するコード動画像を生成することができる。表示されているコード動画像は、複数の重畳コード画像を連続的に表示するものであり、毎フレーム表示されるコードにはノイズが重畳されている。そのため、撮影等による複製を防止しながら、リーダによるコードの読み取りが可能な電子的なコードを提供することができる。 According to the present invention, it is possible to generate a code moving image that is displayed while continuously switching superimposed code images on which noise is superimposed. The displayed code moving image continuously displays a plurality of superimposed code images, and noise is superimposed on the code displayed in each frame. Therefore, it is possible to provide an electronic code that can be read by a reader while preventing duplication due to photographing or the like.

また、最小単位でノイズ要素を重畳することで、ノイズ要素及び正規のコードの最小単位の差異を無くすことができる。そのため、ノイズ要素の特定が困難になり、不正な複製を防止することができる。 Further, by superimposing the noise element in the minimum unit, the difference between the noise element and the minimum unit of the regular code can be eliminated. Therefore, it becomes difficult to identify the noise element, and it is possible to prevent illegal duplication.

また、データ領域にノイズ要素を重畳することで、コードの読み取り自体の精度を低下させずに、復元の困難性を上げ、重畳コード画像を読み取らせることができる。 Also, by superimposing a noise element on the data area, it is possible to increase the difficulty of restoration and read the superimposed code image without lowering the accuracy of the code reading itself.

モバイル端末の画面上で本発明に係るコード動画像を表示させ、ポイントカードや金券、会員証、チケット等、として活用させることができる。 The code moving image according to the present invention can be displayed on the screen of a mobile terminal and used as a point card, a cash voucher, a membership card, a ticket, or the like.

1 コード生成システム
2 コード生成装置
201 CPU
202 メモリ
203 記憶装置
204 入力装置
205 表示装置
206 通信装置
207 オペレーティングシステム
208 コード生成プログラム
3 モバイル端末
301 CPU
302 メモリ
303 記憶装置
304 入力装置
305 表示装置
306 通信装置
307 オペレーティングシステム
308 コード表示プログラム
4 記憶部
5 入力手段
6 解析手段
7 重畳コード生成部
8 合成手段
9 出力手段
11 2色化手段
12 2値化手段
13 コード領域特定手段
14 データ領域特定手段
15 最小単位特定手段
C コード画像
st スタートキャラクタ
sp ストップキャラクタ
d データ領域
cd チェックデジット
n 数値領域
s 最小単位
N 重畳領域
、Nb、c、 ノイズ要素
非重畳領域
SC,SC0〜SC4 スキャン(走査)
A、B、C,D 重畳コード画像
t 時間軸
1 Code Generation System 2 Code Generation Device 201 CPU
202 memory 203 storage device 204 input device 205 display device 206 communication device 207 operating system 208 code generation program 3 mobile terminal 301 CPU
302 memory 303 storage device 304 input device 305 display device 306 communication device 307 operating system 308 code display program 4 storage unit 5 input unit 6 analysis unit 7 superimposition code generation unit 8 synthesis unit 9 output unit 11 two-coloring unit 12 binarization Means 13 Code area specifying means 14 Data area specifying means 15 Minimum unit specifying means C Code image st Start character sp Stop character d Data area cd Check digit n Numerical area s Minimum unit N Superimposition area N a , N b, N c, N d noise element N 0 non-overlapping area SC, SC0 to SC4 scan (scan)
A, B, C, D superimposed code image t time axis

Claims (8)

読取対象となるコード画像を解析するステップと、
コード画像から2値で表されるコード情報を生成するステップと、
コード情報にノイズ要素を重畳した重畳コード情報を、2種類以上生成するステップと、
複数の前記重畳コード情報に基づく複数の重畳コード画像を連続的に変化させながら表示する、真正の前記コード画像を含まないコード動画像を生成するステップと、を備え
前記重畳コード画像は、ノイズ要素が重畳された重畳領域及び、ノイズ要素が重畳されず、真正の前記コード画像の一部が描画された画像領域を有し、
前記コード動画像は、真正の前記コード画像を複数に分割したそれぞれの領域全てが、連続的に表示される一組の重畳コード画像の各画像領域に含まれることを特徴とする複製防止コード生成方法。
Analyzing the code image to be read,
Generating binary code information from the code image,
Generating two or more types of superposed code information in which a noise element is superposed on the code information,
A plurality of convolutional code image rather based on a plurality of the superimposed code information, and displays while continuously changing, comprising the steps of: generating a code moving image that does not contain the code image authenticity, a,
The superposed code image has a superposed area in which a noise element is superposed and an image area in which a noise element is not superposed and a part of the authentic code image is drawn.
The code the moving picture, all the respective areas obtained by dividing the code image authentic into a plurality, copy protection code, wherein Rukoto included in each image area of a set of superimposed code image is continuously displayed Generation method.
前記コード動画像上で連続的に表示される前記一組の重畳コード画像において、真正の前記コード画像の一部が描画された画像領域であって、連続して表示される2の重畳コード画像で共通してノイズ要素が重畳されない非重畳領域を有することを特徴とする請求項1に記載の複製防止コード生成方法。 In the set of superimposed code image is continuously displayed on the cord moving image, a portion of authentic the code image is an image region that is drawn, the second convolutional code images displayed in succession 2. The duplication preventing code generation method according to claim 1, further comprising a non-overlapping area in which noise elements are not commonly overlapped. 前記コード情報を生成する際に、コードを構成する構成要素の最小単位を特定するステップを備え、
前記重畳コード情報を生成する際に、前記コード情報に前記最小単位のノイズ要素を1以上重畳することを特徴とする請求項1又は請求項2に記載の複製防止コード生成方法。
When generating the code information, the method includes a step of identifying a minimum unit of a constituent element of the code,
The duplication prevention code generation method according to claim 1 or 2 , wherein when the superposition code information is generated, one or more noise elements of the minimum unit are superposed on the code information.
前記重畳コード情報を生成する際に、ノイズ要素を重畳する重畳領域を決定し、
前記コード動画像上で連続的に表示される少なくとも一組の重畳コード画像は、異なる重畳領域にノイズ要素が重畳されていることを特徴とする請求項1〜3の何れかに記載の複製防止コード生成方法。
When generating the superimposition code information, determine a superimposition region to superimpose a noise element,
At least one pair of superimposed code image is continuously displayed on the cord moving image anti-duplication according to any one of claims 1 to 3 in which characterized in that noise components in different overlapping region is superimposed Code generation method.
前記コード動画像上で表示される連続的に表示される少なくとも一組の重畳コード画像のうち、先に表示される第1の重畳コード画像は、コードリーダの走査方向の終端側にノイズ要素が重畳されており、
前記第1の重畳コード画像に続いて表示される第2の重畳コード画像は、コードリーダの走査方向の始端側にノイズ要素が重畳されており、
前記第1の重畳コードの最も前記始端側に位置するノイズ要素及び、前記第2の重畳コードの最も前記終端側に位置するノイズ要素は、コード上で相対的に離間した位置に重畳されていることを特徴とする請求項1〜4の何れかに記載の複製防止コード生成方法。
Of the at least one set of consecutively displayed superimposed code images displayed on the code moving image, the first superimposed code image displayed first has a noise element on the terminal side in the scanning direction of the code reader. Are overlaid,
The second superimposed code image displayed after the first superimposed code image has a noise element superimposed on the start end side in the scanning direction of the code reader,
The noise element located closest to the start end side of the first superimposed code and the noise element located closest to the end side of the second superimposed code are superimposed at positions relatively separated from each other on the code. The anti-duplication code generation method according to any one of claims 1 to 4, wherein
前記重畳コード情報を生成する際に、コードのデータ領域にノイズ要素を重畳することを特徴とする請求項1〜5の何れかに記載の複製防止コード生成方法。 The duplication prevention code generation method according to claim 1, wherein a noise element is superimposed on a data area of the code when the superimposition code information is generated. 取対象となるコード画像を解析し、2値で表されるコード情報を生成する解析手段と、
ード情報にノイズ要素を重畳した重畳コード情報を、2種類以上生成する重畳コード生成手段と
数の前記重畳コード情報に基づく複数の重畳コード画像を、連続的に変化させながら表示する、真正の前記コード画像を含まないコード動画像を生成する合成手段と、を備え
前記重畳コード画像は、ノイズ要素が重畳された重畳領域及び、ノイズ要素が重畳されず、真正の前記コード画像の一部が描画された画像領域を有し、
前記コード動画像は、真正の前記コード画像を複数に分割したそれぞれの領域全てが、連続的に表示される一組の重畳コード画像の各画像領域に含まれることを特徴とするコード生成システム。
Analysis means for analyzing the code image to be read preparative interest, to generate code information represented by binary
A convolutional code generating means for the superimposing code information by superimposing the noise element, and generates 2 kinds or more code information,
A plurality of convolutional code image rather based on the superposition code information multiple, includes displays while continuously changing a synthesizing means for generating a dynamic code image does not contain the code image authenticity, a,
The superposed code image has a superposed area in which a noise element is superposed and an image area in which a noise element is not superposed and a part of the authentic code image is drawn.
The code the moving picture, all the respective areas obtained by dividing the code image authentic into a plurality, code generation system according to claim Rukoto included in each image area of a set of superimposed code image is continuously displayed ..
コンピュータを、読取対象となるコード画像を解析し、2値で表されるコード情報を生成する解析手段と、
コード情報にノイズ要素を重畳した重畳コード情報を、2種類以上生成する重畳コード生成手段と、
複数の前記重畳コード情報に基づく複数の重畳コード画像を、連続的に変化させながら表示する、真正の前記コード画像を含まないコード動画像を生成する合成手段と、として機能させ、
前記重畳コード画像は、ノイズ要素が重畳された重畳領域及び、ノイズ要素が重畳されず、真正の前記コード画像の一部が描画された画像領域を有し、
前記コード動画像は、真正の前記コード画像を複数に分割したそれぞれの領域全てが、連続的に表示される一組の重畳コード画像の各画像領域に含まれることを特徴とするコード生成プログラム。
Analyzing means for analyzing a code image to be read and generating code information represented by a binary value;
Superposed code generation means for generating two or more types of superposed code information in which a noise element is superposed on code information,
A plurality of superimposition code images based on the plurality of superimposition code information are displayed while being continuously changed, and a synthesizing unit that generates a code moving image that does not include the authentic code image,
The superposed code image has a superposed area in which a noise element is superposed and an image area in which a noise element is not superposed and a part of the authentic code image is drawn.
The code moving image is characterized in that all areas obtained by dividing the authentic code image into a plurality of areas are included in each image area of a set of superimposed code images that are continuously displayed .
JP2015196270A 2015-10-01 2015-10-01 Copy protection code generation method Active JP6742568B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015196270A JP6742568B2 (en) 2015-10-01 2015-10-01 Copy protection code generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015196270A JP6742568B2 (en) 2015-10-01 2015-10-01 Copy protection code generation method

Publications (2)

Publication Number Publication Date
JP2017068766A JP2017068766A (en) 2017-04-06
JP6742568B2 true JP6742568B2 (en) 2020-08-19

Family

ID=58492689

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015196270A Active JP6742568B2 (en) 2015-10-01 2015-10-01 Copy protection code generation method

Country Status (1)

Country Link
JP (1) JP6742568B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007049584A (en) * 2005-08-12 2007-02-22 Casio Comput Co Ltd Advertisement support system and program
TWI456507B (en) * 2012-10-17 2014-10-11 Ind Tech Res Inst Anti-counterfeiting device with dynamic barcode, system and methods for anti-counterfeiting with dynamic barcode
JP5777264B1 (en) * 2014-02-26 2015-09-09 株式会社Mrsホールディングズ Bar code display device, operation method and program for bar code display device

Also Published As

Publication number Publication date
JP2017068766A (en) 2017-04-06

Similar Documents

Publication Publication Date Title
US8588414B2 (en) Image encryption and image decryption apparatus and method
JP5591578B2 (en) Character string recognition apparatus and character string recognition method
ES2424480T3 (en) Authentication patterns visible for printed document
JP4201812B2 (en) Information data providing apparatus and image processing apparatus
KR100378911B1 (en) Information processing method
JP6512706B2 (en) Watermarked two-dimensional code, authentication system, authentication method, and program
CN107918791B (en) Two-dimensional code generating and decoding method and device in two-dimensional code copying process
KR101215278B1 (en) Detection of document security marks using run profiles
JP2011034535A (en) Apparatus for appraising genuineness of personal identification document
WO2015098241A1 (en) Code reading device and code reading program
JP5182182B2 (en) Color correction method and imaging system
KR100919818B1 (en) Method of encoding divided two-dimensional barcodes for mobile communication terminal
JP7101258B2 (en) 2D barcode generation method, authentication method, server, and 2D barcode
KR101389723B1 (en) Printer for copy protection
KR101727585B1 (en) A Document Having Printed Means Of Preventing From Forging/Manipulating
KR102085561B1 (en) QR code forgery prevention apparatus and method
JP6742568B2 (en) Copy protection code generation method
JP6860151B2 (en) Printed matter reading inspection method and its equipment, and printed matter reading inspection software
JP4232689B2 (en) Information embedding method and information extracting method
JP5998090B2 (en) Image collation device, image collation method, and image collation program
KR101835105B1 (en) Method for identification of counterfeit print matter
JP2017072958A (en) Image processing device, method and program for decoding information multiplexed on image
JP6979694B2 (en) Authentication system, authentication method and authentication program that authenticates hidden images or hidden information
JP2007140703A (en) Method for reading insurance policy, system thereof, and insurance policy recognition system
JP2004104530A (en) Tickets issuing apparatus, tickets issuing method and user confirmation device, user confirmation method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20181001

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190315

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190402

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20190603

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190730

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20191203

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200106

R150 Certificate of patent or registration of utility model

Ref document number: 6742568

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250