Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4177650B2 - Unique number generation device, generation method, generation program and recording medium thereof, and application processing system - Google Patents
[go: Go Back, main page]

JP4177650B2 - Unique number generation device, generation method, generation program and recording medium thereof, and application processing system - Google Patents

Unique number generation device, generation method, generation program and recording medium thereof, and application processing system Download PDF

Info

Publication number
JP4177650B2
JP4177650B2 JP2002346127A JP2002346127A JP4177650B2 JP 4177650 B2 JP4177650 B2 JP 4177650B2 JP 2002346127 A JP2002346127 A JP 2002346127A JP 2002346127 A JP2002346127 A JP 2002346127A JP 4177650 B2 JP4177650 B2 JP 4177650B2
Authority
JP
Japan
Prior art keywords
random number
unique
application
numbers
random
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.)
Expired - Fee Related
Application number
JP2002346127A
Other languages
Japanese (ja)
Other versions
JP2004178430A (en
Inventor
貴正 吉澤
克己 酒井
幸司 小谷
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.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing Co Ltd
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 Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP2002346127A priority Critical patent/JP4177650B2/en
Publication of JP2004178430A publication Critical patent/JP2004178430A/en
Application granted granted Critical
Publication of JP4177650B2 publication Critical patent/JP4177650B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、商品購入に伴うキャンペーンなどにおいて、インターネットを通じて購入者がキャンペーンへの応募を行うためのシステムに関し、特に応募に使用するユニーク(一意)なナンバーの生成方法に関する。
【0002】
【従来の技術】
商品購入に伴うキャンペーンなどにおいて、インターネットを通じて購入者のキャンペーンへの応募やポイント登録などを行うシステムが知られている(例えば、特許文献1参照)。
【0003】
具体的には、キャンペーンの主催者などは、応募ナンバーを生成し、例えば清涼飲料水の缶やボトルなどの商品にシールなどの形態で応募ナンバーを貼付する。商品の購入者は、パソコンや携帯端末などからインターネットを通じて所定の応募受付サイトなどにアクセスし、商品に貼付されたシールなどに印字された応募ナンバーを入力してキャンペーンへの応募やポイント登録などを行う。
【0004】
【特許文献1】
特開2002−230389号公報
【0005】
【発明が解決しようとする課題】
上記の応募処理システムでは、応募ナンバーの偽造や不正使用の対策として、数桁のチェックデジットを応募ナンバーに含める手法を採用していた。即ち、商品に貼付される応募ナンバーに数桁のチェックデジットを隠しておき、購入者からの応募を受け付けるサーバ側では、購入者が入力した応募ナンバー中のチェックデジットの整合性を調べることにより、応募ナンバーの正当性を確認していた。
【0006】
しかし、この方法では、悪意ある者が、同じロジックで生成された応募ナンバーを複数個入手し、それらの応募ナンバーの関連性を解析することでロジックを見破ることは不可能ではない。つまり、応募ナンバーのロジックを解明してしまえば、不正に応募ナンバーを生成し、商品を購入することなく応募をすることが可能になってしまう。
【0007】
本発明は以上の点に鑑みてなされたものであり、発行したいナンバーの桁数内で生成可能な数値をランダムに設定することで、ナンバー生成の規則性を取り除き、不正にナンバーを生成することを不可能とするナンバー生成手法及びそれを利用した応募処理システムを提供することを目的とする。
【0008】
【課題を解決するための手段】
本発明の1つの観点では、ユニークナンバー生成装置は、乱数を生成する乱数生成手段と、前記乱数を、X桁(Xは所定の整数)のN進数(Nは所定の整数)のランダムナンバーに変換する変換手段と、前記ランダムナンバーのうち、同一の文字又は数字が3回以上連続する部分を含むランダムナンバーを不適当なランダムナンバーとして除外する除外手段と、予め用意され、前記ランダムナンバーを各桁毎に変換するテーブルであるユニークコード変換テーブルを記憶する記憶手段と、前記除外手段により除外されなかった前記ランダムナンバーを、前記ユニークコード変換テーブルを参照して各桁毎にユニークナンバーに変換するユニークナンバー生成手段と、を備える。
【0009】
上記のユニークナンバー生成装置によれば、まず、乱数生成手段により繰り返しや偏りのない乱数が生成され、その乱数をX桁のN進数に変換することによりランダムナンバーが生成される。なお、X及びNの値は、予め決められた整数値をとる。次に、得られたランダムナンバーのうち、一意なナンバーであるユニークナンバーとして不適当なものを除外する。そして、残ったランダムナンバーを、ユニークコード変換テーブルを参照してユニークナンバーに変換する。こうして、適切なユニークナンバーが得られる。このユニークナンバーは特定のロジックによらず、ランダムに発生しているので、複数のユニークナンバーに基づいて不正に生成することが不可能であり、例えばキャンペーンなどにおいて応募ナンバーとして好適に使用することができる。
【0010】
また、前記除外手段は、同一の文字又は数字が3回以上連続する部分を含むランダムナンバーを前記不適当なランダムナンバーとして除外することができる。このユニークナンバーを応募ナンバーなどとして使用し、応募者などが入力する場合を想定すると、同一の文字又は数字が連続する部分は応募者が入力ミスを生じやすい。よって、そのような部分を含むランダムナンバーを除外することにより、入力ミスの生じにくいユニークナンバーを生成することが可能となる。
【0011】
上記のユニークナンバー生成装置の他の一態様では、前記除外手段は、同一の文字又は数字の組合せが複数回連続する部分を含むランダムナンバーを前記不適当なランダムナンバーとして除外することができる。このユニークナンバーを応募ナンバーなどとして使用し、応募者などが入力する場合を想定すると、同一の文字又は数字の組み合わせが複数回連続する部分は応募者が入力ミスを生じやすい。よって、そのような部分を含むランダムナンバーを除外することにより、入力ミスの生じにくいユニークナンバーを生成することが可能となる。
【0012】
上記のユニークナンバー生成装置の他の一態様では、前記ランダムナンバーのうち、連続する複数のランダムナンバーの各々を、不連続なランダムナンバーに変換する不連続化手段をさらに備えることができる。これにより、ユニークナンバーを応募ナンバーなどとして使用する場合に、応募者が正当に取得した1つのユニークナンバーに連続するナンバーを入力することにより不正な応募を行うことが防止できる。
【0013】
上記のユニークナンバー生成装置の他の一態様では、前記不連続化手段は、前記連続する複数のランダムナンバーの各々について、チェックデジットを算出して所定の桁に挿入することができる。2つの連続するランダムナンバーがある場合でも、各々についてチェックデジットを算出して所定の行に挿入することにより、挿入後のナンバーは不連続となる。よって、複数のナンバーを相互に照合して連続するナンバーを見つけだし、除去する作業は不要となり、チェックデジットを利用して連続するナンバーを容易に除去することが可能となる。
【0014】
上記のユニークナンバー生成装置の他の一態様では、前記ユニークコード変換テーブルは、前記所定進数の各数値と、所定の文字又は数字との対応を規定するものとすることができる。これにより、得られたランダムナンバーを所定の変換テーブルに基づいて対応する数値列に変換し、ユニークナンバーを生成することができる。また、ユニークコード変換テーブルの作成方法により、例えば携帯電話での入力に適するようにアルファベットを使用しないなど、状況に応じて適切なユニークナンバーを生成することが可能となる。
【0015】
上記のユニークナンバー生成装置の他の一態様では、前記ユニークコード変換テーブルは、形状が類似している文字及び数字の所定の組合せに属する文字又は数字を含まないものとすることができる。これにより、ユニークナンバーを応募ナンバーなどとして使用する場合に、応募者の入力ミスを防止することが可能となる。
【0016】
上記のユニークナンバー生成装置の他の一態様では、前記変換手段は、前記乱数を前記N進数に変換して得られた数がX桁を超える場合には、X桁を超える桁数分だけ前記ランダムを構成する文字又は数字を除去する。これにより、複数桁の乱数を、X桁のランダムナンバーに容易に変換することができる。
【0017】
本発明の他の観点では、応募処理システムにおいて、上記のユニークナンバー生成装置と、前記ユニークナンバー生成装置により生成した複数のユニークナンバーを、応募ナンバーとして記憶する応募ナンバー記憶装置と、前記ユニークナンバー生成装置により生成した複数のユニークナンバーを、応募ナンバーとして個別の商品に割り当てる手段と、前記商品の購入者が入力した前記応募ナンバーを、前記応募ナンバー記憶装置に記憶された応募ナンバーと照合し、一致した応募ナンバーのみを受け付ける応募受付手段と、を備える。
【0018】
上記の応募処理システムによれば、ユニークナンバー生成装置により生成したユニークナンバーを記憶するとともに、個別の商品に割り当てる。商品の購入者は、商品などを購入して応募ナンバーを知り、ウェブサイトその他においてその応募ナンバーを入力する。入力された応募ナンバーは応募ナンバー記憶装置に記憶された応募ナンバーと照合され、応募ナンバーが一致する場合は正しい応募として受付処理がなされる。
【0019】
上記の応募処理システムの一態様では、前記個別の商品に割り当てられた前記応募ナンバーを、前記商品に付すべき付属物又は前記商品の包装物に印刷する印刷装置をさらに備えることができる。これにより、応募ナンバーを個別の商品に付すことができる。
【0022】
本発明の他の観点では、ユニークナンバー生成プログラムは、コンピュータ上で実行されることにより、乱数を生成する乱数生成手段、前記乱数を、X桁(Xは所定の整数)のN進数(Nは所定の整数)のランダムナンバーに変換する変換手段、前記ランダムナンバーのうち、同一の文字又は数字が3回以上連続する部分を含むランダムナンバーを不適当なランダムナンバーとして除外する除外手段、予め用意され、前記ランダムナンバーを各桁毎に変換するテーブルであるユニークコード変換テーブルを記憶する記憶手段、前記除外手段により除外されなかった前記ランダムナンバーを、前記ユニークコード変換テーブルを参照して各桁毎にユニークナンバーに変換するユニークナンバー生成手段、として前記コンピュータを機能させる。
【0023】
また、本発明の他の観点では、上記のユニークナンバー生成プログラムを記録媒体に記録することができる。
【0024】
このプログラムをコンピュータ上で実行することにより、上述のユニークナンバー生成装置を実現することができる。
【0025】
【発明の実施の形態】
以下、図面を参照して本発明の好適な実施の形態について説明する。本発明は、インターネットによるキャンペーンの応募受付を可能とするシステムに関し、キャンペーンの対象となる商品に貼付する応募ナンバーとして好適に利用できるユニークなナンバーの生成方法に特徴を有する。
【0026】
図1に、本発明の実施形態にかかるシステムの概略構成を示す。図1において、キャンペーン主催者の統合管理サーバ10、受付サーバ8、応募ナンバーの印刷サーバ9がそれぞれインターネット1に接続されている。なお、本実施形態ではインターネット1を使用しているが、それ以外のネットワークを使用することももちろん可能である。
【0027】
利用者(商品購入者)はインターネット1を通じて受付サーバ8と通信することができる。利用者は、パーソナルコンピュータ2、携帯型端末3、携帯電話4などのインターネットへ接続可能な装置を使用して受付サーバ8へ接続する。携帯型端末3や携帯電話4を使用する場合は、所定の中継局6などを介してインターネット1への接続が確立される。
【0028】
統合管理サーバ10は応募ナンバーの作成を行い、その格納域としてユニークナンバーDB(データベース)11を備える。また、受付サーバ8は受付確認用の応募ナンバーDB12を備える。さらに、印刷サーバ9は印刷用応募ナンバーDB13を備える。
【0029】
次に本システムを利用したキャンペーンの全体的な流れについて概説する。
【0030】
まず、主催者は、統合管理サーバ10を利用して応募ナンバーを生成し、ユニークナンバーDB11に保管する。応募ナンバーの生成方法は後に詳しく説明する。生成した応募ナンバーは印刷サーバ9によりダウンロードされ、印刷用応募ナンバーDB13に記録される。印刷用応募ナンバーDB13に格納された応募ナンバーは、シールやタグとして印刷され、商品7に貼付される。例えば、清涼飲料水などの場合は、シールに応募ナンバーを印刷してシールを缶に貼り付ける、ペットボトルの外側に付けられたシュリンクラベルに応募ナンバーをプリントするなどの方法を使用することができる。
【0031】
一方、受付サーバ8も同様に統合管理サーバ10の備えるユニークナンバーDB11から応募ナンバーを所定のフォーマットでダウンロードし、受付用応募ナンバーDB12に格納する。ダウンロードした応募ナンバーは、利用者が応募した際に入力した応募ナンバーが適切であるかどうかの応募受付チェックとして使用される。即ち、利用者が入力した応募ナンバーと、受付用応募ナンバーDB12内の応募ナンバーが照合され、一致すれば正しい応募であると判断されることになる。
【0032】
利用者は、店舗などで商品7を購入し、応募ナンバーを知る。商品7には、応募ナンバーとともに、主催者のウェブサイトへのアクセス情報、例えば受付サーバ8のURLなどが印刷されている。利用者は、図1に例示するパーソナルコンピュータ2、携帯型端末3、携帯電話4などを利用してその主催者のウェブサイトへアクセスし、利用者登録などを行い、応募ナンバーを入力して応募する。その後、主催者により応募について抽選などが行われ、景品が利用者に提供される。
【0033】
次に、統合管理サーバ10による応募ナンバーの生成方法について説明する。
【0034】
応募ナンバーの生成において考慮すべきことは、実際に商品を購入していない者による不正な応募を排除することが要求されることである。例えば、応募ナンバーが英数字などを含めて連番で生成されているとすれば、購入した商品に付いている応募ナンバーの前後の番号を使用しても応募ができてしまうことになり、容易に不正な応募が行われてしまう。
【0035】
このようなことが無いように、従来は、ある規則性をもって生成されたナンバーにチェックデジットを複数桁挿入するといった方法で応募ナンバーを生成し、利用者が入力したナンバーが当該規則に一致するかどうかでその正当性を確認していた。しかし、この方法においても、応募ナンバーは何らかの規則性をもって生成されているため、同一の規則性を持ったナンバーを複数個入手し、それらを解析することで、ナンバー生成のロジックを見つけることは不可能なことではなかった。
【0036】
これに対し、本発明における応募ナンバー生成方法では、乱数発生により、ランダムなナンバーを生成し、従来の応募ナンバーそのものが内包する規則性を排除することができる。
【0037】
まず、統合管理サーバ10の機能を示す図2を用いて生成方法を説明する。統合管理サーバ10は乱数を発生させるための乱数発生装置21を備える。乱数発生装置21は汎用的な乱数発生ボードや乱数発生プログラムなど、偏りや繰り返しを含まない乱数の発生が可能なものであればよく、ハードウェアによるかソフトウェアによるかを問わない。
【0038】
乱数発生装置21により発生した乱数はランダムナンバー作成部22において、X桁のN進数(以下、「ランダムナンバー」と呼ぶ。)に変換される。なお、X、Nの値はいずれも所定の整数である。X桁のN進数は応募ナンバー生成の実行時に予め生成担当者などが指定するものである。図3(c)はその設定画面例である。乱数発生装置21は、例えば64ビットの整数といった内部形式で乱数を発生させるため、これを主催者が意図するナンバー形式に変換するためのルールとして指定する。例えば、「10桁の12進数」と指定することが出来る。桁数の調整は余分な桁を切り捨てることで行うが、切り捨てる桁を上位桁とすることも下位桁とすることも、中間の所定桁とすることも任意に選択可能である。
【0039】
また、ランダムナンバー作成部22はX桁のN進数に変換されたランダムナンバーが応募ナンバーとして不適当である場合には、当該ナンバーを応募ナンバーとして使用しないこととする。
【0040】
応募ナンバーとして不適当なナンバーの一例は、「1222258」のように、同じ文字や数字(ここでは数字「2」)が3つ以上連続して現れるナンバーである。このようなナンバーは利用者が入力する際に、その数字「2」を入力する回数を誤る可能性が高い。また、応募ナンバーとして不適当なナンバーの他の例は、例えば「2323235」のように、「23」という同じパターンの文字列が複数回連続して現れるナンバーである。このようなナンバーも利用者が応募ナンバーを入力する際に「23」を入力する回数を誤る可能性が高い。
【0041】
また、応募ナンバーとして不適当なナンバーとして、数値的に連続するナンバー(連番)などを含めることもできる。このように、応募ナンバーとして不適当と考えられるパターンを予め指定することで、購入者による入力ミスが生じやすいナンバーや、不正に類推をしやすいナンバーなど、不適当と認められるナンバー(以下、「不適当ナンバー」と呼ぶ。)を排除することができる。
【0042】
また、ランダムナンバー作成部22はチェックデジットを算出する。本発明のナンバー生成方法におけるチェックデジットには以下の2つの役割がある。
【0043】
1つは、通常のチェックデジットの使用目的と同様に、購入者が入力した応募ナンバーが、正当な応募ナンバーとして存在し得るナンバーかどうかを判断するために使用されるというものである。応募ナンバーとして存在するかどうかは、受付用応募ナンバーDB12を検索すればわかることであるが、存在しないナンバーの検索をする処理自体でDBには相当の不要な負荷がかかることになる。つまり、チェックデジットで存在し得るナンバーかどうかをチェックし、チェックデジットが一致しなければ不正ナンバーと判断することとすれば、購入者が入力した全てのナンバーについて、応募ナンバーDB12への検索を行う必要がなくなり、応募受付時の処理負担を軽減することができる。
【0044】
チェックデジットのもう1つの役割は、全ての応募ナンバー中における、連続するナンバー(連番)の存在を排除することである。生成された多数の応募ナンバー中に連番が存在するかどうかは、全応募ナンバーの作成後に、全ての応募ナンバーをチェックして確認すれば発見することができ、そうして連続する応募ナンバーを排除することができる。しかしながら、このようなキャンペーンで必要とされる応募ナンバーの発行数は数億個にもなる場合が多い。そのような場合に、応募ナンバーの全件数を対象に連番の存在を調べることは効率的ではない。一方、全ての応募ナンバーのいずれかの桁、例えば最下位桁にチェックデジットを挿入すると、必然的に連番は存在しなくなる。つまり、チェックデジット挿入前の状態で2つの応募ナンバーが連番になっていたとしても、各々について生成したチェックデジットは異なるので、それらを各応募ナンバーのいずれかの桁に挿入すれば、チェックデジットの挿入前に連番であった2つの応募ナンバーはもはや連番ではなくなる。何億個もの応募ナンバーをキャンペーンのスケジュールに合わせて迅速に生成するには、このチェックデジット付加による連番の排除方法は非常に効率的といえる。尚、連番の排除は、応募者が応募ナンバーの入力時に、試しに隣の番号を入力したら応募できてしまった、というケースをなくすために必要とされる処理である。
【0045】
ランダムナンバー作成部22はこのようにして生成されたランダムナンバー(X桁のN進数)、及び、チェックデジットに管理用のシーケンシャルな番号である管理用ナンバーを付加してランダムナンバーテーブル25に格納する。図3(a)にランダムナンバーテーブル25の記憶内容の一例を示す。
【0046】
ユニークナンバー作成部23は、ランダムナンバーから、応募ナンバーとして使用することが可能なユニークナンバーを生成する部分である。具体的には、ユニークナンバー生成部23は、まず、図3(c)を参照して説明したユニークナンバー生成ルールに基づいて、ランダムナンバーテーブル25内に記憶されたX桁N進数の各ランダムナンバーに、対応するチェックデジットを挿入してチェックデジット挿入済みのランダムナンバーを生成する。次に、ユニークナンバー作成部23は、予め用意されたユニークコード変換テーブル26を参照して、チェックデジット挿入済みのランダムナンバーをコード変換することによりユニークナンバーを生成する。図3(b)はユニークコード変換テーブル26の内容の一例を示したものである。
【0047】
ユニークコード変換テーブル26は、進数表記を独自に設定したテーブルと捉えることができる。例えば、16進数を例にとると、16進数の表記は通常、0、1、2、3、4、5、6、7、8、9、A、B、C、D、E、Fの16文字で表されるが、この表記を独自の変換テーブルでコード化するのが、ユニーク変換テーブル26の役割である。ユニークコード変換テーブル26の内容は任意に設定可能であるが、キャンペーンの実施環境等を考慮して設定することが望ましい。例えば、アルファベットと数字との混合のナンバーを作成する場合は、数字の「0(ゼロ)」とアルファベットの「O(オー)」は、互いに判別しにくい文字であり、応募者の入力ミスにつながりやすいのでそれら両方とも使わないことが望ましい。また、例えば、購入者が応募作業に使用する端末として携帯電話を使用することが多いと想定される場合には、数字及び所定の記号だけで構成することで、携帯電話で必要とされる数字入力モードとアルファベット入力モードの切り替え作業の負荷軽減を考慮することができる。こうして、ユニークナンバー作成部23は、チェックデジット挿入済みのランダムナンバーからユニークナンバーを生成し、ユニークナンバーDB27へ格納する。ユニークナンバーDB27内に格納されたユニークナンバーは、連番や利用者が入力ミスを起こしやすい番号を除去した一意なナンバーであり、これが応募システムにおいて応募ナンバーとして好適に使用される。
【0048】
暗号化部24は、ユニークナンバーDB27に格納されたユニークナンバー(応募ナンバーとして使用される)を、受付サーバ8が必要とするフォーマットに変換し、受付用応募ナンバーファイルとして暗号化する。暗号化方法の例としては、受付サーバ8の運用担当者等、応募ナンバーを統合管理サーバ10からダウンロードする権限を有する者の公開鍵で暗号化する。こうすることで、受付用応募ファイルは適正な権限を有する者だけが、自らの秘密鍵を使って復号化することができる。
【0049】
同様に、暗号化部24はユニークナンバーDB27に格納された応募ナンバーを、印刷サーバ9が必要とするフォーマットに変換し、印刷用応募ナンバーファイルとして暗号化する。暗号化方法の例としては、印刷サーバ8の運用担当者等、応募ナンバーを統合管理サーバ10からダウンロードする権限を有する者の公開鍵で暗号化する。こうすることで、印刷用応募ファイルは適正な権限を有する者だけが、自らの秘密鍵を使って復号化することができる。
【0050】
尚、暗号化部が行うフォーマット変換を伴うファイル作成処理、及び、暗号化処理の内容は、実施環境に応じて、適宜変更が可能となっている。図1に示す実施環境では印刷サーバ9は1台であるが、他の一態様では、例えば、二社の印刷業者が、応募ナンバー総数の半分ずつの印刷を分担する場合などが想定される。このような場合にはユニークナンバーDB27中の半分の応募ナンバーを一印刷業者向けのファイルとして作成、暗号化し、残りの応募ナンバーをもう一方の印刷業者向けのファイルとして作成、暗号化することも可能である。
【0051】
次に、以上のようにしてユニークナンバーが作成されるまでの過程を、ユニークナンバー生成の流れを示す図4と、ユニークナンバー生成例を示した図5を用いて詳細に説明する。なお、以下のユニークナンバー生成処理は、図2に示す統合管理サーバ10が予め用意されたユニークナンバー生成プログラムを実行し、ランダムナンバー生成部22、ユニークナンバー生成部23、暗号化部24などとして機能することにより実現される。なお、図5に示すように、本例では、ユニークナンバーの生成ルールとして、7桁の12進数を生成することを前提とする(即ち、X=7、N=12である)。
【0052】
まず、乱数発生装置21により乱数を発生する(ステップS41)。本例では、発生された乱数は「166374554」であるとする(図5−▲1▼を参照)。
【0053】
次に、ランダムナンバー作成部22は、発生された乱数をユニークナンバー生成ルールに従って12進数に変換する(ステップS42)。本例では、「166374554」を12進数に変換すると、「2A6578749」となる(図5−▲2▼を参照)。
【0054】
次に、ランダムナンバー作成部22は、桁数チェックを行う(ステップS43)。12進数変換後の桁数は8桁であるが、ユニークナンバーの生成ルールに従って、これを7桁にする必要があるので、7桁を超える上位桁を切り捨て、「A6578749」とする(図5−▲3▼を参照)。尚、本例では上位桁を切り捨てることとしているが、下位桁を切り捨てる仕様とすることも可能である。
【0055】
次に、ランダムナンバー作成部22は、生成されたX桁のN進数(本例では7桁の12進数)が、予め規定した不適当ナンバーに該当するかどうかを確認する(ステップS44)。不適当ナンバーに該当する場合、ランダムナンバー作成部22は以降の処理を中止し、再び乱数発生装置から別の乱数を取得して同様の処理を繰り返す(ステップS41〜S43)。なお、本例では、「A6578749」は同じ文字の連続もなく、同じ文字列の連続もないので、不適当ナンバーには該当しないと判断される(図5−▲4▼を参照)。
【0056】
不適当ナンバーに該当しない場合、ランダムナンバー作成部22はチェックデジットを算出する(ステップS45)。本例では、「A6578749」のチェックデジットを計算し、「9」が算出される(図5−▲5▼を参照)。そして、生成されたランダムナンバーとチェックデジットに、管理用番号を付加して、ランダムナンバーテーブル25に格納する(ステップS46)。管理用番号は生成されたランダムなナンバーを管理するために付加される番号である。よって、管理用番号は一意な番号であればよく、図3(a)の例で示すように、シーケンシャルナンバー等でよい。
【0057】
次に、ユニークナンバー作成部23は、ランダムナンバーテーブル25を参照し、ランダムナンバーにチェックデジットを挿入する(ステップS47)。本例では、「A6578749」の最下位桁にチェックデジット「9」を挿入し、「A65787499」を得る(図5−▲6▼を参照)。尚、本例では1桁目にチェックデジットを挿入しているが、チェックデジットの挿入桁位置は、図3(c)のような画面で予め指定することが可能である。
【0058】
続いて、ユニークナンバー作成部23は、チェックデジット挿入後のランダムナンバーの一文字、一文字を、予め用意されたユニークコード変換テーブルの変換前コードと照合し、一致する変換後コードで置き換える(ステップS48)。本例では、チェックデジット挿入済みランダムナンバー「A65787499」を、図3(b)に例示するユニークコード変換テーブルで変換すると「EB37J7A66」となり、こうしてユニークナンバーが完成する(図5−▲7▼を参照)。そして、ユニークナンバー作成部23は、生成されたユニークナンバーをユニークナンバーDB27に格納する(ステップS49)。以上の処理を繰り返し行うことにより、必要個数のユニークナンバーを生成することができる。ユニークナンバーDB27に格納されたユニークナンバーは、キャンペーンの応募ナンバーなどとして使用することができる。
【0059】
【発明の効果】
以上説明したように、本発明によれば、商品の購入者は、インターネットを通じてキャンペーンに応募することができる。また、キャンペーン主催者は、規則性の無いユニークナンバーを作成することができ、それをキャンペーンなどにおける応募ナンバーなどとして使用することができる。その結果、利用者が応募ナンバーの規則性を解析して不正な応募を行うことを防止し、適正にキャンペーンを実施することが可能となる。
【図面の簡単な説明】
【図1】本発明による応募処理システムの概略構成を示す図である。
【図2】図1に示す統合管理サーバの機能ブロック図である。
【図3】(a)ランダムナンバーテーブルの内容例である。
(b)ユニークコード変換テーブルの内容例である。
【図4】本発明によるユニークナンバー生成処理のフロー図である。
【図5】本発明によるユニークナンバー生成の具体例を示す。
【符号の説明】
1 インターネット
2 パーソナルコンピュータ
3 携帯型端末
4 携帯電話
8 受付サーバ
9 印刷サーバ
10 統合管理サーバ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a system for a purchaser to apply for a campaign through the Internet in a campaign accompanying product purchase, and more particularly to a method for generating a unique number used for application.
[0002]
[Prior art]
In campaigns associated with product purchases and the like, a system is known that performs application and point registration for purchasers through the Internet (see, for example, Patent Document 1).
[0003]
Specifically, a campaign organizer or the like generates an application number and attaches the application number in a form such as a seal to a product such as a can or bottle of soft drink. The purchaser of the product accesses the designated application reception site via the Internet from a personal computer or mobile terminal, etc., enters the application number printed on the sticker attached to the product, etc. to apply for the campaign or register points Do.
[0004]
[Patent Document 1]
JP 2002-230389 A
[0005]
[Problems to be solved by the invention]
In the above application processing system, a technique of including a check digit of several digits in the application number has been adopted as a countermeasure against forgery or unauthorized use of the application number. In other words, by hiding a few digits check digit in the application number affixed to the product, and accepting the application from the purchaser, by checking the consistency of the check digit in the application number entered by the purchaser, The validity of the application number was confirmed.
[0006]
However, in this method, it is not impossible for a malicious person to obtain a plurality of application numbers generated with the same logic and analyze the relevance of the application numbers to find out the logic. In other words, if the logic of the application number is clarified, it becomes possible to generate an application number illegally and apply without purchasing the product.
[0007]
The present invention has been made in view of the above points, and by randomly setting a numerical value that can be generated within the number of digits of the number to be issued, the regularity of the number generation is removed, and the number is generated illegally. The purpose is to provide a number generation method that makes it impossible and an application processing system using it.
[0008]
[Means for Solving the Problems]
  In one aspect of the present invention, the unique number generation device includes a random number generation unit that generates a random number, and the random number into a random number of N digits (N is a predetermined integer) of X digits (X is a predetermined integer). Conversion means for converting, and among the random numbers, A random number that includes a part where the same letter or number continues three or more timesInappropriate random numberAsExclusion means to exclude,Storage means for storing a unique code conversion table prepared in advance and converting the random number for each digit;Refer to the unique code conversion table for the random numbers that are not excluded by the exclusion means.Every digitUnique number generating means for converting to a unique number.
[0009]
According to the unique number generating apparatus, first, random numbers without repetition or bias are generated by the random number generating means, and the random numbers are generated by converting the random numbers into X-digit N-ary numbers. Note that the values of X and N take a predetermined integer value. Next, out of the obtained random numbers, those that are inappropriate as unique numbers that are unique numbers are excluded. Then, the remaining random number is converted into a unique number with reference to the unique code conversion table. In this way, an appropriate unique number can be obtained. Since this unique number is randomly generated regardless of specific logic, it cannot be illegally generated based on a plurality of unique numbers. For example, it can be suitably used as an application number in a campaign or the like. it can.
[0010]
  Also,The exclusion means can exclude a random number including a portion in which the same letter or number continues three or more times as the inappropriate random number. Assuming that the unique number is used as an application number and the applicant inputs the number, the applicant tends to make an input error in a portion where the same letters or numbers continue. Therefore, by excluding the random number including such a part, it is possible to generate a unique number that is unlikely to cause an input error.
[0011]
In another aspect of the unique number generating apparatus, the excluding unit can exclude a random number including a portion in which a combination of the same letters or numbers continues several times as the inappropriate random number. Assuming that the unique number is used as an application number and the applicant inputs it, the applicant is liable to make an input mistake in a portion where the same combination of letters or numbers is repeated a plurality of times. Therefore, by excluding the random number including such a part, it is possible to generate a unique number that is unlikely to cause an input error.
[0012]
In another aspect of the unique number generation device, discontinuous means for converting each of a plurality of consecutive random numbers out of the random numbers into discontinuous random numbers can be further provided. Thereby, when using a unique number as an application number etc., it can prevent making an illegal application by inputting the number which continues to one unique number which the applicant acquired legally.
[0013]
In another aspect of the unique number generation device, the discontinuity unit can calculate a check digit for each of the plurality of consecutive random numbers and insert it into a predetermined digit. Even when there are two consecutive random numbers, the numbers after insertion are discontinuous by calculating the check digit for each and inserting it in a predetermined row. Therefore, it is not necessary to find and remove consecutive numbers by collating a plurality of numbers with each other, and it is possible to easily remove consecutive numbers using a check digit.
[0014]
In another aspect of the unique number generation device, the unique code conversion table may define a correspondence between each numerical value of the predetermined decimal number and a predetermined character or number. Thereby, the obtained random number can be converted into a corresponding numerical sequence based on a predetermined conversion table, and a unique number can be generated. In addition, the unique code conversion table creation method makes it possible to generate an appropriate unique number depending on the situation, for example, not using an alphabet so as to be suitable for input with a mobile phone.
[0015]
In another aspect of the unique number generation device, the unique code conversion table may not include characters or numbers belonging to a predetermined combination of characters and numbers having similar shapes. Thereby, when using a unique number as an application number etc., it becomes possible to prevent an input mistake of an applicant.
[0016]
In another aspect of the unique number generation device, the conversion means may convert the random number into the N-ary number in excess of X digits, by the number of digits exceeding X digits. Remove random letters or numbers. As a result, a multi-digit random number can be easily converted into an X-digit random number.
[0017]
In another aspect of the present invention, in the application processing system, the above unique number generation device, an application number storage device that stores a plurality of unique numbers generated by the unique number generation device as application numbers, and the unique number generation A means for assigning a plurality of unique numbers generated by the device to individual products as application numbers, and the application number input by the purchaser of the products are compared with the application numbers stored in the application number storage device, and they match. Application receiving means for receiving only the applied application number.
[0018]
According to the above application processing system, the unique number generated by the unique number generating device is stored and assigned to individual products. The purchaser of the product purchases the product and knows the application number, and enters the application number on the website and others. The input application number is collated with the application number stored in the application number storage device, and if the application numbers match, the acceptance process is performed as a correct application.
[0019]
In one aspect of the above application processing system, it may further include a printing device that prints the application number assigned to the individual product on an accessory to be attached to the product or a package of the product. Thereby, an application number can be attached to an individual product.
[0022]
  In another aspect of the present invention, the unique number generation program includes:A random number generating means for generating a random number by being executed on a computer; a converting means for converting the random number into a random number of an N-digit number (N is a predetermined integer) of X digits (X is a predetermined integer); An exclusion means for excluding a random number including a portion in which the same letter or number continues three or more times from among random numbers as an inappropriate random number, a table prepared in advance and converting the random number for each digit. Storage means for storing a unique code conversion table, unique number generating means for converting the random number not excluded by the exclusion means into a unique number for each digit with reference to the unique code conversion table, Make it work.
[0023]
  In another aspect of the present invention, the unique number generation program can be recorded on a recording medium.
[0024]
By executing this program on a computer, the above-described unique number generating apparatus can be realized.
[0025]
DETAILED DESCRIPTION OF THE INVENTION
Preferred embodiments of the present invention will be described below with reference to the drawings. The present invention relates to a system that enables application acceptance of campaigns via the Internet, and is characterized by a unique number generation method that can be suitably used as an application number to be affixed to a product to be campaigned.
[0026]
FIG. 1 shows a schematic configuration of a system according to an embodiment of the present invention. In FIG. 1, a campaign organizer's integrated management server 10, reception server 8, and application number print server 9 are connected to the Internet 1. In the present embodiment, the Internet 1 is used, but it is of course possible to use other networks.
[0027]
A user (product purchaser) can communicate with the reception server 8 through the Internet 1. The user connects to the reception server 8 using a device that can be connected to the Internet, such as the personal computer 2, the portable terminal 3, and the mobile phone 4. When the portable terminal 3 or the cellular phone 4 is used, a connection to the Internet 1 is established via a predetermined relay station 6 or the like.
[0028]
The integrated management server 10 creates an application number and includes a unique number DB (database) 11 as a storage area. The reception server 8 includes an application number DB 12 for confirmation of reception. Further, the print server 9 includes a print application number DB 13.
[0029]
Next, the overall flow of the campaign using this system will be outlined.
[0030]
First, the organizer generates an application number using the integrated management server 10 and stores it in the unique number DB 11. The method for generating the application number will be described in detail later. The generated application number is downloaded by the printing server 9 and recorded in the printing application number DB 13. The application number stored in the application number DB 13 for printing is printed as a sticker or a tag and attached to the product 7. For example, for soft drinks, you can use methods such as printing the application number on a sticker and sticking the sticker on a can, or printing the application number on a shrink label on the outside of a PET bottle. .
[0031]
On the other hand, the reception server 8 also downloads the application number from the unique number DB 11 provided in the integrated management server 10 in a predetermined format and stores it in the reception application number DB 12. The downloaded application number is used as an application reception check to determine whether the application number entered when the user applied is appropriate. In other words, the application number input by the user and the application number in the reception application number DB 12 are collated, and if they match, it is determined that the application is correct.
[0032]
The user purchases the product 7 at a store or the like and knows the application number. The product 7 is printed with the application number and access information for the website of the organizer, such as the URL of the reception server 8. The user accesses the organizer's website using the personal computer 2, portable terminal 3, mobile phone 4, etc. illustrated in FIG. 1, performs user registration, etc., enters the application number, and applies. To do. After that, the organizer performs a lottery on the application, and the prize is provided to the user.
[0033]
Next, a method for generating an application number by the integrated management server 10 will be described.
[0034]
What should be considered in the generation of the application number is that it is required to eliminate unauthorized application by a person who has not actually purchased the product. For example, if the application number is generated with sequential numbers including alphanumeric characters, it will be possible to apply even if the numbers before and after the application number attached to the purchased product are used. An illegal application will be made.
[0035]
In order to avoid this, conventionally, application numbers are generated by inserting multiple digits of check digits into numbers generated with a certain regularity, and the number entered by the user matches the rules. I was confirming its validity. However, even in this method, the application number is generated with some regularity, so it is not possible to find the number generation logic by obtaining multiple numbers with the same regularity and analyzing them. It was not possible.
[0036]
On the other hand, in the application number generation method in the present invention, a random number is generated by generating a random number, and the regularity included in the conventional application number itself can be eliminated.
[0037]
First, the generation method will be described with reference to FIG. 2 showing the functions of the integrated management server 10. The integrated management server 10 includes a random number generator 21 for generating random numbers. The random number generation device 21 may be any device such as a general-purpose random number generation board or a random number generation program that can generate random numbers that do not include bias and repetition.
[0038]
The random number generated by the random number generation device 21 is converted into an X-digit N-ary number (hereinafter referred to as “random number”) in the random number creation unit 22. Note that the values of X and N are both predetermined integers. The X-digit N-ary number is designated in advance by the person in charge of generation when executing the application number generation. FIG. 3C shows an example of the setting screen. Since the random number generator 21 generates a random number in an internal format such as a 64-bit integer, for example, it is designated as a rule for converting it into a number format intended by the organizer. For example, “10-digit decimal number” can be designated. The number of digits is adjusted by truncating the extra digits, but it is possible to arbitrarily select whether the digits to be discarded are upper digits, lower digits, or intermediate predetermined digits.
[0039]
In addition, when the random number converted into the X-digit N-ary number is inappropriate as the application number, the random number creation unit 22 does not use the number as the application number.
[0040]
An example of an inappropriate number as an application number is a number in which three or more of the same letters and numbers (here, the number “2”) appear consecutively, such as “1222258”. When such a number is input by the user, there is a high possibility that the number of times the number “2” is input will be mistaken. Another example of a number inappropriate as an application number is a number in which a character string of the same pattern “23” appears continuously a plurality of times, such as “23232325”. Such a number also has a high possibility that the number of times “23” is input by the user when inputting the application number.
[0041]
In addition, numerically consecutive numbers (serial numbers) may be included as inappropriate numbers as application numbers. In this way, by specifying a pattern that is considered inappropriate as an application number in advance, numbers that are considered inappropriate such as numbers that are prone to input mistakes by buyers or numbers that are easily guessed by fraud (hereinafter referred to as “ It is called “inappropriate number”).
[0042]
In addition, the random number creation unit 22 calculates a check digit. The check digit in the number generation method of the present invention has the following two roles.
[0043]
One is that the application number entered by the purchaser is used to determine whether or not it can exist as a valid application number, in the same way as the purpose of using a normal check digit. Whether or not it exists as an application number can be understood by searching the application number DB 12 for acceptance, but the DB itself is subjected to a considerable unnecessary load by the process of searching for a number that does not exist. In other words, it is checked whether or not the number can exist in the check digit, and if the check digit does not match, it is determined that the number is an illegal number. If all the numbers entered by the purchaser are searched, the application number DB 12 is searched. This eliminates the need to reduce the processing burden when accepting applications.
[0044]
Another role of the check digit is to eliminate the presence of consecutive numbers (sequential numbers) in all application numbers. You can find out if there are sequential numbers among the many generated application numbers by checking all application numbers after creating all application numbers, and then finding consecutive application numbers. Can be eliminated. However, the number of application numbers required for such campaigns is often in the hundreds of millions. In such a case, it is not efficient to check the existence of sequential numbers for all the application numbers. On the other hand, if a check digit is inserted in any digit of all the application numbers, for example, the least significant digit, the serial number inevitably does not exist. In other words, even if two application numbers are serial numbers before check digit insertion, the check digit generated for each is different, so if you insert them into any digit of each application number, check digit The two application numbers that were serial numbers before the insertion of are no longer serial numbers. In order to quickly generate hundreds of millions of application numbers according to the campaign schedule, this method of eliminating sequential numbers by adding a check digit can be said to be very efficient. The elimination of the serial number is a process required to eliminate the case where the applicant has been able to apply if the next number is entered as a trial when inputting the application number.
[0045]
The random number creation unit 22 adds the management number, which is a sequential number for management, to the random number (X-digit N-ary number) generated in this way and the check digit, and stores it in the random number table 25. . FIG. 3A shows an example of the contents stored in the random number table 25.
[0046]
The unique number creation unit 23 is a part that generates a unique number that can be used as an application number from a random number. Specifically, the unique number generation unit 23 first determines each random number of X-digit N-ary numbers stored in the random number table 25 based on the unique number generation rule described with reference to FIG. The corresponding check digit is inserted to generate a random number with the check digit inserted. Next, the unique number creation unit 23 refers to the unique code conversion table 26 prepared in advance, and generates a unique number by code-converting the random number into which the check digit has been inserted. FIG. 3B shows an example of the contents of the unique code conversion table 26.
[0047]
The unique code conversion table 26 can be regarded as a table in which the decimal notation is uniquely set. For example, taking a hexadecimal number as an example, the hexadecimal notation is usually 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F. Although represented by characters, it is the role of the unique conversion table 26 to encode this notation with a unique conversion table. The content of the unique code conversion table 26 can be set arbitrarily, but it is desirable to set it in consideration of the campaign implementation environment and the like. For example, when creating a mixed number of letters and numbers, the number “0 (zero)” and the letter “O (o)” are characters that are difficult to distinguish from each other, leading to an input error by the applicant. It's easy to avoid using both of them. In addition, for example, if it is assumed that the purchaser often uses a mobile phone as a terminal used for application work, the number required for the mobile phone can be configured by using only numbers and predetermined symbols. It is possible to consider reducing the load of switching between the input mode and the alphabet input mode. In this way, the unique number creation unit 23 generates a unique number from the random number with the check digit inserted, and stores it in the unique number DB 27. The unique number stored in the unique number DB 27 is a unique number obtained by removing serial numbers or numbers that are likely to cause an input error by the user, and is preferably used as an application number in the application system.
[0048]
The encryption unit 24 converts the unique number (used as an application number) stored in the unique number DB 27 into a format required by the reception server 8 and encrypts it as a reception application number file. As an example of the encryption method, the application number is encrypted with the public key of the person who has the authority to download the application number from the integrated management server 10, such as the person in charge of the operation of the reception server 8. In this way, only those who have the proper authority can decrypt the acceptance application file using their own private key.
[0049]
Similarly, the encryption unit 24 converts the application number stored in the unique number DB 27 into a format required by the print server 9 and encrypts it as a print application number file. As an example of the encryption method, the application number is encrypted with the public key of the person who has the authority to download the application number from the integrated management server 10 such as the person in charge of the operation of the print server 8. In this way, only those who have the proper authority can decrypt the application file for printing using his / her private key.
[0050]
Note that the contents of the file creation process accompanying the format conversion performed by the encryption unit and the encryption process can be changed as appropriate according to the implementation environment. In the implementation environment shown in FIG. 1, there is one print server 9, but in another aspect, for example, it is assumed that two printing companies share printing of half the total number of application numbers. In such a case, it is possible to create and encrypt half of the application numbers in the unique number DB 27 as a file for one printer, and create and encrypt the remaining application numbers as a file for the other printer. It is.
[0051]
Next, the process until a unique number is created as described above will be described in detail with reference to FIG. 4 showing the flow of generating a unique number and FIG. 5 showing an example of generating a unique number. In the following unique number generation process, the integrated management server 10 shown in FIG. 2 executes a unique number generation program prepared in advance, and functions as a random number generation unit 22, a unique number generation unit 23, an encryption unit 24, and the like. It is realized by doing. As shown in FIG. 5, in this example, it is assumed that a 7-digit decimal number is generated as a rule for generating a unique number (that is, X = 7 and N = 12).
[0052]
First, a random number is generated by the random number generator 21 (step S41). In this example, it is assumed that the generated random number is “166374554” (see (1) in FIG. 5).
[0053]
Next, the random number creation unit 22 converts the generated random number into a decimal number according to the unique number generation rule (step S42). In this example, when “166374554” is converted into a decimal number, “2A6578749” is obtained (see (2) in FIG. 5).
[0054]
Next, the random number creation unit 22 checks the number of digits (step S43). The number of digits after the conversion to the decimal number is 8 digits. However, according to the rule for generating a unique number, it is necessary to make this 7 digits. Therefore, the upper digits exceeding 7 digits are truncated to be “A6578749” (FIG. 5- (See (3)). In this example, the upper digit is rounded down, but it is also possible to have a specification in which the lower digit is rounded down.
[0055]
Next, the random number creation unit 22 checks whether or not the generated X-digit N-ary number (7-digit decimal number in this example) corresponds to a predetermined inappropriate number (step S44). When it corresponds to an inappropriate number, the random number creation unit 22 stops the subsequent processing, acquires another random number from the random number generator again, and repeats the same processing (steps S41 to S43). In this example, since “A6578749” does not have the same character string and does not have the same character string, it is determined that it does not correspond to an inappropriate number (see (4) in FIG. 5).
[0056]
If it does not correspond to an inappropriate number, the random number creation unit 22 calculates a check digit (step S45). In this example, the check digit “A6578749” is calculated, and “9” is calculated (see FIG. 5-5). Then, a management number is added to the generated random number and check digit and stored in the random number table 25 (step S46). The management number is a number added to manage the generated random number. Therefore, the management number may be a unique number, and may be a sequential number or the like as shown in the example of FIG.
[0057]
Next, the unique number creation unit 23 refers to the random number table 25 and inserts a check digit into the random number (step S47). In this example, a check digit “9” is inserted into the least significant digit of “A6578749” to obtain “A65787499” (see FIG. 5-6). In this example, the check digit is inserted in the first digit, but the position of the check digit can be designated in advance on a screen as shown in FIG.
[0058]
Subsequently, the unique number creation unit 23 checks one character or one character of the random number after inserting the check digit with the pre-conversion code of the unique code conversion table prepared in advance, and replaces it with the matched post-conversion code (step S48). . In this example, when the check digit inserted random number “A65787499” is converted by the unique code conversion table illustrated in FIG. 3B, “EB37J7A66” is obtained, and thus the unique number is completed (see FIG. 5-7). ). Then, the unique number creation unit 23 stores the generated unique number in the unique number DB 27 (step S49). The necessary number of unique numbers can be generated by repeating the above processing. The unique number stored in the unique number DB 27 can be used as an application number for the campaign.
[0059]
【The invention's effect】
As described above, according to the present invention, a purchaser of a product can apply for a campaign through the Internet. In addition, the campaign organizer can create a unique number without regularity and use it as an application number in a campaign or the like. As a result, it is possible to prevent the user from making an illegal application by analyzing the regularity of the application number, and to appropriately carry out the campaign.
[Brief description of the drawings]
FIG. 1 is a diagram showing a schematic configuration of an application processing system according to the present invention.
FIG. 2 is a functional block diagram of the integrated management server shown in FIG.
FIG. 3A is a content example of a random number table.
(B) It is an example of the content of a unique code conversion table.
FIG. 4 is a flowchart of a unique number generation process according to the present invention.
FIG. 5 shows a specific example of generating a unique number according to the present invention.
[Explanation of symbols]
1 Internet
2 Personal computer
3 Portable terminal
4 Mobile phones
8 reception server
9 Print server
10 Integrated management server

Claims (10)

乱数を生成する乱数生成手段と、
前記乱数を、X桁(Xは所定の整数)のN進数(Nは所定の整数)のランダムナンバーに変換する変換手段と、
前記ランダムナンバーのうち、同一の文字又は数字が3回以上連続する部分を含むランダムナンバーを不適当なランダムナンバーとして除外する除外手段と、
予め用意され、前記ランダムナンバーを各桁毎に変換するテーブルであるユニークコード変換テーブルを記憶する記憶手段と、
前記除外手段により除外されなかった前記ランダムナンバーを、前記ユニークコード変換テーブルを参照して各桁毎にユニークナンバーに変換するユニークナンバー生成手段と、を備えることを特徴とするユニークナンバー生成装置。
Random number generating means for generating a random number;
Conversion means for converting the random number into a random number of N digits (N is a predetermined integer) of X digits (X is a predetermined integer);
Excluding means for excluding a random number including a portion in which the same letter or number continues three or more times from among the random number as an inappropriate random number;
Storage means for storing a unique code conversion table prepared in advance and converting the random number for each digit;
A unique number generation device comprising: a unique number generation unit that converts the random number that has not been excluded by the exclusion unit into a unique number for each digit with reference to the unique code conversion table.
前記除外手段は、同一の文字又は数字の組合せが複数回連続する部分を含むランダムナンバーを前記不適当なランダムナンバーとして除外することを特徴とする請求項1に記載のユニークナンバー生成装置。2. The unique number generating apparatus according to claim 1, wherein the excluding unit excludes a random number including a portion in which a combination of the same letter or number is repeated a plurality of times as the inappropriate random number. 前記ランダムナンバーのうち、連続する複数のランダムナンバーの各々を、不連続なランダムナンバーに変換する不連続化手段をさらに備え、Discontinuity means for converting each of a plurality of consecutive random numbers out of the random numbers into discontinuous random numbers,
前記不連続化手段は、前記連続する複数のランダムナンバーの各々について、チェックデジットを算出して所定の桁に挿入することを特徴とする請求項1又は2に記載のユニークナンバー生成装置。  The unique number generating apparatus according to claim 1, wherein the discontinuity unit calculates a check digit for each of the plurality of continuous random numbers and inserts the check digit into a predetermined digit.
前記ユニークコード変換テーブルは、前記N進数の各数値と、所定の文字又は数字との対応を規定していることを特徴とする請求項1乃至3のいずれか一項に記載のユニークナンバー生成装置。4. The unique number generation device according to claim 1, wherein the unique code conversion table defines a correspondence between each numerical value of the N-ary number and a predetermined character or number. 5. . 前記ユニークコード変換テーブルは、形状が類似している文字及び数字の所定の組合せに属する文字又は数字を含まないことを特徴とする請求項1乃至4のいずれか一項に記載のユニークナンバー生成装置。  5. The unique number generation device according to claim 1, wherein the unique code conversion table does not include characters or numbers belonging to a predetermined combination of characters and numbers having similar shapes. . 前記変換手段は、前記乱数を前記N進数に変換して得られた数がX桁を超える場合には、X桁を超える桁数分だけ前記ランダムナンバーを構成する文字又は数字を除去することを特徴とする請求項1乃至5のいずれか一項に記載のユニークナンバー生成装置。When the number obtained by converting the random number into the N-ary number exceeds X digits, the conversion means removes characters or numbers constituting the random number by the number of digits exceeding the X digit. The unique number generating device according to claim 1, wherein the unique number generating device is a unique number generating device. 請求項1乃至6のいずれか一項に記載のユニークナンバー生成装置と、The unique number generation device according to any one of claims 1 to 6,
前記ユニークナンバー生成装置により生成した複数のユニークナンバーを、応募ナンバーとして記憶する応募ナンバー記憶装置と、  An application number storage device that stores a plurality of unique numbers generated by the unique number generation device as application numbers;
前記ユニークナンバー生成装置により生成した複数のユニークナンバーを、応募ナンバーとして個別の商品に割り当てる手段と、  Means for assigning a plurality of unique numbers generated by the unique number generating device to individual products as application numbers;
前記商品の購入者が入力した前記応募ナンバーを、前記応募ナンバー記憶装置に記憶された応募ナンバーと照合し、一致した応募ナンバーのみを受け付ける応募受付手段と、を備えることを特徴とする応募処理システム。  An application processing system comprising: an application receiving unit that compares the application number input by a purchaser of the product with an application number stored in the application number storage device and receives only the application number that matches. .
前記個別の商品に割り当てられた前記応募ナンバーを、前記商品に付すべき付属物又は前記商品の包装物に印刷する印刷装置をさらに備えることを特徴とする請求項7に記載の応募処理システム。The application processing system according to claim 7, further comprising a printing device that prints the application number assigned to the individual product on an accessory to be attached to the product or a package of the product. コンピュータ上で実行されることにより、By running on the computer,
乱数を生成する乱数生成手段、  Random number generating means for generating a random number;
前記乱数を、X桁(Xは所定の整数)のN進数(Nは所定の整数)のランダムナンバーに変換する変換手段、  Conversion means for converting the random number into a random number of N digits (N is a predetermined integer) of X digits (X is a predetermined integer);
前記ランダムナンバーのうち、同一の文字又は数字が3回以上連続する部分を含むランダムナンバーを不適当なランダムナンバーとして除外する除外手段、  Excluding means for excluding a random number including a portion in which the same letter or number continues three or more times from among the random number as an inappropriate random number,
予め用意され、前記ランダムナンバーを各桁毎に変換するテーブルであるユニークコード変換テーブルを記憶する記憶手段、  Storage means for storing a unique code conversion table which is prepared in advance and is a table for converting the random number for each digit;
前記除外手段により除外されなかった前記ランダムナンバーを、前記ユニークコード変  The random number that has not been excluded by the exclusion means is converted into the unique code change. 換テーブルを参照して各桁毎にユニークナンバーに変換するユニークナンバー生成手段、として前記コンピュータを機能させることを特徴とするユニークナンバー生成プログラム。A unique number generation program for causing the computer to function as unique number generation means for converting each table into a unique number with reference to a conversion table.
コンピュータ上で実行されることにより、By running on the computer,
乱数を生成する乱数生成手段、  Random number generating means for generating a random number;
前記乱数を、X桁(Xは所定の整数)のN進数(Nは所定の整数)のランダムナンバーに変換する変換手段、  Conversion means for converting the random number into a random number of N digits (N is a predetermined integer) of X digits (X is a predetermined integer);
前記ランダムナンバーのうち、同一の文字又は数字が3回以上連続する部分を含むランダムナンバーを不適当なランダムナンバーとして除外する除外手段、  Excluding means for excluding a random number including a portion in which the same letter or number continues three or more times from among the random number as an inappropriate random number,
予め用意され、前記ランダムナンバーを各桁毎に変換するテーブルであるユニークコード変換テーブルを記憶する記憶手段、  Storage means for storing a unique code conversion table which is prepared in advance and is a table for converting the random number for each digit;
前記除外手段により除外されなかった前記ランダムナンバーを、前記ユニークコード変換テーブルを参照して各桁毎にユニークナンバーに変換するユニークナンバー生成手段、として前記コンピュータを機能させるプログラムを記憶することを特徴とする記憶媒体。  A program for causing the computer to function as a unique number generating unit that converts the random number that has not been excluded by the excluding unit into a unique number for each digit with reference to the unique code conversion table is stored. Storage medium.
JP2002346127A 2002-11-28 2002-11-28 Unique number generation device, generation method, generation program and recording medium thereof, and application processing system Expired - Fee Related JP4177650B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002346127A JP4177650B2 (en) 2002-11-28 2002-11-28 Unique number generation device, generation method, generation program and recording medium thereof, and application processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002346127A JP4177650B2 (en) 2002-11-28 2002-11-28 Unique number generation device, generation method, generation program and recording medium thereof, and application processing system

Publications (2)

Publication Number Publication Date
JP2004178430A JP2004178430A (en) 2004-06-24
JP4177650B2 true JP4177650B2 (en) 2008-11-05

Family

ID=32707128

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002346127A Expired - Fee Related JP4177650B2 (en) 2002-11-28 2002-11-28 Unique number generation device, generation method, generation program and recording medium thereof, and application processing system

Country Status (1)

Country Link
JP (1) JP4177650B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5132367B2 (en) * 2008-03-07 2013-01-30 株式会社タイトー Unauthorized input prevention system and server device using the system
JP5509924B2 (en) * 2010-02-25 2014-06-04 Jfeスチール株式会社 Control number issuing method
JP6735062B2 (en) * 2014-12-12 2020-08-05 Kddi株式会社 Random number sequence generation device, method and program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3887888B2 (en) * 1997-06-30 2007-02-28 翼システム株式会社 Winning product selection device and computer-readable recording medium recording winning product selection program
JP2001283102A (en) * 2000-03-30 2001-10-12 Nippon Tmi Co Ltd Merchandise cooperation type internet application method
JP3363878B2 (en) * 2000-08-10 2003-01-08 株式会社アップス Premium / non-prize determining system, information processing apparatus and premium / non-prize determining method
JP2002230389A (en) * 2000-11-28 2002-08-16 Dainippon Printing Co Ltd Application processing system

Also Published As

Publication number Publication date
JP2004178430A (en) 2004-06-24

Similar Documents

Publication Publication Date Title
US8208627B2 (en) Format-preserving cryptographic systems
EP1688860B1 (en) Method for obfuscating data structures by deterministic natural data substitution
US20010051928A1 (en) Protection of software by personalization, and an arrangement, method, and system therefor
US20040044896A1 (en) Universal password generation method
CN100576227C (en) A software encryption registration anti-piracy method
US20050166191A1 (en) System and method for obscuring bit-wise and two's complement integer computations in software
GB2484382A (en) Generating a test database for testing applications by applying format-preserving encryption to a production database
EP0998800A1 (en) Document or message security arrangements using a numerical hash function
US20040062389A1 (en) Method and device for protecting documents or for verifying authenticity of a document using an encrypted information produced by said method, and documents protected by said encrypted information
US20100250953A1 (en) System And Method For Generating A Signature
EP1162778B1 (en) System and method for arranging digital certificates on a hardware token
JP4177650B2 (en) Unique number generation device, generation method, generation program and recording medium thereof, and application processing system
CN114444115B (en) Data desensitization method, terminal equipment and storage medium
US20080215886A1 (en) Function license authentication method and function license authentication system
JP4602675B2 (en) CONFIDENTIAL INFORMATION MANAGEMENT SYSTEM, CONFIDENTIAL INFORMATION MANAGEMENT METHOD, CONFIDENTIAL INFORMATION MANAGEMENT PROGRAM, AND CONFIDENTIAL INFORMATION MANAGEMENT SYSTEM TERMINAL PROGRAM
JP2002099511A (en) Private information leakage preventive system in business processing system
US20180300473A1 (en) Making Unique Passwords from the Same String of Characters, Including Any String of Characters in a Web Address
JP2937913B2 (en) Password processing system for information processing equipment
CN115270189B (en) Data reading method, device, equipment and storage medium based on identity authority
CN100489837C (en) method and system for data encryption
JP2006072783A (en) Data entry system and data entry method
CN112328976A (en) Universal method for performing authorization protection on software
US9698990B1 (en) Making unique passwords from the same string of characters, including any string of characters in a web address
JP2009134436A (en) Digital signature device and digital signature program
Schroeder Pad and Chaff: secure approximate string matching in private record linkage

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051118

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080527

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080725

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: 20080819

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080822

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110829

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110829

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120829

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120829

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130829

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees