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
JP5545155B2 - Server apparatus and content information providing program - Google Patents
[go: Go Back, main page]

JP5545155B2 - Server apparatus and content information providing program - Google Patents

Server apparatus and content information providing program Download PDF

Info

Publication number
JP5545155B2
JP5545155B2 JP2010222884A JP2010222884A JP5545155B2 JP 5545155 B2 JP5545155 B2 JP 5545155B2 JP 2010222884 A JP2010222884 A JP 2010222884A JP 2010222884 A JP2010222884 A JP 2010222884A JP 5545155 B2 JP5545155 B2 JP 5545155B2
Authority
JP
Japan
Prior art keywords
coupon
portable terminal
terminal device
information
real space
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
JP2010222884A
Other languages
Japanese (ja)
Other versions
JP2012079036A (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 JP2010222884A priority Critical patent/JP5545155B2/en
Publication of JP2012079036A publication Critical patent/JP2012079036A/en
Application granted granted Critical
Publication of JP5545155B2 publication Critical patent/JP5545155B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Navigation (AREA)
  • Processing Or Creating Images (AREA)
  • Traffic Control Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

本発明は、割引券等として利用可能なクーポンを携帯用端末装置に取得及び表示させることが可能なサーバ装置及びコンテンツ情報提供プログラムに関する。   The present invention relates to a server device and a content information providing program capable of acquiring and displaying a coupon that can be used as a discount ticket on a portable terminal device.

従来、一定の条件下で割引券や優待券として利用可能なクーポンは、紙に印刷されて歩道脇に設置したラックによってまたは手渡しによって利用者に提供される。   Conventionally, coupons that can be used as discount coupons or preferential coupons under certain conditions are provided to users by racks printed on paper and installed beside the sidewalk or by handing.

紙に印刷されたクーポンを配布する方法では、用紙代や印刷代に加えて、ラックを準備する費用、配布する係員を準備する費用などの種々の費用が必要となり、これらの費用を低減することが難しい。特に、各所に点在している全ての利用者にクーポンを配布しようとすると、多くのラックや係員を各所に配置しなければならず、費用は増大することとなる。また、実際に準備したクーポン数量に比較して、実際に利用者が店舗等において使用するクーポンの割合は少ないことも多く、クーポンの利用率を高くすることは難しい。   In the method of distributing coupons printed on paper, in addition to the paper fee and printing fee, various costs such as the cost of preparing the rack and the cost of preparing the staff to distribute are required, and these costs must be reduced. Is difficult. In particular, if a coupon is to be distributed to all users scattered in various places, a lot of racks and staff must be arranged in each place, which increases costs. Moreover, compared with the actually prepared coupon quantity, the ratio of the coupon which a user actually uses in a store etc. is often small, and it is difficult to raise the utilization rate of a coupon.

最近では、インターネットなどのネットワークによって提供されるWebサイトを利用して店舗のクーポンを利用者に提供することも行われている。しかしながら、この方法であっては、実際に利用者がWebサイトを閲覧しない限り、クーポンを提供することができない。   Recently, a coupon for a store is provided to a user using a website provided by a network such as the Internet. However, with this method, a coupon cannot be provided unless the user actually browses the website.

また、携帯用電話機のキャリア、無線LAN若しくはBluetooth(登録商標)等の無線通信機能を備える携帯用電話機、または、ブックリーダ、ゲーム機若しくはPDA等の携帯用端末装置の表示画面上にクーポンを表示させて、利用者にクーポンの利用を促すクーポンの提供方法も知られている。   In addition, coupons are displayed on the display screen of a mobile phone carrier, a mobile phone having a wireless communication function such as a wireless LAN or Bluetooth (registered trademark), or a mobile terminal device such as a book reader, game machine or PDA. In addition, a coupon providing method that prompts the user to use the coupon is also known.

例えば、所定の地域及び時刻に、携帯用電話機によって街を撮像すると、当該モニタ画面にキャラクタの画像が表示され、当該携帯用電話機を用いて表示されたキャラクタに対して所定の処理を実行すると、キャラクタを捕獲することが可能な「iButterfly」(登録商標)と称するアプリケーションプログラムが提供されている。このアプリケーションプログラムでは、場所及び時刻毎に異なる種類のキャラクタが撮像された画像内に現れるように構成されており、キャラクタに付属させることによって興趣性を維持しつつ、クーポンを利用者に収集させることができるようになっている。   For example, when a city is imaged by a mobile phone in a predetermined area and time, an image of the character is displayed on the monitor screen, and when a predetermined process is performed on the character displayed using the mobile phone, An application program called “iButterfly” (registered trademark) capable of capturing a character is provided. This application program is configured so that different types of characters appear in the captured image for each place and time, and it allows users to collect coupons while maintaining interest by attaching them to the characters. Can be done.

また、例えば、複数店舗から提供される映像データ等の店舗情報が記録されているデータベースと、クーポンコンテンツ情報が記録されているデータベースと、利用者側の通信端末装置と通信を行う通信手段とを備え、クーポンを配信するクーポン配信システムが知られている(例えば、特許文献1)。このクーポン配信システムにおいては、通信端末装置から通信手段にアクセスすると、当該通信手段は、予め店舗情報データベースに蓄積された映像データ等と店舗案内インデックスを通信端末装置へ配信して店舗広告を閲覧可能に提供するとともに、通信端末装置からクーポン配信依頼を受信すると、通信端末装置の現在位置を取得して、順次最寄り店舗の店舗情報を送信しつつ、クーポンを通信端末装置へ配信するようになっている。   Further, for example, a database in which store information such as video data provided from a plurality of stores is recorded, a database in which coupon content information is recorded, and a communication means for communicating with a communication terminal device on the user side A coupon distribution system for providing and distributing coupons is known (for example, Patent Document 1). In this coupon distribution system, when the communication means is accessed from the communication terminal device, the communication means can distribute the video data and the store guide index stored in advance in the store information database to the communication terminal device to view the store advertisement. When receiving a coupon distribution request from the communication terminal device, the current position of the communication terminal device is acquired and the coupon information is distributed to the communication terminal device while sequentially transmitting store information of the nearest store. Yes.

特開2006−146952号公報JP 2006-146952 A

しかしながら、特許文献1に記載されているクーポン配信システムであっては、利用者のニーズに無関係に、利用者が存在する場所に最も近い店舗から順に店舗情報が提供されてクーポンが配信されるので、提供された店舗情報から所望する店舗を見つけ出さなければならないという煩雑な作業を要求し、クーポンを取得するという興味を維持させることが難しい。   However, in the coupon distribution system described in Patent Document 1, since the store information is provided in order from the store closest to the place where the user exists, the coupon is distributed regardless of the needs of the user. It is difficult to maintain the interest of obtaining a coupon by requesting a complicated operation of finding a desired store from the provided store information.

本発明は、上記課題を解決するためになされたものであり、その目的は、利用者にクーポンの取得に趣向性を提供するとともに、店舗に来訪する利用者に的確にクーポンを提供すること及びその利用を促すことによってクーポンの利用率を高めて宣伝効果を向上させることが可能なサーバ装置及びコンテンツ情報提供プログラムを提供することにある。   The present invention has been made to solve the above-mentioned problems, and its purpose is to provide a user with a preference for acquiring a coupon, and to provide a coupon accurately to a user who visits a store; and An object of the present invention is to provide a server device and a content information providing program capable of improving the advertising effect by encouraging the use of the coupon and improving the advertising effect.

(1)上記課題を解決するため、本発明のサーバ装置は、現実空間の撮像する機能を有する携帯用端末装置に、実在する店舗におけるクーポンの内容を示すコンテンツ情報を提供するサーバ装置であって、前記携帯用端末装置によって撮像された現実空間の画像に重畳表示可能な画像形成物であって、前記コンテンツ情報に対応付けられて、かつ、当該現実空間における位置に対応付けられた画像形成物を当該携帯用端末装置に提供する画像形成物提供手段と、前記画像形成物が現実空間を仮想的に移動するように、当該画像形成物に対応付けられた現実空間における位置を現実空間の状況に従って刻々と変化させる位置制御手段と、前記携帯用端末装置によって前記重畳表示された画像形成物が指定された場合には、前記画像形成物を用いて前記携帯用端末装置の現在位置の近傍から前記店舗の位置まで前記携帯用端末装置のユーザを誘導する経路誘導手段と、前記携帯用端末装置を有するユーザを前記店舗まで誘導している誘導中に、所定のタイミングでコンテンツ情報の取得を許可し、前記携帯用端末装置の指示に基づいてコンテンツ情報を当該携帯用端末装置に提供するコンテンツ情報提供手段と、を備え、前記位置制御手段が、前記経路誘導中に、前記携帯用端末装置の現在位置の近傍から前記店舗の位置までの誘導ルートに沿って、前記携帯用端末装置に表示させつつ、前記画像形成物の現実空間における位置を変化させる構成を有している。   (1) In order to solve the above-described problem, the server device of the present invention is a server device that provides content information indicating the content of a coupon in an actual store to a portable terminal device having a function of imaging a real space. An image formation that can be superimposed and displayed on an image in a real space imaged by the portable terminal device, and is associated with the content information and is associated with a position in the real space Image forming material providing means for providing the portable terminal device and the position in the real space associated with the image forming material so that the image forming material virtually moves in the real space. If the position control means that changes every moment according to the above and the superimposed image formation is specified by the portable terminal device, the image formation is used. Route guidance means for guiding the user of the portable terminal device from the vicinity of the current position of the portable terminal device to the location of the store, and during guidance guiding the user having the portable terminal device to the store Content information providing means for permitting acquisition of content information at a predetermined timing and providing the content information to the portable terminal device based on an instruction from the portable terminal device, the position control means comprising: During route guidance, the position of the image formation in the real space is changed while being displayed on the portable terminal device along the guidance route from the vicinity of the current position of the portable terminal device to the position of the store. It has a configuration.

この構成により、本発明のサーバ装置は、現実空間において刻々と拡散移動するように画像形成物を携帯用端末装置に現実画像とともに表示させることが可能であって、当該画像形成物を用いて店舗までの経路誘導を実行しつつ、経路誘導中に店舗のクーポンをコンテンツ情報として携帯用端末装置に取得させることができる。したがって、本発明のサーバ装置は、クーポンを取得するための起因として用いられる画像形成物を利用者に探索させることによって、利用者にクーポンの取得における趣向性を持たせることができるとともに、当該画像形成物の現実空間内における移動に従って店舗に携帯用端末装置を用いて利用者を誘導すること、及び、店舗に来訪する利用者にクーポンを的確に取得させることを両立させることができる。この結果、本発明のサーバ装置は、利用者に対するクーポンの取得に対する興趣を維持させつつ、当該その利用を促進させることができるので、クーポンの利用率を高めて宣伝効果を向上させることができる。   With this configuration, the server device of the present invention can display an image formation together with a real image on a portable terminal device so as to be diffused and moved in real space, and stores the image formation using the image formation. While carrying out the route guidance up to this point, it is possible to cause the portable terminal device to acquire the store coupon as content information during route guidance. Therefore, the server device of the present invention allows the user to search for an image formation used as a cause for acquiring the coupon, thereby allowing the user to have a preference in acquiring the coupon and the image. It is possible to achieve both the guidance of the user using the portable terminal device to the store according to the movement of the formation in the real space and the acquisition of the coupon by the user visiting the store. As a result, the server device of the present invention can promote the use of the coupon while maintaining the interest in acquiring the coupon for the user, and thus can increase the coupon usage rate and improve the advertising effect.

(2)また、本発明のサーバ装置は、前記コンテンツ情報提供手段が、前記経路誘導中に前記画像形成物の現実空間における位置が前記店舗から所定の範囲内に到達した場合に、前記コンテンツ情報の取得を許可して前記携帯用端末装置に基づいて前記コンテンツ情報を提供する構成を有している。   (2) In the server device according to the present invention, the content information providing unit may include the content information when the position in the real space of the image formation reaches a predetermined range from the store during the route guidance. And acquiring the content information based on the portable terminal device.

この構成により、本発明のサーバ装置は、例えば、店舗周辺にてクーポンをコンテンツ情報として携帯用端末装置に取得させることができるので、店舗に来訪する利用者に確実にクーポンを提供することができる。したがって、本発明のサーバ装置は、クーポンの利用を促進させることができるので、クーポンの利用率を高めて宣伝効果を向上させることができる。   With this configuration, for example, the server device of the present invention can cause a portable terminal device to acquire a coupon as content information in the vicinity of a store, and therefore can reliably provide a coupon to a user visiting the store. . Therefore, since the server apparatus of this invention can promote utilization of a coupon, it can raise the utilization factor of a coupon and can improve an advertising effect.

(3)また、本発明のサーバ装置は、前記位置制御手段が、前記経路誘導中に前記画像形成物の現実空間における位置を変化させる変化速度を誘導開始時に比べて遅延させる制御を実行し、前記コンテンツ情報提供手段が、前記経路誘導中に前記携帯用端末装置の現在位置を取得するとともに、前記画像形成物の位置が前記携帯用端末装置の位置から所定の範囲に属した場合に、前記コンテンツ情報の取得を許可して前記携帯用端末装置に基づいて前記コンテンツ情報を提供する構成を有している。   (3) Further, in the server device of the present invention, the position control unit executes control to delay a change speed for changing the position of the image formation in the real space during the route guidance as compared to the start of guidance, When the content information providing means acquires the current position of the portable terminal device during the route guidance and the position of the image formation belongs to a predetermined range from the position of the portable terminal device, The content information acquisition is permitted and the content information is provided based on the portable terminal device.

この構成により、本発明のサーバ装置は、クーポンの取得を希望した利用者に画像形成物を追尾させつつ、例えば、店舗周辺にてクーポンをコンテンツ情報として携帯用端末装置に取得させることができるので、利用者に店舗までの誘導においても趣向性を提供することができるとともに、容易に利用者を店舗周辺まで誘導することができる。したがって、本発明のサーバ装置は、クーポンの宣伝効果を十分に発揮させることができる。
With this configuration, the server device of the present invention can cause a portable terminal device to acquire a coupon as content information, for example, in the vicinity of a store while allowing a user who wishes to acquire a coupon to track an image formation. In addition, it is possible to provide the user with preference even when guiding the user to the store, and to easily guide the user to the vicinity of the store. Therefore, the server apparatus of this invention can fully exhibit the advertising effect of a coupon.

(4)また、本発明のサーバ装置は、前記位置制御手段が、前記クーポンを提供する店舗から放射状に現実空間を仮想的に移動するように、当該画像形成物に対応付けられた現実空間における位置を刻々と変化させる構成を有している。   (4) In the server device of the present invention, the position control means in the real space associated with the image formation so that the real space is virtually moved radially from the store providing the coupon. It has a configuration that changes its position every moment.

この構成により、本発明のサーバ装置は、クーポンを取得するための起因として用いられる画像形成物を現実空間において的確に拡散させることができるので、多くの利用者にクーポンを提供することができるとともに、画像形成物の表示タイミングが異なれば現実空間における同一位置には存在せずに、クーポンを取得するための起因として用いられる画像形成物を利用者に探索させることによって、利用者にクーポンの取得における趣向性を提供することができる。   With this configuration, the server device of the present invention can accurately diffuse the image formation used as a cause for acquiring the coupon in the real space, and thus can provide the coupon to many users. If the display timing of the image formation is different, the user does not exist at the same position in the real space, but allows the user to acquire the coupon by causing the user to search for the image formation used as a cause for acquiring the coupon. Can provide the taste.

(5)また、本発明のサーバ装置は、前記位置制御手段が、同一の前記画像形成物が所定の距離を保って前記現実空間を仮想的に移動するように、当該画像形成物に対応付けられた現実空間における位置を刻々と変化させる構成を有している。   (5) In the server device of the present invention, the position control unit associates the same image formed object with the image formed object so that the same image formed object moves virtually in the real space while maintaining a predetermined distance. It has a configuration that changes the position in the specified real space every moment.

この構成により、本発明のサーバ装置は、クーポンを取得するための起因として用いられる画像形成物を現実空間において的確に拡散させることができるので、多くの利用者にクーポンを提供することができるとともに、画像形成物の表示タイミングが異なれば現実空間における同一位置には存在せずに、クーポンを取得するための起因として用いられる画像形成物を利用者に探索させることによって、利用者にクーポンの取得における趣向性を提供することができる。   With this configuration, the server device of the present invention can accurately diffuse the image formation used as a cause for acquiring the coupon in the real space, and thus can provide the coupon to many users. If the display timing of the image formation is different, the user does not exist at the same position in the real space, but allows the user to acquire the coupon by causing the user to search for the image formation used as a cause for acquiring the coupon. Can provide the taste.

(6)また、本発明のサーバ装置は、前記位置制御手段が、前記クーポンを提供する店舗から所定の範囲内の現実空間を仮想的に移動するように、当該画像形成物に対応付けられた現実空間における位置を刻々と変化させる構成を有している。   (6) Further, the server device of the present invention is associated with the image formation so that the position control unit virtually moves in a real space within a predetermined range from the store that provides the coupon. It has a configuration that changes the position in the real space every moment.

この構成により、本発明のサーバ装置は、クーポンを取得するための起因として用いられる画像形成物を現実空間において店舗周辺に的確に拡散させることができるので、多くの利用者にクーポンを提供することができるとともに、画像形成物の表示タイミングが異なれば現実空間における同一位置には存在せずに、クーポンを取得するための起因として用いられる画像形成物を利用者に探索させることによって、利用者にクーポンの取得における趣向性を提供することができる。   With this configuration, the server device of the present invention can accurately diffuse the image formation used as a cause for acquiring the coupon around the store in the real space, and therefore provides the coupon to many users. In addition, if the display timing of the image formation is different, the user does not exist at the same position in the real space, but allows the user to search for the image formation that is used as a cause for acquiring the coupon. It is possible to provide a preference in acquiring a coupon.

(7)また、本発明のサーバ装置は、前記位置制御手段が、前記現実空間における前記ユーザが進入不能な領域には前記画像形成物が移動不能として当該画像形成物に対応付けられた現実空間における位置を刻々と変化させる構成を有している。   (7) Further, in the server device according to the present invention, the position control unit is configured so that the image formation is incapable of moving in an area where the user cannot enter in the real space and is associated with the image formation. It has the structure which changes the position in every moment.

この構成により、本発明のサーバ装置は、クーポンを取得するための起因として用いられる画像形成物を現実空間において店舗周辺に的確に拡散させることができる。   With this configuration, the server device of the present invention can accurately diffuse an image formation used as a cause for acquiring a coupon around a store in a real space.

(8)また、本発明のサーバ装置は、前記誘導手段が、一の前記携帯用端末装置によって前記経路誘導に用いられている画像形成物については他の前記携帯用端末装置によっては誘導禁止に設定する構成を有している。   (8) Further, in the server device according to the present invention, the guidance unit prohibits guidance for an image formation used for route guidance by the one portable terminal device depending on the other portable terminal device. It has a configuration to set.

この構成により、本発明のサーバ装置は、経路誘導中にクーポンを取得することが不可能になるため、1つのクーポンを1人の利用者にのみ取得させるようにすることができる。   This configuration makes it impossible for the server device of the present invention to acquire a coupon during route guidance, so that only one user can acquire one coupon.

(8)また、本発明のコンテンツ情報提供プログラムは、コンピュータによって、現実空間の撮像する機能を有する携帯用端末装置に、実在する店舗におけるクーポンの内容を示すコンテンツ情報を提供するコンテンツ情報提供プログラムであって、前記コンピュータを、前記携帯用端末装置によって撮像された現実空間の画像に重畳表示可能な画像形成物であって、前記コンテンツ情報に対応付けられて、かつ、当該現実空間における位置に対応付けられた画像形成物を当該携帯用端末装置に提供する画像形成物提供手段、前記画像形成物が現実空間を仮想的に移動するように、当該画像形成物に対応付けられた現実空間における位置を現実空間の状況に従って刻々と変化させる位置制御手段、前記携帯用端末装置によって前記重畳表示された画像形成物が指定された場合には、前記画像形成物を用いて前記携帯用端末装置の現在位置の近傍から前記店舗の位置まで前記携帯用端末装置のユーザを誘導する誘導手段、前記携帯用端末装置を有するユーザを前記店舗まで誘導している誘導中に、所定のタイミングでコンテンツ情報の取得を許可し、前記携帯用端末装置の指示に基づいてコンテンツ情報を当該携帯用端末装置に提供するコンテンツ情報提供手段、として機能させるとともに、前記コンピュータを、前記経路誘導中に、前記携帯用端末装置の現在位置の近傍から前記店舗の位置までの誘導ルートに沿って、前記携帯用端末装置に表示させつつ、前記画像形成物の現実空間における位置を変化させる前記位置制御手段として機能させる構成を有している。   (8) The content information providing program of the present invention is a content information providing program for providing content information indicating the contents of a coupon in an actual store to a portable terminal device having a function of imaging a real space by a computer. The computer is an image formation that can be superimposed and displayed on an image of a real space imaged by the portable terminal device, is associated with the content information, and corresponds to a position in the real space An image formation providing means for providing the attached image formation to the portable terminal device; a position in the real space associated with the image formation so that the image formation virtually moves in the real space Position control means for changing the position in accordance with the situation of the real space, the superimposed display by the portable terminal device. A guiding means for guiding a user of the portable terminal device from the vicinity of the current position of the portable terminal device to the position of the store using the image formed material when the image formed material is designated; During the guidance of guiding a user having a terminal device to the store, the acquisition of content information is permitted at a predetermined timing, and the content information is provided to the portable terminal device based on an instruction from the portable terminal device Content information providing means, and the computer is connected to the portable terminal device along the guidance route from the vicinity of the current position of the portable terminal device to the location of the store during the route guidance. While being displayed, the image forming object is configured to function as the position control unit that changes the position of the image formation in the real space.

この構成により、本発明のコンテンツ情報提供プログラムは、利用者に対するクーポンの取得に対する興趣を維持させつつ、当該その利用を促進させることができるので、クーポンの利用率を高めて宣伝効果を向上させることができる。   With this configuration, the content information providing program of the present invention can promote the use of the coupon while maintaining the interest in acquiring the coupon for the user, so that the usage rate of the coupon is increased and the advertising effect is improved. Can do.

本発明のサーバ装置及びコンテンツ情報提供プログラムは、発明のサーバ装置は、利用者に対するクーポンの取得に対する興趣を維持させつつ、当該その利用を促進させることができるので、クーポンの利用率を高めて宣伝効果を向上させることができる。   Since the server apparatus of the present invention and the content information providing program can promote the use of the server apparatus of the invention while maintaining the interest in acquiring coupons for the user, the coupon usage rate is increased and promoted. The effect can be improved.

本発明に係るクーポン提供システムの一実施形態におけるシステム構成図である。It is a system configuration figure in one embodiment of a coupon offer system concerning the present invention. 一実施形態における携帯用端末装置の構成を示すブロック図である。It is a block diagram which shows the structure of the portable terminal device in one Embodiment. 一実施形態において、携帯用端末装置に記録される端末クーポン情報の形成例を示す図表である。In one embodiment, it is a chart showing an example of formation of terminal coupon information recorded on a portable terminal device. 一実施形態におけるサーバ装置の構成を示すブロック図である。It is a block diagram which shows the structure of the server apparatus in one Embodiment. 一実施形態におけるクーポン本体情報の形成例を説明する図表である。It is a chart explaining the example of formation of coupon main part information in one embodiment. 一実施形態における未取得クーポン拡散情報の形成例を説明する図表である。It is a chart explaining the example of formation of unacquired coupon diffusion information in one embodiment. 一実施形態におけるクーポン進入禁止区域情報の形成例を示す図である。It is a figure which shows the example of formation of the coupon approach prohibition area information in one Embodiment. 一実施形態における端末情報の形成例を示す図表である。It is a chart which shows the example of formation of terminal information in one embodiment. 利用者が存在する地域を表した地図上に、キャラクタを表示した表示例を示す図である。It is a figure which shows the example of a display which displayed the character on the map showing the area where a user exists. 撮像手段で撮像した撮像画像とキャラクタの画像情報とを重畳表示した表示例を示す図である。It is a figure which shows the example of a display which superimposed and displayed the captured image imaged with the imaging means, and the image information of a character. 一実施形態において、放射ランダム拡散処理(m=1)の第1の拡散処理であって、放射状拡散状態を説明するための図である。In one Embodiment, it is a 1st spreading | diffusion process of a radiation | emission random spreading | diffusion process (m = 1), Comprising: It is a figure for demonstrating a radial diffusion state. 一実施形態において、放射ランダム拡散処理(m=1)の第2の拡散処理であって、ランダム拡散状態を説明するための図である。In one embodiment, it is a 2nd spreading | diffusion process of a radiation | emission random spreading | diffusion process (m = 1), Comprising: It is a figure for demonstrating a random spreading | diffusion state. 一実施形態において、排他拡散処理(m=2)において他のキャラクタと関連して現実空間の移動制御を行う排他移動を説明するための図(その1)である。FIG. 10 is a diagram (No. 1) for explaining exclusive movement for performing movement control of the real space in association with other characters in the exclusive diffusion process (m = 2) in the embodiment. 一実施形態において、排他拡散処理(m=2)において他のキャラクタと関連して現実空間の移動制御を行う排他移動を説明するための図(その2)である。FIG. 10 is a diagram (No. 2) for explaining exclusive movement for performing movement control of the real space in association with other characters in the exclusive diffusion process (m = 2) in the embodiment. 一実施形態において、店舗位置Psと各配布区域iとの関係を示す図である。In one Embodiment, it is a figure which shows the relationship between the shop position Ps and each distribution area i. 一実施形態において、全ての配布区域においてクーポン許容数に到達している場合の拡散処理を説明するための図である。In one Embodiment, it is a figure for demonstrating the spreading | diffusion process when the coupon allowable number is reached in all the distribution areas. 一実施形態におけるサーバ装置の情報処理手段が実行する拡散処理を説明するフローチャートである。It is a flowchart explaining the spreading | diffusion process which the information processing means of the server apparatus in one Embodiment performs. 一実施形態におけるサーバ装置の情報処理手段が実行する放射ランダム拡散処理(m=1)について説明するフローチャート(その1)である。It is a flowchart (the 1) explaining the radiation | emission random spreading | diffusion process (m = 1) which the information processing means of the server apparatus in one Embodiment performs. 一実施形態におけるサーバ装置の情報処理手段が実行する放射ランダム拡散処理(m=1)について説明するフローチャート(その2)である。It is a flowchart (the 2) explaining the radiation | emission random spreading | diffusion process (m = 1) which the information processing means of the server apparatus in one Embodiment performs. 一実施形態におけるサーバ装置の情報処理手段が実行する排他拡散処理(m=2)について説明するフローチャート(その1)である。It is a flowchart (the 1) explaining the exclusive diffusion process (m = 2) which the information processing means of the server apparatus in one Embodiment performs. 一実施形態におけるサーバ装置の情報処理手段が実行する排他拡散処理(m=2)について説明するフローチャート(その2)である。It is a flowchart (the 2) explaining the exclusive diffusion process (m = 2) which the information processing means of the server apparatus in one Embodiment performs. 一実施形態におけるサーバ装置の情報処理手段が実行する基点重点拡散処理(m=3)について説明するフローチャート(その1)である。It is a flowchart (the 1) explaining the base point important point diffusion process (m = 3) which the information processing means of the server apparatus in one Embodiment performs. 一実施形態におけるサーバ装置の情報処理手段が実行する基点重点拡散処理(m=3)について説明するフローチャート(その2)である。It is a flowchart (the 2) explaining the base point important point diffusion process (m = 3) which the information processing means of the server apparatus in one Embodiment performs. 一実施形態におけるサーバ装置の情報処理手段が実行するクーポン提供処理と、携帯用端末装置の情報処理手段が実行するクーポン表示処理について説明するフローチャート(その1)である。It is a flowchart (the 1) explaining the coupon provision process which the information processing means of the server apparatus in one Embodiment performs, and the coupon display process which the information processing means of a portable terminal device performs. 一実施形態におけるサーバ装置の情報処理手段が実行するクーポン提供処理と、携帯用端末装置の情報処理手段が実行するクーポン表示処理について説明するフローチャート(その2)である。It is a flowchart (the 2) explaining the coupon provision process which the information processing means of the server apparatus in one Embodiment performs, and the coupon display process which the information processing means of a portable terminal device performs.

以下、本発明の実施形態について、図面を参照しながら説明する。なお、以下に説明する実施形態では、クーポン提供システムに用いられるサーバ装置に、本発明のサーバ装置及びコンテンツ情報提供プログラムを提供した場合の実施形態である。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In addition, in embodiment described below, it is embodiment at the time of providing the server apparatus and content information provision program of this invention to the server apparatus used for a coupon provision system.

[クーポン提供システム]
まず、図1を用いてクーポン提供システムの一実施形態におけるシステム構成について説明する。なお、図1は、本実施形態におけるクーポン提供システムのシステム構成図である。
[Coupon offer system]
First, the system configuration in one embodiment of the coupon providing system will be described with reference to FIG. FIG. 1 is a system configuration diagram of a coupon providing system in the present embodiment.

本実施形態のクーポン提供システムは、図1に示すように、利用者が携行する無線通信機能を備えた携帯用端末装置7と、クーポンを提供する店舗用のサーバ装置であって、携帯用端末装置7に対してクーポンに関する情報など種々の情報を送受信するサーバ装置(以下、単に「サーバ装置」という。)9と、を有している。携帯用端末装置7は、例えば、携帯用電話機のキャリア等の広域無線通信アンテナ8及び近距離無線通信アンテナ4と、を有し、サーバ装置9と通信回線を確立させてデータの授受を行うようになっている。また、サーバ装置9は、インターネット等のネットワーク6及び基地局5を介して各携帯用端末装置7とクーポンに関する情報等を送受信する有線の通信手段、または、近距離無線通信アンテナ2を有している。基地局5は、広域無線通信アンテナ3を有し、複数の携帯用端末装置7の中継局として機能し、携帯用端末装置をネットワーク6に接続するために機能する。   As shown in FIG. 1, the coupon providing system according to the present embodiment is a portable terminal device 7 having a wireless communication function carried by a user, and a server device for a store that provides a coupon. And a server device (hereinafter simply referred to as “server device”) 9 that transmits and receives various information such as information related to coupons to the device 7. The portable terminal device 7 includes, for example, a wide-area wireless communication antenna 8 such as a carrier of a portable telephone and a short-range wireless communication antenna 4, and establishes a communication line with the server device 9 to exchange data. It has become. The server device 9 also has a wired communication means for transmitting / receiving information on coupons to / from each portable terminal device 7 via the network 6 such as the Internet and the base station 5 or a short-range wireless communication antenna 2. Yes. The base station 5 has a wide area wireless communication antenna 3, functions as a relay station for a plurality of portable terminal devices 7, and functions to connect the portable terminal devices to the network 6.

本実施形態のクーポン提供システムは、サ−バ装置9によって実在する店舗にて利用可能なクーポン、すなわち、携帯用端末装置7に表示するためのクーポンの内容を記録したコンテンツの情報(以下、「クーポンコンテンツ情報」または単に「コンテンツ情報」という。)を携帯用端末装置7に取得させるシステムである。特に、サーバ装置9は、携帯用端末装置7にクーポンを取得させる際に、携帯用端末装置7によって撮像された屋外などの現実空間の画像(以下、「撮像画像」または「現実空間画像」という。)に、所定のキャラクタの画像(以下、「キャラクタ画像」という。)を重畳表示させ、当該キャラクタ画像を用いてクーポンコンテンツ情報の取得を誘導するようになっている。   The coupon providing system of the present embodiment is a coupon that can be used in a store that is actually present by the server device 9, that is, content information that records the content of the coupon to be displayed on the portable terminal device 7 (hereinafter, “ This is a system that allows the portable terminal device 7 to acquire “coupon content information” or simply “content information”. In particular, when the server device 9 causes the portable terminal device 7 to obtain a coupon, the server device 9 captures an image of a real space such as the outdoor imaged by the portable terminal device 7 (hereinafter referred to as “captured image” or “real space image”). .) Is superimposed on a predetermined character image (hereinafter referred to as “character image”), and the acquisition of coupon content information is guided using the character image.

具体的には、サーバ装置9は、現実空間の位置に対応付けて当該現実空間内を移動し、クーポンの取得を誘導するためのキャラクタ画像を各携帯用端末装置7に提供するようになっている。そして、携帯用端末装置7は、屋外の現実空間を撮像した場合に、当該携帯用端末装置7の位置(以下、「端末位置」ともいう。)の情報及び撮像方向の情報に基づいて、現実空間における位置情報を有するキャラクタ画像を取得するとともに、撮像画像に取得したキャラクタ画像を重畳表示するクーポン表示処理を実行するようになっている。また、サーバ装置9は、携帯用端末装置7のクーポン表示処理と連動し、携帯用端末装置7にキャラクタ画像が表示されている場合であって、当該携帯用端末装置7によってキャラクタ画像に対応するクーポンの取得が要求されると、当該携帯用端末装置7によって追尾可能にキャラクタを現実空間において仮想的に移動させて店舗まで利用者を案内誘導する処理(以下、「店舗誘導処理」という。)を実行するようになっている。そして、サーバ装置9は、店舗誘導処理中に、所定の条件の下、キャラクタに対応するクーポンコンテンツ情報をクーポンの取得を要求した携帯用端末装置7に提供する処理(以下、「クーポン提供処理」という。)を実行するようになっている。   Specifically, the server device 9 moves in the real space in association with the position of the real space, and provides each portable terminal device 7 with a character image for guiding acquisition of a coupon. Yes. And when the portable terminal device 7 images the outdoor real space, based on the information on the position of the portable terminal device 7 (hereinafter also referred to as “terminal position”) and the information on the imaging direction, While acquiring the character image which has the positional information in space, the coupon display process which superimposes and displays the acquired character image on a captured image is performed. The server device 9 is a case where a character image is displayed on the portable terminal device 7 in conjunction with the coupon display processing of the portable terminal device 7, and corresponds to the character image by the portable terminal device 7. When the acquisition of a coupon is requested, a process of guiding the user to the store by virtually moving the character in the real space so as to be tracked by the portable terminal device 7 (hereinafter referred to as “store guide process”). Is supposed to run. And the server apparatus 9 is a process (henceforth a "coupon provision process") which provides the portable terminal device 7 which requested | required acquisition of a coupon for the coupon content information corresponding to a character under predetermined conditions during shop guidance processing. )).

一方、本実施形態のクーポン提供システムにおいては、サーバ装置9は、クーポンの取得に対して利用者に興趣性を維持させつつ、ゲーム性を持たせるために、未だ何れの携帯用端末装置7によっても取得されていないクーポンに対応するキャラクタを現実空間の位置に対応付けて仮想的に移動させる、すなわち、キャラクタ画像が撮像画像に重畳表示される現実空間の位置を変化させる処理(以下、「拡散処理」という。)を実行するようになっている。具体的には、サーバ装置9は、クーポンを発行する店舗の現実空間の位置(以下、「店舗位置」という。)から放射状に当該キャラクタを現実空間の位置に対応付けて仮想的に拡散させる拡散処理(以下、「放射ランダム拡散処理」という。)と、現実空間において各キャラクタの当該現実空間内における位置が同一種別の他のキャラクタの現実空間内における位置に接近している場合に各クーポン間の現実空間内における存在位置の距離を一定に保つように仮想的に拡散させる処理(以下、「排他拡散処理」という。)と、クーポンを発行する店舗位置(以下、「基点」ともいう。)の周辺に重点的に取得クーポンを拡散させる拡散処理(以下、「基点重点拡散処理」という。)を実行するようになっている。なお、本実施形態においては、同一のキャラクタにおける種別毎に、各拡散処理が実行されるようになっている。   On the other hand, in the coupon providing system according to the present embodiment, the server device 9 can be used by any of the portable terminal devices 7 in order to provide the game property while maintaining the interest of the user with respect to the coupon acquisition. The character corresponding to the coupon that has not been acquired is virtually moved in association with the position of the real space, that is, the process of changing the position of the real space where the character image is superimposed on the captured image (hereinafter referred to as “diffusion”). Process "). Specifically, the server device 9 performs diffusion that virtually diffuses the character in association with the position in the real space radially from the position in the real space of the store that issues the coupon (hereinafter referred to as “store position”). Processing (hereinafter referred to as “radiation random diffusion processing”) and between each coupon when the position of each character in the real space is close to the position of the other character of the same type in the real space Processing for virtually diffusing so as to keep the distance of the existing position in the real space constant (hereinafter referred to as “exclusive diffusion processing”), and the store position where the coupon is issued (hereinafter also referred to as “base point”). A diffusion process (hereinafter, referred to as “base point weighted diffusion process”) for diffusing an acquired coupon mainly around is performed. In the present embodiment, each diffusion process is executed for each type of the same character.

このような構成を有することにより、サーバ装置9は、現実空間において刻々と拡散移動するようにキャラクタ画像に代表される画像形成物を携帯用端末装置7に現実画像とともに表示させることが可能であって、当該画像形成物を用いて店舗までの経路誘導を実行しつつ、経路誘導中に店舗のクーポンをクーポンコンテンツ情報として携帯用端末装置7に取得させることができる。したがって、サーバ装置9は、クーポンを取得するための起因として用いられるキャラクタを利用者に探索させることによって、利用者にクーポンの取得における趣向性を持たせることができるとともに、当該キャラクタの現実空間内における移動に従って店舗に携帯用端末装置7を用いて利用者を誘導すること、及び、店舗に来訪する利用者にクーポンを的確に取得させることを両立させることができる。この結果、サーバ装置9は、利用者に対するクーポンの取得に対する興趣を維持させつつ、その利用を促進させることができるので、クーポンの利用率を高めて宣伝効果を向上させることができるようになっている。   By having such a configuration, the server device 9 can display the image formation represented by the character image together with the real image on the portable terminal device 7 so as to diffuse and move in real space. Then, while performing route guidance to the store using the image formation, the portable terminal device 7 can acquire the coupon of the store as coupon content information during route guidance. Therefore, the server device 9 allows the user to search for a character used as a cause for acquiring the coupon, thereby allowing the user to have a preference in acquiring the coupon, and in the real space of the character. The user can be guided to the store by using the portable terminal device 7 in accordance with the movement in, and the user who visits the store can acquire the coupon accurately. As a result, the server device 9 can promote the use of the coupon while maintaining the interest in acquiring the coupon for the user. Therefore, the usage rate of the coupon can be increased and the advertising effect can be improved. Yes.

[携帯用端末装置]
次に、図2及び図3を用いて本実施形態の携帯用端末装置7の構成について説明する。なお、図2は、本実施形態における携帯用端末装置7の構成を示すブロック図であり、図3は、本実施形態の携帯用端末装置7に記録される端末クーポン情報の形成例を示す図表である。
[Portable terminal device]
Next, the structure of the portable terminal device 7 of this embodiment is demonstrated using FIG.2 and FIG.3. 2 is a block diagram showing a configuration of the portable terminal device 7 in the present embodiment, and FIG. 3 is a chart showing an example of forming terminal coupon information recorded in the portable terminal device 7 of the present embodiment. It is.

本実施形態の携帯用端末装置7は、図2に示すように、周囲の撮像を行って撮像信号を出力する撮像手段750と、撮像手段750が出力した撮像信号を入力して画像処理を行いつつ、当該撮像信号を画像データに変換して出力する画像処理手段751と、GPS(Global Positioning System)等により当該携帯用端末装置7の存在場所を検出する位置検出手段758と、利用者が当該携帯用端末装置7を移動させた際の1乃至3軸方向の加速度を検出する加速度検出手段759と、当該携帯用端末装置7の撮像手段750が撮像を行っている撮像方向を検出する方位検出手段760と、を有している。   As shown in FIG. 2, the portable terminal device 7 according to the present embodiment performs image processing by inputting an image pickup unit 750 that picks up surroundings and outputs an image pickup signal, and an image pickup signal output from the image pickup unit 750. Meanwhile, the image processing means 751 that converts the imaging signal into image data and outputs it, the position detection means 758 that detects the location of the portable terminal device 7 using GPS (Global Positioning System), etc. Acceleration detection means 759 for detecting acceleration in one to three axes when the portable terminal device 7 is moved, and azimuth detection for detecting the imaging direction in which the imaging means 750 of the portable terminal device 7 is imaging Means 760.

また、携帯用端末装置7は、携帯用電話機の基地局5と携帯用電話機等のキャリアを用いて情報の送受信を行うために所定の形式にデータを変換する広域無線通信手段764と、Bluetooth(登録商標)または無線LAN(Local Area Network)等の所定の通信規格に基づいて情報の送受信を行うため近距離無線通信手段765と、を有している。   The portable terminal device 7 includes a wide-area wireless communication unit 764 that converts data into a predetermined format for transmitting and receiving information using a base station 5 of a portable telephone and a carrier such as a portable telephone, and Bluetooth ( Short-range wireless communication means 765 for transmitting and receiving information based on a predetermined communication standard such as a registered trademark or a wireless LAN (Local Area Network).

そして、携帯用端末装置7は、利用者が各種情報を入力するスイッチやテンキー、タッチパネル等の入力手段770(クーポン取得指示手段)と、画像や文字等の情報を表示する表示手段772と、携帯用端末装置7の全体の制御を行う情報処理手段(CPU)780と、情報処理手段780が処理を実行する際の作業領域となる記録手段の一形態であるRAM781と、情報処理手段780が最初に実行する処理等を予め記録しておくROM782と、を有している。   The portable terminal device 7 includes an input unit 770 (coupon acquisition instruction unit) such as a switch, a numeric keypad, and a touch panel for a user to input various information, a display unit 772 for displaying information such as images and characters, Information processing means (CPU) 780 that controls the entire terminal device 7, RAM 781 that is one form of recording means serving as a work area when the information processing means 780 executes processing, and information processing means 780 are the first. And a ROM 782 for pre-recording processes to be executed.

さらに、携帯用端末装置7は、情報処理手段780が実行する各種の処理プログラム、ネットワーク上の通信機器と通信接続する際のアドレス、属性情報、URL(Uniform Resource Locators)、利用者固有の識別情報、ゲートウェイ情報DNS(Domain Name System)、クーポンに関する情報(以下、「端末クーポン情報」という。)等の各種情報を記録するEEPROM(Electrically Erasable Programmable Read Only Memory)等の記録手段784と、日付や時刻を刻むとともに計数を行うタイマーカウンタ790と、を有している。   Further, the portable terminal device 7 includes various processing programs executed by the information processing unit 780, addresses for communication connection with communication devices on the network, attribute information, URL (Uniform Resource Locators), and user-specific identification information. Recording means 784 such as EEPROM (Electrically Erasable Programmable Read Only Memory) for recording various information such as gateway information DNS (Domain Name System), coupon information (hereinafter referred to as “terminal coupon information”), and date and time And a timer counter 790 that counts and counts.

特に、情報処理手段780は、サーバ装置9と連動して携帯用端末装置7における端末位置Ptmnの情報と、キャラクタの現実空間における位置(以下、「クーポン現在位置」という。)Pcmn及びキャラクタ画像情報と、に基づいて、クーポンを取得する処理(以下、「クーポン取得処理」という。)を含むクーポンを表示手段772に表示する処理(以下、「クーポン表示処理」という。)を実行するようになっている。   In particular, the information processing means 780 operates in conjunction with the server device 9 to provide information on the terminal position Ptmn in the portable terminal device 7, the character's real space position (hereinafter referred to as “coupon current position”) Pcmn, and character image information. And a process of displaying a coupon including a process of acquiring a coupon (hereinafter referred to as “coupon acquisition process”) on the display means 772 (hereinafter referred to as “coupon display process”). ing.

具体的には、情報処理手段780は、携帯用端末装置7の緯度・経度情報等の端末位置Ptmnを位置検出手段758から取得するとともに、方位検出手段760から撮像方向を取得し、端末位置データとしてサーバ装置9に送信するようになっている。そして、情報処理手段780は、送信した端末位置情報Ptmn及び撮像方向に基づいて、サーバ装置9から未取得のクーポン現在位置Pcmn及びキャラクタ画像を受信し、表示手段772に、現実空間が撮像された撮像画像とともに当該受信したキャラクタ画像を重畳表示するようになっている。このとき、キャラクタ画像対してクーポンコンテンツ情報を取得するための入力または動作が実行された場合には、情報処理手段780は、店舗誘導処理に連動して利用者を店舗まで誘導するために、当該キャラクタ画像を表示手段772に表示するようになっている。そして、情報処理手段780は、店舗誘導処理に連動してキャラクタ画像を表示手段772に表示している際に、所定の条件の下に、利用者の操作に基づいてクーポンコンテンツ情報を取得するためのクーポン取得処理を実行するようになっている。   Specifically, the information processing means 780 obtains the terminal position Ptmn such as latitude / longitude information of the portable terminal device 7 from the position detection means 758, obtains the imaging direction from the direction detection means 760, and obtains terminal position data. Is transmitted to the server device 9. The information processing unit 780 receives the unacquired coupon current position Pcmn and the character image from the server device 9 based on the transmitted terminal position information Ptmn and the imaging direction, and the display unit 772 captures the real space. The received character image is superimposed and displayed together with the captured image. At this time, when an input or operation for acquiring coupon content information is performed on the character image, the information processing means 780 guides the user to the store in conjunction with the store guidance process. The character image is displayed on the display means 772. The information processing unit 780 obtains coupon content information based on the user's operation under a predetermined condition when the character image is displayed on the display unit 772 in conjunction with the store guidance process. The coupon acquisition process is executed.

記録手段784には、クーポン取得処理によって取得されたクーポンコンテンツ情報及びその他の情報を有する端末クーポン情報が記録されている。具体的には、端末クーポン情報には、図3に示すように、携帯用端末装置7のIDを示す端末IDと、サーバ装置9から取得したクーポンコンテンツ情報及びキャラクタ画像情報(以下、単に、「画像情報」ともいう。)と、が含まれる。   In the recording means 784, terminal coupon information having coupon content information acquired by the coupon acquisition process and other information is recorded. Specifically, as shown in FIG. 3, the terminal coupon information includes a terminal ID indicating the ID of the portable terminal device 7, coupon content information acquired from the server device 9, and character image information (hereinafter simply “ Also referred to as “image information”).

なお、携帯用端末装置7の情報処理手段780と、画像処理手段751、位置検出手段758、加速度検出手段759、方位検出手段760、広域無線通信手段764、近距離無線通信手段765、入力手段770、表示手段772、RAM781、ROM782、記録手段784、タイマーカウンタ790等を含む各周辺回路とは、バス799で接続されており、情報処理手段780にて実行される処理プログラムに基づいて、情報処理手段780が各々の周辺回路を制御することが可能となっている。   The information processing means 780 of the portable terminal device 7, the image processing means 751, the position detection means 758, the acceleration detection means 759, the direction detection means 760, the wide area wireless communication means 764, the near field wireless communication means 765, and the input means 770. , Display means 772, RAM 781, ROM 782, recording means 784, timer counter 790, and other peripheral circuits are connected by a bus 799, and information processing is performed based on a processing program executed by the information processing means 780. Means 780 can control each peripheral circuit.

また、本実施形態では、携帯用端末装置7に加速度検出手段759を備える実施例を示したが、これらの他に重力方向を検出する重力検出手段、または、レートジャイロ等の検出手段を用いてもよい。   In the present embodiment, an example in which the portable terminal device 7 includes the acceleration detection unit 759 has been described. However, in addition to these, a gravity detection unit that detects the direction of gravity or a detection unit such as a rate gyro is used. Also good.

[サーバ装置]
次に、図4を用いて本実施形態における店舗側のサーバ装置9の構成について説明する。なお、図4は、本実施形態におけるサーバ装置の構成を示すブロック図である。
本実施形態のサーバ装置9は、図4に示すように、ネットワーク6を介して携帯用端末装置7の基地局5と情報の送受信を行うためにデータ形式の変換を行う通信手段968と、Bluetooth(登録商標)または無線LAN等の所定の通信規格に基づいて情報の送受信を行うための近距離無線通信手段965と、を有している。
[Server device]
Next, the configuration of the store-side server device 9 in the present embodiment will be described with reference to FIG. FIG. 4 is a block diagram showing the configuration of the server device in this embodiment.
As shown in FIG. 4, the server device 9 according to the present embodiment includes a communication unit 968 that performs data format conversion to transmit and receive information to and from the base station 5 of the portable terminal device 7 via the network 6, and Bluetooth. Short-range wireless communication means 965 for transmitting and receiving information based on a predetermined communication standard such as (registered trademark) or wireless LAN.

また、サーバ装置9は、利用者が各種情報を入力するキーボードまたはタッチパネル等の入力手段970と、画像や文字等の情報を表示する表示手段972と、サーバ装置9の全体の制御を行う情報処理手段(CPU)980と、情報処理手段980が処理を実行する際の作業領域となるRAM981と、所定のプログラムが記録されたROM982と、を有している。   In addition, the server device 9 includes an input unit 970 such as a keyboard or a touch panel for a user to input various information, a display unit 972 for displaying information such as images and characters, and information processing for controlling the server device 9 as a whole. A means (CPU) 980, a RAM 981 serving as a work area when the information processing means 980 executes processing, and a ROM 982 in which a predetermined program is recorded.

さらに、サーバ装置9は、情報処理手段980が実行する各種の処理プログラム、定数、ネットワーク上の通信機器と通信接続する際のアドレス、属性情報、URL(Uniform Resource Locators)、利用者固有の識別情報、ゲートウェイ情報DNS(Domain Name System)、クーポンコンテンツ情報を含むクーポンに関する情報(以下、「クーポン情報」という。)及びクーポンを取得した携帯用端末装置7の情報(以下、「端末情報」という。)等の各種情報を記録するハードディスク等の記録手段984と、日付及び時刻を刻むとともに計数を行うタイマーカウンタ990と、を有している。なお、クーポン情報及び端末情報の詳細については後述する。   Further, the server device 9 includes various processing programs executed by the information processing unit 980, constants, addresses for communication connection with communication devices on the network, attribute information, URL (Uniform Resource Locators), and user-specific identification information. , Gateway information DNS (Domain Name System), information about coupons including coupon content information (hereinafter referred to as “coupon information”), and information of portable terminal device 7 that acquired the coupon (hereinafter referred to as “terminal information”). Recording means 984 such as a hard disk for recording various information such as, and a timer counter 990 for counting and counting the date and time. Details of the coupon information and the terminal information will be described later.

情報処理手段980は、未だ何れの携帯用端末装置7によっても取得されていないクーポンに対応付けられたキャラクタを現実空間の位置に対応付けて仮想的に移動させる、すなわち、キャラクタ画像が撮像画像に重畳表示される現実空間の位置を変化させる拡散処理を実行するようになっている。具体的には、情報処理手段980は、放射ランダム拡散処理、排他拡散処理、及び、基点重点拡散処理を、現実空間において利用者が進入不能な領域に対して拡散を禁止しつつ、実行するようになっている。   The information processing means 980 virtually moves the character associated with the coupon that has not yet been acquired by any portable terminal device 7 in association with the position in the real space, that is, the character image becomes a captured image. A diffusion process for changing the position of the real space to be superimposed is executed. Specifically, the information processing unit 980 performs the radiation random diffusion process, the exclusive diffusion process, and the base point weighted diffusion process while prohibiting diffusion in an area where the user cannot enter in the real space. It has become.

一方、情報処理手段980は、携帯用端末装置7と連動して該当するクーポンコンテンツ情報を当該携帯用端末装置7に提供するクーポン提供処理を実行するようになっている。具体的には、情報処理手段980は、該当する携帯用端末装置7からキャラクタ画像に基づくクーポンの取得要求を受信した場合に、すなわち、携帯用端末装置7によって表示されたキャラクタ画像がクリックされてクーポンコンテンツ情報の取得要求が実行された場合に、当該キャラクタ画像に基づいて店舗誘導処理を開始し、所定のタイミングでクーポンコンテンツ情報を当該携帯用端末装置7に送信するようになっている。   On the other hand, the information processing means 980 is configured to execute a coupon providing process of providing corresponding coupon content information to the portable terminal device 7 in conjunction with the portable terminal device 7. Specifically, when the information processing unit 980 receives a coupon acquisition request based on the character image from the corresponding portable terminal device 7, that is, the character image displayed by the portable terminal device 7 is clicked. When an acquisition request for coupon content information is executed, store guidance processing is started based on the character image, and coupon content information is transmitted to the portable terminal device 7 at a predetermined timing.

また、情報処理手段980は、店舗誘導処理を提供している携帯用端末装置7のID及びクーポンコンテンツ情報を提供した携帯用端末装置7のIDをチェック端末IDまたは取得済端末IDとしてクーポン本体情報に登録し、他の携帯用端末装置7において店舗誘導不能及び取得不能に設定するようになっている。さらに、情報処理手段980は、店舗誘導処理を実行する際には、携帯用端末装置7の現在位置であって、チェック端末IDとして登録された携帯用端末装置7の現在位置と、クーポン本体情報に規定された当該携帯用端末装置7を登録したキャラクタにおける店舗位置Psに基づいてクーポンを提供している店舗までの誘導ルートを設定するようになっている。   Further, the information processing unit 980 uses the ID of the portable terminal device 7 that provides the store guidance process and the ID of the portable terminal device 7 that provides the coupon content information as the check terminal ID or the acquired terminal ID. The other portable terminal device 7 is set so that store guidance is impossible and acquisition is impossible. Further, when executing the store guidance process, the information processing means 980 is the current position of the portable terminal device 7, which is the current position of the portable terminal device 7 registered as the check terminal ID, and the coupon body information. The guide route to the store providing the coupon is set based on the store position Ps of the character that has registered the portable terminal device 7 defined in 1).

なお、サーバ装置9の情報処理手段980と、通信手段968、近距離無線通信手段965、入力手段970、表示手段972、RAM981、ROM982、記録手段984、タイマーカウンタ990等を含む各周辺回路とは、バス999で接続されており、情報処理手段980において実行される処理プログラムに基づいて、情報処理手段980が各々の周辺回路を制御することが可能となっている。   The information processing unit 980 of the server device 9 and the peripheral circuits including the communication unit 968, the short-range wireless communication unit 965, the input unit 970, the display unit 972, the RAM 981, the ROM 982, the recording unit 984, the timer counter 990, and the like. The information processing means 980 can control each peripheral circuit based on a processing program executed by the information processing means 980.

また、例えば、本実施形態の情報処理手段980は、本発明の画像形成物提供手段、位置制御手段、経路誘導手段及びコンテンツ情報提供手段を構成する。   Further, for example, the information processing unit 980 of the present embodiment constitutes an image formation providing unit, a position control unit, a route guiding unit, and a content information providing unit of the present invention.

[クーポン情報及び端末情報]
次に、図5〜図8の各図を用いて本実施形態におけるサーバ装置9の記録手段984に記録されるクーポン情報及び端末情報について説明する。
[Coupon information and terminal information]
Next, coupon information and terminal information recorded in the recording unit 984 of the server device 9 in the present embodiment will be described with reference to FIGS.

なお、図5は、本実施形態におけるクーポン本体情報の形成例を説明する図表であり、図6は、本実施形態における未取得クーポン拡散情報の形成例を説明する図表である。また、図7は、本実施形態におけるクーポン進入禁止区域情報の形成例を示す図であり、図8は、本実施形態における端末情報の形成例を示す図表である。   5 is a chart for explaining an example of formation of coupon body information in the present embodiment, and FIG. 6 is a chart for explaining an example of formation of unacquired coupon diffusion information in the present embodiment. Moreover, FIG. 7 is a figure which shows the example of formation of the coupon entry prohibition area information in this embodiment, and FIG. 8 is a table | surface which shows the example of formation of the terminal information in this embodiment.

クーポン情報は、サーバ装置9の記録手段984に予め記録されており、携帯用端末装置7に取得させるための種々の情報が登録されている。クーポン情報には、店舗が提供するクーポンに関する情報を含むクーポン本体を形成するクーポン本体情報と、クーポンとして未取得のクーポンに対応するキャラクタの存在位置を現実空間内において拡散移動させる際の各種情報を含むキャラクタの拡散処理に関する情報(以下、「未取得クーポン拡散情報」という。)と、キャラクタを拡散させる際に利用者が当該キャラクタを追尾することができない進入不可能な区域を定める情報を含むクーポンの現実空間における進入禁止区域に関する情報(以下、「クーポン進入禁止区域情報」という。)と、が含まれる。   The coupon information is recorded in advance in the recording unit 984 of the server device 9, and various pieces of information to be acquired by the portable terminal device 7 are registered. The coupon information includes coupon main body information that forms a coupon main body that includes information related to coupons provided by the store, and various types of information when the presence position of a character corresponding to a coupon that has not been acquired as a coupon is diffused in the real space. Coupon including information relating to character diffusion processing (hereinafter referred to as “unacquired coupon diffusion information”) and information defining an inaccessible area where the user cannot track the character when spreading the character Information on the prohibited area in the real space (hereinafter referred to as “coupon entry prohibited area information”).

クーポン本体情報には、図5に示すように、提供されるクーポン毎に、未取得時のクーポンの拡散処理を決定するためのID(以下、「未取得クーポン拡散ID」という。)mと、各クーポンの固体を識別するクーポン番号nと、携帯用端末装置7の表示手段772に表示するためのクーポンの内容を有するクーポンコンテンツ情報(コンテンツ情報)と、当該表示手段772に表示するためのキャラクタ画像の情報(画像情報)と、が含まれる。   In the coupon main body information, as shown in FIG. 5, for each coupon to be provided, an ID (hereinafter referred to as “unacquired coupon diffusion ID”) m for determining a coupon diffusion process when not acquired, Coupon number n for identifying each coupon, coupon content information (content information) having a coupon content to be displayed on the display means 772 of the portable terminal device 7, and a character to be displayed on the display means 772 Image information (image information).

また、クーポン本体情報には、キャラクタの現在位置を示すクーポン現在位置Pcmnの情報と、キャラクタを現在位置の次に表示する位置を示すクーポン次位置Pfmnの情報と、クーポン(すなわち、キャラクタ)を提供する期間を示すクーポン提供期間の情報と、キャラクタを表示する領域の外延を定める提供半径Zxの情報と、クーポンを提供している店舗位置Psの情報と、が含まれる。   Further, the coupon body information is provided with information on the coupon current position Pcmn indicating the current position of the character, information on the coupon next position Pfmn indicating the position where the character is displayed next to the current position, and a coupon (ie, character). Information of a coupon providing period indicating a period to be displayed, information of a providing radius Zx that defines an extension of a region where a character is displayed, and information of a store position Ps that provides a coupon are included.

そして、クーポン本体情報には、キャラクタ画像を各携帯用端末装置7がチェックしたか否かを示す、すなわち、当該キャラクタを、クーポンコンテンツ情報を取得するに際して店舗誘導処理が実行されている一の携帯用端末装置7として登録した否かを示すチェック済判定フラグと、当該チェックを行った携帯用端末装置7(以下、「チェック済端末装置」ともいう。)を識別するチェック端末IDと、クーポンコンテンツ情報が携帯用端末装置7に取得されたこと、すなわち、クーポンが取得されたことを示すクーポンの取得済判定フラグと、当該クーポンを取得した一の携帯用端末装置7(以下、「取得済端末装置」ともいう。)を識別する取得済端末IDと、が含まれる。   The coupon main body information indicates whether or not each portable terminal device 7 has checked the character image, that is, one mobile for which store guidance processing is executed when acquiring the coupon content information for the character. A checked determination flag indicating whether or not the terminal device 7 has been registered, a check terminal ID for identifying the portable terminal device 7 (hereinafter also referred to as “checked terminal device”) that has performed the check, and coupon content A coupon acquisition completion flag indicating that the information has been acquired by the portable terminal device 7, that is, a coupon has been acquired, and one portable terminal device 7 that has acquired the coupon (hereinafter referred to as "acquired terminal"). And an acquired terminal ID for identifying the device.

このチェック済判定フラグ及び取得済判定フラグは、店舗誘導処理及び当該店舗誘導処理に伴ってクーポンコンテンツ情報の取得を制御するために用いられるフラグ情報である。また、チェック済判定フラグがTRUEの場合には、チェック済IDに登録された携帯用端末装置7に対して店舗誘導処理中であって、クーポンコンテンツ情報が当該携帯用端末装置7によって取得可能な状態であることを示し、FALSE場合には、何れの携帯用端末装置7にも店舗誘導処理を提供しておらず、クーポンコンテンツ情報がチェック可能であることを示す。また、取得済判定フラグがTRUEの場合には、取得済端末IDに登録された携帯用端末装置7にクーポンコンテンツ情報が取得されていることを示し、FALSEの場合には、クーポンコンテンツ情報が未取得であることを示す。   The checked determination flag and the acquired determination flag are flag information used for controlling acquisition of coupon content information in association with the store guidance process and the store guidance process. If the checked determination flag is TRUE, the store terminal processing is being performed for the portable terminal device 7 registered in the checked ID, and coupon content information can be acquired by the portable terminal device 7. In the case of FALSE, it indicates that the store guidance process is not provided to any of the portable terminal devices 7 and the coupon content information can be checked. Further, when the acquired determination flag is TRUE, it indicates that coupon content information is acquired in the portable terminal device 7 registered in the acquired terminal ID, and in the case of FALSE, the coupon content information is not yet acquired. Indicates acquisition.

なお、クーポン現在位置Pcmn、クーポン次位置Pfmn、店舗位置Ps、端末位置情報Ptmn等の位置情報としては、経度及び緯度の情報を用いるようになっている。   Note that information on longitude and latitude is used as position information such as the present coupon position Pcmn, the next coupon position Pfmn, the store position Ps, and the terminal position information Ptmn.

未取得クーポン拡散情報は、各キャラクタにおけるクーポンの未取得時の拡散処理を定義し、拡散処理毎に定められた所定の情報を規定する。具体的には、未取得クーポン拡散情報には、図6に示すように、クーポンの拡散処理を識別する未取得クーポン拡散IDと、未取得クーポン拡散ID(m=1)において、同一の各処理において拡散方法を変更する際に用いる第1拡散時間Tcと、クーポンを間欠移動させる際のアイドル時間tcと、クーポンを間欠移動させる際の移動距離Rcaと、が含まれる。また、未取得クーポン拡散情報には、未取得クーポン拡散ID(m=2)において、各クーポン同士が近づきすぎないように拡散させる際に用いるクーポン排他距離Dc及び排他移動距離Rcbと、が含まれる。そして、未取得クーポン拡散情報には、未取得クーポン拡散ID(m=3)において、各クーポンを分散配置させる複数の配布区域を定める配布区域分割数Iと、各配布区域の境界を定める各配布区域境界半径割合と、各配布区域に配置するクーポンの数量を定めるための各配布区域クーポン許容割合と、各配布区域において所定のクーポン許容数に到達していることを示す充満フラグと、が含まれる。   The unacquired coupon diffusion information defines a diffusion process at the time of not acquiring a coupon for each character, and defines predetermined information determined for each diffusion process. Specifically, in the unacquired coupon diffusion information, as shown in FIG. 6, the same processing in the unacquired coupon diffusion ID for identifying the coupon diffusion processing and the unacquired coupon diffusion ID (m = 1) Includes a first diffusion time Tc used when changing the diffusion method, an idle time tc when the coupon is intermittently moved, and a moving distance Rca when the coupon is intermittently moved. Further, the non-acquired coupon diffusion information includes a coupon exclusive distance Dc and an exclusive movement distance Rcb that are used when each coupon is diffused so as not to approach too much in the unacquired coupon diffusion ID (m = 2). . In the unacquired coupon diffusion information, in the unacquired coupon diffusion ID (m = 3), the distribution area division number I that defines a plurality of distribution areas in which each coupon is distributed and each distribution that defines the boundary of each distribution area Includes area boundary radius ratio, each distribution area coupon permissible ratio for determining the number of coupons to be placed in each distribution area, and a filling flag indicating that the predetermined number of coupons has been reached in each distribution area It is.

クーポン進入禁止区域情報は、現実空間に存在する池または海など利用者が進入不能な領域にクーポンの拡散を禁止するための情報である。具体的には、クーポン進入禁止区域情報には、図7に示すように、進入禁止の区域を識別する進入禁止区域IDと、進入禁止区域の中心位置を規定する中心緯度及び中心経度の情報と、進入禁止区域の広さを定める進入禁止区域半径の情報と、が含まれる。   The coupon entry prohibition area information is information for prohibiting the spread of the coupon in an area where the user cannot enter such as a pond or the sea existing in the real space. Specifically, the coupon entry prohibited area information includes, as shown in FIG. 7, an entry prohibited area ID for identifying an entry prohibited area, and information on a central latitude and a center longitude that define the center position of the entry prohibited area. , Information on the radius of the prohibited area that defines the size of the prohibited area.

端末情報は、携帯用端末装置7がクーポンを取得する毎に記録手段984に記録されるクーポンを取得した携帯用端末装置7に関する情報である。具体的には、端末情報には、図8に示すように、端末ID毎に、該当する携帯用端末装置7が存在する現実空間の位置情報(緯度及び経度)と、取得済みのクーポン番号と、が含まれる。   The terminal information is information regarding the portable terminal device 7 that has acquired the coupon recorded in the recording unit 984 every time the portable terminal device 7 acquires the coupon. Specifically, as shown in FIG. 8, the terminal information includes, for each terminal ID, position information (latitude and longitude) of the real space where the corresponding portable terminal device 7 exists, and the acquired coupon number, , Is included.

[キャラクタ]
次に、図9及び図10を用いて本実施形態におけるキャラクタ(キャラクタ画像)について説明する。なお、図9は、利用者が存在する地域を表した地図上に、キャラクタを表示した表示例を示す図であり、図10は、撮像手段750で撮像した撮像画像とキャラクタの画像情報とを重畳表示した表示例を示す図である。
[charactor]
Next, a character (character image) in the present embodiment will be described with reference to FIGS. 9 and 10. FIG. 9 is a diagram showing a display example in which a character is displayed on a map representing an area where the user exists. FIG. 10 shows a captured image captured by the imaging unit 750 and image information of the character. It is a figure which shows the example of a display superimposed.

キャラクタは、店舗位置Ps周辺の所定の配布区域内において、現実空間を刻々拡散移動するように、携帯用端末装置7によって表示される際に用いられる現実空間に対応付けられた表示位置が制御される。このため、キャラクタは、常に同一のタイミングでは現実空間内の同一の位置では携帯用端末装置7に表示されないことから、すなわち、同一のタイミングでは現実空間の同一の位置に存在しないことから、利用者は、興味を持ってキャラクタを探索することができるようになっている。特に、キャラクタは、所定のクーポン現在位置Pcmnにおいて現実空間の位置に対応付けられて撮像画像に重畳されて携帯用端末装置7の表示手段772に画像として表示される。そして、クーポン現在位置Pcmnは、地球上をX−Y平面として表現した場合に、(Xpcmn,Ypcmn)で表される位置を示し、具体的には、緯度及び経度によって構成される。   The display position associated with the real space used when the character is displayed by the portable terminal device 7 is controlled so that the character moves in real space in a predetermined distribution area around the store position Ps. The For this reason, since the character is not always displayed on the portable terminal device 7 at the same position in the real space at the same timing, that is, the character does not exist at the same position in the real space at the same timing. Can search for characters with interest. In particular, the character is displayed as an image on the display means 772 of the portable terminal device 7 in association with the position of the real space at the predetermined coupon current position Pcmn and superimposed on the captured image. The coupon current position Pcmn indicates a position represented by (Xpcmn, Ypcmn) when the earth is expressed as an XY plane, and is specifically configured by latitude and longitude.

例えば、表示手段772は、地図を用いて2D表示する場合には、図9に示すように、地図上に、マーカによって利用者が携帯用端末装置7を携行している位置を示す端末位置情報Ptと、所定の店舗画像によってクーポンを提供している店舗の位置を示す店舗位置Psと、種々の店舗が提供する複数のキャラクタ画像(C1〜C6)の位置を示すクーポン現在位置Pcmnと、を重畳表示するようになっている。   For example, when the display unit 772 performs 2D display using a map, as illustrated in FIG. 9, terminal position information indicating the position where the user is carrying the portable terminal device 7 with a marker on the map. Pt, a store position Ps indicating the position of a store providing a coupon with a predetermined store image, and a coupon current position Pcmn indicating the positions of a plurality of character images (C1 to C6) provided by various stores. Superimposed display.

また、表示手段772は、撮像された現実空間の撮像画像を用いて3D表示する場合には、図10に示すように、撮像画像に、端末位置情報Ptの近傍に存在し、かつ、撮像方向に存在しているキャラクタ画像(C2〜C5)が、そのクーポン現在位置Pcmnに基づいて、重畳表示するようになっている。そして、表示手段772は、撮像された現実空間の撮像画像を用いて3D表示する場合には、表示されるキャラクタの大小または透明度によってその遠近を表現するようなっている。   Further, in the case where 3D display is performed using the captured real space captured image, the display unit 772 exists in the vicinity of the terminal position information Pt in the captured image as shown in FIG. The character images (C2 to C5) existing in the are superimposed and displayed based on the coupon current position Pcmn. When the 3D display is performed using the captured real space captured image, the display unit 772 expresses the distance based on the size or transparency of the displayed character.

特に、本実施形態においては、撮像された現実空間の撮像画像を用いて3D表示がされている場合であって、キャラクタ画像が入力手段770を介してクリックされた場合には、図10に示すように、携帯用端末装置7は、サーバ装置9と連動してキャラクタ画像C5の上方に示すようなクーポンの内容をポップアップ表示(吹出表示)させることができるようになっている。   In particular, in the present embodiment, when a 3D display is performed using a captured image of a real space, and a character image is clicked via the input unit 770, it is shown in FIG. As described above, the portable terminal device 7 can perform pop-up display (speech display) of the contents of the coupon as shown above the character image C5 in conjunction with the server device 9.

なお、図9及び図10では、キャラクタ画像として鳥の画像を用いているが、鳥の画像に限定するものではない。   In FIGS. 9 and 10, a bird image is used as the character image, but the image is not limited to the bird image.

また、撮像方向に存在しているキャラクタ画像が表示される際には、サーバ装置9に記録された携帯用端末装置7の端末位置情報と各クーポン位置、及び、携帯用端末装置7の方位検出手段760によって検出された撮像方向に基づいて、撮像画像の範囲に存在しているキャラクタ画像を抽出して表示するようになっている。   When a character image existing in the imaging direction is displayed, the terminal position information and each coupon position of the portable terminal device 7 recorded in the server device 9 and the orientation detection of the portable terminal device 7 are detected. Based on the imaging direction detected by the means 760, the character image existing in the range of the captured image is extracted and displayed.

さらに、撮像された現実空間の撮像画像を用いての3D表示の場合には、キャラクタ画像は、半透明表示であってよいし、最前面に不透過表示してもよい。また、携帯用端末装置7の近傍に存在しているキャラクタ画像ほど、その画像を大きく表示するなど、携帯用端末装置7との距離に応じてキャラクタ画像の大きさを変えて表示するようにしてもよい。   Further, in the case of 3D display using a captured image of a real space, the character image may be translucent display or non-transparent display on the forefront. In addition, the character image that is present in the vicinity of the portable terminal device 7 is displayed with the character image being changed in size according to the distance from the portable terminal device 7, such as displaying the image larger. Also good.

[放射ランダム拡散処理の原理]
次に、図11及び図12を用いて本実施形態のサーバ装置9において実行される放射ランダム拡散処理の原理について説明する。なお、図11は、本実施形態において、放射ランダム拡散処理(m=1)の第1の拡散処理であって、放射状拡散状態を説明するための図であり、放射ランダム拡散処理(m=1)の第2の拡散処理であって、ランダム拡散状態を説明するための図である。
[Principle of radiation random diffusion processing]
Next, the principle of the radiation random diffusion process executed in the server device 9 of this embodiment will be described with reference to FIGS. 11 and 12. FIG. 11 is a diagram for explaining the radial diffusion state in the present embodiment, which is a first diffusion process of the radiation random diffusion process (m = 1), and the radiation random diffusion process (m = 1). It is a 2nd spreading | diffusion process of (), Comprising: It is a figure for demonstrating a random diffusion state.

放射ランダム拡散処理は、サーバ装置9の情報処理手段980によって実行される拡散処理であって、クーポンを発行する店舗の現実空間の店舗位置から放射状に同一種別のキャラクタを現実空間の位置に対応付けて仮想的に拡散させる拡散処理である。   The random radiation diffusion process is a diffusion process executed by the information processing means 980 of the server device 9 and associates characters of the same type radially with the real space position from the store position in the real space of the store that issues the coupon. This is a diffusion process that virtually diffuses.

放射ランダム拡散処理は、所定のタイミングから一定時間の経過前と経過後で、キャラクタの移動方向の決定方法を変更するようになっている。すなわち、この放射ランダム拡散処理は、所定のタイミングから一定時間の経過前には、キャラクタが現実空間内を移動する移動方向を放射状に決定し、当該拡散処理の開始後から一定時間の経過後には、キャラクタが現実空間内を移動する移動方向をランダムに決定するようになっている。なお、所定のタイミングからの一定時間の経過の計測においては、後述するように、未取得クーポン拡散情報に規定された拡散時間Tcとサーバ装置9のタイマーカウンタ990によって計測される拡散時間Tとを用いるようになっている。   In the radiation random diffusion process, the method for determining the moving direction of the character is changed before and after a lapse of a predetermined time from a predetermined timing. That is, in this random radiation diffusion process, the moving direction in which the character moves in the real space is determined radially before a predetermined time elapses from a predetermined timing, and after a certain time has elapsed since the start of the diffusion process. The moving direction in which the character moves in the real space is randomly determined. In the measurement of the elapse of a predetermined time from the predetermined timing, as will be described later, the diffusion time Tc defined in the unacquired coupon diffusion information and the diffusion time T measured by the timer counter 990 of the server device 9 are used. It comes to use.

具体的には、移動方向を放射状決定する拡散処理では、各キャラクタの移動方向θfmnが、(式1)によって決定される。   Specifically, in the diffusion processing that determines the moving direction radially, the moving direction θfmn of each character is determined by (Equation 1).

θfmn = 2πn / N + θx ・・・(式1)       θfmn = 2πn / N + θx (Expression 1)

なお、「m」はキャラクタの拡散IDを示す添字であり、放射ランダム拡散処理の場合は「m=1」である。また、「n」はキャラクタを識別する番号の添字であり、「π」は円周率である。さらに、「N」は「m=1」におけるキャラクタの総数であり、「θx」は、所定の方向(人が多く集まる場所やライバル店の場所など)にキャラクタを多く集める際に重み付けをするための関数または定数である。   “M” is a subscript indicating the diffusion ID of the character, and “m = 1” in the case of the radiation random diffusion process. “N” is a subscript of a number for identifying a character, and “π” is a circumference. Further, “N” is the total number of characters in “m = 1”, and “θx” is used for weighting when collecting many characters in a predetermined direction (such as a place where many people gather or a place of a rival store). Is a function or constant of

例えば、キャラクタの総数が「N=4」の場合には、キャラクタC11(n=1)、C12(n=2)、C13(n=3)及びC14(n=4)の移動方向θf11、θf12、θf13及びθf14は、(式1)に基づいて(式2)に示すように算出される。ただし、「θx」は「0」とする。   For example, when the total number of characters is “N = 4”, the movement directions θf11 and θf12 of the characters C11 (n = 1), C12 (n = 2), C13 (n = 3), and C14 (n = 4) , Θf13 and θf14 are calculated as shown in (Expression 2) based on (Expression 1). However, “θx” is “0”.

θf11 = 2π・1 / 4 + 0=π/2
θf12 = 2π・2 / 4 + 0= π
θf13 = 2π・3 / 4 + 0=3π/2
θf14 = 2π・4 / 4 + 0= 2π ・・・(式2)
θf11 = 2π · 1/4 + 0 = π / 2
θf12 = 2π · 2/4 + 0 = π
θf13 = 2π · 3/4 + 0 = 3π / 2
θf14 = 2π · 4/4 + 0 = 2π (Expression 2)

したがって、この場合には、図11に示すように、店舗位置Psを基点とすれば、各キャラクタを現実空間内において放射状に移動させることができるようになっている。   Therefore, in this case, as shown in FIG. 11, if the shop position Ps is used as a base point, each character can be moved radially in the real space.

一方、キャラクタにおける現実空間内の移動に関する移動方向がランダムに決定される場合には、各キャラクタmnの移動方向θfmnが、(式3)によって定められる。   On the other hand, when the movement direction related to the movement of the character in the real space is determined at random, the movement direction θfmn of each character mn is determined by (Equation 3).

θfmn = 2πRnd / Rndx + θx ・・・(式3)   θfmn = 2πRnd / Rndx + θx (Formula 3)

なお、「m」はキャラクタの拡散IDを示す添字であり、この拡散方法の場合は「m=1」である。また、「n」はキャラクタを識別する番号の添字であり、「π」は円周率であり、「Rnd」は情報処理手段980が取得する乱数である。さらに、「Rndx」は、情報処理手段980が取得する乱数の最大値であり、「θx」は、重み付けをするための関数または定数である。   “M” is a subscript indicating the diffusion ID of the character, and in the case of this diffusion method, “m = 1”. “N” is a subscript of a number for identifying a character, “π” is a circular ratio, and “Rnd” is a random number acquired by the information processing unit 980. Further, “Rndx” is a maximum value of random numbers acquired by the information processing unit 980, and “θx” is a function or constant for weighting.

例えば、キャラクタの総数が「N=4」の場合には、キャラクタC11(n=1)、C12(n=2)、C13(n=3)及びC14(n=4)の移動方向θf11、θf12、θf13及びθf14は、乱数に依存するので、図12に示すように、店舗位置Psを基点とすれば、各キャラクタを現実空間内においてランダムに移動させることができるようになっている。   For example, when the total number of characters is “N = 4”, the movement directions θf11 and θf12 of the characters C11 (n = 1), C12 (n = 2), C13 (n = 3), and C14 (n = 4) .Theta.f13 and .theta.f14 depend on random numbers, and as shown in FIG. 12, each character can be moved randomly in the real space using the store position Ps as a base point.

上記のように、放射状にまたはランダムにキャラクタの移動方向θfmnが決定されると、未取得クーポン拡散情報に規定された移動距離Rcaによって移動距離が決定されるようになっており、したがって、各キャラクタは、決定された移動方向θfmn及び移動距離Rcaに基づいて現実空間内を移動することができるようになっている。   As described above, when the moving direction θfmn of the character is determined radially or randomly, the moving distance is determined by the moving distance Rca defined in the unacquired coupon diffusion information. Can move in the real space based on the determined moving direction θfmn and the moving distance Rca.

[排他拡散処理の原理]
次に、図13及び図14の各図を用いて本実施形態のサーバ装置9において実行される排他拡散処理(m=2)の原理について説明する。なお、図13は、排他拡散処理(m=2)において他のキャラクタと関連して現実空間の移動制御を行う排他移動を説明するための図(その1)であり、図14は、排他拡散処理(m=2)において他のキャラクタと関連して現実空間の移動制御を行う排他移動を説明するための図(その2)である。
[Principle of exclusive diffusion processing]
Next, the principle of exclusive diffusion processing (m = 2) executed in the server device 9 of the present embodiment will be described with reference to FIGS. 13 and 14. FIG. 13 is a diagram (part 1) for explaining exclusive movement in which movement control of the real space is performed in association with other characters in the exclusive diffusion process (m = 2), and FIG. 14 is an exclusive diffusion. It is FIG. (2) for demonstrating the exclusive movement which performs movement control of a real space in relation to another character in a process (m = 2).

排他拡散処理は、サーバ装置9の情報処理手段980によって実行される拡散処理であって、現実空間において各キャラクタの当該現実空間内における位置が他のキャラクタの現実空間内における位置に接近している場合に各クーポン間の現実空間内における存在位置の距離を一定に保つように仮想的に拡散させる拡散処理である。   The exclusive diffusion process is a diffusion process executed by the information processing unit 980 of the server device 9, and the position of each character in the real space in the real space is close to the position of the other character in the real space. In this case, it is a diffusion process that virtually diffuses so that the distance between the positions of the coupons in the real space is kept constant.

排他拡散処理は、所定のタイミングから一定時間の経過前と経過後で、キャラクタの移動方向の決定方法を変更するようになっている。すなわち、この排他拡散処理は、所定のタイミングから一定時間の経過前には、算出されたキャラクタと他の(同一種別の)キャラクタとの距離に基づいてキャラクタが現実空間内を移動する移動方向を決定し、所定のタイミングから一定時間の経過後には、キャラクタが現実空間内を移動する移動方向をランダムに決定するようになっている。   In the exclusive diffusion process, the method for determining the moving direction of the character is changed before and after a lapse of a predetermined time from a predetermined timing. In other words, this exclusive diffusion process determines the moving direction in which the character moves in the real space based on the distance between the calculated character and another (of the same type) character before a predetermined time elapses from a predetermined timing. After a predetermined time has elapsed from a predetermined timing, the moving direction in which the character moves in the real space is randomly determined.

具体的には、算出されたキャラクタと(同一種別の)他のキャラクタとの距離に基づいてキャラクタが現実空間内を移動する移動方向を決定する拡散処理では、
(1)クーポン本体情報において基準となるキャラクタに対応付けて規定された現在位置Pcmnと、他の各キャラクタにおける同様に規定された現在位置Pcmnと、の距離Decの算出、
(2)各算出された距離Decと、未取得クーポン拡散情報に規定されたクーポン排他距離Dcと、の比較、
(3)クーポン排他距離Dcよりも算出された距離Decが小さい他のキャラクタに対する各離間方向(移動方向θfmn)の決定、
(4)各移動方向θfmnに基づく基準となるキャラクタの移動方向θfの決定、
を実行するようになっている。なお、他のキャラクタにおける離間方向の検出を行う場合には、距離Dcと距離Decの差異に基づいてベクトルの大きさをも算出し、ベクトル方向だけでなくその大きさを用いてキャラクタの移動方向θfを決定してもよい。
Specifically, in the diffusion process for determining the moving direction in which the character moves in the real space based on the calculated distance between the character and another character (of the same type),
(1) Calculation of the distance Dec between the current position Pcmn defined in association with the reference character in the coupon body information and the current position Pcmn similarly defined for each of the other characters,
(2) Comparison between each calculated distance Dec and the coupon exclusive distance Dc defined in the unacquired coupon diffusion information;
(3) Determination of each separation direction (movement direction θfmn) with respect to another character whose distance Dec is smaller than the coupon exclusive distance Dc,
(4) Determination of a character movement direction θf as a reference based on each movement direction θfmn,
Is supposed to run. In the case of detecting the separation direction in another character, the vector size is also calculated based on the difference between the distance Dc and the distance Dec, and the character moving direction is used using not only the vector direction but also the size. θf may be determined.

例えば、現実空間内に5つのキャラクタが存在している場合には、4つの距離Decが算出される。また、図13に示すように、キャラクタC21、C22とが互いにクーポン排他距離Dcよりも近い距離に接近して存在している場合であって、基準となるキャラクタがキャラクタC21の場合には、当該キャラクタC21のクーポン本体情報に記憶されているクーポン現在位置Pcmnを示すX−Y座標値から、他のキャラクタC22のクーポン本体情報に記憶されているクーポン現在位置Pcmnを示すX−Y座標値が減算されるとともに、離間する方向のベクトルが算出され、その向きを移動方向θf21として決定される。そして、同様にして、キャラクタC22が基準となるキャラクタの場合には、当該キャラクタC22の移動方向θf22は、キャラクタC22のX−Y座標値からキャラクタC21のX−Y座標値が減算されるとともに、離間する方向のベクトルが算出され、その向きが移動方向θf22として決定される。   For example, when there are five characters in the real space, four distances Dec are calculated. Further, as shown in FIG. 13, when the characters C21 and C22 are close to each other at a distance closer than the coupon exclusive distance Dc and the reference character is the character C21, The XY coordinate value indicating the coupon current position Pcmn stored in the coupon body information of the other character C22 is subtracted from the XY coordinate value indicating the coupon current position Pcmn stored in the coupon body information of the character C21. At the same time, a vector in the direction of separation is calculated, and its direction is determined as the movement direction θf21. Similarly, when the character C22 is a reference character, the movement direction θf22 of the character C22 is obtained by subtracting the XY coordinate value of the character C21 from the XY coordinate value of the character C22. A vector in the direction of separation is calculated, and the direction is determined as the movement direction θf22.

また、図14に示すように、キャラクタC23とC24とC25とが互いにクーポン排他距離Dcよりも近い距離に接近して存在している場合であって、キャラクタC23が基準となるキャラクタの場合には、キャラクタC23のクーポン現在位置Pc23と、キャラクタC24のクーポン現在位置Pc24と、キャラクタC25のクーポン現在位置Pc25に基づいて、それぞれが離間する方向のベクトルが算出されて合成される。この合成したベクトルが移動方向θf23となり、キャラクタC23の移動方向として決定される。また、同様にして、キャラクタC24、C25の移動方向も、移動方向θf24、θf25として算出される。   Further, as shown in FIG. 14, when the characters C23, C24, and C25 are close to each other closer to the coupon exclusive distance Dc, and the character C23 is a reference character, Based on the coupon current position Pc23 of the character C23, the coupon current position Pc24 of the character C24, and the coupon current position Pc25 of the character C25, vectors in the directions in which they are separated from each other are calculated and combined. This combined vector becomes the movement direction θf23 and is determined as the movement direction of the character C23. Similarly, the moving directions of the characters C24 and C25 are also calculated as the moving directions θf24 and θf25.

一方、キャラクタにおける現実空間内の移動に関する移動方向がランダムに決定される場合には、各キャラクタmnの移動方向θfmnが、上述と同様に、(式4)によって定められる。   On the other hand, when the movement direction related to the movement of the character in the real space is determined at random, the movement direction θfmn of each character mn is determined by (Equation 4) as described above.

θfmn = 2πRnd / Rndx + θx ・・・(式4)   θfmn = 2πRnd / Rndx + θx (Formula 4)

なお、「m」はキャラクタの拡散IDを示す添字であり、この拡散方法の場合は「m=2」である。また、「n」はキャラクタを識別する番号の添字であり、「π」は円周率であり、「Rnd」は情報処理手段980が取得する乱数である。さらに、「Rndx」は、情報処理手段980が取得する乱数の最大値であり、「θx」は、重み付けをするための関数または定数である。   Note that “m” is a subscript indicating the diffusion ID of the character, and in the case of this diffusion method, “m = 2”. “N” is a subscript of a number for identifying a character, “π” is a circular ratio, and “Rnd” is a random number acquired by the information processing unit 980. Further, “Rndx” is a maximum value of random numbers acquired by the information processing unit 980, and “θx” is a function or constant for weighting.

[基点重点拡散処理の原理]
次に、図15及び図16を用いて本実施形態のサーバ装置9において実行される基点重点拡散処理(m=3)の原理について説明する。なお、図15は、本実施形態において、店舗位置Psと各配布区域iとの関係を示す図であり、図16は、本実施形態において、全ての配布区域においてクーポン許容数に到達している場合の拡散処理について説明するための図である。
[Principle of base point weighted diffusion processing]
Next, the principle of the base point weighted diffusion process (m = 3) executed in the server device 9 of the present embodiment will be described using FIG. 15 and FIG. FIG. 15 is a diagram showing the relationship between the store position Ps and each distribution area i in this embodiment, and FIG. 16 has reached the allowable coupon number in all distribution areas in this embodiment. It is a figure for demonstrating the spreading | diffusion process in a case.

基点重点拡散処理は、サーバ装置9の情報処理手段980によって実行される拡散処理であって、現実空間におけるクーポンを配布する店舗周辺にキャラクタを仮想的に拡散させるための拡散処理である。   The base point importance diffusion process is a diffusion process executed by the information processing unit 980 of the server device 9 and is a diffusion process for virtually diffusing a character around a store that distributes a coupon in a real space.

基点重点拡散処理においては、現実空間においてキャラクタを配布する配布区域を定め、当該配布区域に存在する同一のキャラクタの数に基づいて、各キャラクタの現実空間内における拡散を制御するようになっている。また、基点重点拡散処理は、現実空間において設定された配布区域外へのキャラクタの拡散を禁止している。したがって、店舗位置Psに近い配布区域にキャラクタを多く集めることができるようになっている。   In the base point weighted diffusion process, a distribution area for distributing characters in the real space is defined, and diffusion of each character in the real space is controlled based on the number of the same characters existing in the distribution area. . Also, the base point weighted diffusion process prohibits the diffusion of characters outside the distribution area set in the real space. Therefore, many characters can be collected in the distribution area close to the store position Ps.

すなわち、基点重点拡散処理は、クーポン本体情報に規定された各キャラクタにおける提供半径Zxと、未取得クーポン拡散情報に規定された配布区域分割数I、当該配布区域分割数によって定められた配布区域境界半径割合と配布区域クーポン許容割合及び当該配布区域クーポン許容数を充満したか否かを判別する充満フラグに基づいて、各キャラクタの現実空間内における拡散を制御するようになっている。   That is, the base point emphasis diffusion process is performed by providing the distribution radius Zx in each character defined in the coupon body information, the distribution area division number I defined in the unacquired coupon diffusion information, and the distribution area boundary defined by the distribution area division number. The diffusion of each character in the real space is controlled based on a fill flag for determining whether or not the radius ratio, the distribution area coupon allowable ratio, and the distribution area coupon allowable number are satisfied.

具体的には、基点重点拡散処理においては、配布区域分割数I及び配布区域境界半径割合によって店舗毎のキャラクタにおける配布区域iが予め設定される。そして、基点重点拡散処理は、配布されるクーポン数及び各配布区域によって定められたクーポン許容割合によって算出された配布区域毎の許容クーポン数が予め設定される。   Specifically, in the base point weighted diffusion process, the distribution area i in the character for each store is preset according to the distribution area division number I and the distribution area boundary radius ratio. In the base point weighted diffusion process, the number of coupons to be distributed and the allowable number of coupons for each distribution area calculated based on the coupon allowable ratio determined by each distribution area are preset.

例えば、図15に示すように、布区域分割数I=3で、キャラクタの総数N=6の場合であって、配布区域1、配布区域2、配布区域3の各配布区域クーポン許容割合が3/6、2/6、1/6の場合には、それぞれをN=6倍して、配布区域1におけるクーポン許容数が3、配布区域2におけるクーポン許容数が2、配布区域3におけるクーポン許容数が1と算出される。なお、キャラクタの許容数が整数にならない場合には、例えば、小数点以下を切り捨てて整数部分のみを取得し、配布区域1に余りのクーポンを配置する。   For example, as shown in FIG. 15, when the cloth area division number I = 3 and the total number of characters N = 6, each distribution area coupon allowable ratio of distribution area 1, distribution area 2, and distribution area 3 is 3 In the case of / 6, 2/6, and 1/6, each is multiplied by N = 6, the coupon allowable number in the distribution area 1 is 3, the coupon allowable number in the distribution area 2 is 2, and the coupon allowable in the distribution area 3 The number is calculated as 1. If the allowable number of characters does not become an integer, for example, the decimal part is rounded down to obtain only the integer part, and a surplus coupon is arranged in the distribution area 1.

そして、基点重点拡散処理においては、基点となる店舗から所定の方向に一定時間毎に個々に予め設定された移動方向に向かって一定の速度(一定のタイミング)で各キャラクタを移動させる拡散処理が実行されるようになっている。   In the base point emphasis diffusion process, a diffusion process is performed in which each character is moved at a constant speed (a constant timing) in a predetermined direction in a predetermined direction from a store serving as a base point in a predetermined direction. It is supposed to be executed.

具体的には、ランダム拡散処理と同様に、各キャラクタmnの移動方向θfmnが、(式5)によって決定される。   Specifically, as in the random diffusion process, the moving direction θfmn of each character mn is determined by (Equation 5).

θfmn = 2πn / N + θx ・・・(式5)       θfmn = 2πn / N + θx (Formula 5)

なお、「m」はキャラクタの拡散IDを示す添字であり、この拡散方法の場合は「m=3」である。また、「n」はキャラクタを識別する番号の添字であり、「π」は円周率である。さらに、「N」は「m=1」におけるキャラクタの総数であり、「θx」は、所定の方向(人が多く集まる場所やライバル店の場所など)にキャラクタを多く集める際に重み付けをするための関数または定数である。   Note that “m” is a subscript indicating the diffusion ID of the character, and in the case of this diffusion method, “m = 3”. “N” is a subscript of a number for identifying a character, and “π” is a circumference. Further, “N” is the total number of characters in “m = 1”, and “θx” is used for weighting when collecting many characters in a predetermined direction (such as a place where many people gather or a place of a rival store). Is a function or constant of

例えば、図15に示すように、キャラクタの総数はN=6(θx=0)の場合には、6つのキャラクタの移動方向θfmnは、それぞれπ/3毎に振り分けられて、当該各移動方向移動方向θfmnに基づいてキャラクタC31〜C36を順次移動させる。   For example, as shown in FIG. 15, when the total number of characters is N = 6 (θx = 0), the movement directions θfmn of the six characters are distributed every π / 3, and the movement direction movements are performed. The characters C31 to C36 are sequentially moved based on the direction θfmn.

一方、基点重点拡散処理においては、現実空間において店舗から離れ過ぎるとクーポンとして顧客吸引力が低下するため、キャラクタが最外延の配布区域に属した場合には、当該キャラクタの移動方向がランダムに設定されて拡散されるようになっている。   On the other hand, in the base point emphasis diffusion process, if the character is in the outermost distribution area, if the character is in the outermost distribution area, the moving direction of the character is set randomly because the customer attraction is reduced as a coupon if it is too far from the store in the real space. Has been spread.

例えば、キャラクタが最外延の配布区域に属した場合には、図16に示すように、最外延の配布区域i=3に属するキャラクタC36は、ランダムに移動する。また、キャラクタの現実空間における移動方向がランダムに決定される場合には、放射ランダム拡散処理と同様に、各キャラクタmnの移動方向θfmnが、(式6)によって定められる。   For example, when the character belongs to the outermost distribution area, the character C36 belonging to the outermost distribution area i = 3 moves randomly as shown in FIG. Further, when the moving direction of the character in the real space is determined at random, the moving direction θfmn of each character mn is determined by (Equation 6) as in the random radiation diffusion process.

θfmn = 2πRnd / Rndx + θx ・・・(式6)   θfmn = 2πRnd / Rndx + θx (Expression 6)

なお、「m」はキャラクタの拡散IDを示す添字であり、この拡散方法の場合は「m=3」である。また、「n」はキャラクタを識別する番号の添字であり、「π」は円周率であり、「Rnd」は情報処理手段980が取得する乱数である。さらに、「Rndx」は、情報処理手段980が取得する乱数の最大値であり、「θx」は、重み付けをするための関数または定数である。   Note that “m” is a subscript indicating the diffusion ID of the character, and in the case of this diffusion method, “m = 3”. “N” is a subscript of a number for identifying a character, “π” is a circular ratio, and “Rnd” is a random number acquired by the information processing unit 980. Further, “Rndx” is a maximum value of random numbers acquired by the information processing unit 980, and “θx” is a function or constant for weighting.

他方、基点重点拡散処理において、各配布区域に属するキャラクタの現実空間において存在する数が、キャラクタの許容数に到達した場合には、当該配布区域の基点となる店舗に近い隣接する配布区域に属するキャラクタの移動方向が、上述と同様に、ランダムに設定されて拡散されるようになっている。このとき、各配布区域に属するキャラクタの現実空間における存在する数が、キャラクタの許容数に到達した場合には、充満フラグがTRUEに設定され、該当する配布区域をクーポン進入禁止区域に設定されてクーポン進入禁止区域情報が更新される。   On the other hand, in the base point weighted diffusion process, when the number of characters belonging to each distribution area in the real space reaches the allowable number of characters, it belongs to the adjacent distribution area close to the store serving as the base point of the distribution area. The moving direction of the character is set at random and spread as described above. At this time, if the number of characters belonging to each distribution area in the real space reaches the allowable number of characters, the fullness flag is set to TRUE, and the corresponding distribution area is set as a coupon entry prohibition area. Coupon entry prohibited area information is updated.

[拡散処理]
次に、図17を用いて本実施形態のサーバ装置9における情報処理手段980が実行する拡散処理の動作について説明する。なお、図17は、本実施形態におけるサーバ装置の情報処理手段が実行する拡散処理を説明するフローチャートである。
[Diffusion processing]
Next, the operation of the diffusion process executed by the information processing unit 980 in the server device 9 of this embodiment will be described with reference to FIG. FIG. 17 is a flowchart for explaining the diffusion processing executed by the information processing means of the server device in this embodiment.

本動作においては、既に、サーバ装置9の電源が投入されているとともに、情報処理手段980によって、RAM981、記録手段984、タイマーカウンタ990に対してエラーチェック及びリセットその他の開始処理が実行されているものとする。また、本動作は、開始処理の実行後であって実行定記録手段984の所定領域に記録されているプログラムがRAM981に転送された後に実行される。   In this operation, the server apparatus 9 is already powered on, and the information processing unit 980 has already executed error check, reset, and other start processing on the RAM 981, the recording unit 984, and the timer counter 990. Shall. This operation is executed after the start process is executed and the program recorded in the predetermined area of the execution fixed recording unit 984 is transferred to the RAM 981.

まず、情報処理手段980は、通信手段968、近距離無線通信手段965、入力手段970、表示手段972等の各周辺回路のエラーチェック及びリセットなどの初期設定を実行する(ステップS10)。このとき、情報処理手段980は、タイマーカウンタ990に対して、第1拡散時間Tとアイドル時間tの計測開始を指示する。そして、メインプログラムの実行に必要なRAM981の領域の確保及びフラグ等の設定を行う。   First, the information processing unit 980 performs initial settings such as error check and reset of each peripheral circuit such as the communication unit 968, the short-range wireless communication unit 965, the input unit 970, the display unit 972, and the like (step S10). At this time, the information processing unit 980 instructs the timer counter 990 to start measuring the first diffusion time T and the idle time t. Then, an area of the RAM 981 necessary for executing the main program is secured and a flag and the like are set.

次いで、情報処理手段990は、タイマーカウンタ990から日付及び現在時刻と、未取得クーポン拡散情報に規定された第1拡散時間Tc及びアイドル時間tcを読み出す。(ステップS12)。   Next, the information processing unit 990 reads the date and current time from the timer counter 990 and the first spreading time Tc and the idle time tc specified in the unacquired coupon spreading information. (Step S12).

次いで、情報処理手段980は、ステップS12にて計測開始されたアイドル時間tと、未取得クーポン拡散情報に含まれるアイドル時間tcと、を比較し、アイドル時間tの計測開始から所定の時間が経過したか否か、すなわち、「t」≧「tc」であるか否かを判断する(ステップS14)。このとき、情報処理手段980は、未だアイドル時間tがアイドル時間tc未満であると判断した場合には、ステップS28の処理に移行し(ステップS14:No)、アイドル時間tがアイドル時間tc以上であると判断した場合には、ステップS15の処理に移行する(ステップS14:Yes)。   Next, the information processing means 980 compares the idle time t started measurement in step S12 with the idle time tc included in the unacquired coupon diffusion information, and a predetermined time has elapsed from the start of measurement of the idle time t. It is determined whether or not “t” ≧ “tc” (step S14). At this time, if the information processing means 980 determines that the idle time t is still less than the idle time tc, the information processing means 980 proceeds to the process of step S28 (step S14: No), and the idle time t is equal to or greater than the idle time tc. If it is determined that there is, the process proceeds to step S15 (step S14: Yes).

次いで、情報処理手段980は、「t−tc」を算出し、その結果を「t」に代入し、アイドル時間をリセットする(ステップS15)。すなわち、情報処理手段980は、算出した「t」の値を、タイマーカウンタ990にセットし、再度、アイドル時間の計測を開始する。   Next, the information processing unit 980 calculates “t−tc”, substitutes the result for “t”, and resets the idle time (step S15). That is, the information processing unit 980 sets the calculated “t” value in the timer counter 990 and starts measuring the idle time again.

次いで、情報処理手段980は、第1拡散時間Tc(初期拡散時間)に基づいて、複数のキャラクタを、当該キャラクタを提供する店舗位置などの基点から放射状に現実空間内を拡散移動させるための放射ランダム拡散処理(m=1)を行う(ステップS16)。具体的には、情報処理手段980は、第1拡散時間Tc(初期拡散時間)内においては複数のキャラクタを基点から放射状に現実空間内を拡散移動させるための拡散処理を実行し、第1拡散時間Tc経過後においては、乱数を用いてキャラクタの拡散方向を変更させて現実空間内を拡散移動させるための拡散処理を行う。なお、このステップS16における放射ランダム拡散処理(m=1)の処理の詳細については、後述する。   Next, the information processing unit 980 performs radiation for diffusing and moving a plurality of characters radially in the real space from a base point such as a store position that provides the character based on the first diffusion time Tc (initial diffusion time). Random diffusion processing (m = 1) is performed (step S16). Specifically, the information processing unit 980 performs a diffusion process for diffusing and moving a plurality of characters radially from the base point in the real space within the first diffusion time Tc (initial diffusion time). After the time Tc elapses, a diffusion process is performed to change the character diffusion direction using a random number to diffuse and move in the real space. The details of the radiation random diffusion process (m = 1) in step S16 will be described later.

次いで、情報処理手段980は、第1拡散時間Tc(初期拡散時間)に基づいて、複数のキャラクタを、排他拡散処理を実行する(ステップS18)。具体的には、情報処理手段980は、第1拡散時間Tc(初期拡散時間)内においては、乱数を用いてキャラクタの拡散方向を変更させて現実空間内を拡散移動させるための拡散処理を実行し、第1拡散時間Tc経過後においては、複数のキャラクタの現実空間内における距離を算出し、キャラクタ間の距離が所定の距離よりも接近している場合に、接近しているキャラクタから離間する方向に現実空間内を拡散移動させる拡散処理を実行する。なお、このステップS18における排他拡散処理の詳細については、後述する。   Next, the information processing unit 980 performs exclusive diffusion processing on a plurality of characters based on the first diffusion time Tc (initial diffusion time) (step S18). Specifically, the information processing unit 980 performs a diffusion process for changing the character diffusion direction using a random number and performing diffusion movement in the real space within the first diffusion time Tc (initial diffusion time). Then, after the first diffusion time Tc elapses, the distances of the plurality of characters in the real space are calculated, and when the distance between the characters is closer than a predetermined distance, the characters are separated from the approaching characters. A diffusion process for diffusing and moving in the real space in the direction is executed. The details of the exclusive diffusion process in step S18 will be described later.

次いで、情報処理手段980は、複数のキャラクタを、当該キャラクタを提供する店舗位置などの基点付近に多く配置する基点重点拡散処理を実行する(ステップS20)。具体的には、情報処理手段980は、初期段階においては複数のキャラクタを基点から放射状に拡散移動させるとともに、キャラクタが各配布区域内に許容される割合に到達した場合に、各配布区域内においてキャラクタの拡散方向を変更させて、基点に重点的に拡散されるための処理を行う。なお、ステップS20における基点重点拡散処理の詳細については、後述する。   Next, the information processing unit 980 performs base point weighted diffusion processing in which a plurality of characters are arranged in the vicinity of the base point such as the store position where the character is provided (step S20). Specifically, in the initial stage, the information processing unit 980 diffuses and moves a plurality of characters radially from the base point, and when the characters reach a permissible ratio in each distribution area, By changing the diffusion direction of the character, a process for diffusing mainly on the base point is performed. The details of the base point weight diffusion process in step S20 will be described later.

次いで、情報処理手段980は、入力手段770等を介して当該本処理のプログラムを終了する指示が入力されたか否かの判断を行う(ステップS28)。このとき、情報処理手段980は、終了の指示が入力されたと判断した場合には、ステップS30の処理に移行し(ステップS28:Yes)、プログラムを終了する指示が入力されていないと判断した場合には(ステップS28:No)、ステップS12の処理に移行し、拡散処理を継続して繰り返し行う。   Next, the information processing unit 980 determines whether or not an instruction to end the program of the processing is input via the input unit 770 or the like (step S28). At this time, when the information processing means 980 determines that an instruction to end is input, the process proceeds to step S30 (step S28: Yes), and when it is determined that an instruction to end the program is not input. (Step S28: No), the process proceeds to Step S12, and the diffusion process is continuously repeated.

次いで、情報処理手段980は、ステップS28の処理において、終了の指示が入力されたと判断した場合には、RAM981に記録されていた情報のうち必要な情報を記録手段984に退避させる処理等の終了処理、及び、電源の遮断を実行し(ステップS30)、本動作を終了させる。   Next, when the information processing unit 980 determines in the process of step S28 that an end instruction has been input, the information processing unit 980 ends the process of saving necessary information among the information recorded in the RAM 981 to the recording unit 984. Processing and power-off are executed (step S30), and this operation is terminated.

[放射ランダム拡散処理]
次に、図18及び図19を用いてサーバ装置9の情報処理手段980が実行する放射ランダム拡散処理(m=1)について説明する。
[Radial random diffusion treatment]
Next, the radiation random diffusion process (m = 1) executed by the information processing unit 980 of the server device 9 will be described with reference to FIGS. 18 and 19.

なお、図18及び図19は、本実施形態におけるサーバ装置9の情報処理手段980が実行する放射ランダム拡散処理(m=1)について説明するフローチャートである。   18 and 19 are flowcharts for explaining the radiation random diffusion process (m = 1) executed by the information processing unit 980 of the server device 9 in the present embodiment.

本動作は、図17に示す拡散処理におけるステップS16の放射ランダム拡散処理が実行されたときに、実行される処理である。   This operation is a process executed when the radiation random diffusion process of step S16 in the diffusion process shown in FIG. 17 is executed.

まず、情報処理手段980は、各キャラクタを現実空間内で拡散させるために、RAM781におけるクーポン番号を書き込む作業領域を初期値(n=0)にリセットし(ステップS112)、次のクーポン番号(n=n+1)をセットするとともにクーポン現在位置Pcmnを更新する。(ステップS114)。情報処理手段980は、ステップS114の処理において、クーポン本体情報において、セットされたクーポン番号に対応するクーポン次位置Pfmnをクーポン現在位置Pcmnに更新する。   First, the information processing unit 980 resets the work area in which the coupon number is written in the RAM 781 to the initial value (n = 0) in order to diffuse each character in the real space (step S112), and the next coupon number (n = N + 1) is set and the coupon current position Pcmn is updated. (Step S114). In the process of step S114, the information processing means 980 updates the coupon next position Pfmn corresponding to the set coupon number to the coupon current position Pcmn in the coupon body information.

次いで、情報処理手段980は、ステップS114によってセットされたクーポン番号に基づいて、クーポン本体情報における未取得クーポン拡散IDmを読み出し、当該読み出したクーポン拡散IDmが放射ランダム拡散処理m=1と同一であるか否かを判断する(ステップS116)。   Next, the information processing means 980 reads the unacquired coupon diffusion IDm in the coupon body information based on the coupon number set in step S114, and the read coupon diffusion IDm is the same as the radiation random diffusion processing m = 1. Is determined (step S116).

ステップS116の処理において、情報処理手段980は、当該読み出したクーポン拡散IDmが放射ランダム拡散処理m=1と同一であると判断した場合には(ステップS116:Yes)、ステップS118の処理に移行し、当該読み出したクーポン拡散IDmが放射ランダム拡散処理m=1と同一でないと判断した場合には(ステップS116:No)、ステップS160の処理に移行する。   In the process of step S116, if the information processing means 980 determines that the read coupon diffusion IDm is the same as the radiation random diffusion process m = 1 (step S116: Yes), the process proceeds to the process of step S118. If it is determined that the read coupon diffusion IDm is not the same as the radiation random diffusion process m = 1 (step S116: No), the process proceeds to step S160.

次いで、情報処理手段980は、ステップS114によってセットされたクーポン番号に基づいて、記録手段984に記録されたクーポン本体情報における所定のクーポン番号の取得済判定フラグを読み出し、当該取得済判定フラグがTRUEであるか否かの判断を行う(ステップS118)。   Next, the information processing unit 980 reads the acquired determination flag of the predetermined coupon number in the coupon body information recorded in the recording unit 984 based on the coupon number set in step S114, and the acquired determination flag is TRUE. Is determined (step S118).

なお、取得済判定フラグは、サーバ装置9の拡散処理におけるステップS10にてFALSEに初期設定されている。また、取得済判定フラグは、図25のステップS676にてサーバ装置9が携帯用端末装置7にクーポンコンテンツ情報を送信したときに、TRUEにセットされる。   Note that the acquired determination flag is initially set to FALSE in step S10 in the diffusion processing of the server device 9. The acquired determination flag is set to TRUE when the server device 9 transmits coupon content information to the portable terminal device 7 in step S676 of FIG.

ステップS118の処理において、情報処理手段980は、取得済判定情報がTRUEであると判断した場合には(ステップS118:Yes)、ステップS114の処理に戻り、次のクーポン番号nについて拡散処理を行う。また、ステップS118において、情報処理手段980は、取得済判定情報がTRUEでないと判断した場合には(ステップS118:No)、ステップS119の処理に移行する。   In the process of step S118, when the information processing means 980 determines that the acquired determination information is TRUE (step S118: Yes), the process returns to the process of step S114 and performs the diffusion process for the next coupon number n. . In step S118, if the information processing unit 980 determines that the acquired determination information is not TRUE (step S118: No), the information processing unit 980 proceeds to the process of step S119.

次いで、情報処理手段980は、ステップS118の処理において、取得済判定情報がTRUEでないと判断した場合には、セットされたクーポン番号に基づいて、記クーポン本体情報において該当するクーポン提供期間の情報と現在の日時情報とを読み出して、現在の日時がクーポン提供期間内であるか否かを判断する(ステップS119)。このとき、情報処理手段980は、現在の日時がクーポン提供期間外であると判断した場合には(ステップS119:No)、ステップS114の処理に戻り、現在の日時がクーポン提供期間内であると判断した場合には(ステップS119:Yes)、ステップS120の処理に移行する。   Next, when the information processing unit 980 determines in the process of step S118 that the acquired determination information is not TRUE, based on the set coupon number, the information on the coupon providing period corresponding to the coupon main body information and The current date and time information is read out, and it is determined whether or not the current date and time is within the coupon provision period (step S119). At this time, if the information processing means 980 determines that the current date and time is outside the coupon provision period (step S119: No), the process returns to step S114, and the current date and time is within the coupon provision period. If it is determined (step S119: Yes), the process proceeds to step S120.

次いで、情報処理手段980は、ステップS119の処理において、現在の日時がクーポン提供期間内であると判断した場合には、ステップS12において計測開始された第1拡散時間T及び未取得クーポン拡散情報に規定された第1拡散時間Tcとを比較し、計測された拡散時間Tが規定された第1拡散時間Tcを経過したか否かを判断する(ステップS120)。このとき、情報処理手段980は、計測された拡散時間Tが規定された第1拡散時間Tcを経過していない(T<Tc)と判断した場合には(ステップS120:No)、ステップS122の処理に移行し、計測された拡散時間Tが規定された第1拡散時間Tcを経過した(T≧Tc)と判断した場合には(ステップS120:Yes)、ステップS124の処理に移行する。   Next, when the information processing unit 980 determines in the process of step S119 that the current date and time is within the coupon provision period, the information processing unit 980 uses the first spreading time T and the unacquired coupon spreading information started in step S12. It is compared with the prescribed first diffusion time Tc, and it is determined whether or not the measured diffusion time T has passed the prescribed first diffusion time Tc (step S120). At this time, if the information processing means 980 determines that the measured diffusion time T has not passed the defined first diffusion time Tc (T <Tc) (step S120: No), the information processing unit 980 performs step S122. When the process proceeds to the process and it is determined that the measured diffusion time T has passed the defined first diffusion time Tc (T ≧ Tc) (step S120: Yes), the process proceeds to step S124.

次いで、情報処理手段980は、ステップS120の処理において、計測された拡散時間Tが規定された第1拡散時間Tcを経過していない(T<Tc)と判断した場合には、移動方向θfmnを放射状(θfmn=2πn/N+θx)に決定し(ステップS122)、ステップS140の処理に移行する。   Next, when the information processing means 980 determines in the process of step S120 that the measured diffusion time T has not passed the prescribed first diffusion time Tc (T <Tc), the information processing unit 980 sets the movement direction θfmn to Radial (θfmn = 2πn / N + θx) is determined (step S122), and the process proceeds to step S140.

一方、情報処理手段980は、ステップS120の処理において、計測された拡散時間Tが規定された第1拡散時間Tcを経過した(T≧Tc)と判断した場合には、移動方向θfmnをランダム(θfmn=2πRnd/Rndx+θx)に決定し(ステップS124)、ステップS140の処理に移行する。   On the other hand, if the information processing means 980 determines in the process of step S120 that the measured diffusion time T has passed the defined first diffusion time Tc (T ≧ Tc), the information processing unit 980 sets the movement direction θfmn to random ( θfmn = 2πRnd / Rndx + θx) is determined (step S124), and the process proceeds to step S140.

次いで、情報処理手段980は、未取得クーポン拡散情報から該当する移動距離Rcaを読み出して移動距離Rmnに設定する(ステップS140)。   Next, the information processing means 980 reads the corresponding travel distance Rca from the unacquired coupon diffusion information and sets it as the travel distance Rmn (step S140).

次いで、情報処理手段980は、ステップS122、S124またはS146の処理によって決定された移動方向θfmnと、ステップS140の処理によって設定された移動距離Rmnとに基づいて、このR−θ座標系をX−Y座標系に変換する処理を行いつつ、キャラクタのクーポン現在位置Pcmnに加算し、次の移動先であるクーポン次位置Pfmnを算出する(ステップS142)。   Next, the information processing means 980 converts this R-θ coordinate system to X− based on the moving direction θfmn determined by the process of step S122, S124 or S146 and the moving distance Rmn set by the process of step S140. While performing the process of conversion to the Y coordinate system, the character is added to the current coupon position Pcmn of the character to calculate the next coupon position Pfmn, which is the next destination (step S142).

次いで、情報処理手段980は、ステップS142において算出したクーポン次位置Pfmnと、クーポン本体情報に規定された店舗位置Ps及び提供半径Zxとに基づいて、クーポン次位置Pfmnが、店舗位置Psを中心とする提供半径Zx内の提供圏内に存在しているか否かの判断を行う(ステップS144)。このとき、情報処理手段980は、クーポン次位置Pfmnが提供圏内に存在していない(提供圏外に存在している)と判断した場合には(ステップS144:No)、ステップS146の処理に移行し、クーポン次位置Pfmnが提供圏内に存在していると判断した場合には(ステップS144:Yes)、ステップS148の処理に移行する。   Next, the information processing means 980 determines that the coupon next position Pfmn is centered on the store position Ps based on the coupon next position Pfmn calculated in step S142 and the store position Ps and the providing radius Zx defined in the coupon body information. It is determined whether or not the user is within the service area within the service radius Zx (step S144). At this time, if the information processing means 980 determines that the coupon next position Pfmn does not exist within the service area (is present outside the service area) (step S144: No), the processing proceeds to the process of step S146. If it is determined that the coupon next position Pfmn exists within the service area (step S144: Yes), the process proceeds to step S148.

次いで、情報処理手段980は、ステップS144の処理において、クーポン次位置Pfmnが提供圏内に存在していないと判断した場合には、キャラクタの移動方向θfmnを反転させて所定の値を加算し(ステップS146)、ステップS142の処理に移行する。このとき、情報処理手段980は、算出された値を新たな移動方向としてθfmnに設定する。   Next, when it is determined in step S144 that the coupon next position Pfmn does not exist within the service area, the information processing unit 980 reverses the character movement direction θfmn and adds a predetermined value (step S144). S146), the process proceeds to step S142. At this time, the information processing unit 980 sets the calculated value as θfmn as a new movement direction.

次いで、情報処理手段980は、ステップS144の処理において、クーポン次位置Pfmnが提供圏内に存在している判断した場合には、算出したクーポン次位置Pfmnが、クーポン本体情報に規定された禁止区域IDに関連づけられた進入禁止区域情報で規定されるクーポン進入禁止区域内(W)に存在しているか否かの判断を行う(ステップS148)。具体的には、情報処理手段980は、クーポン本体情報に規定された禁止区域IDに関連づけられた進入禁止区域情報を読み出す。そして、情報処理手段980は、当該進入禁止区域情報に含まれる中心緯度及び中心経度と、進入禁止区域半径とに基づいて、算出したクーポン次位置Pfmnが、クーポン進入禁止区域内(W)に存在しているか否かの判断を行う。このとき、情報処理手段980は、算出したクーポン次位置Pfmnが、クーポン進入禁止区域内(W)に存在していると判断した場合には(ステップS148:Yes)、ステップS150の処理に移行し、算出したクーポン次位置Pfmnが、クーポン進入禁止区域内(W)に存在していないと判断した場合には(ステップS148:No)、ステップS156の処理に移行する。   Next, when the information processing means 980 determines in step S144 that the coupon next position Pfmn exists within the service area, the calculated coupon next position Pfmn is the prohibited area ID defined in the coupon body information. It is determined whether or not it exists in the coupon entry prohibited area (W) defined by the entry prohibited area information associated with (step S148). Specifically, the information processing unit 980 reads out the prohibited entry area information associated with the prohibited area ID defined in the coupon body information. Then, the information processing means 980 has the calculated coupon next position Pfmn present in the coupon entry prohibited area (W) based on the center latitude and center longitude included in the entry prohibited area information and the entry prohibited area radius. Judge whether or not. At this time, if the information processing means 980 determines that the calculated coupon next position Pfmn exists within the coupon entry prohibited area (W) (step S148: Yes), the processing proceeds to the process of step S150. If it is determined that the calculated coupon next position Pfmn does not exist in the coupon entry prohibited area (W) (step S148: No), the process proceeds to step S156.

次いで、情報処理手段980は、ステップS148の処理において、算出したクーポン次位置Pfmnが、クーポン進入禁止区域内(W)に存在していると判断した場合には、算出された移動方向θfmnがステップS124のランダムに決定されたものであるか否かの判断を行う(ステップS150)。このとき、情報処理手段980は、算出された移動方向θfmnがランダムに決定されたものでないと判断した場合には(ステップS150:No)、ステップS152の処理に移行し、算出された移動方向θfmnがランダムに決定されたものであると判断した場合には(ステップS150:Yes)、ステップS154の処理に移行する。   Next, when the information processing means 980 determines in step S148 that the calculated coupon next position Pfmn exists within the coupon entry prohibited area (W), the calculated moving direction θfmn is stepped. It is determined whether or not it is determined at random in step S124 (step S150). At this time, if the information processing means 980 determines that the calculated moving direction θfmn is not determined at random (step S150: No), the information processing unit 980 proceeds to the process of step S152 and calculates the calculated moving direction θfmn. Is determined at random (step S150: Yes), the process proceeds to step S154.

次いで、情報処理手段980は、ステップS150の処理において、算出された移動方向θfmnがランダムに決定されたものでないと判断した場合には、次位置Pfmnに基づいて新たな次位置Pfmnを計算し(ステップS152)、ステップS144の処理に移行する。具体的には、情報処理手段980は、ステップS122、S124またはS146の処理によって決定された移動方向θfmnと、ステップS140の処理によって設定された移動距離Rmnを座標変換し、座標変換した値に更にクーポン次位置Pfmnに加算して、再度クーポン次位置Pfmnを算出する。なお、この処理は、クーポン進入禁止区域を素通りして、クーポン進入禁止区域を超えた先までキャラクタを移動させるための処理である。   Next, when the information processing means 980 determines in step S150 that the calculated moving direction θfmn is not determined at random, it calculates a new next position Pfmn based on the next position Pfmn ( The process proceeds to step S152) and step S144. Specifically, the information processing unit 980 performs coordinate conversion on the movement direction θfmn determined by the process of step S122, S124, or S146 and the movement distance Rmn set by the process of step S140, and further converts the coordinate value to the coordinate-converted value. The coupon next position Pfmn is calculated again by adding to the coupon next position Pfmn. This process is a process for moving the character past the coupon entry prohibited area and passing the coupon entry prohibited area.

次いで、情報処理手段980は、ステップS150の処理において、算出された移動方向θfmnがランダムに決定されたものであると判断した場合には、クーポン本体情報に対してクーポン次位置Pfmnを更新し(ステップS154)、ステップS160の処理に移行する。具体的には、情報処理手段980は、ステップS142またはステップS152において算出されたクーポン次位置Pfmnを、クーポン本体情報に対して更新する。ただし、情報処理手段980は、携帯用端末装置7の表示手段772上では、キャラクタがクーポン進入禁止区域域の手前に表示させるための情報を補足情報としてクーポン本体情報に規定する。   Next, when the information processing means 980 determines in step S150 that the calculated movement direction θfmn is determined at random, it updates the coupon next position Pfmn with respect to the coupon body information ( Step S154) and the process proceeds to step S160. Specifically, the information processing unit 980 updates the coupon next position Pfmn calculated in step S142 or step S152 with respect to the coupon body information. However, the information processing unit 980 prescribes information for the character to display in front of the coupon entry prohibited area on the display unit 772 of the portable terminal device 7 as supplementary information in the coupon body information.

次いで、情報処理手段980は、ステップS148の処理において、算出したクーポン次位置Pfmnが、クーポン進入禁止区域内(W)に存在していないと判断した場合には、クーポン本体情報に対してクーポン次位置Pfmnを更新し(ステップS156)、ステップS160の処理に移行する。具体的には、情報処理手段980は、ステップS142またはステップS152において算出されたクーポン次位置Pfmnを、RAM981に記録されたクーポン本体情報に対して更新する。   Next, when the information processing means 980 determines that the calculated next coupon position Pfmn does not exist in the coupon entry prohibited area (W) in the process of step S148, the next coupon information is applied to the coupon body information. The position Pfmn is updated (step S156), and the process proceeds to step S160. Specifically, the information processing means 980 updates the coupon next position Pfmn calculated in step S142 or step S152 with respect to the coupon main body information recorded in the RAM 981.

最後に、情報処理手段980は、現在のクーポン番号nが、キャラクタの総数Nであるか否かの判断を行う(ステップS160)。このとき、情報処理手段980は、現在のクーポン番号nがキャラクタの総数Nでないと判断した場合には(ステップS160:No)、ステップS114の処理に戻り、現在のクーポン番号nがキャラクタの総数Nであると判断した場合には(ステップS160:Yes)、放射ランダム拡散処理を終了させて拡散処理に戻る。   Finally, the information processing unit 980 determines whether or not the current coupon number n is the total number N of characters (step S160). At this time, if the information processing unit 980 determines that the current coupon number n is not the total number N of characters (step S160: No), the processing returns to step S114, and the current coupon number n is the total number N of characters. If it is determined that it is (step S160: Yes), the radiation random diffusion process is terminated and the process returns to the diffusion process.

[排他拡散処理]
次に、図20及び図21を用いてサーバ装置9の情報処理手段980が実行する排他拡散処理(m=2)について説明する。なお、図20及び図21は、サーバ装置9の情報処理手段980が実行する排他拡散処理(m=2)について説明するフローチャートである。
[Exclusive diffusion processing]
Next, the exclusive diffusion process (m = 2) executed by the information processing unit 980 of the server device 9 will be described with reference to FIGS. 20 and 21 are flowcharts illustrating the exclusive diffusion process (m = 2) executed by the information processing unit 980 of the server device 9.

本動作は、図17に示す拡散処理におけるステップS18の排他拡散処理が実行されたときに、実行される処理である。   This operation is a process executed when the exclusive diffusion process of step S18 in the diffusion process shown in FIG. 17 is executed.

なお、取得済判定フラグは、サーバ装置9の拡散処理におけるステップS10にてFALSEに初期設定されている。また、取得済判定フラグは、図25のステップS676にてサーバ装置9が携帯用端末装置7にクーポンコンテンツ情報を送信したときに、TRUEにセットされる。   Note that the acquired determination flag is initially set to FALSE in step S10 in the diffusion processing of the server device 9. The acquired determination flag is set to TRUE when the server device 9 transmits coupon content information to the portable terminal device 7 in step S676 of FIG.

まず、情報処理手段980は、各キャラクタを現実空間内で拡散させるために、RAM781におけるクーポン番号を書き込む作業領域を初期値(n=0)にリセットし(ステップS212)、次のクーポン番号(n=n+1)をセットするとともにクーポン現在位置Pcmnを更新する(ステップS214)。情報処理手段980は、ステップS214の処理において、クーポン本体情報において、セットされたクーポン番号に対応するクーポン次位置Pfmnをクーポン現在位置Pcmnに更新する。   First, the information processing means 980 resets the work area in which the coupon number is written in the RAM 781 to the initial value (n = 0) in order to diffuse each character in the real space (step S212), and the next coupon number (n = N + 1) is set and the coupon current position Pcmn is updated (step S214). In the process of step S214, the information processing means 980 updates the coupon next position Pfmn corresponding to the set coupon number to the coupon current position Pcmn in the coupon body information.

次いで、情報処理手段980は、ステップS214によってセットされたクーポン番号に基づいて、記録手段984に記録されたクーポン本体情報におけるクーポン拡散IDmを読み出し、当該読み出したクーポン拡散IDmが放射ランダム拡散処理m=2と同一であるか否かを判断する(ステップS216)。   Next, the information processing means 980 reads the coupon diffusion IDm in the coupon body information recorded in the recording means 984 based on the coupon number set in step S214, and the read coupon diffusion IDm is the radiation random diffusion processing m =. It is determined whether or not the same as 2 (step S216).

ステップS216の処理において、情報処理手段980は、当該読み出したクーポン拡散IDmが放射ランダム拡散処理m=2と同一であると判断した場合には(ステップS216:Yes)、ステップS218の処理に移行し、当該読み出したクーポン拡散IDmが放射ランダム拡散処理m=2と同一でないと判断した場合には(ステップS216:No)、ステップS260の処理に移行する。   In the process of step S216, when the information processing means 980 determines that the read coupon diffusion IDm is the same as the radiation random diffusion process m = 2 (step S216: Yes), the process proceeds to the process of step S218. When it is determined that the read coupon diffusion IDm is not the same as the radiation random diffusion process m = 2 (step S216: No), the process proceeds to step S260.

次いで、情報処理手段980は、ステップS214によってセットされたクーポン番号に基づいて、クーポン本体情報における所定のクーポン番号の取得済判定フラグを読み出し、当該取得済判定フラグがTRUEであるか否かの判断を行う(ステップS218)。   Next, the information processing means 980 reads an acquired determination flag for a predetermined coupon number in the coupon body information based on the coupon number set in step S214, and determines whether the acquired determination flag is TRUE. Is performed (step S218).

なお、取得済判定フラグは、サーバ装置9の拡散処理におけるステップS10においてFALSEに初期設定されている。また、取得済判定フラグは、図25のステップS676にて携帯用端末装置7がクーポンコンテンツ情報を取得した場合に、TRUEにセットされる。   The acquired determination flag is initially set to FALSE in step S <b> 10 in the diffusion process of the server device 9. The acquired determination flag is set to TRUE when the portable terminal device 7 acquires coupon content information in step S676 of FIG.

ステップS218の処理において、情報処理手段980は、取得済判定情報がTRUEであると判断した場合には(ステップS218:Yes)、ステップS214の処理に戻り、次のクーポン番号nについて拡散処理を行う。また、ステップS218において、情報処理手段980は、取得済判定情報がTRUEでないと判断した場合には(ステップS218:No)、ステップS219の処理に移行する。   In the process of step S218, when the information processing means 980 determines that the acquired determination information is TRUE (step S218: Yes), the process returns to the process of step S214 and performs the diffusion process for the next coupon number n. . In step S218, if the information processing unit 980 determines that the acquired determination information is not TRUE (step S218: No), the information processing unit 980 proceeds to the process of step S219.

次いで、情報処理手段980は、ステップS218の処理において、取得済判定情報がTRUEでないと判断した場合には、セットされたクーポン番号に基づいて、クーポン本体情報において該当するクーポン提供期間の情報と現在の日時情報とを読み出して、現在の日時がクーポン提供期間内であるか否かを判断する(ステップS219)。このとき、情報処理手段980は、現在の日時がクーポン提供期間外であると判断した場合には(ステップS219:No)、ステップS214の処理に戻り、現在の日時がクーポン提供期間内であると判断した場合には(ステップS219:Yes)、ステップS220の処理に移行する。   Next, when the information processing unit 980 determines that the acquired determination information is not TRUE in the process of step S218, based on the set coupon number, the information on the coupon provision period corresponding to the coupon provision period information and the current Date / time information is read out to determine whether or not the current date and time is within the coupon provision period (step S219). At this time, if the information processing means 980 determines that the current date and time is outside the coupon provision period (step S219: No), the process returns to step S214, and the current date and time is within the coupon provision period. If it is determined (step S219: Yes), the process proceeds to step S220.

次いで、情報処理手段980は、ステップS219の処理において、現在の日時がクーポン提供期間内であると判断した場合には、ステップS212において計測開始された第1拡散時間T及び未取得クーポン拡散情報に規定された第1拡散時間Tcとを比較し、計測された拡散時間Tが規定された第1拡散時間Tcを経過したか否かを判断する(ステップS220)。   Next, when the information processing unit 980 determines in the process of step S219 that the current date and time is within the coupon provision period, the information processing unit 980 displays the first spreading time T and the unacquired coupon spreading information that are started in step S212. It is compared with the prescribed first diffusion time Tc, and it is determined whether or not the measured diffusion time T has passed the prescribed first diffusion time Tc (step S220).

次いで、情報処理手段980は、ステップS220の処理において、計測された拡散時間Tが規定された第1拡散時間Tcを経過していない(T<Tc)と判断した場合には(ステップS220:No)、移動方向θfmnをランダム(θfmn=2πRnd/Rndx+θx)に決定する(ステップS226)。   Next, when the information processing means 980 determines in the process of step S220 that the measured diffusion time T has not passed the prescribed first diffusion time Tc (T <Tc) (step S220: No) ), The moving direction θfmn is randomly determined (θfmn = 2πRnd / Rndx + θx) (step S226).

次いで、情報処理手段980は、RAM981に記録された未取得クーポン拡散情報から該当する移動距離Rcaをキャラクタを現実空間内において移動させるために用いる移動距離Rmnに設定し(ステップS240)、ステップS242の処理に移行する。   Next, the information processing means 980 sets the corresponding movement distance Rca from the unacquired coupon diffusion information recorded in the RAM 981 to the movement distance Rmn used for moving the character in the real space (step S240). Transition to processing.

次いで、情報処理手段980は、ステップS220の処理において、計測された拡散時間Tが規定された第1拡散時間Tcを経過した(T≧Tc)と判断した場合には(ステップS220:Yes)、クーポン本体情報に記録されている該当する現在位置Pcmnと、他のキャラクタとの距離Decを、それぞれ算出する(ステップS222)。   Next, when the information processing unit 980 determines in the process of step S220 that the measured diffusion time T has passed the defined first diffusion time Tc (T ≧ Tc) (step S220: Yes), A distance Dec between the corresponding current position Pcmn recorded in the coupon body information and another character is calculated (step S222).

次いで、情報処理手段980は、RAM981に記録された未取得クーポン拡散情報におけるクーポン排他距離Dcと、先のステップS222にて算出された各距離Decとを読み出して比較し、現実空間において基準となるキャラクタの所定の範囲内に他のキャラクタが存在しているか否か、すなわち、規定されたクーポン排他距離Dcよりも小さい算出された距離Decがあるか否かを判断する(ステップS224)。このとき、情報処理手段980は、現実空間において所定の範囲内にキャラクタが存在していないと判断した場合には(ステップS224:No)、ステップS226の処理に移行する。   Next, the information processing unit 980 reads and compares the coupon exclusive distance Dc in the unacquired coupon diffusion information recorded in the RAM 981 and each distance Dec calculated in the previous step S222 and becomes a reference in the real space. It is determined whether or not another character exists within a predetermined range of the character, that is, whether or not there is a calculated distance Dec that is smaller than the prescribed coupon exclusive distance Dc (step S224). At this time, if the information processing means 980 determines that there is no character within a predetermined range in the real space (step S224: No), the information processing means 980 proceeds to the process of step S226.

一方、情報処理手段980は、ステップS224の処理において、現実空間における所定の範囲内に他のキャラクタが存在していると判断した場合には(ステップS224:Yes)、現実空間において所定の範囲内に他のキャラクタが存在している方向と離間する方向を移動方向として決定する(ステップS228)。具体的には、情報処理手段980は、キャラクタのクーポン現在位置から現実空間において所定の範囲内に存在する他のキャラクタのクーポン現在位置を減算して離間する方向のベクトルを算出し、その向き(すなわち反対方向)を移動方向θfmとして決定する。ただし、情報処理手段980は、現実空間内において所定の範囲内に複数の他のキャラクタが存在する場合には、算出された複数のベクトルに基づいて一の移動方向を算出する。   On the other hand, when the information processing means 980 determines in step S224 that another character exists within a predetermined range in the real space (step S224: Yes), the information processing unit 980 is within the predetermined range in the real space. The direction away from the direction in which another character is present is determined as the moving direction (step S228). Specifically, the information processing unit 980 calculates a vector in a direction in which the current coupon position of the character is subtracted by subtracting the current coupon position of another character existing in a predetermined range in the real space, and the direction ( That is, the opposite direction) is determined as the movement direction θfm. However, when there are a plurality of other characters within a predetermined range in the real space, the information processing unit 980 calculates one movement direction based on the calculated plurality of vectors.

次いで、情報処理手段980は、未取得クーポン拡散情報に規定された排他移動距離Rcbを、キャラクタを移動させるために用いる移動距離Rmnに設定し(ステップS230)、ステップS242の処理に移行する。   Next, the information processing means 980 sets the exclusive movement distance Rcb defined in the unacquired coupon diffusion information as the movement distance Rmn used for moving the character (step S230), and proceeds to the process of step S242.

次いで、情報処理手段980は、ステップS228、S226またはS246の処理によって決定された移動方向θfmnと、ステップS230またはS240の処理によって設定された移動距離Rmnと、をR−θ座標系からX−Y座標系に変換する処理を行いつつ、キャラクタのクーポン現在位置Pcmnに加算し、次の移動先であるクーポン次位置Pfmnを算出する(ステップS242)。   Next, the information processing means 980 obtains the movement direction θfmn determined by the process of step S228, S226, or S246 and the movement distance Rmn set by the process of step S230 or S240 from the R-θ coordinate system. While performing the process of converting to the coordinate system, it is added to the character's current coupon position Pcmn to calculate the next move destination coupon Pfmn (step S242).

次いで、情報処理手段980は、ステップS242において算出したクーポン次位置Pfmnと、クーポン本体情報から読み出された店舗位置Ps及び提供半径Zxとに基づいて、クーポン次位置Pfmnが、店舗位置Psを中心とする提供半径Zx内の提供圏内に存在しているか否かの判断を行う(ステップS244)。このとき、情報処理手段980は、クーポン次位置Pfmnが提供圏内に存在していない(提供圏外に存在している)と判断した場合には(ステップS244:No)、ステップS246の処理に移行し、クーポン次位置Pfmnが提供圏内に存在していると判断した場合には、ステップS248の処理に移行する。   Next, the information processing means 980 determines that the coupon next position Pfmn is centered on the store position Ps based on the coupon next position Pfmn calculated in step S242 and the store position Ps and provision radius Zx read from the coupon body information. It is determined whether or not the user is within the service area within the service radius Zx (step S244). At this time, if the information processing means 980 determines that the coupon next position Pfmn does not exist within the service area (is present outside the service area) (step S244: No), the process proceeds to the process of step S246. If it is determined that the coupon next position Pfmn exists within the service area, the process proceeds to step S248.

次いで、情報処理手段980は、ステップS244の処理において、クーポン次位置Pfmnが提供圏内に存在していないと判断した場合には、キャラクタの移動方向θfmnを反転させて所定の値を加算し(ステップS246)、ステップS242の処理に移行する。このとき、情報処理手段980は、算出された値を新たな移動方向としてθfmnに設定する。   Next, when the information processing means 980 determines in step S244 that the coupon next position Pfmn does not exist within the service area, the information processing means 980 inverts the character movement direction θfmn and adds a predetermined value (step S246), the process proceeds to step S242. At this time, the information processing unit 980 sets the calculated value as θfmn as a new movement direction.

次いで、情報処理手段980は、ステップS244の処理において、クーポン次位置Pfmnが提供圏内に存在している判断した場合には、算出したクーポン次位置Pfmnが、クーポン本体情報に規定された禁止区域IDに関連づけられた進入禁止区域情報で規定されるクーポン進入禁止区域内(W)に存在しているか否かの判断を行う(ステップS248)。具体的には、情報処理手段980は、クーポン本体情報に規定された禁止区域IDを読み出すとともに、読み出された禁止区域IDに関連づけられた進入禁止区域情報を読み出す。そして、情報処理手段980は、当該進入禁止区域情報に含まれる中心緯度及び中心経度と、進入禁止区域半径とに基づいて、算出したクーポン次位置Pfmnが、クーポン進入禁止区域内(W)に存在しているか否かの判断を行う。このとき、情報処理手段980は、算出したクーポン次位置Pfmnが、クーポン進入禁止区域内(W)に存在している判断した場合には(ステップS248:Yes)、ステップS250の処理に移行し、算出したクーポン次位置Pfmnが、クーポン進入禁止区域内(W)に存在していない判断した場合には(ステップS248:No)、ステップS256の処理に移行する。   Next, when the information processing means 980 determines in step S244 that the coupon next position Pfmn exists within the service area, the calculated coupon next position Pfmn is the prohibited area ID defined in the coupon body information. It is determined whether or not it exists within the coupon entry prohibited area (W) defined by the entry prohibited area information associated with (step S248). Specifically, the information processing unit 980 reads the prohibited area ID defined in the coupon body information and reads the entry prohibited area information associated with the read prohibited area ID. Then, the information processing means 980 has the calculated coupon next position Pfmn present in the coupon entry prohibited area (W) based on the center latitude and center longitude included in the entry prohibited area information and the entry prohibited area radius. Judge whether or not. At this time, if the information processing means 980 determines that the calculated coupon next position Pfmn exists within the coupon entry prohibited area (W) (step S248: Yes), the information processing means 980 proceeds to the process of step S250, If it is determined that the calculated coupon next position Pfmn does not exist in the coupon entry prohibited area (W) (step S248: No), the process proceeds to step S256.

次いで、情報処理手段980は、ステップS248の処理において、算出したクーポン次位置Pfmnが、クーポン進入禁止区域内(W)に存在していると判断した場合には、算出された移動方向θfmnがステップS226のランダムに決定されたものであるか否かの判断を行う(ステップS250)。このとき、情報処理手段980は、算出された移動方向θfmnがランダムに決定されたものでないと判断した場合には(ステップS250:No)、ステップS252の処理に移行し、算出された移動方向θfmnがランダムに決定されたものであると判断した場合には(ステップS250:Yes)、ステップS254の処理に移行する。   Next, when the information processing means 980 determines in step S248 that the calculated coupon next position Pfmn exists within the coupon entry prohibited area (W), the calculated moving direction θfmn is stepped. In S226, it is determined whether or not it is determined at random (step S250). At this time, if the information processing means 980 determines that the calculated movement direction θfmn is not determined at random (step S250: No), the information processing unit 980 proceeds to the process of step S252 and calculates the calculated movement direction θfmn. Is determined at random (step S250: Yes), the process proceeds to step S254.

次いで、情報処理手段980は、ステップS250の処理において、算出された移動方向θfmnがランダムに決定されたものでないと判断した場合には、次位置Pfmnに基づいて新たな次位置Pfmnを計算し(ステップS252)、ステップS244の処理に移行する。具体的には、情報処理手段980は、ステップS228、S226またはS246の処理によって決定された移動方向θfmnと、ステップS230またはS240の処理によって設定された移動距離Rmnと座標変換を行いつつ、更にクーポン次位置Pfmnに加算して、再度クーポン次位置Pfmnを算出する。なお、この処理は、クーポン進入禁止区域を素通りして、クーポン進入禁止区域を超えた先までキャラクタを移動させるための処理である。   Next, if the information processing means 980 determines in step S250 that the calculated moving direction θfmn is not determined at random, it calculates a new next position Pfmn based on the next position Pfmn ( The process proceeds to step S252) and step S244. Specifically, the information processing unit 980 further performs a coupon conversion while performing coordinate conversion between the movement direction θfmn determined by the process of step S228, S226, or S246 and the movement distance Rmn set by the process of step S230 or S240. By adding to the next position Pfmn, the coupon next position Pfmn is calculated again. This process is a process for moving the character past the coupon entry prohibited area and passing the coupon entry prohibited area.

次いで、情報処理手段980は、ステップS250の処理において、算出された移動方向θfmnがランダムに決定されたものであると判断した場合には、クーポン本体情報に対してクーポン次位置Pfmnを更新し(ステップS254)、ステップS260の処理に移行する。具体的には、情報処理手段980は、ステップS242またはステップS252において算出されたクーポン次位置Pfmnを、クーポン本体情報に対して更新する。ただし、情報処理手段980は、携帯用端末装置7の表示手段772上では、キャラクタがクーポン進入禁止区域域の手前に表示させるための情報を補足情報としてクーポン本体情報に規定する。   Next, when the information processing means 980 determines in the process of step S250 that the calculated movement direction θfmn is determined at random, it updates the coupon next position Pfmn with respect to the coupon body information ( The process proceeds to step S254) and step S260. Specifically, the information processing unit 980 updates the coupon next position Pfmn calculated in step S242 or step S252 with respect to the coupon body information. However, the information processing unit 980 prescribes information for the character to display in front of the coupon entry prohibited area on the display unit 772 of the portable terminal device 7 as supplementary information in the coupon body information.

次いで、情報処理手段980は、ステップS248の処理において、算出したクーポン次位置Pfmnが、クーポン進入禁止区域内(W)に存在していないと判断した場合には、クーポン本体情報に対してクーポン次位置Pfmnを更新し(ステップS254)、ステップS260の処理に移行する。具体的には、情報処理手段980は、ステップS242またはステップS252において算出されたクーポン次位置Pfmnを、クーポン本体情報に対して更新する。   Next, when the information processing means 980 determines in step S248 that the calculated coupon next position Pfmn does not exist in the coupon entry prohibited area (W), the coupon information is added to the coupon body information. The position Pfmn is updated (step S254), and the process proceeds to step S260. Specifically, the information processing unit 980 updates the coupon next position Pfmn calculated in step S242 or step S252 with respect to the coupon body information.

最後に、情報処理手段980は、現在のクーポン番号nが、m=1におけるキャラクタの総数Nであるか否かの判断を行う(ステップS260)。このとき、情報処理手段980は、現在のクーポン番号nがキャラクタの総数Nでないと判断した場合には(ステップS260:No)、ステップS214の処理に戻り、現在のクーポン番号nがキャラクタの総数Nであると判断した場合には(ステップS260:Yes)、排他拡散処理を終了させて拡散処理に戻る。   Finally, the information processing unit 980 determines whether or not the current coupon number n is the total number N of characters at m = 1 (step S260). At this time, if the information processing unit 980 determines that the current coupon number n is not the total number N of characters (step S260: No), the processing returns to step S214, and the current coupon number n is the total number N of characters. Is determined (step S260: Yes), the exclusive diffusion process is terminated and the process returns to the diffusion process.

[基点重点拡散処理]
次に、図22を用いてサーバ装置9の情報処理手段980が実行する基点重点拡散処理(m=3)について説明する。なお、図22は、サーバ装置9の情報処理手段980が実行する基点重点拡散処理(m=3)について説明するフローチャートである。
[Base-point diffusion process]
Next, the base point weighted diffusion process (m = 3) executed by the information processing unit 980 of the server device 9 will be described with reference to FIG. FIG. 22 is a flowchart for explaining the base point weighted diffusion process (m = 3) executed by the information processing unit 980 of the server device 9.

本動作は、図17に示す拡散処理におけるステップS20の基点重点拡散処理が実行されたときに、実行される処理である。   This operation is a process executed when the base point weighted diffusion process of step S20 in the diffusion process shown in FIG. 17 is executed.

なお、取得済判定フラグは、サーバ装置9の拡散処理におけるステップS10にてFALSEに初期設定されている。また、取得済判定フラグは、図25のステップS676にてサーバ装置9が携帯用端末装置7にクーポンコンテンツ情報を送信したときに、TRUEにセットされる。   Note that the acquired determination flag is initially set to FALSE in step S10 in the diffusion processing of the server device 9. The acquired determination flag is set to TRUE when the server device 9 transmits coupon content information to the portable terminal device 7 in step S676 of FIG.

まず、情報処理手段980は、各キャラクタを現実空間内で拡散させるために、RAM781におけるクーポン番号を書き込む作業領域を初期値(n=0)にリセットし(ステップS312)、次のクーポン番号(n=n+1)をセットするとともにクーポン現在位置Pcmnを更新する。(ステップS314)。情報処理手段980は、ステップS314の処理において、クーポン本体情報において、セットされたクーポン番号に対応するクーポン次位置Pfmnをクーポン現在位置Pcmnに更新する。   First, the information processing unit 980 resets the work area in which the coupon number is written in the RAM 781 to the initial value (n = 0) in order to diffuse each character in the real space (step S312), and the next coupon number (n = N + 1) is set and the coupon current position Pcmn is updated. (Step S314). In the process of step S314, the information processing means 980 updates the coupon next position Pfmn corresponding to the set coupon number to the coupon current position Pcmn in the coupon body information.

次いで、情報処理手段980は、ステップS314によってセットされたクーポン番号に基づいて、クーポン本体情報におけるクーポン拡散IDmを読み出し、当該読み出したクーポン拡散IDmが放射ランダム拡散処理m=3と同一であるか否かを判断する(ステップS316)。   Next, the information processing unit 980 reads the coupon diffusion IDm in the coupon body information based on the coupon number set in step S314, and whether or not the read coupon diffusion IDm is the same as the radiation random diffusion process m = 3. Is determined (step S316).

ステップS316の処理において、情報処理手段980は、当該読み出したクーポン拡散IDmが放射ランダム拡散処理m=3と同一であると判断した場合には(ステップS316:Yes)、ステップS318の処理に移行し、当該読み出したクーポン拡散IDmが放射ランダム拡散処理m=3と同一でないと判断した場合には(ステップS316:No)、ステップS360の処理に移行する。   In the process of step S316, when the information processing means 980 determines that the read coupon diffusion IDm is the same as the radiation random diffusion process m = 3 (step S316: Yes), the process proceeds to the process of step S318. When it is determined that the read coupon diffusion IDm is not the same as the radiation random diffusion process m = 3 (step S316: No), the process proceeds to step S360.

次いで、情報処理手段980は、ステップS314によってセットされたクーポン番号に基づいて、クーポン本体情報における所定のクーポン番号の取得済判定フラグを読み出し、当該取得済判定フラグがTRUEであるか否かの判断を行う(ステップS318)。   Next, the information processing means 980 reads an acquired determination flag for a predetermined coupon number in the coupon body information based on the coupon number set in step S314, and determines whether the acquired determination flag is TRUE. Is performed (step S318).

なお、取得済判定フラグは、サーバ装置9の拡散処理におけるステップS10にてFALSEに初期設定されている。また、取得済判定フラグは、図25のステップS676にて携帯用端末装置7がクーポンコンテンツ情報を取得した場合に、TRUEにセットされる。   Note that the acquired determination flag is initially set to FALSE in step S10 in the diffusion processing of the server device 9. The acquired determination flag is set to TRUE when the portable terminal device 7 acquires coupon content information in step S676 of FIG.

ステップS318の処理において、情報処理手段980は、取得済判定情報がTRUEであると判断した場合には(ステップS318:Yes)、ステップS314の処理に戻り、次のクーポン番号nについて拡散処理を行う。また、ステップS318において、情報処理手段980は、取得済判定情報がTRUEでないと判断した場合には(ステップS318:No)、ステップS319の処理に移行する。   In the process of step S318, when the information processing means 980 determines that the acquired determination information is TRUE (step S318: Yes), the process returns to the process of step S314 and performs the diffusion process for the next coupon number n. . In step S318, when the information processing unit 980 determines that the acquired determination information is not TRUE (step S318: No), the information processing unit 980 proceeds to the process of step S319.

次いで、情報処理手段980は、ステップS218の処理において、取得済判定情報がTRUEでないと判断した場合には、セットされたクーポン番号に基づいて、クーポン本体情報において該当するクーポン提供期間の情報と現在の日時情報とを読み出して、現在の日時がクーポン提供期間内であるか否かを判断する(ステップS319)。このとき、情報処理手段980は、現在の日時がクーポン提供期間外であると判断した場合には(ステップS319:No)、ステップS314の処理に戻り、現在の日時がクーポン提供期間内であると判断した場合には(ステップS319:Yes)、ステップS320の処理に移行する。   Next, when the information processing unit 980 determines that the acquired determination information is not TRUE in the process of step S218, based on the set coupon number, the information on the coupon provision period corresponding to the coupon provision period information and the current The date and time information is read out, and it is determined whether or not the current date and time is within the coupon provision period (step S319). At this time, if the information processing means 980 determines that the current date and time is outside the coupon provision period (step S319: No), the process returns to step S314 and the current date and time is within the coupon provision period. If it is determined (step S319: Yes), the process proceeds to step S320.

次いで、情報処理手段980は、クーポン本体情報に規定された未取得のクーポン現在位置Pcmn、提供半径Zx及び店舗位置Psと、未取得クーポン拡散情報に規定された配布区域分割数I及び各配布区域境界半径割合と、に基づいて、各キャラクタのクーポン現在位置Pcmnが存在している配布区域iを設定する(ステップS320)。   Next, the information processing means 980 includes the unacquired coupon current position Pcmn, the provision radius Zx and the store position Ps specified in the coupon body information, the distribution area division number I specified in the unacquired coupon diffusion information, and each distribution area. Based on the boundary radius ratio, the distribution area i where the coupon current position Pcmn of each character exists is set (step S320).

次いで、情報処理手段980は、上述のステップS320にて取得した配布区域i内に存在しているキャラクタの数(すなわち、クーポン数)を計算する(ステップS322)。   Next, the information processing unit 980 calculates the number of characters (that is, the number of coupons) present in the distribution area i acquired in step S320 (step S322).

次いで、情報処理手段980は、未取得クーポン拡散情報に規定された各配布区域クーポン許容割合を読み出して、各配布区域iに許容されるキャラクタ数を算出する(ステップS324)。   Next, the information processing unit 980 reads each distribution area coupon allowable ratio defined in the unacquired coupon diffusion information, and calculates the number of characters allowed for each distribution area i (step S324).

次いで、情報処理手段980は、各配布区域におけるクーポン許容数と、ステップS322にて取得した各配布領域i=1〜Iにおけるキャラクタ数とを比較し、未取得クーポン拡散情報に規定されたクーポン許容数に到達している場合には、配布領域iの充満フラグを、TRUEにセットする処理を行う(ステップS324)。なお、クーポン許容数に到達していない配布領域の充満フラグは、FALSEにリセットされている。   Next, the information processing means 980 compares the allowable number of coupons in each distribution area with the number of characters in each distribution area i = 1 to I acquired in step S322, and the coupon permission specified in the unacquired coupon diffusion information. If the number has been reached, a process for setting the fullness flag of the distribution area i to TRUE is performed (step S324). In addition, the fullness flag of the distribution area which has not reached the coupon allowable number is reset to FALSE.

次いで、情報処理手段980は、ステップS314の処理にて設定されたクーポン番号に対応するキャラクタにおける拡散処理(以下、「配布区域内拡散処理」という。)を実行して当該キャラクタのクーポン次位置Pfmnを決定し(ステップS330)、ステップS358の処理に移行する。なお、本実施形態における配布区域内拡散処理の動作の詳細については後述する。   Next, the information processing means 980 performs a diffusion process on the character corresponding to the coupon number set in the process of step S314 (hereinafter referred to as “distribution area diffusion process”), and the next coupon position Pfmn of the character. Is determined (step S330), and the process proceeds to step S358. Details of the operation of the intra-distribution area diffusion process in this embodiment will be described later.

最後に、情報処理手段980は、現在のクーポン番号nが、m=1におけるキャラクタの総数Nであるか否かの判断を行う(ステップS360)。このとき、情報処理手段980は、現在のクーポン番号nがキャラクタの総数Nでないと判断した場合には(ステップS360:No)、ステップS314の処理に戻り、現在のクーポン番号nがキャラクタの総数Nであると判断した場合には(ステップS360:Yes)、放射ランダム拡散処理を終了させて拡散処理に戻る。   Finally, the information processing unit 980 determines whether or not the current coupon number n is the total number N of characters at m = 1 (step S360). At this time, if the information processing means 980 determines that the current coupon number n is not the total number N of characters (step S360: No), the processing returns to step S314, and the current coupon number n is the total number N of characters. If it is determined that it is (step S360: Yes), the radiation random diffusion process is terminated and the process returns to the diffusion process.

[配布区域内拡散処理]
次に、図23を用いてサーバ装置9の情報処理手段980が実行する配布区域内拡散処理について説明する。なお、図23は、本実施形態におけるサーバ装置9の情報処理手段980が実行する配布区域内拡散処理について説明するフローチャートである。
[Diffusion processing in distribution area]
Next, the intra-distribution area diffusion process executed by the information processing unit 980 of the server device 9 will be described with reference to FIG. FIG. 23 is a flowchart for explaining the intra-distribution area diffusion process executed by the information processing unit 980 of the server device 9 according to this embodiment.

本動作は、図22に示す基点重点拡散処理におけるステップS329の配布区域内拡散処理が実行されたときに、実行される処理である。   This operation is a process executed when the intra-distribution area diffusion process of step S329 in the base point weighted diffusion process shown in FIG. 22 is executed.

まず、情報処理手段980は、クーポン本体情報から該当する未取得のクーポンにおけるクーポン現在位置Pcmn、提供半径Zx及び店舗位置Psを読み出すとともに、未取得クーポン拡散情報に規定された配布区域分割数i及び各配布区域境界半径割合とを読み出して、未取得のクーポン現在位置Pcmnが存在している配布区域iを設定する(ステップS412)。   First, the information processing means 980 reads the coupon current position Pcmn, the providing radius Zx, and the store position Ps in the corresponding unacquired coupon from the coupon main body information, and the distribution area division number i defined in the unacquired coupon diffusion information and Each distribution area boundary radius ratio is read out, and a distribution area i where an unacquired coupon current position Pcmn exists is set (step S412).

次いで、情報処理手段980は、当該配布区域iが最も外側の配布区域であるか否か、すなわち、配布区域iが配布区域分割数Iと同一であるか否かの判断を行う(ステップS414)。このとき、情報処理手段980は、当該配布区域iが最も外側の配布区域Iでないと判断した場合には(ステップS414:No)、ステップS416の処理に移行し、当該配布区域iが最も外側の配布区域Iであると判断した場合には(ステップS414:Yes)、ステップS420の処理に移行する、   Next, the information processing unit 980 determines whether or not the distribution area i is the outermost distribution area, that is, whether or not the distribution area i is equal to the distribution area division number I (step S414). . At this time, if the information processing unit 980 determines that the distribution area i is not the outermost distribution area I (step S414: No), the process proceeds to the process of step S416, and the distribution area i is the outermost distribution area I. If it is determined that it is the distribution area I (step S414: Yes), the process proceeds to step S420.

次いで、情報処理手段980は、ステップS414の処理において、キャラクタが属する配布区域iが最も外側の配布区域Iでないと判断した場合には、充満フラグに基づいて、配布区域iよりも基点となる店舗から一つ外側の配布区域i+1におけるキャラクタの数がクーポン許容数に到達しているか否かの判断を行う(ステップS416)。このとき、情報処理手段980は、配布区域i+1におけるキャラクタの数がクーポン許容数に到達していないと判断した場合には(ステップS416:No)、拡散移動を続けるべく、次のステップS418に移行し、配布区域i+1におけるキャラクタの数がクーポン許容数に到達していると判断した場合には(ステップS416:Yes)、ステップS420の処理に移行する。   Next, when the information processing means 980 determines in the process of step S414 that the distribution area i to which the character belongs is not the outermost distribution area I, the store that is the base point of the distribution area i based on the fullness flag It is determined whether or not the number of characters in the distribution area i + 1 on the outer side of the number has reached the coupon allowable number (step S416). At this time, if the information processing means 980 determines that the number of characters in the distribution area i + 1 has not reached the allowable number of coupons (step S416: No), the processing proceeds to the next step S418 to continue the diffusion movement. If it is determined that the number of characters in the distribution area i + 1 has reached the allowable coupon number (step S416: Yes), the process proceeds to step S420.

次いで、情報処理手段980は、ステップS416の処理において、配布区域i+1におけるキャラクタの数がクーポン許容数に到達していないと判断した場合には、移動方向θfmnを放射状(θfmn=2πn/N+θx)に決定し(ステップS418)、ステップS440の処理に移行する。   Next, when the information processing means 980 determines in step S416 that the number of characters in the distribution area i + 1 has not reached the allowable number of coupons, the information processing means 980 sets the movement direction θfmn radially (θfmn = 2πn / N + θx). It determines (step S418) and transfers to the process of step S440.

一方、情報処理手段980は、ステップS414の処理において、配布区域iが最も外側の配布区域Iであると判断した場合には、または、ステップS416の処理において、配布区域i+1におけるキャラクタの数がクーポン許容数に到達していると判断した場合には、キャラクタにおける移動方向θfmnをランダム(θfmn=2πRnd/Rndx+θx)に決定し(ステップS418)、ステップS440の処理に移行する。   On the other hand, when the information processing unit 980 determines in the process of step S414 that the distribution area i is the outermost distribution area I, or in the process of step S416, the number of characters in the distribution area i + 1 is a coupon. If it is determined that the allowable number has been reached, the moving direction θfmn of the character is determined randomly (θfmn = 2πRnd / Rndx + θx) (step S418), and the process proceeds to step S440.

次いで、情報処理手段980は、未取得クーポン拡散情報から該当する移動距離Rcaを読み出して移動距離Rmnに決定する(ステップS440)。   Next, the information processing means 980 reads the corresponding travel distance Rca from the unacquired coupon diffusion information and determines it as the travel distance Rmn (step S440).

次いで、情報処理手段980は、ステップS418、S420またはS446の処理によって決定された移動方向θfmnと、ステップS440の処理によって設定された移動距離Rmnを、R−θ座標系からX−Y座標系に変換する処理を行いつつ、キャラクタのクーポン現在位置Pcmnに加算し、次の移動先であるクーポン次位置Pfmnを算出する(ステップS442)。   Next, the information processing unit 980 changes the movement direction θfmn determined by the process of step S418, S420, or S446 and the movement distance Rmn set by the process of step S440 from the R-θ coordinate system to the XY coordinate system. While performing the conversion process, the character is added to the current coupon position Pcmn of the character to calculate the next coupon position Pfmn, which is the next destination (step S442).

次いで、情報処理手段980は、ステップS442またはステップS452において算出したクーポン次位置Pfmnと、クーポン本体情報から読み出された店舗位置Ps及び提供半径Zxとに基づいて、クーポン次位置Pfmnが、店舗位置Psを中心とする提供半径Zx内の提供圏内に存在しているか否かの判断を行う(ステップS444)。このとき、情報処理手段980は、クーポン次位置Pfmnが提供圏内に存在していない(提供圏外に存在している)と判断した場合には(ステップS444:No)、ステップS446の処理に移行し、クーポン次位置Pfmnが提供圏内に存在していると判断した場合には(ステップS444:Yes)、ステップS448の処理に移行する。   Next, the information processing means 980 determines that the coupon next position Pfmn is based on the coupon next position Pfmn calculated in step S442 or step S452, the store position Ps read from the coupon body information, and the provided radius Zx. It is determined whether or not the service area is within the service area within the service radius Zx centered on Ps (step S444). At this time, if the information processing means 980 determines that the coupon next position Pfmn does not exist within the service area (is present outside the service area) (step S444: No), the processing proceeds to the process of step S446. If it is determined that the coupon next position Pfmn exists within the service area (step S444: Yes), the process proceeds to step S448.

次いで、情報処理手段980は、ステップS444の処理において、クーポン次位置Pfmnが提供圏内に存在していないと判断した場合には、キャラクタの移動方向θfmnを反転させて所定の値を加算し(ステップS446)、ステップS442の処理に移行する。このとき、情報処理手段980は、算出された値を新たな移動方向としてθfmnに設定する。   Next, when it is determined in step S444 that the coupon next position Pfmn does not exist within the service area, the information processing means 980 inverts the character movement direction θfmn and adds a predetermined value (step S446), the process proceeds to step S442. At this time, the information processing unit 980 sets the calculated value as θfmn as a new movement direction.

次いで、情報処理手段980は、ステップS444の処理において、クーポン次位置Pfmnが提供圏内に存在していると判断した場合には、算出したクーポン次位置Pfmnが、クーポン本体情報に規定された禁止区域IDに関連づけられた進入禁止区域情報で規定されるクーポン進入禁止区域内(W)に存在しているか否かの判断を行う(ステップS448)。具体的には、情報処理手段980は、クーポン本体情報に規定された禁止区域IDを読み出すとともに、読み出された禁止区域IDに関連づけられた進入禁止区域情報を読み出す。そして、情報処理手段980は、当該進入禁止区域情報に含まれる中心緯度及び中心経度と、進入禁止区域半径とに基づいて、算出したクーポン次位置Pfmnが、クーポン進入禁止区域内(W)に存在しているか否かの判断を行う。このとき、情報処理手段980は、算出したクーポン次位置Pfmnが、クーポン進入禁止区域内(W)に存在している判断した場合には(ステップS448:Yes)、ステップS450の処理に移行し、算出したクーポン次位置Pfmnが、クーポン進入禁止区域内(W)に存在していない判断した場合には(ステップS448:No)、ステップS456の処理に移行する。   Next, when the information processing means 980 determines in step S444 that the coupon next position Pfmn is within the service area, the calculated coupon next position Pfmn is the prohibited area defined in the coupon body information. Judgment is made as to whether or not it exists within the coupon entry prohibited area (W) defined by the entry prohibited area information associated with the ID (step S448). Specifically, the information processing unit 980 reads the prohibited area ID defined in the coupon body information and reads the entry prohibited area information associated with the read prohibited area ID. Then, the information processing means 980 has the calculated coupon next position Pfmn present in the coupon entry prohibited area (W) based on the center latitude and center longitude included in the entry prohibited area information and the entry prohibited area radius. Judge whether or not. At this time, when the information processing unit 980 determines that the calculated coupon next position Pfmn exists in the coupon entry prohibited area (W) (step S448: Yes), the information processing unit 980 proceeds to the process of step S450, If it is determined that the calculated coupon next position Pfmn does not exist in the coupon entry prohibited area (W) (step S448: No), the process proceeds to step S456.

次いで、情報処理手段980は、ステップS448の処理において、算出したクーポン次位置Pfmnが、クーポン進入禁止区域内(W)に存在していると判断した場合には、算出された移動方向θfmnがステップS420のランダムに決定されたものであるか否かの判断を行う(ステップS450)。このとき、情報処理手段980は、算出された移動方向θfmnがランダムに決定されたものでないと判断した場合には(ステップS450:No)、ステップS452の処理に移行し、算出された移動方向θfmnがランダムに決定されたものであると判断した場合には(ステップS450:Yes)、ステップS454の処理に移行する。   Next, when the information processing means 980 determines in step S448 that the calculated coupon next position Pfmn exists within the coupon entry prohibited area (W), the calculated moving direction θfmn is stepped. It is determined whether or not it is determined at random in S420 (step S450). At this time, if the information processing means 980 determines that the calculated moving direction θfmn is not determined at random (step S450: No), the information processing unit 980 proceeds to the process of step S452, and calculates the calculated moving direction θfmn. Is determined at random (step S450: Yes), the process proceeds to step S454.

次いで、情報処理手段980は、ステップS450の処理において、算出された移動方向θfmnがランダムに決定されたものでないと判断した場合には、次位置Pfmnに基づいて新たな次位置Pfmnを計算し(ステップS452)、ステップS444の処理に移行する。具体的には、情報処理手段980は、移動方向θfmnと、移動距離Rmnとの座標変換を行いつつ、更にクーポン次位置Pfmnに加算して、再度クーポン次位置Pfmnを算出する。なお、この処理は、クーポン進入禁止区域を素通りして、クーポン進入禁止区域を超えた先までキャラクタを移動させるための処理である。   Next, if the information processing means 980 determines in step S450 that the calculated movement direction θfmn is not determined at random, it calculates a new next position Pfmn based on the next position Pfmn ( Step S452) and the process proceeds to Step S444. Specifically, the information processing unit 980 further calculates the coupon next position Pfmn again by performing coordinate conversion between the movement direction θfmn and the movement distance Rmn and further adding to the coupon next position Pfmn. This process is a process for moving the character past the coupon entry prohibited area and passing the coupon entry prohibited area.

次いで、情報処理手段980は、ステップS450の処理において、算出された移動方向θfmnがランダムに決定されたものであると判断した場合には、クーポン本体情報に対してクーポン次位置Pfmnを更新し(ステップS454)、配布区域内拡散処理が終了させて基点重点拡散処理に戻る。具体的には、情報処理手段980は、ステップS442またはステップS452において算出されたクーポン次位置Pfmnを、クーポン本体情報に対して更新する。ただし、情報処理手段980は、携帯用端末装置7の表示手段772上では、キャラクタがクーポン進入禁止区域域の手前に表示させるための情報を補足情報としてクーポン本体情報に規定する。   Next, when the information processing means 980 determines in step S450 that the calculated movement direction θfmn is determined at random, the information processing means 980 updates the coupon next position Pfmn with respect to the coupon body information ( In step S454), the intra-distribution area diffusion process is terminated, and the process returns to the base point important point diffusion process. Specifically, the information processing unit 980 updates the coupon next position Pfmn calculated in step S442 or step S452 with respect to the coupon body information. However, the information processing unit 980 prescribes information for the character to display in front of the coupon entry prohibited area on the display unit 772 of the portable terminal device 7 as supplementary information in the coupon body information.

次いで、情報処理手段980は、ステップS448の処理において、算出された移動方向θfmnがランダムに決定されたものであると判断した場合には、クーポン本体情報に対してクーポン次位置Pfmnを更新し(ステップS456)、配布区域内拡散処理が終了させて基点重点拡散処理に戻る。具体的には、情報処理手段980は、ステップS142またはステップS452において算出されたクーポン次位置Pfmnを、RAM981に記録されたクーポン本体情報に対して更新する。   Next, if the information processing means 980 determines in step S448 that the calculated movement direction θfmn is determined at random, the information processing means 980 updates the coupon next position Pfmn with respect to the coupon body information ( Step S456), the intra-distribution area diffusion process is terminated, and the process returns to the base point weighted diffusion process. Specifically, the information processing unit 980 updates the coupon next position Pfmn calculated in step S142 or step S452 with respect to the coupon main body information recorded in the RAM 981.

[クーポン表示処理及びクーポン提供処理]
次に、図24及び図25を用いて携帯用端末装置7の情報処理手段780が実行するクーポン表示処理及びサーバ装置9の情報処理手段980が実行するクーポン提供処理について説明する。なお、図24及び図25は、サーバ装置9の情報処理手段980が実行するクーポン提供処理と、携帯用端末装置7の情報処理手段780が実行するクーポン表示処理について説明するフローチャートである。
[Coupon display processing and coupon provision processing]
Next, a coupon display process executed by the information processing means 780 of the portable terminal device 7 and a coupon provision process executed by the information processing means 980 of the server device 9 will be described with reference to FIGS. 24 and 25 are flowcharts illustrating a coupon providing process executed by the information processing unit 980 of the server device 9 and a coupon display process executed by the information processing unit 780 of the portable terminal device 7.

本動作において、携帯用端末装置7においては、電源が投入されているものとし、サーバ装置9においては、クーポン提供処理のプログラムが起動されているものとする。また、携帯用端末装置7は、クーポン表示処理を実行している際に、クーポン取得処理を実行し、クーポンを取得した後には、すなわち、クーポンコンテンツ情報を取得した後には、サーバ装置9によって実行される店舗誘導処理に連動してキャラクタ画像の表示を実行する。また、クーポン提供処理は、サーバメイン処理とは別に、携帯用端末装置7からの端末位置及び撮像方向のデータとともに送信されたキャラクタ画像の取得要求に基づいてサーバ装置9によって実行される処理である。   In this operation, the portable terminal device 7 is assumed to be powered on, and the server device 9 is assumed to have started a coupon provision processing program. Moreover, after performing the coupon acquisition process and performing the coupon acquisition process, when the portable terminal device 7 is performing the coupon display process, that is, after acquiring the coupon content information, it is executed by the server device 9. The character image is displayed in conjunction with the store guidance process. Further, the coupon providing process is a process executed by the server apparatus 9 based on the character image acquisition request transmitted together with the terminal position and the imaging direction data from the portable terminal apparatus 7 separately from the server main process. .

はじめに、携帯用端末装置7におけるクーポン取得処理を含むクーポン表示処理について説明する。   First, a coupon display process including a coupon acquisition process in the portable terminal device 7 will be described.

まず、情報処理手段780は、入力手段770を介してクーポン表示プログラムの起動を検出すると(ステップS801)、撮像手段750によって撮像(具体的には、現実空間の撮像)を開始させる(ステップS802)。   First, when the information processing unit 780 detects the activation of the coupon display program via the input unit 770 (step S801), the image processing unit 750 starts imaging (specifically, imaging of the real space) (step S802). .

次いで、情報処理手段780は、位置検出手段758から携帯用端末装置7が存在している端末位置と、方向検出手段760から撮像方向を取得するとともに、端末位置情報と撮像方向とを携帯用端末装置7の端末IDとともにデータとしてサーバ装置9に送信する(ステップS803)。このとき、情報処理手段780は、広域無線通信手段764または近距離無線通信手段765を介してサーバ装置9との通信回線を確立し、各情報を送信する。   Next, the information processing means 780 obtains the terminal position where the portable terminal device 7 exists from the position detecting means 758 and the imaging direction from the direction detecting means 760, and also obtains the terminal position information and the imaging direction from the portable terminal. It transmits to the server apparatus 9 as data with the terminal ID of the apparatus 7 (step S803). At this time, the information processing unit 780 establishes a communication line with the server device 9 via the wide area wireless communication unit 764 or the short-range wireless communication unit 765 and transmits each piece of information.

次いで、情報処理手段780は、クーポン番号、キャラクタ画像とその位置を受信すると(ステップS804)、受信したキャラクタ画像とその位置に従って、撮像手段750によって撮像された現実画像と、当該現実画像上に重畳されたキャラクタ画像を表示手段772に表示させる(ステップS805)。なお、情報処理手段780は、進入禁止に関する補足情報がある場合には、当該補足情報に規定された位置に当該キャラクタ画像を表示する。   Next, when the information processing unit 780 receives the coupon number, the character image, and the position thereof (step S804), the information processing unit 780 superimposes the real image captured by the imaging unit 750 on the real image according to the received character image and the position. The displayed character image is displayed on the display means 772 (step S805). Note that if there is supplemental information regarding entry prohibition, the information processing means 780 displays the character image at a position defined in the supplemental information.

次いで、情報処理手段780は、入力手段770によって表示手段772に表示されているキャラクタ画像が選択されたか否かを判断し、すなわち、キャラクタ画像に対応するクーポンの取得要求が実行されたか否かを判断する(ステップS806)。このとき、情報処理手段780は、キャラクタ画像に対応するクーポンの取得要求が実行されていないと判断した場合には(ステップS806:No)、ステップS810の処理に移行し、キャラクタ画像に対応するクーポンの取得要求が実行されたと判断した場合には(ステップS806:Yes)、ステップS820の処理に移行する。   Next, the information processing unit 780 determines whether or not the character image displayed on the display unit 772 is selected by the input unit 770, that is, whether or not a request for obtaining a coupon corresponding to the character image has been executed. Judgment is made (step S806). At this time, if the information processing means 780 determines that a request for obtaining a coupon corresponding to the character image has not been executed (step S806: No), the information processing means 780 proceeds to the processing of step S810, and the coupon corresponding to the character image. If it is determined that the acquisition request has been executed (step S806: Yes), the process proceeds to step S820.

次いで、情報処理手段780は、ステップS806の処理において、キャラクタ画像に対応するクーポンの取得要求が実行されていないと判断した場合には、携帯用端末装置7が所定の距離以上移動したか否か及び撮像方向が所定角度回転したか否かの判断を行う(ステップS810)。このとき、情報処理手段780は、携帯用端末装置7が所定の距離以上移動している、または、撮像方向が所定の角度回転していると判断した場合には(ステップS810:Yes)、ステップS803の処理に戻り、携帯用端末装置7が所定の距離以上移動しておらず、かつ、撮像方向が所定の角度回転していないと判断した場合には(ステップS810:No)、ステップS805の処理に戻る。   Next, when the information processing means 780 determines in the process of step S806 that a request for acquiring a coupon corresponding to the character image has not been executed, whether or not the portable terminal device 7 has moved a predetermined distance or more. Then, it is determined whether or not the imaging direction is rotated by a predetermined angle (step S810). At this time, if the information processing means 780 determines that the portable terminal device 7 has moved a predetermined distance or more or the imaging direction has rotated a predetermined angle (step S810: Yes), step Returning to the processing of S803, if it is determined that the portable terminal device 7 has not moved more than a predetermined distance and the imaging direction has not rotated by a predetermined angle (step S810: No), the process proceeds to step S805. Return to processing.

次いで、情報処理手段780は、ステップS806の処理において、キャラクタ画像に対応するクーポンの取得要求が実行されたと判断した場合には、サーバ装置9にクーポン取得要求及び取得を要求するクーポン番号を当該携帯用端末装置7の端末IDとともに送信するとともに、店舗誘導処理に基づく表示処理を開始する(ステップS820)。具体的には、情報処理手段780は、表示手段772に店舗誘導を介する旨の表示などを実行し、サーバ装置9から店舗誘導処理に伴って送信されたキャラクタの位置情報の受信を待機する。   Next, when the information processing means 780 determines in the process of step S806 that an acquisition request for a coupon corresponding to the character image has been executed, the information processing means 780 provides the coupon acquisition request and the coupon number for requesting acquisition to the server device 9. And the display process based on the store guidance process is started (step S820). Specifically, the information processing unit 780 displays on the display unit 772 that the store guidance is used, and waits for the reception of the character position information transmitted from the server device 9 along with the store guidance process.

次いで、情報処理手段780は、サーバ装置9から店舗誘導処理に伴って、取得要求を実行したクーポンに対応するキャラクタ画像の位置情報を受信すると(ステップS822)、受信した位置情報に従って、撮像手段750によって撮像された現実画像と、当該現実画像上に重畳されたキャラクタ画像を表示手段772に表示させる(ステップS824)。   Next, when the information processing unit 780 receives the position information of the character image corresponding to the coupon for which the acquisition request has been executed in accordance with the store guidance process from the server device 9 (step S822), the imaging unit 750 is used according to the received position information. The display unit 772 displays the actual image captured by the image and the character image superimposed on the actual image (step S824).

次いで、情報処理手段780は、ステップS822によって受信したキャラクタの位置情報とともに店舗に到達したことを示すフラグ情報(ゴールフラグ情報)を受信したか否かを判断する(ステップS826)。このとき、情報処理手段780は、ゴールフラグ情報を受信したと判断した場合に(ステップS826:Yes)、ゴールの旨を表示手段772に表示しつつクーポンコンテンツ情報を表示して(ステップS828)、本動作を終了させる。また、情報処理手段780は、ゴールフラグ情報を受信していないと判断した場合に(ステップS826:No)、ステップS830の処理に移行する。   Next, the information processing means 780 determines whether flag information (goal flag information) indicating that the store has been reached is received together with the character position information received in step S822 (step S826). At this time, when the information processing means 780 determines that the goal flag information has been received (step S826: Yes), the information on the goal is displayed on the display means 772 while displaying the coupon content information (step S828). This operation is terminated. If the information processing means 780 determines that the goal flag information has not been received (step S826: No), the information processing means 780 proceeds to the process of step S830.

次いで、情報処理手段780は、ステップS826の処理において、ゴールフラグ情報を受信していないと判断した場合には、位置検出手段758から携帯用端末装置7が存在している端末位置情報と、方向検出手段760から撮像方向を取得する(ステップS830)。   Next, when the information processing unit 780 determines in the process of step S826 that the goal flag information has not been received, the information on the terminal location information where the portable terminal device 7 exists from the position detection unit 758, and the direction An imaging direction is acquired from the detection means 760 (step S830).

次いで、情報処理手段780は、ステップS822によって受信したキャラクタの位置情報とともに当該キャラクタ画像に対応付けられたクーポンコンテンツ情報が取得可能であることを示すフラグ情報(クーポン取得可能フラグ)が受信されたか否か判断する(ステップS831)。このとき、情報処理手段780は、クーポンコンテンツ情報が取得可能であると判断した場合には(ステップS831:Yes)、ステップS832の処理に移行し、クーポンコンテンツ情報が取得可能でないと判断した場合には(ステップS831:No)、ステップS834の処理に移行する。   Next, the information processing means 780 has received flag information (coupon obtainable flag) indicating that coupon content information associated with the character image can be obtained together with the position information of the character received in step S822. Is determined (step S831). At this time, if the information processing means 780 determines that the coupon content information can be acquired (step S831: Yes), the information processing means 780 proceeds to the process of step S832, and determines that the coupon content information cannot be acquired. (Step S831: No), the process proceeds to Step S834.

次いで、情報処理手段780は、ステップS831の処理において、情報処理手段780は、クーポンコンテンツ情報が取得可能であると判断した場合には、表示手段772にその旨を表示し、クーポン取得可能フラグの情報をRAM781に記録する(ステップS832)。例えば、情報処理手段780は、キャラクタ画像の色を変化させ、または、当該キャラクタ画像とともにクーポンコンテンツ情報が取得可能である旨を表示させる。   Next, when the information processing means 780 determines in the process of step S831 that the coupon content information can be acquired, the information processing means 780 displays that fact on the display means 772 and displays the coupon acquisition flag. Information is recorded in the RAM 781 (step S832). For example, the information processing means 780 changes the color of the character image or displays that the coupon content information can be acquired together with the character image.

次いで、情報処理手段780は、ステップS830の処理において取得した端末位置と撮像方向をデータとして、ステップS832の処理において記録されたクーポン取得可能フラグがある場合に、そのフラグとともにサーバ装置9に送信する(ステップS834)。   Next, when there is a coupon acquisition possible flag recorded in the process of step S832, the information processing means 780 transmits the data to the server device 9 together with the flag, which is recorded in the process of step S832, using the terminal position and imaging direction acquired in the process of step S830 as data. (Step S834).

次いで、情報処理手段780は、ステップS834の処理においてサーバ装置9にデータを送信してから一定の期間内に当該サーバ装置9によって送信されたクーポンコンテンツ情報を受信したか否かを判断する(ステップS836)。このとき、情報処理手段780は、ステップS834の処理においてサーバ装置9にデータを送信してから一定の期間内に当該サーバ装置9によって送信されたクーポンコンテンツ情報を受信したと判断した場合には(ステップS836:Yes)、受信したクーポンコンテンツ情報を端末クーポン情報に登録し(ステップS838)、ステップS822の処理に移行する。   Next, the information processing means 780 determines whether or not the coupon content information transmitted by the server apparatus 9 has been received within a certain period after the data is transmitted to the server apparatus 9 in the process of step S834 (step S834). S836). At this time, if the information processing means 780 determines that the coupon content information transmitted by the server device 9 has been received within a certain period of time after transmitting data to the server device 9 in the process of step S834 ( Step S836: Yes), the received coupon content information is registered in the terminal coupon information (step S838), and the process proceeds to step S822.

一方、情報処理手段780は、ステップS834の処理においてサーバ装置9にデータを送信してから一定の期間内に当該サーバ装置9によって送信されたクーポンコンテンツ情報を受信していないと判断した場合には(ステップS836:No)、ステップS822の処理に移行する。   On the other hand, if the information processing means 780 determines in step S834 that the coupon content information transmitted by the server device 9 has not been received within a certain period after the data is transmitted to the server device 9 in the process of step S834. (Step S836: No), the process proceeds to Step S822.

次に、サーバ装置9におけるクーポン提供処理について説明する。   Next, the coupon provision process in the server apparatus 9 is demonstrated.

まず、情報処理手段980は、何れか一の携帯用端末装置7から端末IDとともに端末位置及び撮像方向のデータを受信すると(ステップS652)、クーポン本体情報において取得済判定フラグ及びチェック済み判定フラグがFALSEとなっている全てのクーポン番号、クーポン位置Pcmnと、キャラクタ画像情報を当該端末IDを有する携帯用端末装置7に送信する(ステップS653)。なお、クーポン本体情報において取得済判定フラグ及びチェック済み判定フラグがTRUEとなっているクーポン番号nについては、店舗誘導中であるか、または、既にクーポンが取得されているので、当該クーポン番号nに対応するキャラクタ画像については送信されない。また、情報処理手段980は、クーポン本体情報に補足情報が規定されている場合には、当該補足情報も送信する。   First, when the information processing unit 980 receives data of the terminal position and the imaging direction together with the terminal ID from any one of the portable terminal devices 7 (step S652), the acquired determination flag and the checked determination flag are included in the coupon body information. All coupon numbers, coupon positions Pcmn, and character image information that are FALSE are transmitted to the portable terminal device 7 having the terminal ID (step S653). In addition, about the coupon number n in which the acquired determination flag and the checked determination flag are TRUE in the coupon main body information, the store is being guided or the coupon has already been acquired. The corresponding character image is not transmitted. Further, when supplement information is defined in the coupon body information, the information processing means 980 also transmits the supplement information.

次いで、情報処理手段980は、クーポン番号、クーポン位置Pcmnと、キャラクタ画像情報を送信してから一定の時間以内に同一の端末IDを有する携帯用端末装置7から送信されたクーポンの取得要求を受信したか否かを判断する(ステップS654)。一定期間経過すると、キャラクタは現実空間内の異なる位置に移動するため、移動した後には、その位置を基準にクーポンを提供することができないからである。   Next, the information processing means 980 receives the coupon acquisition request transmitted from the portable terminal device 7 having the same terminal ID within a certain time after transmitting the coupon number, the coupon position Pcmn, and the character image information. It is determined whether or not (step S654). This is because, after a certain period of time, the character moves to a different position in the real space, and therefore, after moving, the coupon cannot be provided based on that position.

このとき、情報処理手段980は、ステップS654において、ステップS652の処理を実行した際の同一の端末IDを有する携帯用端末装置7から一定期間内にクーポンの取得要求を受信した場合には(ステップS654:Yes)、ステップS658の処理に移行し、同一の端末IDを有する携帯用端末装置7から一定期間内にクーポンの取得要求を受信しなかった場合には(ステップS654:No)、本動作を終了させる。   At this time, in step S654, the information processing means 980 receives a coupon acquisition request within a certain period from the portable terminal device 7 having the same terminal ID when the processing of step S652 is executed (step S654). S654: Yes), the process proceeds to step S658, and when a coupon acquisition request is not received within a certain period from the portable terminal device 7 having the same terminal ID (step S654: No), this operation End.

次いで、情報処理手段980は、ステップS654の処理において、ステップS652の処理を実行した際の同一の端末IDを有する携帯用端末装置7から一定期間内にクーポンの取得要求を受信した場合には、当該取得要求とともに受信した端末IDをクーポン本体情報のチェック端末IDに登録し、チェック済み判定をTRUEに書き換える(ステップS658)。   Next, when the information processing unit 980 receives a coupon acquisition request within a certain period from the portable terminal device 7 having the same terminal ID at the time of executing the process of step S652 in the process of step S654, The terminal ID received together with the acquisition request is registered in the check terminal ID of the coupon body information, and the checked determination is rewritten to TRUE (step S658).

次いで、情報処理手段980は、クーポン本体情報に規定された店舗位置Ps及びクーポン現在位置Pcmnに基づいて当該キャラクタが存在する現実空間の位置から店舗までの誘導ルートを地図データを参照しつつ生成する(ステップS660)。   Next, the information processing unit 980 generates a guidance route from the position of the real space where the character exists to the store based on the store position Ps and the coupon current position Pcmn specified in the coupon body information with reference to the map data. (Step S660).

次いで、情報処理手段980は、生成された誘導ルートに基づいてクーポン現在位置Pcmnに予め定められた距離の値(例えば、5m)を加算し、クーポン次位置Pfmnを算出し、クーポン本体情報のクーポン次位置Pfmnを更新する(ステップS662)。   Next, the information processing unit 980 adds a predetermined distance value (for example, 5 m) to the coupon current position Pcmn based on the generated guidance route, calculates the coupon next position Pfmn, and obtains the coupon of the coupon body information. The next position Pfmn is updated (step S662).

次いで、情報処理手段980は、クーポン本体情報においてステップS662の処理において更新されたクーポン次位置Pfmnが店舗位置Psから所定の範囲以内であるか否かを判断する(ステップS664)。このとき、情報処理手段980は、更新されたクーポン次位置Pfmnが店舗位置Psから所定の範囲以内であると判断した場合には(ステップS664:Yes)、クーポン取得可能フラグをRAM981に記憶して(ステップS666)、ステップS668に移行する。また、情報処理手段980は、更新されたクーポン次位置Pfmnが店舗位置Psから所定の範囲以内でないと判断した場合には(ステップS664:No)、ステップS668に移行する。   Next, the information processing means 980 determines whether or not the coupon next position Pfmn updated in the process of step S662 in the coupon body information is within a predetermined range from the store position Ps (step S664). At this time, if the information processing unit 980 determines that the updated coupon next position Pfmn is within a predetermined range from the store position Ps (step S664: Yes), the coupon acquisition possible flag is stored in the RAM 981. (Step S666), the process proceeds to step S668. When the information processing unit 980 determines that the updated coupon next position Pfmn is not within the predetermined range from the store position Ps (step S664: No), the information processing unit 980 proceeds to step S668.

次いで、情報処理手段980は、クーポン本体情報においてステップS662の処理において更新されたクーポン次位置Pfmnが店舗位置Psと同一であるか否かを判断する(ステップS668)。このとき、情報処理手段980は、更新されたクーポン次位置Pfmnが店舗位置Psと同一でないと判断した場合には(ステップS668:No)、ステップS670に移行する。そして、情報処理手段980は、更新されたクーポン次位置Pfmnが店舗位置Psと同一であると判断した場合には(ステップS668:Yes)、ゴール到達フラグをRAM981に記憶して(ステップS670)、ステップS671に移行する。   Next, the information processing means 980 determines whether or not the coupon next position Pfmn updated in the process of step S662 in the coupon body information is the same as the store position Ps (step S668). At this time, if the information processing unit 980 determines that the updated coupon next position Pfmn is not the same as the store position Ps (step S668: No), the information processing unit 980 proceeds to step S670. If the information processing unit 980 determines that the updated coupon next position Pfmn is the same as the store position Ps (step S668: Yes), the goal arrival flag is stored in the RAM 981 (step S670). The process proceeds to step S671.

次いで、情報処理手段980は、クーポン取得可能フラグ及びゴール到達フラグがRAM981に記録されている場合には、各フラグ情報とともに、各フラグがRAM981に記録されていない場合には、単独でクーポン本体情報においてステップS662の処理において更新されたクーポン次位置Pfmnの情報をキャラクタの位置情報として該当する携帯用端末装置7に送信する(ステップS671)。このとき、情報処理手段980は、送信したクーポン次位置Pfmnをクーポン本体情報において該当するクーポン現在位置Pcmnとして更新する。   Next, when the coupon acquisition possible flag and the goal attainment flag are recorded in the RAM 981, the information processing means 980 independently displays the coupon main body information together with each flag information when each flag is not recorded in the RAM 981. In step S662, the information on the coupon next position Pfmn updated in the process of step S662 is transmitted to the corresponding portable terminal device 7 as the position information of the character (step S671). At this time, the information processing unit 980 updates the transmitted coupon next position Pfmn as the corresponding coupon current position Pcmn in the coupon body information.

次いで、情報処理手段980は、該当する携帯用端末装置7から送信された端末位置と撮像方向のデータを受信すると(ステップS672)、当該携帯用端末装置7においてクーポンコンテンツ情報が受信可能である旨を示すフラグ情報を受信したか否かを判断する(ステップS674)。このとき、情報処理手段980は、クーポンコンテンツ情報が受信可能である旨を示すフラグ情報を受信しなかったと判断した場合には(ステップS674:No)、ステップS678の処理に移行する。また、情報処理手段980は、クーポンコンテンツ情報が受信可能である旨を示すフラグ情報を受信したと判断した場合には(ステップS674:Yes)、クーポン本体情報に規定されたクーポンコンテンツ情報を該当する携帯用端末装置7に送信し(ステップS676)、ステップS678の処理に移行する。ステップS676の処理において、サーバ装置9は、該当するキャラクタの(すなわち、クーポンの)クーポン本体情報における取得済みフラグをTRUEに更新する。   Next, when the information processing unit 980 receives the data of the terminal position and the imaging direction transmitted from the corresponding portable terminal device 7 (step S672), the portable terminal device 7 can receive coupon content information. It is determined whether or not flag information indicating is received (step S674). At this time, if it is determined that the flag information indicating that coupon content information is receivable has not been received (step S674: No), the information processing means 980 proceeds to the process of step S678. If the information processing unit 980 determines that the flag information indicating that the coupon content information can be received has been received (step S674: Yes), the coupon content information defined in the coupon body information is applicable. The data is transmitted to the portable terminal device 7 (step S676), and the process proceeds to step S678. In the process of step S676, the server device 9 updates the acquired flag in the coupon main body information (that is, the coupon) of the corresponding character to TRUE.

次いで、情報処理手段980は、ステップS670の処理において、RAM981にゴール到達フラグが記録されているか否かを判断し(ステップS678)、記録していると判断した場合には(ステップS678:Yes)、本動作を終了させる。一方、情報処理手段980は、ステップS670の処理において、RAM981にゴール到達フラグが記録されていないと判断した場合には、ステップS662の処理に移行する。   Next, the information processing means 980 determines whether or not the goal arrival flag is recorded in the RAM 981 in the process of step S670 (step S678), and if it is determined that it is recorded (step S678: Yes). This operation is terminated. On the other hand, if the information processing means 980 determines that the goal arrival flag is not recorded in the RAM 981 in the process of step S670, the information processing means 980 proceeds to the process of step S662.

[作用効果]
以上本実施形態のサーバ装置9は、現実空間において刻々と拡散移動するようにキャラクタを携帯用端末装置7に現実画像とともに表示させることが可能であって、当該キャラクタを用いて店舗までの経路誘導を実行しつつ、経路誘導中に店舗のクーポンをクーポンコンテンツ情報として携帯用端末装置7に取得させることができる。したがって、サーバ装置9は、クーポンを取得するための起因として用いられるキャラクタを利用者に探索させることによって、利用者にクーポンの取得における趣向性を持たせることができるとともに、当該キャラクタの現実空間内における移動に従って店舗に携帯用端末装置7を用いて利用者を誘導すること、及び、店舗に来訪する利用者にクーポンを的確に取得させることを両立させることができる。この結果、サーバ装置9は、利用者に対するクーポンの取得に対する興趣を維持させつつ、当該その利用を促進させることができるので、クーポンの利用率を高めて宣伝効果を向上させることができる。
[Function and effect]
As described above, the server device 9 of the present embodiment can display a character together with a real image on the portable terminal device 7 so as to be diffused and moved in real space, and uses the character to guide a route to a store. The portable terminal device 7 can be made to acquire the coupon of the store as coupon content information during route guidance. Therefore, the server device 9 allows the user to search for a character used as a cause for acquiring the coupon, thereby allowing the user to have a preference in acquiring the coupon, and in the real space of the character. The user can be guided to the store by using the portable terminal device 7 in accordance with the movement in, and the user who visits the store can acquire the coupon accurately. As a result, since the server device 9 can promote the use of the coupon while maintaining the interest in acquiring the coupon for the user, the use rate of the coupon can be increased and the advertising effect can be improved.

[変形例]
上記の説明では、携帯用端末装置7の位置が店舗誘導処理中にクーポンを提供している店舗に対して所定の範囲内に属した際に、クーポンコンテンツ情報の取得を許可するようになっているが、当該店舗誘導処理中に、キャラクタの現実空間内における移動速度を所定のタイミングで、携帯用端末装置7の移動速度よりも遅くし、または、キャラクタ画像の現実空間内における移動速度徐々に遅くし、当該店舗誘導処理中であって店舗に到達するまでに、キャラクタの現実空間内における位置と携帯用端末装置7の位置を接近させつつ、キャラクタの現実空間内の位置が携帯用端末装置7から所定の範囲内になった場合に、利用者の携帯用端末装置7における操作に基づいて、クーポンコンテンツ情報を取得させるようにしてもよい。
[Modification]
In the above description, when the position of the portable terminal device 7 belongs to a predetermined range with respect to the store providing the coupon during the store guidance process, the acquisition of the coupon content information is permitted. However, during the store guidance process, the moving speed of the character in the real space is made slower than the moving speed of the portable terminal device 7 at a predetermined timing, or the moving speed of the character image in the real space is gradually increased. The position of the character in the real space is made closer to the position of the portable terminal device 7 while approaching the position of the character in the real space and the position of the portable terminal device 7 until the store is reached. When the value falls within a predetermined range from 7, the coupon content information may be acquired based on the user's operation on the portable terminal device 7.

例えば、サーバ装置9は、店舗誘導処理中に受信した携帯用端末装置7の端末位置情報に基づいて、利用者の歩行速度を算出するとともに、店舗位置から所定の距離手前で、携帯用端末装置7の位置がキャラクタに所定の距離に接近してクーポンコンテンツ情報を取得することが可能な位置となるように、キャラクタにおける移動速度、すなわち、現実空間内において表示されている位置を制御する。   For example, the server device 9 calculates the walking speed of the user based on the terminal position information of the portable terminal device 7 received during the store guidance process, and the portable terminal device before a predetermined distance from the store position. The moving speed of the character, that is, the position displayed in the real space, is controlled so that the position of 7 is close to the character at a predetermined distance and the coupon content information can be acquired.

また、本実施形態のランダム拡散処理及び基点重点拡散処理においては、キャラクタが同一タイミングによって同一速度で各方向に現実空間を移動するようにその位置を制御するようになっているが、各方向毎に異なる速度によって、または、異なるタイミングで各方向に現実空間を移動するようにその位置を制御してもよい。   In addition, in the random diffusion process and the base point weighted diffusion process of the present embodiment, the position of the character is controlled so that the character moves in each direction at the same speed and at the same speed. The position may be controlled to move in the real space in different directions at different speeds or at different timings.

また、本実施形態のランダム拡散処理の一つとしては、キャラクタを現実空間において一定方向に順次移動させるようになっているが、所定の情報サーバ装置から店舗位置を基準とした気圧情報または風向き情報を取得し、店舗位置を基準に気圧の高い方向から気圧の低い方向にキャラクタを移動させるように現実空間内における位置を設定するようにしてもよい。また、ライバル店の位置または店舗位置の最寄りの駅など特定の場所に向けて店舗位置からキャラクタが移動するように現実空間内における位置を設定するようにしてもよい。   Further, as one of the random diffusion processes of the present embodiment, the character is sequentially moved in a certain direction in the real space, but the atmospheric pressure information or the wind direction information based on the store position from a predetermined information server device. And the position in the real space may be set so that the character is moved from the direction of high atmospheric pressure to the direction of low atmospheric pressure based on the store position. Further, the position in the real space may be set so that the character moves from the store position toward a specific place such as the position of the rival store or the nearest station of the store position.

また、上記の説明では、汎用のサーバ装置9の情報処理手段980にクーポン提供用のプログラムをインストールして実行する実施形態を示したが、本発明はこれに限定するものではなく、各々の処理ついてハードウェアを構成して、クーポンの提供を実現することも可能である。   In the above description, the embodiment in which the coupon providing program is installed and executed in the information processing unit 980 of the general-purpose server device 9 has been described. However, the present invention is not limited to this, and each processing is performed. It is also possible to realize the provision of coupons by configuring hardware.

2 … 近距離無線通信アンテナ
3 … 広域無線通信アンテナ
4 … 近距離無線通信アンテナ
5 … 基地局
6 … ネットワーク
7 … 携帯用端末装置
8 … 広域無線通信アンテナ
9 … サーバ装置
750 … 撮像手段
751 … 画像処理手段
758 … 位置検出手段
759 … 加速度検出手段
760 … 方位検出手段
764 … 広域無線通信手段
765 … 近距離無線通信手段
770 … 入力手段
772 … 表示手段
780 … 情報処理手段
781 … RAM
782 … ROM
784 … 記録手段
790 … タイマーカウンタ
799 … バス
965 … 近距離無線通信手段
968 … 通信手段
970 … 入力手段
972 … 表示手段
980 … 情報処理手段
981 … RAM
982 … ROM
984 … 記録手段
990 … タイマーカウンタ
999 … バス
Dc … クーポン排他距離
Fpmn … 現在位置送信フラグ
I … 配布区域分割数
m … 未取得クーポン拡散ID
n … クーポン番号
N … クーポン(キャラクタ)の総数
Pcmn … クーポン現在位置
Pfmn … クーポン次位置
Ps … 店舗位置
Ptmn … 端末位置情報
Rca … 移動距離
Rcb … 排他移動距離
Rmn … 移動距離
Rn … クーポン取得距離
T … 第1拡散時間
tc … アイドル時間
Zx … 提供半径
θfmn … 移動方向
DESCRIPTION OF SYMBOLS 2 ... Near field communication antenna 3 ... Wide area wireless communication antenna 4 ... Near field communication antenna 5 ... Base station 6 ... Network 7 ... Portable terminal device 8 ... Wide area wireless communication antenna 9 ... Server apparatus 750 ... Imaging means 751 ... Image Processing means 758 ... Position detection means 759 ... Acceleration detection means 760 ... Direction detection means 764 ... Wide-area wireless communication means 765 ... Short-range wireless communication means 770 ... Input means 772 ... Display means 780 ... Information processing means 781 ... RAM
782 ... ROM
784 ... Recording means 790 ... Timer counter 799 ... Bus 965 ... Short-range wireless communication means 968 ... Communication means 970 ... Input means 972 ... Display means 980 ... Information processing means 981 ... RAM
982… ROM
984 ... Recording means 990 ... Timer counter 999 ... Bus Dc ... Coupon exclusive distance Fpmn ... Current position transmission flag I ... Distribution area division number m ... Unacquired coupon diffusion ID
n ... Coupon number N ... Total number of coupons (characters) Pcmn: Coupon current position Pfmn ... Coupon next position Ps ... Store position Ptmn ... Terminal position information Rca ... Travel distance Rcb ... Exclusive travel distance Rmn ... Travel distance Rn ... Coupon acquisition distance T … 1st diffusion time tc… Idle time Zx… Radius provided θfmn… Movement direction

Claims (9)

現実空間の撮像する機能を有する携帯用端末装置に、実在する店舗におけるクーポンの内容を示すクーポンコンテンツ情報を提供するサーバ装置であって、
前記携帯用端末装置によって撮像された現実空間の画像に重畳表示可能な画像形成物であって、前記クーポンに対応付けられて、かつ、当該現実空間における位置に対応付けられた画像形成物を当該携帯用端末装置に提供する画像形成物提供手段と、
前記画像形成物が現実空間を仮想的に移動するように、当該画像形成物に対応付けられた現実空間における位置を現実空間の状況に従って刻々と変化させる位置制御手段と、
前記携帯用端末装置によって前記重畳表示された画像形成物が指定された場合には、前記画像形成物を用いて前記携帯用端末装置の現在位置の近傍から前記店舗の位置まで前記携帯用端末装置のユーザを誘導する経路誘導手段と、
前記携帯用端末装置を有するユーザを前記店舗まで誘導している誘導中に、所定のタイミングでクーポンコンテンツ情報の取得を許可し、前記携帯用端末装置の指示に基づいてクーポンコンテンツ情報を当該携帯用端末装置に提供するコンテンツ情報提供手段と、
を備え、
前記位置制御手段が、前記経路誘導中に、前記携帯用端末装置の現在位置の近傍から前記店舗の位置までの誘導ルートに沿って、前記携帯用端末装置に表示させつつ、前記画像形成物の現実空間における位置を変化させることを特徴とするサーバ装置。
A server device that provides coupon content information indicating the content of a coupon in an actual store to a portable terminal device having a function of imaging a real space,
An image formation that can be superimposed and displayed on an image in the real space captured by the portable terminal device, the image formation associated with the coupon and the position in the real space An image formation providing means for providing the portable terminal device;
Position control means for changing the position in the real space associated with the image formation in accordance with the state of the real space so that the image formation virtually moves in the real space;
When the superimposed image formation is specified by the portable terminal device, the portable terminal device is used from the vicinity of the current position of the portable terminal device to the position of the store using the image formation. Route guidance means for guiding users of
During guidance that guides a user having the portable terminal device to the store, acquisition of coupon content information is permitted at a predetermined timing, and the coupon content information is portable based on an instruction from the portable terminal device. Content information providing means to be provided to the terminal device;
With
The position control means is configured to display the image forming object while displaying on the portable terminal device along the guidance route from the vicinity of the current position of the portable terminal device to the position of the store during the route guidance. A server device characterized by changing a position in a real space.
請求項1に記載のサーバ装置において、
前記コンテンツ情報提供手段が、前記経路誘導中に前記画像形成物の現実空間における位置が前記店舗から所定の範囲内に到達した場合に、前記クーポンコンテンツ情報の取得を許可して前記携帯用端末装置に基づいて前記クーポンコンテンツ情報を提供する、サーバ装置。
The server device according to claim 1,
The content information providing means permits the acquisition of the coupon content information when the position of the image formation in the real space reaches a predetermined range from the store during the route guidance, and the portable terminal device The server apparatus which provides the said coupon content information based on.
請求項1に記載のサーバ装置において、
前記位置制御手段が、前記経路誘導中に前記画像形成物の現実空間における位置を変化させる変化速度を誘導開始時に比べて遅延させる制御を実行し、
前記コンテンツ情報提供手段が、前記経路誘導中に前記携帯用端末装置の現在位置を取得するとともに、前記画像形成物の位置が前記携帯用端末装置の位置から所定の範囲に属した場合に、前記クーポンコンテンツ情報の取得を許可して前記携帯用端末装置に基づいて前記クーポンコンテンツ情報を提供する、サーバ装置。
The server device according to claim 1,
The position control means executes control for delaying a change speed for changing the position of the image formed object in the real space during the route guidance compared to the start of guidance,
When the content information providing means acquires the current position of the portable terminal device during the route guidance and the position of the image formation belongs to a predetermined range from the position of the portable terminal device, A server device that permits acquisition of coupon content information and provides the coupon content information based on the portable terminal device.
請求項1〜3の何れか一項に記載のサーバ装置において、
前記位置制御手段が、前記クーポンを提供する店舗から放射状に現実空間を仮想的に移動するように、当該画像形成物に対応付けられた現実空間における位置を刻々と変化させる、サーバ装置。
In the server apparatus as described in any one of Claims 1-3,
A server device, wherein the position control means changes the position in the real space associated with the image formation moment by moment so that the real space is virtually moved radially from the store that provides the coupon.
請求項1〜3の何れか一項に記載のサーバ装置において、
前記位置制御手段が、同一の前記画像形成物が所定の距離を保って前記現実空間を仮想的に移動するように、当該画像形成物に対応付けられた現実空間における位置を刻々と変化させる、サーバ装置。
In the server apparatus as described in any one of Claims 1-3,
The position control means changes the position in the real space associated with the image formation every moment so that the same image formation moves virtually in the real space with a predetermined distance; Server device.
請求項1〜3の何れか一項に記載のサーバ装置において、
前記位置制御手段が、前記クーポンを提供する店舗から所定の範囲内の現実空間を仮想的に移動するように、当該画像形成物に対応付けられた現実空間における位置を刻々と変化させる、サーバ装置。
In the server apparatus as described in any one of Claims 1-3,
A server device in which the position control unit changes the position in the real space associated with the image formation so as to virtually move in the real space within a predetermined range from the store that provides the coupon. .
請求項4〜6の何れか一項に記載のサーバ装置において、
前記位置制御手段が、前記現実空間における前記ユーザが進入不能な領域には前記画像形成物が移動不能として当該画像形成物に対応付けられた現実空間における位置を刻々と変化させる、サーバ装置。
In the server apparatus as described in any one of Claims 4-6,
The server device, wherein the position control means changes the position in the real space associated with the image forming object as the image forming object cannot move in an area where the user cannot enter in the real space.
請求項1〜6の何れか一項に記載のサーバ装置において、
前記誘導手段が、一の前記携帯用端末装置によって前記経路誘導に用いられている画像形成物については他の前記携帯用端末装置によっては誘導禁止に設定する、サーバ装置。
In the server apparatus as described in any one of Claims 1-6,
The server device, wherein the guiding means sets the image formation used for route guidance by one of the portable terminal devices to be prohibited from guiding depending on the other portable terminal devices.
コンピュータによって、現実空間の撮像する機能を有する携帯用端末装置に、実在する店舗におけるクーポンの内容を示すクーポンコンテンツ情報を提供するコンテンツ情報提供プログラムであって、
前記コンピュータを、
前記携帯用端末装置によって撮像された現実空間の画像に重畳表示可能な画像形成物であって、前記クーポンに対応付けられて、かつ、当該現実空間における位置に対応付けられた画像形成物を当該携帯用端末装置に提供する画像形成物提供手段、
前記画像形成物が現実空間を仮想的に移動するように、当該画像形成物に対応付けられた現実空間における位置を現実空間の状況に従って刻々と変化させる位置制御手段、
前記携帯用端末装置によって前記重畳表示された画像形成物が指定された場合には、前記画像形成物を用いて前記携帯用端末装置の現在位置の近傍から前記店舗の位置まで前記携帯用端末装置のユーザを誘導する誘導手段、
前記携帯用端末装置を有するユーザを前記店舗まで誘導している誘導中に、所定のタイミングでクーポンコンテンツ情報の取得を許可し、前記携帯用端末装置の指示に基づいてクーポンコンテンツ情報を当該携帯用端末装置に提供するコンテンツ情報提供手段、
として機能させるとともに、
前記コンピュータを、前記経路誘導中に、前記携帯用端末装置の現在位置の近傍から前記店舗の位置までの誘導ルートに沿って、前記携帯用端末装置に表示させつつ、前記画像形成物の現実空間における位置を変化させる前記位置制御手段として機能させることを特徴とするコンテンツ情報提供プログラム。
A content information providing program for providing coupon content information indicating the contents of a coupon in an actual store to a portable terminal device having a function of imaging a real space by a computer,
The computer,
An image formation that can be superimposed and displayed on an image in the real space captured by the portable terminal device, the image formation associated with the coupon and the position in the real space An image formation providing means for providing to a portable terminal device;
Position control means for changing the position in the real space associated with the image formed object according to the state of the real space, so that the image formed object virtually moves in the real space;
When the superimposed image formation is specified by the portable terminal device, the portable terminal device is used from the vicinity of the current position of the portable terminal device to the position of the store using the image formation. Guiding means for guiding users of
During guidance that guides a user having the portable terminal device to the store, acquisition of coupon content information is permitted at a predetermined timing, and the coupon content information is portable based on an instruction from the portable terminal device. Content information providing means to be provided to the terminal device;
And function as
While the route is being guided, the computer is displayed on the portable terminal device along the guidance route from the vicinity of the current position of the portable terminal device to the position of the store, and the real space of the image formed object A content information providing program that functions as the position control means for changing the position of the content information.
JP2010222884A 2010-09-30 2010-09-30 Server apparatus and content information providing program Expired - Fee Related JP5545155B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010222884A JP5545155B2 (en) 2010-09-30 2010-09-30 Server apparatus and content information providing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010222884A JP5545155B2 (en) 2010-09-30 2010-09-30 Server apparatus and content information providing program

Publications (2)

Publication Number Publication Date
JP2012079036A JP2012079036A (en) 2012-04-19
JP5545155B2 true JP5545155B2 (en) 2014-07-09

Family

ID=46239222

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010222884A Expired - Fee Related JP5545155B2 (en) 2010-09-30 2010-09-30 Server apparatus and content information providing program

Country Status (1)

Country Link
JP (1) JP5545155B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6421384B2 (en) * 2014-12-26 2018-11-14 株式会社ごちぽん Server apparatus, information processing method, and program
JP2017103598A (en) 2015-12-01 2017-06-08 ソニー株式会社 Information processing apparatus, information processing method, and program
JP7125847B2 (en) * 2018-02-19 2022-08-25 株式会社あかつき 3D model display device, 3D model display method and 3D model display program
SG10201804153SA (en) * 2018-05-16 2018-11-29 Voyager Innovations Inc System and method for determining an outcome associated with an event
JP7386198B2 (en) * 2020-03-25 2023-11-24 孝雄 古谷 Information processing device and program

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001034378A (en) * 1999-07-23 2001-02-09 Kansai Tlo Kk Object output system, object management device, object output device, and recording medium
JP2003067615A (en) * 2001-06-13 2003-03-07 Sony Corp Terminal for receiving electronic coupon and server device
JP2003134510A (en) * 2001-08-16 2003-05-09 Space Tag Inc Image information distribution system
JP5199989B2 (en) * 2009-12-16 2013-05-15 ヤフー株式会社 Electronic coupon distribution server, electronic coupon distribution system, electronic coupon distribution method, and electronic coupon distribution program
JP5059206B2 (en) * 2010-03-30 2012-10-24 新日鉄ソリューションズ株式会社 Object display system and object display method

Also Published As

Publication number Publication date
JP2012079036A (en) 2012-04-19

Similar Documents

Publication Publication Date Title
US11323843B2 (en) Efficient geo-fence data transfer and notifications using a time to reach value
AU2011369385B2 (en) Systems and methods for collecting and providing map images
US8872767B2 (en) System and method for converting gestures into digital graffiti
US11118911B2 (en) Localized map generation
JP5456799B2 (en) Device transaction model and service based on device direction information
US9479904B2 (en) Methods, apparatuses and computer program products for providing automatic maintenance of a geoposition system
JP5545155B2 (en) Server apparatus and content information providing program
CN107203556A (en) A kind of method and device of newly-increased interest point information
WO2017133541A1 (en) Method and apparatus for information recommendation
US20100204914A1 (en) Active widgets for mobile navigation systems
US20120231818A1 (en) Server apparatus, information providing program, recording medium recording information providing program, information providing method, portable terminal device, terminal processing program, recording medium recording terminal processing program, and information providing system
CN109218982A (en) Scenic spot information acquisition method and device, mobile terminal and storage medium
WO2011084720A2 (en) A method and system for an augmented reality information engine and product monetization therefrom
CN105222774A (en) A kind of indoor orientation method and user terminal
CN109477726A (en) Point-of-interest recognition based on polyline routes and progress along the route
AU2017397651A1 (en) Providing navigation directions
JP2014075714A (en) Positioning method, positioning system and program thereof
US20160071154A1 (en) Three-dimensional taxonomy server for identifying a location based on a three-dimensional position of a client device
CN105115496B (en) A kind of interior wiring recommends method and mobile terminal
KR20130026542A (en) Method of providing gift service based on augmented reality
JP2016126633A (en) Information terminal device, advertisement information distribution system and advertisement information display method
JP4900335B2 (en) Map information generator
JP6133967B1 (en) Information processing system, information processing device, information processing method, information processing program, portable terminal device, and control program therefor
CN105136148B (en) A kind of interior wiring generation method and user terminal
JP6695269B2 (en) Information processing apparatus, information processing method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130725

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140314

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140428

R150 Certificate of patent or registration of utility model

Ref document number: 5545155

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees