JP2009164952A - Sensor device, management server thereof, and system with them - Google Patents

Sensor device, management server thereof, and system with them Download PDF

Info

Publication number
JP2009164952A
JP2009164952A JP2008001254A JP2008001254A JP2009164952A JP 2009164952 A JP2009164952 A JP 2009164952A JP 2008001254 A JP2008001254 A JP 2008001254A JP 2008001254 A JP2008001254 A JP 2008001254A JP 2009164952 A JP2009164952 A JP 2009164952A
Authority
JP
Japan
Prior art keywords
user
sensor
sensor device
sensor data
management server
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.)
Granted
Application number
JP2008001254A
Other languages
Japanese (ja)
Other versions
JP4987740B2 (en
Inventor
Yoshiki Matsuura
芳樹 松浦
Takamasa Kawaguchi
貴正 川口
Yuichi Igarashi
悠一 五十嵐
Sunao Sawada
素直 澤田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2008001254A priority Critical patent/JP4987740B2/en
Publication of JP2009164952A publication Critical patent/JP2009164952A/en
Application granted granted Critical
Publication of JP4987740B2 publication Critical patent/JP4987740B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To reduce complexity of retrieval of sensor data corresponding to a user ID when a sensor device ID and sensor data are stored being associated with each other in a management server. <P>SOLUTION: A sensor device 100 requests a management server 200 to transmit a sensor user ID by designating a sensor device ID. The management server 200 receives the transmission request for a sensor user ID, then extracts a sensor user ID associated with the sensor device ID from an ID request table 211, and transmits this sensor user ID to the sensor device 100. A sensor device 100 acquires sensor data from a sensor 101, and transmits a device ID and a sensor user ID to the management server 200. The management server 200 receives the sensor data, device ID and sensor user ID, and then stores them in a sensor information table 213 with associating them with each other. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、センサを備え、このセンサからセンサデータを外部へ送信するセンサ機器、このセンサ機器からのセンサデータを受信する管理サーバ、及びこれらを備えているシステムに関する。   The present invention relates to a sensor device that includes a sensor and transmits sensor data to the outside from the sensor, a management server that receives sensor data from the sensor device, and a system including these.

ユビキタス社会の実現に向け、微小なセンサ端末によりネットワークを構築するセンサネットワークの応用検討が進められている。例えば、家庭やオフィスや工場の機器、もしくは環境などの管理および監視するといったシステムへの応用が検討されている。   In order to realize a ubiquitous society, application studies of sensor networks that construct networks with minute sensor terminals are underway. For example, application to a system for managing and monitoring equipment in the home, office, factory, environment, etc. is being studied.

このようなシステムでは、通信機能を備えたセンサ機器から管理サーバがデータを収集し、システム全体を管理および監視する形態が多くとられている。   In such a system, a form in which a management server collects data from a sensor device having a communication function and manages and monitors the entire system is often used.

このようなシステムとしては、例えば、以下の示す特許文献1に開示されているシステムがある。   As such a system, for example, there is a system disclosed in Patent Document 1 shown below.

特許文献1に開示されているシステムでは、ユーザID等が記憶されているカードから、カードリーダ付きの機器がユーザID等を読み込んで、これを管理サーバに送っている。管理サーバは、機器からのユーザID等を機器IDと関連付けてテーブルで管理し、その後、機器から機器IDと共にデータが送られてくると、テーブルを参照して、どのユーザIDのデータであるかを検索している。   In the system disclosed in Patent Document 1, a device with a card reader reads a user ID or the like from a card storing a user ID or the like and sends it to a management server. The management server associates the user ID and the like from the device with the device ID and manages them in a table. After that, when data is sent together with the device ID from the device, which user ID is the data by referring to the table Searching for.

また、特許文献2に開示されているシステムでも、管理サーバが、ユーザIDと機器IDとを関連付けたテーブルを保持し、機器から機器IDと共にデータが送られてくると、テーブルを参照して、どのユーザIDのデータであるかを検索している。   Also in the system disclosed in Patent Document 2, the management server holds a table in which user IDs and device IDs are associated, and when data is sent from the device together with the device ID, the table is referred to, The user ID is searched for data.

特開2005−25337JP2005-25337 特開2006−323635JP 2006-323635 A

しかしながら、いずれの特許文献1,2に開示されている技術も、機器から機器IDと共にデータが送られてくると、テーブルを参照して、どのユーザIDのデータであるかを検索しており、管理サーバが管理する機器数の増大に伴って、検索負荷が増加してしまうとう問題点がある。   However, in any of the techniques disclosed in Patent Documents 1 and 2, when data is sent from the device together with the device ID, the table is referred to search for which user ID is the data, There is a problem that the search load increases as the number of devices managed by the management server increases.

本発明は、このような従来の問題点に着目し、管理サーバの負担を軽減できるようにすることを目的とする。   The present invention aims to reduce the burden on the management server by paying attention to such conventional problems.

前記問題点を解決するため、本発明では、
センサ機器は、センサ機器固有情報記憶領域に予め記憶されているセンサ機器IDを指定して、管理サーバに対して、当該センサ機器を使用するユーザ固有のユーザIDの送信を要求する。
In order to solve the above problems, in the present invention,
The sensor device designates a sensor device ID stored in advance in the sensor device specific information storage area, and requests the management server to transmit a user ID specific to the user who uses the sensor device.

管理サーバは、複数のセンサ機器のうちのいずれか一のセンサ機器から、センサ機器IDが指定されて該センサ機器を使用するユーザのユーザIDの送信要求を受信すると、機器ID−ユーザID記憶手段から、当該センサ機器IDに関連付けられたユーザIDを抽出し、該ユーザIDを該センサ機器へ送信する。   When the management server receives a transmission request for a user ID of a user who uses the sensor device and the sensor device ID is designated from any one of the plurality of sensor devices, the management server stores the device ID-user ID storage unit Then, the user ID associated with the sensor device ID is extracted, and the user ID is transmitted to the sensor device.

センサ機器は、管理サーバから当該センサ機器のユーザIDを受信すると、前記センサ機器固有情報記憶領域に登録する。そして、自身が所有しているセンサからのセンサデータを取得し、センサ機器固有情報記憶領域に記憶されているセンサ機器ID及びユーザIDを、該センサデータと共に、管理サーバへ送信する。   Upon receiving the user ID of the sensor device from the management server, the sensor device registers it in the sensor device specific information storage area. Then, sensor data from the sensor owned by itself is acquired, and the sensor device ID and user ID stored in the sensor device specific information storage area are transmitted to the management server together with the sensor data.

管理サーバは、センサ機器から、センサデータ、センサ機器ID及びユーザIDを受信すると、これらを相互に関連付けてセンサデータ記憶領域に記憶する。   When the management server receives the sensor data, the sensor device ID, and the user ID from the sensor device, the management server associates them with each other and stores them in the sensor data storage area.

本発明によれば、センサ機器は、センサデータと共に、センサ機器ID及びユーザIDを管理サーバに送り、管理サーバは、センサ機器から送られてきたセンサデータ、センサ機器ID、ユーザIDを相互に関連付けて記憶するので、センサデータの利用にあたり、複数のセンサ機器ID毎のセンサデータから、特定のユーザIDのセンサデータを検索する手間を省くことができる。   According to the present invention, the sensor device sends the sensor device ID and the user ID together with the sensor data to the management server, and the management server correlates the sensor data, the sensor device ID, and the user ID sent from the sensor device. Therefore, when using the sensor data, it is possible to save the trouble of searching for the sensor data of a specific user ID from the sensor data for each of the plurality of sensor device IDs.

また、本発明では、センサ機器へのユーザIDの登録にあたり、センサデータを送信する通信手段を利用して、管理サーバからユーザIDを受信し、これを登録しているので、ユーザIDを入力するために、別途、入力手段を設ける必要が無く、センサ機器の小型化を図ることもできる。   Further, in the present invention, when registering the user ID in the sensor device, the user ID is received from the management server using the communication means for transmitting the sensor data, and this is registered, so the user ID is input. Therefore, it is not necessary to provide a separate input means, and the sensor device can be downsized.

以下、本発明に係るセンサデータ管理システムの一実施形態について、図面を用いて説明する。   Hereinafter, an embodiment of a sensor data management system according to the present invention will be described with reference to the drawings.

本実施形態のセンサデータ管理システムは、図1に示すように、センサ101を有し、このセンサ101からのセンサデータを外部へ無線送信する複数のセンサ機器100と、各センサ機器100からのセンサデータを管理する管理サーバ200と、複数のセンサ機器100と管理サーバ200との間の通信を中継する中継装置300と、センサ機器100からのセンサデータに基づいて各種サービスを提供するサービス提供装置400と、を備えている。管理サーバ200とサービス提供装置400と中継装置300とは、ネットワークNを介して、通信可能に接続されている。   As shown in FIG. 1, the sensor data management system according to the present embodiment includes a sensor 101, a plurality of sensor devices 100 that wirelessly transmit sensor data from the sensor 101 to the outside, and sensors from each sensor device 100. Management server 200 that manages data, relay device 300 that relays communication between the plurality of sensor devices 100 and management server 200, and service providing device 400 that provides various services based on sensor data from sensor device 100 And. The management server 200, the service providing apparatus 400, and the relay apparatus 300 are connected via a network N so that they can communicate with each other.

センサ機器100は、前述したセンサ101と、各種演算を実行するCPU102と、CPU102のワークエリアであるRAM103と、無線の搬送波処理を行うRF(Radio Frequency)処理部104と、無線アンテナ105と、表示部106と、スイッチ107a,107bと、センサ機器固有情報テーブル111が設定されているEEPROM110と、各種プログラムが格納されているROM120と、を有している。   The sensor device 100 includes the above-described sensor 101, a CPU 102 that executes various calculations, a RAM 103 that is a work area of the CPU 102, an RF (Radio Frequency) processing unit 104 that performs wireless carrier wave processing, a wireless antenna 105, a display Unit 106, switches 107a and 107b, an EEPROM 110 in which the sensor device specific information table 111 is set, and a ROM 120 in which various programs are stored.

スイッチ107a,107bとしては、電源の入切を行うための電源スイッチ107aと、ユーザIDの要求や消去のトリガーとなるユーザID処理指示スイッチ107bとがある。   As the switches 107a and 107b, there are a power switch 107a for turning on and off the power and a user ID processing instruction switch 107b that triggers a request for user ID and a deletion.

ROM120には、管理サーバ200に対してユーザIDの送信を要求するためのユーザID要求プログラム121と、管理サーバ200に対してユーザIDの消去を要求すると共に、センサ機器100自身が保持しているユーザIDを消去するためのユーザID消去プログラム122と、センサ101からのセンサデータを管理サーバ200へ送るためのセンサデータ送信プログラム123とが、格納されている。さらに、図示されていないが、このROM120には、実際の送信処理や受信処理を行う通信プログラムも格納されている。   The ROM 120 holds a user ID request program 121 for requesting the management server 200 to transmit a user ID, and requests the management server 200 to delete the user ID, and is held by the sensor device 100 itself. A user ID deletion program 122 for deleting a user ID and a sensor data transmission program 123 for transmitting sensor data from the sensor 101 to the management server 200 are stored. Further, although not shown, the ROM 120 also stores a communication program for performing actual transmission processing and reception processing.

EEPROM110は、電気的にデータ消去可能な半導体メモリである。このEEPROM110に設定されているセンサ機器固有情報テーブル111には、図3に示すように、当該センサ機器100の機種を特定する機種ID「0001」が格納されている機種ID欄111aと、当該センサ機器100を一意に識別するためのセンサ機器ID「ABCDEF」が格納されている機器ID欄111bと、当該センサ機器100の無線識別子「00:01:02:03:04:05:06:07」が格納されている無線識別子欄111cと、当該センサ機器100を利用するユーザを一意に識別するユーザID「000000001」が格納されるセンサユーザID111dとが設けられている。これらの欄のうち、機種ID欄111a,機器ID欄111b、無線識別子欄111cのデータは、いずれも、ユーザによる利用開始前、例えば、当該センサ機器100の製造最終段階で格納される。また、センサユーザID欄111dのユーザID「000000001」は、後述するように、ユーザによる利用開始時に格納される。   The EEPROM 110 is an electrically erasable semiconductor memory. In the sensor device unique information table 111 set in the EEPROM 110, as shown in FIG. 3, a model ID column 111a in which a model ID “0001” for specifying the model of the sensor device 100 is stored, and the sensor A device ID column 111b in which a sensor device ID “ABCDEF” for uniquely identifying the device 100 is stored, and a wireless identifier “00: 01: 02: 03: 04: 05: 06: 07” of the sensor device 100 And a sensor user ID 111d in which a user ID “000000001” for uniquely identifying a user who uses the sensor device 100 is stored. Among these fields, the data in the model ID field 111a, the device ID field 111b, and the wireless identifier field 111c are all stored before the start of use by the user, for example, at the final manufacturing stage of the sensor device 100. Further, the user ID “000000001” in the sensor user ID column 111d is stored when the user starts using, as will be described later.

中継装置300は、図2に示すように、ネットワークNとの通信インタフェース301と、各種演算を実行するCPU302と、CPU302のワークエリアであるRAM303と、複数のセンサ機器100との間の無線の搬送波処理を行うRF(Radio Frequency)処理部304と、無線アンテナ305と、表示部306と、中継装置固有情報テーブル311が設定されているEEPROM310と、パケット転送プログラム321が格納されているROM320と、を有している。   As shown in FIG. 2, the relay device 300 includes a communication interface 301 with the network N, a CPU 302 that executes various operations, a RAM 303 that is a work area of the CPU 302, and a wireless carrier wave between the plurality of sensor devices 100. An RF (Radio Frequency) processing unit 304 that performs processing, a wireless antenna 305, a display unit 306, an EEPROM 310 in which the relay device specific information table 311 is set, and a ROM 320 in which the packet transfer program 321 is stored Have.

中継装置固有情報テーブル311には、図4に示すように、当該中継装置300を一意に識別するための機器ID「ZZZZZZ」が格納されている機器ID欄311aと、当該中継装置300の無線識別子「08:09:0A:0B:0C:0D:0E:0F」が格納されている無線識別子欄311bと、当該中継装置300のネットワーク識別子「08:09:0A:0D:0E:0F」が格納されている無線識別子欄311cと、当該中継装置300のIPアドレス「192.168.0.11」が格納されるIPアドレス欄311dと、サブネットマスク「255.255.255.0」が格納されているサブネットマスク欄311eと、デフォルゲートウェイ「192.168.0.254」が格納されているデフォルトゲートウェイ欄311fと、管理サーバ200のIPアドレス「153.234.12.167」が格納されている管理サーバIPアドレス欄311gとが設けられている。これらの欄のデータは、いずれも、中継装置300の設置時等に格納される。   As shown in FIG. 4, the relay device unique information table 311 includes a device ID column 311 a in which a device ID “ZZZZZZ” for uniquely identifying the relay device 300 is stored, and a wireless identifier of the relay device 300. The wireless identifier field 311b storing “08: 09: 0A: 0B: 0C: 0D: 0E: 0F” and the network identifier “08: 009: 0A: 0D: 0E: 0F” of the relay device 300 are stored. A wireless identifier field 311c, an IP address field 311d in which the IP address “192.168.0.11” of the relay device 300 is stored, a subnet mask field 311e in which a subnet mask “255.255.255.0” is stored, A default gateway column 311f in which the gateway “192.168.0.254” is stored, and a management server IP address column 311 in which the IP address “153.234.12.167” of the management server 200 is stored. g. All of the data in these fields is stored when the relay device 300 is installed.

管理サーバ200は、図1に示すように、各種演算を実行するCPU202と、CPU202のワークエリアであるRAM203と、ネットワークNとの通信インタフェース304と、ハードディスクドライブ装置等の記憶装置220と、を有している。   As shown in FIG. 1, the management server 200 includes a CPU 202 that executes various operations, a RAM 203 that is a work area of the CPU 202, a communication interface 304 with the network N, and a storage device 220 such as a hard disk drive device. is doing.

記憶装置220には、ユーザIDの登録処理を行うためのユーザID登録プログラム221と、センサ機器100からのユーザID要求に応答するためのユーザID要求応答プログラム222と、センサ機器100からのセンサデータ等のセンサ情報を管理するためのセンサ情報管理プログラム223と、実際の送信処理や受信処理を行う通信プログラム(図示されていない)とが、格納されている。なお、以上のプログラムをまとめると、センサデータ管理プログラムとなる。この記憶装置220には、さらに、センサ機器IDと関連付けてユーザIDが登録されるID要求テーブル211と、サービス提供装置400からのSOユーザIDと管理サーバ200自身が設定したセンサユーザIDとが関連付けて記憶されるID変換テーブル212と、センサ機器100からのセンサデータ等のセンサ情報が記憶されるセンサ情報テーブル213とが、設定されている。   The storage device 220 includes a user ID registration program 221 for performing a user ID registration process, a user ID request response program 222 for responding to a user ID request from the sensor device 100, and sensor data from the sensor device 100. A sensor information management program 223 for managing sensor information such as the above, and a communication program (not shown) for performing actual transmission processing and reception processing are stored. It should be noted that the above program can be summarized as a sensor data management program. The storage device 220 further associates an ID request table 211 in which a user ID is registered in association with a sensor device ID, an SO user ID from the service providing device 400, and a sensor user ID set by the management server 200 itself. An ID conversion table 212 that is stored in memory and a sensor information table 213 that stores sensor information such as sensor data from the sensor device 100 are set.

ID要求テーブル211は、図5に示すように、センサ機器ID「ABCDEF」が格納される機器ID欄211aと、センサユーザID「000000001」が格納されるセンサユーザID欄211bと、センサ機器100からのユーザIDの登録及び消去に関する要求のコード「1」or「0」が格納される要求コード欄211cが設けられている。機器ID欄211aのセンサ機器ID「ABCDEF」は、該当センサ機器100の出荷時点等、該当センサ機器100がユーザに渡る前に格納される。センサユーザID欄211bのセンサユーザID「000000001」は、後述するように、サービス提供装置400からID登録要求があった時点で格納される。要求コード欄211cの要求コードは、後述するように、登録を意味する「1」か、消去を意味する「0」が格納される。   As shown in FIG. 5, the ID request table 211 includes a device ID column 211 a in which the sensor device ID “ABCDEF” is stored, a sensor user ID column 211 b in which the sensor user ID “000000001” is stored, and the sensor device 100. A request code column 211c is provided in which codes “1” or “0” of requests relating to registration and deletion of user IDs are stored. The sensor device ID “ABCDEF” in the device ID column 211a is stored before the sensor device 100 is delivered to the user, such as when the sensor device 100 is shipped. The sensor user ID “000000001” in the sensor user ID column 211b is stored when an ID registration request is received from the service providing apparatus 400, as will be described later. The request code in the request code field 211c stores “1” meaning registration or “0” meaning erasure, as will be described later.

ID変換テーブル212には、図6に示すように、管理サーバ200自身が設定したセンサユーザID「00000001」が格納されるセンサユーザID欄212aと、サービス提供装置400からの送られてきたSOユーザIDが格納されるSOユーザID欄212bとが設けられている。これらの欄のデータは、いずれも、後述するように、サービス提供装置400からユーザID登録要求があった時点で格納される。なお、ユーザIDとして、SOユーザIDとセンサユーザIDを用いているのは、ユーザ自身の好みに応じてユーザIDを定めてもらうために、SOユーザIDを用いている意義がある一方で、このSOユーザIDはデータ長が一定でないこと、さらに、このSOユーザIDが系統立てたものでなく管理が面倒であること等の理由により、これを補うために、データ長が一定で系統立てたものであるセンサユーザIDを用いる意義もあるからである。   In the ID conversion table 212, as shown in FIG. 6, the sensor user ID column 212a in which the sensor user ID “00000001” set by the management server 200 itself is stored, and the SO user sent from the service providing apparatus 400 are stored. An SO user ID column 212b in which an ID is stored is provided. The data in these fields are stored when a user ID registration request is made from the service providing apparatus 400, as will be described later. Note that the use of the SO user ID and the sensor user ID as the user ID has the significance of using the SO user ID in order to have the user ID determined according to the user's own preferences. The SO user ID has a constant data length to compensate for the fact that the data length of the SO user ID is not constant, and that the SO user ID is not systematic and is troublesome to manage. This is because there is a significance of using the sensor user ID.

センサ情報テーブル213には、図7に示すように、センサユーザID「00000001」が格納されるセンサユーザID欄213aと、センサ機器100のセンサ101によるセンシング時刻が格納されるセンシング時刻欄213bと、センサ機器100の機種ID「0001」が格納される機種ID欄213cと、センサ機器100のセンサ101によるセンサデータ「48.1」が格納されるセンサデータ欄213dとが設けられている。これらの欄のデータは、後述するように、センサ機器100からセンサ情報が送られてきた時点で格納される。   As shown in FIG. 7, the sensor information table 213 includes a sensor user ID column 213a in which the sensor user ID “00000001” is stored, a sensing time column 213b in which the sensing time by the sensor 101 of the sensor device 100 is stored, A model ID column 213c for storing the model ID “0001” of the sensor device 100 and a sensor data column 213d for storing sensor data “48.1” by the sensor 101 of the sensor device 100 are provided. The data in these fields are stored when sensor information is sent from the sensor device 100, as will be described later.

サービス提供装置400は、図1に示すように、各種演算を実行するCPU402と、CPU402のワークエリアであるRAM403と、ネットワークNとの通信インタフェース404と、ハードディスクドライブ装置等の記憶装置420と、を有している。   As shown in FIG. 1, the service providing apparatus 400 includes a CPU 402 that executes various operations, a RAM 403 that is a work area of the CPU 402, a communication interface 404 with a network N, and a storage device 420 such as a hard disk drive device. Have.

記憶装置420には、このサービス提供装置400からのサービス提供を受けるユーザに関する情報を登録するためのユーザ登録プログラム421と、ユーザに所定のサービスを提供するためのサービス提供プログラム422と、格納されている。さらに、この記憶装置420には、ユーザに関する情報が登録されるユーザ登録テーブル411が、設定されている。   The storage device 420 stores a user registration program 421 for registering information related to a user who receives a service provided from the service providing device 400, and a service providing program 422 for providing a predetermined service to the user. Yes. Furthermore, a user registration table 411 in which information related to users is registered is set in the storage device 420.

ユーザ登録テーブル411は、図8に示すように、ユーザ名「トウキョウ タロウ」が格納されるユーザ名欄411aと、ユーザ自身が定めたSOユーザID「testuser 1」が格納されるSOユーザID欄411bと、ユーザのメールアドレス「t-tokyo@abc」が格納されるメールアドレス欄411cと、ユーザに与えられたセンサ機器100の機種ID「0001」が格納される機種ID欄411dと、このセンサ機器100の機器ID「ABCDEF」が格納される機器ID欄411eとが、設けられている。この他、ユーザ登録テーブル411には、図示されていないが、ユーザの住所が格納されるユーザ住所欄、ユーザの電話番号が格納されるユーザ電話番号欄、提供サービスの種別が格納される提供サービス種欄等も設けられている。これらの欄のデータは、いずれも、ユーザが登録処理を行った時点で格納される。   As shown in FIG. 8, the user registration table 411 includes a user name column 411a in which the user name “Tokyo Tokyo” is stored, and an SO user ID column 411b in which the SO user ID “testuser 1” defined by the user is stored. A mail address column 411c storing the user's mail address “t-tokyo @ abc”, a model ID column 411d storing the model ID “0001” of the sensor device 100 given to the user, and the sensor device A device ID column 411e in which 100 device IDs “ABCDEF” are stored is provided. In addition, although not shown in the user registration table 411, a user address field in which the user's address is stored, a user telephone number field in which the user's telephone number is stored, and a provided service in which the type of provided service is stored A seed column is also provided. All the data in these fields are stored when the user performs the registration process.

次に、センサデータ管理システムの動作について説明する。なお、以下では、便宜上、プログラムを動作主体として説明するが、実際には、プログラムを実行するCPUが動作主体である。   Next, the operation of the sensor data management system will be described. In the following description, for convenience, the program will be described as an operation subject, but in reality, the CPU that executes the program is the operation subject.

まず、図9に示すシーケンス図に従って、サービス提供装置400及び管理サーバ200でのユーザの情報登録処理について説明する。   First, user information registration processing in the service providing apparatus 400 and the management server 200 will be described with reference to the sequence diagram shown in FIG.

あるユーザが、サービス提供装置400から所定のサービスの提供を希望する場合、このサービス提供装置400にユーザ自身の情報を登録する。この登録にあたり、サービス提供装置400のユーザ登録プログラム421が起動し、ユーザ登録処理(T401)を実行する。このユーザ登録処理(T401)では、ユーザ登録プログラム421が、ユーザから、ユーザ名、ユーザ自身が定めたSOユーザID、ユーザのメールアドレス、ユーザの住所、提供サービスの種別等の入力を受け付け、これらをユーザ登録テーブル411(図8)に格納する。ユーザ登録プログラム421は、複数種のセンサ機器のうちから、ユーザが指定した提供サービス種別に応じたセンサ機器の機種IDを特定すると共に、その機器IDを特定して、機種ID及び機器IDをユーザ情報テーブル411(図8)に格納する。なお、ここでは、ユーザが、提供サービス種別として「ゆっくり減量」を指定し、これに対して、ユーザ登録プログラム421が、センサ機器の機種IDとして、体重計のIDを特定したとする。すなわち、センサ100として体重計を備えたセンサ機器100を特定したとする。   When a user desires to provide a predetermined service from the service providing apparatus 400, the user's own information is registered in the service providing apparatus 400. For this registration, the user registration program 421 of the service providing apparatus 400 is activated to execute user registration processing (T401). In this user registration process (T401), the user registration program 421 accepts input from the user such as the user name, the SO user ID determined by the user, the user's e-mail address, the user's address, the type of service provided, etc. Is stored in the user registration table 411 (FIG. 8). The user registration program 421 specifies the model ID of the sensor device corresponding to the provided service type specified by the user from among a plurality of types of sensor devices, specifies the device ID, and sets the model ID and device ID to the user. The information is stored in the information table 411 (FIG. 8). Here, it is assumed that the user designates “slow weight loss” as the provided service type, and the user registration program 421 specifies the ID of the scale as the model ID of the sensor device. That is, it is assumed that the sensor device 100 including the weight scale is specified as the sensor 100.

ユーザ登録プログラム421は、続いて、このユーザのSOユーザID及び機器IDのID登録パケットを生成して、これを管理サーバ200へ送信する(T402)。このID登録パケットは、図18に示すように、パケット名1801、機器ID1802、SOユーザID1803、要求コード1804を含んでいる。ここでのパケット名1801は、ユーザID登録を意味する例えば「0x01」であり、要求コード1804は「登録」を意味する「1」である。なお、このパケット名は、送信先のアドレス等と共に、このパケットのヘッダに挿入され、機器ID、SOユーザID、要求コードは、このパケットのペイロードに挿入される。   Subsequently, the user registration program 421 generates an ID registration packet of the user's SO user ID and device ID, and transmits it to the management server 200 (T402). As shown in FIG. 18, this ID registration packet includes a packet name 1801, a device ID 1802, an SO user ID 1803, and a request code 1804. The packet name 1801 here is, for example, “0x01” meaning user ID registration, and the request code 1804 is “1” meaning “registration”. This packet name is inserted in the header of this packet together with the address of the transmission destination, etc., and the device ID, SO user ID, and request code are inserted in the payload of this packet.

管理サーバ200の通信プログラムが、サービス提供装置400からのID登録パケットを受信すると、すなわち、サービス提供装置400からのID登録要求を受け付けると、サービス提供装置400へACKを返す(T201)と共に、管理サーバ200のユーザID登録プログラム221が起動させる。このユーザID登録プログラム221は、ID登録パケットのペイロードに挿入されている機器ID、SOユーザID、要求コードを取得し、SOユーザID「testuser1」に対応するセンサユーザID「000000001」を生成して、SOユーザID「testuser1」とこのセンサユーザID「000000001」とを関連付けて、ID変換テーブル212(図6)に格納すると共に、機器ID「ABCDEF」、センサユーザID「000000001」、要求コード「1」をユーザ登録テーブル211(図5)に格納する(T202)。   When the communication program of the management server 200 receives an ID registration packet from the service providing apparatus 400, that is, when an ID registration request from the service providing apparatus 400 is received, an ACK is returned to the service providing apparatus 400 (T201) and the management is performed. The user ID registration program 221 of the server 200 is activated. This user ID registration program 221 acquires the device ID, SO user ID, and request code inserted in the payload of the ID registration packet, and generates a sensor user ID “000000001” corresponding to the SO user ID “testuser1”. , The SO user ID “testuser1” and the sensor user ID “000000001” are associated with each other and stored in the ID conversion table 212 (FIG. 6), the device ID “ABCDEF”, the sensor user ID “000000001”, and the request code “1”. Is stored in the user registration table 211 (FIG. 5) (T202).

以上で、サービス提供装置400及び管理サーバ200におけるユーザの情報登録処理が終了する。   This completes the user information registration process in the service providing apparatus 400 and the management server 200.

次に、図10に示すシーケンス図に従って、センサ機器100におけるユーザIDの登録処理について説明する。なお、センサ機器100におけるユーザIDの登録処理の前提として、既に、このセンサ機器100を利用するユーザの情報登録処理が終わっており、センサ機器100のセンサ機器固有情報テーブル111(図3)には、センサユーザIDを除く全てのデータが格納されているものとする。   Next, user ID registration processing in the sensor device 100 will be described with reference to the sequence diagram shown in FIG. As a premise of the registration process of the user ID in the sensor device 100, the information registration processing of the user who uses the sensor device 100 has already been completed, and the sensor device unique information table 111 (FIG. 3) of the sensor device 100 includes Assume that all data except the sensor user ID is stored.

センサ機器100のユーザID処理指示スイッチ107bが「登録」になると、センサ機器100のユーザID要求プログラム121が起動し、中継装置300へユーザID要求パケットを無線送信する(T111)。このユーザID要求パケットは、図19(a)に示すように、パケット名と機器IDのデータを含むパケットである。このパケットのパケット名は、「ユーザID要求」であり、機器IDは、センサ機器固有情報テーブル111(図3)の機器ID欄111bに格納されているセンサ機器ID「ABCDEF」である。   When the user ID processing instruction switch 107b of the sensor device 100 is “registered”, the user ID request program 121 of the sensor device 100 is activated and wirelessly transmits a user ID request packet to the relay device 300 (T111). As shown in FIG. 19A, the user ID request packet is a packet including packet name and device ID data. The packet name of this packet is “user ID request”, and the device ID is the sensor device ID “ABCDEF” stored in the device ID column 111b of the sensor device specific information table 111 (FIG. 3).

中継装置300のパケット転送プログラム321が、センサ機器100からユーザID要求パケットを受信すると、このセンサ機器100に対してACKを返すと共に、ユーザID要求パケットを管理サーバ200へ送信する(T312)。このユーザID要求パケットは、図20(a)に示すように、センサ機器100から送られてきたユーザID要求パケットに含まれるパケット名1901及び機器ID1902の他に、このユーザID要求パケットの送信元であるセンサ機器100の無線識別子2001を含んでいる。   When the packet transfer program 321 of the relay device 300 receives the user ID request packet from the sensor device 100, the packet transfer program 321 returns an ACK to the sensor device 100 and transmits the user ID request packet to the management server 200 (T312). As shown in FIG. 20A, the user ID request packet includes the packet name 1901 and the device ID 1902 included in the user ID request packet sent from the sensor device 100, and the transmission source of the user ID request packet. The wireless identifier 2001 of the sensor device 100 is included.

管理サーバ200の通信プログラムがこのユーザID要求パケットを受信すると、このパケットに含まれているパケット名「ユーザID要求」により、管理サーバ200のユーザID要求応答プログラム222を起動させる。このユーザID要求応答プログラム222は、ユーザID要求パケットに含まれている機器ID「ABCDEF」をキーとして、ID要求テーブル211(図5)を検索して、機器ID「ABCDEF」に対応するセンサユーザID「000000001」を抽出する(T221)。次に、ユーザID要求応答プログラム222は、このセンサユーザID「000000001」を含むユーザID要求応答パケットを中継装置300へ返す(T212)。このユーザID要求応答パケットは、図20(b)に示すように、パケット名1903と、センサユーザID1904と、送信先無線識別子2002とを含んでいる。この応答パケットの送信先無線識別子2002は、図20(a)で説明したユーザ要求パケットの送信元識別子2001と同じデータ、つまり、センサ機器の無線識別である。   When the communication program of the management server 200 receives this user ID request packet, the user ID request response program 222 of the management server 200 is activated by the packet name “user ID request” included in this packet. The user ID request response program 222 searches the ID request table 211 (FIG. 5) using the device ID “ABCDEF” included in the user ID request packet as a key, and the sensor user corresponding to the device ID “ABCDEF”. ID “000000001” is extracted (T221). Next, the user ID request response program 222 returns a user ID request response packet including the sensor user ID “000000001” to the relay device 300 (T212). As shown in FIG. 20B, the user ID request response packet includes a packet name 1903, a sensor user ID 1904, and a transmission destination wireless identifier 2002. The transmission destination wireless identifier 2002 of the response packet is the same data as the transmission source identifier 2001 of the user request packet described with reference to FIG. 20A, that is, the wireless identification of the sensor device.

中継装置300のパケット転送プログラム311が、管理サーバ200からユーザID要求応答パケットを受信すると、管理サーバ200へACKを返すと共に(T313)、このユーザID要求応答パケットに含まれている送信先無線識別子2002により特定される送信先へ、つまりユーザID要求パケットの送信元であるセンサ機器100へ、ユーザID要求応答パケットを転送する(T314)。このユーザID要求応答パケットには、図19(b)に示すように、パケット名1903とセンサユーザID1904とを含んでいる。   When the packet transfer program 311 of the relay device 300 receives the user ID request response packet from the management server 200, the packet transfer program 311 returns an ACK to the management server 200 (T313), and the destination wireless identifier included in the user ID request response packet The user ID request response packet is transferred to the transmission destination specified by 2002, that is, to the sensor device 100 that is the transmission source of the user ID request packet (T314). This user ID request response packet includes a packet name 1903 and a sensor user ID 1904 as shown in FIG.

センサ機器100のユーザID要求プログラム121が、中継装置300からユーザID要求応答パケットを受信すると、この応答パケットに含まれているセンサユーザIDを、センサ機器固有情報テーブル111(図3)のセンサユーザID欄111dに格納する(T113)。   When the user ID request program 121 of the sensor device 100 receives the user ID request response packet from the relay device 300, the sensor user ID included in the response packet is used as the sensor user in the sensor device specific information table 111 (FIG. 3). Stored in the ID column 111d (T113).

一方、管理サーバ200のユーザID要求応答プログラム222は、ユーザID応答パケットを送出すると(T212)、ID要求テーブル211(図5)から、センサユーザID「000000001」で機器ID「ABCDEF」のレコードを削除する(T213)。   On the other hand, when the user ID request response program 222 of the management server 200 sends a user ID response packet (T212), a record of the device ID “ABCDEF” with the sensor user ID “000000001” is obtained from the ID request table 211 (FIG. 5). Delete (T213).

以上で、センサ機器100におけるユーザIDの登録処理が終了する。   Thus, the registration process of the user ID in the sensor device 100 is completed.

次に、図11に示すシーケンス図に従って、センサ機器100によるセンサデータの送出から、このセンサデータに基づくサービス提供装置400によるサービス提供までの処理について説明する。   Next, processing from sending sensor data by the sensor device 100 to providing a service by the service providing apparatus 400 based on the sensor data will be described according to the sequence diagram shown in FIG.

センサ機器100のセンサデータ送信プログラム123は、センサ101からセンサデータを受け付けると、このデータ受付時刻をセンサ101によるセンシング時刻とし、センサデータ及びセンシング時刻を含むセンサ情報パケットを生成し(T121)、これを中継装置300へ無線送信する(T122)。なお、このセンサデータ送信プログラム123は、先に説明したユーザIDの登録処理が終了し、且つセンサ機器100の電源が入っている状態であれば常時起動している。   When receiving the sensor data from the sensor 101, the sensor data transmission program 123 of the sensor device 100 sets the data reception time as a sensing time by the sensor 101, and generates a sensor information packet including the sensor data and the sensing time (T121). Is wirelessly transmitted to the relay apparatus 300 (T122). The sensor data transmission program 123 is always activated when the above-described user ID registration process is completed and the sensor device 100 is turned on.

センサ機器100から中継装置300へ無線送信されるセンサ情報パケットは、図19(c)に示すように、パケット名「センサ情報」1905と、機種ID「ABCDEF」1902と、センサユーザID「000000001」1904と、センサデータ1906と、センシング時刻1907とを含んでいる。   As shown in FIG. 19C, a sensor information packet wirelessly transmitted from the sensor device 100 to the relay apparatus 300 includes a packet name “sensor information” 1905, a model ID “ABCDEF” 1902, and a sensor user ID “000000001”. 1904, sensor data 1906, and sensing time 1907 are included.

中継装置300のパケット転送プログラム321は、センサ機器100からセンサ情報パケットを受信すると、センサ機器100へACKを返すと共に(T321)、センサ情報パケットを管理サーバ200へ転送する(T322)。このセンサ情報パケットには、図20(c)に示すように、センサ機器100からセンサ情報パケットに含まれているパケット名「センサ情報」1905と、機種ID「ABCDEF」1902と、センサユーザID「000000001」1904と、センサデータ1906と、センシング時刻1907の他に、送信元無線識別子2001が含まれている。   When receiving the sensor information packet from the sensor device 100, the packet transfer program 321 of the relay device 300 returns an ACK to the sensor device 100 (T321) and transfers the sensor information packet to the management server 200 (T322). In this sensor information packet, as shown in FIG. 20C, the packet name “sensor information” 1905, the model ID “ABCDEF” 1902, and the sensor user ID “1” included in the sensor information packet from the sensor device 100 are included. In addition to “000000001” 1904, sensor data 1906, and sensing time 1907, a source wireless identifier 2001 is included.

管理サーバ200の通信プログラムが中継装置300からセンサ情報パケットを受信すると、中継装置300へACKを返すと共に(T221)、このパケットに含まれているパケット名「センサ情報」により、管理サーバ200のセンサ情報管理プログラム223を起動させる。そして、このセンサ情報管理プログラム223は、センサ情報パケットに含まれているユーザID要求パケットに含まれている機種ID「ABCDEF」とセンサユーザID「000000001」とセンサデータとセンシング時刻とを、センサ情報テーブル213(図7)に登録する。   When the communication program of the management server 200 receives the sensor information packet from the relay device 300, it returns an ACK to the relay device 300 (T221), and uses the packet name “sensor information” included in this packet to detect the sensor of the management server 200. The information management program 223 is activated. Then, the sensor information management program 223 displays the model ID “ABCDEF”, sensor user ID “000000001”, sensor data, and sensing time included in the user ID request packet included in the sensor information packet, as sensor information. Register in the table 213 (FIG. 7).

以下、管理サーバ200は、センサ機器100から中継装置300を介してセンサ情報パケットを受信する毎に、センサデータ等をセンサ情報テーブル213に登録する。   The management server 200 registers sensor data and the like in the sensor information table 213 every time a sensor information packet is received from the sensor device 100 via the relay device 300.

一方、サービス提要装置400のサービス提供プログラム422は、ユーザにサービスを提供する時刻になると(T421)、このユーザに関するセンサ情報を要求するセンサ情報要求パケットを管理サーバ200へ送信する(T422)。なお、ここでは、センサ情報要求パケットの送信トリガーをサービス提供時刻としているが、本発明はこれに限定されるものでなく、例えば、サービス提供装置400がユーザからサービス提供の依頼を受けた時点で、センサ情報要求パケットを送信するようにしてもよい。   On the other hand, the service providing program 422 of the service providing device 400 transmits a sensor information request packet for requesting sensor information related to the user to the management server 200 when the time for providing the service to the user is reached (T421) (T422). Here, the transmission trigger of the sensor information request packet is the service provision time. However, the present invention is not limited to this, and for example, when the service provision apparatus 400 receives a service provision request from the user. The sensor information request packet may be transmitted.

サービス提供装置400から送信されるセンサ情報要求パケットは、図18(b)に示すように、パケット名「センサ情報要求」1805と、SOユーザID「testuser 1」1803とを含む。   The sensor information request packet transmitted from the service providing apparatus 400 includes a packet name “sensor information request” 1805 and an SO user ID “testuser 1” 1803 as shown in FIG.

管理サーバ200の通信プログラムがこのセンサ情報要求パケットを受信すると、このパケットに含まれているパケット名「センサ情報要求」により、管理サーバ200のセンサ情報管理プログラム223を起動させる。そして、このセンサ情報管理プログラム223は、センサ情報要求パケットに含まれているSOユーザID「testuser 1」に対応するセンサ情報を抽出する(T223)。この際、センサ情報管理プログラム223は、まず、ID変換テーブル212(図6)を参照して、SOユーザID「testuser 1」に対応するセンサユーザID「000000001」を取得し、このセンサユーザID「000000001」に関するセンサデータ及びセンシング時刻の全てをセンサ情報テーブル213(図7)から抽出する。そして、このセンサ情報管理プログラム223は、センサユーザID「000000001」に関するセンサデータ及びセンシング時刻の全て又は予め定められた数のデータを含むセンサ情報パケットをサービス提供装置400へ送信する(T224)。   When the communication program of the management server 200 receives this sensor information request packet, the sensor information management program 223 of the management server 200 is activated by the packet name “sensor information request” included in this packet. Then, the sensor information management program 223 extracts sensor information corresponding to the SO user ID “testuser 1” included in the sensor information request packet (T223). At this time, the sensor information management program 223 first acquires the sensor user ID “000000001” corresponding to the SO user ID “testuser 1” with reference to the ID conversion table 212 (FIG. 6). All of the sensor data and sensing time regarding “000000001” are extracted from the sensor information table 213 (FIG. 7). Then, the sensor information management program 223 transmits to the service providing apparatus 400 a sensor information packet including all of the sensor data related to the sensor user ID “000000001” and the sensing time or a predetermined number of data (T224).

ここで重要な点は、センサ機器100からは、センサデータと機器IDのみならず、センサユーザIDも併せて送られてきて、これらをまとめて、管理サーバー200のセンサ情報テーブル213(図7)に格納しているため、センサユーザIDと機器IDとの対応関係を取るためのテーブルが不要になるばかりか、センサユーザIDに対応する機器IDのセンサデータをセンサ情報テーブル(このテーブルは、機器IDとセンサデータとが対応付けられて格納されている)から検索する必要もなくなる。   The important point here is that not only the sensor data and the device ID but also the sensor user ID is sent from the sensor device 100, and these are collected together, and the sensor information table 213 of the management server 200 (FIG. 7). Stored in the sensor information table, the sensor data of the device ID corresponding to the sensor user ID is stored in the sensor information table (device table). There is no need to search from ID and sensor data stored in association with each other.

管理サーバ200からのセンサ情報パケットは、図18(c)に示すように、パケット名「センサ情報」1806と、SOユーザID「testuser 1」1803、センサ情報1807とを含んでいる。このパケットのセンサ情報1807には、前述したように、センサユーザID「000000001」に関するセンサデータ及びセンシング時刻の全て又は予め定められた数のデータを含んでいる。   The sensor information packet from the management server 200 includes a packet name “sensor information” 1806, an SO user ID “testuser 1” 1803, and sensor information 1807, as shown in FIG. As described above, the sensor information 1807 of this packet includes all or a predetermined number of sensor data related to the sensor user ID “000000001” and the sensing time.

サービス提供装置400のサービス提供プログラム422が、このセンサ情報パケットを受信すると、このセンサ情報パケットに含まれているセンサ情報を解析して(T423)、この解析結果を当該ユーザのメールアドレス先へ送信する(T424)。センサ情報の解析方法としては、センサ情報に含まれているセンサデータの時系列的な変化が予め定められている複数のパターンのうち、いずれのパターンに該当するかを調べ、あるパターンに該当する場合には、このパターンに対して予め定められたコメントを解析結果とする。ここでのコメントとしては、例えば、「あなたは、急激な減量により健康を損なうおそれがあります。過度の減食は止めましょう。」等がある。   When the service providing program 422 of the service providing apparatus 400 receives the sensor information packet, it analyzes the sensor information included in the sensor information packet (T423) and transmits the analysis result to the mail address of the user. (T424). As a method for analyzing sensor information, a time-series change of sensor data included in sensor information is examined in which of a plurality of predetermined patterns, and corresponds to a certain pattern. In this case, a predetermined comment for this pattern is used as the analysis result. An example of a comment here is "You may lose your health due to sudden weight loss. Stop excessive dietary loss."

次に、図12に示すシーケンス図に従って、センサユーザIDの消去処理について説明する。   Next, the sensor user ID deletion process will be described with reference to the sequence diagram shown in FIG.

センサユーザIDの消去は、例えば、ユーザが現行サービスの提供を止める等の理由で、センサ機器100を回収する場合等に生じる。このため、図12に示す処理の前処理として、サービス提供装置400のユーザ登録プログラム421は、ユーザから現行サービスの中止等の処理依頼を受け、この依頼に応じて、管理サーバ200へID消去パケットを送信する。このID消去パケットは、基本的に、図18(a)に示すID登録パケットと同じであるが、パケット名が「ユーザID消去」となり、要求コードが「0(消去)」となる。管理サーバ200の通信プログラムがこのID消去パケットを受信すると、ユーザID登録プログラム221を起動させる。このユーザID登録プログラム221は、ID変換テーブル212から、ID消去パケットに含まれているSOユーザIDに対応したセンサユーザIDを取得し、ID消去パケットに含まれている機器ID及び要求コード「0(消去)」と共に、ID要求テーブル211(図5)に格納する。以上で前処理は終了する。   The deletion of the sensor user ID occurs, for example, when the user collects the sensor device 100 for the reason that the user stops providing the current service. For this reason, as a pre-processing of the processing shown in FIG. 12, the user registration program 421 of the service providing apparatus 400 receives a processing request for canceling the current service from the user and responds to this request to the management server 200 with an ID deletion packet. Send. This ID deletion packet is basically the same as the ID registration packet shown in FIG. 18A, but the packet name is “user ID deletion” and the request code is “0 (delete)”. When the communication program of the management server 200 receives this ID deletion packet, the user ID registration program 221 is activated. The user ID registration program 221 acquires the sensor user ID corresponding to the SO user ID included in the ID deletion packet from the ID conversion table 212, and the device ID and request code “0” included in the ID deletion packet. (Erase) "and the ID request table 211 (FIG. 5). This is the end of the preprocessing.

センサ機器100のユーザID処理指示スイッチ107bが「消去」になると、センサ機器100のユーザID消去プログラム122が起動し、中継装置300へユーザID消去要求パケットを無線送信する(T131)。このユーザID消去要求パケットは、図19(d)に示すように、パケット名「ユーザID消去要求」1908と、機器ID1902と、センサユーザID1904とを含むパケットである。   When the user ID processing instruction switch 107b of the sensor device 100 is “erased”, the user ID deletion program 122 of the sensor device 100 is activated and wirelessly transmits a user ID deletion request packet to the relay device 300 (T131). This user ID deletion request packet is a packet including a packet name “user ID deletion request” 1908, a device ID 1902, and a sensor user ID 1904, as shown in FIG.

中継装置300のパケット転送プログラム321は、センサ機器100からユーザID消去要求パケットを受信すると、センサ機器100へACKを返すと共に(T331)、ユーザID消去要求パケットを管理サーバ200へ転送する(T332)。このユーザID消去要求パケットには、図20(d)に示すように、センサ機器100からユーザID消去要求パケットに含まれているパケット名「ユーザID消去要求」1908と、機器ID1902と、センサユーザID1904の他に、送信元無線識別子2001が含まれている。   When receiving the user ID deletion request packet from the sensor device 100, the packet transfer program 321 of the relay device 300 returns an ACK to the sensor device 100 (T331) and transfers the user ID deletion request packet to the management server 200 (T332). . In this user ID deletion request packet, as shown in FIG. 20D, the packet name “user ID deletion request” 1908 included in the user ID deletion request packet from the sensor device 100, the device ID 1902, and the sensor user In addition to the ID 1904, a transmission source wireless identifier 2001 is included.

管理サーバ200の通信プログラムがユーザID消去要求パケットを受信すると、ユーザID要求応答プログラム222を起動させる。このユーザID要求応答プログラム222は、ID要求テーブル211(図5)中に、ユーザID消去要求パケットに含まれている機器ID及びセンサユーザIDに対応し、且つ要求コードが「0(消去)」のレコードの有無を検索する(T232)。該当レコードがあれば、中継装置300に対してユーザID消去応答パケットを送信した後、ID要求テーブル211(図5)から該当レコードを削除する(T233)。   When the communication program of the management server 200 receives the user ID deletion request packet, the user ID request response program 222 is activated. This user ID request response program 222 corresponds to the device ID and sensor user ID included in the user ID deletion request packet in the ID request table 211 (FIG. 5), and the request code is “0 (delete)”. The presence or absence of the record is searched (T232). If there is a corresponding record, after transmitting a user ID deletion response packet to the relay apparatus 300, the corresponding record is deleted from the ID request table 211 (FIG. 5) (T233).

中継装置300のパケット転送プログラム321は、管理サーバ200からユーザID消去応答パケットを受信すると、管理サーバ200へACKを返すと共に(T333)、ユーザID消去応答パケットをセンサ機器100へ転送する(T334)。   When receiving the user ID deletion response packet from the management server 200, the packet transfer program 321 of the relay device 300 returns an ACK to the management server 200 (T333) and transfers the user ID deletion response packet to the sensor device 100 (T334). .

センサ機器100のユーザID消去プログラム122は、中継装置300からユーザID消去応答パケットを受信すると、中継装置300へACKを返すと共に(T132)、センサ機器固有情報テーブル111(図3)からセンサユーザIDを消去する(T133)。   When receiving the user ID deletion response packet from the relay device 300, the user ID deletion program 122 of the sensor device 100 returns an ACK to the relay device 300 (T132), and the sensor user ID from the sensor device unique information table 111 (FIG. 3). Is deleted (T133).

以上で、センサユーザIDの消去処理は終了する。なお、センサ機器100が管理サーバ200へユーザID消去要求パケットを送っているのは、管理サーバ200、さらにはサービス提供装置400に、センサ機器100に格納されていたセンサユーザ1Dの消去動作を認識させるためである。このため、管理サーバ200及びサービス提供装置400にこの認識をさせる必要がない場合には、当然、センサ機器100が管理サーバ200へユーザID消去要求パケットを送る必要がなく、センサ機器100のユーザID処理指示スイッチ107bが「消去」になると、直ちに、センサ機器固有情報テーブル111(図3)からセンサユーザIDを消去するようにしてもよい。   This is the end of the sensor user ID deletion process. The sensor device 100 sends the user ID deletion request packet to the management server 200 because the management server 200 and the service providing device 400 recognize the deletion operation of the sensor user 1D stored in the sensor device 100. This is to make it happen. For this reason, when it is not necessary for the management server 200 and the service providing apparatus 400 to recognize this, naturally, the sensor device 100 does not need to send a user ID deletion request packet to the management server 200, and the user ID of the sensor device 100 As soon as the processing instruction switch 107b is “deleted”, the sensor user ID may be deleted from the sensor device specific information table 111 (FIG. 3).

次に、センサデータ管理システムの個々の装置の主要動作について、図13〜図17を用いて説明する。   Next, main operations of individual devices of the sensor data management system will be described with reference to FIGS.

まず、図13に示すフローチャートに従って、管理サーバ200のユーザID登録処理及びユーザID消去前処理について説明する。なお、このユーザID登録処理は、図9に示すシーケンス図中のユーザID登録処理(T202)に対応する。   First, user ID registration processing and user ID deletion pre-processing of the management server 200 will be described with reference to the flowchart shown in FIG. This user ID registration process corresponds to the user ID registration process (T202) in the sequence diagram shown in FIG.

管理サーバ200の通信プログラムは、サービス提供装置400からID登録パケット(図18(a))又はID消去パケットを受信すると(S1301)、このパケットのパケット名を調べ(S1302)、パケット名が「ユーザID登録」又は「ユーザID消去」であれば、このパケットの送信元であるサービス提供装置400へACKを返した後(S1303)、ユーザID登録プログラム221を起動させる(S1304)。また、パケット名が「センサ情報」であれば、図11のシーケンス図を用いて説明したように、センサ情報管理プログラム223を起動させる。また、パケット名が「ユーザID要求」や「ユーザID消去要求」である場合には、図14を用いて後述するように、ユーザID要求応答プログラム222を起動させる。   When the communication program of the management server 200 receives the ID registration packet (FIG. 18A) or the ID deletion packet from the service providing apparatus 400 (S1301), the packet name of this packet is checked (S1302). If it is “ID registration” or “user ID deletion”, an ACK is returned to the service providing apparatus 400 that is the transmission source of this packet (S1303), and then the user ID registration program 221 is started (S1304). If the packet name is “sensor information”, the sensor information management program 223 is started as described with reference to the sequence diagram of FIG. When the packet name is “user ID request” or “user ID deletion request”, the user ID request response program 222 is started as described later with reference to FIG.

ユーザID登録プログラム221は、まず、ID変換テーブル212(図6)中に、このID登録パケット(図18(a))に含まれているSOユーザIDが存在するか否かを調べる(S1305)、該当SOユーザIDが無ければ(S1305でYesの場合)、すなわち、先に受信したパケットはID登録パケットであれば、ステップ1307に進み、該当SOユーザIDが在れば(S1305でNoの場合)、すなわち、先に受信したパケットがID消去パケットである、または以前にID登録パケットを要求したことがあれば、このID変換テーブル212からセンサユーザIDを取得し(S1306)、ステップ1309に進む。   First, the user ID registration program 221 checks whether or not the SO user ID included in the ID registration packet (FIG. 18A) exists in the ID conversion table 212 (FIG. 6) (S1305). If the corresponding SO user ID does not exist (Yes in S1305), that is, if the previously received packet is an ID registration packet, the process proceeds to Step 1307, and if the corresponding SO user ID exists (No in S1305). In other words, if the previously received packet is an ID deletion packet or if an ID registration packet has been requested before, the sensor user ID is obtained from this ID conversion table 212 (S1306), and the process proceeds to step 1309. .

S1305で、該当SOユーザIDが無いと判断して、ステップ1307に進むと、予め定められた桁数のセンサユーザIDを生成する。このセンサユーザIDは、SOユーザIDと1対1の関係である。次に、ID変換テーブル212に、SOユーザIDとセンサユーザIDとを関連付けて格納する(S1308)。そして、ID要求テーブル211に、ID登録パケット(図18(a))に含まれている機器ID及び要求コードと、ステップ1307で生成したセンサユーザID又はステップ1306で取得したセンサユーザIDを格納する(S1309)。   If it is determined in step S1305 that there is no corresponding SO user ID and the process proceeds to step 1307, a sensor user ID having a predetermined number of digits is generated. This sensor user ID has a one-to-one relationship with the SO user ID. Next, the SO user ID and the sensor user ID are stored in association in the ID conversion table 212 (S1308). The device ID and request code included in the ID registration packet (FIG. 18A) and the sensor user ID generated in step 1307 or the sensor user ID acquired in step 1306 are stored in the ID request table 211. (S1309).

以上で、管理サーバ200によるユーザID登録処理及びユーザID消去前処理は終了する。   Thus, the user ID registration process and the user ID deletion pre-process by the management server 200 are completed.

次に、管理サーバ200よるID要求応答処理及びID消去要求処理について、図14に示すフローチャートに従って説明する。なお、管理サーバ200よるID要求応答処理は、図10のシーケンス図中のT211〜T213の処理に対応し、ID消去要求処理は、図12のシーケンス図中のT231〜T233の処理に対応する。   Next, ID request response processing and ID deletion request processing by the management server 200 will be described with reference to the flowchart shown in FIG. The ID request response process by the management server 200 corresponds to the processes of T211 to T213 in the sequence diagram of FIG. 10, and the ID deletion request process corresponds to the processes of T231 to T233 in the sequence diagram of FIG.

管理サーバ200の通信プログラムは、中継装置300からID要求パケット(図20(a))又はID消去要求パケット(図20(d))を受信すると(S1401)、このパケットのパケット名を調べ(S1402)、パケット名が「ユーザID要求」又は「ユーザID消去要求」であれば、このパケットの送信元であるサービス提供装置400へACKを返した後(S1303)、ユーザID要求応答プログラム222を起動させる(S1403)。   When the communication program of the management server 200 receives the ID request packet (FIG. 20A) or the ID deletion request packet (FIG. 20D) from the relay device 300 (S1401), the packet name of this packet is checked (S1402). ) If the packet name is “user ID request” or “user ID deletion request”, ACK is returned to the service providing apparatus 400 that is the transmission source of this packet (S1303), and then the user ID request response program 222 is activated. (S1403).

ユーザID要求応答プログラム222は、受信したパケットがID要求パケットであれば、ユーザID要求テーブル211(図5)中に、ID要求パケット(図20(a)中に含まれている機器IDと同じ機器IDで且つ要求コードが「1(登録)」のレコードがあるか否かを判断し(S1404)、機器IDと同じ機器IDで且つ要求コードが「1(登録)」のレコードがあれば、このレコードのセンサユーザIDを含むユーザID要求パケットを中継装置300へ送信する(S1405)。該当レコードが無ければ、エラーパケットを中継装置300へ送信して(S1409)、処理を終了する。   If the received packet is an ID request packet, the user ID request response program 222 is the same as the device ID included in the ID request packet (FIG. 20A) in the user ID request table 211 (FIG. 20A). It is determined whether there is a record with a device ID and a request code “1 (registration)” (S1404). If there is a record with the same device ID as the device ID and a request code “1 (registration)”, A user ID request packet including the sensor user ID of this record is transmitted to the relay apparatus 300 (S1405) If there is no corresponding record, an error packet is transmitted to the relay apparatus 300 (S1409), and the process is terminated.

また、ユーザID要求応答プログラム222は、受信したパケットがID消去要求パケットであれば、ユーザID要求テーブル211(図5)中に、ID消去要求パケット(図20(a)中に含まれている機器IDと同じ機器IDで且つ要求コードが「0(消去)」のレコードがあるか否かを判断し(S1406)、機器IDと同じ機器IDで且つ要求コードが「0(消去))」のレコードがあれば、ユーザID消去応答パケットを中継装置300へ送信する(S1407)。該当レコードが無ければ、エラーパケットを中継装置300へ送信して(S1409)、処理を終了する。   If the received packet is an ID deletion request packet, the user ID request response program 222 is included in the ID deletion request packet (FIG. 20A) in the user ID request table 211 (FIG. 5). It is determined whether there is a record having the same device ID as the device ID and the request code “0 (erase)” (S1406), and the same device ID as the device ID and the request code is “0 (erase)”. If there is a record, a user ID deletion response packet is transmitted to the relay apparatus 300 (S1407). If there is no corresponding record, an error packet is transmitted to the relay device 300 (S1409), and the process is terminated.

ユーザID要求応答プログラム222は、中継装置300へユーザID応答パケット又はユーザID消去応答パケットを送信すると(S1405orS1407)、ユーザID要求テーブル211(図5)から該当レコードを消去して(S1408)、処理を終了する。   When the user ID request response program 222 transmits a user ID response packet or a user ID deletion response packet to the relay device 300 (S1405 or S1407), the user ID request response program 222 deletes the corresponding record from the user ID request table 211 (FIG. 5) (S1408), and processing Exit.

次に、中継装置300によるパケット転送処理について、図15に示すフローチャートに従って説明する。なお、このパケット転送処理は、パケット転送プログラム321により実行される。   Next, packet transfer processing by the relay apparatus 300 will be described with reference to the flowchart shown in FIG. This packet transfer process is executed by the packet transfer program 321.

中継装置300のパケット転送プログラム321は、パケットを受信すると(S1501)、このパケットの送信元へACKを返す(S1502)。次に、このパケットの送信元がセンサ機器100であるか否かを判断し(S1503)、このパケットの送信元がセンサ機器100である場合には、このパケットのデータにさらに、送信元無線識別子(センサ機器100の無線識別子)を付加してパケット化し、これを管理サーバ200へ送信する。また、受信したパケットの送信元がセンサ機器でない場合には、送信元が管理サーバ200か否かを判断する(S1505)、送信元が管理サーバである場合には、このパケットに含まれている送信先無線識別子のセンサ機器100へパケットを送信する。ステップ1505の判断で送信元が管理サーバ200ではないと判断すると、そのまま終了する。   When receiving the packet (S1501), the packet transfer program 321 of the relay device 300 returns an ACK to the transmission source of this packet (S1502). Next, it is determined whether or not the transmission source of this packet is the sensor device 100 (S1503). When the transmission source of this packet is the sensor device 100, the transmission source wireless identifier is further added to the data of this packet. The packet is added with (the wireless identifier of the sensor device 100) and transmitted to the management server 200. If the transmission source of the received packet is not a sensor device, it is determined whether or not the transmission source is the management server 200 (S1505). If the transmission source is the management server, it is included in this packet. The packet is transmitted to the sensor device 100 of the transmission destination wireless identifier. If it is determined in step 1505 that the transmission source is not the management server 200, the processing ends.

以上で、中継装置300によるパケット転送処理が終了する。   Thus, the packet transfer process by the relay device 300 ends.

次に、センサ機器100によるユーザID要求及びユーザID登録処理について、図16に示すフローチャートに従って説明する。なお、この処理は、図10のシーケンス図におけるT111〜T113に対応する。   Next, user ID request and user ID registration processing by the sensor device 100 will be described with reference to the flowchart shown in FIG. This process corresponds to T111 to T113 in the sequence diagram of FIG.

センサ機器100のユーザID処理指示スイッチ107bが「登録」になると、ユーザID要求プログラム121が起動し(S1601)、中継装置300へユーザID要求パケットを無線送信する(S1602)。   When the user ID processing instruction switch 107b of the sensor device 100 is “registered”, the user ID request program 121 is activated (S1601), and a user ID request packet is wirelessly transmitted to the relay device 300 (S1602).

次に、ユーザID要求プログラム121は、中継装置300からACKを受信した後(S1603)、この中継装置300からのパケットを待つ(S1604)。中継装置300からパケットを受信すると、この中継装置300へACKを返した後(S1605)、このパケットがユーザID応答パケットであるか否かを判断する(S1606)。このパケットがユーザID応答パケットであれば、センサ機器固有情報テーブル111(図3)に、このユーザID応答パケット(図19(b))に含まれているセンサユーザIDを格納した後(S1608)、正常終了を表示部106に表示させて、処理を終了する。   Next, after receiving the ACK from the relay device 300 (S1603), the user ID request program 121 waits for a packet from the relay device 300 (S1604). When a packet is received from the relay device 300, an ACK is returned to the relay device 300 (S1605), and then it is determined whether or not this packet is a user ID response packet (S1606). If this packet is a user ID response packet, the sensor user ID included in the user ID response packet (FIG. 19B) is stored in the sensor device specific information table 111 (FIG. 3) (S1608). The normal end is displayed on the display unit 106, and the process ends.

また、ステップ1606の判断で、ステップ1604で受信したパケットがユーザID応答パケットではないと判断した場合、エラーを表示部106に表示させて、処理を終了する。   If it is determined in step 1606 that the packet received in step 1604 is not a user ID response packet, an error is displayed on the display unit 106, and the process ends.

次に、センサ機器100によるユーザID消去要求及びユーザID消去処理について、図16に示すフローチャートに従って説明する。なお、この処理は、図12のシーケンス図におけるT131〜T133に対応する。   Next, a user ID deletion request and a user ID deletion process performed by the sensor device 100 will be described with reference to the flowchart shown in FIG. This process corresponds to T131 to T133 in the sequence diagram of FIG.

センサ機器100のユーザID処理指示スイッチ107bが「消去」になると、ユーザID要求プログラム121が起動し(S1701)、中継装置300へユーザID消去要求パケットを無線送信する(S1702)。   When the user ID processing instruction switch 107b of the sensor device 100 is “erased”, the user ID request program 121 is activated (S1701) and wirelessly transmits a user ID deletion request packet to the relay device 300 (S1702).

次に、ユーザID要求プログラム121は、中継装置300からACKを受信した後(S1703)、この中継装置300からのパケットを待つ(S1704)。中継装置300からパケットを受信すると、この中継装置300へACKを返した後(S1705)、このパケットがユーザID消去応答パケットであるか否かを判断する(S1706)。このパケットがユーザID消去応答パケットであれば、センサ機器固有情報テーブル111(図3)からセンサユーザIDを消去した後(S1708)、正常終了を表示部106に表示させて、処理を終了する。   Next, after receiving the ACK from the relay device 300 (S1703), the user ID request program 121 waits for a packet from the relay device 300 (S1704). When a packet is received from the relay device 300, an ACK is returned to the relay device 300 (S1705), and then it is determined whether or not this packet is a user ID deletion response packet (S1706). If this packet is a user ID deletion response packet, after the sensor user ID is deleted from the sensor device specific information table 111 (FIG. 3) (S1708), the normal end is displayed on the display unit 106, and the process ends.

また、ステップ1706の判断で、ステップ1704で受信したパケットがユーザID消去応答パケットではないと判断した場合、エラーを表示部106に表示させて、処理を終了する。   If it is determined in step 1706 that the packet received in step 1704 is not a user ID deletion response packet, an error is displayed on the display unit 106, and the process ends.

以上のように、本実施形態では、センサ機器100は、センサデータと共に、センサ機器ID及びセンサユーザID等を管理サーバに送り、管理サーバ200は、センサ機器100から送られてきたセンサデータ、センサ機器ID、センサユーザID等を相互に関連付けて記憶するので、センサデータの利用にあたり、複数のセンサ機器ID毎のセンサデータから、特定のセンサユーザIDのセンサデータを検索する手間を省くことができる。このため、センサ機器IDとセンサユーザIDとを関連付けてID要求テーブル211に一時的に登録しているものの、一旦、センサ機器100にセンサユーザIDを知らせた後は、このID要求テーブル211の該当レコードを削除しているので、管理サーバ200のデータ記憶量の削減を図ることもできる。   As described above, in this embodiment, the sensor device 100 sends the sensor device ID and the sensor user ID together with the sensor data to the management server, and the management server 200 transmits the sensor data and sensor sent from the sensor device 100. Since device IDs, sensor user IDs, and the like are stored in association with each other, it is possible to save the trouble of searching for sensor data of a specific sensor user ID from sensor data for each of a plurality of sensor device IDs when using sensor data. . Therefore, although the sensor device ID and the sensor user ID are associated with each other and temporarily registered in the ID request table 211, once the sensor user ID is notified to the sensor device 100, the ID request table 211 Since the record is deleted, the data storage amount of the management server 200 can be reduced.

また、本実施形態では、センサ機器100へのセンサユーザIDの登録にあたり、センサデータを送信する通信手段を利用して、管理サーバ200からセンサユーザIDを受信し、これを登録しているので、ユーザIDを入力するために、別途、入力手段を設ける必要が無く、センサ機器100の小型化を図ることもできる。   In the present embodiment, when registering the sensor user ID in the sensor device 100, the sensor user ID is received from the management server 200 using the communication means for transmitting the sensor data, and is registered. In order to input the user ID, it is not necessary to provide a separate input means, and the sensor device 100 can be downsized.

なお、以上の実施形態では、センサ機器100へのセンサユーザIDの登録処理、及びセンサ機器100からのセンサユーザIDの消去処理で、スイッチ107bの操作をトリガーとしているが、本発明は、これに限定されるものではなく、例えば、センサ機器100が、一旦、利用者に納品されると、回収されるまで、電源ONの状態で使用されるような場合には、この電源ONを登録処理のトリガーとし、この電源OFFを消去処理のトリガーとしてもよい。   In the above embodiment, the operation of the switch 107b is triggered by the registration process of the sensor user ID to the sensor device 100 and the deletion process of the sensor user ID from the sensor device 100. However, the present invention is not limited to this. For example, when the sensor device 100 is delivered to the user and is used in a power-on state until it is collected, this power-on is registered. This power off may be used as a trigger for the erasing process.

また、以上の実施形態では、ユーザを一意に定める識別してとして、SOユーザIDとセンサユーザIDの二つを用いているが、いずれか一方のIDのみを用いるようにしてもよい。   In the above embodiment, two users, the SO user ID and the sensor user ID, are used to uniquely identify the user. However, only one of the IDs may be used.

本発明に係る一実施形態におけるセンサデータ管理システムの構成図である。It is a lineblock diagram of the sensor data management system in one embodiment concerning the present invention. 本発明に係る一実施形態におけるセンサデータ管理システム中の中継装置の構成図である。It is a block diagram of the relay apparatus in the sensor data management system in one Embodiment which concerns on this invention. 本発明に係る一実施形態におけるセンサ機器固有情報テーブルのデータ構成を示す説明図である。It is explanatory drawing which shows the data structure of the sensor apparatus specific information table in one Embodiment which concerns on this invention. 本発明に係る一実施形態における中継装置固有情報テーブルのデータ構成を示す説明図である。It is explanatory drawing which shows the data structure of the relay apparatus specific information table in one Embodiment which concerns on this invention. 本発明に係る一実施形態におけるID要求テーブルのデータ構成を示す説明図である。It is explanatory drawing which shows the data structure of the ID request | requirement table in one Embodiment which concerns on this invention. 本発明に係る一実施形態におけるID変換テーブルのデータ構成を示す説明図である。It is explanatory drawing which shows the data structure of the ID conversion table in one Embodiment which concerns on this invention. 本発明に係る一実施形態におけるセンサ情報テーブルのデータ構成を示す説明図である。It is explanatory drawing which shows the data structure of the sensor information table in one Embodiment which concerns on this invention. 本発明に係る一実施形態におけるユーザ情報テーブルのデータ構成を示す説明図である。It is explanatory drawing which shows the data structure of the user information table in one Embodiment which concerns on this invention. 本発明に係る一実施形態におけるユーザIDの登録前処理を示すシーケンス図である。It is a sequence diagram which shows the pre-registration process of user ID in one Embodiment which concerns on this invention. 本発明に係る一実施形態におけるユーザIDの登録処理を示すシーケンス図である。It is a sequence diagram which shows the registration process of user ID in one Embodiment which concerns on this invention. 本発明に係る一実施形態におけるセンサデータの管理処理を示すシーケンス図である。It is a sequence diagram which shows the management process of the sensor data in one Embodiment which concerns on this invention. 本発明に係る一実施形態におけるユーザIDの消去処理を示すシーケンス図である。It is a sequence diagram which shows the deletion process of the user ID in one Embodiment which concerns on this invention. 本発明に係る一実施形態における管理サーバによるID登録処理を示すフローチャートである。It is a flowchart which shows ID registration processing by the management server in one Embodiment which concerns on this invention. 本発明に係る一実施形態における管理サーバによるID要求応答及びID消去要求処理を示すフローチャートである。It is a flowchart which shows the ID request response and ID deletion request | requirement process by the management server in one Embodiment which concerns on this invention. 本発明に係る一実施形態における中継装置によるパケット転送処理を示すフローチャートである。It is a flowchart which shows the packet transfer process by the relay apparatus in one Embodiment which concerns on this invention. 本発明に係る一実施形態におけるセンサ機器によるユーザID登録処理を示すフローチャートである。It is a flowchart which shows the user ID registration process by the sensor apparatus in one Embodiment which concerns on this invention. 本発明に係る一実施形態におけるセンサ機器によるユーザID消去処理を示すフローチャートである。It is a flowchart which shows the user ID deletion process by the sensor apparatus in one Embodiment which concerns on this invention. 本発明に係る一実施形態におけるサービス提供装置と管理サーバとの間で通信される各種パケットのデータ構成を示す説明図である。It is explanatory drawing which shows the data structure of the various packets communicated between the service provision apparatus and management server in one Embodiment which concerns on this invention. 本発明に係る一実施形態におけるセンサ機器と中継装置との間で通信される各種パケットのデータ構成を示す説明図である。It is explanatory drawing which shows the data structure of the various packets communicated between the sensor apparatus and relay device in one Embodiment which concerns on this invention. 本発明に係る一実施形態における中継装置と管理サーバとの間で通信される各種パケットのデータ構成を示す説明図である。It is explanatory drawing which shows the data structure of the various packets communicated between the relay apparatus and management server in one Embodiment which concerns on this invention.

符号の説明Explanation of symbols

100:センサ機器、101:センサ、102:CPU、103:RAM、104:RF処理部、105:アンテナ、106:表示部、107:スイッチ、110:EEPROM、111:センサ機器固有情報テーブル、200:管理サーバ、202:CPU、203:RAM、204:通信インタフェース、211:ID要求テーブル、212:ID変換テーブル、213:センサ情報テーブル、221:ユーザID登録プログラム、222:ユーザID要求応答プログラム、223:センサ情報管理プログラム、300:中継装置、400:サービス提供装置 100: sensor device, 101: sensor, 102: CPU, 103: RAM, 104: RF processing unit, 105: antenna, 106: display unit, 107: switch, 110: EEPROM, 111: sensor device specific information table, 200: Management server 202: CPU 203: RAM 204: Communication interface 211: ID request table 212: ID conversion table 213: Sensor information table 221: User ID registration program 222: User ID request response program 223 : Sensor information management program, 300: Relay device, 400: Service providing device

Claims (7)

センサと、該センサが取得したセンサデータを管理サーバへ送信する通信手段と、を備えているセンサ機器において、
当該センサ機器固有のセンサ機器IDが格納されているセンサ機器固有情報記憶領域と、
当該センサ機器のセンサ機器IDを指定して、当該センサ機器を使用するユーザ固有のユーザIDの送信を、前記管理サーバに対して、前記通信手段により要求させるユーザID要求手段と、
前記通信手段が前記管理サーバから当該センサ機器のユーザIDを受信すると、前記センサ機器固有情報記憶領域に登録するユーザID登録手段と、
前記センサからのセンサデータを取得し、前記センサ機器固有情報記憶領域に記憶されている前記センサ機器ID及び前記ユーザIDを、該センサデータと共に、前記通信手段により前記管理サーバへ送信させるセンサデータ送信処理手段と、
を備えていることを特徴とするセンサ機器。
In a sensor device comprising a sensor and communication means for transmitting sensor data acquired by the sensor to a management server,
A sensor device unique information storage area in which a sensor device ID unique to the sensor device is stored;
A user ID requesting unit that designates a sensor device ID of the sensor device and causes the management server to request transmission of a user ID specific to a user who uses the sensor device by the communication unit;
When the communication means receives a user ID of the sensor device from the management server, a user ID registration means for registering in the sensor device specific information storage area;
Sensor data transmission for acquiring sensor data from the sensor and transmitting the sensor device ID and the user ID stored in the sensor device specific information storage area together with the sensor data to the management server by the communication means Processing means;
A sensor device comprising:
請求項1に記載のセンサ機器において、
予め定められた条件を満たすと、前記センサ機器固有情報記憶領域から前記ユーザIDを消去する消去手段を
備えていることを特徴とするセンサ機器。
The sensor device according to claim 1,
A sensor device, comprising: an erasing unit that erases the user ID from the sensor device specific information storage area when a predetermined condition is satisfied.
センサと通信手段とを備えた複数のセンサ機器からセンサデータを受信する通信手段と、該センサデータが記憶されるセンサデータ記憶領域と、を備えている管理サーバにおいて、
前記複数のセンサ機器毎に、該センサ機器固有のセンサ機器IDと、当該センサ機器を使用するユーザ固有のユーザIDとが互いに関連付けられて記憶されている機器ID−ユーザID記憶領域と、
前記通信手段が、前記複数のセンサ機器のうちのいずれか一のセンサ機器から、センサ機器IDが指定されて該センサ機器を使用するユーザのユーザIDの送信要求を受信すると、前記機器ID−ユーザID記憶手段から、該センサ機器IDに関連付けられたユーザIDを抽出し、該ユーザIDを該通信手段により該センサ機器へ送信させるユーザID要求応答手段と、
前記通信手段が、前記一のセンサ機器から、前記センサデータ、センサ機器ID及びユーザIDを受信すると、これらを相互に関連付けて前記センサデータ記憶領域に記憶するセンサデータ管理手段と、
を備えていることを特徴とする管理サーバ。
In a management server comprising communication means for receiving sensor data from a plurality of sensor devices comprising a sensor and communication means, and a sensor data storage area for storing the sensor data,
For each of the plurality of sensor devices, a device ID-user ID storage area in which a sensor device ID unique to the sensor device and a user ID unique to a user who uses the sensor device are stored in association with each other;
When the communication means receives a transmission request for a user ID of a user who uses a sensor device ID designated by the sensor device ID from any one of the plurality of sensor devices, the device ID-user A user ID request response means for extracting a user ID associated with the sensor device ID from the ID storage means and transmitting the user ID to the sensor device by the communication means;
When the communication unit receives the sensor data, the sensor device ID, and the user ID from the one sensor device, a sensor data management unit that associates them with each other and stores them in the sensor data storage area;
A management server comprising:
請求項3に記載の管理サーバにおいて、
前記ユーザID要求応答手段が前記センサ機器に関する前記ユーザIDを送信すると、前記機器ID−ユーザID記憶領域から、該センサ機器のセンサ機器IDを消去する消去手段を、
備えていることを特徴とする管理サーバ。
In the management server according to claim 3,
When the user ID request response means transmits the user ID related to the sensor device, erasure means for erasing the sensor device ID of the sensor device from the device ID-user ID storage area,
Management server characterized by comprising.
請求項1及び2のいずれか一項に記載のセンサ機器と、
前記センサ機器からのセンサデータを受信する請求項3及び4のいずれか一項に記載の管理サーバと、
を備えていることを特徴とするセンサデータ管理システム。
Sensor device according to any one of claims 1 and 2,
The management server according to any one of claims 3 and 4, which receives sensor data from the sensor device;
A sensor data management system comprising:
請求項5に記載のセンサデータ管理システムにおいて、
前記センサ機器を使用するユーザに所定のサービスを提供するサービス提供装置を備え、
前記サービス提供装置は、
前記管理サーバと通信する通信手段と、
ユーザ毎にセンサデータが記憶されるセンサデータ記憶領域と、
ユーザIDを指定して、該ユーザIDに対応するセンサデータの送信を、前記管理サーバに対して、前記通信手段により要求させるセンサデータ要求手段と、
前記通信手段が前記管理サーバから前記ユーザIDに対応するセンサデータを受信すると、該センサデータを解析し、該解析結果を前記通信手段で該ユーザIDのユーザに通知させるセンサデータ解析手段と、
を備え、
前記管理サーバは、
前記通信手段が前記サービス提供装置から前記ユーザIDに対応するセンサデータの送信要求を受けると、前記センサデータ記憶領域から、該ユーザIDに対応するセンサデータを取得し、該センサデータを該通信手段で送信させるセンサデータ送信処理手段を備えている、
ことを特徴とするセンサデータ管理システム。
In the sensor data management system according to claim 5,
A service providing device for providing a predetermined service to a user who uses the sensor device;
The service providing apparatus includes:
Communication means for communicating with the management server;
A sensor data storage area for storing sensor data for each user;
A sensor data requesting unit that designates a user ID and causes the management server to request transmission of sensor data corresponding to the user ID by the communication unit;
When the communication means receives sensor data corresponding to the user ID from the management server, the sensor data is analyzed, and the analysis result is notified to the user of the user ID by the communication means;
With
The management server
When the communication means receives a transmission request for sensor data corresponding to the user ID from the service providing device, the sensor means acquires sensor data corresponding to the user ID from the sensor data storage area, and transmits the sensor data to the communication means. Sensor data transmission processing means to be transmitted in,
A sensor data management system characterized by that.
センサと通信手段とを備えた複数のセンサ機器からセンサデータを受信して、該センサデータを管理するためのセンサデータ管理プログラムにおいて、
前記複数のセンサ機器毎に、該センサ機器固有のセンサ機器IDと、当該センサ機器を使用するユーザ固有のユーザIDとを取得し、互いに関連付けて、コンピュータの第1記憶領域に記憶する機器ID−ユーザID記憶ステップと、
前記コンピュータの通信手段により、前記複数のセンサ機器のうちのいずれか一のセンサ機器から、センサ機器IDが指定されて該センサ機器を使用するユーザのユーザIDの送信要求を受信するユーザID要求受信ステップと、
前記ユーザID要求受信ステップで、前記一のセンサ機器から前記ユーザIDの送信要求を受信すると、前記第1記憶領域から、該送信要求に含まれている前記センサ機器に関連付けられたユーザIDを抽出し、該ユーザIDを、前記通信手段により該一のセンサ機器へ送信するユーザID要求応答ステップと、
前記通信手段により、前記一のセンサ機器から、前記センサデータ、センサ機器ID及びユーザIDを受信するセンサデータ受信ステップと、
前記センサデータ受信ステップで、前記センサデータ、センサ機器ID及びユーザIDを受信すると、これらを相互に関連付けて、前記コンピュータの第2記憶領域に記憶するセンサデータ管理ステップと、
を前記コンピュータに実行させることを特徴とするセンサデータ管理プログラム。
In a sensor data management program for receiving sensor data from a plurality of sensor devices including sensors and communication means and managing the sensor data,
For each of the plurality of sensor devices, a device ID that is unique to the sensor device and a user ID that is unique to the user who uses the sensor device, and that is associated with each other and stored in the first storage area of the computer— A user ID storage step;
User ID request reception for receiving a transmission request for a user ID of a user who uses a specified sensor device ID from any one of the plurality of sensor devices by the communication means of the computer. Steps,
Upon receiving the user ID transmission request from the one sensor device in the user ID request reception step, the user ID associated with the sensor device included in the transmission request is extracted from the first storage area. A user ID request response step of transmitting the user ID to the one sensor device by the communication means;
A sensor data receiving step of receiving the sensor data, sensor device ID and user ID from the one sensor device by the communication means;
In the sensor data receiving step, when the sensor data, the sensor device ID, and the user ID are received, the sensor data managing step of associating them with each other and storing them in the second storage area of the computer;
Is executed by the computer, and a sensor data management program.
JP2008001254A 2008-01-08 2008-01-08 Sensor device, its management server, system equipped with these Expired - Fee Related JP4987740B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008001254A JP4987740B2 (en) 2008-01-08 2008-01-08 Sensor device, its management server, system equipped with these

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008001254A JP4987740B2 (en) 2008-01-08 2008-01-08 Sensor device, its management server, system equipped with these

Publications (2)

Publication Number Publication Date
JP2009164952A true JP2009164952A (en) 2009-07-23
JP4987740B2 JP4987740B2 (en) 2012-07-25

Family

ID=40967023

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008001254A Expired - Fee Related JP4987740B2 (en) 2008-01-08 2008-01-08 Sensor device, its management server, system equipped with these

Country Status (1)

Country Link
JP (1) JP4987740B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017011525A (en) * 2015-06-23 2017-01-12 株式会社東芝 Device and method for offering service on basis of sensor information
JP2018088121A (en) * 2016-11-29 2018-06-07 フロンティアビジョン株式会社 Registration system and registration method
US20220303648A1 (en) * 2014-04-29 2022-09-22 Cambridge Mobile Telematics Inc. System and method for obtaining vehicle telematics data

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04307848A (en) * 1991-04-05 1992-10-30 Matsushita Electric Ind Co Ltd Automatic metering device
JP2003198545A (en) * 2001-12-27 2003-07-11 Canotec Kk Network monitoring device, information management device, network monitoring system, network monitoring method, recording medium and program
JP2005229426A (en) * 2004-02-13 2005-08-25 Sharp Corp Data communication system, radio slave unit, radio master unit and terminal side device used for the same, partner station registration method, installation method of data communication system and starting method of carrier sense operation
JP2006026037A (en) * 2004-07-15 2006-02-02 Hitachi Ltd Health care support system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04307848A (en) * 1991-04-05 1992-10-30 Matsushita Electric Ind Co Ltd Automatic metering device
JP2003198545A (en) * 2001-12-27 2003-07-11 Canotec Kk Network monitoring device, information management device, network monitoring system, network monitoring method, recording medium and program
JP2005229426A (en) * 2004-02-13 2005-08-25 Sharp Corp Data communication system, radio slave unit, radio master unit and terminal side device used for the same, partner station registration method, installation method of data communication system and starting method of carrier sense operation
JP2006026037A (en) * 2004-07-15 2006-02-02 Hitachi Ltd Health care support system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220303648A1 (en) * 2014-04-29 2022-09-22 Cambridge Mobile Telematics Inc. System and method for obtaining vehicle telematics data
JP2017011525A (en) * 2015-06-23 2017-01-12 株式会社東芝 Device and method for offering service on basis of sensor information
JP2018088121A (en) * 2016-11-29 2018-06-07 フロンティアビジョン株式会社 Registration system and registration method

Also Published As

Publication number Publication date
JP4987740B2 (en) 2012-07-25

Similar Documents

Publication Publication Date Title
US7565107B2 (en) Communication system, information processing device, and method
US9032074B2 (en) Method and apparatus for controlling home network access using phone numbers, and system thereof
JP4564249B2 (en) Home appliance remote control system, service providing server, home server, home appliance, home appliance remote control supporting method for service providing server, and home appliance service providing support method for service providing server
US20070067400A1 (en) User matching server, user matching method and user matching program
JP2002170005A (en) Ticket providing and using method and system therefor
CN103716921A (en) Intelligent routing equipment-based WIFI instant messaging system and socializing method
JP2012080482A (en) Server, terminal, equipment, and association method and association program for the same
CN104904245A (en) System and method for automatically providing access area content by using access point
JP4987740B2 (en) Sensor device, its management server, system equipped with these
JP6617808B2 (en) Management device
US9998851B2 (en) Information processing system and communication method
CN104427541A (en) WiFi hot spot registration and information service system and method
JP2009242038A (en) Portable baggage management device
JP6398420B2 (en) Remote management system, service providing apparatus, and remote management method
JP5252655B2 (en) Method and system for identifying a remote operation device that operates an operation target device
JP4616531B2 (en) Communication equipment
US20200021548A1 (en) Method of playback of a plurality of messages exchanged with a conversational agent
KR20180090218A (en) Bluetooth based calling system for in store customer to request service
JP2005258834A (en) User interface configuration method, device and program
JP2005056120A (en) Contents providing method, system, and contents providing program
JP5603221B2 (en) Program recommendation equipment
KR100884470B1 (en) System and Method for Providing Short Distance Information and Mobile Communication Terminal Therefor
KR20180090220A (en) Calling and tagging system to handle customer response and processing status
JP6511926B2 (en) INFORMATION PROCESSING APPARATUS, IMAGE FORMING APPARATUS, INFORMATION PROCESSING SYSTEM, AND PROGRAM
JP6115053B2 (en) POSITION INFORMATION MANAGEMENT SERVER, POSITION INFORMATION MANAGEMENT METHOD, AND POSITION INFORMATION MANAGEMENT SYSTEM

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100803

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120201

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120327

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120425

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

Free format text: PAYMENT UNTIL: 20150511

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees