JP6645365B2 - Data transmission program, data transmission method, and data transmission device - Google Patents
Data transmission program, data transmission method, and data transmission device Download PDFInfo
- Publication number
- JP6645365B2 JP6645365B2 JP2016112853A JP2016112853A JP6645365B2 JP 6645365 B2 JP6645365 B2 JP 6645365B2 JP 2016112853 A JP2016112853 A JP 2016112853A JP 2016112853 A JP2016112853 A JP 2016112853A JP 6645365 B2 JP6645365 B2 JP 6645365B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- types
- record
- data transmission
- group
- 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
Links
Images
Landscapes
- Arrangements For Transmission Of Measured Signals (AREA)
- Computer And Data Communications (AREA)
- Mobile Radio Communication Systems (AREA)
Description
本件は、データ送信プログラム、データ送信方法、及びデータ送信装置に関する。 The present invention relates to a data transmission program, a data transmission method, and a data transmission device.
センサ、無線通信機能、及び電源を搭載するセンサノードで収集されたデータを無線通信により基地局に送信し、基地局がそのデータをサーバに提供する技術が知られている(例えば特許文献1参照)。 There is known a technique in which data collected by a sensor node equipped with a sensor, a wireless communication function, and a power supply is transmitted to a base station by wireless communication, and the base station provides the data to a server (for example, see Patent Document 1). ).
一方、データ分析において、データセット(以下、データ群という)の項目に1つでも不正があると、そのデータ群を破棄するクレンジング処理を行うサーバも知られている(例えば特許文献2参照)。データ群を破棄して、データ分析の利用から除外することで、分析精度の向上が図られている。 On the other hand, in data analysis, there is also known a server that performs a cleansing process of discarding a data group if at least one item in a data set (hereinafter, referred to as a data group) is invalid (for example, see Patent Document 2). The analysis accuracy is improved by discarding the data group and excluding it from the use of the data analysis.
ところで、複数のデータを含むデータ群をサーバに送信し、サーバがデータ群に基づいてデータ分析を行う場合に、上述した不正以外に例えば項目の1つにデータの抜けがあってもサーバがクレンジング処理を実行すると、データ群の送信が無駄になることがある。 By the way, when a data group including a plurality of data is transmitted to a server and the server performs data analysis based on the data group, even if one of the items is missing data other than the above-described fraud, the server cleanses the data. When the processing is executed, transmission of the data group may be useless.
一例を挙げると、データ群の項目の1つからデータが抜けた状態でそのデータ群がサーバに送信されると、サーバはクレンジング処理により受信したデータ群を破棄するため、データ群のサーバへの送信が無駄になるおそれがある。 As an example, if the data group is transmitted to the server with data missing from one of the data group items, the server discards the data group received by the cleansing process. Transmission may be wasted.
そこで、1つの側面では、複数の種別のデータを含まないデータ群の送信を抑制できるデータ送信プログラム、データ送信方法、及びデータ送信装置を提供することを目的とする。 Therefore, it is an object of one aspect to provide a data transmission program, a data transmission method, and a data transmission device capable of suppressing transmission of a data group that does not include a plurality of types of data.
1つの態様では、データ送信プログラムは、端末装置が備える複数のセンサを特定し、前記端末装置が取得可能なデータの複数の種別を決定し、特定した前記複数のセンサによって検出された複数のデータを取得し、取得した前記複数のデータが、決定した前記複数の種別のデータを含むか否かを判定し、取得した前記複数のデータが、前記複数の種別のデータを含む場合、前記複数の種別のデータを含むデータ群を、受け付けたデータ群に基づいてデータ処理を実行するサーバ装置に送信する、処理をコンピュータに実行させることを特徴とするデータ送信プログラムである。 In one aspect, the data transmission program specifies a plurality of sensors included in the terminal device, determines a plurality of types of data that the terminal device can acquire, and determines a plurality of data detected by the specified plurality of sensors. acquires, the acquired plurality of data, determines whether to include the determined data of the plurality of types have, acquired a plurality of data is, if it contains data of the plurality of types, the plurality of A data transmission program for transmitting a data group including data of a type to a server device that executes data processing based on a received data group, and causing a computer to execute the processing.
1つの態様では、データ送信方法は、端末装置が備える複数のセンサを特定し、前記端末装置が取得可能なデータの複数の種別を決定し、特定した前記複数のセンサによって検出された複数のデータを取得し、取得した前記複数のデータが、決定した前記複数の種別のデータを含むか否かを判定し、取得した前記複数のデータが、前記複数の種別のデータを含む場合、前記複数の種別のデータを含むデータ群を、受け付けたデータ群に基づいてデータ処理を実行するサーバ装置に送信する、処理をコンピュータが実行することを特徴とするデータ送信方法である。 In one aspect, the data transmission method specifies a plurality of sensors included in the terminal device, determines a plurality of types of data that the terminal device can obtain, and determines a plurality of data detected by the specified plurality of sensors. acquires, the acquired plurality of data, determines whether to include the determined data of the plurality of types have, acquired a plurality of data is, if it contains data of the plurality of types, the plurality of A data transmission method comprising: transmitting a data group including data of a type to a server device that executes data processing based on the received data group; and executing a process by a computer.
1つの態様では、データ送信装置は、端末装置が備える複数のセンサを特定し、前記端末装置が取得可能なデータの複数の種別を決定し、特定した前記複数のセンサによって検出された複数のデータを取得する取得手段と、前記取得手段が取得した前記複数のデータが、決定した前記複数の種別のデータを含むか否かを判定する判定手段と、前記取得手段が取得した前記複数のデータが、前記複数の種別のデータを含む場合、前記複数の種別のデータを含むデータ群を、受け付けたデータ群に基づいてデータ処理を実行するサーバ装置に送信する送信手段と、を有することを特徴とするデータ送信装置である。 In one aspect, the data transmission device specifies a plurality of sensors included in the terminal device, determines a plurality of types of data that the terminal device can acquire, and determines a plurality of data detected by the specified plurality of sensors. an acquisition unit configured to acquire the plurality of data obtained by the obtaining unit includes: a determination unit configured to determine whether including the determined data of the plurality of types was, the plurality of data obtained by the obtaining unit And transmitting means for transmitting a data group including the plurality of types of data to a server device which executes data processing based on the received data group, when the data includes the plurality of types of data. Data transmission device.
本明細書に開示のデータ送信プログラム、データ送信方法、及びデータ送信装置によれば、複数の種別のデータを含まないデータ群の送信を抑制することができる。 According to the data transmission program, the data transmission method, and the data transmission device disclosed in this specification, transmission of a data group that does not include a plurality of types of data can be suppressed.
以下、本件を実施するための形態について図面を参照して説明する。 Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings.
(第1実施形態)
図1はデータ送信システムSの一例を示す図である。データ送信システムSは、ウェアラブル端末100、データ送信装置としての携帯端末200、及びサーバ装置300を含んでいる。図1では、ウェアラブル端末100の一例として頭部に装着可能なHead Mounted Display(ヘッドマウントディスプレイ:HMD)が示されているが、例えば腕部に装着可能なウェアラブルキーボード、指に装着可能な指輪型の端末装置など、人体を含む動物の体の一部に装着可能な端末装置であればHMDに特に限定されない。例えばスマートウォッチ、血圧や体温といったバイタル情報を取得可能な端末装置がウェアラブル端末100として利用されてもよい。また、図1では、携帯端末200の一例としてスマートフォンが示されているが、例えばタブレット端末といった携帯可能な端末装置であればスマートフォンに特に限定されない。
(1st Embodiment)
FIG. 1 is a diagram illustrating an example of the data transmission system S. The data transmission system S includes a
ウェアラブル端末100は複数種類のセンサを備えている。ウェアラブル端末100が備えるセンサとしては、例えば照度を表すデータを検出する照度センサ、加速度を表すデータを検出する加速度センサ、地磁気を表すデータを検出する地磁気センサなどがある。ウェアラブル端末100は自身が備える各センサによって検出されたデータ(以下、センシングデータという)を携帯端末200に定期的に送信する。より詳しくは、ウェアラブル端末100は第1の無線通信方式を利用して携帯端末200に向けてセンシングデータを送信する。尚、第1の無線通信方式は所定値以上の距離では通信できない規格である。第1の無線通信方式としては例えばWi-Fi Direct(登録商標)やBluetooth(登録商標)といった規格がある。
The
携帯端末200は複数種類のセンサを備えている。携帯端末200が備えるセンサとしては、例えば位置を表すデータを検出する位置センサ、温度を表すデータを検出する温度センサ、湿度を表すデータを検出する湿度センサなどがある。携帯端末200が備えるセンサはウェアラブル端末100が備えるセンサと同じ種類であってもよい。携帯端末200は自身が備える各センサによって検出されたセンシングデータとウェアラブル端末100から送信されたセンシングデータとを後述するデータテーブルのレコードに格納する。レコードはデータ群の一例である。携帯端末200はセンシングデータを格納したレコードを、第1の無線通信方式と異なる第2の無線通信方式を利用して、サーバ装置300に向けて送信する。尚、第2の無線通信方式は所定値以上の距離でも通信できる規格である。第2の無線通信方式としては例えばLong Term Evolution(LTE)といった規格がある。携帯端末200は携帯基地局BSの通信可能領域AR内に含まれていれば、レコードをサーバ装置300に向けて送信することができる。
The
サーバ装置300は通信ネットワークNW1を介して携帯基地局BSと接続されている。また、サーバ装置300は通信ネットワークNW2を介してオペレータ端末400と接続されている。通信ネットワークNW1としては例えばインターネットがある。通信ネットワークNW2としては例えばLocal Area Network(LAN)がある。サーバ装置300は携帯端末200から送信されて携帯基地局BSを経由したレコードを受け付ける。サーバ装置300は受け付けたレコードに基づいてデータ処理を実行する。例えば、サーバ装置300はオペレータ端末400から送信されたデータ分析の要求を受け付けると、受け付けたレコードに含まれるセンシングデータを分析する。サーバ装置300はセンシングデータの分析が完了すると、分析結果をオペレータ端末400に出力する。オペレータ端末400はサーバ装置300から出力された分析結果を表示する。尚、サーバ装置300及びオペレータ端末400は携帯端末200の位置とは異なる位置の施設Xなどに配備される。
次に、図2を参照して、携帯端末200のハードウェア構成について説明する。尚、上述したウェアラブル端末100、サーバ装置300、及びオペレータ端末400も基本的に携帯端末200と同様のハードウェア構成であるため説明を省略する。
Next, a hardware configuration of the
図2は携帯端末200のハードウェア構成の一例である。図2に示すように、携帯端末200は、Central Processing Unit(CPU)200A、Random Access Memory(RAM)200B、Read Only Memory(ROM)200C、Electrically Erasable Programmable Read Only Memory(EEPROM)200D及び通信回路200Eを含んでいる。通信回路200Eにはアンテナ200E´が接続されている。通信回路200Eに代えて通信機能を実現するCPUが利用されてもよい。
FIG. 2 is an example of a hardware configuration of the
また、携帯端末200は、スピーカー200F、複数のセンサ200G、タッチパネル200H、ディスプレイ200I、及びマイク200Jを含んでいる。ここで、センサ200Gとしては、上述した位置センサ、温度センサ、湿度センサ、照度センサ、加速度センサ、及び地磁気センサのほか、傾きセンサ、近接センサ、ジャイロセンサ、圧力センサ、大気温度センサ、回転軌道センサ、重力加速度センサなどがある。CPU200Aからマイク200Jまでは、内部バス200Kによって互いに接続されている。少なくともCPU200AとRAM200Bとが協働することによってコンピュータが実現される。
Further, the
上述したRAM200Bには、ROM200CやEEPROM200Dに記憶されたプログラムがCPU200Aによって格納される。格納されたプログラムをCPU200Aが実行することにより、後述する各種の機能が実現され、また、各種の処理が実行される。尚、プログラムは後述するフローチャートに応じたものとすればよい。
The programs stored in the
次に、図3を参照して、携帯端末200の機能について説明する。
Next, the functions of the
図3は携帯端末200の機能ブロック図の一例である。携帯端末200は、図3に示すように、取得手段としてのデータ取得部201、判定手段としてのデータ判定部202、及び送信手段としてのレコード送信部203を含んでいる。尚、通信回路200E及びセンサ200Gはハードウェアであるため、破線で示している。データ取得部201、データ判定部202、及びレコード送信部203は例えば上述したCPU200Aなどによって実現される。
FIG. 3 is an example of a functional block diagram of the
データ取得部201は複数のセンサ200Gによってそれぞれ検出された複数のセンシングデータを複数のセンサ200Gから取得する。また、データ取得部201はウェアラブル端末100から送信されて通信回路200Eが受け付けた複数のセンシングデータを通信回路200Eから取得する。すなわち、データ取得部201は複数のセンシングデータの一部をウェアラブル端末100から通信回路200Eを介して取得する。データ取得部201は複数のセンシングデータを取得すると、取得した複数のセンシングデータを取得日時に従ってデータテーブルのレコードに格納し、データ判定部202に定期的に送信する。したがって、複数のセンシングデータをそれぞれ含む複数のレコードがデータ取得部201からデータ判定部202に送信される。
The
データ判定部202はデータ取得部201から送信された複数のレコードを受け付けると、受け付けたレコードに含まれる複数のセンシングデータが、予め決められた複数のデータ種別のセンシングデータを含むか否かを判定する。例えば複数のデータ種別として位置、温度、湿度、照度、加速度、地磁気の6つのデータ種別がレコードの送信前に決められている場合、データ判定部202は複数のセンシングデータがこれら6つのデータ種別のセンシングデータを含むか否かを判定する。データ判定部202は受け付けた複数のセンシングデータが、複数のデータ種別のセンシングデータを含むか否かに応じて、レコードにフラグ(以下、歯抜けフラグという)「false」又は「true」のいずれかを設定する。データ判定部202はレコードに歯抜けフラグを設定すると、歯抜けフラグを設定したレコードをレコード送信部203に送信する。
Upon receiving the plurality of records transmitted from the
尚、歯抜けフラグ「false」は複数のセンシングデータが複数のデータ種別のセンシングデータを含むことを表している。歯抜けフラグ「true」は複数のセンシングデータが複数のデータ種別のセンシングデータを含まないことを表している。すなわち、歯抜けフラグ「true」は複数のセンシングデータの一部にデータ抜けがあり、そのセンシングデータを含むレコードが不完全なレコードであることを表している。データ抜けは、例えばウェアラブル端末100が備えるセンサや携帯端末200が備えるセンサ200Gの故障、ウェアラブル端末100と携帯端末200との通信障害などによって発生することがある。データ抜けは、特定の期間にデータがない場合と特定の項目にデータがない場合の少なくとも一方の場合がある。
The missing flag “false” indicates that the plurality of sensing data includes sensing data of a plurality of data types. The missing tooth flag “true” indicates that the plurality of sensing data does not include the sensing data of the plurality of data types. That is, the omission flag “true” indicates that there is data omission in a part of the plurality of pieces of sensing data, and the record including the sensing data is an incomplete record. The missing data may occur due to, for example, a failure of a sensor included in the
レコード送信部203はデータ判定部202から送信されたレコードに歯抜けフラグ「false」が設定されていた場合、そのレコードを通信回路200Eに送信する。より詳しくは、レコード送信部203は歯抜けフラグ「false」がそれぞれ設定された複数のレコードを通信回路200Eに一括して送信する。通信回路200Eはレコード送信部203から送信されたレコードをサーバ装置300に送信する。すなわち、レコード送信部203は通信回路200Eを介してレコードをサーバ装置300に送信する。
When the missing flag “false” is set in the record transmitted from the
一方、レコード送信部203はデータ判定部202から送信されたレコードに歯抜けフラグ「true」が設定されていた場合、そのレコードのサーバ装置300への送信を停止し、保持する。すなわち、レコードに含まれる複数のセンシングデータが、複数のデータ種別のセンシングデータを含まない場合、そのレコードのサーバ装置300への送信が停止される。これにより、センシングデータの無駄な送信が回避され、通信コスト(例えば通信費用)が抑えられる。尚、詳細は後述するが、レコード送信部203は所定の削除条件を満足した場合、保持するレコードを削除してもよい。
On the other hand, when the omission flag “true” is set in the record transmitted from the
次に、携帯端末200の動作について説明する。
Next, the operation of the
図4は携帯端末200が実行する処理の一例を表すフローチャートである。より詳しくは、データ取得部201が実行するデータ取得処理の一例を表すフローチャートである。図5(a)〜(c)はデータテーブルの一例である。
FIG. 4 is a flowchart illustrating an example of a process performed by the
まず、データ取得部201はアプリケーションソフトウェア(以下、アプリという)を起動する(ステップS101)。当該アプリはデータ取得処理及び後述するレコード送信処理を実行するアプリであり、携帯端末200にインストールされている。データ取得部201は例えば携帯端末200のディスプレイ200Iに表示されたアイコンに対する所定の操作(例えばダブルタップ)を検出すると、アプリを起動する。尚、当該アプリが携帯端末200にインストールされておらず、サーバ装置300など携帯端末200以外の装置にインストールされている場合には、データ取得部201は当該アプリがインストールされた装置にアクセスし、当該アプリを起動することによって提供される通信サービスを利用する。
First, the
ステップS101の処理が完了すると、次いで、データ取得部201はデータ種別を決定する(ステップS102)。より詳しくは、データ取得部201はApplication Programming Interface(API)を利用してウェアラブル端末100にアクセスしてウェアラブル端末100が備えるセンサを特定し、ウェアラブル端末100が取得できるセンシングデータのデータ種別を決定する。また、データ取得部201はAPIを利用して携帯端末200が備えるセンサ200Gを特定し、携帯端末200が取得できるセンシングデータのデータ種別を決定する。尚、ウェアラブル端末100及び携帯端末200のそれぞれが取得できるセンシングデータのデータ種別を含む設定ファイルを例えばEEPROM200Dなどに記憶させておき、データ取得部201が設定ファイルからそれぞれのデータ種別を取得するようにしてもよい。
When the process of step S101 is completed, next, the
ステップS102の処理が完了すると、次いで、データ取得部201はデータ取得間隔を設定する(ステップS103)。より詳しくは、データ取得部201はアプリの起動によりディスプレイ200I上に表示される所定の画面上にデータ取得間隔(例えば1分など数分)が入力されたことを検出すると、入力されたデータ取得間隔をウェアラブル端末100及び携帯端末200のそれぞれに設定する。データ取得間隔はウェアラブル端末100が備えるセンサ及び携帯端末200が備えるセンサ200Gからセンシングデータを取得する間隔である。尚、ウェアラブル端末100にデータ取得間隔を設定できない場合、データ取得部201はウェアラブル端末100からセンシングデータが送信される間隔をデータ取得間隔として携帯端末200に設定する。
When the process of step S102 is completed, the
ステップS103の処理が完了すると、次いで、データ取得部201はデータテーブルを生成する(ステップS104)。より詳しくは、データ取得部201はステップS102の処理で決定したデータ種別の数に応じた列(以下、カラムという)を含むデータテーブルを生成する。例えば、データ取得部201が6つのデータ種別を決定した場合、図5(a)に示すように、データ取得部201はデータ取得日時のカラムと種別1から種別6までの6つのカラムを含むデータテーブルを生成する。尚、種別1から種別6はデフォルト(初期設定)のデータ種別を表している。また、図5(a)に示すデータテーブルにはまだセンシングデータが格納されていない状態を表している。
When the processing in step S103 is completed, the
ステップS104の処理が完了すると、次いで、データ取得部201はデータテーブルのカラムとデータ種別をマッピングする(ステップS105)。より詳しくは、データ取得部201はデータテーブルにおけるデータ種別の項目をステップS102の処理で決定したデータ種別に書き換える。例えば、データ取得部201がデータ種別「位置」、「温度」、「湿度」、「照度」、「加速度」、及び「地磁気」を決定した場合、図5(b)に示すように、データ取得部201は種別1から種別6までをデータ種別「位置」、「温度」、「湿度」、「照度」、「加速度」、及び「地磁気」に書き換える。これにより、センシングデータをデータテーブルに格納する準備が完了する。
When the processing of step S104 is completed, the
ステップS105の処理が完了すると、次いで、データ取得部201はデータ取得間隔でセンシングデータを取得する(ステップS106)。より詳しくは、データ取得部201はステップS103の処理で設定データ取得間隔に基づいてAPIを実行し、センシングデータを取得する。したがって、データ取得部201はウェアラブル端末100が備えるセンサが検出し、ウェアラブル端末100から送信された複数のセンシングデータと、携帯端末200が備えるセンサ200Gが検出した複数のセンシングデータとを定期的に取得する。
When the process in step S105 is completed, the
ステップS106の処理が完了すると、次いで、データ取得部201はデータテーブルにセンシングデータを格納する(ステップS107)。より詳しくは、データ取得部201はステップS106の処理で取得した複数のセンシングデータを、対応するデータ種別の項目にデータ取得日時と併せて格納する。例えば、データ取得部201が時刻「T1」に全てデータ種別のセンシングデータを取得すると、図5(c)に示すように、データ取得部201はデータ取得日時に時刻「T1」を格納し、複数のセンシングデータを対応するデータ種別の項目にそれぞれ格納する。したがって、複数のセンシングデータを取得する度に行を表す1つのレコードが生成される。
When the process of step S106 is completed, next, the
図6は携帯端末200が実行する処理の他の一例を表すフローチャートである。より詳しくは、データ判定部202及びレコード送信部203が実行するレコード送信処理の一例を表すフローチャートである。図7(a)及び(b)はデータテーブルの他の一例である。図8(a)及び(b)はデータテーブルの他の一例である。
FIG. 6 is a flowchart illustrating another example of the process performed by
データ判定部202は上述したステップS107の処理が完了すると、図6に示すように、未送信のレコード全てに歯抜けフラグ「false」を設定する(ステップS201)。例えば、データ判定部202は所定期間のセンシングデータをデータテーブルに格納し終えると、未送信のレコード全てに歯抜けフラグ「false」を設定する。図7(a)では、時刻「T1」から時刻「T5」までの期間に取得したセンシングデータがデータテーブルに格納されており、未送信のレコード全てに歯抜けフラグ「false」が設定されている。
When the processing in step S107 described above is completed, the
ステップS201の処理が完了すると、次いで、データ判定部202は先頭のレコードを指定し(ステップS202)、複数のデータ種別を含むか否かを判定する(ステップS203)。例えば、データ判定部202は、図7(a)に示すデータテーブルにおいて、時刻「T1」を含むレコードを判定対象のレコードとして指定し、複数のデータ種別を含むか否かを判定する。
When the processing in step S201 is completed, the
ステップS203の処理において、データ判定部202は複数のデータ種別を含むと判定した場合(ステップS203:YES)、歯抜けフラグ「false」を維持する(ステップS204)。したがって、図7(a)に示すデータテーブルにおける時刻「T1」を含むレコードでは、全てのデータ種別の項目にセンシングデータが格納されているため、データ判定部202は歯抜けフラグ「false」を維持する。
In the process of step S203, if the
ステップS204の処理が完了すると、データ判定部202は最後のレコードであるか否かを判定する(ステップS205)。例えば、データ判定部202は判定対象のレコードが上述した所定期間において最後のレコードであるか否かを判定する。データ判定部202は最後のレコードでないと判定した場合(ステップS205:NO)、次のレコードを指定し(ステップS206)、ステップS203の処理に戻る。したがって、図7(a)に示すデータテーブルでは、例えば時刻「T2」を含むレコードが次の判定対象のレコードとして指定され、ステップS203の処理が実行される。
When the process of step S204 is completed, the
ここで、ステップS203の処理において、データ判定部202は複数のデータ種別を含まないと判定した場合(ステップS203:NO)、歯抜けフラグ「true」に更新する(ステップS207)。具体的には、図7(a)に示すデータテーブルでは、時刻「T2」を含むレコードにはセンシングデータが全く格納されていないため、データ判定部202は複数のデータ種別を含まないと判定し、時刻「T2」を含むレコードの歯抜けフラグ「false」を、図7(b)に示すように、歯抜けフラグ「true」に更新する。
Here, in the process of step S203, when the
ステップS207の処理が完了すると、データ判定部202はステップS205の処理を実行する。このように、データ判定部202は最後のレコードであると判定するまでステップS203からS207までの処理を繰り返す。これにより、図7(b)に示すように、時刻「T3」を含むレコードから時刻「T5」を含むレコードまでに対する歯抜けフラグが決定する。例えば、時刻「T5」を含むレコードに示すように、レコードにおける一部の項目にセンシングデータが格納されていない場合も、データ判定部202は歯抜けフラグ「false」を歯抜けフラグ「true」に更新する。
When the processing in step S207 is completed, the
そして、ステップS205の処理において、データ判定部202は最後のレコードであると判定すると(ステップS205:YES)、レコード送信部203は歯抜けフラグ「true」がないか否かを判定する(ステップS208)。すなわち、上述したステップS201からS207までの処理により、歯抜けフラグ「true」に更新されなかったか否かを判定する。レコード送信部203は歯抜けフラグ「true」がないと判定した場合(ステップS208:YES)、レコードを送信する(ステップS209)。好ましくは、レコード送信部203はレコードを一括送信する。これにより、複数のレコードを個別に送信する場合に比べて、通信コストを削減することができる。
Then, in the process of step S205, when the
一方、レコード送信部203は歯抜けフラグ「true」があると判定した場合(ステップS208:NO)、レコードの送信を停止する(ステップS210)。ここで、レコードの送信の停止は部分的な停止であってもよいし、全体的な停止であってもよい。
On the other hand, when the
例えば、図7(b)に示すように、歯抜けフラグ「false」のレコードと歯抜けフラグ「true」のレコードが混在している場合、レコード送信部203は歯抜けフラグ「true」のレコードの送信停止を優先して、歯抜けフラグ「false」のレコードの送信を停止してもよい。一方、図8(a)及び(b)に示すように、レコード送信部203は歯抜けフラグ「false」と歯抜けフラグ「true」が混在した複数のレコードを、歯抜けフラグ「false」のレコードと歯抜けフラグ「true」のレコードに分割し、歯抜けフラグ「false」のレコードを送信し、歯抜けフラグ「true」のレコードの送信を停止してもよい。
For example, as shown in FIG. 7B, when the record of the missing flag “false” and the record of the missing flag “true” are mixed, the
以上、第1実施形態によれば、携帯端末200はデータ取得部201とデータ判定部202とレコード送信部203を含んでいる。データ取得部201はセンサ200G及びウェアラブル端末100のセンサによって検出された複数のセンシングデータを取得する。データ判定部202はデータ取得部201が取得した複数のセンシングデータが、予め決められた複数のデータ種別のセンシングデータを含むか否かを判定する。レコード送信部203はデータ取得部201が取得した複数のセンシングデータが、複数のデータ種別のセンシングデータを含む場合、複数のデータ種別のセンシングデータを含むレコードをサーバ装置300に送信する。
As described above, according to the first embodiment, the
これにより、複数のデータ種別のセンシングデータを含まないレコードの送信を抑制することができる。特に、第1実施形態によれば、複数のデータ種別のセンシングデータを含まないレコードと複数のデータ種別のセンシングデータを含むレコードをサーバ装置300に送信し、サーバ装置300が前者のレコードを削除し、後者のレコードを利用してデータ分析を行わない。第1実施形態によれば、複数のデータ種別のセンシングデータを含むレコードがサーバ装置300に送信されるため、センシングデータの分析精度の向上が通信コストの抑制とともに実現する。
Thereby, transmission of a record that does not include sensing data of a plurality of data types can be suppressed. In particular, according to the first embodiment, a record that does not include sensing data of a plurality of data types and a record that includes sensing data of a plurality of data types are transmitted to the
(第2実施形態)
続いて、図9を参照して、本件の第2実施形態について説明する。
図9は携帯端末200が実行する処理の一部を表すフローチャートである。より詳しくは、レコード送信部203が実行するレコード送信処理の一部を表すフローチャートである。図9に示すように、レコード送信部203は第1実施形態で説明したステップS210の処理が完了した後に、ステップS211及びステップS212の処理を実行してもよい。
(2nd Embodiment)
Subsequently, a second embodiment of the present case will be described with reference to FIG.
FIG. 9 is a flowchart illustrating a part of a process executed by the
具体的には、レコード送信部203はステップS210の処理が完了すると、所定の削除条件を満足するか否かを判定する(ステップS211)。すなわち、レコードの送信が停止された場合、レコードは削除されずに携帯端末200に残存する。このように、残存したレコードを携帯端末200に放置すれば、レコードを記憶する記憶装置(例えばEEPROM200Dなど)の記憶可能容量が減少する。
Specifically, when the process of step S210 is completed, the
したがって、レコード送信部203は所定の削除条件を満足すると判定した場合(ステップS211:YES)、レコードを削除する(ステップS212)。一方、レコード送信部203は所定の削除条件を満足しないと判定した場合(ステップS211:NO)、ステップS212の処理をスキップする。これにより、記憶可能容量の減少を抑えることができる。尚、所定の削除条件としては、例えば記憶可能容量が所定割合未満であるか否かを表す条件や、レコード送信部203が所定の操作を検出したか否かを表す条件がある。このように、第2実施形態によれば、記憶可能容量の減少を抑えつつ、複数のデータ種別のセンシングデータを含まないレコードの送信を抑制することができる。
Therefore, when the
以上、本発明の好ましい実施形態について詳述したが、本発明に係る特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。 As described above, the preferred embodiment of the present invention has been described in detail. However, the present invention is not limited to the specific embodiment according to the present invention, and various modifications may be made within the scope of the present invention described in the appended claims.・ Change is possible.
例えば、データ送信システムSの構成要素にウェアラブル端末100を含めたが、データ送信システムSの構成要素からウェアラブル端末100を除外してもよい。また、上述した位置センサはGlobal Positioning System(GPS)を利用して位置を表すデータを検出してもよいし、アクセスポイントから送信された電波の強度を利用して位置を表すデータを検出してもよい。
For example, although the
なお、以上の説明に関して更に以下の付記を開示する。
(付記1)複数のセンサによって検出された複数のデータを取得し、取得した前記複数のデータが、予め決められた複数の種別のデータを含むか否かを判定し、取得した前記複数のデータが、前記複数の種別のデータを含む場合、前記複数の種別のデータを含むデータ群を、受け付けたデータ群に基づいてデータ処理を実行するサーバ装置に送信する、処理をコンピュータに実行させることを特徴とするデータ送信プログラム。
(付記2)前記送信する処理は、前記複数の種別のデータをそれぞれ含む複数のデータ群を一括して送信する、ことを特徴とする付記1に記載のデータ送信プログラム。
(付記3)取得した前記複数のデータが、前記複数の種別のデータを含まない場合、前記複数の種別のデータを含まないデータ群の送信を停止する、処理を含むことを特徴とする付記1又は2に記載のデータ送信プログラム。
(付記4)取得した前記複数のデータが、前記複数の種別のデータを含まない場合、所定の削除条件を満足した場合に、前記複数の種別のデータを含まないデータ群を削除する、処理を含むことを特徴とする付記1から3のいずれか1項に記載のデータ送信プログラム。
(付記5)前記取得する処理は、前記複数のデータの一部を第1の無線通信方式を利用して取得し、前記送信する処理は、前記データ群を前記第1の無線通信方式と異なる第2の無線通信方式を利用して送信する、ことを特徴とする付記1から4のいずれか1項に記載のデータ送信プログラム。
(付記6)前記取得する処理は、前記複数のデータの一部をウェアラブル端末から取得する、ことを特徴とする付記1から5のいずれか1項に記載のデータ送信プログラム。
(付記7)前記サーバ装置は、受け付けたデータ群に基づいて、前記データ群に含まれる前記複数の種別のデータを分析する装置である、ことを特徴とする付記1から6のいずれか1項に記載のデータ送信プログラム。
(付記8)複数のセンサによって検出された複数のデータを取得し、取得した前記複数のデータが、予め決められた複数の種別のデータを含むか否かを判定し、取得した前記複数のデータが、前記複数の種別のデータを含む場合、前記複数の種別のデータを含むデータ群を、受け付けたデータ群に基づいてデータ処理を実行するサーバ装置に送信する、処理をコンピュータが実行することを特徴とするデータ送信方法。
(付記9)複数のセンサによって検出された複数のデータを取得する取得手段と、前記取得手段が取得した前記複数のデータが、予め決められた複数の種別のデータを含むか否かを判定する判定手段と、前記取得手段が取得した前記複数のデータが、前記複数の種別のデータを含む場合、前記複数の種別のデータを含むデータ群を、受け付けたデータ群に基づいてデータ処理を実行するサーバ装置に送信する送信手段と、を有することを特徴とするデータ送信装置。
(付記10)前記送信手段は、前記複数の種別のデータをそれぞれ含む複数のデータ群を一括して送信する、ことを特徴とする付記9に記載のデータ送信装置。
(付記11)前記送信手段は、前記取得手段が取得した前記複数のデータが、前記複数の種別のデータを含まない場合、前記複数の種別のデータを含まないデータ群の送信を停止する、ことを特徴とする付記9又は10に記載のデータ送信装置。
(付記12)前記送信手段は、前記取得手段が取得した前記複数のデータが、前記複数の種別のデータを含まない場合、所定の削除条件を満足した場合に、前記複数の種別のデータを含まないデータ群を削除する、ことを特徴とする付記9から11のいずれか1項に記載のデータ送信装置。
(付記13)前記取得手段は、前記複数のデータの一部を第1の無線通信方式を利用して取得し、前記送信手段は、前記データ群を前記第1の無線通信方式と異なる第2の無線通信方式を利用して送信する、ことを特徴とする付記9から12のいずれか1項に記載のデータ送信装置。
(付記14)前記取得手段は、前記複数のデータの一部をウェアラブル端末から取得する、ことを特徴とする付記9から13のいずれか1項に記載のデータ送信装置。
(付記15)前記サーバ装置は、受け付けたデータ群に基づいて、前記データ群に含まれる前記複数の種別のデータを分析する装置である、ことを特徴とする付記9から14のいずれか1項に記載のデータ送信装置。
In addition, the following supplementary notes are further disclosed with respect to the above description.
(Supplementary Note 1) Acquiring a plurality of data detected by a plurality of sensors, determining whether the acquired plurality of data includes a plurality of predetermined types of data, and acquiring the plurality of acquired data. Transmitting the data group including the plurality of types of data to a server device that executes data processing based on the received data group, when the data includes the plurality of types of data. Characteristic data transmission program.
(Supplementary note 2) The data transmission program according to
(Supplementary note 3) The
(Supplementary Note 4) When the acquired plurality of data does not include the plurality of types of data, or when a predetermined deletion condition is satisfied, a data group not including the plurality of types of data is deleted. 4. The data transmission program according to any one of
(Supplementary Note 5) In the acquiring process, a part of the plurality of data is acquired using a first wireless communication system, and the transmitting process is different from the first wireless communication system in the data group. The data transmission program according to any one of
(Supplementary note 6) The data transmission program according to any one of
(Supplementary note 7) The server device according to any one of
(Supplementary Note 8) Acquiring a plurality of data detected by a plurality of sensors, determining whether the acquired plurality of data includes a plurality of predetermined types of data, and acquiring the acquired plurality of data. Transmitting the data group including the plurality of types of data to a server device that executes data processing based on the received data group, including the plurality of types of data, wherein the computer executes the process. Characteristic data transmission method.
(Supplementary Note 9) Acquiring means for acquiring a plurality of data detected by a plurality of sensors, and determining whether or not the plurality of data acquired by the acquiring means includes a plurality of predetermined types of data. When the plurality of types of data obtained by the determining unit and the obtaining unit include the plurality of types of data, a data group including the plurality of types of data is subjected to data processing based on the received data group. A data transmission device, comprising: transmission means for transmitting to a server device.
(Supplementary note 10) The data transmitting apparatus according to supplementary note 9, wherein the transmitting unit transmits a plurality of data groups each including the plurality of types of data in a lump.
(Supplementary Note 11) The transmitting unit, when the plurality of data acquired by the acquiring unit does not include the plurality of types of data, stops transmitting a data group not including the plurality of types of data. 11. The data transmission device according to appendix 9 or 10, wherein:
(Supplementary Note 12) The transmitting unit includes the plurality of types of data when the plurality of data acquired by the acquiring unit does not include the plurality of types of data or when a predetermined deletion condition is satisfied. 12. The data transmitting apparatus according to any one of supplementary notes 9 to 11, wherein a data group that does not exist is deleted.
(Supplementary Note 13) The acquiring unit acquires a part of the plurality of data using a first wireless communication system, and the transmitting unit acquires the data group from a second wireless communication system different from the first wireless communication system. 13. The data transmission device according to any one of supplementary notes 9 to 12, wherein the data transmission is performed using the wireless communication method described in (1).
(Supplementary note 14) The data transmission device according to any one of Supplementary notes 9 to 13, wherein the acquisition unit acquires a part of the plurality of data from a wearable terminal.
(Supplementary note 15) The server according to any one of Supplementary notes 9 to 14, wherein the server device is an apparatus that analyzes the plurality of types of data included in the data group based on the received data group. A data transmission device according to
S データ送信システム
100 ウェアラブル端末
200 携帯端末
201 データ取得部
202 データ判定部
203 レコード送信部
300 サーバ装置
400 オペレータ端末
S
Claims (9)
特定した前記複数のセンサによって検出された複数のデータを取得し、
取得した前記複数のデータが、決定した前記複数の種別のデータを含むか否かを判定し、
取得した前記複数のデータが、前記複数の種別のデータを含む場合、前記複数の種別のデータを含むデータ群を、受け付けたデータ群に基づいてデータ処理を実行するサーバ装置に送信する、
処理をコンピュータに実行させることを特徴とするデータ送信プログラム。 Specify a plurality of sensors provided in the terminal device, determine a plurality of types of data that the terminal device can obtain,
Obtain a plurality of data detected by the specified plurality of sensors,
Determined whether the obtained plurality of data includes the determined plurality of types of data,
When the acquired plurality of data includes the plurality of types of data, a data group including the plurality of types of data is transmitted to a server device that executes data processing based on the received data group.
A data transmission program for causing a computer to execute processing.
ことを特徴とする請求項1に記載のデータ送信プログラム。 The transmitting process is to collectively transmit a plurality of data groups each including the plurality of types of data,
The data transmission program according to claim 1, wherein:
処理を含むことを特徴とする請求項1又は2に記載のデータ送信プログラム。 If the acquired plurality of data does not include the plurality of types of data, stop transmitting a data group that does not include the plurality of types of data,
The data transmission program according to claim 1, further comprising a process.
処理を含むことを特徴とする請求項1から3のいずれか1項に記載のデータ送信プログラム。 When the acquired plurality of data does not include the plurality of types of data, when a predetermined deletion condition is satisfied, a data group not including the plurality of types of data is deleted.
The data transmission program according to claim 1, further comprising a process.
前記送信する処理は、前記データ群を前記第1の無線通信方式と異なる第2の無線通信方式を利用して送信する、
ことを特徴とする請求項1から4のいずれか1項に記載のデータ送信プログラム。 The obtaining process obtains a part of the plurality of data using a first wireless communication method,
Transmitting the data group using a second wireless communication system different from the first wireless communication system,
The data transmission program according to any one of claims 1 to 4, wherein:
ことを特徴とする請求項1から5のいずれか1項に記載のデータ送信プログラム。 The acquiring process acquires a part of the plurality of data from the wearable terminal,
The data transmission program according to any one of claims 1 to 5, wherein:
ことを特徴とする請求項1から6のいずれか1項に記載のデータ送信プログラム。 The server device is a device that analyzes the plurality of types of data included in the data group based on the received data group,
The data transmission program according to any one of claims 1 to 6, wherein:
特定した前記複数のセンサによって検出された複数のデータを取得し、
取得した前記複数のデータが、決定した前記複数の種別のデータを含むか否かを判定し、
取得した前記複数のデータが、前記複数の種別のデータを含む場合、前記複数の種別のデータを含むデータ群を、受け付けたデータ群に基づいてデータ処理を実行するサーバ装置に送信する、
処理をコンピュータが実行することを特徴とするデータ送信方法。 Specify a plurality of sensors provided in the terminal device, determine a plurality of types of data that the terminal device can obtain,
Obtain a plurality of data detected by the specified plurality of sensors,
Determined whether the obtained plurality of data includes the determined plurality of types of data,
When the acquired plurality of data includes the plurality of types of data, a data group including the plurality of types of data is transmitted to a server device that executes data processing based on the received data group.
A data transmission method, wherein the processing is executed by a computer.
前記取得手段が取得した前記複数のデータが、決定した前記複数の種別のデータを含むか否かを判定する判定手段と、
前記取得手段が取得した前記複数のデータが、前記複数の種別のデータを含む場合、前記複数の種別のデータを含むデータ群を、受け付けたデータ群に基づいてデータ処理を実行するサーバ装置に送信する送信手段と、
を有することを特徴とするデータ送信装置。 An acquisition unit that identifies a plurality of sensors included in the terminal device, determines a plurality of types of data that the terminal device can acquire, and acquires a plurality of data detected by the identified plurality of sensors,
Determining means for determining whether the plurality of data acquired by the acquiring means includes the determined plurality of types of data,
When the plurality of data obtained by the obtaining unit includes the plurality of types of data, a data group including the plurality of types of data is transmitted to a server device that executes data processing based on the received data group. Transmission means for
A data transmission device, comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2016112853A JP6645365B2 (en) | 2016-06-06 | 2016-06-06 | Data transmission program, data transmission method, and data transmission device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2016112853A JP6645365B2 (en) | 2016-06-06 | 2016-06-06 | Data transmission program, data transmission method, and data transmission device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2017220753A JP2017220753A (en) | 2017-12-14 |
| JP6645365B2 true JP6645365B2 (en) | 2020-02-14 |
Family
ID=60656319
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2016112853A Expired - Fee Related JP6645365B2 (en) | 2016-06-06 | 2016-06-06 | Data transmission program, data transmission method, and data transmission device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6645365B2 (en) |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007074509A (en) * | 2005-09-08 | 2007-03-22 | Seiko Epson Corp | Communication system and communication terminal |
| JP5263362B2 (en) * | 2011-10-05 | 2013-08-14 | 富士通株式会社 | Wireless communication device |
| JP2015084797A (en) * | 2013-10-28 | 2015-05-07 | 株式会社東芝 | Electronic device and communication control method |
| JP6450961B2 (en) * | 2014-03-27 | 2019-01-16 | セイコーエプソン株式会社 | Information communication system, information processing apparatus, and information providing method |
-
2016
- 2016-06-06 JP JP2016112853A patent/JP6645365B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2017220753A (en) | 2017-12-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111316673B (en) | Electronic fence updating method and communication device | |
| US8874594B2 (en) | Search with my location history | |
| EP3335411B1 (en) | Electronic device and method of managing application programs thereof | |
| US9348976B2 (en) | Information processing method and electronic device | |
| US9816833B2 (en) | Method and apparatus for providing location based service | |
| EP3358793A1 (en) | Method for providing notification and electronic device thereof | |
| EP3132740A1 (en) | Method for detecting biometric information and electronic device using same | |
| CN106055300B (en) | Method and electronic device for controlling sound output | |
| EP3291618A1 (en) | Method for recognizing location and electronic device implementing the same | |
| US11223629B2 (en) | Electronic device and method for providing location data | |
| KR102893057B1 (en) | Method for providing point of interest and electronic device supporting the same | |
| CN106203459B (en) | Picture processing method and device | |
| EP3395062B1 (en) | Apparatus and method for synchronizing data of electronic device | |
| CN109885784A (en) | Screen content loading method, device, equipment and computer readable storage medium | |
| KR20160101533A (en) | Method for designating geofence an electronic device thereof | |
| US20160088445A1 (en) | Apparatus and method for providing location-based service using indoor positioning | |
| CN107370781A (en) | A wearable device data management method, terminal and system | |
| US20180329019A1 (en) | Radio Wave State Map Creating System and Control Method Therefor | |
| US20160341569A1 (en) | Method of calibrating geomagnetic sensor and electronic device adapted thereto | |
| JP2016057894A (en) | Electronic device, system, and synchronization method | |
| US9734452B2 (en) | Recommendation information providing device, mobile terminal, recommendation information providing method, recommendation information provision supporting method, and recording medium | |
| CN105657195B (en) | A kind of method and apparatus of the corresponding service area of determining business personnel's communication account | |
| KR20170100281A (en) | Electronic device for determining position and method for operating thereof | |
| JP6645365B2 (en) | Data transmission program, data transmission method, and data transmission device | |
| CN104811898B (en) | A kind of method of acquisition of information, server, terminal and system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190212 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20191018 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20191029 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20191126 |
|
| 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: 20191210 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20191223 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6645365 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |