JP5887231B2 - COMMUNICATION TERMINAL DEVICE, MESSAGE DISTRIBUTION SYSTEM, AND COMMUNICATION METHOD - Google Patents

COMMUNICATION TERMINAL DEVICE, MESSAGE DISTRIBUTION SYSTEM, AND COMMUNICATION METHOD Download PDF

Info

Publication number
JP5887231B2
JP5887231B2 JP2012196312A JP2012196312A JP5887231B2 JP 5887231 B2 JP5887231 B2 JP 5887231B2 JP 2012196312 A JP2012196312 A JP 2012196312A JP 2012196312 A JP2012196312 A JP 2012196312A JP 5887231 B2 JP5887231 B2 JP 5887231B2
Authority
JP
Japan
Prior art keywords
maintenance interval
connection maintenance
communication
connection
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.)
Expired - Fee Related
Application number
JP2012196312A
Other languages
Japanese (ja)
Other versions
JP2014053732A (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.)
Hitachi Solutions Ltd
Original Assignee
Hitachi Solutions 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 Hitachi Solutions Ltd filed Critical Hitachi Solutions Ltd
Priority to JP2012196312A priority Critical patent/JP5887231B2/en
Publication of JP2014053732A publication Critical patent/JP2014053732A/en
Application granted granted Critical
Publication of JP5887231B2 publication Critical patent/JP5887231B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Description

本発明は、通信端末装置、メッセージ配信システム、及び通信方法に関し、例えば、WebSocketプロトコルを利用したプッシュ配信に関するものである。   The present invention relates to a communication terminal device, a message distribution system, and a communication method, for example, push distribution using a WebSocket protocol.

サーバからクライアント端末に、メッセージをプッシュ配信する方法として、SMS方式、WebSocket方式などがある。SMS方式については、例えば、特許文献1や非特許文献1に開示されている。   As a method for push-distributing a message from a server to a client terminal, there are an SMS method, a WebSocket method, and the like. The SMS method is disclosed in, for example, Patent Document 1 and Non-Patent Document 1.

一方、WebSocket方式は、非特許文献2に、IETFによりRFC6455として開示されている。WebSocket方式の規格策定時期は、2011年12月と比較的新しい。   On the other hand, the WebSocket method is disclosed in NPL 2 as RFC 6455 by IETF. The standard development time for the WebSocket method is relatively new as of December 2011.

一般にSMSは非特許文献1にあるように、通信事業者が提供するものであり、電話回線契約が必要であるため一般に料金が高い。一方、WebSocket方式は、電話回線契約が不要で、パケット通信費用のみであるためSMSに比べ低額である。この点で、WebSocket方式が注目されている。WebSocketは、接続を、通信を行う2者間で維持することを特徴とする方式である。例えば、WebSocket方式では、クライアント端末側からの接続要求に応じてサーバとの間で接続が確立され、その後サーバからのプッシュ配信が可能となる。   Generally, SMS is provided by a telecommunications carrier, as described in Non-Patent Document 1, and generally requires a telephone line contract, so the fee is high. On the other hand, the WebSocket method is less expensive than SMS because it does not require a telephone line contract and only costs packet communication. In this respect, the WebSocket method has attracted attention. WebSocket is a method characterized by maintaining a connection between two parties performing communication. For example, in the WebSocket method, a connection is established with a server in response to a connection request from the client terminal side, and then push distribution from the server becomes possible.

プッシュ型配信方式においては、必ずしも即時性が保証されているわけではない。このため、サーバ側から移動体に設置したクライアント端末に対して、即時性のあるメッセージ送信が望まれる。即時性のあるメッセージを送るには、第1に接続を維持すること、第2に予期せぬ切断が発生しても即座に切断検知し、接続を再度行うこと、が必要である。   In the push delivery system, immediacy is not necessarily guaranteed. For this reason, immediate message transmission is desired from the server side to the client terminal installed in the mobile body. In order to send an immediate message, it is necessary to first maintain the connection, and secondly, to detect the disconnection immediately even if an unexpected disconnection occurs, and to connect again.

第1の要件に関し、メッセージ送信の際に経由するネットワーク装置の中には、非特許文献3に示すように、負荷軽減のため、無通信状態が一定時間に達すると切断を行うというアイドル切断の機能を備えているものがある。このような無通信状態継続による切断を防ぐため、送るべきメッセージが無くても無通信状態が一定時間経過すると接続維持のための接続維持信号を送付する。   Regarding the first requirement, some of the network devices that are used for message transmission, as shown in Non-Patent Document 3, have an idle disconnection that disconnects when a non-communication state reaches a certain time for reducing the load. Some have a function. In order to prevent such disconnection due to continuation of the no-communication state, a connection maintenance signal for maintaining the connection is sent when the no-communication state elapses for a fixed time even if there is no message to be sent.

第2の要件に関し、携帯電話回線上で利用する場合、電波不良のため、上記ネットワーク装置のアイドル切断の通知などを受け取れず、クライアントが切断に気付かないことが考えられる。また、携帯回線やWifiといったネットワーク種別変更に伴う切断にクラアイントが気付かないことが考えられる。当該課題に対する解決策として、接続維持信号に対する応答が一定期間無い場合に接続を切断する再送タイマを設ける方法がある。   Regarding the second requirement, when used on a mobile phone line, it is conceivable that the notification of disconnection of the network device is not received because the radio wave is poor, and the client does not notice the disconnection. In addition, it is conceivable that the client is not aware of the disconnection associated with the network type change such as the mobile line or the WiFi. As a solution to the problem, there is a method of providing a retransmission timer that disconnects the connection when there is no response to the connection maintenance signal for a certain period.

特開2002−111790号公報JP 2002-111790 A

http://www.jpo.go.jp/shiryou/s_sonota/hyoujun_gijutsu/keitai/3-1-1.pdfhttp://www.jpo.go.jp/shiryou/s_sonota/hyoujun_gijutsu/keitai/3-1-1.pdf http://tools.ietf.org/html/rfc6455http://tools.ietf.org/html/rfc6455 http://www.hitachi.co.jp/Prod/comp/soft1/manual/cosmi/v0870/APKC/EU070179.HTMhttp://www.hitachi.co.jp/Prod/comp/soft1/manual/cosmi/v0870/APKC/EU070179.HTM

しかしながら、上述のような即時性のあるメッセージサービスを提供するプッシュ通信システムを開発するには、非常に多くの作業量が必要となってしまう。特に、次の3つ事項に関する作業量が課題である。   However, a very large amount of work is required to develop a push communication system that provides an immediate message service as described above. In particular, the amount of work related to the following three items is an issue.

(i)接続維持間隔の調査
顧客間で、又は同一顧客によって利用されているシステムにおいて、携帯回線またはWifi回線といったクライアント端末直結ネットワーク及びクラウド基盤網といったネットワーク構成要素のうち何れか1つでも変更されると、システム開発者は、その都度システム全体の接続維持間隔を調べ直す必要がある。ここで、基幹回線網(バックボーン)に関しては、上記要素より短いアイドルタイムアウトを設定している情報は公開されていないため、無いものとみなとして省略する。また、クラウド基盤を公開するためのインターネットサービスプロバイダ網もネットワーク構成要素の1つであるが、以降の実施形態の説明では、簡単のため省略するものとする。
(I) Connection maintenance interval survey In a system used between customers or by the same customer, any one of network components such as a client terminal direct connection network such as a mobile line or a WiFi line and a cloud infrastructure network is changed. Then, the system developer needs to reexamine the connection maintenance interval of the entire system each time. Here, regarding the backbone network (backbone), since information that sets an idle timeout shorter than the above elements is not disclosed, it is assumed that there is no information. An Internet service provider network for publishing the cloud infrastructure is also one of the network components. However, in the following description of the embodiments, it will be omitted for simplicity.

また、顧客の即時性(最大不通時間)要望値が変更された場合も、開発者は、その都度システム全体の接続維持間隔を調べ直す必要がある。   In addition, when the customer's immediacy (maximum downtime) desired value is changed, the developer needs to reexamine the connection maintenance interval of the entire system each time.

(ii)動的変更への対応
複数ネットワーク種別混在環境では、ネットワーク種別動的変更に対応できない。
(Ii) Response to dynamic change In an environment where multiple network types are mixed, network type dynamic change cannot be supported.

(iii)接続維持間隔の調査
特に、顧客の求める最大不通時間(即時性)に適合する接続維持間隔を調べるのに手間が掛かってしまう。
(Iii) Investigation of connection maintenance interval In particular, it takes time and effort to find a connection maintenance interval that matches the maximum interruption time (immediateness) required by the customer.

本発明はこのような状況に鑑みてなされたのであり、即時性のあるサービスを提供するプッシュ通信システムの開発に掛かる作業を軽減するための技術を提供するものである。   The present invention has been made in view of such circumstances, and provides a technique for reducing the work involved in the development of a push communication system that provides an immediate service.

上記課題を解決するために、本発明では、サーバ装置(配信装置)と通信端末装置(クライアント端末装置)との間で、WebSocketプロトコルを用いた、メッセージプッシュ配信が行われる。この通信においては、通信端末装置からサーバ装置に対しては、WebSocket接続維持のための信号が定期的に送信される。ここで、通信端末装置は、メモリに、少なくとも、携帯電話通信キャリア別の接続維持間隔情報と、クラウド基盤別の接続維持間隔情報と、利用者が利用するネットワークの構成要素を示す利用ネットワーク構成情報と、を保持している。そして、通信端末装置は、利用ネットワーク構成情報に基づいて、利用者が現在利用している携帯電話通信キャリアの接続維持間隔及びクラウド基盤の接続維持間隔を特定する接続維持間隔特定処理と、当該特定した携帯電話通信キャリアの接続維持間隔とクラウド基盤の接続維持間隔の何れが最小かを判定する最小接続維持間隔判定処理と、最小の接続維持間隔を用いてサーバ装置との通信接続を確立する接続確立処理と、を実行する。ここで、携帯電話通信キャリア別の接続維持間隔情報及びクラウド基盤別の接続維持間隔情報は書き換え不要の固定の情報であり、利用ネットワーク構成情報は利用者毎に設定される情報である。   In order to solve the above-described problem, in the present invention, message push delivery using the WebSocket protocol is performed between a server device (distribution device) and a communication terminal device (client terminal device). In this communication, a signal for maintaining the WebSocket connection is periodically transmitted from the communication terminal device to the server device. Here, the communication terminal device stores, in the memory, at least connection maintenance interval information for each mobile phone communication carrier, connection maintenance interval information for each cloud platform, and use network configuration information indicating network components used by the user. And hold. Then, the communication terminal device, based on the use network configuration information, the connection maintenance interval specifying process for specifying the connection maintenance interval of the mobile phone communication carrier currently used by the user and the connection maintenance interval of the cloud infrastructure, and the specification The minimum connection maintenance interval determination processing for determining which of the connection maintenance interval of the mobile phone communication carrier and the connection maintenance interval of the cloud infrastructure is the minimum, and the connection for establishing the communication connection with the server device using the minimum connection maintenance interval The establishment process is executed. Here, the connection maintenance interval information for each mobile phone communication carrier and the connection maintenance interval information for each cloud platform are fixed information that does not need to be rewritten, and the use network configuration information is information set for each user.

本発明によれば、即時性のあるサービスを提供するプッシュ通信システムの開発に掛かる作業を軽減することが可能となる。   According to the present invention, it is possible to reduce the work involved in developing a push communication system that provides an immediate service.

本発明に関連する更なる特徴は、本明細書の記述、添付図面から明らかになるものである。また、本発明の態様は、要素及び多様な要素の組み合わせ及び以降の詳細な記述と添付される特許請求の範囲の様態により達成され実現される。   Further features related to the present invention will become apparent from the description of the present specification and the accompanying drawings. The embodiments of the present invention can be achieved and realized by elements and combinations of various elements and the following detailed description and appended claims.

本明細書の記述は典型的な例示に過ぎず、本発明の特許請求の範囲又は適用例を如何なる意味に於いても限定するものではないことを理解する必要がある。   It should be understood that the description herein is merely exemplary and is not intended to limit the scope of the claims or the application of the invention in any way.

本発明の第1の実施形態を適用する場面を示す図である。It is a figure which shows the scene where the 1st Embodiment of this invention is applied. 本発明の第1の実施形態による配信システム概略構成を示す図である。It is a figure which shows schematic structure of the delivery system by the 1st Embodiment of this invention. WebSocketサーバ側通信部23Cの機能構成を示す図である。It is a figure which shows the function structure of 23C of WebSocket server side communication parts. WebSocketクライアント側通信部33Bの機能構成を示す図である。It is a figure which shows the function structure of the WebSocket client side communication part 33B. 携帯回線接続先テーブル33B100の構成例を示す図である。It is a figure which shows the structural example of portable line connection destination table 33B100. Wifi接続先テーブル33B101の構成例を示す図である。It is a figure which shows the structural example of WiFi connection destination table 33B101. 携帯キャリア別接続維持間隔テーブル33B202の構成例を示す図である。It is a figure which shows the structural example of the connection maintenance space | interval table 33B202 classified by mobile carrier. Wifi接続維持間隔テーブル33B203の構成例を示す図である。It is a figure which shows the structural example of WiFi connection maintenance space | interval table 33B203. クラウド基盤別接続維持間隔テーブル33B204の構成例を示す図である。It is a figure which shows the structural example of the connection maintenance space | interval table 33B204 classified by cloud infrastructure. 最大接続維持間隔テーブル33B205の構成例を示す図である。It is a figure which shows the structural example of the largest connection maintenance space | interval table 33B205. 接続維持再送間隔テーブル33B206の構成例を示す図である。It is a figure which shows the structural example of the connection maintenance retransmission interval table 33B206. 接続維持再送回数テーブル33B207の構成例を示す図である。It is a figure which shows the structural example of the connection maintenance retransmission frequency table 33B207. 利用ネットワーク構成要素指定テーブル33B208の構成例を示すである。It is an example of a structure of utilization network component designation | designated table 33B208. 第1の実施形態によるクライアント端末装置3の接続処理を説明するためのフローチャートである。It is a flowchart for demonstrating the connection process of the client terminal device 3 by 1st Embodiment. 第1の実施形態による、接続中の接続信号送付処理を説明するためのフローチャートである。It is a flowchart for demonstrating the connection signal sending process in connection by 1st Embodiment. 第1の実施形態による、接続中に切断が起こった場合の再接続処理を説明するためのフローチャートである。It is a flowchart for demonstrating the reconnection process when a disconnection occurs during the connection by 1st Embodiment. 本発明の実施形態におけるシステムにおいて開発が必要な要素を示す図である。It is a figure which shows the element which needs development in the system in embodiment of this invention. サーバ(配信装置2)側で実行されるメッセージ送信処理を説明するためのフローチャートである。It is a flowchart for demonstrating the message transmission process performed by the server (distribution apparatus 2) side. 管理者端末装置1の表示部に表示される設定画面(GUI)の例を示す図である。4 is a diagram illustrating an example of a setting screen (GUI) displayed on a display unit of the administrator terminal device 1. FIG. 第2の実施形態の適用場面を示すための模式図である。It is a schematic diagram for showing the application scene of 2nd Embodiment. 本発明の第2の実施形態による配信システムの概略構成を示す図である。It is a figure which shows schematic structure of the delivery system by the 2nd Embodiment of this invention. 第2の実施形態による、クライアント端末装置3が実行する接続処理を説明するためのフローチャートである。It is a flowchart for demonstrating the connection process which the client terminal device 3 performs by 2nd Embodiment. 第3の実施形態による、WebSocketクライアント側通信部33Bの内部構成を示す図である。It is a figure which shows the internal structure of the websocket client side communication part 33B by 3rd Embodiment. 第3の実施形態による、クライアント端末装置が実行する接続処理を説明するためのフローチャートである。It is a flowchart for demonstrating the connection process which a client terminal device performs by 3rd Embodiment.

本発明は、例えば、WebSocketプロトコルを利用したプッシュ配信システムの開発に掛かる作業量を軽減するための技術を提供する。   The present invention provides a technique for reducing the amount of work required for development of a push delivery system using, for example, a WebSocket protocol.

本発明の各実施形態は、顧客間または同一顧客が利用しているネットワーク環境において、システム構成要素が変わった場合でもシステム全体の接続維持間隔を、全てのシステム構成要素について調べ直すことを不要とするものである。また、各実施形態は、電波が良好でない環境を含め、顧客の要望する時間内に即時性を確保するための作業量も軽減することである。   Each embodiment of the present invention eliminates the need to reexamine the connection maintenance interval of the entire system for all system components even when the system components change in a network environment between customers or used by the same customer. To do. In addition, each embodiment is to reduce the amount of work for ensuring immediacy within the time requested by the customer including an environment where radio waves are not good.

以下、添付図面を参照して本発明の実施形態について説明する。添付図面では、機能的に同じ要素は同じ番号で表示される場合もある。なお、添付図面は本発明の原理に則った具体的な実施形態と実装例を示しているが、これらは本発明の理解のためのものであり、決して本発明を限定的に解釈するために用いられるものではない。   Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In the accompanying drawings, functionally identical elements may be denoted by the same numbers. The attached drawings show specific embodiments and implementation examples based on the principle of the present invention, but these are for understanding the present invention and are not intended to limit the present invention. Not used.

本実施形態では、当業者が本発明を実施するのに十分詳細にその説明がなされているが、他の実装・形態も可能で、本発明の技術的思想の範囲と精神を逸脱することなく構成・構造の変更や多様な要素の置き換えが可能であることを理解する必要がある。従って、以降の記述をこれに限定して解釈してはならない。   This embodiment has been described in sufficient detail for those skilled in the art to practice the present invention, but other implementations and configurations are possible without departing from the scope and spirit of the technical idea of the present invention. It is necessary to understand that the configuration and structure can be changed and various elements can be replaced. Therefore, the following description should not be interpreted as being limited to this.

更に、本発明の実施形態は、後述されるように、汎用コンピュータ上で稼動するソフトウェアで実装しても良いし専用ハードウェア又はソフトウェアとハードウェアの組み合わせで実装しても良い。   Furthermore, as will be described later, the embodiment of the present invention may be implemented by software running on a general-purpose computer, or may be implemented by dedicated hardware or a combination of software and hardware.

以後の説明では「テーブル」によって本発明の各情報について説明するが、これら情報は必ずしもテーブルによるデータ構造で表現されていなくても良く、リスト、DB、キュー等のデータ構造やそれ以外で表現されていても良い。そのため、データ構造に依存しないことを示すために「テーブル」、「リスト」、「DB」、「キュー」等について単に「情報」と呼ぶことがある。   In the following explanation, each information of the present invention will be explained by “table”. However, these information may not necessarily be represented by a data structure of a table, but may be represented by a data structure such as a list, a DB, a queue, or the like. May be. Therefore, “table”, “list”, “DB”, “queue”, etc. may be simply referred to as “information” to indicate that they do not depend on the data structure.

また、各情報の内容を説明する際に、「識別情報」、「識別子」、「名」、「名前」、「ID」という表現を用いることが可能であり、これらについてはお互いに置換が可能である。   In addition, when explaining the contents of each information, the expressions “identification information”, “identifier”, “name”, “name”, “ID” can be used, and these can be replaced with each other. It is.

以下では「・・・部」を主語(動作主体)として本発明の実施形態における各処理について説明を行うが、各「・・・部」はプログラムによって構成するようにしても良い。この場合、プログラムはプロセッサによって実行されることで定められた処理をメモリ及び通信ポート(通信制御装置)を用いながら行うため、プロセッサを動作主体として説明してもよい。また、プログラムを主語として開示された処理は管理サーバ等の計算機、情報処理装置が行う処理としてもよい。プログラムの一部または全ては専用ハードウェアで実現してもよく、また、モジュール化されていても良い。各種プログラムはプログラム配布サーバや記憶メディアによって各計算機にインストールされてもよい。   In the following, each process in the embodiment of the present invention will be described with “... Part” as a subject (operation subject), but each “... Part” may be configured by a program. In this case, since the program performs processing determined by being executed by the processor using the memory and the communication port (communication control device), the processor may be described as the operation subject. Further, the processing disclosed with the program as the subject may be processing performed by a computer such as a management server or an information processing apparatus. Part or all of the program may be realized by dedicated hardware, or may be modularized. Various programs may be installed in each computer by a program distribution server or a storage medium.

(1)第1の実施形態
第1の実施形態は、ネットワーク構成要素の静的な変更への対応を軽減するためのものである。
(1) 1st Embodiment 1st Embodiment is for reducing the response | compatibility to the static change of a network component.

<適用場面>
図1は、第1の実施形態を適用する場面を示す図である。図1A乃至Cは、それぞれ、携帯キャリアAのみを利用する場合、携帯キャリアBのみを利用する場合、顧客構内でWifi網のみを利用する場合の模式図である。上述のとおり、顧客間で、又は同一顧客によって利用されているシステムでは、このようなネットワーク構成要素は、変更されることがあり得る。
<Application scene>
FIG. 1 is a diagram illustrating a scene in which the first embodiment is applied. FIGS. 1A to 1C are schematic diagrams respectively when only the mobile carrier A is used, when only the mobile carrier B is used, and only the WiFi network is used on the customer premises. As mentioned above, in a system that is utilized between customers or by the same customer, such network components may change.

図1Aによる場面では、管理者端末装置1は、インターネット4を介して配信装置2と接続されている。また、配信装置2は、インターネット4及び携帯キャリアA網102を介して移動体101の中のクライアント端末装置3と接続されている。この移動体101の中のクライアント端末装置3は、顧客α構内103または顧客α構外104にあり、配信装置2と携帯キャリアA網102を使って通信する。   In the scene according to FIG. 1A, the administrator terminal device 1 is connected to the distribution device 2 via the Internet 4. The distribution apparatus 2 is connected to the client terminal apparatus 3 in the mobile body 101 via the Internet 4 and the mobile carrier A network 102. The client terminal device 3 in the mobile body 101 is located in the customer α premises 103 or the customer α premises 104 and communicates with the distribution device 2 using the mobile carrier A network 102.

図1Bによる場面では、管理者端末装置1は、インターネット4を介して配信装置2と接続されている。また、配信装置2は、インターネット4及び携帯キャリアB網105を介して移動体101の中のクライアント端末装置3と接続されている。この移動体101の中のクライアント端末装置3は、顧客β構内106または顧客β構外107にあり、配信装置2と携帯キャリアB網105を使って通信する。   In the scene according to FIG. 1B, the administrator terminal device 1 is connected to the distribution device 2 via the Internet 4. The distribution device 2 is connected to the client terminal device 3 in the mobile body 101 via the Internet 4 and the mobile carrier B network 105. The client terminal device 3 in the mobile body 101 is in the customer β premises 106 or the customer β premises 107 and communicates with the distribution device 2 using the mobile carrier B network 105.

図1Cによる場面では、管理者端末装置1は、インターネット4を介して配信装置2と接続されている。また、配信装置2は、インターネット4及び顧客宅内のLANも含むWifi網6が接続されている。そして、顧客γ構内108内の移動体101の中のクライアント端末装置3は、Wifi網6を通じて配信装置2と通信を行う。顧客γ構外109では通信手段はない。   In the scene according to FIG. 1C, the administrator terminal device 1 is connected to the distribution device 2 via the Internet 4. The distribution apparatus 2 is connected to the Internet 4 and a WiFi network 6 including a LAN in the customer's home. Then, the client terminal device 3 in the moving body 101 in the customer γ premises 108 communicates with the distribution device 2 through the WiFi network 6. The customer γ off-premise 109 has no communication means.

上述したように、図1Aで動作しているシステムを図1Bの場面で動作できるようにするためには、システムを変更する必要がある(ネットワーク構成要素の静的な変更)。このシステム変更を実現する場合、システム全体の接続維持間隔をあらゆる手段を尽くして調べなければならない。   As described above, in order to be able to operate the system operating in FIG. 1A in the scene of FIG. 1B, it is necessary to change the system (static change of network components). When implementing this system change, the connection maintenance interval of the entire system must be examined by every means.

しかし、この接続維持間隔の調査については作業量が多くなってしまう場合があり、この作業量を軽減できるような工夫が必要である。   However, there is a case where the amount of work increases in the investigation of the connection maintenance interval, and a device that can reduce the amount of work is necessary.

そこで、第1の実施形態では、このようなネットワーク構成要素を静的に変更する際の作業量を軽減するための構成を提供する。   Therefore, the first embodiment provides a configuration for reducing the amount of work when statically changing such network components.

<配信システムの構成>
図2は、本発明の第1の実施形態による配信システム概略構成を示す図である。
第1の実施形態による配信システムは、少なくとも1つの管理者端末装置1と、少なくとも1つの配信装置2と、少なくとも1つのクライアント端末装置3と、を有し、管理者端末装置1と配信装置2はインターネット4を介して接続され、配信装置2とクライアント端末装置3は携帯電話網5及びWifi網6を介して接続されている。
<Configuration of distribution system>
FIG. 2 is a diagram showing a schematic configuration of a distribution system according to the first embodiment of the present invention.
The distribution system according to the first embodiment includes at least one administrator terminal device 1, at least one distribution device 2, and at least one client terminal device 3, and the administrator terminal device 1 and the distribution device 2. Are connected via the Internet 4, and the distribution device 2 and the client terminal device 3 are connected via a mobile phone network 5 and a WiFi network 6.

管理者端末装置1は、CPU11A及びメモリ11Bを含む端末装置11と、通信ポート12と、外部記憶装置13と、を有している。外部記憶装置13は、管理者からのメッセージの送信などの操作を配信装置2に対して命令するための管理者操作送信部13Aと、送信結果などを表示するための表示処理部13Bと、を有している。なお、管理者操作送信部13A及び表示処理部13Bはプログラムとして格納されており、CPU11Aがこれらのプログラムを実行して、それぞれの機能を実現している。   The administrator terminal device 1 includes a terminal device 11 including a CPU 11A and a memory 11B, a communication port 12, and an external storage device 13. The external storage device 13 includes an administrator operation transmission unit 13A for instructing the distribution device 2 to perform an operation such as transmission of a message from the administrator, and a display processing unit 13B for displaying a transmission result and the like. Have. Note that the administrator operation transmission unit 13A and the display processing unit 13B are stored as programs, and the CPU 11A executes these programs to realize the respective functions.

配信装置2は、CPU21A及びメモリ21Bを含む端末装置21と、通信ポート22と、外部記憶装置23と、を有している。外部記憶装置23は、管理者操作の応答を管理者端末装置に返すための管理者操作応答部23Aと、同装置内の処理を取りまとめるサーバ管理部23Bと、WebSocketでメッセージ送付するためのWebSocketサーバ側通信部23Cと、を有している。サーバ管理部23Bは、よく送付する内容を保存する送信内容リストテーブル23B1と、クライアント端末装置3の情報を保存する送信先端末リストテーブル23B2とを有している。なお、管理者操作応答部23A、サーバ管理部23B、及びWebSocketサーバ側通信部23Cはプログラムとして格納されており、CPU21Aがこれらのプログラムを実行して、それぞれの機能を実現している。   The distribution device 2 includes a terminal device 21 including a CPU 21A and a memory 21B, a communication port 22, and an external storage device 23. The external storage device 23 includes an administrator operation response unit 23A for returning an administrator operation response to the administrator terminal device, a server management unit 23B that collects processing in the device, and a WebSocket server for sending a message by WebSocket. Side communication unit 23C. The server management unit 23B includes a transmission content list table 23B1 that stores frequently sent content and a transmission destination terminal list table 23B2 that stores information of the client terminal device 3. Note that the administrator operation response unit 23A, the server management unit 23B, and the WebSocket server side communication unit 23C are stored as programs, and the CPU 21A executes these programs to realize the respective functions.

クライアント端末装置3は、CPU31A及びメモリ31Bを含む端末装置31と、通信ポート32と、外部記憶装置33と、を有している。外部記憶装置33は、クライアント端末装置内の処理を取りまとめるクライアント管理部33Aと、WebSocketで通信を行うためのWebSocketクライアント側通信部33Bと、配信装置から配信されたメッセージを表示するための表示処理部33Cと、クライアント端末装置3が利用するネットワークが携帯電話網の場合に接続を行う携帯回線接続部33Dと、クライアント端末装置3が利用するネットワークがWifiである場合にWifi網を検索しさらに接続を行うWifi検索・接続部33Eと、を有している。なお、クライアント管理部33A、WebSocketクライアント側通信部33B、表示処理部33C、携帯回線接続部33D、及びWifi検索・接続部33Eはプログラムとして格納されており、CPU31Aがこれらのプログラムを実行して、それぞれの機能を実現している。   The client terminal device 3 includes a terminal device 31 including a CPU 31A and a memory 31B, a communication port 32, and an external storage device 33. The external storage device 33 includes a client management unit 33A that organizes processing in the client terminal device, a WebSocket client side communication unit 33B for performing communication using WebSocket, and a display processing unit for displaying a message distributed from the distribution device 33C, a mobile line connection unit 33D for connection when the network used by the client terminal device 3 is a cellular phone network, and a WiFi network when the network used by the client terminal device 3 is WiFi and further connecting And a WiFi search / connecting unit 33E to perform. The client management unit 33A, the WebSocket client side communication unit 33B, the display processing unit 33C, the mobile line connection unit 33D, and the WiFi search / connection unit 33E are stored as programs, and the CPU 31A executes these programs. Each function is realized.

<WebSocketサーバ側通信部の機能>
図3は、WebSocketサーバ側通信部23Cの機能構成を示す図である。
WebSocketサーバ側通信部23Cは、WebSocketクライアント側通信部33Bからの接続・切断要求に対して応答するための接続・切断応答部23C1と、WebSocketクライアント側通信部33BからのWebSocket接続維持のためのパケットに対する応答を送信するための接続維持信号応答部23C2と、メッセージ送信を行うメッセージ送信部23C3と、を有している。
<Function of WebSocket server side communication unit>
FIG. 3 is a diagram illustrating a functional configuration of the WebSocket server side communication unit 23C.
The WebSocket server side communication unit 23C includes a connection / disconnection response unit 23C1 for responding to a connection / disconnection request from the WebSocket client side communication unit 33B, and a packet for maintaining the WebSocket connection from the WebSocket client side communication unit 33B. A connection maintenance signal response unit 23C2 for transmitting a response to the message, and a message transmission unit 23C3 that performs message transmission.

<WebSocketクライアント側通信部の機能>
図4は、WebSocketクライアント側通信部33Bの機能構成を示す図である。
WebSocketクライアント側通信部33Bは、WebSocketサーバ側通信部23Cに対して接続・切断を要求する接続・切断部33B1と、WebSocket接続維持部33B2と、メッセージ受信部33B3と、を有している。
<Functions of the WebSocket client side communication unit>
FIG. 4 is a diagram illustrating a functional configuration of the WebSocket client side communication unit 33B.
The WebSocket client side communication unit 33B includes a connection / disconnection unit 33B1 that requests connection / disconnection to the WebSocket server side communication unit 23C, a WebSocket connection maintaining unit 33B2, and a message reception unit 33B3.

接続・切断部33B1は、クライアント端末装置3が利用するネットワークが携帯電話網の場合の接続先の情報を格納するための携帯回線接続先テーブル33B100と、クライアント端末装置3が利用するネットワークがWifi網の場合の接続先の情報を格納するためのWifi接続先テーブル33B101と、を保持している。ここで、携帯回線接続先テーブル33B100は、接続先アドレスだけでなく、認証情報などその他の接続に必要な情報も記述しても良い。   The connection / disconnection unit 33B1 includes a mobile line connection destination table 33B100 for storing connection destination information when the network used by the client terminal device 3 is a mobile phone network, and a network used by the client terminal device 3 is a WiFi network. In this case, a WiFi connection destination table 33B101 for storing connection destination information is stored. Here, the mobile line connection destination table 33B100 may describe not only the connection destination address but also other information necessary for connection such as authentication information.

WebSocket接続維持部33B2は、WebSocketサーバ側通信部23Cに対して接続維持信号を送信するための接続維持信号送信部33B200と、接続維持信号の応答が一定期間無い場合に接続を切断するための切断検知部33B201と、携帯キャリア網、Wifi網、クラウド基盤ネットワークといったネットワーク種別毎に必要な接続維持間隔を事前に格納しておくための、携帯キャリア別接続維持間隔テーブル33B202と、Wifi接続維持間隔テーブル33B203と、クラウド基盤別接続維持間隔テーブル33B204と、顧客が要望する最大不通時間を満たす、最大接続維持間隔を記すための最大接続維持間隔テーブル33B205と、切断検知部33B201が接続維持信号の応答が無い場合に行う再送間隔、再送上限回数をそれぞれ記している接続維持再送間隔テーブル33B206と、接続維持再送回数テーブル33B207と、利用するネットワーク構成要素を指定するための利用ネットワーク構成要素指定テーブル33B208と、を含んでいる。   The WebSocket connection maintaining unit 33B2 includes a connection maintaining signal transmitting unit 33B200 for transmitting a connection maintaining signal to the WebSocket server side communication unit 23C, and a disconnection for disconnecting the connection when there is no response of the connection maintaining signal Detection unit 33B201, connection maintenance interval table for each mobile carrier 33B202, and WiFi connection maintenance interval table for storing in advance connection maintenance intervals necessary for each network type such as a mobile carrier network, WiFi network, and cloud-based network 33B203, the connection maintenance interval table 33B204 for each cloud platform, the maximum connection maintenance interval table 33B205 for recording the maximum connection maintenance interval that satisfies the maximum disconnection time requested by the customer, and the disconnection detection unit 33B201 responding to the connection maintenance signal. If there is no re Intervals, a retransmission upper limit number of connection wrote respectively maintained retransmission interval table 33B206, the connection maintaining retransmission count tables 33B207, contain, and use network components specified table 33B208 for designating the network component utilized.

なお、メッセージ送信部23C3及びメッセージ受信部33B3に関し、WebSocketは、サーバからクライアント側のみといった一方向の通信だけでなく、逆方向も含めた双方向を特徴とするプロトコルであり、これらは本来は送受信することのできる通信手段であるが、ここでは説明の簡便化のため、サーバからクライアント側のみの一方向であるかのように、記述する。   Regarding the message transmission unit 23C3 and the message reception unit 33B3, the WebSocket is a protocol characterized not only in one-way communication from the server to the client side but also in the bidirectional direction including the reverse direction. Although it is a communication means that can be used, it is described here as if it is only one direction from the server to the client side for the sake of simplicity of explanation.

<携帯回線接続先テーブル>
図5は、携帯回線接続先テーブル33B100の構成例を示す図である。
携帯回線接続先テーブル33B100は、接続先URL501と、認証用ユーザ名502と、認証用パスワード503と、を構成項目として有している。図5の例では、それぞれの項目に、address_a、usr_a、及びpw_aが設定されている。
<Mobile line connection table>
FIG. 5 is a diagram illustrating a configuration example of the mobile line connection destination table 33B100.
The mobile line connection destination table 33B100 includes a connection destination URL 501, an authentication user name 502, and an authentication password 503 as configuration items. In the example of FIG. 5, address_a, usr_a, and pw_a are set for each item.

<Wifi接続先テーブル>
図6は、Wifi接続先テーブル33B101の構成例を示す図である。
Wifi接続先テーブル33B101は、接続先URL601と、認証用ユーザ名602と、認証用パスワード603と、を構成項目として有している。図6の例では、それぞれの項目に、address_wifi_a、usr_wifi_a、pw_wifi_aが設定されている。
<WiFi connection destination table>
FIG. 6 is a diagram illustrating a configuration example of the WiFi connection destination table 33B101.
The WiFi connection destination table 33B101 includes a connection destination URL 601, an authentication user name 602, and an authentication password 603 as configuration items. In the example of FIG. 6, address_wifi_a, usr_wifi_a, and pw_wifi_a are set for each item.

<携帯キャリア別接続維持間隔テーブル>
図7は、携帯キャリア別接続維持間隔テーブル33B202の構成例を示す図である。
携帯キャリア別接続維持間隔テーブル33B202は、携帯キャリア701と、必要な接続維持間隔702と、を構成項目として有している。ここで、接続維持間隔とは、無通信時間の計測タイマ動作開始を回避するために必要な時間間隔を示す情報である。
<Connection maintenance interval table by mobile carrier>
FIG. 7 is a diagram illustrating a configuration example of the connection maintenance interval table 33B202 for each mobile carrier.
The mobile carrier connection maintenance interval table 33B202 includes a mobile carrier 701 and a necessary connection maintenance interval 702 as configuration items. Here, the connection maintenance interval is information indicating a time interval necessary for avoiding the start of the measurement timer operation for no communication time.

図7では、例えば、必要な接続維持間隔702として、A社、B社、及びC社に対してそれぞれ、1800秒、2400秒、及び3000秒と設定されている。   In FIG. 7, for example, the necessary connection maintenance interval 702 is set to 1800 seconds, 2400 seconds, and 3000 seconds for Company A, Company B, and Company C, respectively.

<Wifi接続維持間隔テーブル>
図8は、Wifi接続維持間隔テーブル33B203の構成例を示す図である。
Wifi接続維持間隔テーブル33B203は、Wifi接続維持間隔801の情報を保持しており、その値は、例えば30秒と設定される。
<WiFi connection maintenance interval table>
FIG. 8 is a diagram illustrating a configuration example of the WiFi connection maintenance interval table 33B203.
The WiFi connection maintenance interval table 33B203 holds information on the WiFi connection maintenance interval 801, and the value is set to 30 seconds, for example.

<クラウド基盤別接続維持間隔テーブル>
図9は、クラウド基盤別接続維持間隔テーブル33B204の構成例を示す図である。
クラウド基盤別接続維持間隔テーブル33B204は、クラウド基盤901と、必要な接続維持間隔902と、を構成項目として有している。図9の例では、例えば、a社、b社、及びc社に対してそれぞれ、600秒、1200秒、及び1800秒が設定されている。
<Connection maintenance interval table by cloud platform>
FIG. 9 is a diagram illustrating a configuration example of the cloud platform-specific connection maintenance interval table 33B204.
The cloud infrastructure connection maintenance interval table 33B204 includes a cloud infrastructure 901 and a necessary connection maintenance interval 902 as configuration items. In the example of FIG. 9, for example, 600 seconds, 1200 seconds, and 1800 seconds are set for company a, company b, and company c, respectively.

<最大接続維持間隔テーブル>
図10は、最大接続維持間隔テーブル33B205の構成例を示す図である。
最大接続維持間隔テーブル33B205は、最大接続維持間隔1001の情報を保持しており、その値は、例えば900秒と設定される。この最大接続維持間隔1001は、クライアント端末装置3のユーザが設定した要望値である。
<Maximum connection maintenance interval table>
FIG. 10 is a diagram illustrating a configuration example of the maximum connection maintenance interval table 33B205.
The maximum connection maintenance interval table 33B205 holds information of the maximum connection maintenance interval 1001, and the value is set to 900 seconds, for example. The maximum connection maintenance interval 1001 is a desired value set by the user of the client terminal device 3.

<接続維持再送間隔テーブル>
図11は、接続維持再送間隔テーブル33B206の構成例を示す図である。
接続維持再送間隔テーブル33B206は、接続維持再送間隔1101の情報を保持しており、その値は、例えば4秒と設定される。
<Connection maintenance retransmission interval table>
FIG. 11 is a diagram illustrating a configuration example of the connection maintenance retransmission interval table 33B206.
The connection maintenance retransmission interval table 33B206 holds information of the connection maintenance retransmission interval 1101, and the value is set to 4 seconds, for example.

<接続維持再送回数テーブル>
図12は、接続維持再送回数テーブル33B207の構成例を示す図である。
接続維持再送回数テーブル33B207は、接続維持再送回数1201の情報を保持しており、その値は、例えば2回と設定される。なお、本明細書では、本テーブルで指定の再送回数の再送を行い、図11の再送間隔待っても、接続維持信号の応答が返ってこない場合に切断とみなすものとする。
<Connection maintenance retransmission count table>
FIG. 12 is a diagram illustrating a configuration example of the connection maintenance retransmission number table 33B207.
The connection maintenance retransmission count table 33B207 holds information of the connection maintenance retransmission count 1201, and the value is set to 2 times, for example. In the present specification, it is assumed that the connection is not disconnected when a response of the connection maintenance signal is not returned even after waiting for the retransmission interval shown in FIG.

<利用ネットワーク構成要素指定テーブル>
図13は、利用ネットワーク構成要素指定テーブル33B208の構成例を示すである。
利用ネットワーク構成要素指定テーブル33B208は、利用構成要素の項目名1301と、利用構成要素の内容1302と、を構成項目として有している。利用構成要素の項目名1301は、ネットワーク種別、携帯キャリア、クラウド基盤の情報で構成され、図13の例では、それぞれ携帯回線、A社、及びa社と設定されている。
<Used network component specification table>
FIG. 13 shows a configuration example of the use network component specification table 33B208.
The usage network component designation table 33B208 includes a usage component item name 1301 and a usage component content 1302 as configuration items. The item name 1301 of the usage component is composed of network type, mobile carrier, and cloud-based information. In the example of FIG. 13, mobile line, company A, and company a are set.

<クライアント端末装置の接続処理>
図14は、第1の実施形態によるクライアント端末装置3の接続処理を説明するためのフローチャートである。当該処理は、クライアント端末装置3が起動した時、又は以降で説明する意図せぬ切断を検知した後に実行される処理である。
<Client terminal device connection processing>
FIG. 14 is a flowchart for explaining connection processing of the client terminal device 3 according to the first embodiment. This process is a process executed when the client terminal device 3 is activated or after detecting an unintended disconnection described below.

まず、WebSocketクライアント側通信部33Bは、携帯回線接続先テーブル33B100、及びWifi接続先テーブル33B101を読み込む(ステップ200)。   First, the WebSocket client side communication unit 33B reads the mobile line connection destination table 33B100 and the WiFi connection destination table 33B101 (step 200).

次に、WebSocketクライアント側通信部33Bは、携帯キャリア別接続維持間隔テーブル33B202と、Wifi接続維持間隔テーブル33B203と、クラウド基盤別接続維持間隔テーブル33B204と、最大接続維持間隔テーブル33B205と、を読み込む(ステップ201)。   Next, the WebSocket client side communication unit 33B reads the mobile carrier-specific connection maintenance interval table 33B202, the WiFi connection maintenance interval table 33B203, the cloud infrastructure-specific connection maintenance interval table 33B204, and the maximum connection maintenance interval table 33B205 ( Step 201).

また、WebSocketクライアント側通信部33Bは、利用ネットワーク構成要素指定テーブル33B208で指定されている、ネットワーク種別と、携帯回線の場合さらに携帯キャリアと、クラウド基盤の情報を読み込む(ステップ202)。つまり、現在使用している環境についての情報が取得される。   In addition, the WebSocket client side communication unit 33B reads the network type, the mobile carrier in the case of a mobile line, and cloud-based information specified in the use network component specification table 33B208 (step 202). That is, information about the currently used environment is acquired.

WebSocketクライアント側通信部33Bは、各テーブルから、指定の携帯キャリアの接続維持間隔702またはWifi接続維持間隔801と、クラウド基盤の接続維持間隔902を取得する(ステップ203)。   The WebSocket client side communication unit 33B obtains the connection maintenance interval 702 or the WiFi connection maintenance interval 801 of the designated mobile carrier and the cloud-based connection maintenance interval 902 from each table (step 203).

そして、WebSocketクライアント側通信部33Bは、接続維持再送間隔テーブル33B206と、接続維持再送回数テーブル33B207を読み込む(ステップ204)。   Then, the WebSocket client side communication unit 33B reads the connection maintenance retransmission interval table 33B206 and the connection maintenance retransmission number table 33B207 (step 204).

続いて、WebSocketクライアント側通信部33Bは、利用ネットワーク構成要素指定テーブル33B208を参照して、ネットワーク種別が携帯回線であるか調べる(ステップ205)。使用しているネットワークが携帯回線の場合には、処理はステップ206に移行する。使用しているネットワークが携帯回線ではない場合には、処理はステップ212に移行する。   Subsequently, the WebSocket client side communication unit 33B refers to the use network component designation table 33B208 and checks whether the network type is a mobile line (step 205). If the network being used is a mobile line, the process proceeds to step 206. If the network being used is not a mobile line, the process proceeds to step 212.

ステップ206において、WebSocketクライアント側通信部33Bは、接続先として携帯回線接続先を採用する。(ステップ206)。   In step 206, the WebSocket client side communication unit 33B adopts the mobile line connection destination as the connection destination. (Step 206).

そして、WebSocketクライアント側通信部33Bは、携帯キャリアの接続維持間隔702、クラウド基盤の接続維持間隔902、最大接続維持間隔1001を比較し、携帯キャリアの接続維持間隔702が最小であるか調べる(ステップ207)。携帯キャリアの接続維持間隔702が最小である場合、処理はステップ211に移行し、最小ではない場合には、処理はステップ208に移行する。   Then, the WebSocket client side communication unit 33B compares the mobile carrier connection maintenance interval 702, the cloud-based connection maintenance interval 902, and the maximum connection maintenance interval 1001, and checks whether the mobile carrier connection maintenance interval 702 is the minimum (step) 207). If the mobile carrier connection maintenance interval 702 is the minimum, the process proceeds to step 211, and if not, the process proceeds to step 208.

ステップ211において、WebSocketクライアント側通信部33Bは、接続維持間隔として、携帯キャリアの接続維持間隔702を採用する(ステップ211)。   In step 211, the WebSocket client side communication unit 33B adopts the mobile carrier connection maintenance interval 702 as the connection maintenance interval (step 211).

一方、ステップ208においては、WebSocketクライアント側通信部33Bは、クラウド基盤の接続維持間隔902が最小であるか調べる(ステップ208)。クラウド基盤の接続維持間隔902が最小の場合には、処理はステップ209に移行し、最小でない場合には、ステップ210に移行する。   On the other hand, in step 208, the WebSocket client side communication unit 33B checks whether the cloud-based connection maintenance interval 902 is the minimum (step 208). If the cloud-based connection maintenance interval 902 is the minimum, the process proceeds to step 209, and if not, the process proceeds to step 210.

ステップ209において、WebSocketクライアント側通信部33Bは、接続維持間隔として、クラウド基盤の接続維持間隔902を採用する(ステップ209)。   In Step 209, the WebSocket client side communication unit 33B adopts the cloud-based connection maintenance interval 902 as the connection maintenance interval (Step 209).

ステップ210では、WebSocketクライアント側通信部33Bは、接続維持間隔として、最大接続維持間隔1001を採用する。   In step 210, the WebSocket client side communication unit 33B adopts the maximum connection maintenance interval 1001 as the connection maintenance interval.

一方、ステップ212において、WebSocketクライアント側通信部33Bは、接続先としてWifi接続先を採用する。(ステップ212)。   On the other hand, in step 212, the WebSocket client side communication unit 33B adopts the WiFi connection destination as the connection destination. (Step 212).

そして、WebSocketクライアント側通信部33Bは、Wifiの接続維持間隔801、クラウド基盤の接続維持間隔902、最大接続維持間隔1001を比較し、Wifiの接続維持間隔801が最小であるか調べる(ステップ213)。Wifiの接続維持間隔801が最小である場合、処理はステップ217に移行し、最小ではない場合には、処理はステップ214に移行する。   Then, the WebSocket client side communication unit 33B compares the WiFi connection maintenance interval 801, the cloud-based connection maintenance interval 902, and the maximum connection maintenance interval 1001, and checks whether the WiFi connection maintenance interval 801 is the minimum (step 213). . If the WiFi connection maintenance interval 801 is minimum, the process proceeds to step 217, and if not, the process proceeds to step 214.

ステップ217において、WebSocketクライアント側通信部33Bは、接続維持間隔として、Wifiの接続維持間隔801を採用する(ステップ217)。   In Step 217, the WebSocket client side communication unit 33B adopts the WiFi connection maintenance interval 801 as the connection maintenance interval (Step 217).

ステップ214においては、WebSocketクライアント側通信部33Bは、クラウド基盤の接続維持間隔902が最小であるか調べる(ステップ214)。クラウド基盤の接続維持間隔902が最小の場合には、処理はステップ215に移行し、最小でない場合には、ステップ216に移行する。   In step 214, the WebSocket client side communication unit 33B checks whether the cloud-based connection maintenance interval 902 is the minimum (step 214). If the cloud-based connection maintenance interval 902 is the minimum, the process proceeds to step 215, and if not, the process proceeds to step 216.

ステップ215において、WebSocketクライアント側通信部33Bは、接続維持間隔として、クラウド基盤の接続維持間隔902を採用する(ステップ215)。   In step 215, the WebSocket client side communication unit 33B employs the cloud-based connection maintenance interval 902 as the connection maintenance interval (step 215).

ステップ216では、WebSocketクライアント側通信部33Bは、接続維持間隔として、最大接続維持間隔1001を採用する。   In step 216, the WebSocket client side communication unit 33B adopts the maximum connection maintenance interval 1001 as the connection maintenance interval.

ステップ218では、WebSocketクライアント側通信部33Bの接続・切断部33B1が、これまでの処理で採用した接続先、接続維持間隔を利用して、配信装置2に接続する(ステップ218)。   In step 218, the connection / disconnection unit 33B1 of the WebSocket client side communication unit 33B connects to the distribution apparatus 2 using the connection destination and the connection maintenance interval employed in the processing so far (step 218).

<接続中の接続信号送付処理>
図15は、第1の実施形態による、接続中の接続信号送付処理を説明するためのフローチャートである。
<Connection signal sending process during connection>
FIG. 15 is a flowchart for explaining connection signal sending processing during connection according to the first embodiment.

まず、WebSocketクライアント側通信部33Bは、一定時間無通信状態か否か判断する(ステップ301)。一定時間無通信状態に該当する場合、処理はステップ303に移行し、該当しない場合には、処理はステップ302に移行する。   First, the WebSocket client side communication unit 33B determines whether or not there is a no-communication state for a certain time (step 301). If the communication state does not correspond to a certain period of time, the process proceeds to step 303; otherwise, the process proceeds to step 302.

ステップ302では、WebSocketクライアント側通信部33Bは、無通信時間計測用変数をリセットし、再度、ステップ301において一定時間無通信状態となっているか判断する。   In step 302, the WebSocket client side communication unit 33B resets the no-communication time measurement variable, and again determines in step 301 whether or not the communication state is in the no-communication state.

ステップ303では、WebSocketクライアント側通信部33Bは、無通信時間計測用変数をインクリメントする(ステップ303)。   In step 303, the WebSocket client side communication unit 33B increments the no-communication time measurement variable (step 303).

また、WebSocketクライアント側通信部33Bは、無通信時間計測用変数が接続維持間隔(702又は801)に到達したか否か判断する(ステップ304)。接続維持間隔に到達していない場合には、処理はステップ301に移行し、到達している場合には、処理はステップ305に移行する。   Further, the WebSocket client side communication unit 33B determines whether or not the no-communication time measurement variable has reached the connection maintenance interval (702 or 801) (step 304). If the connection maintenance interval has not been reached, the process proceeds to step 301. If the connection maintenance interval has been reached, the process proceeds to step 305.

ステップ305では、WebSocketクライアント側通信部33B(接続維持信号送信部33B200)は、配信装置2に対して接続維持信号を送付する(ステップ305)。   In step 305, the WebSocket client side communication unit 33B (connection maintenance signal transmission unit 33B200) sends a connection maintenance signal to the distribution apparatus 2 (step 305).

さらに、WebSocketクライアント側通信部33Bは、配信装置2からの応答信号を受信する前に、接続維持再送間隔テーブル33B206に記述された接続維持再送間隔(再送時間間隔)1101が経過したか判断する(ステップ306)。接続維持再送間隔(再送時間間隔)1101が経過していない場合には、処理はステップ307に移行し、接続維持再送間隔(再送時間間隔)1101が経過している場合には、処理はステップ308に移行する。   Further, the WebSocket client side communication unit 33B determines whether the connection maintenance retransmission interval (retransmission time interval) 1101 described in the connection maintenance retransmission interval table 33B206 has elapsed before receiving the response signal from the distribution apparatus 2 ( Step 306). If the connection maintenance retransmission interval (retransmission time interval) 1101 has not elapsed, the process proceeds to step 307. If the connection maintenance retransmission interval (retransmission time interval) 1101 has elapsed, the process proceeds to step 308. Migrate to

ステップ307では、WebSocketクライアント側通信部33Bは、再送回数をリセットし(ステップ307)、さらに、無通信時間計測用変数をリセットし(ステップ302)、処理をステップ301に移行させる。   In step 307, the WebSocket client side communication unit 33B resets the number of retransmissions (step 307), resets the no-communication time measurement variable (step 302), and shifts the processing to step 301.

ステップ308では、WebSocketクライアント側通信部33Bは、接続維持信号を再送し(ステップ308)、再送回数に1加算し(ステップ309)する。   In step 308, the WebSocket client side communication unit 33B retransmits the connection maintenance signal (step 308), and adds 1 to the number of retransmissions (step 309).

そして、WebSocketクライアント側通信部33Bは、接続維持再送回数テーブル33B207に記述された再送回数の上限1201に達したか判断する(ステップ310)。上限に達した場合は、処理はステップ311に移行し、上限に達していない場合には、処理はステップ306に移行する。   Then, the WebSocket client side communication unit 33B determines whether or not the upper limit 1201 of the number of retransmissions described in the connection maintenance retransmission number table 33B207 has been reached (step 310). If the upper limit has been reached, the process proceeds to step 311, and if the upper limit has not been reached, the process proceeds to step 306.

ステップ311では、WebSocketクライアント側通信部33Bは、当該接続の切断が意図しない切断である判断し、そのことを表すフラグを設定して、接続を切断する(ステップ311)。   In step 311, the WebSocket client side communication unit 33 </ b> B determines that the disconnection of the connection is unintentional disconnection, sets a flag indicating the disconnection, and disconnects the connection (step 311).

<再接続処理>
図16は、第1の実施形態による、接続中に切断が起こった場合の再接続処理を説明するためのフローチャートである。
<Reconnection processing>
FIG. 16 is a flowchart for explaining reconnection processing when disconnection occurs during connection according to the first embodiment.

WebSocketクライアント側通信部33Bの接続・切断部33B1は、配信装置2との間に張られた接続を常に監視しており、切断が発生した場合に本処理を行う。   The connection / disconnection unit 33B1 of the WebSocket client side communication unit 33B constantly monitors the connection established with the distribution apparatus 2, and performs this processing when a disconnection occurs.

まず、接続・切断部33B1は、発生した切断が意図しない切断か否か判断する(ステップ351)。ここで、ステップ311により発生した切断であれば、意図しない切断であることを表すフラグが設定されており、そうでない正常な切断であれば本フラグは設定されていない。   First, the connection / disconnection unit 33B1 determines whether or not the generated disconnection is an unintended disconnection (step 351). Here, if it is the cutting | disconnection which generate | occur | produced by step 311, the flag showing that it is an unintentional cutting | disconnection is set, and if this is not normal cutting | disconnection, this flag will not be set.

意図しない切断である場合、接続・切断部33B1は、再度図14の接続処理を実行する(ステップ352)。ここで、図14の接続処理を再度行う際、既に読み込んでいるテーブルの読み込みは省略してもよい。   If the disconnection is not intended, the connection / disconnection unit 33B1 executes the connection process of FIG. 14 again (step 352). Here, when the connection process of FIG. 14 is performed again, reading of the already read table may be omitted.

意図する切断ではなく、正常な切断である場合(フラグが設定されていない場合)、処理は終了する。   If it is not intended disconnection but normal disconnection (when no flag is set), the process ends.

<開発が必要な要素>
図17は、本発明の実施形態によるシステムにおいて開発が必要な要素を示す図である。
(i)図17Aは、サーバ側で、顧客毎または同一顧客のネットワーク構成要件の変更に対応するために必要な開発部分を表す模式図である。本発明が無ければ、ネットワーク構成に変更があれば、サーバ(配信装置2)側のシステム全体を設計、開発する必要があるが、本発明によると、斜線部分、つまり、送信内容リストテーブル23B1及び送信先リストテーブル23B2のみ変更すれば、サーバ(配信装置2)側は、ネットワーク構成要件の変更に対処することができるようになる。
<Elements that need to be developed>
FIG. 17 is a diagram showing elements that need to be developed in the system according to the embodiment of the present invention.
(I) FIG. 17A is a schematic diagram showing a development part necessary for responding to a change in network configuration requirements for each customer or the same customer on the server side. Without the present invention, if there is a change in the network configuration, it is necessary to design and develop the entire system on the server (distribution apparatus 2) side. According to the present invention, the hatched portion, that is, the transmission content list table 23B1 and If only the transmission destination list table 23B2 is changed, the server (distribution apparatus 2) side can cope with a change in network configuration requirements.

(ii)図17Bは、クライアント側で、顧客毎または同一顧客のネットワーク構成要件の変更に対応するために必要な開発部分を表す模式図である。上述同様、本発明が無ければ、ネットワーク構成に変更があれば、クライアント側のシステム全体を設計、開発する必要があるが、本発明によると、斜線部分、つまり、接続回線接続先テーブル33B100、Wifi接続先テーブル33B101、Wifi接続維持間隔テーブル33B203、最大接続維持間隔テーブル33B205、利用ネットワーク構成要素指定テーブル33B208を変更すれば、クライアント側は、ネットワーク構成要件の変更に対処することができるようになる。なお、図17Bでは、WebSocketクライアント側通信部33Bにおいて、その都度開発が不要な33B200などの要素は省略されている。 (Ii) FIG. 17B is a schematic diagram showing a development part necessary for responding to a change in network configuration requirements for each customer or the same customer on the client side. As described above, if the present invention is not present and the network configuration is changed, it is necessary to design and develop the entire system on the client side. By changing the connection destination table 33B101, the WiFi connection maintenance interval table 33B203, the maximum connection maintenance interval table 33B205, and the use network component designation table 33B208, the client side can cope with changes in network configuration requirements. In FIG. 17B, elements such as 33B200 that need not be developed each time are omitted in the WebSocket client side communication unit 33B.

<サーバ側のメッセージ送信処理>
図18は、サーバ(配信装置2)側で実行されるメッセージ送信処理を説明するためのフローチャートである。
<Message transmission processing on the server side>
FIG. 18 is a flowchart for explaining message transmission processing executed on the server (distribution apparatus 2) side.

WebSocketサーバ側通信部23Cは、クライアントの状態がメッセージ送信してもOKか否か判断する(ステップ401)。ここでクライアントの状態とは、配信装置2とクライアント端末装置3との接続が確立・維持されていれば「OK」となり、切断状態であれば「NG」となる変数である。状態がNGであれば、処理はステップ402に移行し、状態がOKであれば、処理はステップ403に移行する。   The WebSocket server side communication unit 23C determines whether or not the client status is OK even if a message is transmitted (step 401). Here, the client status is a variable that is “OK” if the connection between the distribution device 2 and the client terminal device 3 is established and maintained, and “NG” if the connection is disconnected. If the state is NG, the process proceeds to step 402, and if the state is OK, the process proceeds to step 403.

ステップ402において、WebSocketサーバ側通信部23Cは、送信不可を管理者端末装置1に返却する(ステップ402)。   In step 402, the WebSocket server side communication unit 23 </ b> C returns a transmission failure to the administrator terminal device 1 (step 402).

ステップ403において、WebSocketサーバ側通信部23Cは、メッセージをクライアント端末装置3に送信する。   In step 403, the WebSocket server side communication unit 23C transmits a message to the client terminal device 3.

<送信設定画面例>
図19は、管理者端末装置1の表示部に表示される設定画面(GUI)の例を示す図である。図19Aは送信先端末一覧画面例を示し、図19Bは送信内容一覧画面例を示している。図19Cは、送信設定画面例を示している。
<Send setting screen example>
FIG. 19 is a diagram illustrating an example of a setting screen (GUI) displayed on the display unit of the administrator terminal device 1. FIG. 19A shows a transmission destination terminal list screen example, and FIG. 19B shows a transmission content list screen example. FIG. 19C shows an example of a transmission setting screen.

(i)図19Aに示されるように、送信先端末一覧画面は、クライアント端末装置3を一意に特定・識別するための端末ID1901と、対応するクライアント端末装置3の利用者を示す利用者1902と、対応するクライアント端末装置3の状態を示す状態1903と、を構成要素として有している。 (I) As illustrated in FIG. 19A, the transmission destination terminal list screen includes a terminal ID 1901 for uniquely identifying and identifying the client terminal device 3, and a user 1902 indicating a user of the corresponding client terminal device 3. And a state 1903 indicating the state of the corresponding client terminal device 3 as a component.

管理者は、この画面を表示部に表示させ、状態1903がOKとなっているクライアント端末装置3の中から、メッセージを送信したいものを選択して、配信装置2にメッセージ送信を指示することができるようになっている。   The administrator can display this screen on the display unit, select the client terminal apparatus 3 whose state 1903 is OK, select the one to send a message, and instruct the distribution apparatus 2 to transmit the message. It can be done.

(ii)図19Bに示されるように、送信内容一覧画面は、送信メッセージを一意に特定・識別するための送信内容ID1904と、メッセージの内容を示す送信内容1905と、を構成要素として有している。 (Ii) As shown in FIG. 19B, the transmission content list screen has a transmission content ID 1904 for uniquely identifying and identifying a transmission message and a transmission content 1905 indicating the content of the message as components. Yes.

管理者は、予め用意されている送信内容1905の中から所望のものと選択して、配信装置2が選択したクライアント端末装置3に選択したメッセージを送信するように指示することができる。送信内容1905は、説明の簡単化のため、ここでは固定としているが、その限りではない。従って、所望のメッセージが送信内容一覧画面にない場合には、図示しないメッセージ作成画面を表示し、管理者は所望のメッセージを作成することができるようにしても良い。   The administrator can select a desired one from transmission contents 1905 prepared in advance and instruct the client terminal device 3 selected by the distribution device 2 to transmit the selected message. The transmission content 1905 is fixed here for the sake of simplicity, but this is not a limitation. Therefore, when the desired message is not on the transmission content list screen, a message creation screen (not shown) may be displayed so that the administrator can create the desired message.

(iii)図19Cに示される送信設定画面では、送信端末設定と送信コンテンツ設定が1つの画面内の選択操作で行うことができるようになっている。なお、図19Bと同様に、送信コンテンツ(送信内容)は、予め固定でなくても良い。 (Iii) In the transmission setting screen shown in FIG. 19C, the transmission terminal setting and the transmission content setting can be performed by a selection operation in one screen. As in FIG. 19B, the transmission content (transmission content) does not have to be fixed in advance.

(2)第2の実施形態
第2の実施形態は、複数種類のネットワークが混在する環境において、ネットワークの種類が動的に変更した場合に容易に対応できるようにするための技術を提供する。
(2) Second Embodiment The second embodiment provides a technique for easily dealing with a case where the network type is dynamically changed in an environment where a plurality of types of networks are mixed.

<適用場面>
図20は、第2の実施形態の適用場面を示すための模式図である。
図20は、顧客構内でWifi網を利用し、顧客構外で携帯回線網を利用する場面を示している。この適用場面では、顧客構内から、顧客構外に移動時に、動的にネットワーク構成要素の変更が生じる。第2の実施形態は、この動的なネットワーク構成の変更に対応できるようにするシステムを提供するものである。
<Application scene>
FIG. 20 is a schematic diagram for illustrating an application scene of the second embodiment.
FIG. 20 shows a scene in which the WiFi network is used on the customer premises and the mobile line network is used outside the customer premises. In this application situation, the network component changes dynamically when moving from the customer premises to the customer premises. The second embodiment provides a system that can cope with this dynamic network configuration change.

図20では、管理者端末装置1が、インターネット4を介して配信装置2と接続されている。配信装置2は、インターネット4を介して、携帯キャリアC網113、顧客宅内のLANも含むWifi網6と接続されている。移動体101が顧客δ構内111内にある場合、その中のクライアント端末装置3は、Wifi網6を介して配信装置2と通信を行う。一方、移動体101が顧客δ構外にある場合には、クライアント端末装置3は、携帯キャリアC網113を介して配信装置2と通信を行う。   In FIG. 20, the administrator terminal device 1 is connected to the distribution device 2 via the Internet 4. The distribution apparatus 2 is connected to a WiFi network 6 including a mobile carrier C network 113 and a customer premises LAN via the Internet 4. When the mobile unit 101 is in the customer δ premises 111, the client terminal device 3 therein communicates with the distribution device 2 via the WiFi network 6. On the other hand, when the mobile unit 101 is outside the customer δ, the client terminal device 3 communicates with the distribution device 2 via the mobile carrier C network 113.

<配信システムの構成>
図21は、本発明の第2の実施形態による配信システムの概略構成を示す図である。
第2の実施形態による配信システムは、第1の実施形態による構成に加えて、さらに、ネットワーク種別自動判定部33Fと、携帯キャリア自動判定部33Gとを、有している。
<Configuration of distribution system>
FIG. 21 is a diagram showing a schematic configuration of a distribution system according to the second embodiment of the present invention.
In addition to the configuration according to the first embodiment, the distribution system according to the second embodiment further includes a network type automatic determination unit 33F and a mobile carrier automatic determination unit 33G.

ネットワーク種別自動判定部33Fは、クライアント端末装置3のOSが有している情報を参照して、どのネットワークを利用しているか判定する処理を行う。また、携帯キャリア自動判定部33Gは、ネットワーク種別自動判定部33Fによって、携帯キャリア網を利用していると判定された場合に、同OSの情報から、どのキャリアを利用しているかを判定する処理を実行する。その他の構成については、図2と同じであるため、説明は省略する。   The network type automatic determination unit 33F refers to information held by the OS of the client terminal device 3 and performs processing for determining which network is used. The mobile carrier automatic determination unit 33G determines which carrier is used from the information of the OS when the network type automatic determination unit 33F determines that the mobile carrier network is used. Execute. Other configurations are the same as those in FIG.

<接続処理>
図22は、第2の実施形態による、クライアント端末装置3が実行する接続処理を説明するためのフローチャートである。第2の実施形態による当該接続処理は、クライアント端末装置3を起動したとき、或いは、意図せぬ切断が発生したとき、配信装置2との接続を確立する処理を実行する際に、ネットワーク種別自動判別、及びネットワーク種別が携帯回線の場合は携帯キャリア自動判別を行うというものである。
<Connection process>
FIG. 22 is a flowchart for explaining connection processing executed by the client terminal device 3 according to the second embodiment. In the connection processing according to the second embodiment, when the client terminal device 3 is activated or when an unintentional disconnection occurs, the network type automatic processing is performed when the processing for establishing a connection with the distribution device 2 is executed. When the determination and the network type are mobile lines, mobile carrier automatic determination is performed.

図14との違いは、ステップ202及び203が変更されてステップ901及び902となり、新たにステップ903乃至906が追加されている。従って、以下では、これらのステップのみについて説明する。   The difference from FIG. 14 is that steps 202 and 203 are changed to become steps 901 and 902, and steps 903 to 906 are newly added. Therefore, only these steps will be described below.

ステップ901及びステップ902では、それぞれ、読み込み対象及び取得対象をクラウド基盤のみに変更されている。第2の実施形態では、利用ネットワークを自動的に判別しているため、必要な情報はクラウド基盤についての情報のみだからである。   In step 901 and step 902, the reading target and the acquisition target are changed to only the cloud platform, respectively. This is because in the second embodiment, the network to be used is automatically determined, so that the necessary information is only information about the cloud platform.

ステップ903では、ネットワーク種別自動判別部33Fが、クライアント端末装置3のOSが保持している情報を参照し、ネットワーク種別の自動判別を行う。   In step 903, the network type automatic determination unit 33F refers to the information held by the OS of the client terminal device 3 and automatically determines the network type.

ステップ904では、携帯キャリア自動判定部33Gが、同様に、クライアント端末装置3のOSが保持している情報を参照し、携帯キャリア自動判別を行う。   In step 904, the mobile carrier automatic determination unit 33G similarly refers to the information held by the OS of the client terminal device 3 and performs automatic mobile carrier determination.

ステップ905では、WebSocketクライアント側通信部33Bが、該当する携帯キャリア接続維持間隔702(図7参照)を取得する。   In step 905, the WebSocket client side communication unit 33B acquires the corresponding mobile carrier connection maintenance interval 702 (see FIG. 7).

ステップ906では、WebSocketクライアント側通信部33Bが、該当するWifi接続維持間隔801(図8参照)を取得する。   In step 906, the WebSocket client side communication unit 33B acquires the corresponding WiFi connection maintenance interval 801 (see FIG. 8).

以上のような処理を実行することにより、動的なネットワーク構成の変更に対応して接続処理を実行することができるようになる。   By executing the processing as described above, connection processing can be executed in response to a dynamic network configuration change.

(3)第3の実施形態
第3の実施形態は、顧客の即時性(最大不通時間)要望値から、接続維持間隔を直接決める手段を提供する。
(3) Third Embodiment The third embodiment provides means for directly determining the connection maintenance interval from the customer's immediacy (maximum downtime) desired value.

第1及び第2の実施形態では、クライアント端末装置3の利用者は、所望の接続維持間隔として、最大接続維持間隔1001(図10)を設定入力する必要がある。この最大接続維持間隔は、利用者からは分かりづらい概念であり、不慣れな利用者は間違って設定しまう場合もある。   In the first and second embodiments, the user of the client terminal device 3 needs to set and input the maximum connection maintenance interval 1001 (FIG. 10) as a desired connection maintenance interval. This maximum connection maintenance interval is a concept that is difficult for a user to understand, and an unfamiliar user may set it incorrectly.

そこで、本発明の第3の実施形態では、顧客から見て分かりやすい「最大不通時間」という観点から、接続維持間隔を決定する処理を行っていることに特徴がある。なお、配信システムの構成は、WebSocketクライアント側通信部33Bの内部構成以外は、図2と同じであるため、説明は省略する。   Therefore, the third embodiment of the present invention is characterized in that the process of determining the connection maintenance interval is performed from the viewpoint of “maximum downtime” that is easy to understand from the customer. The configuration of the distribution system is the same as that in FIG. 2 except for the internal configuration of the WebSocket client side communication unit 33B, and thus the description thereof is omitted.

<WebSocketクライアント側通信部の内部構成>
図23は、第3の実施形態による、WebSocketクライアント側通信部33Bの内部構成を示す図である。
<Internal configuration of WebSocket client side communication unit>
FIG. 23 is a diagram illustrating an internal configuration of the WebSocket client side communication unit 33B according to the third embodiment.

第1の実施形態との違いは、顧客から見てより分かりやすい概念である最大不通時間を入力値とするため、WebSocketクライアント側通信部33Bが、最大接続維持間隔テーブル33B205の代わりに、最大不通時間テーブル33B209を有している点である。   The difference from the first embodiment is that the maximum disconnection time, which is a concept that is easier to understand from the customer's perspective, is used as an input value. Therefore, the WebSocket client side communication unit 33B uses the maximum disconnection interval instead of the maximum connection maintenance interval table 33B205 This is a point having a time table 33B209.

最大不通時間は、「最大接続維持間隔」に「最終送信時刻からの再送タイムアウト時間」を加算した値である。再送タイムアウト時間は、接続維持間隔後に実行される再送処理の間隔(再送間隔)×(接続維持再送上限回数+1)で表される値である。   The maximum disconnection time is a value obtained by adding “retransmission timeout time from the last transmission time” to “maximum connection maintenance interval”. The retransmission timeout time is a value represented by the interval of retransmission processing (retransmission interval) executed after the connection maintenance interval × (connection maintenance retransmission upper limit count + 1).

<接続処理>
図24は、第3の実施形態による、クライアント端末装置が実行する接続処理を説明するためのフローチャートである。第1の実施形態による接続処理(図14)との違いは、ステップ201を変更してステップ1101とし、ステップ1102を追加したことである。
<Connection process>
FIG. 24 is a flowchart for explaining connection processing executed by the client terminal device according to the third embodiment. The difference from the connection processing (FIG. 14) according to the first embodiment is that step 201 is changed to step 1101 and step 1102 is added.

ステップ1101では、WebSocketクライアント側通信部33Bは、携帯キャリア別接続維持間隔テーブル33B202と、Wifi接続維持間隔テーブル33B203と、クラウド基盤別接続維持間隔テーブル33B204と、最大不通時間テーブル33B209を読み込む。最大不通時間テーブルには、利用者が設定した最大不通時間要望値が記述されている。   In Step 1101, the WebSocket client side communication unit 33B reads the mobile carrier connection maintenance interval table 33B202, the WiFi connection maintenance interval table 33B203, the cloud infrastructure connection maintenance interval table 33B204, and the maximum non-communication time table 33B209. In the maximum non-communication time table, a maximum non-communication time request value set by the user is described.

ステップ1102では、WebSocketクライアント側通信部33Bは、最大不通時間要望値から、最大接続維持間隔要望値を導出する。ここで、不通時間が最大となるのは、定期的な接続維持信号の送信成功の直後に切断が発生した場合である。この場合、上述のように、最大不通時間は、接続維持信号送信間隔と、「最終送信時刻からの再送タイムアウト値」の和で表される。よって、ステップ1102では、接続維持再送間隔と接続維持再送上限回数に1を加算した値を乗じることで得られる「最終送信時刻からの再送タイムアウト値」を、「最大不通時間要望値」から差し引くことで、最大接続維持間隔が算出される。   In step 1102, the WebSocket client side communication unit 33 </ b> B derives the maximum connection maintenance interval request value from the maximum non-communication time request value. Here, the disconnection time is maximized when disconnection occurs immediately after successful transmission of the periodic connection maintenance signal. In this case, as described above, the maximum disconnection time is represented by the sum of the connection maintenance signal transmission interval and the “retransmission timeout value from the last transmission time”. Therefore, in Step 1102, the “retransmission timeout value from the last transmission time” obtained by multiplying the connection maintenance retransmission interval and the connection maintenance retransmission upper limit number by 1 is subtracted from the “maximum unavailable time requested value”. Thus, the maximum connection maintenance interval is calculated.

以上のようにして、クライアント端末装置3が自動的にその「最大不通時間」を「最大接続維持間隔」に変換するので、利用者は、より分かりやすい「最大不通時間」の要望値を入力するだけでよく、適切に接続処理を実行することが可能となる。   As described above, since the client terminal device 3 automatically converts the “maximum disconnection time” into the “maximum connection maintenance interval”, the user inputs a desired value of the “maximum disconnection time” that is easier to understand. The connection process can be appropriately executed.

(4)変形例
(i)WebSocketプロトコルの代わりに、COMETと呼ばれるプロトコルでもよい。
(4) Modification (i) Instead of the WebSocket protocol, a protocol called COMET may be used.

(ii)上述の各実施形態では、電波不良のため、各ネットワーク装置のアイドル切断の通知などを受け取れず、クライアントが切断に気付かない問題に対する解決策としては、接続維持信号に対する応答が一定期間無い場合に接続を切断する再送タイマを設ける方法で解決を図っている。しかし、この代わりに、電波状況を監視することにより切断を判定したり、ネットワーク種別の変更を監視することにより切断を判定する手法を採ってもよい。 (Ii) In each of the above-described embodiments, there is no response to the connection maintenance signal for a certain period as a solution to the problem that the client is not aware of the disconnection due to a radio wave failure and cannot receive an idle disconnection notification of each network device. In this case, a solution is provided by providing a retransmission timer for disconnecting the connection. However, instead of this, a method may be employed in which disconnection is determined by monitoring the radio wave condition, or disconnection is determined by monitoring a change in the network type.

(iii)第2の実施形態を、ネットワーク構成要素の静的な変更の用途に使ってもよい。 (Iii) You may use 2nd Embodiment for the use of the static change of a network component.

(iv)第2の実施形態において、さらに変更されないことが分かっている場合には、自動判別の処理を省くため、自動判別対象の「ネットワーク種別」及び「携帯キャリア」の内、いずれかを固定値としてもよい。 (Iv) In the second embodiment, when it is known that there is no further change, in order to omit automatic discrimination processing, either “network type” or “mobile carrier” to be automatically discriminated is fixed. It may be a value.

(v)第3の実施形態において、動的に変更されるネットワーク種別のいずれか一方で、WebSocketではなくポーリング方式を採用してもよい。 (V) In the third embodiment, instead of WebSocket, a polling method may be adopted for any one of network types that are dynamically changed.

(5)まとめ
(i)本発明は、サーバ装置(配信装置)から通信端末装置(クライアント端末装置)にメッセージをWebSocketプロトコルでプッシュ送信するメッセージプッシュ配信システムに関する。当該システムにおいて、クライアント端末装置は、ネットワーク構成要素毎にネットワークの無通信タイマを回避するのに必要な接続維持間隔(携帯通信のキャリア別の接続維持間隔、クラウド基盤別の接続維持間隔、Wifi通信の接続維持間隔)の情報(システム改変時でも変更不要な固定の情報)を事前に保持しておき、利用する構成要素を指定するだけで全要素の無通信タイマを回避できるように接続維持間隔の最小値を、接続維持間隔として採用する。このようにすることにより、顧客間で又は同一顧客によって利用されているネットワーク構成において、システム構成要素が静的に変わった場合でもシステム全体の接続維持間隔を、システム構成要素すべてに関し調べ直すことが不要となる。また、接続に必要な情報をネットワーク種別毎に分けて管理する構成とすることで、ネットワーク種別の静的変更に伴う接続先変更の作業量が軽減される。なお、当該システムでは、クライアント端末装置は、自動車等の乗り物に設置して利用することを想定している。
(5) Summary (i) The present invention relates to a message push delivery system that pushes a message from a server device (distribution device) to a communication terminal device (client terminal device) using the WebSocket protocol. In the system, the client terminal device maintains a connection maintenance interval (connection maintenance interval for each carrier of mobile communication, connection maintenance interval for each cloud platform, WiFi communication) necessary for avoiding a network non-communication timer for each network component. Connection maintenance interval) information (fixed information that does not need to be changed even when the system is modified) in advance, and the connection maintenance interval can be avoided so that the no-communication timer can be avoided by simply specifying the components to be used. Is used as the connection maintenance interval. In this way, in the network configuration used between customers or by the same customer, even if the system components are statically changed, the connection maintenance interval of the entire system can be reviewed for all the system components. It becomes unnecessary. Also, by configuring the information necessary for connection separately for each network type, the amount of work for changing the connection destination accompanying the static change of the network type is reduced. In this system, it is assumed that the client terminal device is installed and used on a vehicle such as an automobile.

また、クライアント端末装置は、無通信となった後に一定期間、接続維持のための信号を配信装置に再送するが、それに対する応答が配信装置から無い場合に切断を行う再送タイマ手段と再接続を行う再接続手段を有している。これにより、電波が良好でない環境を含め一定の即時性を確保することができるようになる。   In addition, the client terminal device retransmits a signal for maintaining the connection to the distribution device for a certain period of time after the absence of communication, but reconnects with the retransmission timer means for disconnecting when there is no response from the distribution device. Reconnect means to perform. This makes it possible to ensure a certain level of immediacy including an environment where radio waves are not good.

接続維持間隔の最小値を取得する際、クライアント端末装置は、携帯通信のキャリア別の接続維持間隔、クラウド基盤別の接続維持間隔、及びWifi通信の接続維持間隔の他に、利用者が指定する最大接続維持時間間隔(最低でもこの程度の接続維持間隔は満足すべきとする利用者の要望値)を含めて、最小値を判断するようにしている。これにより、電波が良好でない環境を含め、顧客の要望する即時性を確保することができるようになる。   When acquiring the minimum value of the connection maintenance interval, the client terminal device specifies in addition to the connection maintenance interval for each carrier of mobile communication, the connection maintenance interval for each cloud platform, and the connection maintenance interval for WiFi communication. The minimum value is determined including the maximum connection maintenance time interval (the user's desired value that this connection maintenance interval should satisfy at least). Thereby, the immediacy requested by the customer can be ensured including the environment where the radio wave is not good.

本発明(第2の実施形態)では、クライアント端末装置は、携帯通信回線かWifiかといったネットワーク種別を、クライアント端末装置が有するOSの保持情報を参照することにより自動判定し、さらに、ネットワーク種別が携帯通信回線の場合には自動で通信キャリアを判別する。このようにすることにより、動的にネットワーク種別、携帯キャリアが変更された際に、その変更を検知して再接続し、自動でネットワーク構成を切り替えることができるようになる。この場合、接続先アドレス、認証情報といった接続に必要な情報、そのネットワーク環境にあった接続維持間隔といった接続維持に必要な情報を自動で設定する。   In the present invention (second embodiment), the client terminal device automatically determines the network type such as the mobile communication line or the WiFi by referring to the OS holding information held by the client terminal device. In the case of a mobile communication line, the communication carrier is automatically determined. By doing so, when the network type and the mobile carrier are dynamically changed, the change can be detected and reconnected, and the network configuration can be automatically switched. In this case, information necessary for connection such as a connection destination address and authentication information, and information necessary for connection maintenance such as a connection maintenance interval suitable for the network environment are automatically set.

また、本発明(第3の実施形態)では、利用者は、最大接続維持間隔の代わりに、顧客から見てより分かり易い概念である最大不通時間を入力値として設定する。そして、最大不通時間と接続維持信号再送間隔、接続維持信号再送回数から、最大接続維持間隔を算出する。このようにすることにより、利用者にとってより分かり易いシステムを提供することができる。   Further, in the present invention (third embodiment), the user sets, as an input value, the maximum off time, which is a concept that is easier to understand from the customer, instead of the maximum connection maintenance interval. Then, the maximum connection maintenance interval is calculated from the maximum interruption time, the connection maintenance signal retransmission interval, and the connection maintenance signal retransmission count. By doing so, it is possible to provide a user-friendly system.

(ii)本発明は、実施形態の機能を実現するソフトウェアのプログラムコードによっても実現できる。この場合、プログラムコードを記録した記憶媒体をシステム或は装置に提供し、そのシステム或は装置のコンピュータ(又はCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出す。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコード自体、及びそれを記憶した記憶媒体は本発明を構成することになる。このようなプログラムコードを供給するための記憶媒体としては、例えば、フレキシブルディスク、CD−ROM、DVD−ROM、ハードディスク、光ディスク、光磁気ディスク、CD−R、磁気テープ、不揮発性のメモリカード、ROMなどが用いられる。 (Ii) The present invention can also be realized by software program codes that implement the functions of the embodiments. In this case, a storage medium in which the program code is recorded is provided to the system or apparatus, and the computer (or CPU or MPU) of the system or apparatus reads the program code stored in the storage medium. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the program code itself and the storage medium storing the program code constitute the present invention. As a storage medium for supplying such program code, for example, a flexible disk, CD-ROM, DVD-ROM, hard disk, optical disk, magneto-optical disk, CD-R, magnetic tape, nonvolatile memory card, ROM Etc. are used.

また、プログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)などが実際の処理の一部又は全部を行い、その処理によって前述した実施の形態の機能が実現されるようにしてもよい。さらに、記憶媒体から読み出されたプログラムコードが、コンピュータ上のメモリに書きこまれた後、そのプログラムコードの指示に基づき、コンピュータのCPUなどが実際の処理の一部又は全部を行い、その処理によって前述した実施の形態の機能が実現されるようにしてもよい。   Also, based on the instruction of the program code, an OS (operating system) running on the computer performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing. May be. Further, after the program code read from the storage medium is written in the memory on the computer, the computer CPU or the like performs part or all of the actual processing based on the instruction of the program code. Thus, the functions of the above-described embodiments may be realized.

さらに、実施の形態の機能を実現するソフトウェアのプログラムコードを、ネットワークを介して配信することにより、それをシステム又は装置のハードディスクやメモリ等の記憶手段又はCD−RW、CD−R等の記憶媒体に格納し、使用時にそのシステム又は装置のコンピュータ(又はCPUやMPU)が当該記憶手段や当該記憶媒体に格納されたプログラムコードを読み出して実行するようにしても良い。   Further, by distributing the program code of the software that realizes the functions of the embodiment via a network, it is stored in a storage means such as a hard disk or memory of a system or apparatus, or a storage medium such as a CD-RW or CD-R And the computer (or CPU or MPU) of the system or apparatus may read and execute the program code stored in the storage means or the storage medium when used.

最後に、ここで述べたプロセス及び技術は本質的に如何なる特定の装置に関連することはなく、コンポーネントの如何なる相応しい組み合わせによってでも実装できることを理解する必要がある。更に、汎用目的の多様なタイプのデバイスがここで記述した教授に従って使用可能である。ここで述べた方法のステップを実行するのに、専用の装置を構築するのが有益であることが判るかもしれない。また、実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。さらに、異なる実施形態にわたる構成要素を適宜組み合わせてもよい。本発明は、具体例に関連して記述したが、これらは、すべての観点に於いて限定の為ではなく説明の為である。本分野にスキルのある者には、本発明を実施するのに相応しいハードウェア、ソフトウェア、及びファームウエアの多数の組み合わせがあることが解るであろう。例えば、記述したソフトウェアは、アセンブラ、C/C++、perl、Shell、PHP、Java(登録商標)等の広範囲のプログラム又はスクリプト言語で実装できる。   Finally, it should be understood that the processes and techniques described herein are not inherently related to any particular apparatus, and can be implemented by any suitable combination of components. In addition, various types of devices for general purpose can be used in accordance with the teachings described herein. It may prove useful to build a dedicated device to perform the method steps described herein. Various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the embodiments. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, constituent elements over different embodiments may be appropriately combined. Although the present invention has been described with reference to specific examples, these are in all respects illustrative rather than restrictive. Those skilled in the art will appreciate that there are numerous combinations of hardware, software, and firmware that are suitable for implementing the present invention. For example, the described software can be implemented in a wide range of programs or script languages such as assembler, C / C ++, perl, shell, PHP, Java (registered trademark).

さらに、上述の実施形態において、制御線や情報線は説明上必要と考えられるものを示しており、製品上必ずしも全ての制御線や情報線を示しているとは限らない。全ての構成が相互に接続されていても良い。   Furthermore, in the above-described embodiment, control lines and information lines are those that are considered necessary for explanation, and not all control lines and information lines on the product are necessarily shown. All the components may be connected to each other.

加えて、本技術分野の通常の知識を有する者には、本発明のその他の実装がここに開示された本発明の明細書及び実施形態の考察から明らかになる。記述された実施形態の多様な態様及び/又はコンポーネントは、データを管理する機能を有するコンピュータ化ストレージシステムに於いて、単独又は如何なる組み合わせでも使用することが出来る。明細書と具体例は典型的なものに過ぎず、本発明の範囲と精神は後続する請求範囲で示される。   In addition, other implementations of the invention will be apparent to those skilled in the art from consideration of the specification and embodiments of the invention disclosed herein. Various aspects and / or components of the described embodiments can be used singly or in any combination in a computerized storage system capable of managing data. The specification and specific examples are merely exemplary, and the scope and spirit of the invention are indicated in the following claims.

1・・・管理者端末装置
11A、21A、31A・・・CPU
11B、21B、31B・・・メモリ
13、23、33・・・外部記憶装置
2・・・配信装置
3・・・クライアント端末装置
4・・・インターネット
5・・・携帯電話網
6・・・Wifi網
13A・・・管理者操作送信部
13B、33C・・表示処理部
23A・・・管理者操作応答部
23B・・・サーバ管理部
23C・・・WebSocketサーバ側通信部
23B1・・・送信内容リストテーブル
23B2・・・送信先端末リストテーブル
33A・・・クライアント管理部
33B・・・WebSocketクライアント側通信部
33D・・・携帯回線接続部
33E・・・Wifi検索・接続部
1 ... Administrator terminal device 11A, 21A, 31A ... CPU
11B, 21B, 31B ... Memory 13, 23, 33 ... External storage device 2 ... Distribution device 3 ... Client terminal device 4 ... Internet 5 ... Mobile phone network 6 ... WiFi Network 13A: administrator operation transmission unit 13B, 33C, display processing unit 23A, administrator operation response unit 23B, server management unit 23C, WebSocket server side communication unit 23B1, transmission content list Table 23B2 ... Destination terminal list table 33A ... Client management unit 33B ... WebSocket client side communication unit 33D ... Mobile line connection unit 33E ... WiFi search / connection unit

Claims (15)

サーバ装置がプッシュ送信するメッセージを受け取る通信端末装置であって、
プログラムに従って、WebSocketプロトコルを用いて前記サーバ装置からメッセージを受信し、前記サーバ装置に対してWebSocket接続維持のための信号を送信するプロセッサと、
少なくとも、携帯電話通信キャリア別の接続維持間隔情報と、クラウド基盤別の接続維持間隔情報と、利用者が利用するネットワークの構成要素を示す利用ネットワーク構成情報と、を格納するメモリと、を備え、
前記通信端末装置は、前記サーバ装置及びクラウド基盤と、携帯電話通信キャリア又はwifi網とインターネットとを介してそれぞれ接続されており、
前記プロセッサは、前記利用ネットワーク構成情報に基づいて、前記利用者が現在利用している携帯電話通信キャリアの接続維持間隔及びクラウド基盤の接続維持間隔を特定する接続維持間隔特定処理と、当該特定した携帯電話通信キャリアの接続維持間隔とクラウド基盤の接続維持間隔の何れが最小かを判定する最小接続維持間隔判定処理と、前記最小接続維持間隔判定処理によって判定された最小の接続維持間隔を用いて前記サーバ装置との通信接続を確立する接続確立処理と、を実行し、
前記携帯電話通信キャリア別の接続維持間隔情報及び前記クラウド基盤別の接続維持間隔情報は書き換え不要の固定の情報であり、前記利用ネットワーク構成情報は利用者毎に設定される情報であることを特徴とする通信端末装置。
A communication terminal device that receives a message that the server device pushes,
A processor for receiving a message from the server device using a WebSocket protocol according to a program and transmitting a signal for maintaining a WebSocket connection to the server device;
A memory for storing at least connection maintenance interval information for each mobile phone communication carrier, connection maintenance interval information for each cloud platform, and use network configuration information indicating a network component used by a user ;
The communication terminal device is connected to the server device and the cloud infrastructure via a mobile phone communication carrier or a wifi network and the Internet, respectively.
Based on the use network configuration information, the processor specifies a connection maintenance interval specifying process for specifying a connection maintenance interval and a cloud-based connection maintenance interval of a mobile phone communication carrier currently used by the user, and the specified Using the minimum connection maintenance interval determination processing for determining which of the connection maintenance interval of the mobile phone communication carrier and the connection maintenance interval of the cloud infrastructure is minimum, and the minimum connection maintenance interval determined by the minimum connection maintenance interval determination processing A connection establishment process for establishing a communication connection with the server device,
The connection maintenance interval information for each mobile phone communication carrier and the connection maintenance interval information for each cloud platform are fixed information that does not need to be rewritten, and the use network configuration information is information set for each user. A communication terminal device.
請求項1において、
前記メモリは、さらに、前記利用者が最低でも満足すべきであると要求する接続維持間隔を示す最大接続維持間隔の情報を格納し、
前記プロセッサは、前記接続維持間隔特定処理において、前記特定した携帯電話通信キャリアの接続維持間隔、前記特定したクラウド基盤の接続維持間隔、及び前記最大接続維持間隔のうち、何れが最小かを判定することを特徴とする通信端末装置。
In claim 1,
The memory further stores information on a maximum connection maintenance interval indicating a connection maintenance interval that the user should satisfy at least,
In the connection maintenance interval specifying process, the processor determines which of the specified mobile phone communication carrier connection maintenance interval, the specified cloud-based connection maintenance interval, and the maximum connection maintenance interval is the smallest. A communication terminal device.
請求項2において、
前記メモリは、さらに、変更可能なWifi通信の接続維持間隔情報を格納し、
前記プロセッサは、さらに、前記利用ネットワーク構成情報を参照して、前記利用者が現在利用しているネットワークが携帯電話通信網かWifi通信網か判定する処理と、利用ネットワークがWifi通信網の場合に、前記Wifi通信の接続維持間隔、及び前記クラウド基盤の接続維持間隔を特定する処理と、当該特定したWifi通信の接続維持間隔、前記クラウド基盤の接続維持間隔、及び前記最大接続維持間隔の何れが最小かを判定する処理と、を実行することを特徴とする通信端末装置。
In claim 2,
The memory further stores changeable Wifi communication connection maintenance interval information,
The processor further refers to the use network configuration information to determine whether the network currently used by the user is a cellular phone communication network or a WiFi communication network, and when the use network is a WiFi communication network. The process of specifying the connection maintenance interval of the WiFi communication and the connection maintenance interval of the cloud infrastructure, and the connection maintenance interval of the specified WiFi communication, the connection maintenance interval of the cloud infrastructure, and the maximum connection maintenance interval are And a process for determining whether or not the communication terminal device is minimum.
請求項2において、
前記メモリは、さらに、前記WebSocket接続維持のための信号の再送間隔及び再送回数を規定する再送処理関連情報を格納し、
前記再送処理関連情報は書き換え不要の固定の情報であり、
前記プロセッサは、さらに、一定時間の無通信状態を検知した場合に、前記再送間隔及び前記再送回数に従って、前記WebSocket接続維持のための信号を再送する処理と、前記再送回数の上限に達した場合には、前記利用者が意図しないWebSocket通信の切断であることを示すフラグ情報を前記通信端末装置内に設定することを特徴とする通信端末装置。
In claim 2,
The memory further stores retransmission processing related information defining a retransmission interval and the number of retransmissions of the signal for maintaining the WebSocket connection,
The retransmission processing related information is fixed information that does not require rewriting,
When the processor further detects a no-communication state for a certain period of time, the processing for retransmitting the signal for maintaining the WebSocket connection according to the retransmission interval and the number of retransmissions, and when the upper limit of the number of retransmissions is reached In the communication terminal apparatus, flag information indicating that disconnection of WebSocket communication not intended by the user is set in the communication terminal apparatus.
請求項4において、
前記プロセッサは、前記フラグ情報を参照して直近の通信切断が前記利用者の意図しない切断であると判断する処理を実行し、
前記プロセッサは、前記通信切断が前記利用者の意図しない切断である場合に、前記接続維持間隔特定処理、前記最小接続維持間隔判定処理、及び前記接続確立処理を実行することを特徴とする通信端末装置。
In claim 4,
The processor executes a process of determining that the latest communication disconnection is a disconnection unintended by the user with reference to the flag information,
The processor performs the connection maintenance interval identification processing, the minimum connection maintenance interval determination processing, and the connection establishment processing when the communication disconnection is disconnection that is not intended by the user. apparatus.
請求項2において、
前記メモリは、さらに、変更可能なWifi通信の接続維持間隔情報を格納し、
前記プロセッサは、さらに、前記通信端末装置のOSを参照して、前記利用者が現在利用しているネットワークが携帯電話通信網かWifi通信網か判定する処理と、利用ネットワークがWifi通信網の場合に、前記Wifi通信の接続維持間隔、及び前記クラウド基盤の接続維持間隔を特定する処理と、当該特定したWifi通信の接続維持間隔、前記クラウド基盤の接続維持間隔、及び前記最大接続維持間隔の何れが最小かを判定する処理と、を実行することを特徴とする通信端末装置。
In claim 2,
The memory further stores changeable Wifi communication connection maintenance interval information,
The processor further refers to the OS of the communication terminal device to determine whether the network currently used by the user is a cellular phone communication network or a WiFi communication network, and when the use network is a WiFi communication network The connection maintenance interval of the WiFi communication and the connection maintenance interval of the cloud infrastructure, and the connection maintenance interval of the specified WiFi communication, the connection maintenance interval of the cloud infrastructure, and the maximum connection maintenance interval And a process for determining whether or not the communication terminal is minimum.
請求項1において、
前記メモリは、さらに、前記利用者が設定した通信の最大不通時間の情報を格納し、
前記プロセッサは、さらに、前記最大不通時間から前記利用者が要求する最大接続維持間隔を算出する処理を実行し、
前記プロセッサは、前記接続維持間隔特定処理において、前記特定した携帯電話通信キャリアの接続維持間隔、前記特定したクラウド基盤の接続維持間隔、及び前記算出した最大接続維持間隔のうち、何れが最小かを判定することを特徴とする通信端末装置。
In claim 1,
The memory further stores information on a maximum communication interruption time set by the user,
The processor further executes a process of calculating a maximum connection maintenance interval requested by the user from the maximum interruption time,
In the connection maintenance interval specifying process, the processor determines which is the minimum of the specified mobile phone communication carrier connection maintenance interval, the specified cloud-based connection maintenance interval, and the calculated maximum connection maintenance interval. A communication terminal device characterized by determining.
請求項1の通信端末装置と、
前記通信端末装置に対してWebSocket通信を用いてメッセージをプッシュ送信するサーバ装置と、
前記サーバ装置に対して、送信すべきメッセージの内容と当該メッセージを送信すべき対象である通信端末装置を指示する管理者端末装置と、
を有することを特徴とするメッセージ配信システム。
A communication terminal device according to claim 1;
A server device that pushes a message to the communication terminal device using WebSocket communication;
An administrator terminal device that instructs the server device to indicate the content of the message to be transmitted and the communication terminal device to which the message is to be transmitted;
A message delivery system comprising:
メッセージをプッシュ送信するサーバ装置と、当該メッセージを受け取る通信端末装置との間で実行される通信方法であって、
前記通信端末装置は、プログラムに従って、WebSocketプロトコルを用いて前記サーバ装置からメッセージを受信し、前記サーバ装置に対してWebSocket接続維持のための信号を送信するプロセッサと、少なくとも、携帯電話通信キャリア別の接続維持間隔情報と、クラウド基盤別の接続維持間隔情報と、利用者が利用するネットワークの構成要素を示す利用ネットワーク構成情報と、を格納するメモリと、を有し、
前記通信端末装置は、前記サーバ装置及びクラウド基盤と、携帯電話通信キャリア又はwifi網とインターネットとを介してそれぞれ接続されており、
前記通信方法は、
前記プロセッサが、前記利用ネットワーク構成情報に基づいて、前記利用者が現在利用している携帯電話通信キャリアの接続維持間隔及びクラウド基盤の接続維持間隔を特定する接続維持間隔特定ステップと、
前記プロセッサが、前記特定した携帯電話通信キャリアの接続維持間隔とクラウド基盤の接続維持間隔の何れが最小かを判定する最小接続維持間隔判定ステップと、
前記プロセッサが、前記最小接続維持間隔判定ステップにおいて判定された最小の接続維持間隔を用いて前記サーバ装置との通信接続を確立する接続確立ステップと、を有し、
前記携帯電話通信キャリア別の接続維持間隔情報及び前記クラウド基盤別の接続維持間隔情報は書き換え不要の固定の情報であり、前記利用ネットワーク構成情報は利用者毎に設定される情報であることを特徴とする通信方法。
A communication method executed between a server device that pushes a message and a communication terminal device that receives the message,
The communication terminal device receives a message from the server device using a WebSocket protocol according to a program, transmits a signal for maintaining a WebSocket connection to the server device, and at least for each mobile phone communication carrier A memory for storing connection maintenance interval information, connection maintenance interval information for each cloud platform, and use network configuration information indicating network components used by a user;
The communication terminal device is connected to the server device and the cloud platform via a mobile phone communication carrier or wifi network and the Internet, respectively.
The communication method is:
A connection maintenance interval specifying step in which the processor specifies a connection maintenance interval of a mobile phone communication carrier currently used by the user and a cloud-based connection maintenance interval based on the use network configuration information;
A minimum connection maintenance interval determination step for determining which of the connection maintenance interval of the identified mobile phone communication carrier and the cloud-based connection maintenance interval is the processor is minimum;
The processor has a connection establishment step of establishing a communication connection with the server device using the minimum connection maintenance interval determined in the minimum connection maintenance interval determination step ;
The connection maintenance interval information for each mobile phone communication carrier and the connection maintenance interval information for each cloud platform are fixed information that does not need to be rewritten, and the use network configuration information is information set for each user. Communication method.
請求項9において、
前記メモリは、さらに、前記利用者が最低でも満足すべきであると要求する接続維持間隔を示す最大接続維持間隔の情報を格納し、
前記接続維持間隔特定ステップにおいて、前記プロセッサは、前記特定した携帯電話通信キャリアの接続維持間隔、前記特定したクラウド基盤の接続維持間隔、及び前記最大接続維持間隔のうち、何れが最小かを判定することを特徴とする通信方法。
In claim 9,
The memory further stores information on a maximum connection maintenance interval indicating a connection maintenance interval that the user should satisfy at least,
In the connection maintenance interval specifying step, the processor determines which of the specified mobile phone communication carrier connection maintenance interval, the specified cloud-based connection maintenance interval, and the maximum connection maintenance interval is minimum. A communication method characterized by the above.
請求項10において、
前記メモリは、さらに、変更可能なWifi通信の接続維持間隔情報を格納し、
前記通信方法は、さらに、
前記プロセッサが、前記利用ネットワーク構成情報を参照して、前記利用者が現在利用しているネットワークが携帯電話通信網かWifi通信網か判定するステップと、
前記プロセッサが、利用ネットワークがWifi通信網の場合に、前記Wifi通信の接続維持間隔、及び前記クラウド基盤の接続維持間隔を特定するステップと、
前記プロセッサが、前記該特定したWifi通信の接続維持間隔、前記クラウド基盤の接続維持間隔、及び前記最大接続維持間隔の何れが最小かを判定するステップと、
を有することを特徴とする通信方法。
In claim 10,
The memory further stores changeable Wifi communication connection maintenance interval information,
The communication method further includes:
The processor refers to the use network configuration information to determine whether the network currently used by the user is a cellular phone communication network or a WiFi communication network;
The processor specifying a connection maintenance interval of the WiFi communication and a connection maintenance interval of the cloud infrastructure when a use network is a WiFi communication network; and
The processor determining which of the specified WiFi communication connection maintenance interval, the cloud-based connection maintenance interval, and the maximum connection maintenance interval is minimum;
A communication method characterized by comprising:
請求項10において、
前記メモリは、さらに、前記WebSocket接続維持のための信号の再送間隔及び再送回数を規定する再送処理関連情報を格納し、
前記再送処理関連情報は書き換え不要の固定の情報であり、
前記通信方法は、さらに、
前記プロセッサが、一定時間の無通信状態を検知した場合に、前記再送間隔及び前記再送回数に従って、前記WebSocket接続維持のための信号を再送するステップと、
前記プロセッサが、前記再送回数の上限に達した場合には、前記利用者が意図しないWebSocket通信の切断であることを示すフラグ情報を前記通信端末装置内に設定するステップと、
を有することを特徴とする通信方法。
In claim 10,
The memory further stores retransmission processing related information defining a retransmission interval and the number of retransmissions of the signal for maintaining the WebSocket connection,
The retransmission processing related information is fixed information that does not require rewriting,
The communication method further includes:
Retransmitting the signal for maintaining the WebSocket connection according to the retransmission interval and the number of retransmissions when the processor detects a no-communication state for a predetermined time;
When the processor reaches the upper limit of the number of retransmissions, setting flag information indicating disconnection of WebSocket communication unintended by the user in the communication terminal device;
A communication method characterized by comprising:
請求項12において、さらに、
前記プロセッサが、前記フラグ情報を参照して直近の通信切断が前記利用者の意図しない切断であると判断するステップと、
前記プロセッサが、前記通信切断が前記利用者の意図しない切断である場合に、前記接続維持間隔特定ステップ、前記最小接続維持間隔判定ステップ、及び前記接続確立ステップを実行することを特徴とする通信方法。
The claim 12, further comprising:
The processor refers to the flag information to determine that the latest communication disconnection is a disconnection unintended by the user;
The communication method, wherein the processor executes the connection maintenance interval specifying step, the minimum connection maintenance interval determination step, and the connection establishment step when the communication disconnection is a disconnection unintended by the user. .
請求項10において、
前記メモリは、さらに、変更可能なWifi通信の接続維持間隔情報を格納し、
前記通信方法は、さらに、
前記プロセッサが、前記通信端末装置のOSを参照して、前記利用者が現在利用しているネットワークが携帯電話通信網かWifi通信網か判定するステップと、
前記プロセッサが、利用ネットワークがWifi通信網の場合に、前記Wifi通信の接続維持間隔、及び前記クラウド基盤の接続維持間隔を特定するステップと、
前記プロセッサが、前記特定したWifi通信の接続維持間隔、前記クラウド基盤の接続維持間隔、及び前記最大接続維持間隔の何れが最小かを判定するステップと、
を有することを特徴とする通信方法。
In claim 10,
The memory further stores changeable Wifi communication connection maintenance interval information,
The communication method further includes:
The processor refers to the OS of the communication terminal device to determine whether the network currently used by the user is a cellular phone communication network or a WiFi communication network;
The processor specifying a connection maintenance interval of the WiFi communication and a connection maintenance interval of the cloud infrastructure when a use network is a WiFi communication network; and
The processor determining which of the specified WiFi communication connection maintenance interval, the cloud-based connection maintenance interval, and the maximum connection maintenance interval is minimum;
A communication method characterized by comprising:
請求項9において、
前記メモリは、さらに、前記利用者が設定した通信の最大不通時間の情報を格納し、
前記通信方法は、さらに、
前記プロセッサが、前記最大不通時間から前記利用者が要求する最大接続維持間隔を算
出するステップと、を有し、
前記プロセッサは、前記接続維持間隔特定ステップにおいて、前記特定した携帯電話通信キャリアの接続維持間隔、前記特定したクラウド基盤の接続維持間隔、及び前記算出した最大接続維持間隔のうち、何れが最小かを判定することを特徴とする通信方法。
In claim 9,
The memory further stores information on a maximum communication interruption time set by the user,
The communication method further includes:
The processor calculates a maximum connection maintenance interval requested by the user from the maximum outage time;
In the connection maintenance interval specifying step, the processor determines which is the minimum of the specified mobile phone communication carrier connection maintenance interval, the specified cloud-based connection maintenance interval, and the calculated maximum connection maintenance interval. A communication method characterized by determining.
JP2012196312A 2012-09-06 2012-09-06 COMMUNICATION TERMINAL DEVICE, MESSAGE DISTRIBUTION SYSTEM, AND COMMUNICATION METHOD Expired - Fee Related JP5887231B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012196312A JP5887231B2 (en) 2012-09-06 2012-09-06 COMMUNICATION TERMINAL DEVICE, MESSAGE DISTRIBUTION SYSTEM, AND COMMUNICATION METHOD

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012196312A JP5887231B2 (en) 2012-09-06 2012-09-06 COMMUNICATION TERMINAL DEVICE, MESSAGE DISTRIBUTION SYSTEM, AND COMMUNICATION METHOD

Publications (2)

Publication Number Publication Date
JP2014053732A JP2014053732A (en) 2014-03-20
JP5887231B2 true JP5887231B2 (en) 2016-03-16

Family

ID=50611815

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012196312A Expired - Fee Related JP5887231B2 (en) 2012-09-06 2012-09-06 COMMUNICATION TERMINAL DEVICE, MESSAGE DISTRIBUTION SYSTEM, AND COMMUNICATION METHOD

Country Status (1)

Country Link
JP (1) JP5887231B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6470966B2 (en) 2014-12-24 2019-02-13 株式会社東芝 COMMUNICATION DEVICE, SERVER DEVICE, COMMUNICATION METHOD, AND PROGRAM
JP6251210B2 (en) * 2015-03-25 2017-12-20 Kddi株式会社 Terminal device, communication session establishment method, and program

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007310738A (en) * 2006-05-19 2007-11-29 Softbank Telecom Corp Content distribution system, content distribution method, and content distribution program
JP4732523B2 (en) * 2007-01-18 2011-07-27 パナソニック株式会社 Communication device and power supply method
JP2009110412A (en) * 2007-10-31 2009-05-21 Iwatsu Electric Co Ltd Pseudo server-push type data delivery method
US20100124211A1 (en) * 2008-11-17 2010-05-20 Qualcomm Incorporated Reducing an occurrence of a voip call on hold from being dropped in ev-do systems
US8898487B2 (en) * 2010-12-27 2014-11-25 Microsoft Corporation Power management via coordination and selective operation of timer-related tasks

Also Published As

Publication number Publication date
JP2014053732A (en) 2014-03-20

Similar Documents

Publication Publication Date Title
JP6831467B2 (en) Communication Systems Core Networks and Methods for Providing Heartbeat Messages
CN110012083B (en) Data transmission method, server and data transmission device
US9503957B2 (en) Low cost mesh network capability
US20130179558A1 (en) Server management using a baseboard management controller to establish a wireless network
RU2663711C2 (en) Method, device and d2d detection system
KR101531532B1 (en) Method and apparatus for using service of home network device based on remote access
CN113783922A (en) Load balancing method, system and device
WO2020253531A1 (en) Communication method and apparatus, entity and storage medium
CN101621548A (en) Method and system for realizing terminal resource sharing based on peer connection system
CN110771097B (en) Connectivity monitoring for data tunneling between network device and application server
JP2012083891A (en) Failover system, storage processor, and failover control method
JP5887231B2 (en) COMMUNICATION TERMINAL DEVICE, MESSAGE DISTRIBUTION SYSTEM, AND COMMUNICATION METHOD
US9209991B1 (en) Ad hoc networking
WO2014015743A1 (en) Method for downloading application program, user equipment and application server
US8456671B2 (en) Communication system, information storage device, management device, and terminal device
JP5739370B2 (en) Message delivery system and message delivery method
US9866644B2 (en) Terminal, message distribution system, message distribution method, and computer-readable medium
KR20120052444A (en) File transmission management system and file transmission mangement method for supporting file transmission in mobile messaging service
JPWO2015059849A1 (en) COMMUNICATION SYSTEM, COMMON SERVICE CONTROL DEVICE, DATA TRANSMISSION METHOD, AND PROGRAM
JP6555627B2 (en) Information distribution apparatus, push notification transmission method, and computer program
JP6360143B2 (en) Information distribution apparatus, push notification transmission method, and computer program
JP5292335B2 (en) Connection destination node selection method, apparatus and program
JP5804794B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP6072114B2 (en) Information distribution apparatus, push notification transmission method, and computer program
CN118018587A (en) Long connection method, device and communication equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150126

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150909

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20151013

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151214

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160215

R150 Certificate of patent or registration of utility model

Ref document number: 5887231

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees