JP2015099491A - Server device - Google Patents

Server device Download PDF

Info

Publication number
JP2015099491A
JP2015099491A JP2013239068A JP2013239068A JP2015099491A JP 2015099491 A JP2015099491 A JP 2015099491A JP 2013239068 A JP2013239068 A JP 2013239068A JP 2013239068 A JP2013239068 A JP 2013239068A JP 2015099491 A JP2015099491 A JP 2015099491A
Authority
JP
Japan
Prior art keywords
identification information
communication terminal
application
program
terminal
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.)
Granted
Application number
JP2013239068A
Other languages
Japanese (ja)
Other versions
JP5483244B1 (en
Inventor
碩 井上
Seki Inoue
碩 井上
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.)
coromo
COROMO CO Ltd
Original Assignee
coromo
COROMO 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 coromo, COROMO CO Ltd filed Critical coromo
Priority to JP2013239068A priority Critical patent/JP5483244B1/en
Application granted granted Critical
Publication of JP5483244B1 publication Critical patent/JP5483244B1/en
Publication of JP2015099491A publication Critical patent/JP2015099491A/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce labor of a user when a parameter read by a communication terminal is passed to a program and is executed.SOLUTION: Reception means 101 receives application identification information, a parameter, and terminal identification information which are transmitted by a browser function. Storage means 102 stores the received application identification information and parameter in association with the terminal identification information. If an application identified by the received application identification information is not installed in a communication terminal, second instruction means 104 instructs the communication terminal to install the application. If the stored application identification information and terminal identification information are received after the application is installed in the communication terminal according to an instruction by the second instruction means 104, first instruction means 103 instructs a browser of the communication terminal to pass the parameter, which is stored in association with the terminal identification information, to the application.

Description

本発明は、パラメータを用いてプログラムを実行させるための技術に関する。   The present invention relates to a technique for executing a program using parameters.

パラメータを用いてプログラムを実行させるための技術がある。特許文献1には、アプリケーション起動パラメータを有するアプリ起動コマンドが携帯端末のICチップに送信され、ICチップとアプリケーションの情報のやりとりを仲介するミドルウェアがアプリケーション起動パラメータを付加したアプリ起動指示を与えてアプリケーションを起動させた後、起動したアプリケーションが、アプリケーション起動パラメータからパラメータを抽出し、抽出したパラメータを用いて処理を行う技術が記載されている。   There is a technique for executing a program using parameters. In Patent Document 1, an application activation command having an application activation parameter is transmitted to the IC chip of the portable terminal, and the middleware that mediates exchange of information between the IC chip and the application gives an application activation instruction with the application activation parameter added thereto. Describes a technique in which the activated application extracts parameters from the application activation parameters and performs processing using the extracted parameters.

特開2013−182407号公報JP 2013-182407 A

ところで、近年では、商品の検討や購入に際して店舗(オフライン)を利用しているユーザを、インターネット(オンライン)を利用するように誘導する、O2O(Offline to Online)と呼ばれる活動が増えている。O2Oを実現するために、例えば、店舗で扱う商品に付帯するQR(登録商標:Quick Response)コードやNFC(Near Field Communication)チップなどを介して、ユーザが利用する通信端末にパラメータ(商品の種類やクーポンの種類などを示すパラメータ)を読み取らせ、通信端末で実行されるプログラムがそのパラメータを用いてインターネット上のコンテンツ(商品を紹介したサイトやクーポンを利用した商品の購入サイトなど)にアクセスする、という仕組みが提供されている。このような仕組みは、商品を販売する店舗毎やメーカー毎、場合によっては商品毎に提供されるため、通信端末が実行するプログラムも、多岐にわたる可能性がある。   By the way, in recent years, an activity called O2O (Offline to Online) that guides a user who uses a store (offline) to study or purchase a product to use the Internet (online) is increasing. In order to realize O2O, for example, a parameter (product type) is set in a communication terminal used by a user via a QR (registered trademark: Quick Response) code attached to a product handled in a store, an NFC (Near Field Communication) chip, or the like. And parameters that indicate the type of coupon), and the program executed on the communication terminal uses the parameters to access Internet content (such as sites that introduce products or sites that purchase products using coupons). Is provided. Since such a mechanism is provided for each store selling products, for each manufacturer, and in some cases for each product, there is a possibility that the program executed by the communication terminal is diverse.

そのため、通信端末がプログラムを実行し、実行したプログラムに読み取ったパラメータを渡す処理についても、例えばオペレーティングシステム(Operating System。以下「OS」という)だけで行える場合もあれば、特許文献1の技術のようにミドルウェアを必要とする場合もありえる。このように、実行させるプログラムによってパラメータを渡すために必要な環境が異なると、その環境を有していない通信端末のユーザは、わざわざサイトにアクセスしてダウンロードするなどのように、パラメータを渡すことができる環境を整えるための手間が生じる可能性がある。特許文献1の技術では、携帯端末が有するミドルウェアでパラメータを渡すことしか想定されておらず、このミドルウェアではパラメータを渡すことができないプログラムが実行される場合には、ユーザに手間が生じることになる。
そこで、本発明は、通信端末が読み取ったパラメータをプログラムに渡して実行させるときのユーザの手間を少なくすることを目的とする。
Therefore, there is a case where the communication terminal executes the program and passes the read parameter to the executed program, for example, only by an operating system (hereinafter referred to as “OS”). Middleware may be required. In this way, when the environment required for passing parameters differs depending on the program to be executed, the user of the communication terminal that does not have the environment passes the parameters, such as accessing the site and downloading it. There is a possibility that it will take time to prepare an environment where people can In the technique of Patent Document 1, it is only assumed that parameters are passed by middleware included in the portable terminal. When a program that cannot pass parameters is executed by this middleware, the user is troublesome. .
Therefore, an object of the present invention is to reduce a user's trouble when passing a parameter read by a communication terminal to a program for execution.

上記目的を達成するために、本発明は、プログラムを識別するプログラム識別情報と、当該プログラムの実行時に用いられるパラメータとが記述された媒体から当該プログラム識別情報及びパラメータを読み取り可能な通信端末から、当該通信端末において実行されるブラウザの機能により送信されてくる前記プログラム識別情報、前記パラメータ及び当該通信端末を識別する端末識別情報を受信する受信手段と、受信された前記端末識別情報によって識別される通信端末において実行される前記ブラウザに対して、受信された前記プログラム識別情報によって識別されるプログラムに、受信された前記パラメータを渡すように指示する第1指示手段とを備えるサーバ装置を提供する。   In order to achieve the above object, the present invention provides a communication terminal capable of reading program identification information and parameters from a medium in which program identification information for identifying a program and parameters used when executing the program are described. Recognized by the receiving means for receiving the program identification information, the parameter and the terminal identification information for identifying the communication terminal transmitted by the function of the browser executed in the communication terminal, and the received terminal identification information A server device is provided that includes first instruction means for instructing the browser executed in a communication terminal to pass the received parameter to a program identified by the received program identification information.

上記のサーバ装置は、受信された前記プログラム識別情報及び前記パラメータを受信された前記端末識別情報に対応付けて記憶する記憶手段と、受信された前記端末識別情報によって識別される通信端末に、受信された前記プログラム識別情報によって識別されるプログラムがインストールされていない場合に、当該通信端末において実行されるオペレーションシステムに対して当該プログラムをインストールするように指示する第2指示手段とを備え、前記第1指示手段は、前記第2指示手段による指示に応じて前記通信端末に前記プログラムがインストールされた後に、前記記憶手段に記憶されているプログラム識別情報及び端末識別情報が前記受信手段により受信された場合には、当該通信端末において実行される前記ブラウザに対して、当該端末識別情報に対応付けて前記記憶手段に記憶されているパラメータを前記プログラムに渡すように指示してもよい。   The server apparatus receives the program identification information and the parameter received in association with the received terminal identification information and stores the received information in the communication terminal identified by the received terminal identification information. Second instruction means for instructing an operation system executed in the communication terminal to install the program when the program identified by the program identification information is not installed. The first instruction means receives the program identification information and the terminal identification information stored in the storage means after the program is installed in the communication terminal according to the instruction from the second instruction means. In the case, for the browser executed in the communication terminal It may instruct to pass parameters stored in the storage means in association with the terminal identification information to the program.

また、上記のサーバ装置は、前記通信端末のIP(Internet Protocol)アドレス及び当該通信端末において実行されるブラウザの属性を前記通信端末から取得する取得手段を備え、前記記憶手段は、受信された前記パラメータを前記取得手段により取得されたIPアドレス及びブラウザの属性に対応付けて記憶し、前記第1指示手段は、前記第2指示手段による指示に応じて前記通信端末に前記プログラムがインストールされた後に、前記記憶手段に記憶されているプログラム識別情報が前記受信手段により受信された場合には、当該通信端末において実行される前記ブラウザに対して、当該通信端末について前記取得手段により取得された前記IPアドレス及び前記ブラウザの属性に対応付けて前記記憶手段に記憶されているパラメータを前記プログラムに渡すように指示してもよい。   Further, the server device includes an acquisition unit that acquires an IP (Internet Protocol) address of the communication terminal and an attribute of a browser executed in the communication terminal from the communication terminal, and the storage unit receives the received The parameter is stored in association with the IP address acquired by the acquisition unit and the attribute of the browser, and the first instruction unit is installed after the program is installed in the communication terminal in accordance with an instruction from the second instruction unit. When the program identification information stored in the storage means is received by the receiving means, the IP acquired by the acquiring means for the communication terminal is sent to the browser executed in the communication terminal. The parameter stored in the storage means in association with the address and the attribute of the browser It may be instructed to pass the program.

本発明によれば、通信端末が読み取ったパラメータをプログラムに渡して実行させるときのユーザの手間を少なくすることができる。   ADVANTAGE OF THE INVENTION According to this invention, the user's effort when passing the parameter which the communication terminal read to the program and making it execute can be reduced.

第1実施形態の情報処理システムの全体構成の一例を示す図The figure which shows an example of the whole structure of the information processing system of 1st Embodiment 通信端末のハードウェア構成の一例を示す図The figure which shows an example of the hardware constitutions of a communication terminal サーバ装置のハードウェア構成の一例を示す図The figure which shows an example of the hardware constitutions of a server apparatus サーバ装置の機能構成の一例を示す図The figure which shows an example of a function structure of a server apparatus 端末識別情報テーブルの一例を示す図The figure which shows an example of a terminal identification information table パラメータ引き渡し処理における各装置の動作の一例を示すシーケンス図Sequence diagram showing an example of the operation of each device in the parameter passing process パラメータ引き渡し処理における各装置の動作の他の一例を示すシーケンス図Sequence diagram showing another example of operation of each device in parameter passing process 第2実施形態のサーバ装置の機能構成の一例を示す図The figure which shows an example of a function structure of the server apparatus of 2nd Embodiment. 本実施形態の端末識別情報テーブルの一例を示す図The figure which shows an example of the terminal identification information table of this embodiment

[1]第1実施形態
[1−1]全体構成
図1は、第1実施形態の情報処理システムの全体構成の一例を示す図である。図1の例では、サーバ装置10と、通信端末20と、アプリ提供装置30と、これらの装置(通信端末20を含む)を接続するネットワーク2とを備える情報処理システム1が示されている。ネットワーク2は、インターネット及び移動体通信網等を含むシステムであり、上記の各装置のデータのやり取りを仲介する。
[1] First Embodiment [1-1] Overall Configuration FIG. 1 is a diagram illustrating an example of the overall configuration of an information processing system according to a first embodiment. In the example of FIG. 1, an information processing system 1 including a server device 10, a communication terminal 20, an application providing device 30, and a network 2 that connects these devices (including the communication terminal 20) is illustrated. The network 2 is a system including the Internet, a mobile communication network, and the like, and mediates exchange of data between the above devices.

アプリ提供装置30は、通信端末20にインストールして実行されるアプリケーションプログラム(以下「アプリ」という)を通信端末20に提供する装置である。アプリ提供装置30は、例えば画像を表示するための表示アプリや楽曲を再生するための再生アプリなどを提供する。アプリ提供装置30は、ウェブサーバの機能を有しており、通信端末20とHTTP(Hypertext Transfer Protocol)通信を行ってアプリの要求を受け付け、その要求に応答して通信端末20にアプリを送信する。   The application providing device 30 is a device that provides the communication terminal 20 with an application program (hereinafter referred to as “application”) that is installed in the communication terminal 20 and executed. The application providing device 30 provides, for example, a display application for displaying images and a reproduction application for reproducing music. The application providing device 30 has a web server function, performs HTTP (Hypertext Transfer Protocol) communication with the communication terminal 20, receives an application request, and transmits the application to the communication terminal 20 in response to the request. .

通信端末20は、ネットワーク2を介してアプリ提供装置30及びサーバ装置10と通信を行う端末であり、例えばスマートフォン、タブレット端末またはパーソナルコンピュータ等の端末である。通信端末20は、ウェブブラウザのプログラム(以下「ブラウザ」という)を記憶している。ここにおいて、ブラウザとは、ウェブサーバとHTTP通信を行って動作の要求やデータのやり取りなどを行うためのプログラムである。通信端末20は、このブラウザの機能によりアプリ提供装置30にアプリを要求し、その応答で送信されてきたアプリを自端末にインストールする。通信端末20は、インストールしたアプリを実行して、例えばそれが表示アプリであれば画像を表示し、再生アプリであれば楽曲を再生する。   The communication terminal 20 is a terminal that communicates with the application providing device 30 and the server device 10 via the network 2, and is a terminal such as a smartphone, a tablet terminal, or a personal computer. The communication terminal 20 stores a web browser program (hereinafter referred to as “browser”). Here, the browser is a program for performing an operation request, data exchange, and the like by performing HTTP communication with a web server. The communication terminal 20 requests an application from the application providing device 30 by using the browser function, and installs the application transmitted as a response to the application terminal 30. The communication terminal 20 executes the installed application, for example, displays an image if it is a display application, and reproduces music if it is a reproduction application.

また、通信端末20は、図1に示す媒体3に記述されている情報(以下「媒体記述情報」という)を読み取り可能な端末であり、媒体3から媒体記述情報を読み取ることを契機にアプリを実行する。媒体3は、例えば、NFCの無線通信を行うIC(Integrated Circuit)チップ(NFCチップ)が貼り付けられたカードやポスターなどである。その場合、媒体記述情報はNFCチップに記憶されており、通信端末20は、媒体3とNFCの無線通信を行い、NFCチップに記憶されている媒体記述情報を読み取る。媒体3は、他にも、媒体記述情報を表すQRコードがプリントされたカードやポスターなどであってもよい。この場合、通信端末20は、QRコードを撮影して分析し、QRコードが示す媒体記述情報を読み取る。   The communication terminal 20 is a terminal that can read information described in the medium 3 shown in FIG. 1 (hereinafter referred to as “medium description information”), and the application is triggered when the medium description information is read from the medium 3. Run. The medium 3 is, for example, a card or a poster on which an IC (Integrated Circuit) chip (NFC chip) that performs NFC wireless communication is attached. In this case, the medium description information is stored in the NFC chip, and the communication terminal 20 performs NFC wireless communication with the medium 3 and reads the medium description information stored in the NFC chip. In addition, the medium 3 may be a card or a poster on which a QR code representing medium description information is printed. In this case, the communication terminal 20 captures and analyzes the QR code, and reads the medium description information indicated by the QR code.

媒体記述情報には、サーバ装置10のURL(Uniform Resource Locator)の他、そのURLの引数として、アプリを識別する情報(以下「アプリ識別情報」という)と、そのアプリ識別情報によって識別されるアプリの実行時に用いられるパラメータとが含まれている。アプリ識別情報は、各アプリに割り当てられた情報であり、例えば、文字や記号、数字などによって表される。アプリ識別情報は、本発明の「プログラム識別情報」の一例である。パラメータは、例えば、表示アプリを実行するときに表示する対象となる画像データのファイル名及びパスを示す情報や、再生アプリを実行するときに再生する対象となる楽曲データのファイル名及びパスを示す情報など、アプリの実行時の処理の対象となるコンテンツを識別する情報(以下「コンテンツ識別情報」という)である。パラメータには、他にも、表示される画像の大きさ、色及び位置等の態様を示す情報や、再生される楽曲の音量、音質及びテンポ等の態様を示す情報などがある。   In the medium description information, in addition to the URL (Uniform Resource Locator) of the server device 10, information identifying an application (hereinafter referred to as “application identification information”) as an argument of the URL, and an application identified by the application identification information And parameters used when executing. The application identification information is information assigned to each application, and is represented by, for example, characters, symbols, numbers, and the like. The application identification information is an example of the “program identification information” in the present invention. The parameter indicates, for example, information indicating the file name and path of image data to be displayed when the display application is executed, and the file name and path of music data to be reproduced when the reproduction application is executed. This is information (hereinafter referred to as “content identification information”) that identifies content to be processed at the time of application execution, such as information. Other parameters include information indicating aspects such as the size, color, and position of the displayed image, and information indicating aspects such as the volume, sound quality, and tempo of the music to be reproduced.

通信端末20は、読み取った媒体記述情報に含まれているパラメータをアプリに渡した上で、そのアプリを実行する。ここでいう「渡す」とは、例えば、アプリの処理のためにRAM上に確保されたワークエリアに情報(例えばパラメータ)を記憶させ、記憶させた情報を用いてアプリが処理を行えるようにすることをいう。
サーバ装置10は、この通信端末20がアプリにパラメータを渡す処理を支援する装置である。つまり、情報処理システム1においては、サーバ装置10及び通信端末20が協働してアプリにパラメータが渡されることになる。以下では、このようにしてアプリにパラメータが渡される処理を「パラメータ引き渡し処理」という。サーバ装置10は、ウェブサーバとしての機能を有しており、サーバ装置10及び通信端末20がHTTP通信による動作の要求やデータのやり取りを行うことで、パラメータ引き渡し処理が行われる。パラメータ引き渡し処理の詳細は後述する。
The communication terminal 20 passes the parameters included in the read medium description information to the application, and then executes the application. “Passing” here refers to, for example, storing information (for example, parameters) in a work area reserved on the RAM for processing of the application, and allowing the application to perform processing using the stored information. That means.
The server device 10 is a device that supports the process in which the communication terminal 20 passes parameters to the application. That is, in the information processing system 1, the server device 10 and the communication terminal 20 cooperate to pass parameters to the application. Hereinafter, the process of passing parameters to the application in this manner is referred to as “parameter passing process”. The server device 10 has a function as a web server, and parameter delivery processing is performed by the server device 10 and the communication terminal 20 performing an operation request or data exchange by HTTP communication. Details of the parameter passing process will be described later.

[1−2]ハードウェア構成
図2は、通信端末20のハードウェア構成の一例を示す図である。通信端末20は、制御部21と、記憶部22と、UI(User Interface)部23と、第1通信部24と、第2通信部25と、撮影部26とを備えるコンピュータである。制御部21は、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)及びリアルタイムクロックを備え、CPUが、RAMをワークエリアとして用いてROMや記憶部22に記憶されたプログラムを実行することによって各部の動作を制御する。リアルタイムクロックは、現在の日時を算出してCPUに通知する。
[1-2] Hardware Configuration FIG. 2 is a diagram illustrating an example of a hardware configuration of the communication terminal 20. The communication terminal 20 is a computer that includes a control unit 21, a storage unit 22, a UI (User Interface) unit 23, a first communication unit 24, a second communication unit 25, and an imaging unit 26. The control unit 21 includes a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), and a real-time clock. The CPU is stored in the ROM or the storage unit 22 using the RAM as a work area. The operation of each part is controlled by executing a program. The real time clock calculates the current date and time and notifies the CPU.

記憶部22は、フラッシュメモリ等を備え、上述したアプリのインストールが行われると、そのアプリを記憶する。また、記憶部22は、自装置のハードウェアとのインターフェースをアプリに提供するOS(オペレーティングシステム)のデータ、上述した媒体記述情報を読み取るためのプログラム(以下「読み取りプログラム」という)及びブラウザ等を記憶している。このブラウザの機能によりHTTP通信が行われると、記憶部22には、自装置に関する情報をサーバ装置10などのウェブサーバに伝えるためのクッキーと呼ばれるデータが記憶される。クッキーには、例えば、サイトへのログインに用いられたユーザIDやアクセス済のリンク、通信端末20を識別する情報(以下「端末識別情報」という)などが格納される。クッキーに格納された情報は、例えばHTTP通信で送信されるHTTPリクエストのヘッダに記述されてウェブサーバに伝えられる。   The storage unit 22 includes a flash memory or the like, and stores the application when the above-described application is installed. The storage unit 22 also stores OS (operating system) data that provides an interface with the hardware of the device itself, a program for reading the medium description information (hereinafter referred to as “reading program”), a browser, and the like. I remember it. When HTTP communication is performed by the function of the browser, the storage unit 22 stores data called a cookie for transmitting information about the own device to a web server such as the server device 10. The cookie stores, for example, a user ID used for logging in to the site, an already accessed link, information for identifying the communication terminal 20 (hereinafter referred to as “terminal identification information”), and the like. The information stored in the cookie is described in a header of an HTTP request transmitted by HTTP communication, for example, and transmitted to the web server.

UI部23は、表示面とその表示面に重ねられたタッチパネルとを備え、ユーザからの操作を受け付けるとともに画像を表示する。UI部23は、受け付けたユーザの操作に応じた操作データを制御部21に供給し、制御部21は、この操作データに応じた処理を行う。第1通信部24は、移動体通信を行うための通信回路を備え、ネットワーク2を介したデータの送信及び受信を行う。第2通信部25は、NFCの無線通信を行うための通信回路を備え、無線通信を行って受信したデータを制御部21に供給する。第2通信部25は、媒体3がNFCの無線通信を行う場合における媒体記述情報の読み取りに用いられる。撮影部26は、例えばデジタルカメラとしての機能を有し、ユーザの操作に応じて画像を撮影する。撮影部26は、撮影した画像を示す画像データを制御部21に供給する。撮影部26は、媒体3がQRコードを表す場合における媒体記述情報の読み取りに用いられる。   The UI unit 23 includes a display surface and a touch panel superimposed on the display surface, and receives an operation from the user and displays an image. The UI unit 23 supplies operation data corresponding to the received user operation to the control unit 21, and the control unit 21 performs processing according to the operation data. The first communication unit 24 includes a communication circuit for performing mobile communication, and transmits and receives data via the network 2. The second communication unit 25 includes a communication circuit for performing NFC wireless communication, and supplies the received data to the control unit 21 through wireless communication. The second communication unit 25 is used to read medium description information when the medium 3 performs NFC wireless communication. The photographing unit 26 has a function as a digital camera, for example, and photographs an image according to a user operation. The imaging unit 26 supplies image data indicating the captured image to the control unit 21. The photographing unit 26 is used for reading medium description information when the medium 3 represents a QR code.

図3は、サーバ装置10のハードウェア構成の一例を示す図である。サーバ装置10は、制御部11と、記憶部12と、通信部13とを備えるコンピュータである。制御部11は、通信端末20の制御部21と共通の構成を有する。記憶部12は、ハードディスク等を備え、制御部11が制御に用いるデータやプログラムを記憶する。通信部13は、ネットワーク2と通信を行うための通信回路を備え、ネットワーク2を介して通信端末20との間でデータの送信及び受信を行う。   FIG. 3 is a diagram illustrating an example of a hardware configuration of the server device 10. The server device 10 is a computer that includes a control unit 11, a storage unit 12, and a communication unit 13. The control unit 11 has a common configuration with the control unit 21 of the communication terminal 20. The storage unit 12 includes a hard disk or the like, and stores data and programs used by the control unit 11 for control. The communication unit 13 includes a communication circuit for communicating with the network 2 and transmits and receives data to and from the communication terminal 20 via the network 2.

[1−3]機能構成
サーバ装置10及び通信端末20は、以上のハードウェア構成に基づき、上述したパラメータ引き渡し処理を行う。サーバ装置10においては、制御部11が記憶部12に記憶されているプログラムを実行して各部を制御することで、以下に述べる機能が実現され、それらの機能の働きによりパラメータ引き渡し処理が行われる。
図4は、サーバ装置10の機能構成の一例を示す図である。サーバ装置10は、受信手段101と、記憶手段102と、第1指示手段103と、第2指示手段104とを備える。
[1-3] Functional Configuration The server device 10 and the communication terminal 20 perform the parameter delivery process described above based on the hardware configuration described above. In the server device 10, the control unit 11 executes the program stored in the storage unit 12 to control each unit, thereby realizing the functions described below, and parameter passing processing is performed by the function of those functions. .
FIG. 4 is a diagram illustrating an example of a functional configuration of the server device 10. The server device 10 includes a receiving unit 101, a storage unit 102, a first instruction unit 103, and a second instruction unit 104.

[1−3−1]受信手段101
受信手段101は、通信端末20から、その通信端末20において実行されるブラウザの機能により送信されてくるアプリ識別情報、パラメータ及びその通信端末20を識別する端末識別情報を受信する手段である。通信端末20の制御部21は、読み取りプログラムの機能により媒体記述情報を読み取ると、読み取った媒体記述情報をOSに渡す。以下では、説明を簡潔にするため、読み取りプログラムがOSに媒体記述情報を渡す、というように、プログラムを動作の主体として表現するものとする。ただし、実際の動作の主体は、そのプログラムを実行する制御部21である。
[1-3-1] Receiving means 101
The receiving unit 101 is a unit that receives application identification information, parameters, and terminal identification information for identifying the communication terminal 20 transmitted from the communication terminal 20 by a browser function executed in the communication terminal 20. When the control unit 21 of the communication terminal 20 reads the medium description information by the function of the reading program, it passes the read medium description information to the OS. In the following, for the sake of brevity, it is assumed that the program is represented as the main subject of operation such that the reading program passes the medium description information to the OS. However, the actual operation subject is the control unit 21 that executes the program.

通信端末20では、OSが、読み取りプログラムから渡された媒体記述情報をブラウザに渡し、ブラウザが、媒体記述情報に含まれているURLに対して、媒体記述情報に含まれているアプリ識別情報及びパラメータと、端末識別情報とをヘッダに記述したHTTPリクエストを送信する。ブラウザがサーバ装置10とHTTP通信を行ったことがある場合には、サーバ装置10とのHTTP通信に用いるクッキーが記憶部22に記憶されており、そのクッキーに自端末の端末識別情報が格納されている。この場合、ブラウザは、このクッキーに格納されている端末識別情報をHTTPリクエストのヘッダに記述する。   In the communication terminal 20, the OS passes the medium description information passed from the reading program to the browser, and the browser identifies the application identification information included in the medium description information and the URL included in the medium description information, and An HTTP request in which a parameter and terminal identification information are described in a header is transmitted. When the browser has performed HTTP communication with the server device 10, a cookie used for HTTP communication with the server device 10 is stored in the storage unit 22, and the terminal identification information of the own terminal is stored in the cookie. ing. In this case, the browser describes the terminal identification information stored in the cookie in the header of the HTTP request.

ブラウザがサーバ装置10とのHTTP通信を行ったことがない場合は、そのようなクッキーが記憶部22に記憶されていない。その場合には、ブラウザは、上記URLに対して一度HTTP通信を行い、サーバ装置10とのHTTP通信に用いるクッキーを生成する。その際、クッキーには端末識別情報が格納されるので、ブラウザは、そうして格納された端末識別情報をHTTPリクエストのヘッダに記述する。受信手段101は、こうしてブラウザの機能により送信されてくるHTTPリクエストのヘッダに記述されたアプリ識別情報、パラメータ及び端末識別情報を受信する。受信手段101は、受信したこれらの情報を記憶手段102、第1指示手段103及び第2指示手段104に供給する。   If the browser has never performed HTTP communication with the server device 10, such a cookie is not stored in the storage unit 22. In that case, the browser performs HTTP communication once with respect to the URL, and generates a cookie used for HTTP communication with the server device 10. At that time, since the terminal identification information is stored in the cookie, the browser describes the stored terminal identification information in the header of the HTTP request. The receiving unit 101 receives the application identification information, parameters, and terminal identification information described in the header of the HTTP request transmitted by the browser function. The receiving unit 101 supplies the received information to the storage unit 102, the first instruction unit 103, and the second instruction unit 104.

[1−3−2]記憶手段102
記憶手段102は、受信手段101により受信されたアプリ識別情報及びパラメータを、受信手段101により受信された端末識別情報に対応付けて記憶する手段である。記憶手段102は、例えば、端末識別情報にアプリ識別情報及びパラメータを対応付けた端末識別情報テーブルに格納してこれらの情報を記憶する。
図5は、端末識別情報テーブルの一例を示す図である。この例では、端末識別情報テーブルの1行目に「APP_001」、「CONTENTS_01」及び「xxxxxx」、2行目に「APP_001」、「CONTENTS_02」及び「yyyyyy」というアプリ識別情報、パラメータ及び端末識別情報が格納されている。記憶手段102は、端末識別情報テーブルを記憶した領域を第1指示手段103に通知する。
[1-3-2] Storage unit 102
The storage unit 102 is a unit that stores the application identification information and parameters received by the receiving unit 101 in association with the terminal identification information received by the receiving unit 101. For example, the storage unit 102 stores the information in a terminal identification information table in which application identification information and parameters are associated with terminal identification information.
FIG. 5 is a diagram illustrating an example of the terminal identification information table. In this example, “APP — 001”, “CONTENTS — 01” and “xxxx” are displayed in the first line of the terminal identification information table, and application identification information, parameters and terminal identification information “APP — 001”, “CONTENTS — 02” and “yyyyyy” are displayed in the second line. Is stored. The storage unit 102 notifies the first instruction unit 103 of the area in which the terminal identification information table is stored.

[1−3−3]第2指示手段104
第2指示手段104は、受信手段101により受信された端末識別情報によって識別される通信端末20に、受信手段101により受信されたアプリ識別情報によって識別されるアプリがインストールされていない場合に、その通信端末20において実行されるOSに対してそのアプリをインストールするように指示する手段である。以下では第2指示手段104が行うこの指示を「インストール指示」という。第2指示手段104は、例えば、ブラウザから送信されてきたHTTPリクエストに対する応答で送信されるHTTPレスポンスに、通信端末20にこのインストール指示を実行させるJava(登録商標)scriptとその引数としてアプリ識別情報を記述する。
[1-3-3] Second instruction means 104
When the application identified by the application identification information received by the receiving means 101 is not installed in the communication terminal 20 identified by the terminal identification information received by the receiving means 101, the second instruction means 104 This is means for instructing the OS executed in the communication terminal 20 to install the application. Hereinafter, this instruction performed by the second instruction unit 104 is referred to as “installation instruction”. The second instruction unit 104, for example, a Java (registered trademark) script that causes the communication terminal 20 to execute this installation instruction in response to an HTTP response transmitted from a browser, and application identification information as an argument thereof. Is described.

通信端末20で実行されているブラウザは、受信したHTTPレスポンスに記述されているJavascriptを実行すると、その引数であるアプリ識別情報によって識別されるアプリが自端末にインストールされているか否かを判断し、インストールされていないと判断した場合に、アプリ提供装置30にそのアプリ識別情報を記述したHTTPリクエストを送信する。通信端末20のOSは、このHTTPリクエストに応答してアプリ提供装置30から送信されてくるアプリを自端末にインストールする。第2指示手段104は、このように、JavascriptをHTTPレスポンスに記述することで、上記のインストール指示を行う。第2指示手段104は、インストール指示を行うと、その旨を第1指示手段103に通知する。   When the browser executed on the communication terminal 20 executes the JavaScript described in the received HTTP response, the browser determines whether the application identified by the application identification information that is the argument is installed in the terminal. When it is determined that the application is not installed, an HTTP request describing the application identification information is transmitted to the application providing device 30. The OS of the communication terminal 20 installs the application transmitted from the application providing apparatus 30 in response to this HTTP request in its own terminal. In this way, the second instruction unit 104 performs the installation instruction described above by describing Javascript in the HTTP response. When the second instruction unit 104 issues an installation instruction, the second instruction unit 104 notifies the first instruction unit 103 accordingly.

[1−3−4]第1指示手段103
第1指示手段103は、受信された端末識別情報によって識別される通信端末20において実行されるブラウザに対して、受信されたアプリ識別情報によって識別されるアプリに、受信されたパラメータを渡すように指示する手段である。以下では第1指示手段103が行うこの指示を「パラメータ引き渡し指示」という。第1指示手段103は、例えば、上記のHTTPレスポンスに、受信されたアプリ識別情報によって識別されるアプリを起動させ、且つ、起動させたアプリに受信されたパラメータを渡すように指示する記述を追加する。
[1-3-4] First instruction means 103
The first instruction unit 103 passes the received parameter to the application identified by the received application identification information, to the browser executed in the communication terminal 20 identified by the received terminal identification information. It is a means of indicating. Hereinafter, this instruction performed by the first instruction unit 103 is referred to as “parameter delivery instruction”. For example, the first instruction unit 103 adds a description instructing to activate the application identified by the received application identification information and to pass the received parameter to the activated application in the above HTTP response. To do.

通信端末20で実行されているブラウザは、HTTPレスポンスを受信すると、そのHTTPレスポンスに記述されているとおり、アプリ識別情報によって識別されるアプリを起動して、起動したアプリにパラメータを渡す処理を行う。第1指示手段103は、このように、HTTPレスポンスに上記の記述を追加することで、パラメータ引き渡し指示を行う。なお、通信端末20のブラウザは、指示されたアプリが既にインストールされていれば、パラメータ引き渡し指示のとおりにパラメータを渡すが、インストールされていなければ、アプリの起動ができない。その場合は、上述した第2指示手段104のインストール指示により、アプリのインストールが行われることになる。   When the browser running on the communication terminal 20 receives the HTTP response, the browser identified by the app identification information is activated and parameters are passed to the activated app as described in the HTTP response. . As described above, the first instruction unit 103 performs the parameter delivery instruction by adding the above description to the HTTP response. Note that if the instructed application has already been installed, the browser of the communication terminal 20 passes the parameters as instructed by the parameter delivery instruction. If the instructed application has not been installed, the application cannot be activated. In that case, the application is installed according to the installation instruction of the second instruction means 104 described above.

また、第1指示手段103は、第2指示手段104による指示に応じて通信端末20にアプリがインストールされた後に、記憶手段102に記憶されているアプリ識別情報及び端末識別情報が受信手段101により受信された場合には、その通信端末20において実行されるブラウザに対して、その端末識別情報に対応付けて記憶手段102に記憶されているパラメータをアプリに渡すように指示する。通信端末20においては、OSが第2指示手段104のインストール指示によるアプリのインストールを終了すると、インストールしたアプリを自動的に起動する。   The first instruction unit 103 receives the application identification information and the terminal identification information stored in the storage unit 102 after the application is installed in the communication terminal 20 according to the instruction from the second instruction unit 104. If received, the browser executed in the communication terminal 20 is instructed to pass the parameters stored in the storage means 102 in association with the terminal identification information to the application. In the communication terminal 20, when the OS finishes installing the application according to the installation instruction from the second instruction unit 104, the installed application is automatically activated.

起動されたアプリは、OSによって初めて起動された場合に限り、ブラウザに対して、サーバ装置10のURLと自アプリを識別するアプリ識別情報とを通知し、このアプリ識別情報と端末識別情報とをヘッダに記述したHTTPリクエストをサーバ装置10のURLに送信するように要求する。通信端末20で実行されているブラウザは、この要求を受けると、通知されたアプリ識別情報及びクッキーに格納されている端末識別情報をヘッダに記述したHTTPリクエストを通知されたサーバ装置10のURLに送信する。   Only when the activated application is activated for the first time by the OS, the URL of the server device 10 and application identification information for identifying the application itself are notified to the browser, and the application identification information and the terminal identification information are displayed. A request is made to transmit the HTTP request described in the header to the URL of the server device 10. When the browser running on the communication terminal 20 receives this request, the URL of the server device 10 notified of the HTTP request in which the notified application identification information and the terminal identification information stored in the cookie are described in the header is received. Send.

受信手段101は、こうして送信されてきたHTTPリクエストのヘッダに記述されているアプリ識別情報及び端末識別情報を受信する。第1指示手段103は、第2指示手段104からインストール指示が行われた旨が通知された後に、受信手段101からこれらのアプリ識別情報及び端末識別情報が供給されると、記憶手段102から通知された領域に記憶されている端末識別情報テーブルを参照し、受信された端末識別情報に対応付けて記憶されているパラメータを読み出す。第1指示手段103は、HTTPレスポンスに、HTTPリクエストのヘッダに記述されているアプリ識別情報によって識別されるアプリを起動させ、且つ、起動させたアプリに読み出したパラメータを渡すように指示する記述を追加する。以降は、前述したとおり、通信端末20がパラメータ引き渡し指示に従って起動したアプリにパラメータを渡す処理を行う。   The receiving unit 101 receives the application identification information and the terminal identification information described in the header of the HTTP request transmitted in this way. The first instruction means 103 notifies the storage means 102 when the application identification information and the terminal identification information are supplied from the receiving means 101 after the second instruction means 104 notifies that the installation instruction has been made. The parameter stored in association with the received terminal identification information is read with reference to the terminal identification information table stored in the stored area. The first instruction means 103 includes a description instructing the HTTP response to activate the application identified by the application identification information described in the HTTP request header and to pass the read parameter to the activated application. to add. Thereafter, as described above, the communication terminal 20 performs a process of passing parameters to the application activated in accordance with the parameter delivery instruction.

[1−4]動作
サーバ装置10及び通信端末20は、以上の構成に基づき、上述したパラメータ引き渡し処理を協働して行う。以下では、表示アプリがコンテンツを表示する場合を例に挙げ、パラメータ引き渡し処理における各装置の動作について図6及び図7を参照して説明する。図6では、通信端末20にアプリが既にインストールされている場合の動作を説明する。
図6は、パラメータ引き渡し処理における各装置の動作の一例を示すシーケンス図である。以下では、通信端末20の動作については、各動作を実現するプログラム(読み取りプログラム、OS、ブラウザ、アプリ)を主体として説明するものとする。
[1-4] Operation The server device 10 and the communication terminal 20 perform the above-described parameter delivery process in cooperation with each other based on the above configuration. Hereinafter, the case where the display application displays content will be described as an example, and the operation of each device in the parameter passing process will be described with reference to FIGS. 6 and 7. In FIG. 6, an operation when an application is already installed in the communication terminal 20 will be described.
FIG. 6 is a sequence diagram illustrating an example of the operation of each device in the parameter passing process. Hereinafter, the operation of the communication terminal 20 will be described mainly with a program (reading program, OS, browser, application) that realizes each operation.

パラメータ引き渡し処理は、例えば、通信端末20の読み取りプログラムが媒体3から媒体記述情報を読み取ることを契機に開始される(ステップS11)。読み取りプログラムは、読み取った媒体記述情報をOSに渡し(ステップS12)、OSは、この媒体記述情報をブラウザに渡す(ステップS13)。ブラウザは、媒体記述情報に記述されたサーバ装置10のURLを宛先として、表示アプリを識別するアプリ識別情報、表示アプリに表示させるコンテンツを識別するコンテンツ識別情報(この例におけるパラメータ)及び通信端末20の端末識別情報を記述したHTTPリクエストを送信する(ステップS14)。サーバ装置10は、ステップS14において受信したHTTPリクエストに記述されているアプリ識別情報、コンテンツ識別情報及び端末識別情報を図5に示すような端末識別情報テーブルに格納する(ステップS15)。ステップS14は受信手段101が行う動作であり、ステップS15は記憶手段102が行う動作である。   The parameter passing process is started, for example, when the reading program of the communication terminal 20 reads the medium description information from the medium 3 (step S11). The reading program passes the read medium description information to the OS (step S12), and the OS passes this medium description information to the browser (step S13). The browser uses the URL of the server device 10 described in the medium description information as a destination, application identification information for identifying the display application, content identification information (a parameter in this example) for identifying the content to be displayed on the display application, and the communication terminal 20. An HTTP request describing the terminal identification information is transmitted (step S14). The server device 10 stores the application identification information, content identification information, and terminal identification information described in the HTTP request received in step S14 in a terminal identification information table as shown in FIG. 5 (step S15). Step S14 is an operation performed by the receiving unit 101, and step S15 is an operation performed by the storage unit 102.

次に、サーバ装置10は、HTTPレスポンスに、表示アプリの起動及びその表示アプリにコンテンツ識別情報を渡すことを指示する記述を追加し、表示アプリがインストールされていない場合にその表示アプリをインストールさせるJavascriptを記述して通信端末20に送信する(ステップS16)。ステップS16は第1指示手段103及び第2指示手段104が行う動作である。通信端末20のブラウザは、受信したHTTPレスポンスに記述されたJavascriptを実行し、図6の例では、自端末に表示アプリがインストール済であることを判断する(ステップS17)。そして、ブラウザは、HTTPレスポンスに記述されたとおりに表示アプリを起動させ(ステップS18)、起動させた表示アプリに、HTTPレスポンスに記述されたコンテンツ識別情報を渡す(ステップS19)。以上のとおりパラメータ引き渡し処理が行われることで、表示アプリにコンテンツ識別情報が渡され、渡されたコンテンツ識別情報により識別されるコンテンツが表示アプリによって表示される。   Next, the server device 10 adds a description instructing to start the display application and pass content identification information to the display application to the HTTP response, and installs the display application when the display application is not installed. Javascript is described and transmitted to the communication terminal 20 (step S16). Step S <b> 16 is an operation performed by the first instruction unit 103 and the second instruction unit 104. The browser of the communication terminal 20 executes JavaScript described in the received HTTP response, and in the example of FIG. 6, it is determined that the display application has been installed in the own terminal (step S17). Then, the browser activates the display application as described in the HTTP response (step S18), and passes the content identification information described in the HTTP response to the activated display application (step S19). By performing the parameter passing process as described above, the content identification information is passed to the display application, and the content identified by the passed content identification information is displayed by the display application.

続いて、図7を参照して、通信端末20に表示アプリがインストールされていない場合の動作を説明する。
図7は、パラメータ引き渡し処理における各装置の動作の他の一例を示すシーケンス図である。図7の例では、まず、図6に示すステップS11(媒体記述情報の読み取り)からステップS16(HTTPレスポンスの送信)までと同じ動作が行われる。通信端末20のブラウザは、ステップS16で受信したHTTPレスポンスに記述されたJavascriptを実行し、自端末に表示アプリがインストールされていない(未インストール)であることを判断する(ステップS21)。
Next, an operation when the display application is not installed in the communication terminal 20 will be described with reference to FIG.
FIG. 7 is a sequence diagram illustrating another example of the operation of each device in the parameter passing process. In the example of FIG. 7, firstly, the same operation is performed from step S11 (reading medium description information) to step S16 (transmission of HTTP response) shown in FIG. The browser of the communication terminal 20 executes JavaScript described in the HTTP response received in step S16, and determines that the display application is not installed (not installed) in its own terminal (step S21).

次に、ブラウザは、アプリ識別情報を記述したHTTPリクエストをアプリ提供装置30に送信し(ステップS22)、アプリ提供装置30は、HTTPリクエストにより要求された表示アプリを通信端末20に送信する(ステップS23)。通信端末20のOSは、ステップS23でダウンロードした表示アプリを自端末にインストールし(ステップS24)、インストールが完了するとその表示アプリを起動させる(ステップS25)。起動された表示アプリは、ブラウザに対してHTTPリクエストの送信を要求し(ステップS26)、ブラウザは、その要求に応じて、アプリ識別情報及び端末識別情報を記述したHTTPリクエストをサーバ装置10のURLを宛先として送信する(ステップS27)。   Next, the browser transmits an HTTP request describing the application identification information to the application providing apparatus 30 (step S22), and the application providing apparatus 30 transmits the display application requested by the HTTP request to the communication terminal 20 (step S22). S23). The OS of the communication terminal 20 installs the display application downloaded in step S23 on its own terminal (step S24), and starts the display application when the installation is completed (step S25). The activated display application requests the browser to send an HTTP request (step S26). In response to the request, the browser sends an HTTP request describing the application identification information and the terminal identification information to the URL of the server device 10. As a destination (step S27).

HTTPリクエストを受信したサーバ装置10は、表示アプリにコンテンツ識別情報を渡すことを指示する記述を追加したHTTPレスポンスを通信端末20に送信する(ステップS28)。ステップS27は受信手段101が行う動作であり、ステップS28は第1指示手段103が行う動作である。通信端末20のブラウザは、ステップS25において起動された表示アプリに、HTTPレスポンスに記述されたコンテンツ識別情報を渡す(ステップS29)。以上のとおりパラメータ引き渡し処理が行われることで、図6の例と同様に、コンテンツ識別情報により識別されるコンテンツが表示アプリによって表示される。   The server device 10 that has received the HTTP request transmits an HTTP response to which a description instructing to pass content identification information to the display application is added to the communication terminal 20 (step S28). Step S27 is an operation performed by the receiving unit 101, and step S28 is an operation performed by the first instruction unit 103. The browser of the communication terminal 20 passes the content identification information described in the HTTP response to the display application activated in step S25 (step S29). By performing the parameter delivery process as described above, the content identified by the content identification information is displayed by the display application, as in the example of FIG.

[1−5]第1実施形態による効果
通信機能を有する通信端末には、インターネット上のコンテンツにアクセスするために、ブラウザがプリインストールされている(販売時に前もってインストールされている)ことが多い。本実施形態では、サーバ装置10から通信端末20のブラウザに対してパラメータ引き渡し指示が行われ、通信端末20が実行するアプリに対してブラウザを介してパラメータが渡されるようになっている。そのため、通信端末を利用する大部分のユーザには、パラメータをプログラムに渡すための環境を整える手間(例えば特定のプログラムをインストールする手間)が生じない。
[1-5] Effects of First Embodiment A communication terminal having a communication function is often preinstalled with a browser (installed in advance at the time of sale) in order to access content on the Internet. In the present embodiment, a parameter delivery instruction is issued from the server device 10 to the browser of the communication terminal 20, and parameters are passed to the application executed by the communication terminal 20 via the browser. For this reason, most users who use the communication terminal do not have the trouble of preparing an environment for passing parameters to the program (for example, the trouble of installing a specific program).

また、本実施形態では、サーバ装置10からのインストール指示により、アプリがインストールされていない通信端末20にそのアプリが自動的にインストールされる。これにより、アプリをユーザが手動でインストールする場合に比べて、ユーザの手間を少なくすることができる。また、手動でのインストールが必要となると、その手間を面倒がるユーザの通信端末20にはアプリがインストールされないことも起こりうるが、本実施形態ではそのような通信端末20にもアプリがインストールされるので、アプリが実行される通信端末20の数を増やすことができる。   In the present embodiment, in response to an installation instruction from the server device 10, the application is automatically installed on the communication terminal 20 in which no application is installed. Thereby, compared with the case where a user installs an application manually, a user's effort can be reduced. In addition, when manual installation is required, an application may not be installed in the communication terminal 20 of the user who takes time and effort, but in the present embodiment, the application is also installed in such a communication terminal 20. Therefore, the number of communication terminals 20 on which the application is executed can be increased.

上記のようにアプリがインストールされる場合に、通信端末がインストールされたアプリにパラメータを渡すために、例えば、何らかのプログラムの機能によりインストール前に読み取った媒体記述情報に含まれるパラメータをインストール後まで保持するという方法がある。しかし、この方法を行うためには、例えば読み取りプログラムやブラウザにそのようなパラメータを保持する機能を追加するか、その機能を実現するためのプログラムを別途インストールしておく必要がある。   When an application is installed as described above, in order to pass parameters to the application in which the communication terminal is installed, for example, the parameters included in the medium description information read before installation by some program function are retained until after installation. There is a way to do it. However, in order to perform this method, for example, it is necessary to add a function for holding such parameters to a reading program or a browser, or to install a program for realizing the function separately.

本実施形態では、アプリがインストールされる前にサーバ装置10に記憶されたパラメータが、アプリがインストールされた後の通信端末20に対して提供されてアプリに渡される。これにより、アプリのインストールの前後でパラメータを保持する機能を有しない通信端末であっても、インストール後のアプリにパラメータを渡すことができる。また、本実施形態では、サーバ装置10と通信端末20とのパラメータのやり取りにブラウザを用いることで、クッキーに格納される端末識別情報に基づいて、サーバ装置10が、アプリのインストールの前後において同じ通信端末20を識別することができる。   In the present embodiment, the parameters stored in the server device 10 before the application is installed are provided to the communication terminal 20 after the application is installed and passed to the application. Thereby, even if it is a communication terminal which does not have the function to hold | maintain a parameter before and after installation of an application, a parameter can be passed to the application after installation. Further, in the present embodiment, by using a browser for exchanging parameters between the server device 10 and the communication terminal 20, the server device 10 is the same before and after the application installation based on the terminal identification information stored in the cookie. The communication terminal 20 can be identified.

[2]第2実施形態
本発明の第2実施形態について、以下、第1実施形態と異なる点を中心に説明する。第1実施形態では、サーバ装置が、端末識別情報に基づいて通信端末を識別したが、第2実施形態では、通信端末のブラウザとの通信によって得られる他の情報に基づいて通信端末を識別する。
[2] Second Embodiment Hereinafter, a second embodiment of the present invention will be described focusing on differences from the first embodiment. In the first embodiment, the server device identifies the communication terminal based on the terminal identification information. In the second embodiment, the server terminal identifies the communication terminal based on other information obtained by communication with the browser of the communication terminal. .

[2−1]機能構成
図8は、第2実施形態のサーバ装置の機能構成の一例を示す図である。図8では、図4に示す各手段に加え、取得手段105を備えるサーバ装置10aが示されている。
取得手段105は、通信端末20のIP(Internet Protocol)アドレス及び通信端末20において実行されるブラウザの属性をその通信端末20から取得する手段の一例である。取得手段105は、例えば、図6に示すステップS14で送信されてきたパケットのヘッダに含まれる送信元のIPアドレスを、通信端末20のIPアドレスとして取得する。
[2-1] Functional Configuration FIG. 8 is a diagram illustrating an example of a functional configuration of the server device according to the second embodiment. In FIG. 8, a server device 10 a including an acquisition unit 105 in addition to the units illustrated in FIG. 4 is illustrated.
The acquisition unit 105 is an example of a unit that acquires the IP (Internet Protocol) address of the communication terminal 20 and the attribute of the browser executed in the communication terminal 20 from the communication terminal 20. The acquisition unit 105 acquires, for example, the IP address of the transmission source included in the header of the packet transmitted in step S14 illustrated in FIG. 6 as the IP address of the communication terminal 20.

取得手段105は、ブラウザの属性として、例えば、ブラウザの種類(例えばブラウザの名称で表される)及びブラウザのバージョンを取得する。具体的には、取得手段105は、例えば、図6等に示すステップS16で送信するHTTPレスポンスに、通信端末20のブラウザの種類及びバージョンを自装置に通知させるJavascriptを記述する。通信端末20は、このHTTPレスポンスを受信すると、記述されているJavascriptを実行し、自装置のブラウザの種類及びバージョンをサーバ装置10aに通知する。取得手段105は、こうして通知されたブラウザの種類及びバージョンをブラウザの属性として取得する。取得手段105は、取得したIPアドレス及びブラウザの属性を示す取得データを記憶手段102及び第1指示手段103に供給する。   The acquisition unit 105 acquires, for example, a browser type (for example, represented by a browser name) and a browser version as browser attributes. Specifically, the acquisition unit 105 describes, for example, Javascript that notifies the local device of the browser type and version of the communication terminal 20 in the HTTP response transmitted in step S16 illustrated in FIG. Upon receiving this HTTP response, the communication terminal 20 executes the described JavaScript and notifies the server device 10a of the browser type and version of its own device. The acquisition unit 105 acquires the browser type and version thus notified as browser attributes. The acquisition unit 105 supplies the acquired data indicating the acquired IP address and browser attribute to the storage unit 102 and the first instruction unit 103.

記憶手段102は、受信手段101により受信されたパラメータを、取得手段105により取得されたIPアドレス及びブラウザの属性に対応付けて記憶する。具体的には、記憶手段102は、例えば、図5に示す各パラメータを記憶したときに取得手段105から供給された取得データが示すIPアドレス及びブラウザの属性を、端末識別情報テーブルにおけるそのパラメータの行に格納する。
図9は、本実施形態の端末識別情報テーブルの一例を示す図である。図9の例では、図4に示す「CONTENTS_01」及び「CONTENTS_02」というパラメータの行に、「xxx.・・・.xxx」及び「yyy.・・・.yyy」というIPアドレスと、「Aブラウザ v8.1」及び「Bブラウザ v9.1」というブラウザの属性とが格納されている。
The storage unit 102 stores the parameters received by the receiving unit 101 in association with the IP address and browser attributes acquired by the acquiring unit 105. Specifically, for example, the storage unit 102 stores the IP address and the browser attribute indicated by the acquisition data supplied from the acquisition unit 105 when each parameter shown in FIG. 5 is stored, in the terminal identification information table. Store in a row.
FIG. 9 is a diagram illustrating an example of a terminal identification information table according to the present embodiment. In the example of FIG. 9, IP addresses “xxx.... Xxx” and “yyy. The browser attributes “v8.1” and “B browser v9.1” are stored.

本実施形態では、第1指示手段103は、第2指示手段104による指示に応じて通信端末20にアプリがインストールされた後に、記憶手段102に記憶されているアプリ識別情報が受信手段101により受信された場合、すなわち端末識別情報が受信されなかった場合には、第1実施形態とは異なる指示を行う。具体的には、第1指示手段103は、通信端末20において実行されるブラウザに対して、その通信端末20について取得手段105により取得されたIPアドレス及びブラウザの属性に対応付けて記憶手段102に記憶されているパラメータをアプリに渡すように指示する。   In the present embodiment, the first instruction unit 103 receives the application identification information stored in the storage unit 102 after the application is installed in the communication terminal 20 according to the instruction from the second instruction unit 104. If the terminal identification information is not received, an instruction different from that in the first embodiment is given. Specifically, the first instruction unit 103 stores the browser executed in the communication terminal 20 in the storage unit 102 in association with the IP address and the browser attribute acquired by the acquisition unit 105 for the communication terminal 20. Instructs the app to pass the stored parameters to the app.

例えば、受信手段101が「APP_001」というアプリ識別情報を受信した場合、図9の例では、端末識別情報テーブルにおいてこのアプリ識別情報に対応付けられているパラメータが「CONTENTS_01」及び「CONTENTS_02」の2つある。ここで、取得手段105が、「yyy.・・・.yyy」というIPアドレスと「Bブラウザ v9.1」というブラウザの属性とを取得すると、第1指示手段103は、端末識別情報テーブルにおいてこれらに対応付けられている方のパラメータである「CONTENTS_02」をアプリに渡すようにパラメータ引き渡し指示を行う。   For example, when the receiving means 101 receives the application identification information “APP — 001”, in the example of FIG. 9, the parameters associated with this application identification information in the terminal identification information table are 2 of “CONTENTS — 01” and “CONTENTS — 02”. There is one. Here, when the acquisition unit 105 acquires the IP address “yyy... Yyy” and the browser attribute “B browser v9.1”, the first instruction unit 103 stores these in the terminal identification information table. The parameter delivery instruction is performed so that “CONTENTS — 02”, which is the parameter associated with, is passed to the application.

[2−2]第2実施形態による効果
サーバ装置が、クッキーに格納される端末識別情報に基づいて通信端末を識別する場合、クッキーが削除されたり、ブラウザの設定でクッキーの使用が許可されなくなったりすることで通信端末の識別ができなくなるおそれがある。本実施形態では、IPアドレス及びブラウザの属性に基づいて通信端末を識別するので、クッキーに基づく通信端末の識別ができない場合でも、サーバ装置10がアプリのインストールの前後において同じ通信端末20を識別することができる。
[2-2] Effects according to the second embodiment When the server device identifies the communication terminal based on the terminal identification information stored in the cookie, the cookie is deleted or the use of the cookie is not permitted in the browser setting. The communication terminal may not be identified. In this embodiment, since the communication terminal is identified based on the IP address and the browser attribute, even when the communication terminal cannot be identified based on the cookie, the server apparatus 10 identifies the same communication terminal 20 before and after installing the application. be able to.

なお、本実施形態においても、通信端末20にアプリがインストールされた後に、アプリ識別情報及び端末識別情報の両方が受信される場合がある。その場合、第1指示手段103は、第1実施形態で述べたパラメータ引き渡し指示を行ってもよいし、第2実施形態で述べたパラメータ引き渡し指示を行ってもよい。   In the present embodiment, both the application identification information and the terminal identification information may be received after the application is installed in the communication terminal 20. In that case, the first instruction unit 103 may perform the parameter delivery instruction described in the first embodiment, or may perform the parameter delivery instruction described in the second embodiment.

[3]変形例
上述した各実施形態は、各々が本発明の実施の一例に過ぎず、それぞれ以下のように変形させてもよい。また、上述した各実施形態及び以下に示す各変形例は、必要に応じてそれぞれ組み合わせて実施してもよい。
[3] Modified Examples Each of the above-described embodiments is merely an example of the embodiment of the present invention, and may be modified as follows. Moreover, you may implement each embodiment mentioned above and each modification shown below, combining each as needed.

[3−1]アプリケーションプログラム
サーバ装置のパラメータ引き渡し指示によりパラメータが渡されるアプリケーションプログラムは、実施形態で述べた表示アプリ及び再生アプリに限定されない。これら以外にも、SNS(Social Networking Service)のアプリ、地図アプリ、電子ブックのアプリ、ゲームのアプリ、通信端末の設定を行うアプリ及びアプリのバージョンを更新するアプリ等、通信端末でパラメータを用いて実行されるものであれば、どのようなアプリケーションプログラムであってもよい。
[3-1] Application Program The application program to which parameters are transferred in accordance with the parameter transfer instruction of the server device is not limited to the display application and the reproduction application described in the embodiment. Besides these, SNS (Social Networking Service) application, map application, electronic book application, game application, application for setting communication terminal, application for updating application version, etc., using parameters on communication terminal Any application program that can be executed may be used.

[3−2]パラメータ
サーバ装置のパラメータ引き渡し指示によりアプリに渡されるパラメータも、実施形態で述べたものに限定されない。前述した各アプリにおいて用いられるパラメータであれば、どのようなパラメータであってもよい。
[3-2] Parameters The parameters passed to the application by the parameter delivery instruction of the server device are not limited to those described in the embodiment. Any parameter may be used as long as it is a parameter used in each application described above.

[3−3]OS及びブラウザへの指示方法
サーバ装置がパラメータ引き渡し指示やインストール指示を行う方法は、実施形態で述べたHTTPレスポンスの記述やJavascriptを用いた方法に限定されない。例えばPHP(Personal Home Page)スクリプトを用いた方法など、ブラウザやOSに対して上記の指示が行えるのであれば、どのような方法が用いられてもよい。
[3-3] Instruction Method to OS and Browser The method in which the server device issues a parameter delivery instruction and an installation instruction is not limited to the HTTP response description and the JavaScript method described in the embodiment. Any method may be used as long as the above instruction can be given to the browser and the OS, such as a method using a PHP (Personal Home Page) script.

[3−4]発明のカテゴリ
本発明は、サーバ装置、通信端末及びそれらを備える情報処理システムとして捉えられる。また、本発明は、それらの他にも、サーバ装置や通信端末が実施する処理を実現するための情報処理方法としても捉えられる。ここでいう処理とは、例えば、図6及び図7に示すパラメータ引き渡し処理である。また、本発明は、サーバ装置のようなコンピュータを、図4に示す各手段として機能させるためのプログラムとしても捉えられるものである。このプログラムは、それを記憶させた光ディスク等の記録媒体の形態で提供されたり、インターネット等のネットワークを介して、コンピュータにダウンロードさせ、それをインストールして利用可能にするなどの形態でも提供されたりするものであってもよい。
[3-4] Category of Invention The present invention can be understood as a server device, a communication terminal, and an information processing system including them. In addition to the above, the present invention can also be understood as an information processing method for realizing processing performed by a server device or a communication terminal. The process here is, for example, the parameter delivery process shown in FIGS. The present invention can also be understood as a program for causing a computer such as a server device to function as each unit shown in FIG. This program may be provided in the form of a recording medium such as an optical disk storing the program, or may be provided in the form of being downloaded to a computer via a network such as the Internet, and making it available for installation. You may do.

1…情報処理システム、2…ネットワーク、10…サーバ装置、20…通信端末、30…アプリ提供装置、11、21…制御部、12、22…記憶部、13…通信部、23…UI部、24…第1通信部、25…第2通信部、26…撮影部、101…受信手段、102…記憶手段、103…第1指示手段、104…第2指示手段、105…取得手段。 DESCRIPTION OF SYMBOLS 1 ... Information processing system, 2 ... Network, 10 ... Server apparatus, 20 ... Communication terminal, 30 ... Application provision apparatus, 11, 21 ... Control part, 12, 22 ... Storage part, 13 ... Communication part, 23 ... UI part, 24 ... 1st communication part, 25 ... 2nd communication part, 26 ... Image pick-up part, 101 ... Reception means, 102 ... Storage means, 103 ... 1st instruction means, 104 ... 2nd instruction means, 105 ... Acquisition means.

Claims (3)

プログラムを識別するプログラム識別情報と、当該プログラムの実行時に用いられるパラメータとが記述された媒体から当該プログラム識別情報及びパラメータを読み取り可能な通信端末から、当該通信端末において実行されるブラウザの機能により送信されてくる前記プログラム識別情報、前記パラメータ及び当該通信端末を識別する端末識別情報を受信する受信手段と、
受信された前記端末識別情報によって識別される通信端末において実行される前記ブラウザに対して、受信された前記プログラム識別情報によって識別されるプログラムに、受信された前記パラメータを渡すように指示する第1指示手段と
を備えるサーバ装置。
Transmitted from a communication terminal capable of reading the program identification information and parameters from a medium in which program identification information for identifying the program and parameters used at the time of execution of the program are described by a browser function executed on the communication terminal Receiving means for receiving the program identification information, the parameters and terminal identification information for identifying the communication terminal;
Instructing the browser executed in the communication terminal identified by the received terminal identification information to pass the received parameter to the program identified by the received program identification information A server device comprising: instruction means.
受信された前記プログラム識別情報及び前記パラメータを受信された前記端末識別情報に対応付けて記憶する記憶手段と、
受信された前記端末識別情報によって識別される通信端末に、受信された前記プログラム識別情報によって識別されるプログラムがインストールされていない場合に、当該通信端末において実行されるオペレーションシステムに対して当該プログラムをインストールするように指示する第2指示手段とを備え、
前記第1指示手段は、前記第2指示手段による指示に応じて前記通信端末に前記プログラムがインストールされた後に、前記記憶手段に記憶されているプログラム識別情報及び端末識別情報が前記受信手段により受信された場合には、当該通信端末において実行される前記ブラウザに対して、当該端末識別情報に対応付けて前記記憶手段に記憶されているパラメータを前記プログラムに渡すように指示する
請求項1に記載のサーバ装置。
Storage means for storing the received program identification information and the parameter in association with the received terminal identification information;
When the program identified by the received program identification information is not installed in the communication terminal identified by the received terminal identification information, the program is executed for the operation system executed in the communication terminal. Second instruction means for instructing installation;
The first instruction means receives the program identification information and the terminal identification information stored in the storage means by the receiving means after the program is installed in the communication terminal in accordance with an instruction from the second instruction means. When it is, the browser executed in the communication terminal is instructed to pass the parameter stored in the storage means in association with the terminal identification information to the program. Server device.
前記通信端末のIP(Internet Protocol)アドレス及び当該通信端末において実行されるブラウザの属性を前記通信端末から取得する取得手段を備え、
前記記憶手段は、受信された前記パラメータを前記取得手段により取得されたIPアドレス及びブラウザの属性に対応付けて記憶し、
前記第1指示手段は、前記第2指示手段による指示に応じて前記通信端末に前記プログラムがインストールされた後に、前記記憶手段に記憶されているプログラム識別情報が前記受信手段により受信された場合には、当該通信端末において実行される前記ブラウザに対して、当該通信端末について前記取得手段により取得された前記IPアドレス及び前記ブラウザの属性に対応付けて前記記憶手段に記憶されているパラメータを前記プログラムに渡すように指示する
請求項2に記載のサーバ装置。
An acquisition means for acquiring from the communication terminal an IP (Internet Protocol) address of the communication terminal and an attribute of a browser executed in the communication terminal;
The storage means stores the received parameter in association with the IP address and browser attributes acquired by the acquisition means,
The first instruction means is configured to receive program identification information stored in the storage means after the program is installed in the communication terminal in response to an instruction from the second instruction means. For the browser executed in the communication terminal, the parameters stored in the storage means in association with the IP address acquired by the acquisition means for the communication terminal and the attribute of the browser are stored in the program. The server device according to claim 2, wherein the server device is instructed to pass to the server device.
JP2013239068A 2013-11-19 2013-11-19 Server device Expired - Fee Related JP5483244B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013239068A JP5483244B1 (en) 2013-11-19 2013-11-19 Server device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013239068A JP5483244B1 (en) 2013-11-19 2013-11-19 Server device

Publications (2)

Publication Number Publication Date
JP5483244B1 JP5483244B1 (en) 2014-05-07
JP2015099491A true JP2015099491A (en) 2015-05-28

Family

ID=50792106

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013239068A Expired - Fee Related JP5483244B1 (en) 2013-11-19 2013-11-19 Server device

Country Status (1)

Country Link
JP (1) JP5483244B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018056645A (en) * 2016-09-26 2018-04-05 富士ゼロックス株式会社 Image processing device, server device, image processing system, image processing program, and information processing program

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6459635B2 (en) * 2015-02-27 2019-01-30 ブラザー工業株式会社 Information processing apparatus, program, and communication system
JP7219013B2 (en) 2018-04-06 2023-02-07 株式会社シマノ Components for human-powered vehicles

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003521036A (en) * 2000-01-21 2003-07-08 サン・マイクロシステムズ・インコーポレイテッド Browser independent and automatic apparatus and method for receiving, installing and launching applications from a browser on a client computer
JP2009151699A (en) * 2007-12-21 2009-07-09 Shinsedai Kk Remote code reader system, host computer, and authentication method
JP2011107752A (en) * 2009-11-12 2011-06-02 Ntt Docomo Inc Information-processing device, communication system and program
JP2013041396A (en) * 2011-08-15 2013-02-28 Felica Networks Inc Information processing device, information processing method, program, and information processing system
JP2013182407A (en) * 2012-03-01 2013-09-12 Dainippon Printing Co Ltd Reader/writer, confirmation method for starting application, and application startup confirmation program
JP2013197666A (en) * 2012-03-16 2013-09-30 Sony Corp Information processing method, information processing apparatus, and information processing system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003521036A (en) * 2000-01-21 2003-07-08 サン・マイクロシステムズ・インコーポレイテッド Browser independent and automatic apparatus and method for receiving, installing and launching applications from a browser on a client computer
JP2009151699A (en) * 2007-12-21 2009-07-09 Shinsedai Kk Remote code reader system, host computer, and authentication method
JP2011107752A (en) * 2009-11-12 2011-06-02 Ntt Docomo Inc Information-processing device, communication system and program
JP2013041396A (en) * 2011-08-15 2013-02-28 Felica Networks Inc Information processing device, information processing method, program, and information processing system
JP2013182407A (en) * 2012-03-01 2013-09-12 Dainippon Printing Co Ltd Reader/writer, confirmation method for starting application, and application startup confirmation program
JP2013197666A (en) * 2012-03-16 2013-09-30 Sony Corp Information processing method, information processing apparatus, and information processing system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"[Android] ブラウザからアプリ起動", 見習いの備忘録, JPN6014000491, 12 October 2012 (2012-10-12), ISSN: 0002720406 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018056645A (en) * 2016-09-26 2018-04-05 富士ゼロックス株式会社 Image processing device, server device, image processing system, image processing program, and information processing program

Also Published As

Publication number Publication date
JP5483244B1 (en) 2014-05-07

Similar Documents

Publication Publication Date Title
US20120110066A1 (en) Image input method, content item server, and relay server
US20140047322A1 (en) Method and system for browsing things of internet of things on ip using web platform
JP7028117B2 (en) Information processing system, information processing device, information processing method and program
US11522852B2 (en) Display system, display method, and recording medium
JP2010170553A (en) Method and device for providing community widget
JP2015016561A (en) Printer, printing control device, printing system and program
JP5483244B1 (en) Server device
JP6898680B2 (en) Information processing equipment and programs
JP6083266B2 (en) Information processing apparatus and network system
US10674022B2 (en) Server, server system, non-transitory computer-readable recording medium storing computer-readable instructions for server, and method performed by server
CN103490985B (en) A kind for the treatment of method and apparatus of image information
JP5632335B2 (en) Server apparatus and information transmission method thereof
JP5148670B2 (en) Setting method and system for setting appliances by unique address
JP2020087178A (en) Information processing device, information processing system, information processing method, and program
JP6235741B2 (en) Terminal device, information transmission method, and information transmission program
JP5931242B1 (en) Terminal device, information transmission method, and information transmission program
JP6059307B1 (en) Terminal device, information transmission method, and information transmission program
JP2020061024A (en) Information provision system using seal impression code and information provision method
JP6900436B2 (en) program
WO2016080163A1 (en) Server device
JP2012244287A (en) Communication device, method of controlling communication device, and program
JP2017108426A (en) Information processing apparatus and network system
JP6035412B1 (en) Cross device association system
JP6081007B2 (en) Terminal device, information transmission method, and information transmission program
JP2013102439A (en) Method and system for setting up electric appliance with inherent address,

Legal Events

Date Code Title Description
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: 20140114

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140207

R150 Certificate of patent or registration of utility model

Ref document number: 5483244

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees