JP4964282B2 - Data transfer device, data transfer method and program, and data transfer system - Google Patents

Data transfer device, data transfer method and program, and data transfer system Download PDF

Info

Publication number
JP4964282B2
JP4964282B2 JP2009235643A JP2009235643A JP4964282B2 JP 4964282 B2 JP4964282 B2 JP 4964282B2 JP 2009235643 A JP2009235643 A JP 2009235643A JP 2009235643 A JP2009235643 A JP 2009235643A JP 4964282 B2 JP4964282 B2 JP 4964282B2
Authority
JP
Japan
Prior art keywords
data
amount
line state
data transfer
buffer
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
JP2009235643A
Other languages
Japanese (ja)
Other versions
JP2011082928A (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2009235643A priority Critical patent/JP4964282B2/en
Publication of JP2011082928A publication Critical patent/JP2011082928A/en
Application granted granted Critical
Publication of JP4964282B2 publication Critical patent/JP4964282B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、外部から取得したデータをサーバに転送するデータ転送装置、データ転送方法及びそのためのプログラム並びにデータ転送システムに関する。   The present invention relates to a data transfer apparatus, a data transfer method, a program therefor, and a data transfer system that transfer data acquired from the outside to a server.

従来より、データ通信の際に回線状態(回線品質)が変動しても、データ転送の効率を低下させないようにする技術が種々提案されている(例えば、特許文献1、特許文献2)。   Conventionally, various techniques have been proposed to prevent the efficiency of data transfer from being lowered even if the line state (line quality) fluctuates during data communication (for example, Patent Document 1 and Patent Document 2).

特許文献1には、フレーム送信の成功・失敗の状態により、次回に送信するフレーム長を決定するデータ転送方式が開示されている。   Patent Document 1 discloses a data transfer method for determining the frame length to be transmitted next time depending on the success / failure state of frame transmission.

また、特許文献2には、無線通信における電波信号のEc/Io(パイロット信号強度対全受信信号強度)のレベルを測定し、回線状態が回復傾向であるか悪化傾向であるかを判定し、その結果に基づいて、1パケットのデータサイズを設定して通信を行う技術が開示されている。   Patent Document 2 also measures the level of Ec / Io (pilot signal strength vs. total received signal strength) of radio signals in wireless communication to determine whether the line status is in a recovery trend or a deterioration trend. Based on the result, a technique for performing communication by setting the data size of one packet is disclosed.

特開平11−122226号公報JP-A-11-122226 特開2005−20550号公報JP 2005-20550 A

しかしながら、特許文献1に開示される技術では、通信の際、コネクションが途中で切断されてしまうと、それまで送信したデータが失われてしまうため、コネクションの再確立後、データを最初から送信しなおす必要がある。   However, in the technique disclosed in Patent Document 1, if the connection is cut off during communication, the data transmitted until then is lost. Therefore, after re-establishing the connection, the data is transmitted from the beginning. I need to fix it.

特許文献2に開示される技術では、送信すべきデータを複数のセッションによって転送し、回線の状態が良いときは、セッションの数を増加させる。これにより、膨大なデータが効率的に転送される。セッションにはセッションIDが割り振られ、データ通信を行う両ホストは、セッションIDを記憶保持する。両ホストは、互いにセッションIDの要求・応答確認を行うことで、通信が途切れた場合でも、当該セッションIDのセッションから再開することができ、データを最初から送信しなおす必要がない。   In the technique disclosed in Patent Document 2, data to be transmitted is transferred by a plurality of sessions, and when the line state is good, the number of sessions is increased. Thereby, a huge amount of data is efficiently transferred. A session ID is assigned to the session, and both hosts that perform data communication store and hold the session ID. Both hosts can request and respond to each other for a session ID, so that even if communication is interrupted, they can resume from the session with that session ID, and there is no need to retransmit data from the beginning.

しかしながら、1回のセッションで転送するデータ量は決まっているため、回線の状態が悪く、セッションが途中で切断され、再送が生じた場合、再びセッションが途中で切断される可能性が高い状況であっても、同じデータ量で再送を繰り返さざるを得ないという問題がある。   However, since the amount of data to be transferred in one session is fixed, the line condition is bad, and if the session is disconnected and retransmitted, the session is likely to be disconnected again in the middle Even if it exists, there exists a problem that resending must be repeated with the same data amount.

したがって、回線状態の不良時等に発生し得る通信の途中切断に起因したデータ転送の効率低下を避けるための新たな技術の提案が求められている。   Accordingly, there is a need for a proposal of a new technique for avoiding a decrease in data transfer efficiency caused by a disconnection in the middle of communication that may occur when the line condition is poor.

本発明は、このような実情に鑑みてなされたものであり、回線状態に応じて、1回のセッションで送信するデータ量を調整することで、通信の途中切断を起因としたデータ転送の効率低下を防止するデータ転送装置、データ転送方法及びそのためのプログラム並びにデータ転送システムを提供することを目的とする。   The present invention has been made in view of such circumstances, and by adjusting the amount of data to be transmitted in one session according to the line state, the efficiency of data transfer caused by disconnection in the middle of communication It is an object of the present invention to provide a data transfer apparatus, a data transfer method, a program for the data transfer system, and a data transfer system that prevent the degradation.

上記目的を達成するため、本発明に係るデータ転送装置は、
他の装置からデータを取得し、バッファに格納するデータ取得手段と、
前記バッファに格納されているデータを、所定のネットワークを介して接続するサーバに送信する通信手段と、
回線の状態に関する回線状態データを取得する回線状態取得手段と、
該回線状態取得手段が取得した前記回線状態データを蓄積して記憶する回線状態記憶手段と、
該回線状態記憶手段に記憶されている前記回線状態データと、前記バッファに格納されているデータの総量と、に基づいて、前記サーバとの1回のセッションで送信可能なデータ量である送信可能データ量を決定する送信データ量決定手段と、を備え、
前記通信手段は、前記バッファに格納されているデータの総量が前記送信可能データ量より大きい場合、前記バッファに格納されているデータを少なくとも2回以上のセッションに分けて送信前記回線状態記憶手段に記憶される前記回線状態データには、前回のセッションでのデータ転送量が含まれ、前記送信データ量決定手段は、前記前回のセッションでのデータ転送量と、前記前回のセッションにおけるデータ転送の成否と、に基づいて、前記送信可能データ量を決定する、ことを特徴とする。
In order to achieve the above object, a data transfer apparatus according to the present invention provides:
Data acquisition means for acquiring data from other devices and storing the data in a buffer;
Communication means for transmitting data stored in the buffer to a server connected via a predetermined network;
Line state acquisition means for acquiring line state data relating to the line state;
Line state storage means for accumulating and storing the line state data acquired by the line state acquisition means;
Based on the line state data stored in the line state storage means and the total amount of data stored in the buffer, the amount of data that can be transmitted in one session with the server can be transmitted. A transmission data amount determining means for determining a data amount;
Said communication means, if the total amount of data stored in the buffer is greater than the transmittable data amount, and transmits the data stored in the buffer is divided into at least two or more sessions, the line status memory The line state data stored in the means includes a data transfer amount in the previous session, and the transmission data amount determining means includes the data transfer amount in the previous session and the data transfer amount in the previous session. The amount of transmittable data is determined based on the success or failure of .

本発明によれば、通信の途中切断を起因としたデータ転送の効率低下を防止することが可能になる。   ADVANTAGE OF THE INVENTION According to this invention, it becomes possible to prevent the efficiency fall of the data transfer resulting from the disconnection in the middle of communication.

本発明の一実施形態に係るデータ転送システムの構成を示すブロック図である。It is a block diagram which shows the structure of the data transfer system which concerns on one Embodiment of this invention. 広域通信部の構成を示すブロック図である。It is a block diagram which shows the structure of a wide area communication part. 回線状態記憶部に格納される回線状態データの一例を示す図である。It is a figure which shows an example of the line state data stored in a line state memory | storage part. 環境情報記憶部に格納される環境情報の一例を示す図である。It is a figure which shows an example of the environmental information stored in an environmental information storage part. データ転送装置で実行される処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the process performed with a data transfer apparatus. データ送信処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a data transmission process.

以下、本発明の一実施形態に係るデータ転送システムについて図面を参照して詳細に説明する。   Hereinafter, a data transfer system according to an embodiment of the present invention will be described in detail with reference to the drawings.

図1は、本実施形態に係るデータ転送システムの構成を示すブロック図である。図1に示すように、このデータ転送システムは、データ転送装置10と、データ収集サーバ20とから構成される。   FIG. 1 is a block diagram showing the configuration of the data transfer system according to this embodiment. As shown in FIG. 1, the data transfer system includes a data transfer device 10 and a data collection server 20.

本実施形態では、データ転送装置10は、太陽光発電に関する各種のログデータを1又は複数の装置から収集するデータロガーとしての役割を担う。データ転送装置10は、収集したログデータを、インターネット等の広域ネットワークNに接続するデータ収集サーバ20に転送する。   In the present embodiment, the data transfer device 10 plays a role as a data logger that collects various log data related to solar power generation from one or a plurality of devices. The data transfer device 10 transfers the collected log data to a data collection server 20 connected to a wide area network N such as the Internet.

本実施形態では、データ転送装置10とデータ収集サーバ20との間の通信プロトコルとして、TCP/IP(Transmission Control Protocol / Internet Protocol)を使用し、データ転送のプロトコルとして、HTTP(HyperText Transfer Protocol)を使用する。そして、データ転送装置10は、HTTPクライアント機能を備え、データ収集サーバ20は、HTTPサーバ機能を備えている。なお、この他にも、FTP(File Tranfer Protocol)やSMTP(Simple Mail Transfer Protocol)等のプロトコルを用いてデータ転送を行うようにしてもよい。   In the present embodiment, TCP / IP (Transmission Control Protocol / Internet Protocol) is used as a communication protocol between the data transfer apparatus 10 and the data collection server 20, and HTTP (HyperText Transfer Protocol) is used as a data transfer protocol. use. The data transfer apparatus 10 has an HTTP client function, and the data collection server 20 has an HTTP server function. In addition, data transfer may be performed using a protocol such as FTP (File Tranfer Protocol) or SMTP (Simple Mail Transfer Protocol).

データ転送装置10は、データ取得部101と、バッファ102と、広域通信部103と、回線状態取得部104と、回線状態記憶部105と、環境情報取得部106と、環境情報記憶部107と、送信データ量決定部108と、を備える。なお、図示はしないが、各構成要素は、データ転送装置10に内蔵されるCPUあるいはMPU(以下、CPU等という。)に接続されている。CPU等は、ROMや図示しないハードディスクドライブ等に記憶されている所定のプログラムを実行することで、各構成要素を制御する。   The data transfer apparatus 10 includes a data acquisition unit 101, a buffer 102, a wide area communication unit 103, a line state acquisition unit 104, a line state storage unit 105, an environment information acquisition unit 106, an environment information storage unit 107, A transmission data amount determination unit 108. Although not shown, each component is connected to a CPU or MPU (hereinafter referred to as a CPU or the like) built in the data transfer apparatus 10. The CPU or the like controls each component by executing a predetermined program stored in a ROM or a hard disk drive (not shown).

データ取得部101は、太陽光発電における各装置(例えば、太陽電池、各種センサ、パワーコンディショナ等)と有線又は無線にてデータ通信可能に接続し、所定のタイミング(本実施形態では、所定の時間間隔)で各装置から送信された発電量や気象条件等のログデータを受信する。データ取得部101は、受信したログデータをバッファ102に保存する。バッファ102は、例えば、読み書き可能な不揮発性の半導体メモリで構成される。   The data acquisition unit 101 is connected to each device (for example, a solar cell, various sensors, a power conditioner, etc.) in photovoltaic power generation so that data communication can be performed by wire or wirelessly. Log data such as power generation amount and weather conditions transmitted from each device at a time interval). The data acquisition unit 101 stores the received log data in the buffer 102. The buffer 102 is composed of, for example, a readable / writable nonvolatile semiconductor memory.

広域通信部103は、モデム等のデータ通信装置30に接続し、電話回線を経由して、ISP(Internet Service Provider)が提供するAP(アクセスポイント)40に接続し、さらに広域ネットワークNを経由して、データ収集サーバ20に通信接続する。ここでの電話回線は、GSM(Global System for Mobile Communications)等の無線の電話回線であり、広域通信部103は、PPP(Point-to-Point Protocol)をデータリンク層のプロトコルとして、ダイヤルアップによってAP40に接続する。   The wide area communication unit 103 is connected to a data communication apparatus 30 such as a modem, is connected to an AP (access point) 40 provided by an ISP (Internet Service Provider) via a telephone line, and is further connected via a wide area network N. Then, communication connection is made to the data collection server 20. The telephone line here is a wireless telephone line such as GSM (Global System for Mobile Communications), and the wide area communication unit 103 uses PPP (Point-to-Point Protocol) as a data link layer protocol by dial-up. Connect to AP40.

図2に示すように、広域通信部103は、通信制御部110と、課金対象接続実行部111と、データ通信実行部112と、を備える。 データ通信実行部112は、TCP/IP、HTTPクライアント機能等の通信ソフトウェアを備え、データ取得部101が取得し、バッファ102に記憶されているログデータをデータ収集サーバ20に転送する処理を実行する。   As shown in FIG. 2, the wide area communication unit 103 includes a communication control unit 110, a billing target connection execution unit 111, and a data communication execution unit 112. The data communication execution unit 112 includes communication software such as TCP / IP and HTTP client functions, and executes processing for transferring the log data acquired by the data acquisition unit 101 and stored in the buffer 102 to the data collection server 20. .

課金対象接続実行部111は、ATコマンドによりデータ通信装置30を制御する機能やAP40に接続するためのPPP通信機能等を備え、電話回線業者、ISPとの間の通信、即ち、課金に関係する通信の接続と切断を実行する。通信制御部110は、後述する送信データ量決定部108の処理結果に従い、課金対象接続実行部111とデータ通信実行部112による通信処理を制御する。   The billing target connection execution unit 111 has a function of controlling the data communication device 30 by an AT command, a PPP communication function for connecting to the AP 40, and the like, and is related to communication with a telephone line provider and ISP, that is, billing. Perform communication connection and disconnection. The communication control unit 110 controls communication processing by the charge object connection execution unit 111 and the data communication execution unit 112 according to the processing result of the transmission data amount determination unit 108 described later.

回線状態取得部104は、広域通信部103が通信を実行している間に発生したエラーや送信データ量等、回線状態に関するデータ(回線状態データ)を取得する。本実施形態では、回線状態取得部104は、セッション毎のデータ転送における、開始時刻、転送成否、転送すべきデータ全体のバイト数(全体バイト数)、データ全体を複数セッションに分割して送信する場合の分割数と送信の順番(分割)、転送予定バイト数及び転送実績バイト数を取得し、これらを回線状態データとして、回線状態記憶部105に格納する(図3参照)。   The line status acquisition unit 104 acquires data related to the line status (line status data) such as an error and the amount of transmission data that occurred while the wide area communication unit 103 is performing communication. In the present embodiment, the line status acquisition unit 104 divides and transmits the start time, transfer success / failure, the total number of bytes to be transferred (total number of bytes), and the entire data into a plurality of sessions. In this case, the number of divisions and the order of transmission (division), the scheduled transfer byte number, and the actual transfer byte number are acquired and stored in the line state storage unit 105 as line state data (see FIG. 3).

回線状態記憶部105は、例えば、読み書き可能な不揮発性の半導体メモリで構成される。図3に示すように、回線状態記憶部105には、過去数時間分の回線状態データが蓄積して保存される。   The line state storage unit 105 is configured by, for example, a readable / writable nonvolatile semiconductor memory. As shown in FIG. 3, line state data for the past several hours is accumulated and stored in the line state storage unit 105.

環境情報取得部106は、図示しない各計測器から現在の気象状態に関する諸情報を環境情報として取得する。本実施形態では、環境情報取得部106は、環境情報として、一般に回線状態に影響を与えることが考えられる気象状態、即ち、天気、気温、相対湿度、水蒸気密度、気圧等を取得する。環境情報取得部106は、これらの気象状態を、データ転送装置10に接続する図示しない各種計測器(例えば、視程計、日照計、温度計、湿度計、気圧計等)から取得したデータに基づいて決定する。なお、データ取得部101が受信したログデータに気象状態に関する情報が含まれている場合には、環境情報取得部106は、それをログデータから抽出して利用してもよいし、あるいは、データ収集サーバ20から気象状態に関する情報をダウンロードする仕様にしてもよい。   The environment information acquisition unit 106 acquires various information related to the current weather condition from each measuring instrument (not shown) as environment information. In the present embodiment, the environment information acquisition unit 106 acquires, as environment information, a weather state that is generally considered to affect the line state, that is, weather, temperature, relative humidity, water vapor density, atmospheric pressure, and the like. The environmental information acquisition unit 106 is based on data acquired from various measuring instruments (not shown) (for example, a visibility meter, a sunshine meter, a thermometer, a hygrometer, a barometer, etc.) connected to the data transfer device 10 for these weather conditions. To decide. If the log data received by the data acquisition unit 101 includes information on weather conditions, the environment information acquisition unit 106 may extract and use the information from the log data, or You may make it the specification which downloads the information regarding a weather condition from the collection server 20. FIG.

環境情報取得部106は、所定時間毎に上記の環境情報を取得し、例えば、読み書き可能な不揮発性の半導体メモリで構成される環境情報記憶部107に格納する(図4参照)。   The environment information acquisition unit 106 acquires the above environment information every predetermined time, and stores it in the environment information storage unit 107 composed of, for example, a readable / writable nonvolatile semiconductor memory (see FIG. 4).

送信データ量決定部108は、回線状態記憶部105に格納されている回線状態データと、環境情報記憶部107に格納されている環境情報と、全体バイト数と、に基づいて、セッション(HTTPセッション)が切断されずに送信可能なデータ量(バイト数)を算出する。   Based on the line state data stored in the line state storage unit 105, the environment information stored in the environment information storage unit 107, and the total number of bytes, the transmission data amount determination unit 108 performs a session (HTTP session). ) Calculates the amount of data (number of bytes) that can be transmitted without being disconnected.

続いて、以上のように構成されたデータ転送装置10が実行する処理の手順を図5及び図6のフローチャートを用いて説明する。   Subsequently, a procedure of processing executed by the data transfer apparatus 10 configured as described above will be described with reference to flowcharts of FIGS. 5 and 6.

データ転送装置10の電源がONされると、CPU等が起動し、ROMあるいはハードディスクドライブ(何れも図示せず)に記憶されている所定のプログラムが実行されることで、以下の処理が繰り返し行われる。先ず、データ取得部101は、他の装置からのログデータを取得する処理を実行する(図5のステップS101)。   When the power of the data transfer device 10 is turned on, the CPU or the like is activated, and a predetermined program stored in a ROM or a hard disk drive (both not shown) is executed, so that the following processing is repeated. Is called. First, the data acquisition unit 101 executes processing for acquiring log data from another device (step S101 in FIG. 5).

データ取得部101は、例えば、接続する全ての装置(例えば、太陽電池、各種センサ、パワーコンディショナ等)に対して、ログデータの送信要求メッセージを発行する。各装置は、この送信要求メッセージに応答して、それぞれが保持するログデータをデータ転送装置10に送信する。データ取得部101は、各装置から送信されたログデータを受信し、バッファ102に格納する。   For example, the data acquisition unit 101 issues a log data transmission request message to all the devices to be connected (for example, a solar cell, various sensors, a power conditioner, and the like). In response to the transmission request message, each device transmits log data held by each device to the data transfer device 10. The data acquisition unit 101 receives log data transmitted from each device and stores it in the buffer 102.

データ取得部101による上記処理の実行に同期して、環境情報取得部106は、環境情報を取得する処理を実行する(ステップS102)。環境情報取得部106は、図示しない各計測器(例えば、視程計、日照計、温度計、湿度計、気圧計等)からデータ(計測値)を取得し、これらに基づいて、現在の気象状態、即ち、天気、気温、相対湿度、水蒸気密度、気圧を求める。そして、求めた気象状態を環境情報として、環境情報記憶部107に格納する。なお、環境情報取得部106は、環境情報の取得処理をデータ取得部101による処理と非同期、即ち、異なる時間間隔で実行してもよい。   In synchronization with the execution of the above process by the data acquisition unit 101, the environment information acquisition unit 106 executes a process of acquiring environment information (step S102). The environment information acquisition unit 106 acquires data (measured values) from each measuring instrument (for example, a visibility meter, a sunshine meter, a thermometer, a hygrometer, a barometer, etc.) not shown, and based on these, current weather conditions That is, the weather, temperature, relative humidity, water vapor density, and atmospheric pressure are obtained. Then, the obtained weather condition is stored in the environment information storage unit 107 as environment information. The environment information acquisition unit 106 may execute the environment information acquisition process asynchronously with the process by the data acquisition unit 101, that is, at different time intervals.

次に、CPU等は、データ収集サーバ20に送信すべきデータ(送信データ)があるか否か、即ち、バッファ102に未送信のログデータが存在するか否かを判定する(ステップS103)。送信データがある場合(ステップS103でYES)、データ送信処理が実行され(ステップS104)、一方、送信データがない場合(ステップS103でNO)は、ステップS105に移行する。   Next, the CPU or the like determines whether there is data (transmission data) to be transmitted to the data collection server 20, that is, whether there is untransmitted log data in the buffer 102 (step S103). If there is transmission data (YES in step S103), data transmission processing is executed (step S104). On the other hand, if there is no transmission data (NO in step S103), the process proceeds to step S105.

ここで、データ送信処理について、図6のフローチャートを用いて詳細に説明する。先ず、課金対象接続実行部111は、ダイヤルアップ接続を実行する(ステップS201)。ダイヤルアップ接続は、ATコマンドでデータ通信装置30を操作することによる電話回線接続と、PPPプロトコルによるAP40とのPPPコネクションの確立と、によって成される。なお、本実施形態では、通信に要する料金は、電話回線の使用時間と、PPPの接続時間に従って、従量的に課されるものとする。   Here, the data transmission processing will be described in detail with reference to the flowchart of FIG. First, the billing target connection execution unit 111 executes dial-up connection (step S201). The dial-up connection is established by telephone line connection by operating the data communication device 30 with an AT command and establishment of a PPP connection with the AP 40 by the PPP protocol. In the present embodiment, the fee required for communication is charged according to the usage time of the telephone line and the connection time of PPP.

次に、送信データ量決定部108は、回線状態記憶部105に格納されている回線状態データと、環境情報記憶部107に格納されている環境情報と、バッファ102に格納されているログデータの総量(即ち、全体バイト数)と、に基づいて、1回のセッションで送信可能なデータ量(転送予定バイト数)を算出し、決定する(ステップS202)。この算定方法の具体例を以下に示す。   Next, the transmission data amount determination unit 108 includes the line state data stored in the line state storage unit 105, the environment information stored in the environment information storage unit 107, and the log data stored in the buffer 102. Based on the total amount (that is, the total number of bytes), a data amount (scheduled transfer byte number) that can be transmitted in one session is calculated and determined (step S202). A specific example of this calculation method is shown below.

(1)回線状態データ(転送成否、転送実績バイト数)と、全体バイト数と、に基づいた算定方法
この算定方法では、送信データ量決定部108は、前回の転送の成否に応じて、転送予定バイト数を決定する。なお、前回の転送の成否にかかわらず、今回の全体バイト数が、前回の転送実績バイト数以下の場合は、送信データ量決定部108は、転送すべきデータ全体(即ち、バッファ102に格納されている全てのログデータ)のバイト数を今回の転送予定バイト数として決定する。
(1) Calculation method based on line status data (transfer success / failure, actual transfer byte count) and total byte count In this calculation method, the transmission data amount determination unit 108 performs transfer according to the success / failure of the previous transfer. Determine the planned number of bytes. Regardless of the success or failure of the previous transfer, if the current total number of bytes is less than or equal to the previous transfer actual number of bytes, the transmission data amount determination unit 108 stores the entire data to be transferred (that is, stored in the buffer 102). The number of bytes of all log data) is determined as the number of bytes to be transferred this time.

今回の全体バイト数が、前回の転送実績バイト数を超えている場合であって、前回の転送が成功している場合、送信データ量決定部108は、前回の転送実績バイト数より少なくならないことを条件として、全体バイト数をn(nは1以上の整数)分割した値(バイト数)を今回の転送予定バイト数として決定する。   If the current total number of bytes exceeds the previous transfer actual number of bytes, and the previous transfer is successful, the transmission data amount determination unit 108 must not be less than the previous transfer actual number of bytes. As a condition, a value (number of bytes) obtained by dividing the total number of bytes by n (n is an integer equal to or greater than 1) is determined as the current scheduled transfer number of bytes.

一方、今回の全体バイト数が、前回の転送実績バイト数を超えている場合であって、前回の転送が失敗している場合、送信データ量決定部108は、全体バイト数をn(nは2以上の整数)分割し、その値が前回の転送実績バイト数以下となれば、当該値を今回の転送予定バイト数として決定する。   On the other hand, if the current total number of bytes exceeds the previous transfer actual number of bytes and the previous transfer has failed, the transmission data amount determination unit 108 sets the total number of bytes to n (n is If the value is less than or equal to the previous transfer actual number of bytes, the value is determined as the current transfer scheduled byte number.

例えば、図3において、番号1のレコードで示されるセッションでは、データ転送が成功しており、その転送実績バイト数は、204,800バイトである。その後のセッション、即ち、番号2のレコードで示されるセッションでは、全体バイト数は、307,200バイトである。したがって、上記の算定方法に当てはめると、このセッションでの転送予定バイト数は、307,200バイトとなる。   For example, in FIG. 3, in the session indicated by the record of number 1, data transfer has been successful, and the transfer result byte number is 204,800 bytes. In the subsequent session, that is, the session indicated by the record of number 2, the total number of bytes is 307,200 bytes. Accordingly, when applied to the above calculation method, the number of bytes scheduled to be transferred in this session is 307,200 bytes.

また、番号2のレコードで示されるセッションでは、データ転送が失敗しており、その転送実績バイト数は、285,000バイトである。この場合、次回以降のセッションで、全体バイト数(307,200バイト)のデータを再送する必要がある。送信データ量決定部108は、転送予定バイト数を前回の転送実績バイト数(285,000バイト)以下にするため、307,200バイトをn(nは2以上の整数)分割する。この場合、2分割すると、1回のセッションでのデータ転送量が153,600バイトとなるので、上記の算定条件をクリアする。したがって、番号3及び番号4のレコードで示されるように、307,200バイトのデータが、153,600バイトずつ2回のセッションに分けて送信されることになる。なお、仮に、再送も失敗した場合は、さらに細かく分割して再送することとなる。   In the session indicated by the record with the number 2, data transfer has failed, and the actual transfer byte count is 285,000 bytes. In this case, it is necessary to retransmit the data of the total number of bytes (307,200 bytes) in subsequent sessions. The transmission data amount determination unit 108 divides 307,200 bytes into n (n is an integer equal to or greater than 2) so that the scheduled transfer byte number is equal to or less than the previous transfer actual byte number (285,000 bytes). In this case, when divided into two, the data transfer amount in one session is 153,600 bytes, so the above calculation condition is cleared. Therefore, as indicated by the records of number 3 and number 4, 307,200 bytes of data are transmitted in two sessions of 153,600 bytes. If retransmission also fails, it is further divided and retransmitted.

また、番号5のレコードで示されるセッションでは、全体バイト数は、204,800バイトであり、前回のセッション(番号4のレコードで示されるセッション)では、データ転送が成功しており、その転送実績バイト数は、153,600バイトである。この場合、2分割すると、1回のセッションでのデータ転送量が102,400バイトとなり、153,600バイトを下回ってしまう。したがって、送信データ量決定部108は、分割しない値(換言すると、1分割した値)である204,800バイトを今回の転送予定バイト数として決定する。   In the session indicated by the record with the number 5, the total number of bytes is 204,800 bytes. In the previous session (the session indicated by the record with the number 4), the data transfer was successful, and the transfer record The number of bytes is 153,600 bytes. In this case, when divided into two, the data transfer amount in one session is 102,400 bytes, which is less than 153,600 bytes. Therefore, the transmission data amount determination unit 108 determines 204,800 bytes, which is a value that is not divided (in other words, a value that is divided by 1), as the current transfer planned number of bytes.

(2)環境情報に基づいた算定方法
この算定方法では、送信データ量決定部108は、例えば、「電波伝搬ハンドブック(リアライズ理工センター、1999年)第5章及び第6章」のような公知文献で開示されている情報に基づいて、環境情報記憶部107に記憶されている環境情報を参照して電波の減衰率を求める。そして、求めた電波の減衰率から、転送可能と推測されるバイト数を導出するために予め用意された所定の算出式あるいはテーブルを使用して、1回のセッションで送信可能なデータ量(転送予定バイト数)を決定する。
(2) Calculation Method Based on Environmental Information In this calculation method, the transmission data amount determination unit 108 is a publicly known document such as “Radio Wave Propagation Handbook (Realize Science and Technology Center, 1999) Chapters 5 and 6”. Based on the information disclosed in the above, the attenuation rate of the radio wave is obtained by referring to the environment information stored in the environment information storage unit 107. The amount of data that can be transmitted in one session (transfer) using a predetermined calculation formula or table prepared in advance to derive the number of bytes estimated to be transferable from the obtained attenuation rate of radio waves Determine the planned number of bytes).

送信データ量決定部108は、上述した算定例のように、回線状態データ又は環境情報の何れか一方のみを参照して、転送予定バイト数を決定してもよいし、種々の条件により、何れを参照するかを切り替えてもよい。例えば、データ転送装置10の起動時など、回線状態記憶部105に回線状態データが格納されていない場合には、送信データ量決定部108は、環境情報記憶部107に格納されている環境情報を参照して、転送予定バイト数を算定するようにしてもよい。   As in the calculation example described above, the transmission data amount determination unit 108 may determine the number of bytes to be transferred by referring to only one of the line state data and the environment information, and depending on various conditions, It may be switched whether to refer to. For example, when the line state data is not stored in the line state storage unit 105 such as when the data transfer apparatus 10 is started up, the transmission data amount determination unit 108 stores the environment information stored in the environment information storage unit 107. The number of bytes scheduled for transfer may be calculated with reference to the reference.

あるいは、上記(1)の算定方法により決定したデータ量と、上記(2)の算定方法により決定したデータ量の内、何れか小さい方を1回のセッションで送信可能なデータ量(転送予定バイト数)として採用してもよい。   Alternatively, the amount of data (scheduled transfer bytes) that can be transmitted in one session, the smaller of the data amount determined by the calculation method of (1) and the data amount determined by the calculation method of (2) Number).

図6のフローチャートに戻り、ステップS203では、データ通信実行部112が、データ転送のためのセッション(HTTPセッション)を確立する。セッションの確立後、データ通信実行部112は、HTTPのPUTメソッド等により、データの転送を実行する(ステップS204)。データ転送の終了後、データ通信実行部112は、セッションを切断する(ステップS205)。   Returning to the flowchart of FIG. 6, in step S203, the data communication execution unit 112 establishes a session for data transfer (HTTP session). After the session is established, the data communication execution unit 112 executes data transfer by using an HTTP PUT method or the like (step S204). After the data transfer ends, the data communication execution unit 112 disconnects the session (step S205).

セッションの確立と切断の際、例えば、HTTP1.0のように、1回のHTTPセッション毎にTCPのコネクションの接続と切断を要する場合は、データ通信実行部112は、ステップS203でTCPコネクションを確立し、ステップS205でTCPコネクションを切断する。   When establishing and disconnecting a session, for example, when the connection and disconnection of a TCP connection is required for each HTTP session as in HTTP 1.0, the data communication execution unit 112 establishes a TCP connection in step S203. In step S205, the TCP connection is disconnected.

また、HTTP1.1のように、TCPのコネクションが継続している間、HTTPセッションによる通信が複数回可能な場合は、データ通信実行部112は、HTTPセッションの度にTCPコネクションの確立/切断を実行せず、ステップS201のダイヤルアップ接続時にTCPコネクションを確立し、ステップS210のダイヤルアップ切断時にTCPコネクションを切断することができる。   In addition, as in HTTP 1.1, when the communication by the HTTP session is possible a plurality of times while the TCP connection is continued, the data communication execution unit 112 establishes / disconnects the TCP connection for each HTTP session. Without executing, the TCP connection can be established at the time of dial-up connection in step S201, and the TCP connection can be disconnected at the time of dial-up disconnection in step S210.

回線状態取得部104は、当該セッションにおける回線状態データを取得し、回線状態記憶部105に記録する(ステップS206)。   The line state acquisition unit 104 acquires line state data in the session and records it in the line state storage unit 105 (step S206).

当該セッションにおけるデータ転送が成功した場合(ステップS207でYES)、CPU等は、送信すべき全データの送信が完了したか否かを判定する(ステップS209)。その結果、全データの送信が完了している場合(ステップS209でYES)、課金対象接続実行部111は、ダイヤルアップ切断を実行する(ステップS210)。そして、CPU等は、本処理(データ送信処理)を終了する。   If the data transfer in the session has succeeded (YES in step S207), the CPU or the like determines whether transmission of all data to be transmitted has been completed (step S209). As a result, when transmission of all data is completed (YES in step S209), the billing object connection execution unit 111 executes dial-up disconnection (step S210). And CPU etc. complete | finish this process (data transmission process).

一方、全データの送信が完了していない場合(ステップS209でNO)、ステップS203に戻り、上述した処理が繰り返し行われる。   On the other hand, if transmission of all data has not been completed (NO in step S209), the process returns to step S203, and the above-described processing is repeated.

当該セッションにおけるデータ転送が失敗した場合(ステップS207でNO)、CPU等は、データ転送の失敗回数が、予め決められた所定回数を超えているか否かを判定する(ステップS208)、失敗回数が所定回数を超えている場合(ステップS208でYES)、CPU等は、回線状態が不良であると判断する。この場合、回線状態の回復を待つ方が望ましいことから、CPU等は、課金対象接続実行部111にダイヤルアップ切断を実行させ(ステップS210)、本処理(データ送信処理)を終了する。   When data transfer in the session has failed (NO in step S207), the CPU or the like determines whether or not the number of data transfer failures exceeds a predetermined number of times (step S208). If the predetermined number of times is exceeded (YES in step S208), the CPU or the like determines that the line state is bad. In this case, since it is desirable to wait for the line state to recover, the CPU or the like causes the charge target connection execution unit 111 to execute dial-up disconnection (step S210), and ends this processing (data transmission processing).

一方、失敗回数が所定回数以下の場合(ステップS208でNO)、ステップS203に戻り、上述した処理が繰り返し行われる。   On the other hand, if the number of failures is less than or equal to the predetermined number (NO in step S208), the process returns to step S203, and the above-described processing is repeated.

以上のデータ送信処理が終了すると、CPU等は、所定時間が経過するまで、各構成要素による処理を一時待機させる(図5のステップS105)。その後、CPU等は、データ取得部101を起動させ、以降、ステップS101からの処理が繰り返される。   When the above data transmission processing is completed, the CPU or the like temporarily waits for processing by each component until a predetermined time elapses (step S105 in FIG. 5). Thereafter, the CPU or the like activates the data acquisition unit 101, and thereafter, the processing from step S101 is repeated.

以上説明したように、本実施形態に係るデータ転送システムでは、データ転送装置10において、データ取得部101が取得したデータ(ログデータ)をデータ収集サーバ20に送信する際、回線状態記憶部105に格納されている回線状態データに基づいて、送信データ量決定部108は、1回のセッションで送信可能なデータ量(転送予定バイト数)を決定する。そして、広域通信部103は、この決定した転送予定バイト数に基づいて、送信すべき全データを必要に応じて複数のセッションに分割して転送する。   As described above, in the data transfer system according to the present embodiment, in the data transfer device 10, when the data (log data) acquired by the data acquisition unit 101 is transmitted to the data collection server 20, the data is stored in the line state storage unit 105. Based on the stored line state data, the transmission data amount determination unit 108 determines the amount of data (scheduled transfer byte number) that can be transmitted in one session. Then, the wide area communication unit 103 divides and transfers all data to be transmitted into a plurality of sessions as necessary based on the determined number of bytes to be transferred.

例えば、送信データ量決定部108は、前回のセッションでの転送が失敗した場合、今回のセッションで送信するデータ量の上限を、回線状態記憶部105に記憶されている前回のセッションの転送実績バイト数以下に決定する。   For example, when the transfer in the previous session fails, the transmission data amount determination unit 108 sets the upper limit of the data amount to be transmitted in the current session as the transfer result byte of the previous session stored in the line state storage unit 105. Decide on a number below.

これにより、回線状態が悪い場合には、1度に大量のデータを送信しないようにすることができ、たとえ途中でセッションが切断しても、大量のデータの再送の発生を防止することが可能になる。特に回線の使用料が接続時間に応じた従量課金制の場合、回線使用料の増加を効果的に防止することが可能になる。   This makes it possible to prevent a large amount of data from being transmitted at a time if the line condition is bad, and even if the session is disconnected during the process, it is possible to prevent the retransmission of a large amount of data. become. In particular, when the line usage fee is a pay-per-use system according to the connection time, an increase in the line usage fee can be effectively prevented.

また、例えば、送信データ量決定部108は、前回のセッションでの転送が成功した場合、今回のセッションで送信するデータ量の上限を、回線状態記憶部105に記憶されている前回のセッションの転送実績バイト数を下回らないように決定する。   Further, for example, when the transfer in the previous session is successful, the transmission data amount determination unit 108 transfers the upper limit of the data amount transmitted in the current session to the transfer of the previous session stored in the line state storage unit 105. Decide not to fall below the actual number of bytes.

これにより、回線状態が回復したときは、1回のセッションで転送するデータの量を大きくでき、データを分割して転送することによるオーバヘッドを減少させ、通信時間を短縮することができる。   As a result, when the line state is restored, the amount of data transferred in one session can be increased, overhead due to dividing and transferring data can be reduced, and communication time can be shortened.

また、所定回数連続してデータ転送に失敗する等、回線状態が非常に悪い場合では、転送すべき全データの転送が完了していない場合であっても、当該課金対象通信を切断することもできる。これにより、回線使用料の無用な増大を防止できる。   In addition, if the line status is very bad, such as when data transfer fails a predetermined number of times, the chargeable communication may be disconnected even if the transfer of all data to be transferred has not been completed. it can. This can prevent an unnecessary increase in the line usage fee.

また、送信データ量決定部108は、環境情報取得部106により取得され、環境情報記憶部107に格納された気象状態等の環境情報を参照して、1回のセッションで送信可能なデータ量(転送予定バイト数)を決定することもできる。これにより、回線を使用することなく回線の状態を把握でき、回線状態が悪いときの回線使用の機会を低減することができる。また、回線状態データと環境情報を併用することで、送信データ量決定部108により決定される転送予定バイト数の精度向上が期待できる。   In addition, the transmission data amount determination unit 108 refers to the environmental information such as the weather condition acquired by the environmental information acquisition unit 106 and stored in the environmental information storage unit 107, and the amount of data that can be transmitted in one session ( The number of bytes to be transferred) can also be determined. Thereby, the state of the line can be grasped without using the line, and the chance of using the line when the line state is bad can be reduced. Further, by using the line state data and the environment information in combination, it is possible to expect an improvement in the accuracy of the number of bytes to be transferred determined by the transmission data amount determination unit 108.

上記の場合、データ転送装置10は、環境情報をデータ収集サーバ20からダウンロードして取得できるようにしてもよい。このようにすると、1つのデータ収集サーバ20に複数のデータ転送装置10が広域ネットワークNを介して接続するシステム構成の場合、気象状態を検知する計測器等をデータ収集サーバ20に設置するだけで済むため、システム全体のコストを削減することが可能になる。   In the above case, the data transfer apparatus 10 may download the environment information from the data collection server 20 and obtain it. In this way, in the case of a system configuration in which a plurality of data transfer apparatuses 10 are connected to one data collection server 20 via the wide area network N, only a measuring instrument or the like for detecting the weather condition is installed in the data collection server 20. Therefore, it is possible to reduce the cost of the entire system.

さらには、データ取得部101が他の装置から受信するログデータに環境情報が含まれる場合には、環境情報取得部106は、データ取得部101が受信したログデータから環境情報を抽出して、これを利用するようにしてもよい。このようにすれば、データ転送装置10及びデータ収集サーバ20の何れにおいても、気象状態を検知する計測器等を設置する必要がなく、さらなるコストの低減が期待できる。   Further, when the environment information is included in the log data received by the data acquisition unit 101 from another device, the environment information acquisition unit 106 extracts the environment information from the log data received by the data acquisition unit 101, You may make it utilize this. In this way, neither the data transfer apparatus 10 nor the data collection server 20 need to install a measuring instrument or the like for detecting the weather condition, and further cost reduction can be expected.

なお、本発明は、上記実施形態に限定されず、本発明の要旨を逸脱しない範囲での種々の変更は勿論可能である。   In addition, this invention is not limited to the said embodiment, Of course, the various change in the range which does not deviate from the summary of this invention is possible.

例えば、データ通信装置30は、データ転送装置10の広域通信部103に含まれる構成にしてもよい。   For example, the data communication device 30 may be included in the wide area communication unit 103 of the data transfer device 10.

また、送信データ量決定部108が、回線状態データ又は環境情報の何れか一方のみを参照して、転送予定バイト数を決定する仕様では、当然のことながら、データ転送装置10は、他方の処理に係る機能部(環境情報取得部106及び環境情報記憶部107又は回線状態取得部104及び回線状態記憶部105)を必ずしも備える必要はない。   Further, in the specification in which the transmission data amount determination unit 108 refers to only one of the line state data and the environment information to determine the transfer byte count, the data transfer device 10 naturally processes the other process. It is not always necessary to provide the functional units (environment information acquisition unit 106 and environment information storage unit 107 or line state acquisition unit 104 and line state storage unit 105) according to the above.

また、CPU等が所定のプログラムを実行することで、上記実施形態のデータ転送装置10における各構成要素の機能を実現してもよい。そして、そのようなプログラムを適用することで、既存のパーソナルコンピュータ(PC)等を本発明に係るデータ転送装置として機能させることも可能である。   Further, the function of each component in the data transfer apparatus 10 of the above embodiment may be realized by a CPU or the like executing a predetermined program. By applying such a program, it is possible to cause an existing personal computer (PC) or the like to function as the data transfer apparatus according to the present invention.

このようなプログラムの配布方法は任意であり、例えば、CD−ROM(Compact Disk Read-Only Memory)、DVD(Digital Versatile Disk)、MO(Magneto Optical Disk)、メモリカードなどのコンピュータ読み取り可能な記録媒体に格納して配布してもよいし、インターネットなどの通信ネットワークを介して配布してもよい。   Such a program distribution method is arbitrary, for example, a computer-readable recording medium such as a CD-ROM (Compact Disk Read-Only Memory), a DVD (Digital Versatile Disk), an MO (Magneto Optical Disk), or a memory card. It may be stored and distributed in a network, or distributed via a communication network such as the Internet.

本発明は、太陽光発電システムを構成する各装置から時刻毎の発電量等のログデータを取得し、サーバに転送するシステムに好適に適用され得る。   The present invention can be suitably applied to a system that acquires log data such as the amount of power generation at each time from each device constituting the solar power generation system and transfers the log data to a server.

10 データ転送装置
20 データ収集サーバ
30 データ通信装置
40 AP(アクセスポイント)
101 データ取得部
102 バッファ
103 広域通信部
104 回線状態取得部
105 回線状態記憶部
106 環境情報取得部
107 環境情報記憶部
108 送信データ量決定部
10 Data Transfer Device 20 Data Collection Server 30 Data Communication Device 40 AP (Access Point)
DESCRIPTION OF SYMBOLS 101 Data acquisition part 102 Buffer 103 Wide area communication part 104 Line state acquisition part 105 Line state storage part 106 Environmental information acquisition part 107 Environment information storage part 108 Transmission data amount determination part

Claims (13)

他の装置からデータを取得し、バッファに格納するデータ取得手段と、
前記バッファに格納されているデータを、所定のネットワークを介して接続するサーバに送信する通信手段と、
回線の状態に関する回線状態データを取得する回線状態取得手段と、
該回線状態取得手段が取得した前記回線状態データを蓄積して記憶する回線状態記憶手段と、
該回線状態記憶手段に記憶されている前記回線状態データと、前記バッファに格納されているデータの総量と、に基づいて、前記サーバとの1回のセッションで送信可能なデータ量である送信可能データ量を決定する送信データ量決定手段と、を備え、
前記通信手段は、前記バッファに格納されているデータの総量が前記送信可能データ量より大きい場合、前記バッファに格納されているデータを少なくとも2回以上のセッションに分けて送信
前記回線状態記憶手段に記憶される前記回線状態データには、前回のセッションでのデータ転送量が含まれ、
前記送信データ量決定手段は、前記前回のセッションでのデータ転送量と、前記前回のセッションにおけるデータ転送の成否と、に基づいて、前記送信可能データ量を決定する、
ことを特徴とするデータ転送装置。
Data acquisition means for acquiring data from other devices and storing the data in a buffer;
Communication means for transmitting data stored in the buffer to a server connected via a predetermined network;
Line state acquisition means for acquiring line state data relating to the line state;
Line state storage means for accumulating and storing the line state data acquired by the line state acquisition means;
Based on the line state data stored in the line state storage means and the total amount of data stored in the buffer, the amount of data that can be transmitted in one session with the server can be transmitted. A transmission data amount determining means for determining a data amount;
It said communication means, if the total amount of data stored in the buffer is greater than the transmittable data amount, and transmits the data stored in the buffer is divided into at least two or more sessions,
The line state data stored in the line state storage means includes the amount of data transferred in the previous session,
The transmission data amount determining means determines the transmittable data amount based on the data transfer amount in the previous session and the success or failure of the data transfer in the previous session.
A data transfer device.
前記通信手段は、課金対象通信の接続と切断を実行する課金対象接続実行手段を備えることを特徴とする請求項1に記載のデータ転送装置。   2. The data transfer apparatus according to claim 1, wherein the communication unit includes a billing target connection executing unit for connecting and disconnecting billing target communication. 記送信データ量決定手段は、
前回のセッションでのデータ転送が失敗した場合、前記送信可能データ量の上限を前回のセッションでのデータ転送量以下の値に決定し、
前回のセッションでのデータ転送が成功した場合、前記送信可能データ量の上限を前回のセッションでのデータ転送量以上の値に決定する、
ことを特徴とする請求項1又は2に記載のデータ転送装置。
Prior Symbol transmission data amount determining means,
When the data transfer in the previous session fails, the upper limit of the transmittable data amount is determined to be a value equal to or less than the data transfer amount in the previous session,
When the data transfer in the previous session is successful, the upper limit of the transmittable data amount is determined to be a value equal to or greater than the data transfer amount in the previous session.
The data transfer device according to claim 1, wherein the data transfer device is a data transfer device.
現在の環境情報を取得する環境情報取得手段と、
該環境情報取得手段が取得した前記環境情報を記憶する環境情報記憶手段と、をさらに備え、
前記送信データ量決定手段は、前記環境情報記憶手段に記憶されている前記環境情報も加味して、前記送信可能データ量を決定する、
ことを特徴とする請求項1乃至3の何れか1項に記載のデータ転送装置。
Environmental information acquisition means for acquiring current environmental information;
Environmental information storage means for storing the environmental information acquired by the environmental information acquisition means,
The transmission data amount determining means determines the transmittable data amount in consideration of the environment information stored in the environment information storage means.
The data transfer device according to claim 1, wherein the data transfer device is a data transfer device.
前記環境情報は、現在の気象状態に関する情報である、
ことを特徴とする請求項4に記載のデータ転送装置。
The environmental information is information regarding current weather conditions.
The data transfer apparatus according to claim 4, wherein:
前記環境情報取得手段は、前記データ取得手段が取得したデータから前記環境情報を抽出する、
ことを特徴とする請求項4又は5に記載のデータ転送装置。
The environmental information acquisition means extracts the environmental information from the data acquired by the data acquisition means;
6. The data transfer apparatus according to claim 4, wherein the data transfer apparatus is a data transfer apparatus.
他の装置からデータを取得し、バッファに格納するデータ取得手段と、
前記バッファに格納されているデータを、所定のネットワークを介して接続するサーバに送信する通信手段と、
現在の気象状態に関する情報である環境情報を取得する環境情報取得手段と、
該環境情報取得手段が取得した前記環境情報を記憶する環境情報記憶手段と、
該環境情報記憶手段に記憶されている前記環境情報に基づき、前記サーバとの1回のセッションで送信可能なデータ量である送信可能データ量を決定する送信データ量決定手段と、を備え、
前記通信手段は、前記バッファに格納されているデータの総量が前記送信可能データ量より大きい場合、前記バッファに格納されているデータを少なくとも2回以上のセッションに分けて送信
前記送信データ量決定手段は、前記環境情報を参照して電波の減衰率を求め、求めた電波の減衰率に基づいて、前記送信可能データ量を決定する、
ことを特徴とするデータ転送装置。
Data acquisition means for acquiring data from other devices and storing the data in a buffer;
Communication means for transmitting data stored in the buffer to a server connected via a predetermined network;
Environmental information acquisition means for acquiring environmental information which is information on the current weather condition ;
Environmental information storage means for storing the environmental information acquired by the environmental information acquisition means;
Transmission data amount determining means for determining a transmittable data amount that is a data amount that can be transmitted in one session with the server, based on the environment information stored in the environment information storage means,
It said communication means, if the total amount of data stored in the buffer is greater than the transmittable data amount, and transmits the data stored in the buffer is divided into at least two or more sessions,
The transmission data amount determining means refers to the environment information to determine a radio wave attenuation rate, and determines the transmittable data amount based on the calculated radio wave attenuation rate.
A data transfer device.
回線の状態に関する回線状態データを取得する回線状態取得手段と、
前記回線状態取得手段が取得した前記回線状態データを蓄積して記憶する回線状態記憶手段と、をさらに備え、
前記送信データ量決定手段は、
前記回線状態記憶手段に前記回線状態データが記憶されていない場合には、前記環境情報に基づいて、前記送信可能データ量を決定し、
前記回線状態記憶手段に前記回線状態データが記憶されている場合には、前記回線状態データと、前記バッファに格納されているデータの総量と、に基づいて、前記送信可能データ量を決定する、
ことを特徴とする請求項7に記載のデータ転送装置。
Line state acquisition means for acquiring line state data relating to the line state;
Line state storage means for accumulating and storing the line state data acquired by the line state acquisition means,
The transmission data amount determining means includes
If the line status data is not stored in the line status storage means, based on the environment information, determine the amount of data that can be transmitted,
When the line state data is stored in the line state storage unit, the transmittable data amount is determined based on the line state data and the total amount of data stored in the buffer.
8. The data transfer apparatus according to claim 7, wherein
他の装置からデータを取得し、バッファに格納するデータ取得ステップと、
前記バッファに格納されているデータを、所定のネットワークを介して接続するサーバに送信する通信ステップと、
回線の状態に関する回線状態データを取得し、回線状態記憶手段に格納する回線状態取得ステップと、
前記回線状態記憶手段に格納されている前記回線状態データと、前記バッファに格納されているデータの総量と、に基づき、前記サーバとの1回のセッションで送信可能なデータ量である送信可能データ量を決定する送信データ量決定ステップと、を有し、
前記通信ステップでは、前記バッファに格納されているデータの総量が前記送信可能データ量より大きい場合、前記バッファに格納されているデータを少なくとも2回以上のセッションに分けて送信
前記回線状態記憶手段に記憶される前記回線状態データには、前回のセッションでのデータ転送量が含まれ、
前記送信データ量決定ステップでは、前記前回のセッションでのデータ転送量と、前記前回のセッションにおけるデータ転送の成否と、に基づいて、前記送信可能データ量を決定する、
ことを特徴とするデータ転送方法。
A data acquisition step of acquiring data from another device and storing it in a buffer;
A communication step of transmitting data stored in the buffer to a server connected via a predetermined network;
A line state acquisition step of acquiring line state data relating to the state of the line and storing it in the line state storage means;
Transmittable data that is the amount of data that can be transmitted in one session with the server, based on the line state data stored in the line state storage means and the total amount of data stored in the buffer A transmission data amount determination step for determining the amount;
Wherein the communication step, when the total amount of data stored in the buffer is greater than the transmittable data amount, and transmits the data stored in the buffer is divided into at least two or more sessions,
The line state data stored in the line state storage means includes the amount of data transferred in the previous session,
In the transmission data amount determination step, the transmittable data amount is determined based on the data transfer amount in the previous session and the success or failure of the data transfer in the previous session.
A data transfer method characterized by the above.
コンピュータを、
他の装置からデータを取得し、バッファに格納するデータ取得手段、
前記バッファに格納されているデータを、所定のネットワークを介して接続するサーバに送信する通信手段、
回線の状態に関する回線状態データを取得し、回線状態記憶手段に格納する回線状態取得手段、
前記回線状態記憶手段に記憶されている前記回線状態データと、前記バッファに格納されているデータの総量と、に基づいて、前記サーバとの1回のセッションで送信可能なデータ量である送信可能データ量を決定する送信データ量決定手段、として機能させ、
前記通信手段は、前記バッファに格納されているデータの総量が前記送信可能データ量より大きい場合、前記バッファに格納されているデータを少なくとも2回以上のセッションに分けて送信
前記回線状態記憶手段に記憶される前記回線状態データには、前回のセッションでのデータ転送量が含まれ、
前記送信データ量決定手段は、前記前回のセッションでのデータ転送量と、前記前回のセッションにおけるデータ転送の成否と、に基づいて、前記送信可能データ量を決定する、
ことを特徴とするプログラム。
Computer
Data acquisition means for acquiring data from other devices and storing it in a buffer;
A communication means for transmitting data stored in the buffer to a server connected via a predetermined network;
Line state acquisition means for acquiring line state data relating to the line state and storing it in the line state storage means;
Based on the line state data stored in the line state storage means and the total amount of data stored in the buffer, transmission is possible that is the amount of data that can be transmitted in one session with the server Function as a transmission data amount determining means for determining the data amount,
It said communication means, if the total amount of data stored in the buffer is greater than the transmittable data amount, and transmits the data stored in the buffer is divided into at least two or more sessions,
The line state data stored in the line state storage means includes the amount of data transferred in the previous session,
The transmission data amount determining means determines the transmittable data amount based on the data transfer amount in the previous session and the success or failure of the data transfer in the previous session.
A program characterized by that.
1又は複数のデータ転送装置と、該1又は複数のデータ転送装置と所定のネットワークを介して相互に通信可能に接続されるサーバと、を備えるデータ転送システムであって、
前記データ転送装置は、
他の装置からデータを取得し、バッファに格納するデータ取得手段と、
前記バッファに格納されているデータを前記サーバに送信する通信手段と、
回線の状態に関する回線状態データを取得する回線状態取得手段と、
該回線状態取得手段が取得した前記回線状態データを蓄積して記憶する回線状態記憶手段と、
該回線状態記憶手段に記憶されている前記回線状態データと、前記バッファに格納されているデータの総量と、に基づき、前記サーバとの1回のセッションで送信可能なデータ量である送信可能データ量を決定する送信データ量決定手段と、を備え、
前記通信手段は、前記バッファに格納されているデータの総量が前記送信可能データ量より大きい場合、前記バッファに格納されているデータを少なくとも2回以上のセッションに分けて送信
前記回線状態記憶手段に記憶される前記回線状態データには、前回のセッションでのデータ転送量が含まれ、
前記送信データ量決定手段は、前記前回のセッションでのデータ転送量と、前記前回のセッションにおけるデータ転送の成否と、に基づいて、前記送信可能データ量を決定する、
ことを特徴とするデータ転送システム。
A data transfer system comprising one or more data transfer devices and a server connected to the one or more data transfer devices via a predetermined network so that they can communicate with each other.
The data transfer device
Data acquisition means for acquiring data from other devices and storing the data in a buffer;
Communication means for transmitting data stored in the buffer to the server;
Line state acquisition means for acquiring line state data relating to the line state;
Line state storage means for accumulating and storing the line state data acquired by the line state acquisition means;
Transmittable data that is the amount of data that can be transmitted in one session with the server based on the line state data stored in the line state storage means and the total amount of data stored in the buffer A transmission data amount determining means for determining the amount,
It said communication means, if the total amount of data stored in the buffer is greater than the transmittable data amount, and transmits the data stored in the buffer is divided into at least two or more sessions,
The line state data stored in the line state storage means includes the amount of data transferred in the previous session,
The transmission data amount determining means determines the transmittable data amount based on the data transfer amount in the previous session and the success or failure of the data transfer in the previous session.
A data transfer system characterized by that.
前記データ転送装置は、
現在の環境情報を取得する環境情報取得手段と、
該環境情報取得手段が取得した前記環境情報を記憶する環境情報記憶手段と、をさらに備え、
前記送信データ量決定手段は、前記環境情報記憶手段に記憶されている前記環境情報も加味して、前記送信可能データ量を決定する、
ことを特徴とする請求項11に記載のデータ転送システム。
The data transfer device
Environmental information acquisition means for acquiring current environmental information;
Environmental information storage means for storing the environmental information acquired by the environmental information acquisition means,
The transmission data amount determining means determines the transmittable data amount in consideration of the environment information stored in the environment information storage means.
The data transfer system according to claim 11.
前記サーバは、前記データ転送装置に前記環境情報を含むデータを送信し、
前記環境情報取得手段は、前記通信手段を介して前記サーバから送信されたデータを取得し、該取得したデータから前記環境情報を抽出する、
ことを特徴とする請求項12に記載のデータ転送システム。
The server transmits data including the environment information to the data transfer device;
The environment information acquisition means acquires data transmitted from the server via the communication means, and extracts the environment information from the acquired data.
The data transfer system according to claim 12.
JP2009235643A 2009-10-09 2009-10-09 Data transfer device, data transfer method and program, and data transfer system Expired - Fee Related JP4964282B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009235643A JP4964282B2 (en) 2009-10-09 2009-10-09 Data transfer device, data transfer method and program, and data transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009235643A JP4964282B2 (en) 2009-10-09 2009-10-09 Data transfer device, data transfer method and program, and data transfer system

Publications (2)

Publication Number Publication Date
JP2011082928A JP2011082928A (en) 2011-04-21
JP4964282B2 true JP4964282B2 (en) 2012-06-27

Family

ID=44076495

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009235643A Expired - Fee Related JP4964282B2 (en) 2009-10-09 2009-10-09 Data transfer device, data transfer method and program, and data transfer system

Country Status (1)

Country Link
JP (1) JP4964282B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6739636B2 (en) * 2017-05-26 2020-08-12 三菱電機株式会社 Air conditioning data communication device, air conditioning data communication method and program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03295322A (en) * 1990-04-12 1991-12-26 Osaka Gas Co Ltd Radio data retrieving device
JP2653750B2 (en) * 1993-08-25 1997-09-17 日本無線株式会社 Communication quality prediction method
JP2002027010A (en) * 2000-07-11 2002-01-25 Matsushita Graphic Communication Systems Inc Device and method for transmission
JP4428203B2 (en) * 2004-11-04 2010-03-10 トヨタ自動車株式会社 Wireless base station

Also Published As

Publication number Publication date
JP2011082928A (en) 2011-04-21

Similar Documents

Publication Publication Date Title
JP5452602B2 (en) Data transfer device, data transfer method, and data transfer system
KR101746629B1 (en) Communication apparatus and communication method
US20120192025A1 (en) Aggregated Real-Time Power Outages/Restoration Reporting (RTPOR) In a Secure Mesh Network
EP2916521B1 (en) Communication device, transmission data output control method, and program for same
EP3780542A1 (en) Data transmission method and device
WO2011058358A1 (en) Methods and apparatus for monitoring network link quality
WO2014187114A1 (en) File transmission method, apparatus and storage media
JP2012243106A (en) File management device and control program thereof
RU2019139371A (en) METHOD, EQUIPMENT AND DATA TRANSMISSION SYSTEM AND DEVICE
Abdelsalam et al. TCP Wave resilience to link changes-A new transport layer approach towards dynamic communication environments
JP4964282B2 (en) Data transfer device, data transfer method and program, and data transfer system
CN103647727A (en) Audio and video transmission control method and audio and video transmission control device
KR101428778B1 (en) Apparatus and method for upgrading firmware of automatic meter reading terminal on the remote
JP4450663B2 (en) Wireless communication type automatic meter reading system
CN107889095B (en) Method for realizing wireless data transmission by adopting multilink channel
JP4229037B2 (en) Communication relay device and communication relay program
JP6357756B2 (en) Transmission module, information transmission network system, information transmission method, information transmission program
Zeinali et al. Implementation of highly accurate test-bed for practical evaluation of wired and wireless internet based smart grid communications
JP5625940B2 (en) Monitoring program, monitoring apparatus, and monitoring method
CN107111927B (en) Sink node, sensor network system, information acquisition method, and information acquisition program
JP2009065404A (en) Communication failure segmentation method, video distribution system having communication failure segmentation function, and receiving terminal
JP6863274B2 (en) Transmitters and their control methods, communication systems, and communication control programs
JP2004178068A (en) Program, method, apparatus and system for remote-control monitoring, and recording medium for program
KR101841080B1 (en) Method and system for data packet bypass transmission
KR20100034553A (en) Appratus for tcp congestion control, a method thereof and recorded medium recorded with a program executing the same

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111117

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111122

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120123

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120327

R150 Certificate of patent or registration of utility model

Ref document number: 4964282

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150406

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees