JP5525022B2 - Terminal, server, data transfer system, and computer program - Google Patents

Terminal, server, data transfer system, and computer program Download PDF

Info

Publication number
JP5525022B2
JP5525022B2 JP2012222266A JP2012222266A JP5525022B2 JP 5525022 B2 JP5525022 B2 JP 5525022B2 JP 2012222266 A JP2012222266 A JP 2012222266A JP 2012222266 A JP2012222266 A JP 2012222266A JP 5525022 B2 JP5525022 B2 JP 5525022B2
Authority
JP
Japan
Prior art keywords
data
transfer condition
server
information
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2012222266A
Other languages
Japanese (ja)
Other versions
JP2014075702A (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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2012222266A priority Critical patent/JP5525022B2/en
Publication of JP2014075702A publication Critical patent/JP2014075702A/en
Application granted granted Critical
Publication of JP5525022B2 publication Critical patent/JP5525022B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Description

本発明は、端末、サーバ、データ転送システム、およびコンピュータプログラムに関するものである。   The present invention relates to a terminal, a server, a data transfer system, and a computer program.

複数の端末から送信されたデータを複数のサーバで受信する形態のデータ転送システムでは、以下のような負荷分散の方法がある。   In a data transfer system in which data transmitted from a plurality of terminals is received by a plurality of servers, there are the following load distribution methods.

1)データ送信の要求時に、データを受信するサーバを決める(振り分ける)機能をサーバ側に設ける。2)端末が、データを受信するサーバのアドレスをアドレス解決サーバから取得し、そのサーバにデータを送信する。 1) A function for determining (distributing) a server that receives data at the time of a data transmission request is provided on the server side. 2) The terminal acquires the address of the server that receives the data from the address resolution server, and transmits the data to the server.

「サーバの負荷分散 泊正和」、[online]、ネットワンシステムズ株式会社、[平成24年9月20日検索]、インターネット<URL:http://www.nic.ad.jp/ja/materials/iw/2004/proceedings/T12.pdf>“Server Load Balancing Masakazu Tomari”, [online], Net One Systems Co., Ltd. [searched on September 20, 2012], Internet <URL: http://www.nic.ad.jp/en/materials/ iw / 2004 / proceedings / T12.pdf>

上記の方法では、以下のような問題点がある。   The above method has the following problems.

1)の方法では、データを受信するサーバを決めたら、各サーバが一斉にデータを受信するので、サーバ側での通信量が多く、負荷分散が難しい。また、遅延も生じる。 In the method 1), once a server that receives data is determined, each server receives the data all at once, so the amount of communication on the server side is large and load distribution is difficult. There is also a delay.

2)の方法では、端末は、アドレス解決サーバからアドレスのみを取得するので、データや端末の種別に基づく優先度に応じたデータ送信が難しい。 In the method 2), since the terminal acquires only the address from the address resolution server, it is difficult to transmit data according to the priority based on the data and the type of the terminal.

本発明は、上記の課題に鑑みてなされたものであり、その目的とするところは、端末側での処理によりサーバへの負荷低減を図り、且つ、データおよび端末の種別に基づく優先度に応じたデータ送信を可能とすることにある。   The present invention has been made in view of the above-described problems, and the object of the present invention is to reduce the load on the server by processing on the terminal side, and according to the priority based on the type of data and terminal It is to enable data transmission.

上記の課題を解決するために、第1の本発明は、データをサーバに送信する端末において、複数の端末の種別の1つを示す端末種別情報、該端末種別情報に対応する種別の端末から送信される複数のデータの種別の1つを示すデータ種別情報、当該1つの種別のデータを受信できる複数のサーバの1つを示すサーバ識別情報、当該複数のサーバの中での当該1つのサーバの優先度、当該1つのサーバに送信されたデータを当該サーバが受信できない場合のデータの再送回数の最大値を示す許容再送回数、当該サーバがデータを受信できる時間帯を示す許容時間帯情報、ならびに、当該サーバがデータを受信してから再び受信できるまでの時間の長さを示す待ち時間情報を有する転送条件情報を1以上備える転送条件テーブルを記憶する転送条件テーブル記憶部と、前記転送条件テーブル内の転送条件情報であって、当該転送条件情報内の端末種別情報が当該転送条件テーブルを有する端末の種別に対応するという条件、当該転送条件情報内のデータ種別情報が当該端末から送信しようとするデータの種別に対応するという条件、当該転送条件情報内の許容時間帯情報に対応する時間帯に現在時刻が含まれるという条件を満たし、さらに、当該データの送信が当該転送条件情報内のサーバ識別情報に対応するサーバへの再送であるなら、当該データを送信した場合の再送回数が当該転送条件情報内の許容再送回数以下であるという条件並びに前回の送信から今回の送信までの時間の長さが当該転送条件情報内の待ち時間情報に対応する時間の長さ以上であるという条件を満たす当該転送条件情報の有無を判定し、当該各条件を満たす当該転送条件情報が1つだけあるなら当該転送条件情報内のサーバ識別情報に対応するサーバに当該データを送信する一方、当該各条件を満たす当該転送条件情報が2つ以上あるなら当該各転送条件情報から優先度を読み出し、最も高い当該優先度を含む転送条件情報内のサーバ識別情報に対応するサーバに当該データを優先的に送信するデータ送信部とを備えることを特徴とする。   In order to solve the above-described problem, according to a first aspect of the present invention, in a terminal that transmits data to a server, terminal type information indicating one of a plurality of terminal types, and a type of terminal corresponding to the terminal type information Data type information indicating one of a plurality of types of data to be transmitted, server identification information indicating one of a plurality of servers capable of receiving the data of the one type, and the one server among the plurality of servers Priority, the allowable number of retransmissions indicating the maximum number of retransmissions of data when the server cannot receive the data transmitted to the one server, allowable time zone information indicating the time zone in which the server can receive data, And a transfer condition table for storing a transfer condition table including one or more transfer condition information having waiting time information indicating the length of time from when the server receives data until it can be received again. A table storage unit, transfer condition information in the transfer condition table, wherein the terminal type information in the transfer condition information corresponds to the type of the terminal having the transfer condition table, and data in the transfer condition information The condition that the type information corresponds to the type of data to be transmitted from the terminal, the condition that the current time is included in the time zone corresponding to the allowable time zone information in the transfer condition information, and If the transmission is a retransmission to the server corresponding to the server identification information in the transfer condition information, a condition that the number of retransmissions when the data is transmitted is less than or equal to the allowable number of retransmissions in the transfer condition information and the previous transmission To the current transmission until the current transmission satisfying the condition that the length of time corresponding to the waiting time information in the transfer condition information is greater than or equal to the length of time. The presence / absence of the condition information is determined, and if there is only one transfer condition information satisfying the conditions, the data is transmitted to the server corresponding to the server identification information in the transfer condition information, while the conditions satisfying the conditions are satisfied. Data transmission that reads the priority from each transfer condition information if there are two or more transfer condition information and preferentially transmits the data to the server corresponding to the server identification information in the transfer condition information including the highest priority And a section.

第2の本発明は、端末からデータを受信するサーバにおいて、複数の端末の種別の1つを示す端末種別情報、該端末種別情報に対応する種別の端末から送信される複数のデータの種別の1つを示すデータ種別情報、当該1つの種別のデータを受信できる複数のサーバの1つを示すサーバ識別情報、当該複数のサーバの中での当該1つのサーバの優先度、当該1つのサーバに送信されたデータを当該サーバが受信できない場合のデータの再送回数の最大値を示す許容再送回数、当該サーバがデータを受信できる時間帯を示す許容時間帯情報、ならびに、当該サーバがデータを受信してから再び受信できるまでの時間の長さを示す待ち時間情報を有する転送条件情報を1以上備える転送条件テーブルを生成するとともに、前記サーバ自身を示すサーバ識別情報を含む転送条件情報内の許容再送回数および待ち時間情報を当該サーバにかかる負荷に基づいて求める転送条件テーブル生成部と、前記転送条件テーブル生成部により生成された転送条件テーブルを当該転送条件テーブルの送信を要求した端末に送信する転送条件テーブル送信部とを備えることを特徴とする。   According to a second aspect of the present invention, in a server that receives data from a terminal, the terminal type information indicating one of the types of the plurality of terminals, the types of the plurality of data transmitted from the terminal of the type corresponding to the terminal type information, Data type information indicating one, server identification information indicating one of a plurality of servers capable of receiving the data of the one type, priority of the one server among the plurality of servers, the one server When the server cannot receive the transmitted data, the allowable number of retransmissions indicating the maximum number of retransmissions of data, the allowable time zone information indicating the time zone in which the server can receive data, and the server receiving the data A transfer condition table having one or more transfer condition information having waiting time information indicating the length of time until the data can be received again, and a server indicating the server itself. A transfer condition table generation unit for obtaining the allowable number of retransmissions and waiting time information in the transfer condition information including the identification information on the basis of the load on the server, and the transfer condition table generated by the transfer condition table generation unit And a transfer condition table transmission unit that transmits the condition table to the terminal that has requested transmission of the condition table.

第3の本発明は、複数の端末と複数のサーバを含むデータ転送システムにおいて、前記データ転送システムの各端末は、複数の端末の種別の1つを示す端末種別情報、該端末種別情報に対応する種別の端末から送信される複数のデータの種別の1つを示すデータ種別情報、当該1つの種別のデータを受信できる複数のサーバの1つを示すサーバ識別情報、当該複数のサーバの中での当該1つのサーバの優先度、当該1つのサーバに送信されたデータを当該サーバが受信できない場合のデータの再送回数の最大値を示す許容再送回数、当該サーバがデータを受信できる時間帯を示す許容時間帯情報、ならびに、当該サーバがデータを受信してから再び受信できるまでの時間の長さを示す待ち時間情報を有する転送条件情報を1以上備える転送条件テーブルを記憶する転送条件テーブル記憶部と、前記転送条件テーブル内の転送条件情報であって、当該転送条件情報内の端末種別情報が当該転送条件テーブルを有する端末の種別に対応するという条件、当該転送条件情報内のデータ種別情報が当該端末から送信しようとするデータの種別に対応するという条件、当該転送条件情報内の許容時間帯情報に対応する時間帯に現在時刻が含まれるという条件を満たし、さらに、当該データの送信が当該転送条件情報内のサーバ識別情報に対応するサーバへの再送であるなら、当該データを送信した場合の再送回数が当該転送条件情報内の許容再送回数以下であるという条件並びに前回の送信から今回の送信までの時間の長さが当該転送条件情報内の待ち時間情報に対応する時間の長さ以上であるという条件を満たす当該転送条件情報の有無を判定し、当該各条件を満たす当該転送条件情報が1つだけあるなら当該転送条件情報内のサーバ識別情報に対応するサーバに当該データを送信する一方、当該各条件を満たす当該転送条件情報が2つ以上あるなら当該各転送条件情報から優先度を読み出し、最も高い当該優先度を含む転送条件情報内のサーバ識別情報に対応するサーバに当該データを優先的に送信するデータ送信部とを備え、前記データ転送システムの各サーバは、複数の端末の種別の1つを示す端末種別情報、該端末種別情報に対応する種別の端末から送信される複数のデータの種別の1つを示すデータ種別情報、当該1つの種別のデータを受信できる複数のサーバの1つを示すサーバ識別情報、当該複数のサーバの中での当該1つのサーバの優先度、当該1つのサーバに送信されたデータを当該サーバが受信できない場合のデータの再送回数の最大値を示す許容再送回数、当該サーバがデータを受信できる時間帯を示す許容時間帯情報、ならびに、当該サーバがデータを受信してから再び受信できるまでの時間の長さを示す待ち時間情報を有する転送条件情報を1以上備える転送条件テーブルを生成するとともに、前記サーバ自身を示すサーバ識別情報を含む転送条件情報内の許容再送回数および待ち時間情報を当該サーバにかかる負荷に基づいて求める転送条件テーブル生成部と、前記転送条件テーブル生成部により生成された転送条件テーブルを当該転送条件テーブルの送信を要求した端末に送信する転送条件テーブル送信部とを備えることを特徴とする。   According to a third aspect of the present invention, in the data transfer system including a plurality of terminals and a plurality of servers, each terminal of the data transfer system corresponds to terminal type information indicating one of the types of the plurality of terminals, the terminal type information Data type information indicating one of a plurality of types of data transmitted from a terminal of a type to be transmitted, server identification information indicating one of a plurality of servers capable of receiving the data of the one type, among the plurality of servers The priority of the one server, the allowable number of retransmissions indicating the maximum number of data retransmissions when the server cannot receive the data transmitted to the one server, and the time zone in which the server can receive the data Transfer conditions including one or more transfer condition information including allowable time zone information and waiting time information indicating the length of time from when the server receives data until it can be received again A transfer condition table storage unit for storing the table, transfer condition information in the transfer condition table, wherein the terminal type information in the transfer condition information corresponds to the type of the terminal having the transfer condition table, Satisfies the condition that the data type information in the transfer condition information corresponds to the type of data to be transmitted from the terminal, and that the current time is included in the time zone corresponding to the allowable time zone information in the transfer condition information Furthermore, if the transmission of the data is a retransmission to the server corresponding to the server identification information in the transfer condition information, the number of retransmissions when the data is transmitted is equal to or less than the allowable number of retransmissions in the transfer condition information. And the length of time from the previous transmission to the current transmission is greater than or equal to the length of time corresponding to the waiting time information in the transfer condition information. If there is only one transfer condition information satisfying each condition, the data is transmitted to the server corresponding to the server identification information in the transfer condition information. If there are two or more transfer condition information satisfying each condition, the priority is read from each transfer condition information, and the data is given priority to the server corresponding to the server identification information in the transfer condition information including the highest priority. Each of the servers of the data transfer system includes terminal type information indicating one of a plurality of terminal types, and a plurality of terminals transmitted from terminals of a type corresponding to the terminal type information. Data type information indicating one of the data types, server identification information indicating one of a plurality of servers that can receive the data of the one type, The priority of the one server, the allowable number of retransmissions indicating the maximum value of the number of retransmissions of data when the server cannot receive the data transmitted to the one server, and the tolerance indicating the time zone in which the server can receive the data A transfer condition table including one or more transfer condition information including time zone information and waiting time information indicating a length of time until the server can receive data again after receiving the data; A transfer condition table generation unit for obtaining the allowable number of retransmissions and waiting time information in the transfer condition information including the server identification information indicating the load on the server, and the transfer condition table generated by the transfer condition table generation unit A transfer condition table transmission unit that transmits the transfer condition table to a terminal that has requested transmission of the transfer condition table.

本発明によれば、端末側での処理によりサーバへの負荷低減を図り、且つ、データおよび端末の種別に基づく優先度に応じたデータ送信を可能とすることができる。   According to the present invention, it is possible to reduce the load on the server by processing on the terminal side, and to enable data transmission according to the priority based on the data and the type of the terminal.

本実施の形態に係るデータ転送システムの構成図である。It is a block diagram of the data transfer system which concerns on this Embodiment. 各端末1の概略構成を示す機能ブロック図である。2 is a functional block diagram showing a schematic configuration of each terminal 1. FIG. 転送条件テーブルの一例を示す図である。It is a figure which shows an example of a transfer condition table. 各サーバ2の概略構成を示す機能ブロック図である。3 is a functional block diagram showing a schematic configuration of each server 2. FIG.

以下、本発明の実施の形態について図面を参照して説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本実施の形態に係るデータ転送システムの構成図である。
データ転送システムは、例えば、n台の端末1と、端末1から送信されるデータを受信するm台のサーバ2とを備え、各端末1と各サーバ2はネットワーク3に通信回線を介して接続される。
FIG. 1 is a configuration diagram of a data transfer system according to the present embodiment.
The data transfer system includes, for example, n terminals 1 and m servers 2 that receive data transmitted from the terminals 1, and each terminal 1 and each server 2 are connected to a network 3 via a communication line. Is done.

図2は、各端末1の概略構成を示す機能ブロック図である。
端末1は、データを送信する際に参照すべき転送条件情報を有する転送条件テーブルが記憶される転送条件テーブル記憶部11と、データを送信するデータ送信部12と、他の端末1やサーバ2から転送条件テーブルを受信する転送条件テーブル取得部13と、転送条件テーブルを有する他の端末のアドレスを受信する転送条件テーブル取得先解決部14とを備える。
FIG. 2 is a functional block diagram showing a schematic configuration of each terminal 1.
The terminal 1 includes a transfer condition table storage unit 11 that stores a transfer condition table having transfer condition information to be referred to when transmitting data, a data transmission unit 12 that transmits data, and other terminals 1 and servers 2. The transfer condition table acquisition unit 13 that receives the transfer condition table from the transfer condition table and the transfer condition table acquisition destination resolution unit 14 that receives the address of another terminal having the transfer condition table.

図3は、転送条件テーブルの一例を示す図である。
転送条件テーブルは、端末1の種別の1つを示す端末種別情報、該端末種別情報に対応する種別の端末から送信される複数のデータの種別の1つを示すデータ種別情報、当該1つの種別のデータを受信できる複数のサーバ2の中の1つを示すサーバ識別情報、当該複数のサーバ2の中での当該1つのサーバ2の優先度、当該1つのサーバ2に再送されたデータを当該サーバ2が受信できない場合のデータの再送回数の最大値を示す許容再送回数、当該サーバ2がデータを受信できる時間帯を示す許容時間帯情報、ならびに、当該サーバ2がデータを受信してから再び受信できるまでの時間の長さを示す待ち時間情報を有する転送条件情報を1以上備えるテーブルである。
FIG. 3 is a diagram illustrating an example of the transfer condition table.
The transfer condition table includes terminal type information indicating one of the types of the terminal 1, data type information indicating one of a plurality of types of data transmitted from a terminal of a type corresponding to the terminal type information, the one type Server identification information indicating one of the plurality of servers 2 that can receive the data, the priority of the one server 2 among the plurality of servers 2, and the data retransmitted to the one server 2 The allowable number of retransmissions indicating the maximum value of the number of retransmissions of data when the server 2 cannot receive, the allowable time zone information indicating the time zone in which the server 2 can receive the data, and again after the server 2 receives the data It is a table provided with 1 or more transfer condition information which has waiting time information which shows the length of time until it can receive.

端末種別情報は、例えば、サービスゲートウェイ(SGW)という種別の端末1と、防犯用機器という種別の端末1とを区別するためのものである。   The terminal type information is for distinguishing, for example, a terminal 1 of a type called a service gateway (SGW) and a terminal 1 of a type called a security device.

防犯用機器である端末1から送信されるデータは緊急性が高いので、このデータが、サービスゲートウェイ(SGW)である端末1から送信されるデータよりも優先的に送信されるように、端末種別情報が利用される。   Since the data transmitted from the terminal 1 that is a security device is highly urgent, the terminal type is set so that this data is transmitted preferentially over the data transmitted from the terminal 1 that is a service gateway (SGW). Information is used.

データ種別情報は、例えば、防犯のためのデータと、健康(健康管理)のためのデータとを区別するためのものである。   The data type information is, for example, for distinguishing between data for crime prevention and data for health (health management).

防犯のためのデータは緊急性が高いので、このデータが、健康(健康管理)のためのデータよりも優先的に送信されるように、データ種別情報が利用される。   Since the data for crime prevention is highly urgent, the data type information is used so that this data is transmitted preferentially over the data for health (health management).

優先度は、ここでは、値「1」または「2」をとり、優先度「1」は、優先度「2」より高い優先度であることとする。   Here, the priority is a value “1” or “2”, and the priority “1” is higher than the priority “2”.

サーバ識別情報は、例えば、あるサーバ2と、別のサーバ2とを区別するためのものである。   The server identification information is, for example, for distinguishing between a certain server 2 and another server 2.

許容再送回数は、通信異常等によりサーバ2がデータを受信できない場合、データが再送されるが、その再送回数の最大値を示すものである。   The allowable number of retransmissions indicates the maximum value of the number of retransmissions when data is retransmitted when the server 2 cannot receive the data due to a communication error or the like.

例えば、ある種別の端末1からある種別のデータがあるサーバ2へ再送される際の再送回数の最大値が5回である場合、該当の転送条件情報には、その端末1の種別に対応する端末種別情報と、そのデータの種別に対応するデータ種別情報と、そのサーバ2に対応するサーバ種別情報と、許容再送回数「5回」が含まれる。   For example, when the maximum value of the number of retransmissions when a certain type of data is retransmitted from a certain type of terminal 1 to the server 2 is 5, the corresponding transfer condition information corresponds to the type of the terminal 1 Terminal type information, data type information corresponding to the type of the data, server type information corresponding to the server 2, and the allowable number of retransmissions “5” are included.

許容時間帯情報は、サーバ2でデータを受信できる時間帯を示すものである。
あるサーバ2がある種別の端末1からある種別のデータを受信できるのが5時から23時までである場合、該当の転送条件情報には、その端末1の種別に対応する端末種別情報と、そのデータの種別に対応するデータ種別情報と、そのサーバ2に対応するサーバ種別情報と、許容時間帯情報「5時から23時」が含まれる。
The allowable time zone information indicates a time zone in which the server 2 can receive data.
When a server 2 can receive data of a certain type from a terminal 1 of a certain type from 5 o'clock to 23 o'clock, the transfer condition information includes terminal type information corresponding to the type of the terminal 1, Data type information corresponding to the data type, server type information corresponding to the server 2, and allowable time zone information “5 to 23:00” are included.

待ち時間情報は、サーバ2がデータを受信してから再び受信できるまでの時間の長さを示すものである。   The waiting time information indicates the length of time from when the server 2 receives data until it can be received again.

あるサーバ2がある種別の端末1からある種別のデータを受信してから再び受信できるまでの時間の長さが10秒である場合、該当の転送条件情報には、その端末1の種別に対応する端末種別情報と、そのデータの種別に対応するデータ種別情報と、そのサーバ2に対応するサーバ種別情報と、待ち時間情報「10秒」が含まれる。   If the length of time from when a server 2 receives data of a certain type from a certain type of terminal 1 to when it can be received again is 10 seconds, the corresponding transfer condition information corresponds to the type of the terminal 1 Terminal type information, data type information corresponding to the data type, server type information corresponding to the server 2, and waiting time information “10 seconds”.

図4は、各サーバ2の概略構成を示す機能ブロック図である。
サーバ2は、データを受信するデータ受信部21と、図3に示すものと同様の転送条件テーブルをサーバ2で生成する際に必要な情報を設定ファイルやGUI(グラフィックユーザインタフェース)から入力する情報入力部22と、入力された情報を用いて転送条件テーブルを生成するとともに、データ受信部21におけるデータの受信状況により当該サーバ2にかかる負荷を求め、サーバ2自身のサーバ識別情報を含む転送条件情報内の許容再送回数および待ち時間情報を、負荷に基づいて求める転送条件テーブル生成部23と、生成された転送条件テーブルを当該転送条件テーブルの送信を要求した端末1に送信する転送条件テーブル送信部24とを備える。
FIG. 4 is a functional block diagram showing a schematic configuration of each server 2.
The server 2 receives data from the setting file and GUI (graphic user interface), which is necessary for generating the data receiving unit 21 that receives data and the server 2 to generate a transfer condition table similar to that shown in FIG. A transfer condition table that uses the input unit 22 and the input information to generate a transfer condition table, obtains the load on the server 2 according to the data reception status in the data receiving unit 21, and includes the server identification information of the server 2 itself Transfer condition table generation unit 23 that obtains the allowable number of retransmissions and waiting time information in the information based on the load, and transfer condition table transmission that transmits the generated transfer condition table to terminal 1 that has requested transmission of the transfer condition table Part 24.

(データ転送システムの動作)
1.端末1の動作
各端末1のデータ送信部12は、データを送信しようとする際には、転送条件テーブル記憶部11に記憶された転送条件テーブルを読み出し、その中の転送条件情報であって、(a)当該転送条件情報内の端末種別情報が当該転送条件テーブルを有する端末1(端末1自身)の種別に対応するという条件、当該転送条件情報内のデータ種別情報が当該端末から送信しようとするデータの種別に対応するという条件、(b)当該転送条件情報内の許容時間帯情報に対応する時間帯に現在時刻が含まれるという条件を満たし、さらに、当該データの送信が当該転送条件情報内のサーバ識別情報に対応するサーバへの再送であるなら、(c)当該データを送信した場合の再送回数が当該転送条件情報内の許容再送回数以下であるという条件並びに(d)前回の送信から今回の送信までの時間の長さが当該転送条件情報内の待ち時間情報に対応する時間の長さ以上であるという条件、を満たす当該転送条件情報の有無を判定し、当該各条件を満たす当該転送条件情報が1つだけあるなら当該転送条件情報内のサーバ識別情報に対応するサーバに当該データを送信する一方、当該各条件を満たす当該転送条件情報が2つ以上あるなら当該各転送条件情報から優先度を読み出し、最も高い当該優先度を含む転送条件情報内のサーバ識別情報に対応するサーバ2に当該データを優先的に送信する。
(Data transfer system operation)
1. Operation of Terminal 1 When the data transmission unit 12 of each terminal 1 intends to transmit data, it reads the transfer condition table stored in the transfer condition table storage unit 11, and includes transfer condition information therein. (A) The condition that the terminal type information in the transfer condition information corresponds to the type of the terminal 1 (terminal 1 itself) having the transfer condition table, and the data type information in the transfer condition information is to be transmitted from the terminal. (B) the condition that the current time is included in the time zone corresponding to the permissible time zone information in the transfer condition information, and the transmission of the data is the transfer condition information. (C) the number of retransmissions when the data is transmitted is less than or equal to the allowable number of retransmissions in the transfer condition information. Whether or not the transfer condition information satisfies the condition and (d) the condition that the length of time from the previous transmission to the current transmission is equal to or longer than the length of time corresponding to the waiting time information in the transfer condition information. If there is only one transfer condition information satisfying each condition, the data is transmitted to the server corresponding to the server identification information in the transfer condition information, while the transfer condition information satisfying each condition is 2 If there is more than one, the priority is read from each transfer condition information, and the data is preferentially transmitted to the server 2 corresponding to the server identification information in the transfer condition information including the highest priority.

例えば、サービスゲートウェイ(SGW)である端末1のデータ送信部12は、現在時刻0:00において、防犯のデータを送信する際には、図3では、転送条件情報A、Bが各条件を満たすので、優先度「1」、「2」を読み出し、最も高い優先度「1」を含む転送条件情報A内のサーバ識別情報「S1」のサーバ2に当該データを送信する。   For example, when the data transmission unit 12 of the terminal 1 serving as the service gateway (SGW) transmits the crime prevention data at the current time 0:00, the transfer condition information A and B satisfy each condition in FIG. Therefore, the priorities “1” and “2” are read, and the data is transmitted to the server 2 of the server identification information “S1” in the transfer condition information A including the highest priority “1”.

例えば、サービスゲートウェイ(SGW)である端末1のデータ送信部12は、現在時刻12:00において、健康(健康管理)のデータを送信する際には、図3では、転送条件情報C、Dが条件を満たすので、優先度「1」、「2」を読み出し、最も高い優先度「1」を含む転送条件情報C内のサーバ識別情報「S3」のサーバ2に当該データを送信する。   For example, when the data transmission unit 12 of the terminal 1 serving as the service gateway (SGW) transmits health (health management) data at the current time 12:00, in FIG. Since the condition is satisfied, the priorities “1” and “2” are read, and the data is transmitted to the server 2 of the server identification information “S3” in the transfer condition information C including the highest priority “1”.

例えば、そのデータ送信部12は、現在時刻0:00において、健康管理のデータを送信する際には、図3では、条件を満たす転送条件情報がないので、データ送信を中止、または、延期する。   For example, when transmitting data for health care at the current time 0:00, the data transmission unit 12 stops or postpones data transmission because there is no transfer condition information that satisfies the condition in FIG. .

例えば、防犯用機器である端末1のデータ送信部12は、現在時刻12:00において、データを送信する際には、図3では、転送条件情報E、Fが条件を満たすので、優先度「1」、「2」を読み出し、最も高い優先度「1」を含む転送条件情報F内のサーバ識別情報「S2」のサーバ2に当該データを送信する。   For example, when the data transmission unit 12 of the terminal 1 that is a security device transmits data at the current time 12:00, the transfer condition information E and F satisfy the condition in FIG. “1” and “2” are read, and the data is transmitted to the server 2 of the server identification information “S2” in the transfer condition information F including the highest priority “1”.

例えば、そのデータ送信部12は、サーバ2やネットワーク3に異常があり、データを受信したとの応答がない場合には、優先度「2」を含む転送条件情報E内のサーバ識別情報「S1」のサーバ2に当該データを送信する。   For example, when there is an abnormality in the server 2 or the network 3 and there is no response that the data has been received, the data transmission unit 12 receives the server identification information “S1 in the transfer condition information E including the priority“ 2 ”. The data is transmitted to the server 2.

データ送信部12は、サーバ識別情報「S2」のサーバ2からも応答がない場合には、サーバ識別情報「S1」のサーバ2にデータの再送を試みる。その際、データ送信部12は、前回の送信から今回の送信までの時間の長さが転送条件情報F内の待ち時間情報に対応する時間の長さ2秒以上であるなら、データの再送を行う。つまり、データ送信部12は、2秒以上待ってから、データを送信する。   When there is no response from the server 2 with the server identification information “S2”, the data transmission unit 12 tries to retransmit the data to the server 2 with the server identification information “S1”. At that time, if the length of time from the previous transmission to the current transmission is 2 seconds or more corresponding to the waiting time information in the transfer condition information F, the data transmission unit 12 resends the data. Do. That is, the data transmitting unit 12 transmits data after waiting for 2 seconds or more.

同様に、健康(健康管理)のデータを送信したデータ送信部12は、サーバ2から応答がない場合は、優先度の低いサーバ識別情報「S2」のサーバ2にデータを送信する。   Similarly, when there is no response from the server 2, the data transmission unit 12 that has transmitted the health (health management) data transmits the data to the server 2 with the server identification information “S 2” having a low priority.

データ送信部12は、サーバ識別情報「S2」のサーバ2からも応答がない場合は、サーバ識別情報「S3」のサーバ2にデータの再送を試みる。その際、データ送信部12は、前回の送信から今回の送信までの時間の長さが転送条件情報C内の待ち時間情報に対応する時間の長さ1800秒以上であるなら、データの再送を行う。つまり、データ送信部12は、30分以上待ってから、データを送信する。   When there is no response from the server 2 with the server identification information “S2”, the data transmission unit 12 tries to retransmit the data to the server 2 with the server identification information “S3”. At this time, if the length of time from the previous transmission to the current transmission is equal to or longer than 1800 seconds corresponding to the waiting time information in the transfer condition information C, the data transmission unit 12 resends the data. Do. That is, the data transmitting unit 12 transmits data after waiting for 30 minutes or more.

また、このデータ送信部12は、再送を繰り返し、次にデータを再送した場合の再送回数が6回となったなら、転送条件情報C内の許容再送回数「5回」を超えてしまうので、このデータの再送を中止し、以降、行わない。   Further, the data transmission unit 12 repeats retransmission, and if the number of retransmissions when the data is retransmitted next is 6, the allowable number of retransmissions “5 times” in the transfer condition information C will be exceeded. The retransmission of this data is canceled and is not performed thereafter.

このデータは、待ち時間を30分としているように、例えば、データ量が多く、サーバ2の負荷が大きい。よって、再送回数が5回を超えないようにし、送信停止を早くすることで、サーバ2にかかる負荷を低減できる。   For example, the data has a large amount of data and a heavy load on the server 2 such that the waiting time is 30 minutes. Therefore, it is possible to reduce the load on the server 2 by preventing the number of retransmissions from exceeding 5 times and making the transmission stop early.

また、防犯用機器から送信されるデータは緊急性が高いので、防犯用機器を示す端末種別情報を含む転送条件情報内の許容再送回数は無限回とし、また、許容時間帯情報は、時間帯の制限なしとし、よって、サービスゲートウェイ(SGW)から送信されるデータと比べ、防犯用機器から送信されるデータを優先的にサーバ2で受信させることができる。   Also, since the data transmitted from the security device is highly urgent, the allowable number of retransmissions in the transfer condition information including the terminal type information indicating the security device is infinite, and the allowable time zone information is Therefore, the server 2 can preferentially receive the data transmitted from the security device as compared with the data transmitted from the service gateway (SGW).

また、同じ防犯用機器から送信されるデータであっても、データの種別によっては、許容再送回数、許容時間帯情報、待ち時間情報に差を設け、これにより、ある種別のデータを優先的に受信させることができる。   In addition, even for data transmitted from the same security device, depending on the type of data, there is a difference in the allowable number of retransmissions, allowable time zone information, and waiting time information. It can be received.

また、同じ防犯用機器から送信されるデータであっても、データの種別によっては、サーバ識別情報に差を設け、これにより、同じ防犯用機器から送信されるデータであっても、データの種別によっては、別々のサーバ2に受信させることができる。   Even if the data is transmitted from the same security device, there is a difference in the server identification information depending on the type of data, so that even if the data is transmitted from the same security device, the data type Depending on the situation, it can be received by a separate server 2.

つまり、端末の種別とデータの種別の組み合わせを単位として、データ受信の優先性やデータの送信先を変えることができる。   That is, the priority of data reception and the data transmission destination can be changed in units of combinations of terminal types and data types.

さて、各端末1は、転送条件テーブル記憶部11に転送条件テーブルがまだなく、これを新たに受信する際には、転送条件テーブル取得部13が、いずれかのサーバ2に対し、転送条件テーブルを送信するように要求する。転送条件テーブル取得部13は、この要求に対し、サーバ2から送信された転送条件テーブルを受信し、転送条件テーブル記憶部11に記憶させる。   Each terminal 1 does not yet have a transfer condition table in the transfer condition table storage unit 11, and when receiving a new transfer condition table, the transfer condition table acquisition unit 13 sends a transfer condition table to any server 2. Request to be sent. In response to this request, the transfer condition table acquisition unit 13 receives the transfer condition table transmitted from the server 2 and stores it in the transfer condition table storage unit 11.

例えば、サーバ2が、その負荷が大きいことが理由で、転送条件テーブルを送信できず、転送条件テーブル取得部13が転送条件テーブルを受信できないことがある。この場合、転送条件テーブル取得部13は、送信の要求を繰り返す。   For example, the server 2 may not be able to transmit the transfer condition table because the load is large, and the transfer condition table acquisition unit 13 may not be able to receive the transfer condition table. In this case, the transfer condition table acquisition unit 13 repeats the transmission request.

転送条件テーブル取得部13が要求を繰り返したにも拘わらず、一定期間、転送条件テーブルを受信できないなら、そのサーバ2やネットワーク3に異常があると判断し、データ送信部12は、そのサーバ2へのデータの送信を中止し、別のサーバ2へ転送条件テーブルの送信を要求する。   If the transfer condition table acquisition unit 13 repeats the request but cannot receive the transfer condition table for a certain period of time, the server 2 or the network 3 determines that there is an abnormality, and the data transmission unit 12 The transmission of data to is canceled and another server 2 is requested to transmit the transfer condition table.

こうして、転送条件テーブルはサーバ2から取得できるが、他の端末1から取得してもよい。   Thus, the transfer condition table can be acquired from the server 2, but may be acquired from another terminal 1.

例えば、サーバ2から一定期間、転送条件テーブルを受信できないなら、転送条件テーブル取得先解決部14が、図示しないアドレス解決サーバに要求して、アドレス解決サーバから、転送条件テーブルを有する、例えば、近傍の端末1のアドレスを受信する。   For example, if the transfer condition table cannot be received from the server 2 for a certain period, the transfer condition table acquisition destination resolution unit 14 requests the address resolution server (not shown) and has the transfer condition table from the address resolution server. The address of the terminal 1 is received.

転送条件テーブル取得部13は、このアドレスの端末1に対し、転送条件テーブルの送信を要求する。   The transfer condition table acquisition unit 13 requests the terminal 1 having this address to transmit the transfer condition table.

他の端末1は、要求に応じて、転送条件テーブルを読み出し、要求を送信した端末1に転送条件テーブルを送信する。   In response to the request, the other terminal 1 reads the transfer condition table and transmits the transfer condition table to the terminal 1 that transmitted the request.

端末1の転送条件テーブル取得部13は、転送条件テーブルを受信し、その中に自身の端末1の端末種別情報を含む転送条件情報がある場合は、元の転送条件テーブルに代えて、受信した転送条件テーブルを転送条件テーブル記憶部11に記憶させる。   The transfer condition table acquisition unit 13 of the terminal 1 receives the transfer condition table, and when there is transfer condition information including the terminal type information of its own terminal 1, the transfer condition table is received instead of the original transfer condition table. The transfer condition table is stored in the transfer condition table storage unit 11.

一方、受信した転送条件テーブルに自身の端末1の端末種別情報を含む転送条件情報がない場合、転送条件テーブル取得部13は、受信した転送条件テーブルを送信した端末1を除外し、別の端末1から、同様に、別の転送条件テーブルを受信し、自身の端末1の端末種別情報を含む転送条件情報があれば、元の転送条件テーブルに代えて、受信した転送条件テーブルを転送条件テーブル記憶部11に記憶させる。転送条件テーブル取得部13は、このように、転送条件テーブルが更新されるまで、上記処理を繰り返す。   On the other hand, when there is no transfer condition information including the terminal type information of its own terminal 1 in the received transfer condition table, the transfer condition table acquisition unit 13 excludes the terminal 1 that transmitted the received transfer condition table, and another terminal Similarly, if another transfer condition table is received from 1 and there is transfer condition information including the terminal type information of its own terminal 1, the received transfer condition table is used instead of the original transfer condition table. The data is stored in the storage unit 11. In this way, the transfer condition table acquisition unit 13 repeats the above processing until the transfer condition table is updated.

また、転送条件テーブル取得部13は、データ送信の際、条件を満たす転送条件情報がなく、つまり、データの送信先のサーバ2を決定できない場合にも、同様に、サーバ2や他の端末1から転送条件テーブルを受信し、元の転送条件テーブルに代えて、受信した転送条件テーブルを転送条件テーブル記憶部11に記憶させる。   Similarly, when there is no transfer condition information that satisfies the conditions at the time of data transmission, that is, when the server 2 to which the data is to be transmitted cannot be determined, the transfer condition table acquisition unit 13 similarly applies to the server 2 and other terminals 1. The transfer condition table is received, and the received transfer condition table is stored in the transfer condition table storage unit 11 instead of the original transfer condition table.

データ送信部12は、こうして転送条件テーブルが更新された場合は、条件を満たす転送条件情報の有無を再度判定し、これによりデータの送信先のサーバ2を決定できた場合には、そのサーバ2にデータを送信する。   When the transfer condition table is updated in this way, the data transmission unit 12 determines again whether or not there is transfer condition information that satisfies the conditions, and when the data transmission destination server 2 can be determined by this, the server 2 Send data to.

このように、端末間で転送条件テーブルを流通させることで、端末1とサーバ2の間での転送条件テーブルの転送量を削減でき、サーバ2やネットワーク3への負荷を低減できる。また、サーバ2やネットワーク3に異常がある場合でも、新しい転送条件テーブルを取得することができる。   Thus, by distributing the transfer condition table between terminals, the transfer amount of the transfer condition table between the terminal 1 and the server 2 can be reduced, and the load on the server 2 and the network 3 can be reduced. Even if there is an abnormality in the server 2 or the network 3, a new transfer condition table can be acquired.

2.サーバ2の動作
サーバ2のデータ受信部21は、端末1から送信されたデータを受信する。
データ受信部21は、受信したデータが、このサーバ2に保持される転送条件テーブルの当該サーバ2のサーバ識別情報を含む転送条件情報内のデータ種別情報に対応するデータであるなら、データ受信の応答を端末1に送信する。
2. Operation of Server 2 The data receiving unit 21 of the server 2 receives data transmitted from the terminal 1.
If the received data is data corresponding to the data type information in the transfer condition information including the server identification information of the server 2 in the transfer condition table held in the server 2, the data receiving unit 21 receives the data. A response is transmitted to the terminal 1.

データ受信部21は、受信したデータが、当該データ種別情報に対応するデータでないなら、データ受信の応答とともに、転送条件テーブルを端末1に送信する。   If the received data is not data corresponding to the data type information, the data receiving unit 21 transmits a transfer condition table to the terminal 1 together with a data reception response.

情報入力部22は、設定ファイルやGUI(グラフィックユーザインタフェース)から、例えば他のサーバ2のサーバ識別情報を含む転送条件情報内にあるべき情報、つまり、端末識別情報、データ識別情報、優先度、サーバ識別情報、許容再送回数、許容時間帯情報、待ち時間情報を入力する。   The information input unit 22 receives information that should be included in the transfer condition information including the server identification information of the other server 2 from the setting file or GUI (graphic user interface), that is, terminal identification information, data identification information, priority, Enter the server identification information, allowable number of retransmissions, allowable time zone information, and waiting time information.

情報入力部22は、また、自身のサーバ2のサーバ識別情報を含む転送条件情報内にあるべき情報、つまり、端末識別情報、データ識別情報、優先度、サーバ識別情報、許容時間帯情報を入力する。許容再送回数および待ち時間情報は、転送条件テーブル生成部23により求められる。   The information input unit 22 also inputs information that should be in the transfer condition information including the server identification information of its own server 2, that is, terminal identification information, data identification information, priority, server identification information, and allowable time zone information. To do. The allowable number of retransmissions and the waiting time information are obtained by the transfer condition table generation unit 23.

転送条件テーブル生成部23は、入力された情報と自身のサーバ2の許容再送回数および待ち時間情報を含む転送条件テーブルを生成し、保持する。   The transfer condition table generation unit 23 generates and holds a transfer condition table including the input information, the allowable number of retransmissions of the server 2 itself, and waiting time information.

この際、転送条件テーブル生成部23は、データ受信部21からデータの受信状況を取得し、受信状況に基づいて、自身のサーバ2にかかる負荷を求め、負荷に基づいて、許容再送回数および待ち時間情報を求める。   At this time, the transfer condition table generation unit 23 obtains the data reception status from the data reception unit 21, obtains the load on its own server 2 based on the reception status, and determines the allowable number of retransmissions and the waiting based on the load. Ask for time information.

具体的には、転送条件テーブル生成部23は、自身のサーバ2の負荷や直近のデータ受信回数、受信量を基に、予め定めたCPUやメモリの使用率の許容上限値と実際の使用率の差分や、単位時間当たりのデータ受信回数や受信量の許容上限値と実際の値の差分を求める。さらに、転送条件テーブル生成部23は、自身のサーバ識別情報を含む転送条件情報内に含ませる優先度に応じて、差分に一定の比率を乗じて、許容再送回数および待ち時間情報を求める。   Specifically, the transfer condition table generation unit 23 determines the allowable upper limit value of the CPU and memory usage rate and the actual usage rate based on the load of the server 2, the latest number of data receptions, and the received amount. And the difference between the actual upper limit value and the allowable upper limit value of the number of data receptions per unit time and the reception amount. Further, the transfer condition table generation unit 23 multiplies the difference by a certain ratio according to the priority included in the transfer condition information including its own server identification information, and obtains the allowable number of retransmissions and waiting time information.

転送条件テーブル送信部24は、こうして生成、保持された転送条件テーブルを当該転送条件テーブルの送信を要求した端末1に送信する。
これにより、端末1は、転送条件テーブルを受信し、更新することができる。
The transfer condition table transmission unit 24 transmits the transfer condition table thus generated and held to the terminal 1 that has requested transmission of the transfer condition table.
Thereby, the terminal 1 can receive and update the transfer condition table.

なお、本実施の形態では、端末種別情報は、サービスゲートウェイ(SGW)という種別の端末1を示すものと、防犯用機器という種別の端末1を示すものの2つとしたが、他の端末の種別を示す端末種別情報を用いてもよい。   In the present embodiment, the terminal type information includes two types, one indicating the terminal 1 of the type of service gateway (SGW) and one indicating the terminal 1 of the type of crime prevention device. The terminal type information shown may be used.

また、データ種別情報は、防犯のデータを示すものとと、健康(健康管理)のデータとを示すものの2つとしたが、他のデータの種別を示すデータ種別情報を用いてもよい。   In addition, the data type information is two, ie, data indicating crime prevention data and data indicating health (health management) data, but data type information indicating the type of other data may be used.

また、優先度は、「1」、「2」の2つとしたが、これに限らず、3以上でもよい。
また、許容再送回数は、「5回」などとしたが、別な回数としてもよい。
また、許容時間帯情報に対応する時間帯は、「5時から23時」などとしたが、別な時間帯としてもよい。
また、待ち時間情報は、「10秒」などとしたが、別な時間の長さとしてもよい。
Further, the priority is two, “1” and “2”, but is not limited to this and may be three or more.
Further, the allowable number of retransmissions is “5 times” or the like, but may be a different number.
In addition, the time zone corresponding to the allowable time zone information is “5 to 23:00”, but may be another time zone.
The waiting time information is “10 seconds” or the like, but may be a different length of time.

以上説明したように、本実施の形態によれば、端末1は、端末1の種別とデータの種別などに関する条件を満たす転送条件情報が転送条件テーブルに1つだけあるなら転送条件情報内のサーバ識別情報に対応するサーバにデータを送信し、2つ以上あるなら、最も高い優先度を含む転送条件情報内のサーバ識別情報に対応するサーバに優先的にするデータを送信するので、端末側での処理によりサーバへの負荷低減を図り、且つ、データおよび端末の種別に基づく優先度に応じたデータ送信を可能とすることができる。   As described above, according to the present embodiment, if there is only one transfer condition information in the transfer condition table that satisfies the conditions regarding the type of terminal 1 and the type of data, the terminal 1 is a server in the transfer condition information. Since data is transmitted to the server corresponding to the identification information, and if there are two or more, the data prioritized to the server corresponding to the server identification information in the transfer condition information including the highest priority is transmitted, the terminal side Thus, it is possible to reduce the load on the server and to perform data transmission according to the priority based on the data and the type of the terminal.

また、端末1は、サーバ2に対し転送条件テーブルの送信を要求したにも拘わらず、例えば、そのサーバ2などに障害が発生していて、転送条件テーブルを受信できないなら、そのサーバ2へのデータの送信を中止するので、データを送信してしまうことによる障害の拡大を防止することができる。   If the terminal 1 requests the server 2 to transmit the transfer condition table, for example, if the server 2 or the like has a failure and cannot receive the transfer condition table, the terminal 1 Since transmission of data is stopped, it is possible to prevent an increase in failure due to transmission of data.

また、サーバ2は、自身のサーバ識別情報を含む転送条件情報内の許容再送回数および待ち時間情報を自身にかかる負荷に基づいて求めるので、許容再送回数および待ち時間情報を用いた制御により、負荷を低減することができる。   In addition, since the server 2 obtains the allowable number of retransmissions and the waiting time information in the transfer condition information including its own server identification information based on the load on itself, the load is controlled by the control using the allowable number of retransmissions and the waiting time information. Can be reduced.

なお、端末1やサーバ2としてコンピュータを機能させるためのコンピュータプログラムは、半導体メモリ、磁気ディスク、光ディスク、光磁気ディスク、磁気テープなどのコンピュータ読み取り可能な記録媒体に記録でき、また、インターネットなどの通信網を介して伝送させて、広く流通させることができる。   Note that a computer program for causing a computer to function as the terminal 1 or the server 2 can be recorded on a computer-readable recording medium such as a semiconductor memory, a magnetic disk, an optical disk, a magneto-optical disk, or a magnetic tape, and communication such as the Internet. It can be distributed widely through the network.

1…端末
2…サーバ
11…転送条件テーブル記憶部
12…データ送信部
13…転送条件テーブル取得部
14…転送条件テーブル取得先解決部
21…データ受信部
22…情報入力部
23…転送条件テーブル生成部
24…転送条件テーブル送信部
DESCRIPTION OF SYMBOLS 1 ... Terminal 2 ... Server 11 ... Transfer condition table memory | storage part 12 ... Data transmission part 13 ... Transfer condition table acquisition part 14 ... Transfer condition table acquisition destination solution part 21 ... Data reception part 22 ... Information input part 23 ... Transfer condition table production | generation Unit 24: Transfer condition table transmission unit

Claims (7)

データをサーバに送信する端末において、
複数の端末の種別の1つを示す端末種別情報、該端末種別情報に対応する種別の端末から送信される複数のデータの種別の1つを示すデータ種別情報、当該1つの種別のデータを受信できる複数のサーバの1つを示すサーバ識別情報、当該複数のサーバの中での当該1つのサーバの優先度、当該1つのサーバに送信されたデータを当該サーバが受信できない場合のデータの再送回数の最大値を示す許容再送回数、当該サーバがデータを受信できる時間帯を示す許容時間帯情報、ならびに、当該サーバがデータを受信してから再び受信できるまでの時間の長さを示す待ち時間情報を有する転送条件情報を1以上備える転送条件テーブルを記憶する転送条件テーブル記憶部と、
前記転送条件テーブル内の転送条件情報であって、当該転送条件情報内の端末種別情報が当該転送条件テーブルを有する端末の種別に対応するという条件、当該転送条件情報内のデータ種別情報が当該端末から送信しようとするデータの種別に対応するという条件、当該転送条件情報内の許容時間帯情報に対応する時間帯に現在時刻が含まれるという条件を満たし、さらに、当該データの送信が当該転送条件情報内のサーバ識別情報に対応するサーバへの再送であるなら、当該データを送信した場合の再送回数が当該転送条件情報内の許容再送回数以下であるという条件並びに前回の送信から今回の送信までの時間の長さが当該転送条件情報内の待ち時間情報に対応する時間の長さ以上であるという条件を満たす当該転送条件情報の有無を判定し、当該各条件を満たす当該転送条件情報が1つだけあるなら当該転送条件情報内のサーバ識別情報に対応するサーバに当該データを送信する一方、当該各条件を満たす当該転送条件情報が2つ以上あるなら当該各転送条件情報から優先度を読み出し、最も高い当該優先度を含む転送条件情報内のサーバ識別情報に対応するサーバに当該データを優先的に送信するデータ送信部と
を備えることを特徴とする端末。
In the terminal that sends data to the server,
Receives terminal type information indicating one of a plurality of terminal types, data type information indicating one of a plurality of data types transmitted from a terminal of a type corresponding to the terminal type information, and data of the one type Server identification information indicating one of a plurality of servers that can be performed, the priority of the one server among the plurality of servers, and the number of times of data retransmission when the server cannot receive the data transmitted to the one server The allowable number of retransmissions that indicates the maximum value, the allowable time zone information that indicates the time zone in which the server can receive data, and the waiting time information that indicates the length of time from when the server receives the data until it can be received again A transfer condition table storage unit that stores a transfer condition table including one or more transfer condition information including:
The transfer condition information in the transfer condition table, wherein the terminal type information in the transfer condition information corresponds to the type of the terminal having the transfer condition table, and the data type information in the transfer condition information is the terminal Satisfying the condition that it corresponds to the type of data to be transmitted from, the condition that the current time is included in the time zone corresponding to the allowable time zone information in the transfer condition information, and the transmission of the data If it is a retransmission to the server corresponding to the server identification information in the information, the condition that the number of retransmissions when the data is transmitted is less than or equal to the allowable number of retransmissions in the transfer condition information and from the previous transmission to the current transmission The presence or absence of the transfer condition information that satisfies the condition that the length of time is equal to or greater than the length of time corresponding to the waiting time information in the transfer condition information. If there is only one transfer condition information that satisfies each of the conditions, the data is transmitted to the server corresponding to the server identification information in the transfer condition information, while two transfer condition information that satisfies the conditions. A data transmission unit that reads out the priority from each transfer condition information if there is the above and transmits the data preferentially to a server corresponding to the server identification information in the transfer condition information including the highest priority. Characteristic terminal.
請求項1記載の端末であって、
当該端末以外の端末で前記転送条件テーブルを有する端末または複数のサーバのいずれかで前記転送条件テーブルを有するサーバに対し当該転送条件テーブルの送信を要求し当該サーバから当該転送条件テーブルを受信する転送条件テーブル取得部
を備えることを特徴とする端末。
The terminal according to claim 1,
Transfer that requests transmission of the transfer condition table to a server having the transfer condition table at any terminal other than the terminal or a plurality of servers having the transfer condition table and receives the transfer condition table from the server A terminal comprising a condition table acquisition unit.
請求項2記載の端末であって、
当該端末以外の端末で前記転送条件テーブルを有する端末のアドレスを受信する転送条件テーブル取得先解決部
を備えることを特徴とする端末。
The terminal according to claim 2, wherein
A terminal comprising: a transfer condition table acquisition destination resolving unit that receives an address of a terminal having the transfer condition table at a terminal other than the terminal.
請求項2記載の端末であって、
前記転送条件テーブル取得部が、前記転送条件テーブルを有するサーバに対し当該転送条件テーブルの送信を要求したにも拘わらず当該転送条件テーブルを受信できないなら、前記データ送信部は、当該サーバへのデータの送信を中止する
ことを特徴とする端末。
The terminal according to claim 2, wherein
If the transfer condition table acquisition unit cannot receive the transfer condition table in spite of requesting the server having the transfer condition table to transmit the transfer condition table, the data transmitting unit transmits data to the server. A terminal characterized by canceling transmission of.
端末からデータを受信するサーバにおいて、
複数の端末の種別の1つを示す端末種別情報、該端末種別情報に対応する種別の端末から送信される複数のデータの種別の1つを示すデータ種別情報、当該1つの種別のデータを受信できる複数のサーバの1つを示すサーバ識別情報、当該複数のサーバの中での当該1つのサーバの優先度、当該1つのサーバに送信されたデータを当該サーバが受信できない場合のデータの再送回数の最大値を示す許容再送回数、当該サーバがデータを受信できる時間帯を示す許容時間帯情報、ならびに、当該サーバがデータを受信してから再び受信できるまでの時間の長さを示す待ち時間情報を有する転送条件情報を1以上備える転送条件テーブルを生成するとともに、前記サーバ自身を示すサーバ識別情報を含む転送条件情報内の許容再送回数および待ち時間情報を当該サーバにかかる負荷に基づいて求める転送条件テーブル生成部と、
前記転送条件テーブル生成部により生成された転送条件テーブルを当該転送条件テーブルの送信を要求した端末に送信する転送条件テーブル送信部と
を備えることを特徴とするサーバ。
In the server that receives data from the terminal,
Receives terminal type information indicating one of a plurality of terminal types, data type information indicating one of a plurality of data types transmitted from a terminal of a type corresponding to the terminal type information, and data of the one type Server identification information indicating one of a plurality of servers that can be performed, the priority of the one server among the plurality of servers, and the number of times of data retransmission when the server cannot receive the data transmitted to the one server The allowable number of retransmissions that indicates the maximum value, the allowable time zone information that indicates the time zone in which the server can receive data, and the waiting time information that indicates the length of time from when the server receives the data until it can be received again A transfer condition table including one or more transfer condition information including the number of allowable retransmissions and waits in transfer condition information including server identification information indicating the server itself A transfer condition table generating unit for determining between information on the basis of load on the server,
A server comprising: a transfer condition table transmitting unit configured to transmit the transfer condition table generated by the transfer condition table generating unit to a terminal that has requested transmission of the transfer condition table.
複数の端末と複数のサーバを含むデータ転送システムにおいて、
前記データ転送システムの各端末は、
複数の端末の種別の1つを示す端末種別情報、該端末種別情報に対応する種別の端末から送信される複数のデータの種別の1つを示すデータ種別情報、当該1つの種別のデータを受信できる複数のサーバの1つを示すサーバ識別情報、当該複数のサーバの中での当該1つのサーバの優先度、当該1つのサーバに送信されたデータを当該サーバが受信できない場合のデータの再送回数の最大値を示す許容再送回数、当該サーバがデータを受信できる時間帯を示す許容時間帯情報、ならびに、当該サーバがデータを受信してから再び受信できるまでの時間の長さを示す待ち時間情報を有する転送条件情報を1以上備える転送条件テーブルを記憶する転送条件テーブル記憶部と、
前記転送条件テーブル内の転送条件情報であって、当該転送条件情報内の端末種別情報が当該転送条件テーブルを有する端末の種別に対応するという条件、当該転送条件情報内のデータ種別情報が当該端末から送信しようとするデータの種別に対応するという条件、当該転送条件情報内の許容時間帯情報に対応する時間帯に現在時刻が含まれるという条件を満たし、さらに、当該データの送信が当該転送条件情報内のサーバ識別情報に対応するサーバへの再送であるなら、当該データを送信した場合の再送回数が当該転送条件情報内の許容再送回数以下であるという条件並びに前回の送信から今回の送信までの時間の長さが当該転送条件情報内の待ち時間情報に対応する時間の長さ以上であるという条件を満たす当該転送条件情報の有無を判定し、当該各条件を満たす当該転送条件情報が1つだけあるなら当該転送条件情報内のサーバ識別情報に対応するサーバに当該データを送信する一方、当該各条件を満たす当該転送条件情報が2つ以上あるなら当該各転送条件情報から優先度を読み出し、最も高い当該優先度を含む転送条件情報内のサーバ識別情報に対応するサーバに当該データを優先的に送信するデータ送信部と
を備え、
前記データ転送システムの各サーバは、
複数の端末の種別の1つを示す端末種別情報、該端末種別情報に対応する種別の端末から送信される複数のデータの種別の1つを示すデータ種別情報、当該1つの種別のデータを受信できる複数のサーバの1つを示すサーバ識別情報、当該複数のサーバの中での当該1つのサーバの優先度、当該1つのサーバに送信されたデータを当該サーバが受信できない場合のデータの再送回数の最大値を示す許容再送回数、当該サーバがデータを受信できる時間帯を示す許容時間帯情報、ならびに、当該サーバがデータを受信してから再び受信できるまでの時間の長さを示す待ち時間情報を有する転送条件情報を1以上備える転送条件テーブルを生成するとともに、前記サーバ自身を示すサーバ識別情報を含む転送条件情報内の許容再送回数および待ち時間情報を当該サーバにかかる負荷に基づいて求める転送条件テーブル生成部と、
前記転送条件テーブル生成部により生成された転送条件テーブルを当該転送条件テーブルの送信を要求した端末に送信する転送条件テーブル送信部と
を備えることを特徴とするデータ転送システム。
In a data transfer system including a plurality of terminals and a plurality of servers,
Each terminal of the data transfer system
Receives terminal type information indicating one of a plurality of terminal types, data type information indicating one of a plurality of data types transmitted from a terminal of a type corresponding to the terminal type information, and data of the one type Server identification information indicating one of a plurality of servers that can be performed, the priority of the one server among the plurality of servers, and the number of times of data retransmission when the server cannot receive the data transmitted to the one server The allowable number of retransmissions that indicates the maximum value, the allowable time zone information that indicates the time zone in which the server can receive data, and the waiting time information that indicates the length of time from when the server receives the data until it can be received again A transfer condition table storage unit that stores a transfer condition table including one or more transfer condition information including:
The transfer condition information in the transfer condition table, wherein the terminal type information in the transfer condition information corresponds to the type of the terminal having the transfer condition table, and the data type information in the transfer condition information is the terminal Satisfying the condition that it corresponds to the type of data to be transmitted from, the condition that the current time is included in the time zone corresponding to the allowable time zone information in the transfer condition information, and the transmission of the data If it is a retransmission to the server corresponding to the server identification information in the information, the condition that the number of retransmissions when the data is transmitted is less than or equal to the allowable number of retransmissions in the transfer condition information and from the previous transmission to the current transmission The presence or absence of the transfer condition information that satisfies the condition that the length of time is equal to or greater than the length of time corresponding to the waiting time information in the transfer condition information. If there is only one transfer condition information that satisfies each of the conditions, the data is transmitted to the server corresponding to the server identification information in the transfer condition information, while two transfer condition information that satisfies the conditions. A data transmission unit that reads the priority from each transfer condition information if there is more, and transmits the data preferentially to the server corresponding to the server identification information in the transfer condition information including the highest priority,
Each server of the data transfer system
Receives terminal type information indicating one of a plurality of terminal types, data type information indicating one of a plurality of data types transmitted from a terminal of a type corresponding to the terminal type information, and data of the one type Server identification information indicating one of a plurality of servers that can be performed, the priority of the one server among the plurality of servers, and the number of times of data retransmission when the server cannot receive the data transmitted to the one server The allowable number of retransmissions that indicates the maximum value, the allowable time zone information that indicates the time zone in which the server can receive data, and the waiting time information that indicates the length of time from when the server receives the data until it can be received again A transfer condition table including one or more transfer condition information including the number of allowable retransmissions and waits in transfer condition information including server identification information indicating the server itself A transfer condition table generating unit for determining between information on the basis of load on the server,
A data transfer system comprising: a transfer condition table transmitting unit that transmits the transfer condition table generated by the transfer condition table generating unit to a terminal that has requested transmission of the transfer condition table.
請求項1ないし4のいずれかに記載の端末としてコンピュータを機能させるためのコンピュータプログラム。   The computer program for functioning a computer as a terminal in any one of Claims 1 thru | or 4.
JP2012222266A 2012-10-04 2012-10-04 Terminal, server, data transfer system, and computer program Active JP5525022B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012222266A JP5525022B2 (en) 2012-10-04 2012-10-04 Terminal, server, data transfer system, and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012222266A JP5525022B2 (en) 2012-10-04 2012-10-04 Terminal, server, data transfer system, and computer program

Publications (2)

Publication Number Publication Date
JP2014075702A JP2014075702A (en) 2014-04-24
JP5525022B2 true JP5525022B2 (en) 2014-06-18

Family

ID=50749572

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012222266A Active JP5525022B2 (en) 2012-10-04 2012-10-04 Terminal, server, data transfer system, and computer program

Country Status (1)

Country Link
JP (1) JP5525022B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001168913A (en) * 1999-12-10 2001-06-22 Hitachi Ltd Network policy transfer method and distributed rule base program transfer method

Also Published As

Publication number Publication date
JP2014075702A (en) 2014-04-24

Similar Documents

Publication Publication Date Title
JP5963766B2 (en) System and method for delivering application traffic to a server based on dynamic service response time
CN101370035B (en) Method and system for dynamic client/server network management using proxy servers
JP6279938B2 (en) Connection management apparatus, communication system, connection management method and program
US20100313261A1 (en) Communication method for device in network system and system for managing network devices
JP2020537431A5 (en)
JP2013123998A (en) Communication control device for vehicle
US9537930B2 (en) Information system, file server, and file server control method
CN102763373A (en) Method and apparatus for using service of home network device based on remote access
US9225585B2 (en) Method and system for device management, and server
JP4410608B2 (en) Web service providing method
JP2018517992A (en) Hypertext transfer protocol request retransmission method, device, and client terminal
JP6886874B2 (en) Edge devices, data processing systems, data transmission methods, and programs
JP5525022B2 (en) Terminal, server, data transfer system, and computer program
JP2009188655A (en) Communication control method, information processing system, information processor, and program
JP6090471B2 (en) COMMUNICATION SYSTEM, COMMON SERVICE CONTROL DEVICE, DATA TRANSMISSION METHOD, AND PROGRAM
US9450863B2 (en) Route request mediation apparatus, control apparatus, route request mediation method and program
JP6606032B2 (en) Congestion notification device and congestion notification method
WO2014203728A1 (en) Message control system, message control device, message control method, and program
US20150120882A1 (en) Information processing apparatus, program, and control method
JP6488557B2 (en) Communication control system, communication system, communication control method, and communication control program
JP5758572B2 (en) Message transmission / reception method of messaging network system
US11196831B2 (en) Communication apparatus, communication method, and storage medium
KR20190064065A (en) Message manage apparatus and method for supporting service in internet of things
JP5545127B2 (en) Message exchange system, message exchange method, and message exchange program
JP5768119B2 (en) Load distribution apparatus, load distribution method, and load distribution program

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140408

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140410

R150 Certificate of patent or registration of utility model

Ref document number: 5525022

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150