[go: up one dir, main page]

JP6750526B2 - Communication device and communication method - Google Patents

Communication device and communication method Download PDF

Info

Publication number
JP6750526B2
JP6750526B2 JP2017022381A JP2017022381A JP6750526B2 JP 6750526 B2 JP6750526 B2 JP 6750526B2 JP 2017022381 A JP2017022381 A JP 2017022381A JP 2017022381 A JP2017022381 A JP 2017022381A JP 6750526 B2 JP6750526 B2 JP 6750526B2
Authority
JP
Japan
Prior art keywords
time
user
accessible
user device
access
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2017022381A
Other languages
Japanese (ja)
Other versions
JP2018129721A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2017022381A priority Critical patent/JP6750526B2/en
Publication of JP2018129721A publication Critical patent/JP2018129721A/en
Application granted granted Critical
Publication of JP6750526B2 publication Critical patent/JP6750526B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Description

本発明は、通信装置及び通信方法に関する。 The present invention relates to a communication device and a communication method.

スマートフォン、タブレット端末、ウェアラブルコンピュータ等のデバイスの多様化に伴って様々なIoT(Internet of Things)サービスが実現されている。このようなIoTサービスには、デバイスに搭載されたカメラやマイクなどによりセンシングされたメディアデータが活用される。例えば、人間の生活、行いや体験を、位置情報だけでなく、映像や音声などのメディアデータも含めて記録するライフログなどが知られている。 Various IoT (Internet of Things) services have been realized with the diversification of devices such as smartphones, tablet terminals, and wearable computers. Media data sensed by a camera, a microphone, or the like mounted on the device is utilized for such an IoT service. For example, there is known a life log that records human life, actions, and experiences in addition to position information as well as media data such as video and audio.

ここで、IoTサービスに利用されるIoTデバイスがユーザにより携帯されるユーザデバイスである場合、その稼働にはバッテリの制約が生じる。このため、施設や施設内の区画などの各種の環境に設置された場デバイスにユーザデバイスによるIoTサービスを代行させる場合がある。 Here, when the IoT device used for the IoT service is a user device carried by the user, there is a battery limitation in its operation. For this reason, there are cases where a field device installed in various environments such as a facility or a section of the facility substitutes the IoT service by the user device.

特開2014−217023号公報JP, 2014-217023, A 特開2004−336310号公報JP, 2004-336310, A

しかしながら、上記の技術では、IoTサービスに利用されるデバイスが頻繁に切り替わる場合がある。 However, in the above technique, the device used for the IoT service may frequently switch.

すなわち、IoTサービスが終了するまでユーザが一定の場所に留まる場合もあれば、ユーザの居場所が一定しない場合もある。このため、環境に設置された場デバイスを活用しようとしてもユーザの居場所が一定しなければ、IoTサービスに利用されるデバイスをユーザデバイスから場デバイスへ切り替えた後に再び場デバイスからユーザデバイスへ戻さなければならない事態に陥る。このように切替えが頻繁に発生すると、センシングの実行主体も頻繁に切り替わることになるので、IoTサービスの品質が低下してしまう。 That is, the user may stay in a certain place until the IoT service ends, or the user's whereabouts may not be constant. For this reason, if the location of the user is not fixed even when trying to utilize the field device installed in the environment, the device used for the IoT service must be switched from the user device to the field device and then returned from the field device to the user device again. Fall into a situation where it must be. If the switching frequently occurs in this way, the subject performing the sensing also frequently switches, and thus the quality of the IoT service deteriorates.

1つの側面では、本発明は、IoTサービスに利用されるデバイスの切替え頻度を低減できる通信装置及び通信方法を提供することを目的とする。 In one aspect, an object of the present invention is to provide a communication apparatus and a communication method that can reduce the frequency of switching devices used for IoT services.

一態様では、第1端末が自装置にアクセス可能なエリアに入ってきた時刻と、アクセス不可になった時刻を検出する検出部と、検出した各時刻から定まるアクセス可能時間を記憶する記憶部と、第2端末が自装置にアクセス可能であることを検出すると、前記記憶部に記憶したアクセス可能時間に基づいて、自装置または前記第2端末を選択する選択部と、を有する。 In one aspect, a detection unit that detects a time when the first terminal enters an area where the first terminal can access the device and a time when the access is disabled, and a storage unit that stores an accessible time determined from each detected time. When the second terminal detects that the own terminal is accessible, the selecting section selects the own apparatus or the second terminal based on the accessible time stored in the storage section.

IoTサービスに利用されるデバイスの切替え頻度を低減できる。 The frequency of switching devices used for the IoT service can be reduced.

図1は、実施例1に係るIoTシステムの構成例を示す図である。FIG. 1 is a diagram illustrating a configuration example of the IoT system according to the first embodiment. 図2は、実施例1に係るサーバ装置の機能的構成を示すブロック図である。FIG. 2 is a block diagram of the functional configuration of the server device according to the first embodiment. 図3は、アクセス履歴データの一例を示す図である。FIG. 3 is a diagram showing an example of access history data. 図4は、アクセス履歴データの一例を示す図である。FIG. 4 is a diagram showing an example of access history data. 図5は、実施例1に係るデバイス選択処理の手順を示すフローチャートである。FIG. 5 is a flowchart of a device selection process procedure according to the first embodiment. 図6は、デバイス選択処理の応用例の手順を示すフローチャートである。FIG. 6 is a flowchart showing a procedure of an application example of the device selection processing. 図7は、実施例1及び実施例2に係る通信プログラムを実行するコンピュータのハードウェア構成例を示す図である。FIG. 7 is a diagram illustrating a hardware configuration example of a computer that executes the communication program according to the first and second embodiments.

以下に添付図面を参照して本願に係る通信装置及び通信方法について説明する。なお、この実施例は開示の技術を限定するものではない。そして、各実施例は、処理内容を矛盾させない範囲で適宜組み合わせることが可能である。 A communication device and a communication method according to the present application will be described below with reference to the accompanying drawings. Note that this embodiment does not limit the disclosed technology. Then, the respective embodiments can be appropriately combined within a range in which the processing contents do not contradict each other.

[IoTシステム]
図1は、実施例1に係るIoTシステムの構成例を示す図である。図1に示すIoTシステム1は、ユーザデバイス30又は場デバイス50A〜50Cの中から、IoTサービスに用いるメディアデータのセンシングを実施させるIoTデバイスを選択するデバイス選択サービスを提供するものである。
[IoT system]
FIG. 1 is a diagram illustrating a configuration example of the IoT system according to the first embodiment. The IoT system 1 shown in FIG. 1 provides a device selection service for selecting an IoT device that performs sensing of media data used for an IoT service from the user device 30 or the field devices 50A to 50C.

図1に示すように、IoTシステム1には、サーバ装置10と、ユーザデバイス30と、場デバイス50A〜50Cとが含まれる。図1には、1つのユーザデバイス30と、3つの場デバイス50A〜50Cとを図示したが、任意の数のユーザデバイス及び場デバイスがサーバ装置10に収容されることとしてもかまわない。以下では、場デバイス50A〜50Cを総称する場合に「場デバイス50」と記載する場合がある。 As shown in FIG. 1, the IoT system 1 includes a server device 10, a user device 30, and field devices 50A to 50C. Although one user device 30 and three field devices 50A to 50C are illustrated in FIG. 1, any number of user devices and field devices may be accommodated in the server device 10. Hereinafter, the field devices 50A to 50C may be collectively referred to as "field device 50".

サーバ装置10と、ユーザデバイス30及び場デバイス50との間は、ネットワークNWを介して接続される。このネットワークNWは、有線または無線を問わず、任意の通信網により構築することができる。さらに、ネットワークNWの一部には、有線または無線の通信網が混在してもよい。例えば、ネットワークNWには、ユーザデバイス30を収容するセルに対応する最寄りの基地局やアクセスポイント等の中継装置が含まれてもかまわない。 The server device 10 is connected to the user device 30 and the field device 50 via the network NW. This network NW can be constructed by any communication network, whether wired or wireless. Furthermore, a wired or wireless communication network may be mixed in a part of the network NW. For example, the network NW may include a relay device such as the nearest base station or access point corresponding to the cell accommodating the user device 30.

サーバ装置10は、ユーザデバイス30に上記のデバイス選択サービスを提供するコンピュータである。 The server device 10 is a computer that provides the user device 30 with the device selection service described above.

一実施形態として、サーバ装置10は、パッケージソフトウェア又はオンラインソフトウェアとして、上記のデバイス選択サービスを実現するデバイス選択プログラムを所望のコンピュータにインストールさせることによって実装できる。例えば、サーバ装置10は、上記のデバイス選択サービスを提供するWebサーバとして実装することとしてもよいし、アウトソーシングによって上記のデバイス選択サービスを提供するクラウドとして実装することとしてもかまわない。 As one embodiment, the server device 10 can be implemented by installing a device selection program that realizes the above-described device selection service in a desired computer as packaged software or online software. For example, the server device 10 may be implemented as a Web server that provides the device selection service described above, or may be implemented as a cloud that provides the device selection service described above by outsourcing.

ユーザデバイス30は、ユーザにより携帯されるIoTデバイスである。 The user device 30 is an IoT device carried by a user.

一実施形態として、ユーザデバイス30には、スマートフォン、携帯電話機やPHS(Personal Handyphone System)などの移動体通信端末のみならず、タブレット端末やスレート端末などを採用することができる。このようにハンドヘルド型の携帯端末装置に限定されず、ユーザデバイス30には、ヘッドマウントディスプレイ、スマートグラスやスマートウォッチなどのウェアラブルデバイスの他、あらゆる携帯端末装置を採用することができる。 As one embodiment, not only a mobile communication terminal such as a smartphone, a mobile phone or a PHS (Personal Handyphone System) but also a tablet terminal or a slate terminal can be adopted as the user device 30. As described above, the user device 30 is not limited to the handheld type mobile terminal device, and the user device 30 may be a wearable device such as a head mounted display, smart glasses or smart watches, or any mobile terminal device.

ユーザデバイス30は、ユーザデバイス30に搭載されるセンサを用いて、音声や映像などのメディアデータをセンシングすることができる。例えば、音声のセンシングには、ユーザデバイス30に搭載されたマイクロフォンを用いることができる。このマイクロフォンは、特定の方向への指向性を有するものであってもよいし、無指向性のものであってもかまわない。また、映像のセンシングには、ユーザデバイス30に搭載されたカメラを用いることができる。このカメラによって撮像される映像は、静止画であってもよいし、動画であってもよい。 The user device 30 can sense media data such as audio and video using a sensor mounted on the user device 30. For example, a microphone mounted on the user device 30 can be used for voice sensing. The microphone may have directivity in a specific direction or may be non-directional. Further, a camera mounted on the user device 30 can be used for image sensing. The image captured by this camera may be a still image or a moving image.

場デバイス50は、各種の環境に設置されるIoTデバイスである。ここで言う「環境」とは、IoTデバイスが配置可能な場所であれば任意の場所を含んでよい。例えば、施設、施設に含まれるルームやテナント、または、施設、ルームもしくはテナントなどに区画されたブースやコンパートメントなどが挙げられる。 The field device 50 is an IoT device installed in various environments. The “environment” mentioned here may include any place as long as the IoT device can be placed. For example, a facility, a room or a tenant included in the facility, or a booth or a compartment divided into the facility, the room, or the tenant is included.

一側面として、場デバイス50が有するICT基盤、例えばネットワークの接続機能を始め、メディアのセンシング機能などは、上記のIoTサービスを利用するユーザに開放される。すなわち、ユーザには、IoTサービスの利用に用いるアカウントが付与されており、このアカウントにユーザデバイス30を介してログインすることにより、サーバ装置10から上記のデバイス選択サービスの提供を受けることが可能な状態となる。 As one aspect, the ICT infrastructure of the field device 50, for example, the network connection function, the media sensing function, and the like are open to users who use the IoT service. That is, the user is given an account used for using the IoT service, and by logging in to this account via the user device 30, it is possible to receive the above-mentioned device selection service from the server device 10. It becomes a state.

例えば、場デバイス50には、据置き型または設置型のデバイスを採用することができる。例えば、入退室管理、監視や認証などの実現する観点から、環境にマイク付きのカメラが設けられる場合がある。このようなマイク付きのカメラは、ユーザデバイス30で実施されるメディアデータのセンシングをサーバ装置10からの指示にしたがって代行することができる。この他、マイクロフォンがマイク端子を介して接続された据置き型またはノート型のコンピュータ、例えばパーソナルコンピュータを場デバイス50として実装することもできる。さらに、ゲートウェイ装置などの中継装置においてもUSB(Universal Serial Bus)端子を介して各種のデバイスを接続できるものが多いので、これを場デバイス50として実装することもできる。この他、案内、広告、クーポンの発行等を目的に施設内にディスプレイ装置が配設されることがある。このディスプレイ装置に対する操作に視線認識、音声認識やジェスチャ認識などの技術が用いられる場合もある。この場合、ディスプレイ装置にはカメラやマイクが付設または内蔵されるので、このようなディスプレイ装置も場デバイス50として実装することができる。このように、場デバイス50には、商用電源等の外部電源に接続されたデバイスを採用できる。なお、ここでは、説明の便宜上、あくまで一例として、場デバイス50が据置き型または設置型のデバイスである場合を例示するが、他のユーザにより携帯されるユーザデバイスを場デバイス50とすることもできる。 For example, the field device 50 may be a stationary device or a stationary device. For example, a camera with a microphone may be provided in the environment from the viewpoint of realizing entrance/exit management, monitoring, authentication, and the like. Such a camera with a microphone can perform media data sensing performed by the user device 30 in accordance with an instruction from the server device 10. Besides, a stationary or notebook computer, such as a personal computer, in which a microphone is connected via a microphone terminal can be mounted as the field device 50. Further, in many relay devices such as a gateway device, various devices can be connected via a USB (Universal Serial Bus) terminal, so that this can be mounted as the field device 50. In addition, a display device may be installed in the facility for the purpose of guidance, advertisement, issuance of coupons, and the like. Techniques such as line-of-sight recognition, voice recognition, and gesture recognition may be used for operations on the display device. In this case, since a camera or a microphone is attached to or built in the display device, such a display device can also be mounted as the field device 50. Thus, the field device 50 can be a device connected to an external power source such as a commercial power source. Here, for convenience of explanation, the case where the field device 50 is a stationary or stationary device is illustrated as an example, but a user device carried by another user may be the field device 50. it can.

このように、IoTシステム1では、IoTサービスに用いるメディアデータのセンシングを実行させるIoTデバイスの選択肢として、ユーザデバイス30に留まらず、場デバイス50が加えられる。 As described above, in the IoT system 1, not only the user device 30 but also the field device 50 is added as an option of the IoT device that executes the sensing of the media data used for the IoT service.

すなわち、上記のユーザデバイス30は、必ずしも外部電源に接続された状態で稼働できるとは限らず、バッテリから供給される電力により稼働する。このような状況の下、マイクやカメラが連続して駆動されると、バッテリの消費が激しくなる。この結果、IoTサービスが終了する前にユーザデバイス30のバッテリ残量がなくなってしまう事態も起こりうる。 That is, the user device 30 described above is not always able to operate in a state of being connected to an external power source, and operates by the power supplied from the battery. Under such a circumstance, if the microphone and the camera are continuously driven, the battery consumption becomes heavy. As a result, the battery of the user device 30 may run out before the IoT service ends.

このようなバッテリ切れによりIoTサービスの中断を抑制することを一側面として、サーバ装置10は、メディアデータのセンシングをユーザデバイス30の周囲に存在する場デバイス50に代行させる。例えば、図1には、一例として、3つの場デバイス50A、50B及び50CがサービスエリアE1、E2およびE3に設置されている。このように、場デバイス50A、50B及び50Cの3つの他のデバイスにユーザデバイス30におけるメディアデータのセンシングを代行させうる状況にある。例えば、図1に示すように、ユーザデバイス30がサービスエリアE2に位置する場合、場デバイス50Bにユーザデバイス30におけるメディアデータのセンシングを代行させることができる。 As one aspect of suppressing the interruption of the IoT service due to such battery exhaustion, the server device 10 delegates media data sensing to the field device 50 existing around the user device 30. For example, in FIG. 1, as an example, three field devices 50A, 50B and 50C are installed in service areas E1, E2 and E3. As described above, there is a situation in which the three other devices such as the field devices 50A, 50B, and 50C can be made to act for sensing the media data in the user device 30. For example, as shown in FIG. 1, when the user device 30 is located in the service area E2, the field device 50B can be made to act on behalf of sensing the media data in the user device 30.

しかしながら、IoTサービスが終了するまでユーザが一定の場所に留まる場合もあれば、ユーザの居場所が一定しない場合もある。このため、環境に設置された場デバイス50を活用しようとしてもユーザの居場所が一定しなければ、IoTサービスに利用されるデバイスをユーザデバイス30から場デバイス50へ切り替えた後に再び場デバイス50からユーザデバイス30へ戻さなければならない事態に陥る。このように切替えが頻繁に発生すると、センシングの実行主体も頻繁に切り替わることになるので、IoTサービスの品質が低下してしまう。 However, the user may stay in a certain place until the IoT service ends, or the user's whereabouts may not be constant. For this reason, if the user's location is not constant even when trying to utilize the field device 50 installed in the environment, the device used for the IoT service is switched from the user device 30 to the field device 50, and then the field device 50 returns to the user. It falls into the situation where it has to be returned to the device 30. If the switching frequently occurs in this way, the subject performing the sensing also frequently switches, and thus the quality of the IoT service deteriorates.

そこで、本実施例に係るサーバ装置10は、環境に設置された場デバイス50へのアクセスが可能から不可になるまでの期間から推定したユーザデバイス30のアクセス可能時間に基づいてIoTサービスに用いるメディアデータのセンシングを場デバイス50に切り替えるか否かを制御する。それ故、ユーザの居場所が一定しない可能性が高い場合、場デバイス50への切替えを抑制できる。したがって、本実施例に係るサーバ装置10によれば、IoTサービスに利用されるデバイスの切替え頻度を低減できる。このようにIoTサービスに利用されるデバイスの切替え頻度が低減される結果、IoTサービスの品質が低下するのも抑制できる。さらに、ユーザが一定の場所に留まる可能性が高い場合、場デバイス50へ切り替えることができる。このため、ユーザデバイス30のバッテリ消費も抑えることができる。 Therefore, the server device 10 according to the present embodiment is a medium used for the IoT service based on the accessible time of the user device 30 estimated from the period from the time when the device 50 installed in the environment becomes accessible to the time when the device 50 becomes unavailable. It controls whether or not the sensing of data is switched to the field device 50. Therefore, when there is a high possibility that the user's location is not constant, it is possible to suppress switching to the field device 50. Therefore, according to the server device 10 according to the present embodiment, it is possible to reduce the switching frequency of the device used for the IoT service. As a result of reducing the switching frequency of the devices used for the IoT service in this way, it is possible to suppress deterioration of the quality of the IoT service. Furthermore, when the user is likely to stay in a certain place, it is possible to switch to the field device 50. Therefore, the battery consumption of the user device 30 can be suppressed.

[サーバ装置10の構成]
図2は、実施例1に係るサーバ装置10の機能的構成を示すブロック図である。図2に示すように、サーバ装置10は、通信I/F(InterFace)部11と、記憶部13と、制御部15とを有する。なお、図2には、データの授受の関係を表す実線が示されているが、図2には、説明の便宜上、最小限の部分について示されているに過ぎない。すなわち、各処理部に関するデータの入出力は、図示の例に限定されず、図示以外のデータの入出力、例えば処理部及び処理部の間、処理部及びデータの間、並びに、処理部及び外部装置の間のデータの入出力が行われることとしてもかまわない。
[Configuration of server device 10]
FIG. 2 is a block diagram illustrating a functional configuration of the server device 10 according to the first embodiment. As shown in FIG. 2, the server device 10 includes a communication I/F (InterFace) unit 11, a storage unit 13, and a control unit 15. Note that FIG. 2 shows a solid line representing a data transfer relationship, but FIG. 2 shows only a minimum part for convenience of explanation. That is, the input/output of data relating to each processing unit is not limited to the illustrated example, and the input/output of data other than the illustrated one, for example, between the processing units and the processing units, between the processing units and the data, and between the processing units and the outside. Data may be input/output between devices.

通信I/F部11は、他の装置、例えばユーザデバイス30や場デバイス50との間で通信制御を行うインタフェースである。 The communication I/F unit 11 is an interface that controls communication with other devices, for example, the user device 30 and the field device 50.

一実施形態として、通信I/F部11には、LAN(Local Area Network)カードなどのネットワークインタフェースカードを採用できる。例えば、通信I/F部11は、ユーザデバイス30からIoTサービスの開始要求または終了要求を受信したり、ユーザデバイス30または場デバイス50によりセンシングされたメディアデータを受信したりする。また、通信I/F部11は、メディアデータのセンシング指示をユーザデバイス30または場デバイス50へ送信する。 As one embodiment, a network interface card such as a LAN (Local Area Network) card can be adopted as the communication I/F unit 11. For example, the communication I/F unit 11 receives a start request or an end request for the IoT service from the user device 30, or receives media data sensed by the user device 30 or the field device 50. The communication I/F unit 11 also transmits a media data sensing instruction to the user device 30 or the field device 50.

記憶部13は、制御部15で実行されるOS(Operating System)を始め、上記のデバイス選択サービスを実現するアプリケーションプログラムなどの各種プログラムに用いられるデータを記憶する記憶デバイスである。 The storage unit 13 is a storage device that stores data used for various programs such as an OS (Operating System) executed by the control unit 15 and an application program that realizes the device selection service.

一実施形態として、記憶部13は、サーバ装置10における補助記憶装置として実装することができる。例えば、記憶部13には、HDD(Hard Disk Drive)、光ディスクやSSD(Solid State Drive)などを採用できる。なお、記憶部13は、必ずしも補助記憶装置として実装されずともよく、サーバ装置10における主記憶装置として実装することもできる。この場合、記憶部13には、各種の半導体メモリ素子、例えばRAM(Random Access Memory)やフラッシュメモリを採用できる。 As an embodiment, the storage unit 13 can be implemented as an auxiliary storage device in the server device 10. For example, a HDD (Hard Disk Drive), an optical disk, an SSD (Solid State Drive), or the like can be adopted as the storage unit 13. The storage unit 13 does not necessarily have to be implemented as an auxiliary storage device, and can be implemented as a main storage device in the server device 10. In this case, various semiconductor memory elements such as a RAM (Random Access Memory) and a flash memory can be used as the storage unit 13.

記憶部13は、制御部15で実行されるプログラムに用いられるデータの一例として、場デバイスデータ13aと、アクセス履歴データ13bとを記憶する。これらのデータ以外にも、次のような電子データを記憶することもできる。例えば、ユーザデバイス30または場デバイス50によりセンシングされるメディアデータの他、各種のIoTサービスに関する定義、例えばIoTサービスに用いるメディアデータの種類(音声、映像、音声+映像など)やIoTサービスの適用期間などの情報も併せて記憶することもできる。 The storage unit 13 stores the field device data 13a and the access history data 13b as an example of data used for the program executed by the control unit 15. In addition to these data, the following electronic data can be stored. For example, in addition to media data sensed by the user device 30 or the field device 50, definitions relating to various IoT services, for example, types of media data used for the IoT service (voice, video, voice+video, etc.) and application periods of the IoT service. Information such as can also be stored together.

場デバイスデータ13aは、場デバイス50に関するデータである。 The field device data 13 a is data regarding the field device 50.

一実施形態として、場デバイスデータ13aには、デバイスID(IDentification)および位置などの項目を含むデータを採用できる。ここで言う「デバイスID」とは、IoTデバイスを識別する識別情報を指すが、ここでは、一例として、場デバイス50のデバイスIDが場デバイスデータ13aとして保持されることとする。また、「位置」とは、IoTデバイスが所在する位置を指し、例えば、緯度や経度などのグローバルな座標であってもよいし、ローカルに定義された座標であってもかまわない。ここでは、あくまで一例として、場デバイスデータ13aにより場デバイス50の位置を管理する場合を例示したが、場デバイス50に限らず、ユーザデバイス30の位置を管理することもできる。この場合、ユーザデバイス30から位置情報が取得される度に当該ユーザデバイス30のデバイスIDに対応するレコードが持つ位置のフィールドを更新することにより、ユーザデバイス30の現在位置も含めてデバイスデータとして管理できる。 As one embodiment, the field device data 13a can be data including items such as a device ID (IDentification) and a position. The “device ID” mentioned here refers to identification information for identifying the IoT device, but here, as an example, the device ID of the field device 50 is held as the field device data 13a. The “position” refers to the position where the IoT device is located, and may be global coordinates such as latitude and longitude, or may be locally defined coordinates. Here, as an example, the case where the position of the field device 50 is managed by the field device data 13a is illustrated, but the position of the user device 30 is not limited to the field device 50 and can be managed. In this case, every time the position information is acquired from the user device 30, the field of the position of the record corresponding to the device ID of the user device 30 is updated to manage the device data including the current position of the user device 30. it can.

アクセス履歴データ13bは、各場デバイス50に対するユーザデバイス30のアクセス履歴に関するデータである。 The access history data 13b is data relating to the access history of the user device 30 with respect to each device 50.

一実施形態として、アクセス履歴データ13bには、場デバイス50ごとに、デバイスID、開始時刻およびアクセス可能時間などの項目が対応付けられたデータを採用できる。ここで言う「デバイスID」とは、IoTデバイスを識別する識別情報を指すが、ここでは、一例として、ユーザデバイス30のデバイスIDがアクセス履歴データ13bとして保持されることとする。また、「開始時刻」とは、ユーザデバイス30による場デバイス50へのアクセスが可能になった時刻を指す。さらに、「アクセス継続期間」とは、ユーザデバイス30による場デバイス50へのアクセスが可能となった状態が継続する期間を指し、期間を示す情報と共にアクセス可能な状態が継続中であるか否かが2値情報などを通じてコンピュータにより識別可能な状態で保持される。 As one embodiment, the access history data 13b may be data in which items such as a device ID, a start time, and an accessible time are associated with each field device 50. The “device ID” here refers to identification information for identifying the IoT device, but here, as an example, the device ID of the user device 30 is held as the access history data 13b. The “start time” refers to the time when the user device 30 can access the field device 50. Furthermore, the “access continuation period” refers to a period during which the state in which the user device 30 can access the field device 50 continues, and whether or not the accessible state is continuing together with the information indicating the period. Are held in a state in which they can be identified by a computer through binary information or the like.

制御部15は、サーバ装置10の全体制御を行う処理部である。 The control unit 15 is a processing unit that controls the entire server device 10.

一実施形態として、制御部15は、CPU(Central Processing Unit)やMPU(Micro Processing Unit)などのハードウェアプロセッサにより実装することができる。ここでは、プロセッサの一例として、CPUやMPUを例示したが、汎用型および特化型を問わず、任意のプロセッサにより実装することができる。この他、制御部15は、ASIC(Application Specific Integrated Circuit)やFPGA(Field Programmable Gate Array)などのハードワイヤードロジックによって実現されることとしてもかまわない。 As one embodiment, the control unit 15 can be implemented by a hardware processor such as a CPU (Central Processing Unit) or MPU (Micro Processing Unit). Here, the CPU and the MPU are illustrated as an example of the processor, but the processor can be implemented by any processor regardless of general-purpose type and specialized type. In addition, the control unit 15 may be realized by a hard-wired logic such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field Programmable Gate Array).

制御部15は、図示しない主記憶装置として実装されるDRAM(Dynamic Random Access Memory)やSRAM(Static Random Access Memory)などのRAMのワークエリア上に、上記のネットワーク管理サービスの機能を実現するネットワーク管理プログラムを展開することにより、下記の処理部を仮想的に実現する。 The control unit 15 implements a network management function for realizing the above-mentioned network management service function on a work area of a RAM such as a DRAM (Dynamic Random Access Memory) or an SRAM (Static Random Access Memory) implemented as a main storage device (not shown). By developing the program, the following processing units are virtually realized.

制御部15は、図2に示すように、検出部15aと、更新部15bと、推定部15cと、選択部15dとを有する。 As shown in FIG. 2, the control unit 15 includes a detection unit 15a, an update unit 15b, an estimation unit 15c, and a selection unit 15d.

検出部15aは、場デバイス50へのアクセスの可否を検出する処理部である。 The detection unit 15a is a processing unit that detects whether or not access to the field device 50 is possible.

一実施形態として、検出部15aは、ユーザデバイス30及び場デバイス50の地理的条件により、ユーザデバイス30による場デバイス50へのアクセスが可能であるか、あるいはユーザデバイス30による場デバイス50へのアクセスが不可であるかを検出する。 As an embodiment, the detection unit 15a can access the field device 50 by the user device 30 or access the field device 50 by the user device 30 depending on the geographical conditions of the user device 30 and the field device 50. Detect whether is impossible.

より詳細には、検出部15aは、ライフログ等のIoTサービスが実施中であるユーザのアカウントに関連付けられたユーザデバイス30のデバイスIDのリストを保持する図示しない内部メモリのワークエリアから、ユーザデバイス30のデバイスIDを1つ選択する。続いて、検出部15aは、先に選択されたデバイスIDに対応するユーザデバイス30から位置情報を取得する。例えば、検出部15aは、ユーザデバイス30の位置情報として、ユーザデバイス30に搭載されたGPS(Global Positioning System)受信機が測定する緯度および経度を取得することができる。この他、検出部15aは、ユーザデバイス30からユーザデバイス30が収容されるセルの基地局、例えばアクセスポイントなどの位置情報を取得することもできる。このアクセスポイントの位置情報は、そのままユーザデバイス30の位置情報として用いることもできるし、ユーザデバイス30の受信電波強度等から割り出されるユーザデバイス30及びアクセスポイント間の距離を用いてユーザデバイス30の位置情報を求めることもできる。その上で、検出部15aは、記憶部13に記憶された場デバイスデータ13aを参照して、ユーザデバイス30がアクセス可能な場デバイス50を検索する。例えば、場デバイスデータ13aに含まれる場デバイス50のデバイスIDごとに、当該デバイスIDに対応付けられた場デバイス50の位置と、ユーザデバイス30の位置情報とを比較することにより、ユーザデバイス30からの距離が所定の範囲、例えば10m以内である場デバイス50が存在するか否かが判定される。 More specifically, the detection unit 15a selects a user device from a work area of an internal memory (not shown) that holds a list of device IDs of the user device 30 associated with the user's account in which the IoT service such as a life log is being implemented. One device ID of 30 is selected. Then, the detection unit 15a acquires the position information from the user device 30 corresponding to the device ID selected previously. For example, the detection unit 15a can acquire, as the position information of the user device 30, the latitude and longitude measured by a GPS (Global Positioning System) receiver mounted on the user device 30. In addition, the detection unit 15a can also acquire, from the user device 30, position information of a base station of a cell in which the user device 30 is accommodated, such as an access point. The position information of the access point can be used as it is as the position information of the user device 30, or the position information of the user device 30 can be calculated by using the distance between the user device 30 and the access point, which is calculated from the received signal strength of the user device 30. It is also possible to obtain position information. Then, the detection unit 15a refers to the field device data 13a stored in the storage unit 13 to search for a field device 50 accessible by the user device 30. For example, by comparing, for each device ID of the field device 50 included in the field device data 13a, the position of the field device 50 associated with the device ID with the position information of the user device 30, It is determined whether there is a field device 50 whose distance is within a predetermined range, for example, within 10 m.

なお、ここでは、ユーザデバイス30による場デバイス50へのアクセスが可能または不可であるかを地理的条件により判定する場合を例示したが、これに限定されない。例えば、ユーザデバイス30から位置情報の代わりに、SSID(Service Set Identifier)のリストを取得することができる。このようにユーザデバイス30から取得されるSSIDのリストの中に、場デバイス50に対応するSSIDが含まれるか否かにより、ユーザデバイス30による場デバイス50へのアクセスが可能または不可であるかを判定することもできる。 In addition, here, the case where it is determined whether or not the user device 30 can access the field device 50 based on the geographical condition is illustrated, but the present invention is not limited to this. For example, a list of SSID (Service Set Identifier) can be obtained from the user device 30 instead of the position information. As described above, it is determined whether the user device 30 can access the field device 50 according to whether the SSID corresponding to the field device 50 is included in the list of SSIDs acquired from the user device 30. It can also be determined.

更新部15bは、アクセス履歴データ13bを更新する処理部である。 The update unit 15b is a processing unit that updates the access history data 13b.

一側面として、更新部15bは、検出部15aによりユーザデバイス30からの距離が所定の範囲内である場デバイス50が存在するか否かが検出される度に、次のような処理を実行する。例えば、ユーザデバイス30からの距離が所定の範囲内である場デバイス50が存在する場合、ユーザデバイス30が場デバイス50へアクセス可能であると推定できる。この場合、更新部15bは、ユーザデバイス30がアクセス可能である場デバイス50に関するアクセス履歴の中に当該ユーザデバイス30のデバイスIDを含むアクセス履歴のエントリが作成済みであるか否かを判定する。ここで、ユーザデバイス30がアクセス可能である場デバイス50に関するアクセス履歴の中に当該ユーザデバイス30のデバイスIDを含むアクセス履歴のエントリが存在する場合でも、当該エントリのアクセス継続期間に含まれる2値情報としてアクセス可能な状態が継続中でないことを示す2値情報が保持される場合、同一のユーザデバイス30のデバイスIDを有するエントリであっても別のアクセス履歴として扱うために、当該ユーザデバイス30のデバイスIDを含むアクセス履歴のエントリが作成済みでないと判定される。そして、更新部15bは、当該ユーザデバイス30のデバイスIDを含むアクセス履歴のエントリが作成済みである場合、当該ユーザデバイス30のアクセス履歴のエントリに含まれるアクセス継続期間を更新する。例えば、更新部15bは、システム時刻等から参照される現時刻から開始時刻を差し引く計算により最新のアクセス継続期間を算出し、当該最新のアクセス継続期間を上書きする更新を行うことができる。一方、更新部15bは、当該ユーザデバイス30に関するアクセス履歴のエントリが作成済みでない場合、当該ユーザデバイス30に関するアクセス履歴のエントリを新規に作成する。すなわち、更新部15bは、ユーザデバイス30がアクセス可能である場デバイス50に関するアクセス履歴として、「デバイスID」のフィールドには、当該場デバイス50へのアクセスが可能となったユーザデバイス30のデバイスIDを格納し、「開始時刻」のフィールドには、当該場デバイス50へのアクセスが可能となった現時刻、すなわちレコードの作成時刻を格納し、「アクセス継続期間」のフィールドには、NULL値やゼロなどの値を格納した、新規エントリを作成する。 As one aspect, the updating unit 15b executes the following process every time the detecting unit 15a detects whether or not there is a field device 50 whose distance from the user device 30 is within a predetermined range. .. For example, when there is a field device 50 that is within a predetermined range from the user device 30, it can be estimated that the user device 30 can access the field device 50. In this case, the update unit 15b determines whether or not an access history entry including the device ID of the user device 30 has been created in the access history regarding the device 50 that the user device 30 can access. Here, even if there is an access history entry including the device ID of the user device 30 in the access history of the device 50 accessible by the user device 30, the binary value included in the access continuation period of the entry. When binary information indicating that the accessible state is not maintained is held as information, even if an entry having the device ID of the same user device 30 is treated as another access history, the user device 30 concerned is handled. It is determined that the access history entry including the device ID is not created. Then, when the entry of the access history including the device ID of the user device 30 has been created, the update unit 15b updates the access duration period included in the entry of the access history of the user device 30. For example, the update unit 15b can calculate the latest access continuation period by the calculation of subtracting the start time from the current time referred to by the system time and the like, and can perform the update by overwriting the latest access continuation period. On the other hand, if the access history entry for the user device 30 has not been created, the update unit 15b newly creates an access history entry for the user device 30. That is, the updating unit 15b stores the device ID of the user device 30 that has become accessible to the field device 50 in the field of "device ID" as the access history of the field device 50 that the user device 30 can access. The "start time" field stores the current time when the local device 50 is accessible, that is, the record creation time, and the "access duration" field stores a NULL value or Create a new entry containing a value such as zero.

一方、ユーザデバイス30からの距離が所定の範囲内である場デバイス50が存在しない場合、ユーザデバイス30が場デバイス50へアクセス不可であると推定される。この場合、ユーザデバイス30の代わりにメディアデータのセンシングを実施できる場デバイス50がユーザデバイス30の周辺に存在しないことが判明する。この場合、IoTサービスに用いるメディアデータのセンシングを場デバイス50に実施させる余地がない。それ故、後述の選択部15dによりユーザデバイス30がメディアデータのセンシングを実施するセンシングデバイスとして選択されることになる。 On the other hand, when there is no field device 50 within a predetermined range from the user device 30, it is estimated that the user device 30 cannot access the field device 50. In this case, it turns out that the field device 50 capable of performing media data sensing instead of the user device 30 does not exist around the user device 30. In this case, there is no room for the field device 50 to perform sensing of media data used for the IoT service. Therefore, the user device 30 is selected as the sensing device for sensing the media data by the selection unit 15d described later.

推定部15cは、ユーザデバイス30が場デバイス50にアクセス可能な時間を推定する処理部である。以下では、ユーザデバイス30が場デバイス50にアクセス可能な時間のことを「アクセス可能時間」と記載する場合がある。 The estimation unit 15c is a processing unit that estimates the time when the user device 30 can access the field device 50. Below, the time when the user device 30 can access the field device 50 may be described as “accessible time”.

一側面として、推定部15cは、アクセス履歴データ13bに新規エントリが作成された場合、処理を起動する。例えば、推定部15cは、新規エントリが作成された場デバイス50に関するアクセス履歴のエントリを読み出す。その上で、推定部15cは、各エントリに含まれるアクセス継続期間に所定の統計処理を行う。この統計処理の一例として、最頻値、中央値、加重平均値や相加平均値などの各種の統計値を算出する処理を実行することができる。ここでは、一例として、各エントリのアクセス継続期間の平均値、すなわち相加平均値が算出される場合を例示する。これにより、各エントリのアクセス継続期間の平均値が「アクセス可能時間」として推定される。 As one aspect, the estimation unit 15c activates the process when a new entry is created in the access history data 13b. For example, the estimation unit 15c reads the entry of the access history regarding the device 50 in which the new entry is created. Then, the estimation unit 15c performs a predetermined statistical process during the access duration included in each entry. As an example of this statistical processing, it is possible to execute processing of calculating various statistical values such as a mode value, a median value, a weighted average value and an arithmetic average value. Here, as an example, the case where the average value of the access duration of each entry, that is, the arithmetic average value is calculated is illustrated. As a result, the average value of the access duration of each entry is estimated as the “accessible time”.

選択部15dは、ユーザデバイス30及び場デバイス50のうちいずれかのデバイスを、IoTサービスに用いるメディアデータのセンシングを実行させるデバイスとして選択する処理部である。以下では、IoTサービスに用いるメディアデータのセンシングを実行させるデバイスのことを「センシングデバイス」と記載する場合がある。 The selection unit 15d is a processing unit that selects any one of the user device 30 and the field device 50 as a device that executes sensing of media data used for the IoT service. Hereinafter, a device that executes sensing of media data used for the IoT service may be referred to as a “sensing device”.

一側面として、選択部15dは、推定部15cにより推定されたアクセス可能時間と、所定の閾値とを比較することにより、センシングデバイスをユーザデバイス30から場デバイス50へ切り替えるか否かを判定する。このような閾値の一例として、IoTサービスごとに設定可能な最短継続時間を用いることができる。例えば、ライフログ等のIoTサービスが利用される場合、メディアデータとして動画がセンシングされる。この場合、動画を撮像する撮像デバイスが短期間で切り替わると、撮影が行われる視点や撮像範囲などが頻繁に切り替わる動画しか得られないことになる。このことから、ユーザ、あるいはIoTシステム1の設計者や管理者等から、最短で撮像デバイスが切り替わるのを許容できる時間、例えば10分間などを「最短継続時間」として設定させることができる。 As one aspect, the selection unit 15d determines whether to switch the sensing device from the user device 30 to the field device 50 by comparing the accessible time estimated by the estimation unit 15c with a predetermined threshold value. As an example of such a threshold, the shortest duration that can be set for each IoT service can be used. For example, when an IoT service such as a life log is used, a moving image is sensed as media data. In this case, if the image pickup device for picking up a moving image is switched in a short period of time, only a moving image in which the viewpoint from which the moving image is captured, the imaging range, and the like are frequently switched can be obtained. Therefore, the user, the designer or the administrator of the IoT system 1, or the like can set the shortest time, for example, 10 minutes, that allows the imaging device to be switched as the “shortest duration”.

例えば、選択部15dは、アクセス可能時間が最短継続時間以上であるか否か、すなわちアクセス可能時間≧最短継続時間であるか否かを判定する。ここで、アクセス可能時間≧最短継続時間である場合、最短継続時間以上の期間にわたってユーザデバイス30の代わりに当該場デバイス50をセンシングデバイスとして使用できることが期待できる。言い換えれば、センシングデバイスをユーザデバイス30から場デバイス50へ切り替えた後、最短継続時間未満でセンシングデバイスを場デバイス50からユーザデバイス30へ切り替える再切替えを抑制できる可能性が高いと推定できる。この場合、選択部15dは、場デバイス50をセンシングデバイスとして選択する。一方、アクセス可能時間≧最短継続時間でない場合、センシングデバイスをユーザデバイス30から場デバイス50へ切り替えた後、最短継続時間未満でセンシングデバイスを場デバイス50からユーザデバイス30へ切り替える再切替えを抑制できない可能性が高いと推定できる。この場合、選択部15dは、ユーザデバイス30をセンシングデバイスとして選択する。 For example, the selection unit 15d determines whether the accessible time is equal to or more than the shortest duration, that is, the accessible time≧the shortest duration. Here, in the case of accessible time≧shortest duration, it can be expected that the field device 50 can be used as a sensing device instead of the user device 30 for a period equal to or longer than the shortest duration. In other words, after switching the sensing device from the user device 30 to the field device 50, it can be estimated that there is a high possibility that re-switching of switching the sensing device from the field device 50 to the user device 30 can be suppressed within the shortest duration. In this case, the selection unit 15d selects the field device 50 as a sensing device. On the other hand, when the accessible time is not the shortest duration ≥ the sensing device is switched from the user device 30 to the field device 50, it is not possible to suppress the re-switching of switching the sensing device from the field device 50 to the user device 30 within the shortest duration. It can be presumed that the property is high. In this case, the selection unit 15d selects the user device 30 as the sensing device.

その後、選択部15dは、メディアデータのセンシング及び伝送をセンシングデバイスに指示する。その後、センシングデバイスから伝送される音声または映像のストリームデータを復号化し、復号化されたメディアデータが所定の出力先、例えばIoTサービスに対応するアプリケーションプログラムに出力されることになる。これによって、IoTサービスに対応するアプリケーションプログラムにより、メディアデータを用いてIoTサービスが提供されることになる。 Then, the selection unit 15d instructs the sensing device to perform sensing and transmission of media data. After that, the audio or video stream data transmitted from the sensing device is decoded, and the decoded media data is output to a predetermined output destination, for example, an application program corresponding to the IoT service. As a result, the IoT service is provided using the media data by the application program corresponding to the IoT service.

なお、アクセス可能時間が最短継続時間以上である場デバイス50が複数存在する場合、その中から1つを選択する。この択一の選択基準は特定の基準に限定されないが、一例として、複数の場デバイス50のうちユーザデバイス30との距離が最短である場デバイス50を選択したり、撮像や録音などを行うセンサとして最高の性能を持つセンサが搭載される場デバイス50を選択することができる。 In addition, when there are a plurality of field devices 50 each having the accessible time equal to or longer than the shortest continuation time, one is selected from them. The selection criterion of this alternative is not limited to a specific criterion, but as an example, a sensor that selects the field device 50 that has the shortest distance from the user device 30 among the plurality of field devices 50, or that performs imaging, recording, or the like. The field device 50 on which the sensor having the highest performance is mounted can be selected.

他の側面として、選択部15dは、IoTサービスが実施中であるユーザのアカウントのうちセンシングデバイスとして場デバイス50が選択されているユーザのアカウントごとに、次のような処理を実行する。すなわち、選択部15dは、検出部15aによりユーザデバイス30からの距離が所定の範囲内である場デバイス50が存在しないと判定されるか、あるいはアクセス履歴データ13bに含まれるアクセス継続期間に継続中でないことを示す2値情報が保存されるかを監視する。これらの条件のいずれかを満たす場合、ユーザデバイス30の代わりにメディアデータのセンシングを実施できる場デバイス50がユーザデバイス30の周辺に存在しないことが判明する。この場合、IoTサービスに用いるメディアデータのセンシングを場デバイス50に実施させる余地がない。それ故、選択部15dは、ユーザデバイス30をセンシングデバイスとして選択する。 As another aspect, the selection unit 15d performs the following process for each account of the user whose field device 50 is selected as the sensing device among the accounts of the user who is implementing the IoT service. That is, the selection unit 15d determines that the detection unit 15a determines that there is no field device 50 whose distance from the user device 30 is within the predetermined range, or continues during the access continuation period included in the access history data 13b. It is monitored whether the binary information indicating that it is not is stored. If any of these conditions are met, it is found that there is no field device 50 in the vicinity of the user device 30 that can perform media data sensing instead of the user device 30. In this case, there is no room for the field device 50 to perform sensing of media data used for the IoT service. Therefore, the selection unit 15d selects the user device 30 as the sensing device.

[センシングデバイスの選択方法の具体例]
次に、図3及び図4を用いて、センシングデバイスの選択方法の具体例について説明する。図3及び図4は、アクセス履歴データ13bの一例を示す図である。図3及び図4には、道路上に設置された場デバイス50Aに関するアクセス履歴データ13bAと、店舗に設置された場デバイス50Bに関するアクセス履歴データ13bBとが示されている。さらに、図3には、6月7日の11時00分の時点のアクセス履歴データ13bA及びアクセス履歴データ13bBが示されており、図4には、6月7日の11時12分の時点のアクセス履歴データ13bA及びアクセス履歴データ13bBが示されている。また、図3及び図4には、場デバイス50A及び場デバイス50Bへのアクセスが可能であるエリアが塗り潰しにより示されている。さらに、図3及び図4には、アクセス履歴データ13bBにエントリが存在するデバイスID「user30C」及び「user30E」のユーザデバイス30C及びユーザデバイス30Eの位置情報の軌跡、いわゆる動線が一点鎖線および二点鎖線により示されている。
[Specific example of sensing device selection method]
Next, a specific example of the sensing device selection method will be described with reference to FIGS. 3 and 4. 3 and 4 are diagrams showing an example of the access history data 13b. 3 and 4 show access history data 13bA regarding the field device 50A installed on the road and access history data 13bB regarding the field device 50B installed in the store. Further, FIG. 3 shows access history data 13bA and access history data 13bB at 11:00 on June 7, and FIG. 4 shows time at 11:12 on June 7. Access history data 13bA and access history data 13bB are shown. Further, in FIGS. 3 and 4, an area where the field device 50A and the field device 50B can be accessed is shown by being filled. Furthermore, in FIGS. 3 and 4, the loci of position information of the user devices 30C and user devices 30E with the device IDs "user30C" and "user30E" having entries in the access history data 13bB, so-called flow lines, are indicated by alternate long and short dashed lines and two It is indicated by the dotted line.

このような状況の下、デバイスID「user30A」のユーザデバイス30Aを携帯するユーザが図3及び図4に点線で示す位置情報の軌跡にしたがって移動する場合におけるセンシングデバイスの選択方法について説明する。 Under such a situation, a method of selecting a sensing device in the case where the user carrying the user device 30A having the device ID “user 30A” moves according to the locus of position information indicated by the dotted lines in FIGS. 3 and 4 will be described.

図3に点線の矢印で示すように、6月7日の11時00分の時点では、デバイスID「user30A」のユーザデバイス30Aが場デバイスデータ13aに含まれる場デバイス50Aの位置(x1,y1)から10m以内のエリアへ進入する。これに伴って、ユーザデバイス30Aによる場デバイス50Aへのアクセスが可能であることが検出部15aにより検出される。この段階では、場デバイス50Aのアクセス履歴データ13bAには、ユーザデバイス30Aのアクセス履歴のエントリが存在しないので、ユーザデバイス30Aのアクセス履歴のエントリが新規に作成される。すなわち、「デバイスID」のフィールドには、「user30A」が格納され、「開始時刻」のフィールドには、現時刻である6月7日の11時00分が格納されると共に、「アクセス継続期間」のフィールドには、「0:00」が格納された新規エントリがアクセス履歴データ13bAに作成される。 As indicated by a dotted arrow in FIG. 3, at 11:00 on June 7, the user device 30A having the device ID “user30A” is located at the position (x1, y1) of the field device 50A included in the field device data 13a. ) And enter the area within 10m. Along with this, the detection unit 15a detects that the user device 30A can access the field device 50A. At this stage, there is no entry of the access history of the user device 30A in the access history data 13bA of the field device 50A, so an entry of the access history of the user device 30A is newly created. That is, the "device ID" field stores "user30A", the "start time" field stores the current time of June 7, 11:00, and the "access continuation period". In the field "", a new entry in which "0:00" is stored is created in the access history data 13bA.

このように新規エントリが作成された場合、推定部15cによりアクセス可能時間が推定される。すなわち、アクセス履歴データ13bのうち新規エントリが作成された場デバイス50Aに関するアクセス履歴データ13bAの各エントリが参照される。これらのエントリのうち、新規エントリを除くと、図3に示すアクセス履歴データ13bAには、デバイスID「user30B」のユーザデバイス30B、デバイスID「user30C」のユーザデバイス30C及びデバイスID「user30D」のユーザデバイス30Dに関するアクセス履歴のエントリが含まれる。 When a new entry is created in this way, the estimating unit 15c estimates the accessible time. That is, of the access history data 13b, each entry of the access history data 13bA relating to the device 50A in which the new entry is created is referred to. Excluding new entries among these entries, the access history data 13bA shown in FIG. 3 shows that the user device 30B with the device ID "user30B", the user device 30C with the device ID "user30C", and the user with the device ID "user30D". An access history entry for device 30D is included.

これらデバイスID「user30B」、デバイスID「user30C」及びデバイスID「user30D」のエントリに含まれるアクセス継続時間が読み出される。すなわち、デバイスID「user30B」のユーザデバイス30Bのアクセス継続期間として「2分」が読みされる。さらに、デバイスID「user30C」のユーザデバイス30Cのアクセス継続期間として「2分」が読み出される。さらに、デバイスID「user30D」のユーザデバイス30Dのアクセス継続期間として「5分」が読み出される。これらのアクセス継続期間を平均する計算、すなわち「(2分+2分+5分)/3」を行うことにより、アクセス可能時間を「3分」と推定できる。 The access durations included in the entries of the device ID “user30B”, the device ID “user30C”, and the device ID “user30D” are read. That is, “2 minutes” is read as the access duration of the user device 30B having the device ID “user30B”. Further, "2 minutes" is read as the access continuation period of the user device 30C having the device ID "user30C". Further, "5 minutes" is read as the access duration of the user device 30D having the device ID "user30D". The accessible time can be estimated as "3 minutes" by performing a calculation for averaging the access durations, that is, "(2 minutes+2 minutes+5 minutes)/3".

このように推定されたアクセス可能時間に基づいてセンシングデバイスをユーザデバイス30Aから場デバイス50Aへ切り替えるか否かが選択部15dにより判定される。すなわち、アクセス可能時間がIoTサービスの最短継続時間以上であるか否かが判定される。ここで、場デバイス50Aは、道路に設置されたものであり、その道路を通行するユーザは、場デバイス50Aの周辺に留まらずに通過する可能性が高い。このような傾向が現れたアクセス可能時間にしたがって、センシングデバイスを場デバイス50Aへ切り替えるか否かを判断することができる。この例では、アクセス可能時間「3分」<最短継続時間「10分」である。このため、センシングデバイスは、ユーザデバイス30Aから場デバイス50Aへ切り替えられない。 The selection unit 15d determines whether to switch the sensing device from the user device 30A to the field device 50A based on the accessible time estimated in this way. That is, it is determined whether the accessible time is equal to or longer than the shortest duration of the IoT service. Here, the field device 50A is installed on a road, and there is a high possibility that a user who travels on the road will pass not only around the field device 50A. It is possible to determine whether to switch the sensing device to the field device 50A according to the accessible time when such a tendency appears. In this example, the accessible time is "3 minutes"<the shortest duration "10 minutes". Therefore, the sensing device cannot be switched from the user device 30A to the field device 50A.

その後、図4に点線の矢印で示すように、11時02分の時点では、デバイスID「user30A」のユーザデバイス30Aが場デバイスデータ13aに含まれる場デバイス50Aの位置(x1,y1)から10m以内のエリアから脱出する。これに伴って、ユーザデバイス30Aによる場デバイス50Aへのアクセスが不可であることが検出部15aにより検出される。この段階では、場デバイス50Aのアクセス履歴データ13bAには、ユーザデバイス30Aのアクセス履歴のエントリが存在する。このため、ユーザデバイス30Aのアクセス履歴のエントリに含まれるアクセス継続期間が更新される。すなわち、現時刻である11時02分から開始時刻である11時00分を差し引くことにより最新のアクセス継続期間「2分」が更新部15bにより算出される。その上で、アクセス履歴データ13bAに含まれるエントリのうち、ユーザデバイス30Aのアクセス履歴のエントリに含まれるアクセス継続期間に当該最新のアクセス継続期間「2分」を上書きする更新が更新部15bにより実行される。 Then, as indicated by a dotted arrow in FIG. 4, at 11:02, the user device 30A with the device ID “user30A” is 10 m from the position (x1, y1) of the field device 50A included in the field device data 13a. Escape from within the area. Accordingly, the detection unit 15a detects that the user device 30A cannot access the field device 50A. At this stage, the access history data 13bA of the field device 50A has an entry of the access history of the user device 30A. Therefore, the access continuation period included in the access history entry of the user device 30A is updated. That is, the latest access continuation period "2 minutes" is calculated by the update unit 15b by subtracting the start time 11:00 from the current time 11:02. Then, of the entries included in the access history data 13bA, the update unit 15b performs an update by overwriting the latest access duration "2 minutes" in the access duration included in the access history entry of the user device 30A. To be done.

そして、図4に点線の矢印で示すように、11時12分の時点では、デバイスID「user30A」のユーザデバイス30Aが場デバイスデータ13aに含まれる場デバイス50Bの位置(x2,y2)から10m以内のエリアへ進入する。これに伴って、ユーザデバイス30Aによる場デバイス50Bへのアクセスが可能であることが検出部15aにより検出される。この段階では、場デバイス50Bのアクセス履歴データ13bBには、ユーザデバイス30Aのアクセス履歴のエントリが存在しないので、ユーザデバイス30Aのアクセス履歴のエントリが新規に作成される。すなわち、「デバイスID」のフィールドには、「user30A」が格納され、「開始時刻」のフィールドには、現時刻である6月7日の11時12分が格納されると共に、「アクセス継続期間」のフィールドには、「0:00」が格納された新規エントリがアクセス履歴データ13bAに作成される。 Then, as indicated by a dotted arrow in FIG. 4, at 11:12, the user device 30A with the device ID “user30A” is 10 m from the position (x2, y2) of the field device 50B included in the field device data 13a. Enter the area within. Accordingly, the detection unit 15a detects that the user device 30A can access the field device 50B. At this stage, since there is no entry of the access history of the user device 30A in the access history data 13bB of the field device 50B, a new entry of the access history of the user device 30A is created. That is, "user30A" is stored in the field of "device ID", 11:12 of June 7 which is the current time is stored in the field of "start time", and "access continuation period" is stored. In the field "", a new entry in which "0:00" is stored is created in the access history data 13bA.

このように新規エントリが作成された場合、推定部15cによりアクセス可能時間が推定される。すなわち、アクセス履歴データ13bのうち新規エントリが作成された場デバイス50Bに関するアクセス履歴データ13bBの各エントリが参照される。これらのエントリのうち、新規エントリを除くと、図4に示すアクセス履歴データ13bBには、デバイスID「user30C」のユーザデバイス30C及びデバイスID「user30E」のユーザデバイス30Eに関するアクセス履歴のエントリが含まれる。 When a new entry is created in this way, the estimating unit 15c estimates the accessible time. That is, of the access history data 13b, each entry of the access history data 13bB relating to the device 50B in which the new entry is created is referred to. Excluding new entries among these entries, the access history data 13bB shown in FIG. 4 includes access history entries relating to the user device 30C with the device ID "user30C" and the user device 30E with the device ID "user30E". ..

これらデバイスID「user30C」及びデバイスID「user30E」のエントリに含まれるアクセス継続時間が読み出される。すなわち、デバイスID「user30C」のユーザデバイス30Bのアクセス継続期間として「30分」が読みされる。さらに、デバイスID「user30E」のユーザデバイス30Cのアクセス継続期間として「42分(継続)」が読み出される。これらのアクセス継続期間を平均する計算、すなわち「(30分+42分)/2」を行うことにより、アクセス可能時間を「36分」と推定できる。 The access durations included in the entries of the device ID “user30C” and the device ID “user30E” are read. That is, "30 minutes" is read as the access duration of the user device 30B having the device ID "user30C". Further, "42 minutes (continuation)" is read as the access duration of the user device 30C having the device ID "user30E". The accessible time can be estimated as "36 minutes" by performing a calculation for averaging these access durations, that is, "(30 minutes + 42 minutes)/2".

このように推定されたアクセス可能時間に基づいてセンシングデバイスをユーザデバイス30Aから場デバイス50Bへ切り替えるか否かが選択部15dにより判定される。ここで、場デバイス50Bは、場デバイス50Aとは異なり、店舗に設置されたものであり、店舗内に訪れるユーザは、場デバイス50Bが設置された店舗内に一定の期間にわたって滞在する可能性が高い。例えば、図4に一点鎖線の矢印で示される通り、デバイスID「User30C」のユーザデバイス30Cを携帯するユーザは、場デバイス50Aが設置された道路を通過した後に場デバイス50Bが設置された店舗に訪れ、その後、30分間にわたって店舗に滞在していたことがアクセス履歴データ13bA及びアクセス履歴データ13bBからわかる。さらに、図4に二点鎖線の矢印で示される通り、デバイスID「User30E」のユーザデバイス30Eを携帯するユーザは、場デバイス50Bが設置された店舗に42分間が経過した現時点でも滞在していることがアクセス履歴データ13bBからわかる。これらのことから、場デバイス50Bは、場デバイス50Aよりもユーザデバイス30Aの代わりにセンシングデバイスとして使用できる期間が長くなる可能性が高い。このような傾向が現れたアクセス可能時間にしたがって、センシングデバイスを場デバイス50Bへ切り替えるか否かを判断することができる。この例では、アクセス可能時間「36分」>最短継続時間「10分」である。このため、センシングデバイスは、ユーザデバイス30Aから場デバイス50Bへ切り替えられる。 Based on the accessible time estimated in this way, the selection unit 15d determines whether or not to switch the sensing device from the user device 30A to the field device 50B. Here, unlike the field device 50A, the field device 50B is installed in a store, and a user who visits the store may stay in the shop where the field device 50B is installed for a certain period of time. high. For example, as indicated by an alternate long and short dash line arrow in FIG. 4, the user carrying the user device 30C having the device ID “User 30C” is in a store where the field device 50B is installed after passing through the road where the field device 50A is installed. It can be seen from the access history data 13bA and the access history data 13bB that the user visited and stayed in the store for 30 minutes after that. Further, as indicated by the chain double-dashed arrow in FIG. 4, the user carrying the user device 30E having the device ID “User 30E” is still staying in the store where the field device 50B is installed for 42 minutes. This can be seen from the access history data 13bB. For these reasons, the field device 50B is more likely to be used as a sensing device instead of the user device 30A for a longer period than the field device 50A. It is possible to determine whether to switch the sensing device to the field device 50B according to the accessible time when such a tendency appears. In this example, the accessible time is “36 minutes”>the shortest duration is “10 minutes”. Therefore, the sensing device is switched from the user device 30A to the field device 50B.

以上のように、本実施例では、ユーザがIoTサービスの最短継続時間以上の期間にわたって留まる可能性が低い環境に設置された場デバイス50Aへの切替えを抑制できる。したがって、本実施例によれば、IoTサービスに利用されるデバイスの切替え頻度を低減し、もってIoTサービスの品質が低下するのを抑制することが可能である。また、本実施例では、ユーザがIoTサービスの最短継続時間以上の期間にわたって留まる可能性が高い環境に設置された場デバイス50Bへの切替えを実施することができる。それ故、ユーザデバイス30の代わりに場デバイス50をセンシングデバイスとして動作させ、もってユーザデバイス30のバッテリ消費を抑えることも可能である。 As described above, in the present embodiment, it is possible to suppress switching to the field device 50A installed in an environment in which the user is unlikely to stay for a period of the minimum duration of the IoT service or longer. Therefore, according to the present embodiment, it is possible to reduce the switching frequency of the devices used for the IoT service and suppress the deterioration of the quality of the IoT service. In addition, in the present embodiment, it is possible to perform switching to the field device 50B installed in an environment in which the user is likely to stay for a period longer than the shortest duration of the IoT service. Therefore, it is possible to operate the field device 50 as a sensing device instead of the user device 30 and thereby suppress the battery consumption of the user device 30.

加えて、本実施例では、場デバイス50Aまたは場デバイス50Bへの切替え適否の判定に用いるアクセス可能時間の推定に、場デバイス50Aに関するアクセス履歴データ13bAまたは場デバイス50Bに関するアクセス履歴データ13bBが用いられる。これらアクセス履歴データ13bA及びアクセス履歴データ13bBは、いずれも不特定のユーザデバイス30のアクセス履歴から作成することができる。すなわち、アクセス履歴データ13bA及びアクセス履歴データ13bBは、必ずしも場デバイス50A及び場デバイス50Bがセンシングデバイスとして選択されずとも、不特定のユーザが場デバイス50Aまたは場デバイス50Bにアクセス可能なエリアをユーザデバイス30を携帯して行動、例えば移動や滞在などを行うことにより作成できる。さらに、アクセス履歴データ13bA及びアクセス履歴データ13bBは、必ずしも同一のIoTサービスに利用されるユーザデバイス30及び同一のユーザにより使用されるユーザデバイス30のアクセス履歴から作成されずともかまわない。なぜなら、場デバイス50が設置された環境にユーザが留まる時間の長さには、ユーザの個人差が現れるとしても、場デバイス50が設置された環境にユーザが留まるか否かには、ユーザの個人差に依存する割合よりも環境の性質に依存する割合の方が高いからである。 In addition, in the present embodiment, the access history data 13bA relating to the field device 50A or the access history data 13bB relating to the field device 50B is used to estimate the accessible time used for determining the suitability for switching to the field device 50A or the field device 50B. .. Both the access history data 13bA and the access history data 13bB can be created from the access history of the unspecified user device 30. That is, in the access history data 13bA and the access history data 13bB, even if the field device 50A and the field device 50B are not necessarily selected as sensing devices, an area in which an unspecified user can access the field device 50A or the field device 50B is a user device. It can be created by carrying 30 and carrying out an action, such as moving or staying. Furthermore, the access history data 13bA and the access history data 13bB may not necessarily be created from the access history of the user device 30 used for the same IoT service and the user device 30 used by the same user. This is because, even if the user's individual difference appears in the length of time that the user stays in the environment where the field device 50 is installed, whether the user stays in the environment where the field device 50 is installed depends on whether the user stays in the environment where the field device 50 is installed. This is because the proportion that depends on the nature of the environment is higher than the proportion that depends on individual differences.

なお、図3及び図4には、場デバイスデータ13a及びアクセス履歴データ13bの各データがテーブル形式で記憶部13に格納される場合を例示したが、これに限定されない。例えば、各データは、XML(Extensible Markup Language)などのマークアップ言語によりタグ形式で記述されるデータであってもよいし、CSV(Comma-Separated Values)などのようにカンマや改行により記述されるデータであってもかまわない。 3 and 4 illustrate the case where each data of the field device data 13a and the access history data 13b is stored in the storage unit 13 in the table format, but the present invention is not limited to this. For example, each data may be data described in a tag format in a markup language such as XML (Extensible Markup Language), or may be described in commas or line breaks such as CSV (Comma-Separated Values). It may be data.

[処理の流れ]
図5は、実施例1に係るデバイス選択処理の手順を示すフローチャートである。この処理は、一例として、IoTサービスが実施中であるユーザのアカウントに対応するユーザデバイス30が存在する限り、一定の周期で繰り返し実行される。
[Process flow]
FIG. 5 is a flowchart of a device selection process procedure according to the first embodiment. As an example, this process is repeatedly executed at regular intervals as long as the user device 30 corresponding to the user's account in which the IoT service is being implemented exists.

図5に示すように、検出部15aは、IoTサービスが実施中であるユーザのアカウントに関連付けられたユーザデバイス30のデバイスIDのリストを保持する内部メモリのワークエリアから、ユーザデバイス30のデバイスIDを1つ選択する(ステップS101)。 As shown in FIG. 5, the detection unit 15a determines the device ID of the user device 30 from the work area of the internal memory that holds the list of the device IDs of the user device 30 associated with the user account in which the IoT service is being performed. Is selected (step S101).

続いて、検出部15aは、ステップS101で選択されたデバイスIDに対応するユーザデバイス30から位置情報を取得する(ステップS102)。その上で、検出部15aは、記憶部13に記憶された場デバイスデータ13aを参照して、ユーザデバイス30がアクセス可能な場デバイス50を検索する(ステップS103)。 Subsequently, the detection unit 15a acquires the position information from the user device 30 corresponding to the device ID selected in step S101 (step S102). Then, the detection unit 15a refers to the field device data 13a stored in the storage unit 13 and searches for a field device 50 accessible by the user device 30 (step S103).

このとき、場デバイス50がヒットする場合(ステップS104Yes)、更新部15bは、アクセス履歴データ13bのうちステップS101で選択されたユーザデバイス30がアクセス可能である場デバイス50に関するアクセス履歴の中に、当該ユーザデバイス30のデバイスIDを含むアクセス履歴のエントリが作成済みであるか否かを判定する(ステップS105)。なお、場デバイス50がヒットしない場合(ステップS104No)、ステップS108の処理へ移行する。 At this time, when the field device 50 hits (Yes in step S104), the update unit 15b includes the access history regarding the field device 50 accessible by the user device 30 selected in step S101 in the access history data 13b. It is determined whether or not an access history entry including the device ID of the user device 30 has been created (step S105). If the field device 50 does not hit (No in step S104), the process proceeds to step S108.

そして、当該ユーザデバイス30のデバイスIDを含むアクセス履歴のエントリが作成済みである場合(ステップS105Yes)、更新部15bは、当該ユーザデバイス30のアクセス履歴のエントリに含まれるアクセス継続期間を更新する(ステップS106)。 Then, when the entry of the access history including the device ID of the user device 30 has been created (Yes in step S105), the updating unit 15b updates the access duration period included in the entry of the access history of the user device 30 ( Step S106).

一方、当該ユーザデバイス30のデバイスIDを含むアクセス履歴のエントリが作成済みでない場合(ステップS105No)、更新部15bは、当該ユーザデバイス30に関するアクセス履歴のエントリを新規に作成する(ステップS107)。 On the other hand, if the entry of the access history including the device ID of the user device 30 has not been created (No in step S105), the updating unit 15b newly creates the entry of the access history related to the user device 30 (step S107).

その後、ステップS101で用いるリストの中に未選択のユーザデバイス30のデバイスIDがなくなるまで(ステップS108No)、ステップS101からステップS107までの処理を繰り返し実行する。そして、ステップS101で用いるリストの中に未選択のユーザデバイス30のデバイスIDがない場合(ステップS108Yes)、推定部15cは、アクセス履歴データ13bに新規エントリが作成されたか否かを判定する(ステップS109)。 After that, the processes from step S101 to step S107 are repeatedly executed until the device ID of the unselected user device 30 does not exist in the list used at step S101 (No at step S108). Then, when the device ID of the unselected user device 30 does not exist in the list used in step S101 (Yes in step S108), the estimation unit 15c determines whether a new entry is created in the access history data 13b (step). S109).

このとき、アクセス履歴データ13bに新規エントリが作成された場合(ステップS109Yes)、推定部15cは、新規エントリが作成された場デバイス50に関するアクセス履歴の各エントリに含まれるアクセス継続期間に所定の統計処理を行うことにより、「アクセス可能時間」を推定する(ステップS110)。なお、アクセス履歴データ13bに新規エントリが作成されていない場合(ステップS109No)、そのまま処理を終了する。 At this time, when a new entry is created in the access history data 13b (Yes in step S109), the estimation unit 15c determines a predetermined statistic during the access duration included in each entry of the access history regarding the device 50 in which the new entry is created. The "accessible time" is estimated by performing the process (step S110). If no new entry is created in the access history data 13b (No in step S109), the process ends as it is.

続いて、選択部15dは、ステップS110で推定されたアクセス可能時間が最短継続時間以上であるか否か、すなわちアクセス可能時間≧最短継続時間であるか否かを判定する(ステップS111)。 Subsequently, the selection unit 15d determines whether or not the accessible time estimated in step S110 is equal to or longer than the shortest duration, that is, the accessible time≧the shortest duration (step S111).

ここで、アクセス可能時間≧最短継続時間である場合(ステップS111Yes)、最短継続時間以上の期間にわたってユーザデバイス30の代わりに当該場デバイス50をセンシングデバイスとして使用できることが期待できる。言い換えれば、センシングデバイスをユーザデバイス30から場デバイス50へ切り替えた後、最短継続時間未満でセンシングデバイスを場デバイス50からユーザデバイス30へ切り替える再切替えを抑制できる可能性が高いと推定できる。この場合、選択部15dは、場デバイス50をセンシングデバイスとして選択し(ステップS112)、処理を終了する。 Here, when accessible time≧shortest duration (Yes in step S111), it can be expected that the local device 50 can be used as a sensing device instead of the user device 30 for a period equal to or longer than the shortest duration. In other words, after switching the sensing device from the user device 30 to the field device 50, it can be estimated that there is a high possibility that re-switching of switching the sensing device from the field device 50 to the user device 30 can be suppressed within the shortest duration. In this case, the selection unit 15d selects the field device 50 as the sensing device (step S112), and ends the process.

一方、アクセス可能時間≧最短継続時間でない場合(ステップS111No)、センシングデバイスをユーザデバイス30から場デバイス50へ切り替えた後、最短継続時間未満でセンシングデバイスを場デバイス50からユーザデバイス30へ切り替える再切替えを抑制できない可能性が高いと推定できる。この場合、選択部15dは、ユーザデバイス30をセンシングデバイスとして選択し(ステップS113)、処理を終了する。 On the other hand, if the accessible time is not the shortest duration (No in step S111), the sensing device is switched from the user device 30 to the field device 50, and then the sensing device is switched from the field device 50 to the user device 30 within the shortest duration again. It can be estimated that there is a high possibility that the In this case, the selection unit 15d selects the user device 30 as the sensing device (step S113), and ends the process.

[効果の一側面]
上述してきたように、本実施例に係るサーバ装置10は、環境に設置された場デバイス50へのアクセスが可能から不可になる期間の履歴から推定したユーザデバイス30のアクセス可能時間に基づいてIoTサービスに用いるメディアデータのセンシングを場デバイス50に切り替えるか否かを制御する。それ故、ユーザの居場所が一定しない可能性が高い場合、場デバイス50への切替えを抑制できる。したがって、本実施例に係るサーバ装置10によれば、IoTサービスに利用されるデバイスの切替え頻度を低減できる。このようにIoTサービスに利用されるデバイスの切替え頻度が低減される結果、IoTサービスの品質が低下するのも抑制できる。さらに、ユーザが一定の場所に留まる可能性が高い場合、場デバイス50へ切り替えることができる。このため、ユーザデバイス30のバッテリ消費も抑えることができる。
[One side of effect]
As described above, the server device 10 according to the present embodiment is based on the accessible time of the user device 30 estimated from the history of the period during which access to the place device 50 installed in the environment becomes unavailable. It controls whether or not the sensing of media data used for the service is switched to the field device 50. Therefore, when there is a high possibility that the user's location is not constant, it is possible to suppress switching to the field device 50. Therefore, according to the server device 10 according to the present embodiment, it is possible to reduce the switching frequency of the device used for the IoT service. As a result of reducing the switching frequency of the devices used for the IoT service in this way, it is possible to suppress deterioration of the quality of the IoT service. Furthermore, when the user is likely to stay in a certain place, it is possible to switch to the field device 50. Therefore, the battery consumption of the user device 30 can be suppressed.

さて、これまで開示の装置に関する実施例について説明したが、本発明は上述した実施例以外にも、種々の異なる形態にて実施されてよいものである。そこで、以下では、本発明に含まれる他の実施例を説明する。 Although the embodiments of the disclosed device have been described so far, the present invention may be implemented in various different forms other than the embodiments described above. Therefore, other embodiments included in the present invention will be described below.

[アクセス可能時間の推定]
上記の実施例1では、新規エントリが作成された場デバイス50に関するアクセス履歴の各エントリに含まれるアクセス継続期間を平均することによりアクセス可能時間を推定する場合を例示したが、アクセス可能時間の推定方法はこれに限定されない。例えば、各エントリに含まれるアクセス継続期間のうち、最悪値、すなわち場デバイス50をこの先使用できる時間の最小値をアクセス可能時間として推定することもできる。これにより、アクセス可能時間の推定に誤りが生じた場合であっても、最短継続時間未満でセンシングデバイスを場デバイス50からユーザデバイス30へ切り替える再切替えを抑制できる。
[Estimation of accessible time]
In the above-described first embodiment, the case where the accessible time is estimated by averaging the access durations included in each entry of the access history regarding the device 50 in which the new entry is created has been exemplified, but the accessible time is estimated. The method is not limited to this. For example, the worst value of the access durations included in each entry, that is, the minimum value of the time when the field device 50 can be used in the future, can be estimated as the accessible time. As a result, even if an error occurs in the estimation of the accessible time, it is possible to suppress the re-switching of switching the sensing device from the field device 50 to the user device 30 within the shortest duration.

例えば、図3に示す場デバイス50Aのアクセス可能時間を推定する場合、デバイスID「user30B」のユーザデバイス30Bのアクセス継続期間として「2分」が読みされる。さらに、デバイスID「user30C」のユーザデバイス30Cのアクセス継続期間として「2分」が読み出される。さらに、デバイスID「user30D」のユーザデバイス30Dのアクセス継続期間として「5分」が読み出される。この場合、2分、2分および5分のうち最小値である2分がアクセス可能時間として推定される。また、図4に示す場デバイス50Bのアクセス可能時間を推定する場合、デバイスID「user30C」のユーザデバイス30Bのアクセス継続期間として「30分」が読みされる。さらに、デバイスID「user30E」のユーザデバイス30Cのアクセス継続期間として「42分(継続)」が読み出される。この場合、30分および42分のうち最小値である30分がアクセス可能時間として推定される。 For example, when estimating the accessible time of the field device 50A shown in FIG. 3, “2 minutes” is read as the access duration of the user device 30B with the device ID “user 30B”. Further, "2 minutes" is read as the access continuation period of the user device 30C having the device ID "user30C". Further, "5 minutes" is read as the access duration of the user device 30D having the device ID "user30D". In this case, the minimum value of 2 minutes, 2 minutes, and 5 minutes, 2 minutes, is estimated as the accessible time. When estimating the accessible time of the field device 50B shown in FIG. 4, “30 minutes” is read as the access duration of the user device 30B with the device ID “user30C”. Further, "42 minutes (continuation)" is read as the access duration of the user device 30C having the device ID "user30E". In this case, the minimum value of 30 minutes and 42 minutes, 30 minutes, is estimated as the accessible time.

[アクセス可能時間の推定2]
この他、推定部15cは、場デバイス50が設置される環境に対するユーザの滞在パターンが複数存在する場合に備えて、複数のアクセス可能時間を算出して場デバイス50への切替えを制御することもできる。例えば、第1のアクセス可能時間とIoTサービスの最短継続時間との比較により場デバイス50への切替えを制御し、場デバイス50への切替えが行われなかった場合、場デバイス50へのアクセス可能な状態が継続する時間が第1のアクセス可能時間を越えると、第2のアクセス可能時間とIoTサービスの最短継続時間との比較により場デバイス50への切替えをさらに制御することもできる。
[Estimation of accessible time 2]
In addition, the estimation unit 15c may calculate a plurality of accessible times and control switching to the field device 50 in case there are a plurality of user stay patterns in the environment in which the field device 50 is installed. it can. For example, the switching to the field device 50 is controlled by comparing the first accessible time with the shortest duration of the IoT service, and when the switching to the field device 50 is not performed, the field device 50 is accessible. When the state continues longer than the first accessible time, it is possible to further control the switching to the field device 50 by comparing the second accessible time with the shortest duration of the IoT service.

図6は、デバイス選択処理の応用例の手順を示すフローチャートである。図6に示すフローチャートには、図5に示すフローチャートからの変更部分が示されている。図5に示すステップS109以降の処理は、図6に示すステップS201〜ステップS211の処理に差し替えることができる。 FIG. 6 is a flowchart showing a procedure of an application example of the device selection processing. The flowchart shown in FIG. 6 shows a changed portion from the flowchart shown in FIG. The processing from step S109 shown in FIG. 5 can be replaced with the processing from step S201 to step S211 shown in FIG.

図6に示すように、アクセス履歴データ13bに新規エントリが作成された場合(ステップS109Yes)、推定部15cは、新規エントリが作成された場デバイス50に関するアクセス履歴の各エントリに含まれるアクセス継続期間にクラスタリングを実行する(ステップS201)。 As shown in FIG. 6, when a new entry is created in the access history data 13b (Yes in step S109), the estimation unit 15c causes the access continuation period included in each entry of the access history regarding the device 50 in which the new entry is created. Clustering is performed (step S201).

そして、推定部15cは、ステップS201のクラスタリングにより得られたクラスタのうちクラスタに含まれる要素の数が上位2つのクラスタを選択する(ステップS202)。その上で、推定部15cは、ステップS202で選択された2つのクラスタごとに、当該クラスタに含まれるアクセス継続期間を平均することにより、2つのアクセス可能時間を推定する(ステップS203)。このように推定された2つのアクセス可能時間のうち短い方が第1のアクセス可能時間と識別される一方で、長い方が第2のアクセス可能時間と識別される。 Then, the estimation unit 15c selects two clusters having the highest number of elements included in the cluster among the clusters obtained by the clustering in step S201 (step S202). Then, the estimation unit 15c estimates, for each of the two clusters selected in step S202, the accessible durations by averaging the access durations included in the clusters (step S203). The shorter one of the two accessible times estimated in this way is identified as the first accessible time, while the longer one is identified as the second accessible time.

続いて、選択部15dは、ステップS203で推定された第1のアクセス可能時間が最短継続時間以上であるか否か、すなわち第1のアクセス可能時間≧最短継続時間であるか否かを判定する(ステップS204)。 Subsequently, the selection unit 15d determines whether or not the first accessible time estimated in step S203 is equal to or longer than the shortest duration, that is, whether the first accessible time≧shortest duration. (Step S204).

このとき、第1のアクセス可能時間≧最短継続時間である場合(ステップS204Yes)、選択部15dは、場デバイス50をセンシングデバイスとして選択し(ステップS205)、処理を終了する。 At this time, if the first accessible time≧shortest duration (Yes in step S204), the selection unit 15d selects the field device 50 as the sensing device (step S205), and ends the process.

一方、第1のアクセス可能時間≧最短継続時間でない場合(ステップS204No)、選択部15dは、ユーザデバイス30をセンシングデバイスとして選択し(ステップS206)、第2のアクセス可能時間を用いる判定を予約するのに用いる再判断フラグを「TRUE」に設定し(ステップS207)、処理を終了する。 On the other hand, if the first accessible time is not the shortest duration (No in step S204), the selection unit 15d selects the user device 30 as the sensing device (step S206), and reserves the determination using the second accessible time. The re-determination flag used for is set to "TRUE" (step S207), and the process ends.

また、アクセス履歴データ13bに新規エントリが作成されていない場合(ステップS109No)、選択部15dは、再判断フラグにTRUEが設定されているか否か、すなわち再判断フラグ=TRUEであるか否かを判定する(ステップS208)。 When no new entry is created in the access history data 13b (No in step S109), the selection unit 15d determines whether TRUE is set in the redetermination flag, that is, whether the redetermination flag=TRUE. The determination is made (step S208).

このとき、再判断フラグ=TRUEである場合(ステップS208Yes)、選択部15dは、再判断フラグがTRUEに設定されたユーザデバイス30が場デバイス50にアクセス可能となってから経過する経過時間が第1のアクセス可能時間以上であるか否か、経過時間≧第1のアクセス可能時間であるか否かを判定する(ステップS209)。 At this time, when the re-determination flag=TRUE (Yes in step S208), the selection unit 15d determines that the elapsed time after the user device 30 having the re-determination flag set to TRUE can access the field device 50. It is determined whether it is equal to or longer than the accessible time of 1, or whether the elapsed time≧the first accessible time (step S209).

そして、経過時間≧第1のアクセス可能時間である場合、選択部15dは、再判断フラグをFALSEに設定した上で、ステップS203で推定された第2のアクセス可能時間が最短継続時間以上であるか否か、すなわち第2のアクセス可能時間≧最短継続時間であるか否かを判定する(ステップS210及び211)。 Then, when the elapsed time≧the first accessible time, the selection unit 15d sets the re-determination flag to FALSE, and then the second accessible time estimated in step S203 is equal to or longer than the shortest duration time. It is determined whether or not, that is, whether or not the second accessible time≧shortest duration (steps S210 and 211).

ここで、第2のアクセス可能時間≧最短継続時間である場合(ステップS211Yes)、選択部15dは、場デバイス50をセンシングデバイスとして選択し(ステップS205)、処理を終了する。なお、第2のアクセス可能時間≧最短継続時間でない場合(ステップS211No)、場デバイス50への切替えは実施せずにそのまま処理を終了する。 Here, when the second accessible time≧shortest duration (step S211 Yes), the selection unit 15d selects the field device 50 as a sensing device (step S205), and ends the process. If the second accessible time≧shortest duration is not satisfied (No in step S211), the process ends without switching to the field device 50.

以上のような処理により、場デバイス50が設置される環境に対するユーザの滞在パターンが複数に分岐する場合でも、分岐先の滞在パターンに合わせて複数のアクセス可能時間を推定して場デバイス50への切替えを制御できる。例えば、図4の例で言えば、デバイス50Bが設置された店舗では、店舗の前を通過するパターンと、店舗に入店して滞在するパターンとに二分される場合がある。この場合、前者のパターンに対応するクラスタから推定される第1のアクセス可能時間と最短継続時間との比較により場デバイス50Bへの切替えが行われずとも、経過時間が第1のアクセス可能時間を経過後に後者のパターンに対応するクラスタから推定される第2のアクセス時間と最短継続時間との比較によりセンシングデバイスを場デバイス50Bへ切り替えることができる。したがって、店舗周辺を通行するユーザが素通りする場合には、センシングデバイスをユーザデバイス30のままに制御し、店舗周辺を通行するユーザが入店して滞在する場合には、センシングデバイスを場デバイス50Bへ切り替えることができる。よって、再切替えの発生頻度をより効果的に低減できる。 By the above-described processing, even when the user's stay pattern for the environment in which the field device 50 is installed is branched into a plurality of, the plurality of accessible times are estimated according to the stay pattern of the branch destination, and the plurality of accessible times to the field device 50 are estimated. The switching can be controlled. For example, in the example of FIG. 4, the store in which the device 50B is installed may be divided into a pattern of passing in front of the store and a pattern of entering and staying in the store. In this case, by comparing the first accessible time estimated from the cluster corresponding to the former pattern with the shortest duration, the elapsed time passes the first accessible time without switching to the field device 50B. The sensing device can be switched to the field device 50B later by comparing the second access time estimated from the cluster corresponding to the latter pattern with the shortest duration. Therefore, when a user passing around the store passes by, the sensing device is controlled as it is as the user device 30, and when a user passing around the store enters and stays in the store, the sensing device is used as the field device 50B. You can switch to. Therefore, the frequency of re-switching can be reduced more effectively.

[アクセス可能時間の推定3]
上記の実施例1では、異なる種類のIoTサービスに関するエントリや異なるユーザデバイス30に関するエントリもアクセス可能時間を推定する場合に用いる例を説明したが、IoTサービスの種類が同一であるエントリだけを抽出してアクセス可能時間を推定することもできるし、同一のユーザデバイス30に関するエントリだけを抽出してアクセス可能時間を推定することもできるし、IoTサービスの種類が同一であり、かつ同一のユーザデバイス30であるエントリを抽出してアクセス可能時間を推定することもできる。
[Estimation of accessible time 3]
In the above-described first embodiment, an example in which entries relating to different types of IoT services and entries relating to different user devices 30 are also used in estimating the accessible time has been described. However, only entries having the same type of IoT service are extracted. It is also possible to estimate the accessible time by estimating the accessible time, extract only the entries related to the same user device 30 to estimate the accessible time, and use the same IoT service type and the same user device 30. It is also possible to estimate the accessible time by extracting the entry that is.

[バッテリ残量]
上記の実施例1では、アクセス可能時間が最短継続時間以上でない場合、ユーザデバイス30をセンシングデバイスとして選択する場合を例示したが、条件付きで場デバイス50をセンシングデバイスとして選択することもできる。例えば、ユーザデバイス30から取得されるバッテリ残量が所定の閾値、例えば20%以下である場合、アクセス可能時間が最短継続時間以上でなくとも、場デバイス50をセンシングデバイスとして選択することもできる。すなわち、図5に示すフローチャートの例で言えば、ステップS109Yesの分岐へ進んだ後、ユーザデバイス30からバッテリ残量を取得する処理と、バッテリ残量が所定の閾値以下であるか否かを判定する処理とを挿入する。そして、バッテリ残量が所定の閾値以下である場合、ステップS113の処理、すなわちユーザデバイス30をセンシングデバイスとして選択する処理へ移行し、バッテリ残量が所定の閾値以下でない場合、ステップS110の処理へ移行することとすればよい。
[Battery level]
In the above-described first embodiment, the case where the user device 30 is selected as the sensing device when the accessible time is not longer than the shortest duration is illustrated, but the field device 50 may be conditionally selected as the sensing device. For example, when the battery remaining amount acquired from the user device 30 is a predetermined threshold value, for example, 20% or less, the field device 50 can be selected as the sensing device even if the accessible time is not longer than the shortest duration. That is, in the example of the flowchart shown in FIG. 5, after the process proceeds to the branch of step S109 Yes, the process of acquiring the remaining battery amount from the user device 30 and the determination whether the remaining battery amount is equal to or less than a predetermined threshold value are determined. Insert the process to do. Then, if the battery remaining amount is less than or equal to the predetermined threshold value, the process proceeds to step S113, that is, the process of selecting the user device 30 as the sensing device. If the battery remaining amount is not less than or equal to the predetermined threshold value, the process proceeds to step S110. It may be decided to move.

[最短継続時間]
上記の実施例1では、IoTシステム1のユーザ、管理者や設計者等の関係者の指示入力により最短継続時間が設定される場合を例示したが、これに限定されず、メディア出力の頻度やタイミングから、IoTサービスの残り継続時間を推定することもできる。すなわち、上記の実施例1では、IoTサービスの一例として、ライフログを例示したが、ユーザデバイス30に保存された音声コンテンツや映像コンテンツなどのコンテンツを外部の再生装置に送信し、外部の再生装置によりコンテンツを再生させることにより、外部の再生装置をジュークボックスのように扱うコンテンツ再生サービス等が利用される場合もある。このような場合、映像コンテンツまたは音声コンテンツの出力がメディアプレイヤ等により開始されてから終了するまでのメディア出力時間をユーザデバイス30に計測させた上でメディア出力履歴データとして保存させる。その上で、一定周期、定期時刻、あるいは新規エントリの作成などのタイミングでメディア出力履歴データをサーバ装置10にアップロードさせる。これにより、サーバ装置10では、ユーザデバイス30のデバイスIDごとにメディア出力履歴データを記憶部13で管理することができる。例えば、IoTサービスとして、上記のコンテンツ再生サービスが実施される場合、当該サービスを利用するユーザデバイス30のデバイスIDに対応するメディア出力履歴データからメディア出力時間を読み出し、メディア出力時間の統計値、例えば平均値を算出することにより、コンテンツ再生サービスの残り継続時間を算出することができる。この残り継続時間と、アクセス可能時間との比較により、場デバイス50への切替え制御を実現できる。
[Minimum duration]
In the above-described first embodiment, the case where the shortest duration is set by the instruction input of the user of the IoT system 1, the administrator, the designer, or the like has been exemplified, but the present invention is not limited to this, and the frequency of media output and It is also possible to estimate the remaining duration of the IoT service from the timing. That is, although the life log is illustrated as an example of the IoT service in the above-described first embodiment, the content such as the audio content and the video content stored in the user device 30 is transmitted to the external reproduction device, and the external reproduction device is transmitted. There is a case where a content reproduction service or the like in which an external reproduction device is treated like a jukebox is used by reproducing the content by. In such a case, the user device 30 is caused to measure the media output time from the start of the output of the video content or the audio content by the media player or the like to the end thereof, and then the media output history data is stored. Then, the media output history data is uploaded to the server device 10 at a fixed cycle, a regular time, or a timing of creating a new entry. Thereby, in the server device 10, the storage unit 13 can manage the media output history data for each device ID of the user device 30. For example, when the above content reproduction service is implemented as the IoT service, the media output time is read from the media output history data corresponding to the device ID of the user device 30 using the service, and the statistical value of the media output time, for example, By calculating the average value, the remaining duration of the content reproduction service can be calculated. By comparing the remaining continuation time with the accessible time, switching control to the field device 50 can be realized.

[デバイス選択の実行主体]
上記の実施例1では、図2に示す制御部15により検出部15a、更新部15b、推定部15c及び選択部15dが実現される場合、すなわちデバイス選択処理の実行主体がサーバ装置10である場合を例示したが、必ずしもサーバ装置10がデバイス選択処理の実行主体でなくともかまわない。すなわち、場デバイス50が有するプロセッサがRAM上にデバイス選択プログラムを展開することにより、検出部15a、更新部15b、推定部15c及び選択部15dを仮想的に実現することとしてもよい。この場合、1つの場デバイス50が代表して他の場デバイス50を含む全ての場デバイス50を選択肢とする切替えを制御する場合、サーバ装置10と同様の処理を実行することとすればよいし、場デバイス50ごとに当該場デバイス50及びユーザデバイス30の中からセンシングデバイスを選択する場合、他の場デバイス50の位置情報は必ずしも有さずともかまず、IoTサービスを実施中であるユーザデバイス30のデバイスIDだけが識別できていればよい。
[Device selection execution subject]
In the above-described first embodiment, when the control unit 15 illustrated in FIG. 2 realizes the detection unit 15a, the update unit 15b, the estimation unit 15c, and the selection unit 15d, that is, when the execution subject of the device selection process is the server device 10. However, the server device 10 does not necessarily have to be the execution subject of the device selection process. That is, the processor included in the field device 50 may virtually realize the detection unit 15a, the update unit 15b, the estimation unit 15c, and the selection unit 15d by expanding the device selection program on the RAM. In this case, when one field device 50 controls the switching of all field devices 50 including other field devices 50 as a representative, the same process as that of the server device 10 may be executed. When selecting a sensing device from the field device 50 and the user device 30 for each field device 50, the location information of the other field device 50 does not necessarily have to be present, and the user device that is performing the IoT service first. Only the device ID of 30 need be identified.

[分散および統合]
また、図示した各装置の各構成要素は、必ずしも物理的に図示の如く構成されておらずともよい。すなわち、各装置の分散・統合の具体的形態は図示のものに限られず、その全部または一部を、各種の負荷や使用状況などに応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。例えば、検出部15a、更新部15b、推定部15cまたは選択部15dをサーバ装置10の外部装置としてネットワーク経由で接続するようにしてもよい。また、検出部15a、更新部15b、推定部15cまたは選択部15dを別の装置がそれぞれ有し、ネットワーク接続されて協働することで、上記のサーバ装置10の機能を実現するようにしてもよい。また、記憶部に記憶される場デバイスデータ13aまたはアクセス履歴データ13bの全部または一部を別の装置がそれぞれ有し、ネットワーク接続されて協働することで、上記のサーバ装置10の機能を実現するようにしてもかまわない。
Distributed and integrated
In addition, each component of each illustrated device may not necessarily be physically configured as illustrated. That is, the specific form of distribution/integration of each device is not limited to that shown in the figure, and all or part of the device may be functionally or physically distributed/arranged in arbitrary units according to various loads and usage conditions. It can be integrated and configured. For example, the detecting unit 15a, the updating unit 15b, the estimating unit 15c, or the selecting unit 15d may be connected as an external device of the server device 10 via a network. Also, even if another device has the detection unit 15a, the update unit 15b, the estimation unit 15c, or the selection unit 15d, respectively, and is connected to a network to cooperate with each other, the functions of the server device 10 described above may be realized. Good. Further, another device has all or part of the field device data 13a or the access history data 13b stored in the storage unit, respectively, and realizes the functions of the server device 10 by being network-connected and cooperating. It doesn't matter if you do.

[通信プログラム]
また、上記の実施例で説明した各種の処理は、予め用意されたプログラムをパーソナルコンピュータやワークステーションなどのコンピュータで実行することによって実現することができる。そこで、以下では、図7を用いて、上記の実施例と同様の機能を有する通信プログラムを実行するコンピュータの一例について説明する。
[Communication program]
The various processes described in the above embodiments can be realized by executing a prepared program on a computer such as a personal computer or a workstation. Therefore, in the following, an example of a computer that executes a communication program having the same functions as those in the above embodiments will be described with reference to FIG. 7.

図7は、実施例1及び実施例2に係る通信プログラムを実行するコンピュータのハードウェア構成例を示す図である。図7に示すように、コンピュータ100は、操作部110aと、スピーカ110bと、カメラ110cと、ディスプレイ120と、通信部130とを有する。さらに、このコンピュータ100は、CPU150と、ROM160と、HDD170と、RAM180とを有する。これら110〜180の各部はバス140を介して接続される。 FIG. 7 is a diagram illustrating a hardware configuration example of a computer that executes the communication program according to the first and second embodiments. As shown in FIG. 7, the computer 100 includes an operation unit 110a, a speaker 110b, a camera 110c, a display 120, and a communication unit 130. Further, the computer 100 has a CPU 150, a ROM 160, an HDD 170, and a RAM 180. Each unit of these 110 to 180 is connected via a bus 140.

HDD170には、図7に示すように、上記の実施例1で示した検出部15a、更新部15b、推定部15c及び選択部15dと同様の機能を発揮する通信プログラム170aが記憶される。この通信プログラム170aは、図2に示した検出部15a、更新部15b、推定部15c及び選択部15dの各構成要素と同様、統合又は分離してもかまわない。すなわち、HDD170には、必ずしも上記の実施例1で示した全てのデータが格納されずともよく、処理に用いるデータがHDD170に格納されればよい。 As shown in FIG. 7, the HDD 170 stores a communication program 170a that exhibits the same functions as the detecting unit 15a, the updating unit 15b, the estimating unit 15c, and the selecting unit 15d described in the first embodiment. This communication program 170a may be integrated or separated similarly to each component of the detecting unit 15a, the updating unit 15b, the estimating unit 15c, and the selecting unit 15d shown in FIG. That is, the HDD 170 does not necessarily need to store all the data described in the first embodiment, and the data used for the processing may be stored in the HDD 170.

このような環境の下、CPU150は、HDD170から通信プログラム170aを読み出した上でRAM180へ展開する。この結果、通信プログラム170aは、図7に示すように、通信プロセス180aとして機能する。この通信プロセス180aは、RAM180が有する記憶領域のうち通信プロセス180aに割り当てられた領域にHDD170から読み出した各種データを展開し、この展開した各種データを用いて各種の処理を実行する。例えば、通信プロセス180aが実行する処理の一例として、図5や図6に示す処理などが含まれる。なお、CPU150では、必ずしも上記の実施例1で示した全ての処理部が動作せずともよく、実行対象とする処理に対応する処理部が仮想的に実現されればよい。 Under such an environment, the CPU 150 reads out the communication program 170a from the HDD 170 and then expands it in the RAM 180. As a result, the communication program 170a functions as the communication process 180a, as shown in FIG. The communication process 180a expands various data read from the HDD 170 in an area allocated to the communication process 180a in the storage area of the RAM 180, and executes various processes using the expanded various data. For example, the processing illustrated in FIGS. 5 and 6 is included as an example of the processing executed by the communication process 180a. Note that in the CPU 150, not all the processing units described in the above-described first embodiment may operate, and the processing unit corresponding to the processing to be executed may be virtually realized.

なお、上記の通信プログラム170aは、必ずしも最初からHDD170やROM160に記憶されておらずともかまわない。例えば、コンピュータ100に挿入されるフレキシブルディスク、いわゆるFD、CD−ROM、DVDディスク、光磁気ディスク、ICカードなどの「可搬用の物理媒体」に通信プログラム170aを記憶させる。そして、コンピュータ100がこれらの可搬用の物理媒体から通信プログラム170aを取得して実行するようにしてもよい。また、公衆回線、インターネット、LAN、WANなどを介してコンピュータ100に接続される他のコンピュータまたはサーバ装置などに通信プログラム170aを記憶させておき、コンピュータ100がこれらから通信プログラム170aを取得して実行するようにしてもよい。 The communication program 170a does not necessarily have to be stored in the HDD 170 or the ROM 160 from the beginning. For example, the communication program 170a is stored in a “portable physical medium” such as a flexible disk inserted into the computer 100, a so-called FD, CD-ROM, DVD disk, magneto-optical disk, IC card, or the like. Then, the computer 100 may acquire and execute the communication program 170a from these portable physical media. Further, the communication program 170a is stored in another computer or a server device connected to the computer 100 via a public line, the Internet, a LAN, a WAN, etc., and the computer 100 acquires and executes the communication program 170a from these. You may do so.

1 IoTシステム
10 サーバ装置
11 通信I/F部
13 記憶部
13a 場デバイスデータ
13b アクセス履歴データ
15 制御部
15a 検出部
15b 更新部
15c 推定部
15d 選択部
30 ユーザデバイス
50A,50B,50C 場デバイス
1 IoT system 10 server device 11 communication I/F unit 13 storage unit 13a field device data 13b access history data 15 control unit 15a detection unit 15b update unit 15c estimation unit 15d selection unit 30 user device 50A, 50B, 50C field device

Claims (5)

第1端末が自装置にアクセス可能なエリアに入ってきた時刻と、アクセス不可になった時刻を検出する検出部と、
検出した各時刻から定まるアクセス可能時間を記憶する記憶部と、
第2端末が自装置にアクセス可能であることを検出すると、前記記憶部に記憶したアクセス可能時間に基づいて、自装置または前記第2端末を選択する選択部と、
を有することを特徴とする通信装置。
A detection unit that detects the time when the first terminal enters the area where the first device can access the device and the time when the first device becomes inaccessible;
A storage unit that stores the accessible time determined from each detected time,
When it is detected that the second terminal can access the own device, a selection unit that selects the own device or the second terminal based on the accessible time stored in the storage unit,
A communication device comprising:
前記記憶部が記憶した複数のアクセス可能時間に所定の統計処理を行うことにより得られた統計値を前記第2端末のアクセス可能時間として推定する推定部をさらに有し、
前記選択部は、前記推定部が推定したアクセス可能時間が所定の閾値以上であるか否かにより、自装置または前記第2端末を選択することを特徴とする請求項1に記載の通信装置。
The storage unit further includes an estimation unit that estimates a statistical value obtained by performing a predetermined statistical process on a plurality of accessible times stored in the storage unit as an accessible time of the second terminal,
The communication device according to claim 1, wherein the selection unit selects the own device or the second terminal depending on whether or not the accessible time estimated by the estimation unit is equal to or more than a predetermined threshold value.
前記推定部は、前記記憶部が記憶した複数のアクセス可能時間の平均値を算出することにより前記第2端末のアクセス可能時間を推定することを特徴とする請求項2に記載の通信装置。 The communication device according to claim 2, wherein the estimation unit estimates the accessible time of the second terminal by calculating an average value of a plurality of accessible times stored in the storage unit. 前記記憶部が記憶した複数のアクセス可能時間がクラスタリングされたクラスタのうち2つのクラスタを選択し、前記2つのクラスタごとに当該クラスタに含まれるアクセス可能時間の統計値を算出することにより第1のアクセス可能時間及び前記第1のアクセス可能時間よりも長い第2のアクセス可能時間を推定する推定部を有し、
前記選択部は、前記第1のアクセス可能時間が所定の閾値以上であるか否かにより自装置または前記第2端末を選択し、前記第2端末を選択した場合、前記第2端末が選択されてから前記第1のアクセス可能時間が経過した後に前記第2のアクセス可能時間が前記閾値以上であるか否かにより自装置または前記第2端末を選択することを特徴とする請求項1に記載の通信装置。
By selecting two clusters from among the clusters in which the plurality of accessible times stored in the storage unit are clustered and calculating the statistical value of the accessible time included in the cluster for each of the two clusters An estimation unit that estimates an accessible time and a second accessible time that is longer than the first accessible time;
The selection unit selects the self-device or the second terminal depending on whether the first accessible time is equal to or more than a predetermined threshold value, and when the second terminal is selected, the second terminal is selected. 2. The self-device or the second terminal is selected according to whether or not the second accessible time is equal to or more than the threshold value after the first accessible time has elapsed since the first time. Communication device.
第1端末が自装置にアクセス可能なエリアに入ってきた時刻と、アクセス不可になった時刻を検出し、
検出した各時刻から定まるアクセス可能時間を所定の記憶部に登録し、
第2端末が自装置にアクセス可能であることを検出すると、前記記憶部に記憶したアクセス可能時間に基づいて、自装置または前記第2端末を選択する、
処理がコンピュータにより実行されることを特徴とする通信方法。
Detecting the time when the first terminal enters the area where it can access its own device and the time when it becomes inaccessible,
Register the accessible time determined from each detected time in a predetermined storage unit,
When it is detected that the second terminal can access the own device, the own device or the second terminal is selected based on the accessible time stored in the storage unit,
A communication method, wherein the processing is executed by a computer.
JP2017022381A 2017-02-09 2017-02-09 Communication device and communication method Active JP6750526B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017022381A JP6750526B2 (en) 2017-02-09 2017-02-09 Communication device and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017022381A JP6750526B2 (en) 2017-02-09 2017-02-09 Communication device and communication method

Publications (2)

Publication Number Publication Date
JP2018129721A JP2018129721A (en) 2018-08-16
JP6750526B2 true JP6750526B2 (en) 2020-09-02

Family

ID=63173369

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017022381A Active JP6750526B2 (en) 2017-02-09 2017-02-09 Communication device and communication method

Country Status (1)

Country Link
JP (1) JP6750526B2 (en)

Also Published As

Publication number Publication date
JP2018129721A (en) 2018-08-16

Similar Documents

Publication Publication Date Title
KR101599178B1 (en) Detecting neighboring access points in a network
US11317238B1 (en) Monitoring outdoor and indoor regions with mobile devices
JP2021524180A (en) Peer-to-peer position update
US9462436B2 (en) Preventing dropped calls through behavior prediction
US20170116651A1 (en) Method and system for location tracking in absence of network connectivity
WO2014130958A1 (en) Identifying computer devices in proximity to a given origin
JP2018523334A (en) Switching between networks based on available network quality
JP6085353B2 (en) Location-based service providing method and system for changing setting of mobile terminal using cell identifier information
US10383082B2 (en) Determining scale for received signal strength indicators and coordinate information
JP2016517518A (en) Access point selection for assistance data generation
KR20130118953A (en) Methods and apparatus for mobile device location determination
KR20170132141A (en) Mobile communication device control technology for low reception area
JP6392802B2 (en) Wireless communication apparatus, position information notification system, position information transmission method, and computer program
EP3089486B1 (en) Terminal position determination
US9641983B2 (en) Location management for access points
US20180195867A1 (en) Systems and methods for indoor and outdoor mobile device navigation
JP2018125572A (en) Position detection system, server device thereof, portable terminal
JP2011192040A (en) Predicted model learning system, event predicting system, method for learning predicted model, and program
JP6750526B2 (en) Communication device and communication method
JP2016514253A (en) Method and apparatus for position change determination of location marker
JPWO2018164086A1 (en) Information processing device, terminal device, information processing method, and program
JP6379305B1 (en) User context detection using mobile devices based on wireless signal characteristics
US20150103738A1 (en) Selecting an access point for determining position of a device based on traffic load information
JP6690215B2 (en) Positioning program, positioning method, and positioning device
JP6646606B2 (en) Synchronization method and mobile communication system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191112

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200708

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20200714

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200727

R150 Certificate of patent or registration of utility model

Ref document number: 6750526

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150