JP6158667B2 - Server device, terminal device, communication method, and computer program - Google Patents

Server device, terminal device, communication method, and computer program Download PDF

Info

Publication number
JP6158667B2
JP6158667B2 JP2013205129A JP2013205129A JP6158667B2 JP 6158667 B2 JP6158667 B2 JP 6158667B2 JP 2013205129 A JP2013205129 A JP 2013205129A JP 2013205129 A JP2013205129 A JP 2013205129A JP 6158667 B2 JP6158667 B2 JP 6158667B2
Authority
JP
Japan
Prior art keywords
application
information
terminal
terminal device
registration information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2013205129A
Other languages
Japanese (ja)
Other versions
JP2015069547A (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.)
KDDI Corp
Original Assignee
KDDI Corp
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 KDDI Corp filed Critical KDDI Corp
Priority to JP2013205129A priority Critical patent/JP6158667B2/en
Publication of JP2015069547A publication Critical patent/JP2015069547A/en
Application granted granted Critical
Publication of JP6158667B2 publication Critical patent/JP6158667B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Description

本発明は、アプリケーションソフトウェア(以下、アプリケーションと称する)の利用に係るサーバ装置、端末装置、通信方法およびコンピュータプログラムに関する。   The present invention relates to a server device, a terminal device, a communication method, and a computer program related to use of application software (hereinafter referred to as an application).

近年、同じ携帯端末に具備される複数のアプリケーションの間で、処理を委託したり、あるアプリケーションから他のアプリケーションを呼び出したりする動作が一般に行われている。例えば、あるアプリケーションで写真を撮影、編集した後に、他のアプリケーションでさらに保存やブログ(blog)へのアップロードなどを行うことが挙げられる。   2. Description of the Related Art In recent years, an operation of entrusting processing or calling another application from one application is generally performed between a plurality of applications provided in the same portable terminal. For example, after taking and editing a photo with one application, it may be further saved or uploaded to a blog (blog) with another application.

そのアプリケーション連携技術として例えば非特許文献1に記載の従来技術が知られている。この従来技術では、アプリケーションは、自身が他のアプリケーションから委託可能な処理形式をインストール時にオペレーティングシステム(OS)に登録しておく。そして、実際に処理が委託される段階になると、アプリケーションが自動的にOSを介して呼び出される。また、HTML(Hyper Text Markup Language)5を活用したWebアプリケーションでは、「Web Activities」と呼ばれる機能(例えば非特許文献2参照)を用いることにより、Webアプリケーション間で連携することができる。これらアプリケーション連携技術では、連携する双方のアプリケーションが同一端末上にインストールされていることが必要である。   As the application cooperation technology, for example, the conventional technology described in Non-Patent Document 1 is known. In this prior art, an application registers a processing format that can be entrusted from another application with an operating system (OS) at the time of installation. When the process is actually entrusted, the application is automatically called through the OS. In addition, in a Web application using HTML (Hyper Text Markup Language) 5, it is possible to link between Web applications by using a function called “Web Activities” (see, for example, Non-Patent Document 2). These application cooperation technologies require that both applications to be installed are installed on the same terminal.

また、「Web API(Application Program Interface)」と呼ばれる技術が知られている。「Web API」によれば、端末は通信ネットワークを介してWebサーバにより提供されるアプリケーションにアクセス可能である。例えば、端末は、Webサーバの特定のURL(Uniform Resource Locator)にアクセスすると、Webサーバにより提供されるショートメッセージサービス(SMS)やファクシミリ(FAX)サービス、電子メールサービス、写真変換サービス、無線LAN情報による位置特定サービスなどを利用できる。   Also, a technique called “Web API (Application Program Interface)” is known. According to “Web API”, a terminal can access an application provided by a Web server via a communication network. For example, when a terminal accesses a specific URL (Uniform Resource Locator) of a Web server, a short message service (SMS), a facsimile (FAX) service, an e-mail service, a photo conversion service, wireless LAN information provided by the Web server You can use the location service by.

“Intent”,インターネット<URL:http://developer.android.com/reference/android/content/Intent.html>“Intent”, Internet <URL: http://developer.android.com/reference/android/content/Intent.html> “Web Activities”,インターネット<URL:https://developer.mozilla.org/ja/docs/WebAPI/Web_Activities>“Web Activities”, Internet <URL: https://developer.mozilla.org/en/docs/WebAPI/Web_Activities>

しかし、上述した従来のアプリケーション連携技術では、異なる端末にそれぞれインストールされているアプリケーション間で連携して処理を行うことは難しい。例えば、端末がWebサーバとして機能し「Web API」を利用すれば、端末間でのアプリケーション間の連携が可能である。しかしながら、通信ネットワークに設けられているNAT(Network Address Translation)やファイアウォール(Firewall)などによりWebサーバとして機能する端末から他の端末に対してアクセスすることができなかったり、Webアプリケーションが動作するブラウザにはWebサーバとして動作する機能が無かったりするために、現実的には困難である。   However, with the above-described conventional application cooperation technology, it is difficult to perform processing in cooperation between applications installed in different terminals. For example, if a terminal functions as a Web server and uses “Web API”, it is possible to link applications between terminals. However, a terminal functioning as a Web server cannot be accessed from a terminal functioning as a Web server due to NAT (Network Address Translation) or a firewall provided in the communication network, or a browser on which a Web application operates Is actually difficult because it does not have a function to operate as a Web server.

また、端末間の通信を中継するサーバもあるが、専用のプロトコルを用いて通信経路を確立するだけであり、宛先の解決やアプリケーションの呼び出しなどは無く、端末間でのアプリケーション間の連携はサポートされない。   There is also a server that relays communication between terminals, but only establishes a communication path using a dedicated protocol, there is no address resolution or application call, etc., and cooperation between applications between terminals is supported Not.

また、端末からWebサーバを経由して他の端末にアクセスすることも行われているが、その機能は専用に作り込みされており、端末へのアプリケーションインストール時に該インストールされるアプリケーションの機能を登録するなど動的な機能の追加や端末間でのアプリケーション間の連携はサポートされない。   In addition, access from a terminal to another terminal via a Web server is also performed, but the function is created exclusively, and the function of the installed application is registered when the application is installed on the terminal. The addition of dynamic functions, such as, and the cooperation between applications between terminals are not supported.

このため、通信ネットワークを介して、異なる端末にそれぞれインストールされているアプリケーション間で連携して処理を行うことができれば、リソースに余裕のある端末で優先的な処理を行ったり、電化機器の制御など特定の端末上で動く必要のあるアプリケーションで特定の処理を行ったりするなど、複数の端末の利用の幅が広がる。   For this reason, if processing can be performed in cooperation between applications installed on different terminals via a communication network, priority processing can be performed on terminals with sufficient resources, control of electrical appliances, etc. The range of use of multiple terminals expands, such as performing specific processing with applications that need to run on specific terminals.

本発明は、このような事情を考慮してなされたもので、異なる端末にそれぞれインストールされているアプリケーション間で連携して処理を行うことができるサーバ装置、端末装置、通信方法およびコンピュータプログラムを提供することを課題とする。   The present invention has been made in consideration of such circumstances, and provides a server device, a terminal device, a communication method, and a computer program capable of performing processing in cooperation between applications installed in different terminals. The task is to do.

(1)本発明に係るサーバ装置は、アプリケーション登録情報を記憶するアプリケーションデータベースと、端末装置からのアプリケーション登録要求に応じてアプリケーション登録情報を前記アプリケーションデータベースへ格納するアプリケーション登録部と、端末装置からのアプリケーション呼び出し要求に応じて前記アプリケーションデータベースから該当するアプリケーション登録情報を取得し、アプリケーション登録要求元の端末装置に対してアプリケーションの呼び出しを行い、該呼び出したアプリケーションとアプリケーション呼び出し要求元の端末装置との間の情報の転送を行う端末アプリケーションアクセス部と、を備え、前記アプリケーション登録要求に応じて前記アプリケーションデータベースに格納されるアプリケーション登録情報は、アプリケーションが処理可能なデータの情報を含み、端末装置からの利用可能なアプリケーションの問い合わせに応じて、該問い合わせの処理対象のデータの情報に該当するアプリケーション登録情報を前記アプリケーションデータベースから取得して当該問い合わせ元の端末装置に返信するアプリケーション列挙部、をさらに備える(1) A server device according to the present invention includes an application database that stores application registration information, an application registration unit that stores application registration information in the application database in response to an application registration request from the terminal device, and a terminal device Applicable application registration information is obtained from the application database in response to an application call request, the application is called to the application registration request source terminal device, and the application and the application call request source terminal device are called. app of and a terminal application access unit for transferring information, are stored in the application database in response to the application registration request The application registration information includes information on data that can be processed by the application. In response to an inquiry about an application that can be used from the terminal device, the application registration information corresponding to the information on the data to be processed by the inquiry is stored in the application database. An application enumeration unit that obtains and returns the inquiry to the terminal device that has made the inquiry ;

(2)本発明に係るサーバ装置においては、上記(1)のサーバ装置において、前記アプリケーション登録情報に対するアクセスURLを生成するURL生成部を備えたことを特徴とする。 (2) The server device according to the present invention is characterized in that the server device according to (1) further includes a URL generation unit that generates an access URL for the application registration information.

(3)本発明に係るサーバ装置においては、上記(1)又は(2)のサーバ装置において、前記端末装置からのアプリケーション登録要求時の通信コネクションを維持し、前記アプリケーションの呼び出しの際に該通信コネクションを利用することを特徴とする。 (3) In the server device according to the present invention, in the server device according to (1) or (2), the communication connection at the time of the application registration request from the terminal device is maintained, and the communication is performed when the application is called. It is characterized by using a connection.

(4)本発明に係るサーバ装置においては、上記(1)又は(2)のサーバ装置において、前記端末装置からのアプリケーション登録要求時の通信コネクションを切断し、前記アプリケーションの呼び出しの際に再度、通信コネクションを確立することを特徴とする。 (4) In the server device according to the present invention, in the server device according to (1) or (2), the communication connection at the time of the application registration request from the terminal device is disconnected, and again at the time of calling the application, A communication connection is established.

(5)本発明に係る端末装置は、アプリケーション登録情報を記憶し、該アプリケーション登録情報に基づいて呼び出したアプリケーションとアプリケーション呼び出し要求元の端末装置との間の情報の転送を行うサーバ装置と通信する端末装置であり、前記サーバ装置に対して、自端末装置で有するアプリケーションの登録要求を行う端末アプリケーション登録部と、前記サーバ装置からのアプリケーションの呼び出しに応じて該当するアプリケーションを実行させ、アプリケーションによる処理の応答を前記サーバ装置へ行う端末アプリケーション実行部と、を備えたことを特徴とする。 (5) The terminal device according to the present invention stores application registration information and communicates with a server device that transfers information between the application called based on the application registration information and the terminal device that requested the application call. A terminal device, which causes the server device to execute a corresponding application in response to a call to the application from the server device, and a terminal application registration unit that requests registration of the application held by the terminal device And a terminal application execution unit that sends the response to the server device.

(6)本発明に係る端末装置は、アプリケーション登録情報を記憶し、該アプリケーション登録情報に基づいて呼び出したアプリケーションとアプリケーション呼び出し要求元の端末装置との間の情報の転送を行うサーバ装置と通信する端末装置であり、前記サーバ装置に対してアプリケーションの呼び出し要求を行い、前記サーバ装置を介して呼び出されたアプリケーションとの間で情報を送受する端末アプリケーション呼び出し部と、処理対象のデータの情報を前記サーバ装置に送信して利用可能なアプリケーションの問い合わせを行い、前記サーバ装置から取得したアプリケーション登録情報に基づいてアプリケーションを選択し、選択したアプリケーションの呼び出しを前記端末アプリケーション呼び出し部に要求するアプリケーション問い合わせ部と、を備えたことを特徴とする。 (6) The terminal device according to the present invention stores application registration information and communicates with a server device that transfers information between the application called based on the application registration information and the terminal device that is the application call request source. A terminal device, a request for calling an application to the server device, and a terminal application calling unit that transmits and receives information to and from the application called through the server device; and information on data to be processed An application that sends an inquiry to an application that can be transmitted to the server device, selects an application based on the application registration information acquired from the server device, and requests the terminal application calling unit to call the selected application. And emissions inquiry unit, characterized in that it is provided with a.

(7)本発明に係る通信方法は、アプリケーション登録情報を記憶するアプリケーションデータベースを有するサーバ装置における通信方法であり、端末装置からのアプリケーション登録要求に応じてアプリケーション登録情報を前記アプリケーションデータベースへ格納するアプリケーション登録ステップと、端末装置からのアプリケーション呼び出し要求に応じて前記アプリケーションデータベースから該当するアプリケーション登録情報を取得し、アプリケーション登録要求元の端末装置に対してアプリケーションの呼び出しを行い、該呼び出したアプリケーションとアプリケーション呼び出し要求元の端末装置との間の情報の転送を行う端末アプリケーションアクセスステップと、を含み、前記アプリケーション登録要求に応じて前記アプリケーションデータベースに格納されるアプリケーション登録情報は、アプリケーションが処理可能なデータの情報を含み、端末装置からの利用可能なアプリケーションの問い合わせに応じて、該問い合わせの処理対象のデータの情報に該当するアプリケーション登録情報を前記アプリケーションデータベースから取得して当該問い合わせ元の端末装置に返信するステップ、をさらに含む(7) A communication method according to the present invention is a communication method in a server apparatus having an application database that stores application registration information, and an application that stores application registration information in the application database in response to an application registration request from a terminal apparatus. In response to an application call request from the terminal device, the corresponding application registration information is obtained from the application database, the application is called to the application registration request source terminal device, and the called application and application call are called. seen including a terminal application access steps for transferring information between the requesting terminal device, the front depending on the application registration request The application registration information stored in the application database includes information on data that can be processed by the application. In response to an inquiry about an application that can be used from the terminal device, the application registration corresponding to the information on the data to be processed by the inquiry The method further includes the step of acquiring information from the application database and returning the information to the inquiring terminal device .

(8)本発明に係る通信方法は、アプリケーション登録情報を記憶し、該アプリケーション登録情報に基づいて呼び出したアプリケーションとアプリケーション呼び出し要求元の端末装置との間の情報の転送を行うサーバ装置と通信する端末装置における通信方法であり、前記サーバ装置に対して、自端末装置で有するアプリケーションの登録要求を行う端末アプリケーション登録ステップと、前記サーバ装置からのアプリケーションの呼び出しに応じて該当するアプリケーションを実行させ、アプリケーションによる処理の応答を前記サーバ装置へ行う端末アプリケーション実行ステップと、を含むことを特徴とする。 (8) A communication method according to the present invention stores application registration information and communicates with a server device that transfers information between an application called based on the application registration information and a terminal device that is an application call request source. It is a communication method in the terminal device, the terminal device registration step for requesting registration of the application held in the own terminal device to the server device, and the corresponding application is executed in response to the application call from the server device, And a terminal application execution step of sending a response of the process by the application to the server device.

(9)本発明に係る通信方法は、アプリケーション登録情報を記憶し、該アプリケーション登録情報に基づいて呼び出したアプリケーションとアプリケーション呼び出し要求元の端末装置との間の情報の転送を行うサーバ装置と通信する端末装置における通信方法であり、前記サーバ装置に対してアプリケーションの呼び出し要求を行い、前記サーバ装置を介して呼び出されたアプリケーションとの間で情報を送受する端末アプリケーション呼び出しステップと、処理対象のデータの情報を前記サーバ装置に送信して利用可能なアプリケーションの問い合わせを行い、前記サーバ装置から取得したアプリケーション登録情報に基づいてアプリケーションを選択し、選択したアプリケーションの呼び出しを前記端末アプリケーション呼び出しステップに要求するアプリケーション問い合わせステップと、を含むことを特徴とする。 (9) A communication method according to the present invention stores application registration information and communicates with a server device that transfers information between an application called based on the application registration information and a terminal device that is an application call request source. A communication method in a terminal device, a request for calling an application to the server device, and a terminal application calling step for transmitting and receiving information to and from the application called through the server device ; and processing target data Information is sent to the server device to inquire about available applications, an application is selected based on the application registration information acquired from the server device, and the selected application is called the terminal application call Characterized in that it comprises an application query requesting to-up, the.

(10)本発明に係るコンピュータプログラムは、アプリケーション登録情報を記憶するアプリケーションデータベースを有するサーバ装置のコンピュータに、端末装置からのアプリケーション登録要求に応じてアプリケーション登録情報を前記アプリケーションデータベースへ格納するアプリケーション登録ステップと、端末装置からのアプリケーション呼び出し要求に応じて前記アプリケーションデータベースから該当するアプリケーション登録情報を取得し、アプリケーション登録要求元の端末装置に対してアプリケーションの呼び出しを行い、該呼び出したアプリケーションとアプリケーション呼び出し要求元の端末装置との間の情報の転送を行う端末アプリケーションアクセスステップと、を実行させるためのコンピュータプログラムであり、前記アプリケーション登録要求に応じて前記アプリケーションデータベースに格納されるアプリケーション登録情報は、アプリケーションが処理可能なデータの情報を含み、端末装置からの利用可能なアプリケーションの問い合わせに応じて、該問い合わせの処理対象のデータの情報に該当するアプリケーション登録情報を前記アプリケーションデータベースから取得して当該問い合わせ元の端末装置に返信するステップ、をさらに実行させるためのコンピュータプログラムである。 (10) An application registration step of storing application registration information in the application database in response to an application registration request from a terminal device in a computer of a server apparatus having an application database for storing application registration information. And corresponding application registration information is acquired from the application database in response to an application call request from the terminal device, the application is called to the application registration request source terminal device, and the called application and the application call request source computer programming for executing a terminal application access steps for transferring information between the terminal device The application registration information stored in the application database in response to the application registration request includes information on data that can be processed by the application. This is a computer program for further executing the step of acquiring application registration information corresponding to the information on the data to be processed from the application database and returning it to the inquiring terminal device .

(11)本発明に係るコンピュータプログラムは、アプリケーション登録情報を記憶し、該アプリケーション登録情報に基づいて呼び出したアプリケーションとアプリケーション呼び出し要求元の端末装置との間の情報の転送を行うサーバ装置と通信する端末装置のコンピュータに、前記サーバ装置に対して、自端末装置で有するアプリケーションの登録要求を行う端末アプリケーション登録ステップと、前記サーバ装置からのアプリケーションの呼び出しに応じて該当するアプリケーションを実行させ、アプリケーションによる処理の応答を前記サーバ装置へ行う端末アプリケーション実行ステップと、を実行させるためのコンピュータプログラムであることを特徴とする。 (11) A computer program according to the present invention stores application registration information and communicates with a server device that transfers information between an application called based on the application registration information and a terminal device that is an application call request source. Depending on the application, the terminal device computer causes the server device to execute a terminal application registration step for requesting registration of the application held by the terminal device, and the application corresponding to the application call from the server device. A computer program for executing a terminal application execution step of sending a response of the process to the server device.

(12)本発明に係るコンピュータプログラムは、アプリケーション登録情報を記憶し、該アプリケーション登録情報に基づいて呼び出したアプリケーションとアプリケーション呼び出し要求元の端末装置との間の情報の転送を行うサーバ装置と通信する端末装置のコンピュータに、前記サーバ装置に対してアプリケーションの呼び出し要求を行い、前記サーバ装置を介して呼び出されたアプリケーションとの間で情報を送受する端末アプリケーション呼び出しステップと、処理対象のデータの情報を前記サーバ装置に送信して利用可能なアプリケーションの問い合わせを行い、前記サーバ装置から取得したアプリケーション登録情報に基づいてアプリケーションを選択し、選択したアプリケーションの呼び出しを前記端末アプリケーション呼び出し部に要求するアプリケーション問い合わせステップと、を実行させるためのコンピュータプログラムである。
(12) A computer program according to the present invention stores application registration information, and communicates with a server device that transfers information between an application called based on the application registration information and a terminal device that is an application call request source. A terminal application calling step for making an application call request to the server device to the computer of the terminal device, and sending / receiving information to / from the application called via the server device, and information on data to be processed Inquires for available applications to be transmitted to the server device, selects an application based on application registration information acquired from the server device, and calls the selected application to the terminal application An application query requesting the fine out unit, a computer program for execution.

本発明によれば、異なる端末にそれぞれインストールされているアプリケーション間で連携して処理を行うことができるという効果が得られる。   According to the present invention, there is an effect that processing can be performed in cooperation between applications installed in different terminals.

本発明の一実施形態に係る通信システムの概略構成図である。1 is a schematic configuration diagram of a communication system according to an embodiment of the present invention. 図1に示す端末1−1、1−2、Webサーバ2の構成図である。FIG. 2 is a configuration diagram of terminals 1-1 and 1-2 and a Web server 2 shown in FIG. 本発明の一実施形態に係るAPI登録処理の流れを示すシーケンスチャートである。It is a sequence chart which shows the flow of API registration processing concerning one embodiment of the present invention. 本発明の一実施形態に係るAPI呼び出し処理の流れを示すシーケンスチャートである。It is a sequence chart which shows the flow of the API call process which concerns on one Embodiment of this invention. 本発明の一実施形態に係る端末1−2の表示画面100の構成例を示す図である。It is a figure which shows the structural example of the display screen 100 of the terminal 1-2 which concerns on one Embodiment of this invention.

以下、図面を参照し、本発明の実施形態について説明する。
図1は、本発明の一実施形態に係る通信システムの概略構成図である。図1において、端末1−1、1−2は無線回線により無線基地局3と接続する。無線基地局3としては、例えば、携帯電話網の基地局(例えば、3G回線の基地局)や無線LANのアクセスポイント(Access Point:AP)などが挙げられる。無線LANとしては、例えば、WiFi規格のものが挙げられる。端末1は、無線基地局3を介して、インターネット等のIP(Internet Protocol)ネットワーク5に接続されるWebサーバ2との間で通信することができる。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a schematic configuration diagram of a communication system according to an embodiment of the present invention. In FIG. 1, terminals 1-1 and 1-2 are connected to a radio base station 3 by radio channels. Examples of the wireless base station 3 include a mobile phone network base station (for example, a 3G line base station) and a wireless LAN access point (AP). As a wireless LAN, for example, a WiFi standard one can be cited. The terminal 1 can communicate with the Web server 2 connected to an IP (Internet Protocol) network 5 such as the Internet via the wireless base station 3.

無線基地局3とWebサーバ2間の通信経路上には、NATやファイアウォール等のネットワーク機器4が存在している。このため、Webサーバ2から端末1−1、1−2へTCP(Transmission Control Protocol)接続を行うことは制限される。   On the communication path between the wireless base station 3 and the Web server 2, there are network devices 4 such as NAT and firewall. For this reason, performing TCP (Transmission Control Protocol) connection from the Web server 2 to the terminals 1-1 and 1-2 is limited.

端末1−1には、アプリケーション10(A)がインストールされている。端末1−2には、アプリケーション10(B)がインストールされている。本実施形態では、APIを利用してアプリケーション10を呼び出し可能とする。このため、アプリケーション10毎にAPIが定義されている。例えば、アプリケーション10(A)を呼び出すためのAPI、アプリケーション10(B)を呼び出すためのAPI、がそれぞれに定義されている。   Application 10 (A) is installed in terminal 1-1. Application 10 (B) is installed in the terminal 1-2. In the present embodiment, the application 10 can be called using an API. For this reason, an API is defined for each application 10. For example, an API for calling the application 10 (A) and an API for calling the application 10 (B) are respectively defined.

図2は、図1に示す端末1−1、1−2、Webサーバ2の構成図である。端末1−1は、クライアントAPI登録部11とクライアントAPI実行部12を有する。端末1−2は、クライアントAPI呼び出し部13とクライアントAPI処理問い合わせ部14を有する。Webサーバ2は、クライアントAPI登録・URL生成部21とAPIデータベース(APIDB)22とクライアントAPI列挙部23とクライアントAPI待ち受け部24とクライアントAPIアクセス部25を有する。   FIG. 2 is a configuration diagram of the terminals 1-1 and 1-2 and the Web server 2 shown in FIG. The terminal 1-1 includes a client API registration unit 11 and a client API execution unit 12. The terminal 1-2 includes a client API calling unit 13 and a client API processing inquiry unit 14. The Web server 2 includes a client API registration / URL generation unit 21, an API database (APIDB) 22, a client API enumeration unit 23, a client API waiting unit 24, and a client API access unit 25.

端末1−1において、クライアントAPI登録部11は、自端末1−1にインストールされている各アプリケーション10にそれぞれ対応するAPIの登録要求を行う。クライアントAPI実行部12は、Webサーバ2からのAPIの呼び出しに応じて、該当するAPIを呼び出す。このAPIの呼び出しによって、該APIに対応するアプリケーション10が実行される。   In the terminal 1-1, the client API registration unit 11 issues an API registration request corresponding to each application 10 installed in the terminal 1-1. The client API execution unit 12 calls the corresponding API in response to the API call from the Web server 2. By this API call, the application 10 corresponding to the API is executed.

端末1−2において、クライアントAPI呼び出し部13は、Webサーバ2に対して、APIの呼び出し要求を行う。クライアントAPI処理問い合わせ部14は、Webサーバ2に対して、利用可能なAPIの問い合わせを行う。   In the terminal 1-2, the client API calling unit 13 makes an API call request to the Web server 2. The client API processing inquiry unit 14 inquires of the Web server 2 about available APIs.

Webサーバ2において、クライアントAPI登録・URL生成部21は、端末1−1からのAPI登録要求に応じて、該当するAPI登録情報をAPIDB22に格納する。API登録情報は、APIおよびAPIに対応するアプリケーション10に関する情報であり、API識別情報(API名など)、アプリケーション名、アプリケーション10のアイコン、アプリケーション10が処理可能なデータ形式やファイル形式、データサイズ、API登録要求元の端末1−1の端末名や通信ネットワークの種類などである。   In the Web server 2, the client API registration / URL generation unit 21 stores the corresponding API registration information in the APIDB 22 in response to the API registration request from the terminal 1-1. The API registration information is information related to the API and the application 10 corresponding to the API. The API identification information (API name and the like), the application name, the icon of the application 10, the data format and file format that can be processed by the application 10, the data size, The terminal name of the terminal 1-1 as the API registration request source, the type of communication network, and the like.

また、クライアントAPI登録・URL生成部21は、API登録情報に対するアクセスURLを生成する。このアクセスURLは、通信ネットワークを介して、該当するAPI登録情報へアクセスするためのURLである。クライアントAPI登録・URL生成部21は、生成したアクセスURLをAPIDB22に格納する。   The client API registration / URL generation unit 21 generates an access URL for the API registration information. This access URL is a URL for accessing the corresponding API registration information via the communication network. The client API registration / URL generation unit 21 stores the generated access URL in the APIDB 22.

また、クライアントAPI登録・URL生成部21は、端末1−1からのAPI登録要求時の通信コネクション40の接続情報をAPIDB22に格納する。通信コネクション40として、例えば、TCPコネクション、ウェブソケット(WebSocket)のセッションなどが挙げられる。接続情報として、例えばTCPコネクションのIPアドレスやポート番号、内部のソケット番号などが挙げられる。   Further, the client API registration / URL generation unit 21 stores connection information of the communication connection 40 at the time of API registration request from the terminal 1-1 in the APIDB 22. Examples of the communication connection 40 include a TCP connection, a web socket (WebSocket) session, and the like. Examples of the connection information include an IP address and port number of a TCP connection, an internal socket number, and the like.

また、クライアントAPI登録・URL生成部21は、端末1−1からAPIの登録解除の要求に応じて、該当するAPI登録情報、アクセスURL、接続情報をAPIDB22から削除する。   Further, the client API registration / URL generation unit 21 deletes the corresponding API registration information, access URL, and connection information from the APIDB 22 in response to a request for API registration cancellation from the terminal 1-1.

APIDB22は、アプリケーション登録情報として、API登録情報ごとにそれぞれ対応するアクセスURLと接続情報を関連付けて記憶する。なお、APIDB22は、SQLなどのデータベースシステムを利用してもよく、又は、メモリ等の記憶装置に保持するものであってもよい。   The APIDB 22 stores, as application registration information, an associated access URL and connection information corresponding to each API registration information. The APIDB 22 may use a database system such as SQL, or may be held in a storage device such as a memory.

クライアントAPI列挙部23は、端末1−2からの利用可能なAPIの問い合わせに応じて、該当するAPI登録情報、アクセスURLをAPIDB22から取得して端末1−2へ返信する。   In response to an inquiry about available APIs from the terminal 1-2, the client API enumeration unit 23 acquires the corresponding API registration information and access URL from the APIDB 22 and returns them to the terminal 1-2.

クライアントAPI待ち受け部24は、APIDB22に格納されているアクセスURLでアクセスの待ち受けを行う。クライアントAPI待ち受け部24は、アクセスされたアクセスURLに応じて、該当するAPIの呼び出しをクライアントAPIアクセス部25へ指示する。また、クライアントAPI待ち受け部24は、クライアントAPIアクセス部25から受信したAPIの応答を、該APIの呼び出し要求元の端末1−2へ転送する。   The client API waiting unit 24 waits for access using the access URL stored in the APIDB 22. The client API waiting unit 24 instructs the client API access unit 25 to call the corresponding API according to the accessed access URL. Further, the client API waiting unit 24 transfers the API response received from the client API access unit 25 to the terminal 1-2 that is the API call request source.

クライアントAPIアクセス部25は、クライアントAPI待ち受け部24から指示されたAPIの呼び出しを、APIDB22に格納されている該当する接続情報に基づく通信コネクション40を使用して端末1−1へ行う。また、クライアントAPIアクセス部25は、APIの呼び出しを行った端末1−1から受信したAPIの応答をクライアントAPI待ち受け部24へ転送する。   The client API access unit 25 calls the API instructed from the client API waiting unit 24 to the terminal 1-1 using the communication connection 40 based on the corresponding connection information stored in the APIDB 22. Also, the client API access unit 25 transfers the API response received from the terminal 1-1 that has called the API to the client API waiting unit 24.

次に、図3、図4を参照して、本実施形態に係る通信システムの動作を説明する。まず図3を参照して、本実施形態に係るAPI登録処理を説明する。図3は、本実施形態に係るAPI登録処理の流れを示すシーケンスチャートである。   Next, the operation of the communication system according to the present embodiment will be described with reference to FIGS. First, an API registration process according to the present embodiment will be described with reference to FIG. FIG. 3 is a sequence chart showing the flow of API registration processing according to the present embodiment.

(ステップS1)
端末1−1のクライアントAPI登録部11は、通信コネクション40を使用して、Webサーバ2に対し、API登録要求を行う。API登録要求では、APIおよびAPIに対応するアプリケーション10に関する情報として、API識別情報(API名など)、アプリケーション名、アプリケーション10のアイコン、アプリケーション10が処理可能なデータ形式やファイル形式(例えば、ファイルの拡張子やデータ種別(写真、音楽、テキストなど))、データサイズなどをWebサーバ2へ送信する。
(Step S1)
The client API registration unit 11 of the terminal 1-1 makes an API registration request to the Web server 2 using the communication connection 40. In the API registration request, API identification information (API name or the like), application name, application 10 icon, data format or file format that can be processed by the application 10 (for example, a file name) are included as information about the API and the application 10 corresponding to the API. The extension, data type (photo, music, text, etc.), data size, etc. are transmitted to the Web server 2.

(ステップS2)
Webサーバ2のクライアントAPI登録・URL生成部21は、端末1−1からのAPI登録要求に応じて、該当するAPI登録情報に対するアクセスURLを生成する。アクセスURLの生成方法として、例えばWebサーバ2のURLを基に生成することが挙げられる。
(Step S2)
The client API registration / URL generation unit 21 of the Web server 2 generates an access URL for the corresponding API registration information in response to an API registration request from the terminal 1-1. As an access URL generation method, for example, it is generated based on the URL of the Web server 2.

(ステップS3)
クライアントAPI登録・URL生成部21は、API登録要求元の端末1−1間の通信コネクション40を維持する。これは、API呼び出し時に該通信コネクション40を利用するためである。
(Step S3)
The client API registration / URL generation unit 21 maintains the communication connection 40 between the terminals 1-1 of the API registration request source. This is because the communication connection 40 is used when calling the API.

なお、端末1−1は、一時的に通信コネクション40を切断し、必要に応じて再度、通信コネクション40を確立してもよい。また、端末1−1の電源を切るときなど、端末1−1で処理を継続できない場合には、端末1−1のクライアントAPI登録部11は自己のAPI登録要求に関する登録解除をWebサーバ2へ要求する。   Note that the terminal 1-1 may temporarily disconnect the communication connection 40 and establish the communication connection 40 again as necessary. When the terminal 1-1 cannot continue processing, such as when the terminal 1-1 is turned off, the client API registration unit 11 of the terminal 1-1 cancels registration regarding its own API registration request to the Web server 2. Request.

(ステップS4)
クライアントAPI登録・URL生成部21は、端末1−1からのAPI登録要求に該当するAPI登録情報、アクセスURL、接続情報をAPIDB22に保持要求する。
(Step S4)
The client API registration / URL generation unit 21 requests the APIDB 22 to store API registration information, access URL, and connection information corresponding to the API registration request from the terminal 1-1.

(ステップS5)
APIDB22は、クライアントAPI登録・URL生成部21から保持要求されたAPI登録情報、アクセスURL、接続情報を関連付けて格納する。
(Step S5)
The APIDB 22 stores the API registration information, access URL, and connection information requested to be held by the client API registration / URL generation unit 21 in association with each other.

(ステップS6)
APIDB22は、クライアントAPI登録・URL生成部21へ、保持要求に対する応答を行う。このとき、APIDB22に保持要求の情報と同じAPIが既に登録されていた場合など、登録に失敗した場合には、クライアントAPI登録・URL生成部21へエラーの応答を返す。
(Step S6)
The APIDB 22 makes a response to the holding request to the client API registration / URL generation unit 21. At this time, when registration fails, such as when the same API as the information of the holding request has already been registered in APIDB 22, an error response is returned to the client API registration / URL generation unit 21.

(ステップS7)
クライアントAPI登録・URL生成部21は、クライアントAPI待ち受け部24に対して、アクセスURLの更新ありを通知する。
(Step S7)
The client API registration / URL generation unit 21 notifies the client API waiting unit 24 that the access URL has been updated.

(ステップS8)
クライアントAPI待ち受け部24は、APIDB22に対して、更新されたアクセスURLの取得要求を行う。この取得要求では、更新されたアクセスURLのみを取得してもよく、又は、定期的に全アクセスURLを取得してもよい。
(Step S8)
The client API waiting unit 24 requests the APIDB 22 to acquire an updated access URL. In this acquisition request, only the updated access URL may be acquired, or all access URLs may be acquired periodically.

(ステップS9)
APIDB22は、アクセスURLの取得要求に応じて、クライアントAPI待ち受け部24に対し、該当するアクセスURLおよびAPI情報(例えばAPI識別情報)を返す。
(Step S9)
The APIDB 22 returns the corresponding access URL and API information (for example, API identification information) to the client API waiting unit 24 in response to the access URL acquisition request.

(ステップS10)
クライアントAPI待ち受け部24は、APIDB22から取得したアクセスURLおよびAPI情報に基づいて、該当するアクセスURLへのアクセス(APIの呼び出し要求)を待ち受ける。
(Step S10)
The client API waiting unit 24 waits for an access to the corresponding access URL (API call request) based on the access URL and API information acquired from the APIDB 22.

(ステップS11)
クライアントAPI登録・URL生成部21は、通信コネクション40を使用して、API登録要求元の端末1−1に対し、API登録要求の応答を行う。このAPI登録要求の応答では、API登録の結果(成功または失敗)と、API登録の成功の場合には該当するアクセスURLとを、API登録要求元の端末1−1へ返す。
(Step S11)
The client API registration / URL generation unit 21 uses the communication connection 40 to respond to the API registration request source terminal 1-1 with an API registration request. In the API registration request response, the API registration result (success or failure) and the corresponding access URL in the case of API registration success are returned to the terminal 1-1 of the API registration request source.

次に図4を参照して、本実施形態に係るAPI呼び出し処理を説明する。図4は、本実施形態に係るAPI呼び出し処理の流れを示すシーケンスチャートである。   Next, the API call processing according to the present embodiment will be described with reference to FIG. FIG. 4 is a sequence chart showing the flow of API call processing according to the present embodiment.

(ステップS21)
端末1−2のクライアントAPI処理問い合わせ部14は、Webサーバ2に対して、利用可能なAPIの問い合わせを行う。この問い合わせでは、処理対象のデータの情報(例えば、ファイル形式、データ種別(写真、音楽、テキストなど)等)をWebサーバ2へ送信する。
(Step S21)
The client API processing inquiry unit 14 of the terminal 1-2 inquires of the Web server 2 about available APIs. In this inquiry, information on data to be processed (for example, file format, data type (photo, music, text, etc.), etc.) is transmitted to the Web server 2.

(ステップS22)
Webサーバ2のクライアントAPI列挙部23は、端末1−2からの利用可能なAPIの問い合わせに応じて、APIDB22に対し、処理対象のデータの情報を送り、該当するAPIの問い合わせを行う。
(Step S22)
The client API enumeration unit 23 of the Web server 2 sends information on data to be processed to the APIDB 22 in response to an inquiry about an available API from the terminal 1-2, and makes an inquiry about the corresponding API.

(ステップS23)
APIDB22は、クライアントAPI列挙部23に対し、APIの問い合わせの結果として、該当するAPI登録情報、アクセスURLを返す。なお、APIの問い合わせに該当するものが無い場合にはエラーを返す。
(Step S23)
The APIDB 22 returns the corresponding API registration information and access URL to the client API listing unit 23 as a result of the API inquiry. An error is returned if there is no corresponding API query.

(ステップS24)
クライアントAPI列挙部23は、APIDB22から取得したAPI登録情報、アクセスURLを、問い合わせ元の端末1−2へ返す。
(Step S24)
The client API enumeration unit 23 returns the API registration information and the access URL acquired from APIDB 22 to the terminal 1-2 of the inquiry source.

(ステップS25)
端末1−2のクライアントAPI処理問い合わせ部14は、Webサーバ2から取得したAPI登録情報に基づいて、利用するAPIを選択する。このAPIの選択は、端末1−2が自動的に行ってもよく、又は、端末1−2の画面上に利用可能なAPIの情報を表示しユーザにより選択が行われるようにしてもよい。また、適当なAPIが無い場合には、APIの呼び出しを中止してもよい。
(Step S25)
The client API processing inquiry unit 14 of the terminal 1-2 selects an API to be used based on the API registration information acquired from the Web server 2. The selection of the API may be automatically performed by the terminal 1-2, or the API information that can be used may be displayed on the screen of the terminal 1-2 and the user may select the API. If there is no appropriate API, the API call may be stopped.

(ステップS26)
端末1−2のクライアントAPI処理問い合わせ部14は、選択されたAPIの呼び出しをクライアントAPI呼び出し部13へ要求する。この要求では、Webサーバ2から取得した該当するアクセスURLをクライアントAPI呼び出し部13へ送る。
(Step S26)
The client API processing inquiry unit 14 of the terminal 1-2 requests the client API calling unit 13 to call the selected API. In this request, the corresponding access URL acquired from the Web server 2 is sent to the client API calling unit 13.

(ステップS27)
クライアントAPI呼び出し部13は、クライアントAPI処理問い合わせ部14から取得したアクセスURLへアクセスし、API呼び出し要求を行う。このAPI呼び出し要求では、処理対象のデータなどをWebサーバ2へ送り、処理要求を行う。
(Step S27)
The client API calling unit 13 accesses the access URL acquired from the client API process inquiry unit 14 and makes an API call request. In this API call request, processing target data or the like is sent to the Web server 2 to make a processing request.

(ステップS28)
Webサーバ2のクライアントAPI待ち受け部24は、端末1−2からのAPI呼び出し要求に応じて、アクセスされたアクセスURLに該当するAPIの呼び出しをクライアントAPIアクセス部25へ指示する。この指示では、API呼び出し要求元の端末1−2から受信した処理対象のデータなどをクライアントAPIアクセス部25へ送り、処理要求を行う。
(Step S28)
The client API waiting unit 24 of the Web server 2 instructs the client API access unit 25 to call the API corresponding to the accessed access URL in response to the API call request from the terminal 1-2. In this instruction, the processing target data received from the terminal 1-2 of the API call request source is sent to the client API access unit 25 to make a processing request.

(ステップS29)
クライアントAPIアクセス部25は、クライアントAPI待ち受け部24からのAPI呼び出し指示に応じて、APIDB22に対し、呼び出すAPIに該当する接続情報を要求する。
(Step S29)
The client API access unit 25 requests the APIDB 22 for connection information corresponding to the API to be called in response to an API call instruction from the client API waiting unit 24.

(ステップS30)
APIDB22は、クライアントAPIアクセス部25からの接続情報の要求に応じて、該当する接続情報をクライアントAPIアクセス部25へ返す。
(Step S30)
The APIDB 22 returns the corresponding connection information to the client API access unit 25 in response to the connection information request from the client API access unit 25.

(ステップS31)
クライアントAPIアクセス部25は、APIDB22から取得した接続情報に基づく通信コネクション40を使用して、端末1−1に対し、クライアントAPI待ち受け部24から指示されたAPIの呼び出しを行う。
(Step S31)
The client API access unit 25 uses the communication connection 40 based on the connection information acquired from the APIDB 22 to call the API instructed from the client API waiting unit 24 to the terminal 1-1.

このとき、接続情報に基づく通信コネクション40が切断されていた場合には、クライアントAPI待ち受け部24に対し、APIの呼び出しの失敗を返す。又は、定期的に接続されるIP Pushなどで端末1−1への通知が可能である場合には、APIの呼び出しのための通信コネクション40の再開を端末1−1へ通知する。これにより、端末1−1から通信コネクション40の再開が行われた場合には、該通信コネクション40を使用して、端末1−1に対し、クライアントAPI待ち受け部24から指示されたAPIの呼び出しを行う。なお、APIの呼び出しが失敗した場合には、クライアントAPI待ち受け部24からAPI呼び出し要求元の端末1−2へエラーを返す。   At this time, if the communication connection 40 based on the connection information is disconnected, an API call failure is returned to the client API waiting unit 24. Alternatively, when notification to the terminal 1-1 is possible by IP Push or the like connected periodically, the terminal 1-1 is notified of resumption of the communication connection 40 for calling the API. As a result, when the communication connection 40 is resumed from the terminal 1-1, the API instructed from the client API waiting unit 24 is called to the terminal 1-1 using the communication connection 40. Do. If the API call fails, an error is returned from the client API waiting unit 24 to the terminal 1-2 that is the API call request source.

クライアントAPIアクセス部25は、端末1−1に対するAPIの呼び出しが成功した場合には、クライアントAPI待ち受け部24から取得した処理対象のデータなどを端末1−1へ送信し、処理要求を行う。   If the API call to the terminal 1-1 is successful, the client API access unit 25 transmits the processing target data acquired from the client API waiting unit 24 to the terminal 1-1 and makes a processing request.

(ステップS32)
端末1−1のクライアントAPI実行部12は、Webサーバ2からのAPIの呼び出しに応じて、該当するAPIを呼び出す。そして、クライアントAPI実行部12は、Webサーバ2から取得した処理対象のデータなどをAPIへ渡し、処理を指示する。これにより、呼び出されたAPIに対応するアプリケーション10が実行され、処理対象のデータなどの処理が該アプリケーション10により行われる。
(Step S32)
In response to the API call from the Web server 2, the client API execution unit 12 of the terminal 1-1 calls the corresponding API. Then, the client API execution unit 12 passes the processing target data acquired from the Web server 2 to the API and instructs the processing. As a result, the application 10 corresponding to the called API is executed, and processing such as processing target data is performed by the application 10.

(ステップS33)
クライアントAPI実行部12は、通信コネクション40を使用して、アプリケーション10によって処理された処理結果をWebサーバ2へ返す。該処理結果には、アプリケーション10の処理の結果として得られたデータが含まれる。
(Step S33)
The client API execution unit 12 returns the processing result processed by the application 10 to the Web server 2 using the communication connection 40. The processing result includes data obtained as a result of processing of the application 10.

(ステップS34)
Webサーバ2のクライアントAPIアクセス部25は、端末1−1から取得した処理結果をクライアントAPI待ち受け部24へ転送する。
(Step S34)
The client API access unit 25 of the Web server 2 transfers the processing result acquired from the terminal 1-1 to the client API waiting unit 24.

(ステップS35)
クライアントAPI待ち受け部24は、クライアントAPIアクセス部25から取得した処理結果をAPI呼び出し要求元の端末1−2へ転送する。
(Step S35)
The client API waiting unit 24 transfers the processing result acquired from the client API access unit 25 to the terminal 1-2 that is the API call request source.

なお、ステップS21〜S25までの処理は、利用するAPIやアクセスURLが分かっている場合には省略してもよい。   Note that the processing from steps S21 to S25 may be omitted if the API or access URL to be used is known.

図5は、本実施形態に係る端末1−2の表示画面100の構成例を示す図である。図5において、表示画面100には、例えば写真の共有先として利用可能なアプリケーション10の情報(例えばアイコン)が表示されている。本実施形態によれば、図5に示されるように、自端末1−2にインストールされているアプリケーション10(B)、(C)の各表示110だけではなく、他の端末1−1(他携帯端末や自宅PCなど)にインストールされているアプリケーション10(A)、(D)の各表示120も、表示画面100に表示されている。   FIG. 5 is a diagram illustrating a configuration example of the display screen 100 of the terminal 1-2 according to the present embodiment. In FIG. 5, information (for example, icons) of the application 10 that can be used as, for example, a photo sharing destination is displayed on the display screen 100. According to the present embodiment, as shown in FIG. 5, not only the displays 110 of the applications 10 (B) and (C) installed in the own terminal 1-2, but also other terminals 1-1 (others). Each display 120 of the applications 10 (A) and (D) installed in a portable terminal or a home PC is also displayed on the display screen 100.

端末1−2のユーザは、表示画面100に表示されている表示110、120を操作することにより、各表示110、120に対応するアプリケーション10の中から、例えば写真の共有先として利用するアプリケーション10を選択することができる。つまり、自端末1−2にインストールされているアプリケーション10(B)、(C)だけではなく、他の端末1−1(他携帯端末や自宅PCなど)にインストールされているアプリケーション10(A)、(D)も、例えば写真の共有先として利用することができる。   The user of the terminal 1-2 operates the displays 110 and 120 displayed on the display screen 100, so that, for example, the application 10 used as a photo sharing destination is selected from the applications 10 corresponding to the displays 110 and 120. Can be selected. That is, not only the applications 10 (B) and (C) installed in the own terminal 1-2, but also the applications 10 (A) installed in other terminals 1-1 (other portable terminals, home PCs, etc.) , (D) can also be used as a photo sharing destination, for example.

上述した実施形態によれば、異なる端末にそれぞれインストールされているアプリケーション間で連携して処理を行うことができる。これにより、より計算力のある端末で処理したり、又は、特定の端末でしか取得できない情報を遠隔で扱ったり、又は、特定の端末でしか操作できないことを遠隔で操作したりすることができる。   According to the above-described embodiment, processing can be performed in cooperation between applications installed in different terminals. As a result, it is possible to perform processing with a more computational terminal, remotely handle information that can be acquired only by a specific terminal, or remotely control that it can be operated only by a specific terminal. .

また、端末上でWebサーバを構築する必要がないため、ブラウザなど既存のクライアントのみを考慮したプラットフォーム上でも実現可能である。また、端末がWebサーバとして接続を受け付ける必要がないため、NATやファイアウォールが介在する通信環境下にあっても適用可能である。   Further, since there is no need to construct a Web server on the terminal, it can be realized on a platform that considers only existing clients such as a browser. Further, since it is not necessary for the terminal to accept a connection as a Web server, the present invention can be applied even in a communication environment in which a NAT or a firewall is interposed.

以上、本発明の実施形態について図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、本発明の要旨を逸脱しない範囲の設計変更等も含まれる。   As mentioned above, although embodiment of this invention was explained in full detail with reference to drawings, the specific structure is not restricted to this embodiment, The design change etc. of the range which does not deviate from the summary of this invention are included.

なお、アプリケーション10としては、例えば、画像処理、写真撮影、センサ情報の提供、電子メール送信など、外部からの情報要求や操作要求、処理要求を受け入れることができる各種のアプリケーションを利用可能である。   As the application 10, for example, various applications that can accept information requests, operation requests, and processing requests from the outside, such as image processing, photography, provision of sensor information, and e-mail transmission, can be used.

また、Webサーバ2に対する利用可能なAPIの問い合わせは、特定の機能を有するアプリケーション10に対応するAPI群ごとであってもよく、又は、個々のアプリケーション10に対応するAPIごとであってもよい。   In addition, the available API inquiry to the Web server 2 may be for each API group corresponding to the application 10 having a specific function, or may be for each API corresponding to each application 10.

また、APIの登録、呼び出しなどの処理は、専用のアプリケーションによって行われてもよく、又は、OSやブラウザによって行われてもよい。   Further, processing such as API registration and calling may be performed by a dedicated application, or may be performed by an OS or a browser.

また、同一端末に対して、クライアントAPI登録部11、クライアントAPI実行部12、クライアントAPI呼び出し部13およびクライアントAPI処理問い合わせ部14を備えるようにしてもよい。   The same terminal may be provided with a client API registration unit 11, a client API execution unit 12, a client API calling unit 13, and a client API processing inquiry unit 14.

また、APIの登録とAPIの呼び出しの受け付けとをそれぞれ別個のWebサーバ2で行うようにしてもよい。   Alternatively, API registration and API call reception may be performed by separate Web servers 2.

また、上述した端末1−1、1−2、Webサーバ2を実現するためのコンピュータプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行するようにしてもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものであってもよい。   Further, a computer program for realizing the above-described terminals 1-1, 1-2, and Web server 2 is recorded on a computer-readable recording medium, and the program recorded on the recording medium is read into a computer system, You may make it perform. Here, the “computer system” may include an OS and hardware such as peripheral devices.

また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、フラッシュメモリ等の書き込み可能な不揮発性メモリ、DVD(Digital Versatile Disk)等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。   “Computer-readable recording medium” refers to a flexible disk, a magneto-optical disk, a ROM, a writable nonvolatile memory such as a flash memory, a portable medium such as a DVD (Digital Versatile Disk), and a built-in computer system. A storage device such as a hard disk.

さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムが送信された場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリ(例えばDRAM(Dynamic Random Access Memory))のように、一定時間プログラムを保持しているものも含むものとする。
また、上記プログラムは、このプログラムを記憶装置等に格納したコンピュータシステムから、伝送媒体を介して、あるいは、伝送媒体中の伝送波により他のコンピュータシステムに伝送されてもよい。ここで、プログラムを伝送する「伝送媒体」は、インターネット等のネットワーク(通信網)や電話回線等の通信回線(通信線)のように情報を伝送する機能を有する媒体のことをいう。
また、上記プログラムは、前述した機能の一部を実現するためのものであっても良い。さらに、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であっても良い。
Further, the “computer-readable recording medium” means a volatile memory (for example, DRAM (Dynamic DRAM) in a computer system that becomes a server or a client when a program is transmitted through a network such as the Internet or a communication line such as a telephone line. Random Access Memory)), etc., which hold programs for a certain period of time.
The program may be transmitted from a computer system storing the program in a storage device or the like to another computer system via a transmission medium or by a transmission wave in the transmission medium. Here, the “transmission medium” for transmitting the program refers to a medium having a function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line.
The program may be for realizing a part of the functions described above. Furthermore, what can implement | achieve the function mentioned above in combination with the program already recorded on the computer system, and what is called a difference file (difference program) may be sufficient.

1−1,1−2…端末(端末装置)、2…Webサーバ(サーバ装置)、11…クライアントAPI登録部(端末アプリケーション登録部)、12…クライアントAPI実行部(端末アプリケーション実行部)、13…クライアントAPI呼び出し部(端末アプリケーション呼び出し部)、14…クライアントAPI処理問い合わせ部、21…クライアントAPI登録・URL生成部(アプリケーション登録部、URL生成部)、22…APIDB(アプリケーションデータベース)、23…クライアントAPI列挙部、24…クライアントAPI待ち受け部、25…クライアントAPIアクセス部(端末アプリケーションアクセス部)、40…通信コネクション 1-1, 1-2 ... terminal (terminal device), 2 ... Web server (server device), 11 ... client API registration unit (terminal application registration unit), 12 ... client API execution unit (terminal application execution unit), 13 ... Client API calling unit (terminal application calling unit), 14 ... Client API processing inquiry unit, 21 ... Client API registration / URL generation unit (application registration unit, URL generation unit), 22 ... APIDB (application database), 23 ... Client API enumeration unit, 24 ... client API waiting unit, 25 ... client API access unit (terminal application access unit), 40 ... communication connection

Claims (9)

アプリケーション登録情報を記憶するアプリケーションデータベースと、
端末装置からのアプリケーション登録要求に応じてアプリケーション登録情報を前記アプリケーションデータベースへ格納するアプリケーション登録部と、
端末装置からのアプリケーション呼び出し要求に応じて前記アプリケーションデータベースから該当するアプリケーション登録情報を取得し、アプリケーション登録要求元の端末装置に対してアプリケーションの呼び出しを行い、該呼び出したアプリケーションとアプリケーション呼び出し要求元の端末装置との間の情報の転送を行う端末アプリケーションアクセス部と、を備え
前記アプリケーション登録要求に応じて前記アプリケーションデータベースに格納されるアプリケーション登録情報は、アプリケーションが処理可能なデータの情報を含み、
端末装置からの利用可能なアプリケーションの問い合わせに応じて、該問い合わせの処理対象のデータの情報に該当するアプリケーション登録情報を前記アプリケーションデータベースから取得して当該問い合わせ元の端末装置に返信するアプリケーション列挙部、
をさらに備えるサーバ装置。
An application database for storing application registration information;
An application registration unit that stores application registration information in the application database in response to an application registration request from a terminal device;
Applicable application registration information is acquired from the application database in response to an application call request from the terminal device, the application is called to the application registration request source terminal device, and the called application and the application call request source terminal A terminal application access unit for transferring information to and from the device ,
Application registration information stored in the application database in response to the application registration request includes information on data that can be processed by the application,
In response to an inquiry of an application that can be used from a terminal device, an application enumeration unit that acquires application registration information corresponding to information on data to be processed of the inquiry from the application database and returns the application registration information to the inquiry source terminal device,
A server device further comprising:
前記アプリケーション登録情報に対するアクセスURLを生成するURL生成部を備えたことを特徴とする請求項1に記載のサーバ装置。   The server apparatus according to claim 1, further comprising a URL generation unit that generates an access URL for the application registration information. 前記端末装置からのアプリケーション登録要求時の通信コネクションを維持し、前記アプリケーションの呼び出しの際に該通信コネクションを利用することを特徴とする請求項1又は2に記載のサーバ装置。   The server apparatus according to claim 1, wherein a communication connection at the time of an application registration request from the terminal apparatus is maintained, and the communication connection is used when the application is called. 前記端末装置からのアプリケーション登録要求時の通信コネクションを切断し、前記アプリケーションの呼び出しの際に再度、通信コネクションを確立することを特徴とする請求項1又は2に記載のサーバ装置。   3. The server device according to claim 1, wherein the communication connection at the time of an application registration request from the terminal device is disconnected, and the communication connection is established again at the time of calling the application. アプリケーション登録情報を記憶し、該アプリケーション登録情報に基づいて呼び出したアプリケーションとアプリケーション呼び出し要求元の端末装置との間の情報の転送を行うサーバ装置と通信する端末装置であり、
前記サーバ装置に対してアプリケーションの呼び出し要求を行い、前記サーバ装置を介して呼び出されたアプリケーションとの間で情報を送受する端末アプリケーション呼び出し部と、
処理対象のデータの情報を前記サーバ装置に送信して利用可能なアプリケーションの問い合わせを行い、前記サーバ装置から取得したアプリケーション登録情報に基づいてアプリケーションを選択し、選択したアプリケーションの呼び出しを前記端末アプリケーション呼び出し部に要求するアプリケーション問い合わせ部と、
を備えたことを特徴とする端末装置。
A terminal device that stores application registration information and communicates with a server device that transfers information between an application called based on the application registration information and a terminal device that is an application call request source,
A terminal application calling unit that performs an application call request to the server device, and transmits and receives information to and from the application called through the server device ;
Inquires about available applications by sending information on data to be processed to the server device, selects an application based on application registration information acquired from the server device, and calls the selected application to call the terminal application Application inquiries to request from the department,
A terminal device comprising:
アプリケーション登録情報を記憶するアプリケーションデータベースを有するサーバ装置における通信方法であり、
端末装置からのアプリケーション登録要求に応じてアプリケーション登録情報を前記アプリケーションデータベースへ格納するアプリケーション登録ステップと、
端末装置からのアプリケーション呼び出し要求に応じて前記アプリケーションデータベースから該当するアプリケーション登録情報を取得し、アプリケーション登録要求元の端末装置に対してアプリケーションの呼び出しを行い、該呼び出したアプリケーションとアプリケーション呼び出し要求元の端末装置との間の情報の転送を行う端末アプリケーションアクセスステップと、を含み、
前記アプリケーション登録要求に応じて前記アプリケーションデータベースに格納されるアプリケーション登録情報は、アプリケーションが処理可能なデータの情報を含み、
端末装置からの利用可能なアプリケーションの問い合わせに応じて、該問い合わせの処理対象のデータの情報に該当するアプリケーション登録情報を前記アプリケーションデータベースから取得して当該問い合わせ元の端末装置に返信するステップ、
をさらに含む通信方法。
A communication method in a server device having an application database for storing application registration information,
An application registration step of storing application registration information in the application database in response to an application registration request from a terminal device;
Applicable application registration information is acquired from the application database in response to an application call request from the terminal device, the application is called to the application registration request source terminal device, and the called application and the application call request source terminal and a terminal application access steps for transferring information between the device seen including,
Application registration information stored in the application database in response to the application registration request includes information on data that can be processed by the application,
In response to an inquiry of an available application from the terminal device, obtaining application registration information corresponding to information on the data to be processed of the inquiry from the application database and returning the application registration information to the inquiry source terminal device;
A communication method further comprising :
アプリケーション登録情報を記憶し、該アプリケーション登録情報に基づいて呼び出したアプリケーションとアプリケーション呼び出し要求元の端末装置との間の情報の転送を行うサーバ装置と通信する端末装置における通信方法であり、
前記サーバ装置に対してアプリケーションの呼び出し要求を行い、前記サーバ装置を介して呼び出されたアプリケーションとの間で情報を送受する端末アプリケーション呼び出しステップと、
処理対象のデータの情報を前記サーバ装置に送信して利用可能なアプリケーションの問い合わせを行い、前記サーバ装置から取得したアプリケーション登録情報に基づいてアプリケーションを選択し、選択したアプリケーションの呼び出しを前記端末アプリケーション呼び出しステップに要求するアプリケーション問い合わせステップと、
を含むことを特徴とする通信方法。
It is a communication method in a terminal device that stores application registration information and communicates with a server device that transfers information between an application called based on the application registration information and a terminal device that is an application call request source,
A terminal application calling step for performing an application call request to the server device and transmitting / receiving information to / from the application called via the server device ;
Inquires about available applications by sending information on data to be processed to the server device, selects an application based on application registration information acquired from the server device, and calls the selected application to call the terminal application An application inquiry step that requests the step;
A communication method comprising:
アプリケーション登録情報を記憶するアプリケーションデータベースを有するサーバ装置のコンピュータに、
端末装置からのアプリケーション登録要求に応じてアプリケーション登録情報を前記アプリケーションデータベースへ格納するアプリケーション登録ステップと、
端末装置からのアプリケーション呼び出し要求に応じて前記アプリケーションデータベースから該当するアプリケーション登録情報を取得し、アプリケーション登録要求元の端末装置に対してアプリケーションの呼び出しを行い、該呼び出したアプリケーションとアプリケーション呼び出し要求元の端末装置との間の情報の転送を行う端末アプリケーションアクセスステップと、を実行させるためのコンピュータプログラムであり、
前記アプリケーション登録要求に応じて前記アプリケーションデータベースに格納されるアプリケーション登録情報は、アプリケーションが処理可能なデータの情報を含み、
端末装置からの利用可能なアプリケーションの問い合わせに応じて、該問い合わせの処理対象のデータの情報に該当するアプリケーション登録情報を前記アプリケーションデータベースから取得して当該問い合わせ元の端末装置に返信するステップ、
をさらに実行させるためのコンピュータプログラム。
In a computer of a server device having an application database for storing application registration information,
An application registration step of storing application registration information in the application database in response to an application registration request from a terminal device;
Applicable application registration information is acquired from the application database in response to an application call request from the terminal device, the application is called to the application registration request source terminal device, and the called application and the application call request source terminal A terminal application access step for transferring information to and from the device, and a computer program for executing
Application registration information stored in the application database in response to the application registration request includes information on data that can be processed by the application,
In response to an inquiry of an available application from the terminal device, obtaining application registration information corresponding to information on the data to be processed of the inquiry from the application database and returning the application registration information to the inquiry source terminal device;
A computer program for further execution.
アプリケーション登録情報を記憶し、該アプリケーション登録情報に基づいて呼び出したアプリケーションとアプリケーション呼び出し要求元の端末装置との間の情報の転送を行うサーバ装置と通信する端末装置のコンピュータに、
前記サーバ装置に対してアプリケーションの呼び出し要求を行い、前記サーバ装置を介して呼び出されたアプリケーションとの間で情報を送受する端末アプリケーション呼び出しステップと、
処理対象のデータの情報を前記サーバ装置に送信して利用可能なアプリケーションの問い合わせを行い、前記サーバ装置から取得したアプリケーション登録情報に基づいてアプリケーションを選択し、選択したアプリケーションの呼び出しを前記端末アプリケーション呼び出し部に要求するアプリケーション問い合わせステップと、
を実行させるためのコンピュータプログラム。
In the computer of the terminal device that stores the application registration information and communicates with the server device that transfers information between the application called based on the application registration information and the terminal device of the application call request source,
A terminal application calling step for performing an application call request to the server device and transmitting / receiving information to / from the application called via the server device ;
Inquires about available applications by sending information on data to be processed to the server device, selects an application based on application registration information acquired from the server device, and calls the selected application to call the terminal application Application inquiry request to the department,
A computer program for running.
JP2013205129A 2013-09-30 2013-09-30 Server device, terminal device, communication method, and computer program Active JP6158667B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013205129A JP6158667B2 (en) 2013-09-30 2013-09-30 Server device, terminal device, communication method, and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013205129A JP6158667B2 (en) 2013-09-30 2013-09-30 Server device, terminal device, communication method, and computer program

Publications (2)

Publication Number Publication Date
JP2015069547A JP2015069547A (en) 2015-04-13
JP6158667B2 true JP6158667B2 (en) 2017-07-05

Family

ID=52836107

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013205129A Active JP6158667B2 (en) 2013-09-30 2013-09-30 Server device, terminal device, communication method, and computer program

Country Status (1)

Country Link
JP (1) JP6158667B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110569299B (en) * 2018-01-29 2023-04-18 北京数聚鑫云信息技术有限公司 Management system and management method based on API
CN113728311A (en) * 2019-04-26 2021-11-30 三菱电机株式会社 Data processing device, data processing method, and program

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1196099A (en) * 1997-09-19 1999-04-09 Hitachi Ltd Service providing system
JP4208185B2 (en) * 2003-08-01 2009-01-14 日立ソフトウエアエンジニアリング株式会社 Method and apparatus for converting existing web application to web service
JP4285655B2 (en) * 2005-07-19 2009-06-24 インターナショナル・ビジネス・マシーンズ・コーポレーション Method, apparatus, and program for providing Web service
US8099709B2 (en) * 2006-04-28 2012-01-17 Sap Ag Method and system for generating and employing a dynamic web services interface model
JP2008233991A (en) * 2007-03-16 2008-10-02 Fujitsu Ltd Method for controlling lending between radio terminals
JP2011150440A (en) * 2010-01-20 2011-08-04 Yusuke Nagano Url information distribution system and method, and computer program
JP2011238073A (en) * 2010-05-11 2011-11-24 Csk Corp Server group integrated management system
JP5837795B2 (en) * 2011-10-21 2015-12-24 株式会社コナミデジタルエンタテインメント Management device

Also Published As

Publication number Publication date
JP2015069547A (en) 2015-04-13

Similar Documents

Publication Publication Date Title
JP7074774B2 (en) Service discovery method, registration center, and device
US20190339846A1 (en) Information processing terminal and control method
US9146731B2 (en) Information processing apparatus, relay server, information relay method, non-transitory computer-readable medium storing information relay program, and communication system
JP3704533B2 (en) COMMUNICATION METHOD, PORTABLE TERMINAL DEVICE, AND COMPUTER DEVICE
US20130198266A1 (en) Facilitating communication between web-enabled devices
JP7028117B2 (en) Information processing system, information processing device, information processing method and program
JP2014078220A (en) Information processing system, information processor and program
JP6966675B2 (en) Transmission and display of screen content
WO2018084033A1 (en) Shared device, operation control program, and operation control method
US20140372528A1 (en) Information processing system, information processing apparatus, and recording medium
CN109474646B (en) Communication connection method, device, system and storage medium
KR20130028316A (en) Remote access device and method for device in home network
US20150026233A1 (en) Information processing terminal and control method therefor
JP2011109258A (en) Information communication system, information retrieval server, information retrieval program, communication device, and request source communication device
JP6158667B2 (en) Server device, terminal device, communication method, and computer program
JP6405831B2 (en) Information processing apparatus, communication system, and program
JP5637115B2 (en) Network storage system, data operation method in network storage system, and storage device
CN108462731B (en) Data proxy method and device and electronic equipment
JP4157544B2 (en) Communication method and portable terminal device
JP6324094B2 (en) Information processing terminal, information processing terminal control method, and program
US10079873B2 (en) Information processing apparatus and method
US9485801B1 (en) Mobile communication device connected to home digital network
JP6487278B2 (en) Communication terminal, communication method and program
JP6169543B2 (en) Remote control system and remote control method
JP6998746B2 (en) Communication device, notification device, relay device, communication system, control method of each device, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160127

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20160128

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160829

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20161004

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161205

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20161206

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170608

R150 Certificate of patent or registration of utility model

Ref document number: 6158667

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150