JP6915504B2 - Sensor device - Google Patents
Sensor device Download PDFInfo
- Publication number
- JP6915504B2 JP6915504B2 JP2017217503A JP2017217503A JP6915504B2 JP 6915504 B2 JP6915504 B2 JP 6915504B2 JP 2017217503 A JP2017217503 A JP 2017217503A JP 2017217503 A JP2017217503 A JP 2017217503A JP 6915504 B2 JP6915504 B2 JP 6915504B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- event
- transmission
- measurement
- format
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/283—Processing of data at an internetworking point of a home automation network
- H04L12/2836—Protocol conversion between an external network and a home network
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C17/00—Arrangements for transmitting signals characterised by the use of a wireless electrical link
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/565—Conversion or adaptation of application format or content
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Automation & Control Theory (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Health & Medical Sciences (AREA)
- Computer Security & Cryptography (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
- Selective Calling Equipment (AREA)
Description
本発明は、イベントの発生を検出するセンサ装置に関する。 The present invention relates to a sensor device that detects the occurrence of an event.
温度、湿度、照度、紫外線、圧力といった物理量を検出するセンサは、多種多様のものが開発されている。特に近年、多種のセンサを備えたセンサユニットを配置することで、職場や居住空間等の環境を複合的に検出し、検出した情報により多角的な情報分析と活用を行うことが考えらえている。 A wide variety of sensors have been developed that detect physical quantities such as temperature, humidity, illuminance, ultraviolet rays, and pressure. In particular, in recent years, it has been considered that by arranging sensor units equipped with various types of sensors, the environment such as workplaces and living spaces can be detected in a complex manner, and multifaceted information analysis and utilization can be performed based on the detected information. ..
このように測定対象の空間にセンサユニットを配置した場合、検出した情報を無線で取得できることが望ましい。例えば、Bluetooth(登録商標)で用いるアドバタイズパケッ
トに、測定部で測定されたデータをセンサ情報として格納するデータ処理部と、前記アドバタイズパケットを前記無線通信により送信する通信部とを備えるセンサデバイスが提案されている(特許文献1)。
When the sensor unit is arranged in the space to be measured in this way, it is desirable that the detected information can be acquired wirelessly. For example, a sensor device including a data processing unit that stores data measured by a measuring unit as sensor information in an advertisement packet used in Bluetooth (registered trademark) and a communication unit that transmits the advertised packet by wireless communication is proposed. (Patent Document 1).
特許文献1のように、測定されたデータをアドバタイズパケットに格納して送信する方式では、アドバタイズパケットに格納できるデータ量が限られているため、送信できるデータが制限されてしまう。このため、地震や火事等のイベントが発生し、詳細なデータが欲しい場合でも、所望のデータが得られるとは限らなかった。
In the method of storing the measured data in the advertisement packet and transmitting the data as in
本発明の一側面は、このような実情を鑑みてなされたものであり、その目的は、イベントの発生に応じて適切な情報の送信を可能にする技術を提供することである。 One aspect of the present invention has been made in view of such circumstances, and an object of the present invention is to provide a technique capable of transmitting appropriate information in response to the occurrence of an event.
本発明は、上述した課題を解決するために、以下の構成を採用する。
すなわち、本発明の一側面に係るセンサ装置は、
異なる種類の測定データを測定する複数のセンサからそれぞれ前記測定データを取得するデータ取得部と、
前記測定データが、イベントの発生に相当するイベント条件を満足したことをもって、前記イベントが発生したことを判定するイベント判定手段と、
前記測定データを所定のデータフォーマットで格納する送信データを送信する送信制御部と、を備え、
前記送信制御部が、前記イベントが発生していない場合と前記イベントが発生している場合とで前記送信データのデータフォーマットを異ならせる。
これにより前記センサ装置は、イベントが発生した場合には、送信データのデータフォーマットを変更し、イベント発生時に適切な測定データを送信できる。また、イベントの発生に応じたデータフォーマットを採用できるため、イベント発生時に、データを省略するなど、情報量を削減することなく送信データを送信することができる。
The present invention employs the following configuration in order to solve the above-mentioned problems.
That is, the sensor device according to one aspect of the present invention is
A data acquisition unit that acquires the measurement data from a plurality of sensors that measure different types of measurement data, and a data acquisition unit.
An event determination means for determining that an event has occurred when the measurement data satisfies the event conditions corresponding to the occurrence of the event.
A transmission control unit for transmitting transmission data that stores the measurement data in a predetermined data format is provided.
The transmission control unit makes the data format of the transmission data different depending on whether the event has occurred or the event has occurred.
As a result, the sensor device can change the data format of the transmission data when an event occurs and transmit appropriate measurement data when the event occurs. Further, since the data format corresponding to the occurrence of the event can be adopted, the transmission data can be transmitted without reducing the amount of information such as omitting the data when the event occurs.
また、前記センサ装置は、前記送信制御部が、前記センサ装置を検出するための標識信号に前記送信データを格納して送信してもよい。 Further, in the sensor device, the transmission control unit may store the transmission data in a sign signal for detecting the sensor device and transmit the data.
前記センサ装置は、前記イベントが発生した場合に、前記送信制御部が、前記イベントに応じた種類の測定データを含むデータフォーマットで、前記送信データを送信してもよい。 When the event occurs, the sensor device may transmit the transmission data in a data format in which the transmission control unit includes measurement data of a type corresponding to the event.
前記センサ装置は、前記イベントが発生していない場合に、前記送信制御部が、所定の種類の測定データを含む第一のデータフォーマットで前記送信データを送信し、前記イベントが発生した場合に、前記送信制御部が、前記第一のデータフォーマットと異なる種類の測定データを含む第二のデータフォーマットとした前記送信データと前記第一のデータフォーマットとした前記送信データとを時分割で送信してもよい。 In the sensor device, when the event does not occur, the transmission control unit transmits the transmission data in a first data format including a predetermined type of measurement data, and when the event occurs, the sensor device transmits the transmission data. The transmission control unit transmits the transmission data in the second data format including measurement data of a type different from the first data format and the transmission data in the first data format in a time-divided manner. May be good.
前記センサ装置は、前記送信制御部が、所定の種類の測定データを含む第一のデータフォーマットとした前記送信データと、前記第一のデータフォーマットとは異なる種類の測定データを含む第二のデータフォーマットとした前記送信データとを時分割で送信し、前記イベントが発生していない場合と前記イベントが発生している場合とで少なくとも前記第二のデータフォーマットとした送信データの送信頻度を異ならせてもよい。 In the sensor device, the transmission control unit uses the transmission data as the first data format including a predetermined type of measurement data, and the second data including the measurement data of a type different from the first data format. The transmitted data in the format is transmitted in a time-divided manner, and at least the transmission frequency of the transmitted data in the second data format is different between the case where the event does not occur and the case where the event occurs. You may.
前記センサ装置は、前記イベントが発生した場合に前記センサによる測定頻度を前記イベントが発生していない場合よりも高くさせる動作設定部を備え、
前記イベントが発生した場合に、前記動作設定部によって設定された測定タイミングで測定された複数の前記測定データを含むデータフォーマットで、前記送信データを送信してもよい。
The sensor device includes an operation setting unit that makes the measurement frequency by the sensor higher when the event occurs than when the event does not occur.
When the event occurs, the transmission data may be transmitted in a data format including a plurality of the measurement data measured at the measurement timing set by the operation setting unit.
前記センサ装置は、前記イベント判定手段が、前記センサ装置の故障の発生を前記イベントの発生として判定した場合に、前記送信制御部が、前記測定データを含むデータフォーマットとした送信データと、前記故障を示す旨のデータを含むデータフォーマットとを時分割で送信してもよい。 In the sensor device, when the event determination means determines the occurrence of a failure of the sensor device as the occurrence of the event, the transmission control unit uses the transmission data in a data format including the measurement data, and the failure. A data format including data indicating that the above may be transmitted in time division.
前記センサ装置は、複数の前記センサで測定した複数種類の測定データを所定数のデータフォーマットに振り分け、前記所定数のデータフォーマットとした送信データを周期的に送信してもよい。 The sensor device may distribute a plurality of types of measurement data measured by the plurality of sensors into a predetermined number of data formats, and periodically transmit transmission data in the predetermined number of data formats.
前記センサ装置は、前記センサで測定した測定データを記憶する記憶部を備え、
異なるタイミングで測定した複数の測定データを前記記憶部から読み出し、複数の当該測定データを含むデータフォーマットとした送信データを送信してもよい。
The sensor device includes a storage unit that stores measurement data measured by the sensor.
A plurality of measurement data measured at different timings may be read from the storage unit, and transmission data in a data format including the plurality of measurement data may be transmitted.
前記センサ装置は、前記イベントが発生した場合に前記センサによる測定頻度を前記イベントが発生していない場合よりも高くさせる動作設定部と、
前記センサで測定した測定データを記憶する記憶部とを備え、
前記イベントが発生した場合に、前記データ取得部が、取得した前記測定データを前記記憶部に記憶させ、
他の装置から送信要求を受けた場合に、前記送信制御部が、前記複数の測定データを前記記憶部から読み出して、当該測定データを含むデータフォーマットとした送信データを前記他の装置へ送信してもよい。
The sensor device includes an operation setting unit that causes the measurement frequency by the sensor to be higher when the event occurs than when the event does not occur.
A storage unit for storing measurement data measured by the sensor is provided.
When the event occurs, the data acquisition unit stores the acquired measurement data in the storage unit.
When a transmission request is received from another device, the transmission control unit reads the plurality of measurement data from the storage unit and transmits the transmission data in a data format including the measurement data to the other device. You may.
前記センサ装置は、前記標識信号が、ブルートゥース(登録商標)で用いるアドバタイズパケット又はビーコンパケットであってもよい。なお、具体的には、アドバタイズパケットは、Bluetooth Low Energy(以下、BLEとも称す)の規格で規定されたものである。 In the sensor device, the indicator signal may be an advertisement packet or a beacon packet used in Bluetooth (registered trademark). Specifically, the advertisement packet is defined by the standard of Bluetooth Low Energy (hereinafter, also referred to as BLE).
前記センサ装置は、前記イベントが発生した場合に他の装置との接続を確立する接続制御部を備え、
前記イベントが発生していない場合には、前記送信制御部が、前記送信データを前記標識信号に格納して送信し、前記イベントが発生した場合には、前記送信制御部が、前記接続制御部によって確立した接続を介して前記他の装置へ前記送信データを送信してもよい。
The sensor device includes a connection control unit that establishes a connection with another device when the event occurs.
When the event has not occurred, the transmission control unit stores the transmission data in the indicator signal and transmits the signal, and when the event occurs, the transmission control unit performs the connection control unit. The transmitted data may be transmitted to the other device via the connection established by.
なお、上記した課題を解決するための手段は、可能な限り組み合わせて使用することが可能である。 The means for solving the above-mentioned problems can be used in combination as much as possible.
本発明によれば、イベントの発生に応じて適切な情報の送信を可能にする技術を提供できる。 According to the present invention, it is possible to provide a technique capable of transmitting appropriate information in response to the occurrence of an event.
以下、本発明の一側面に係る実施形態を、図面に基づいて説明する。
§1.適用例
図1は、本実施形態における複合センサユニット1の設置例を示す図である。本実施形態では、測定対象としてのユーザ宅内に複数の複合センサユニット1を備え、この複数の複合センサユニット1がセンサシステム10を構成している。また、センサシステム10は、ユーザ端末2やゲートウェイ3を備えてもよい。複合センサユニット1は、検出したデータをユーザ端末2やゲートウェイ3へ送信する。例えば、ユーザ端末2がユーザ宅内に存在する場合、近距離無線通信によりユーザ端末2が直接複合センサユニット1からデータを受信する。また、ユーザ端末2がユーザ宅外に存在する場合、ゲートウェイ3が複合センサユニット1からデータを受信し、このデータをインターネット等のネットワークNを介してアプリケーションサーバ4へ送信し、アプリケーションサーバ4が、受信したデータを処理し、ネットワークNを介して処理結果をユーザ端末2へ送信する。なお、アプリケーションサーバ4は、必須の構成ではなく、ゲートウェイ3が、ネットワークNを介してユーザ端末2と接続し、複合センサユニット1から受信したデータをユーザ端末2へ送信してもよい。なお、本実施形態において、複合センサユニット1は、センサ装置の一形態である。
Hereinafter, embodiments relating to one aspect of the present invention will be described with reference to the drawings.
§1. Application Example FIG. 1 is a diagram showing an installation example of the
図2は、複合センサユニット1の構成を示すブロック図である。複合センサユニット1は、複数のセンサ1A〜1Qや、データ取得部12、イベント判定部13、動作設定部14、メモリ15、通信制御部16を一つのパッケージ内に備えている。
FIG. 2 is a block diagram showing the configuration of the
複数のセンサ1A〜1Qは、それぞれ測定対象について異なる種類の物理量を測定し、測定データを得るセンサであり、データ取得部12は、各センサ1A〜1Qから測定データを取得する。
The plurality of sensors 1A to 1Q are sensors that measure different types of physical quantities for each measurement target and obtain measurement data, and the
イベント判定部13は、複数のセンサ1A〜1Qのうちの少なくとも一部のセンサの出力値が、所定のイベントの発生に相当するイベント条件を満足したことをもって、前記所定のイベントが発生したと判定する。また、イベント判定部13は、前記複数のセンサ1A〜1Qのうち、所定イベントの発生に関連して発生し得るイベントである関連イベントの発生の判定に必要なセンサを含むセンサの出力値が、前記関連イベントの発生に相当する関連イベント条件を満足したことをもって、前記関連イベントが発生したと判定する。
The
動作設定部14は、イベントの発生の有無に応じて、前記複数のセンサ1A〜1Q動作を設定する。例えば、イベントが発生した場合に、イベントが発生していない場合と比べて各センサ1A〜1Qによる測定頻度を高く設定する。
The
通信制御部16は、ユーザ端末2や、ゲートウェイ3、他の複合センサユニット1といった他の装置へデータを送信する送信制御部の一例である。複合センサユニット1は、後述のようにブルートゥース(登録商標)等の無線通信規格に従って無線通信を行う通信モジュールを備え、通信制御部16は、この通信モジュールを用いて他の装置と通信を行う。例えば、通信制御部16は、センサ1A〜1Qによる測定データを所定のデータフォーマットとした送信データをブルートゥースのアドバタイズパケットに格納して送信する。なお、通信制御部16は、スキャンリクエストに対するスキャンレスポンスパケットに送
信データを格納して送信してもよい。以下、アドバタイズパケットのみで説明するが、以下の説明におけるアドバタイズパケットをスキャンレスポンスパケットに代えて送信データを送信してもよい。また、通信制御部16は、前記イベントが発生していない場合と前記イベントが発生している場合とで送信データのデータフォーマットを異ならせている。図3は、通信制御部16が送信する送信データのデータフォーマットを示す図である。本実施形態において、送信データのデータフォーマットとは、例えば、送信データに含むデータの種類や、送信タイミングを定義するものである。図3では、横軸に時間をとり、横軸と直交する太い実線が測定タイミングを示し、網掛けを付した矩形が送信データの送信タイミングを示している。なお、送信する送信データの違い、即ちデータフォーマットの違いを各矩形の網掛けの違いによって示している。
The
図3に示すように、イベントが発生していない場合、通信制御部16は、送信データを第一のフォーマットF1で送信している。ここで、第一のフォーマットF1は、温度、湿度、照度を含むものである。そして、イベント判定部13がセンサ1A〜1Qによる測定データに基づき地震等のイベントが発生したと判定した場合、通信制御部16は、第一のフォーマットと第二のフォーマットF2を交互に送信する。ここで、第二のフォーマットF2は、SI値や震度を含むものである。
As shown in FIG. 3, when no event has occurred, the
このように、本実施形態では、複合センサユニット1が、送信データをブルートゥースのアドバタイズパケットに格納して送信することで、ユーザ端末2が、複数の複合センサユニット1に各々接続しなくても各複合センサユニット1から送信データを受信できる。この場合、アドバタイズパケットを用いることで送信できる測定データのデータ量が制限されてしまうことになるが、本実施形態では、イベントの発生時に送信データのデータフォーマットを変え、当該イベントに応じたデータフォーマットで送信データを送信できる。このため、例えば地震の発生時に、SI値と震度を含む送信データを送信でき、イベントに応じた適切な送信データを送信できる。これにより、ユーザにとって、イベントの発生時に必要な情報を取得することができる。
As described above, in the present embodiment, the
§2.実施形態
(2−1)
以下に図3〜図8を用いて本発明に係る実施形態を説明する。なお、前述の適用例と同一の要素には同符号を付す等して再度の説明を省略する。
§2. Embodiment (2-1)
Hereinafter, embodiments according to the present invention will be described with reference to FIGS. 3 to 8. The same elements as those in the above application example are designated by the same reference numerals, and the description thereof will be omitted again.
図4は、センサ1A〜1Qの種類とデータ取得部12による信号処理の例を示す図である。図3に示すように、センサ1A〜1Qとしては、例えば、温度センサ、湿度センサ、絶対圧センサ、光センサ、色センサ(RGBセンサ)、紫外線センサ、音センサ(マイクロフォン)、熱センサ、風センサ(フローセンサ)、加速度センサ、ジャイロスコープ(ジャイロセンサ)、方位センサ、ガスセンサ、空気質センサ、CO2センサ、位置センサ、ひずみセンサ、赤外線センサ、磁気センサ、照度センサが挙げられる。なお、これに限らず、センサ1A〜1Qは、他のセンサであっても良い。また、データ取得部12が各センサ1A〜1Qからデータを取得した際の信号処理の例としては、これらのセンサ1A〜1Qで所定期間に測定して出力した出力値について、平均値、最大値、最小値、回数、積算値、分散、差分、変化量、周波数、スペクトルを求める処理が挙げられる。また、データ取得部12は、センサ1A〜1Qの出力値を所定のアルゴリズムで演算して演算結果を求める処理を行うものでも良い。
FIG. 4 is a diagram showing the types of sensors 1A to 1Q and an example of signal processing by the
図5は、イベント条件の説明図である。イベント判定部13は、対象期間において、対象センサの出力値がイベント値に該当する場合にイベント条件を満足した、即ちイベントが発生したと判定する。このイベント条件は複数設定されても良く、この場合、各イベント条件が重み付けされていても良い。
FIG. 5 is an explanatory diagram of event conditions. The
図5において、イベント値とは、イベントの発生を判定するための閾値や範囲、時間(スケジュール)である。この閾値は、イベントが発生したと判定するセンサの出力値そのものや、平均値、最大値、最小値、出力の回数、積算値、分散、差、変化率、周波数、スペクトルを特定する値である。対象とするセンサ1A〜1Qの出力値が、この閾値を超えた場合や、下回った場合に、イベントが発生したと判定する。同様に、範囲は、イベントが発生したと判定するセンサの出力値そのものや、平均値、最大値、最小値、出力の回数、積算値、分散、差、変化率、周波数、スペクトルを特定する範囲である。対象とするセンサ1A〜1Qの出力値が、この範囲内の場合や、範囲外の場合に、イベントが発生したと判定する。 In FIG. 5, the event value is a threshold value, a range, and a time (schedule) for determining the occurrence of an event. This threshold value is a value that specifies the output value itself of the sensor that determines that an event has occurred, the average value, the maximum value, the minimum value, the number of outputs, the integrated value, the variance, the difference, the rate of change, the frequency, and the spectrum. .. When the output values of the target sensors 1A to 1Q exceed or fall below this threshold value, it is determined that an event has occurred. Similarly, the range is the range that specifies the output value itself of the sensor that determines that an event has occurred, the average value, the maximum value, the minimum value, the number of outputs, the integrated value, the variance, the difference, the rate of change, the frequency, and the spectrum. Is. When the output values of the target sensors 1A to 1Q are within this range or outside the range, it is determined that an event has occurred.
また、イベント値として、イベント発生時刻(スケジュール)が設定されている場合、センサ1A〜1Qの出力値に関わらず、当該時刻にイベントが発生したと判定する。 When the event occurrence time (schedule) is set as the event value, it is determined that the event has occurred at that time regardless of the output values of the sensors 1A to 1Q.
対象期間は、所定の周期や、所定時刻など、イベントの発生を判定するためにセンサ1A〜1Qの出力値を取得する期間、即ちセンサ1A〜1Qによる測定を行わせる期間である。 The target period is a period in which the output values of the sensors 1A to 1Q are acquired in order to determine the occurrence of an event such as a predetermined cycle or a predetermined time, that is, a period in which the measurement by the sensors 1A to 1Q is performed.
対象センサは、センサ1A〜1Qのうち、イベントの発生を判定するために出力値を用いるセンサ、即ちイベントの発生を判定するために必要なセンサである。対象センサは、単一のセンサ又は複数のセンサを設定できる。また、複数のセンサを対象センサとした場合、全ての対象センサによる出力値がイベント値に該当した場合にイベントが発生したと判定するのか、何れかの対象センサによる出力値がイベント値に該当した場合にイベントが発生したと判定するのかを特定しても良い。また、通信制御部16をセンサの一つとし、対象センサとして通信制御部16を指定し、イベント値として通信品質や通信回数を用いるようにしても良い。
The target sensor is a sensor 1A to 1Q that uses an output value to determine the occurrence of an event, that is, a sensor required to determine the occurrence of an event. The target sensor can be set as a single sensor or a plurality of sensors. In addition, when multiple sensors are used as target sensors, it is judged that an event has occurred when the output values of all the target sensors correspond to the event values, or the output values of any of the target sensors correspond to the event values. In some cases, it may be specified whether the event is determined to have occurred. Further, the
重みは、複数のイベント条件の優先度を特定する係数であり、例えば、重み係数の大きいものほど、イベントの優先順位を高くすることもできる。 The weight is a coefficient that specifies the priority of a plurality of event conditions. For example, the larger the weight coefficient, the higher the priority of the event.
図6は、複合センサユニット1や、ユーザ端末2、ゲートウェイ3、アプリケーションサーバ4といったコンピュータ(情報処理装置)のハードウェア構成を示す図である。
FIG. 6 is a diagram showing a hardware configuration of a computer (information processing device) such as a
コンピュータ100は、図6に示すように、例えば、CPU111にバスを介して接続されたメモリ112,入力装置113,出力装置114,及び通信インタフェース(通信IF)115を含む。
As shown in FIG. 6, the
メモリ112は、主記憶装置と補助記憶装置とを含む。主記憶装置は、CPU111の作業領域,プログラムやデータの記憶領域,通信データのバッファ領域として使用される。主記憶装置は、例えば、Random Access Memory(RAM),或いはRAMとRead Only Memory(ROM)との組み合わせで形成される。
The
補助記憶装置は、CPU111によって実行されるプログラム,及びプログラムの実行に際して使用されるデータを記憶する。補助記憶装置は、例えば、ハードディスクドライブ(HDD),Solid State Drive(SSD),フラッシュメモリ,Electrically Erasable Programmable Read-Only Memory(EEPROM)などである。また、補助記憶装置は、コンピュータ100に対して着脱自在な可搬性記憶媒体を含む。可搬性記憶媒体は、例えばUniversal Serial Bus(USB)メモリである。また、補助記憶装置は、CD−ROMやDVD−ROM,DVD−Rなどのディスク記憶媒体及びディスク記憶媒体のドライブ装置を含む。ディスク記憶媒体は可搬性記憶媒体の一つである。
The auxiliary storage device stores the program executed by the
入力装置113は、コンピュータ100に情報やデータを入力するために使用される。入力装置113は、例えば、ボタン、キー、マウスなどのポインティングデバイス,タッチパネル、カメラ、バーコードリーダ、スキャナ、NFCによるICチップの読取装置などを含む。入力装置113は、マイクロフォンのような音声入力装置を含み得る。
The
出力装置114は、情報やデータを出力する。出力装置は、例えば表示装置、プリンター、記憶メディアへの書き込み装置、NFCによるICチップの書き込み装置等である。出力装置114は、スピーカのような音声出力装置を含み得る。通信IF115は、ネットワークに接続され、他の装置との通信を行うためのインタフェースである。通信IF115は、例えばLocal Area Network(LAN)カードである。
The
CPU111は、本例において処理装置に相当する。CPU111は、MPU(Micro Processor Unit)、マイクロプロセッサ、プロセッサとも呼ばれる。CPU111は、単一のプロセッサに限定される訳ではなく、マルチプロセッサ構成であってもよい。また、単一のソケットで接続される単一のCPUがマルチコア構成を有していても良い。上記各部の少なくとも一部の処理は、CPU以外のプロセッサ、例えば、Digital Signal Processor(DSP)、Graphics Processing Unit(GPU)、数値演算プロセッサ、ベクトルプロセッサ、画像処理プロセッサ等の専用プロセッサで行われても良い。また、上記各部の少なくとも一部の処理は、集積回路(IC)、その他のデジタル回路であっても良い。また、上記各部の少なくとも一部にアナログ回路が含まれても良い。集積回路は、LSI,Application Specific Integrated Circuit(ASIC),プログラマブルロジックデバイス(PL
D)を含む。PLDは、例えば、Field-Programmable Gate Array(FPGA)を含む。上記各
部は、プロセッサと集積回路との組み合わせであっても良い。組み合わせは、例えば、MCU(Micro Controller Unit),SoC(System-on-a-chip),システムLSI,チッ
プセットなどと呼ばれる。
The
D) is included. PLD includes, for example, a Field-Programmable Gate Array (FPGA). Each of the above parts may be a combination of a processor and an integrated circuit. The combination is called, for example, an MCU (Micro Controller Unit), a SoC (System-on-a-chip), a system LSI, a chipset, or the like.
CPU111は、補助記憶装置に記憶されたプログラムを主記憶装置にロードして実行する。複合センサユニット1であれば、CPU111は、データ取得部12、イベント判定部13、動作設定部14、メモリ15、通信制御部16として動作する。
The
図7は、複合センサユニット1が、各センサ1A〜1Qにより測定を行い、測定結果を送信する処理の流れを示す図である。複合センサユニット1は、電源が投入された場合や測定の開始が指示された場合に、図7の処理を開始する。先ず、複合センサユニット1は、測定タイミングに達したか否かを判定する(ステップS10)。この測定タイミングは、例えば1秒毎など、所定の時間間隔で測定するように予め設定する。なお、図7の例では、測定タイミングに達したか否かの判定処理を一つだけ示したが、各センサ1A〜1Qをそれぞれ別のタイミングで測定してもよい。
FIG. 7 is a diagram showing a flow of processing in which the
ステップS10で肯定判定であれば、各センサ1A〜1Qが測定を行い、データ取得部12が各センサ1A〜1Qから測定データを取得する(ステップS20)。なお、ステップS10で否定判定であれば、複合センサユニット1は、ステップS20を実行せずにステップS30へ移行する。
If the determination is affirmative in step S10, the sensors 1A to 1Q perform the measurement, and the
ステップS30にて、複合センサユニット1は、イベントが発生したか否かを判定する。ステップS30で否定判定であれば、複合センサユニット1は、次に送信タイミングに達したか否かを判定する(ステップS40)。ここで送信タイミングは、例えば318.75ms毎など、所定の時間間隔で送信するように予め設定する。なお、本実施形態では、送信データをBLEのアドバタイズパケットに格納して所定の間隔で送信する。
In step S30, the
ステップS40で否定判定の場合、複合センサユニット1は、図7の処理を終了し、肯定判定の場合、複合センサユニット1は、第一のフォーマットF1で送信データを送信する(ステップS50)。ここで第一のフォーマットとした送信データは、図3に示すように測定Noや、フォーマットNo、温度、湿度、照度を含む構成となっている。なお、測定Noは、例えば、測定タイミングを特定するシリアル番号等の識別情報である。また、フォーマットNoは、例えば送信データのフォーマットを識別する識別情報である。フォーマットNoが”1”であれば、第一のフォーマットF1であることを示している。また、第一のフォーマットF1は、測定データの種類として、温度、湿度、照度を含む構成である。
In the case of a negative determination in step S40, the
一方、ステップS30で肯定判定であれば、複合センサユニット1は、ステップS40と同様に送信タイミングに達したか否かを判定する(ステップS60)。なお、本実施形態の複合センサユニット1は、イベントが発生した場合、第一のフォーマットF1と第二のフォーマットF2とを交互に送信するため、第二のフォーマットF2の送信後、所定の時間が経過した場合に、第一のフォーマットF1の送信タイミングに達したと判定する。ステップS60で肯定判定の場合、複合センサユニット1は、第一のフォーマットF1で送信データを送信する(ステップS70)。なお、ステップS60で否定判定の場合、複合センサユニット1は、ステップS70を実行せずにステップS80へ移行する。
On the other hand, if the determination is affirmative in step S30, the
そして、複合センサユニット1は、ステップS40と同様に送信タイミングに達したか否かを判定する(ステップS80)。なお、本実施形態の複合センサユニット1は、第一のフォーマットF1の送信後、所定の時間が経過した場合に、第二のフォーマットF2の送信タイミングに達したと判定する。ステップS80で否定判定の場合、複合センサユニット1は、図7の処理を終了し、肯定判定の場合、複合センサユニット1は、第二のフォーマットF2で送信データを送信する(ステップS90)。なお、複合センサユニット1は、電源がOFFされた場合や、測定の停止が指示されるまで、図7の処理を繰り返し実行する。
Then, the
ここで第二のフォーマットとした送信データは、図3に示すようにフォーマットNoが”2”であり、測定データの種類として、SI値や、震度を含む構成である。図8は、アドバタイジングパケットのフレームフォーマットを示す図である。複合センサユニット1の通信制御部16は、ステップS50、S70、S90にて第一のフォーマットF1或は第二のフォーマットF2とした送信データを図8に示すアドバタイズパケットにおけるPDUのペイロード部に格納する。例えば、アドバタイズパケットのペイロード部に送信データを格納して送信する。これによりアドバタイズパケットを受信したユーザ端末2が、ペイロード部のフォーマットNoを参照して、どのような種類の測定データが格納されているかを認識することができる。これにより例えば、フォーマットNoが”1”であれば、アドバタイズパケット内の測定データを温度、湿度、照度のデータとして取得し、フォーマットNoが”2”であれば、アドバタイズパケット内の測定データをSI値、震度のデータとして取得することができる。
As shown in FIG. 3, the transmission data in the second format has a format number of "2" and includes a SI value and a seismic intensity as the type of measurement data. FIG. 8 is a diagram showing a frame format of the advertising packet. The
なお、本実施形態では、イベントが発生した場合に、第二のフォーマットで送信データを送る例を示したが、イベント後に送信する送信データのフォーマットは、イベントに応じて決定してもよい。例えば、イベントとして地震が発生した場合は、第二のフォーマットF2、火事が発生した場合は第nのフォーマットFn、停電が発生した場合は第mのフォーマットFmなどのように、イベントとフォーマットの対応関係をメモリに記憶させておき、通信制御部16がこの対応関係に基づいて、発生したイベントと対応するフォーマットで送信データを送信してもよい。
In the present embodiment, an example of sending transmission data in the second format when an event occurs is shown, but the format of the transmission data to be transmitted after the event may be determined according to the event. For example, when an earthquake occurs as an event, the second format F2, when a fire occurs, the nth format Fn, when a power failure occurs, the mth format Fm, etc. The relationship may be stored in a memory, and the
以上のように本実施形態では、イベントが発生していない場合には、第一のフォーマッ
トF1で送信データを送信し、イベントが発生した場合には第一のフォーマットF1とした送信データと第二のフォーマットF2とした送信データを交互に送信している。例えば、本実施形態では、イベントが発生した場合、318.75ms毎のタイムスロットを時分割して、第一のフォーマットF1とした送信データと第二のフォーマットF2とした送信データと交互に送信している。
As described above, in the present embodiment, when the event does not occur, the transmission data is transmitted in the first format F1, and when the event occurs, the transmission data in the first format F1 and the second format The transmission data in the format F2 of the above is transmitted alternately. For example, in the present embodiment, when an event occurs, the time slot every 318.75 ms is time-divisioned, and the transmission data in the first format F1 and the transmission data in the second format F2 are alternately transmitted. ing.
このように本実施形態によれば、イベントが発生した場合には、送信データのフォーマットを変更し、発生した当該イベントに応じた適切な測定データを送信できる。このため、一部のデータを省略するなど、情報量を削減することなく送信することができる。 As described above, according to the present embodiment, when an event occurs, the format of the transmission data can be changed and appropriate measurement data corresponding to the event can be transmitted. Therefore, it is possible to transmit without reducing the amount of information such as omitting some data.
また、本実施形態では、送信データを定期的に送信しているため、ユーザ端末2やゲートウェイ3が所定のタイミングで送信データを受信できなかった場合、複合センサユニットに異常が起きたことを検出できる。
Further, in the present embodiment, since the transmission data is periodically transmitted, if the
(2−2)
以下に図9〜図10を用い、イベントの発生後、特定のフォーマットの送信頻度を変更する実施形態を説明する。なお、前述の適用例や実施形態(2−1)と同一の要素には同符号を付す等して再度の説明を省略する。
(2-2)
Hereinafter, embodiments in which the transmission frequency of a specific format is changed after the occurrence of an event will be described with reference to FIGS. 9 to 10. The same elements as those in the above-mentioned application examples and the embodiment (2-1) are designated by the same reference numerals, and the description thereof will be omitted again.
図9は、実施形態(2−2)における送信データのデータフォーマットを示す図、図10は、実施形態(2−2)の複合センサユニット1が、各センサ1A〜1Qにより測定を行い、測定結果を送信する処理の流れを示す図である。
FIG. 9 is a diagram showing a data format of transmission data in the embodiment (2-2), and FIG. 10 is a diagram in which the
複合センサユニット1は、図10の処理を開始すると、先ず、測定タイミングに達したか否かを判定する(ステップS100)。この測定タイミングは、例えば1秒毎など、所定の時間間隔で測定するように予め設定する。なお、図10の例では、測定タイミングに達したか否かの判定処理を一つだけ示したが、各センサ1A〜1Qをそれぞれ別のタイミングで測定してもよい。
When the
ステップS100で肯定判定であれば、各センサ1A〜1Qが測定を行い、データ取得部12が各センサ1A〜1Qから測定データを取得する(ステップS105)。なお、ステップS100で否定判定であれば、複合センサユニット1は、ステップS105を実行せずにステップS110へ移行する。
If the determination is affirmative in step S100, each sensor 1A to 1Q performs measurement, and the
ステップS110にて、複合センサユニット1は、イベントが発生したか否かを判定する。ステップS110で否定判定であれば、複合センサユニット1は、特定のフォーマットとした送信データの頻度を低頻度に設定する(ステップS120)。本実施形態では、第二のフォーマットとした送信データの頻度をイベントが発生した場合よりも低く設定している。例えば、図9に示すように第一のフォーマットとした送信データの送信頻度と、第二のフォーマットとした送信データの送信頻度とを1:1とする。
In step S110, the
そして、複合センサユニット1は、ステップS120で設定された頻度に基づいて、第二のフォーマットとした送信データの送信タイミングに達したか否かを判定する(ステッ
プS130)。ステップS130で肯定判定であれば、複合センサユニット1は、第二の
フォーマットとした送信データを送信し(ステップS140)、ステップS130で否定判定であれば、複合センサユニット1は、第一のフォーマットとした送信データを送信する(ステップS150)。なお、複合センサユニット1は、電源がOFFされた場合や、測定の停止が指示されるまで、図10の処理を繰り返し実行する。このため、複合センサユニット1は、イベントが発生していない場合に、ステップS130にて肯定判定と否定判定を交互に行い、第一のフォーマットとした送信データと、第二のフォーマットとした送信
データとを交互に送信する。
Then, the
一方、イベントが発生し、ステップ110で肯定判定した場合、複合センサユニット1は、特定のフォーマットとした送信データの頻度を高頻度に設定する(ステップS160)。本実施形態では、第二のフォーマットとした送信データの頻度をイベントが発生した場合よりも高く設定している。例えば、図9に示すように第一のフォーマットとした送信データの送信頻度と、第二のフォーマットとした送信データの送信頻度とを1:2とする。
On the other hand, when an event occurs and an affirmative determination is made in step 110, the
そして、複合センサユニット1は、ステップS160で設定された頻度に基づいて、第二のフォーマットとした送信データの送信タイミングに達したか否かを判定する(ステッ
プS170)。ステップS170で肯定判定であれば、複合センサユニット1は、第二の
フォーマットとした送信データを送信し(ステップS180)、ステップS170で否定判定であれば、複合センサユニット1は、第一のフォーマットとした送信データを送信する(ステップS190)。このようにイベントが発生した場合、複合センサユニット1は、ステップS170にて否定判定と肯定判定とを1:2で行い、第一のフォーマットとした送信データと、第二のフォーマットとした送信データとを1:2の頻度で送信する。
Then, the
以上のように本実施形態では、イベントが発生した場合には、イベントが発生していない場合と比べて第二のフォーマットF2とした送信データの送信頻度を高くしている。これにより、イベントが発生した場合には、発生した当該イベントに応じた測定データをより多く取得できる。なお、本実施形態では、イベントの発生後、第二のフォーマットとした測定データの送信頻度を高めることにより、第一のフォーマットとした測定データの送信頻度を低くしたが、本実施形態はこれに限定されるものではない。例えば、イベントの発生後、アドバタイズパケットの送信頻度をイベントが発生していない場合と比べて高める、即ち送信間隔を短くすることにより、第一のフォーマットとした測定データの送信頻度を低くせずに、第二のフォーマットとした測定データの送信頻度を高めてもよい。 As described above, in the present embodiment, when an event occurs, the transmission frequency of the transmission data in the second format F2 is higher than in the case where the event does not occur. As a result, when an event occurs, more measurement data corresponding to the event that has occurred can be acquired. In the present embodiment, after the event occurs, the frequency of transmission of the measurement data in the second format is increased to reduce the frequency of transmission of the measurement data in the first format. It is not limited. For example, after the event occurs, the transmission frequency of the advertisement packet is increased as compared with the case where the event does not occur, that is, the transmission interval is shortened, so that the transmission frequency of the measurement data in the first format is not reduced. , The frequency of transmission of the measurement data in the second format may be increased.
(2−3)
以下に図11〜図12を用い、イベントの発生後、測定データの測定回数を増加させた上で、増加させた測定データを含むフォーマットとした送信データを送信する実施形態を説明する。なお、前述の適用例や実施形態と同一の要素には同符号を付す等して再度の説明を省略する。
(2-3)
Hereinafter, an embodiment in which transmission data in a format including the increased measurement data is transmitted after increasing the number of measurements of the measurement data after the occurrence of the event will be described with reference to FIGS. 11 to 12. The same elements as those in the above-mentioned application examples and embodiments are designated by the same reference numerals, and the description thereof will be omitted again.
図11は、実施形態(2−3)における送信データのデータフォーマットを示す図、図12は、実施形態(2−3)の複合センサユニット1が、各センサ1A〜1Qにより測定を行い、測定結果を送信する処理の流れを示す図である。
FIG. 11 is a diagram showing a data format of transmission data in the embodiment (2-3), and FIG. 12 is a diagram in which the
複合センサユニット1は、図12の処理を開始すると、先ず、イベントが発生したか否かを判定する(ステップS200)。ステップS200で否定判定であれば、複合センサユニット1は、各センサ1A〜1Qによる測定間隔を標準の間隔とし、イベントが発生した場合と比べて測定頻度を低くするように設定する(ステップS205)。次に複合センサユニット1は、ステップS205で設定した測定頻度に基づき、測定タイミングに達したか否かを判定する(ステップS210)。この測定タイミングは、例えば1秒毎など、所定の時間間隔で測定するように予め設定する。なお、図12の例では、測定タイミングに達したか否かの判定処理を一つだけ示したが、各センサ1A〜1Qをそれぞれ別のタイミングで測定してもよい。
When the
ステップS210で肯定判定であれば、各センサ1A〜1Qが測定を行い、データ取得部12が各センサ1A〜1Qから測定データを取得する(ステップS215)。なお、ステップS210で否定判定であれば、複合センサユニット1は、ステップS215を実行せ
ずにステップS220へ移行する。
If the determination is affirmative in step S210, the sensors 1A to 1Q perform the measurement, and the
ステップS220にて、複合センサユニット1は、送信データの送信タイミングに達したか否かを判定する。ステップS220で否定判定の場合、複合センサユニット1は、図12の処理を終了し、肯定判定の場合、複合センサユニット1は、第一のフォーマットF1で送信データを送信する(ステップS225)。
In step S220, the
一方、ステップS200で肯定判定であれば、複合センサユニット1は、各センサ1A〜1Qによる測定間隔を標準よりも短くし、イベントが発生していない場合と比べて測定頻度を高くするように設定する(ステップS235)。次に複合センサユニット1は、ステップS235で設定した測定頻度に基づき、測定タイミングに達したか否かを判定する(
ステップS240)。この測定タイミングは、例えば250ms毎など、所定の時間間隔
で測定するように予め設定する。
On the other hand, if the determination is affirmative in step S200, the
Step S240). This measurement timing is set in advance so as to measure at predetermined time intervals, for example, every 250 ms.
ステップS240で肯定判定であれば、各センサ1A〜1Qが測定を行い、データ取得部12が各センサ1A〜1Qから測定データを取得する(ステップS245)。なお、ステップS240で否定判定であれば、複合センサユニット1は、ステップS245を実行せずにステップS250へ移行する。
If the determination is affirmative in step S240, each sensor 1A to 1Q makes a measurement, and the
ステップS250にて、複合センサユニット1は、第一のフォーマットとした送信データの送信タイミングに達したか否かを判定する。ステップS250で肯定判定であれば、複合センサユニット1は、第一のフォーマットとした送信データを送信し(ステップS2
55)、ステップS250で否定判定であれば、複合センサユニット1は、第三のデータ
フォーマットF3とした送信データを送信する(ステップS260)。ここで、第三のデータフォーマットF3とした送信データは、図11に示すように測定Noや、フォーマットNo、複数の測定タイミングで測定した温度データを含む構成となっている。図11の例において、第三のデータフォーマットF3は、250msの間隔で測定した4回分の温度データを含む構成である。
In step S250, the
55) If a negative determination is made in step S250, the
以上のように本実施形態では、イベントが発生した場合には、イベントが発生していない場合と比べてセンサによる測定頻度を高くし、複数の測定タイミングで測定した測定データを含む第三のデータフォーマットF3とした送信データを送信している。これにより、イベントが発生した場合には、発生した当該イベントに応じた測定データをより多く取得できる。 As described above, in the present embodiment, when an event occurs, the measurement frequency by the sensor is increased as compared with the case where the event does not occur, and the third data including the measurement data measured at a plurality of measurement timings. The transmission data in format F3 is transmitted. As a result, when an event occurs, more measurement data corresponding to the event that has occurred can be acquired.
(2−4)
以下に図13〜図14を用い、複合センサユニット1に故障が発生した場合に、故障を示す旨のデータを含むデータを送信する実施形態を説明する。なお、前述の適用例や実施形態と同一の要素には同符号を付す等して再度の説明を省略する。
(2-4)
Hereinafter, an embodiment in which data including data indicating a failure is transmitted when a failure occurs in the
複合センサユニット1は、図14の処理を開始すると、先ず、測定タイミングに達したか否かを判定する(ステップS310)。この測定タイミングは、例えば1秒毎など、所定の時間間隔で測定するように予め設定する。なお、図14の例では、測定タイミングに達したか否かの判定処理を一つだけ示したが、各センサ1A〜1Qをそれぞれ別のタイミングで測定してもよい。
When the
ステップS310で肯定判定であれば、各センサ1A〜1Qが測定を行い、データ取得部12が各センサ1A〜1Qから測定データを取得する(ステップS320)。なお、ステップS310で否定判定であれば、複合センサユニット1は、ステップS320を実行せずにステップS330へ移行する。
If the determination is affirmative in step S310, the sensors 1A to 1Q perform the measurement, and the
ステップS330にて、複合センサユニット1は、故障が発生したか否かをイベント判定部13によりイベントが発生したか否かとして判定する。例えば、イベント判定部13は、各センサ1A〜1Qによる測定データの値が、取得できない場合や、規定の範囲を超えている場合に、当該センサ1A〜1Qの故障と判定する。ステップS330で否定判定であれば、複合センサユニット1は、次に送信タイミングに達したか否かを判定する(ス
テップS340)。
In step S330, the
ステップS340で否定判定の場合、複合センサユニット1は、図14の処理を終了し、肯定判定の場合、複合センサユニット1は、第一のフォーマットF1で送信データを送信する(ステップS350)。
一方、ステップS330で肯定判定であれば、複合センサユニット1は、ステップS340と同様に送信タイミングに達したか否かを判定する(ステップS360)。ステップS360で肯定判定の場合、複合センサユニット1は、第一のフォーマットF1で送信データを送信する(ステップS370)。なお、ステップS360で否定判定の場合、複合センサユニット1は、ステップS370を実行せずにステップS380へ移行する。
In the case of a negative determination in step S340, the
On the other hand, if the determination is affirmative in step S330, the
そして、複合センサユニット1は、ステップS340と同様に送信タイミングに達したか否かを判定する(ステップS380)。ステップS380で否定判定の場合、複合センサユニット1は、図14の処理を終了し、肯定判定の場合、複合センサユニット1は、第四のデータフォーマットF4で送信データを送信する(ステップS390)。なお、複合センサユニット1は、電源がOFFされた場合や、測定の停止が指示されるまで、図14の処理を繰り返し実行する。
Then, the
ここで第四のデータフォーマットとした送信データは、図13に示すようにフォーマットNoが”4”であり、複合センサユニット1の故障を示す旨のデータを含む構成である。通信制御部16は、図13に示すように、ステップS330で測定データが異常であったセンサについては故障を示す前記データの値を”1”とし、測定データが異常でなかったセンサについては故障を示す前記データの値を”0”とする。
Here, the transmission data used as the fourth data format has a format No. "4" as shown in FIG. 13, and includes data indicating a failure of the
以上のように本実施形態では、故障が発生した場合には、故障を示すデータを送信することで複合センサユニット1が正常に稼働しているか否かを示すことができ、データの信頼性を確保できる。
As described above, in the present embodiment, when a failure occurs, it is possible to indicate whether or not the
(2−5)
以下に図15〜図16を用い、センサで測定した複数種類の測定データを所定数のデータフォーマットに振り分けて送信する実施形態を説明する。なお、前述の適用例や実施形態と同一の要素には同符号を付す等して再度の説明を省略する。
(2-5)
Hereinafter, embodiments in which a plurality of types of measurement data measured by the sensor are distributed into a predetermined number of data formats and transmitted will be described with reference to FIGS. 15 to 16. The same elements as those in the above-mentioned application examples and embodiments are designated by the same reference numerals, and the description thereof will be omitted again.
複合センサユニット1は、図16の処理を開始すると、先ず、測定タイミングに達したか否かを判定する(ステップS400)。この測定タイミングは、例えば1秒毎など、所定の時間間隔で測定するように予め設定する。なお、図16の例では、測定タイミングに達したか否かの判定処理を一つだけ示したが、各センサ1A〜1Qをそれぞれ別のタイミングで測定してもよい。
When the
ステップS400で肯定判定であれば、各センサ1A〜1Qが測定を行い、データ取得部12が各センサ1A〜1Qから測定データを取得する(ステップS405)。なお、本実施形態では、各センサ1A〜1Qから、温度、湿度、照度、SI値、震度、加速度X、加速度Y、加速度Zを取得し、これを図15に示すように第一のフォーマットF1と、第二のフォーマットF2と、第五のデータフォーマットF5との三つのフォーマットに振り分
けて送信する。ここで、第五のデータフォーマットは、測定データとして、加速度X、加速度Y、加速度Zを含むものである。
If the determination is affirmative in step S400, each sensor 1A to 1Q makes a measurement, and the
ステップS400で否定判定であれば、複合センサユニット1は、ステップS405を実行せずにステップS410へ移行する。
If the negative determination is made in step S400, the
ステップS410にて、複合センサユニット1は、イベントが発生したか否かを判定する。ステップS410で否定判定であれば、複合センサユニット1は、次に第一のフォーマットとした送信データの送信タイミングに達したか否かを判定する(ステップS415)。例えば本実施形態では、第一のフォーマットF1と、第二のフォーマットF2と、第五のデータフォーマットF5とを周期的に送信するため、第五のデータフォーマットF5の送信後、所定の時間(例えば152.5ms)が経過した場合に、第一のフォーマットF1の送信タイミングに達したと判定する。
In step S410, the
ステップS415で肯定判定であれば、複合センサユニット1は、第一のフォーマットF1で送信データを送信する(ステップS420)。
If the determination is affirmative in step S415, the
一方、ステップS415で否定判定であれば、複合センサユニット1は、ステップS420を実行せずにステップS425へ移行する。
On the other hand, if the negative determination is made in step S415, the
ステップS425にて、複合センサユニット1は、第二のフォーマットとした送信データの送信タイミングに達したか否かを判定する。例えば本実施形態では、第一のフォーマットF1の送信後、所定の時間(例えば152.5ms)が経過した場合に、第二のフォーマットF2とした送信データの送信タイミングに達したと判定する。
In step S425, the
ステップS425で肯定判定であれば、複合センサユニット1は、第二のフォーマットF2で送信データを送信する(ステップS430)。
If the determination is affirmative in step S425, the
一方、ステップS425で否定判定であれば、複合センサユニット1は、ステップS430を実行せずにステップS435へ移行する。
On the other hand, if the negative determination is made in step S425, the
ステップS435にて、複合センサユニット1は、第五のデータフォーマットF5とした送信データの送信タイミングに達したか否かを判定する。例えば本実施形態では、第二のフォーマットF2の送信後、所定の時間(例えば152.5ms)が経過した場合に、第五のデータフォーマットF5とした送信データの送信タイミングに達したと判定する。
In step S435, the
ステップS435で肯定判定であれば、複合センサユニット1は、第五のデータフォーマットF5で送信データを送信する(ステップS440)。
If the determination is affirmative in step S435, the
一方、ステップS435で否定判定であれば、図16の処理を終了する。なお、複合センサユニット1は、電源がOFFされた場合や、測定の停止が指示されるまで、図16の処理を繰り返し実行する。
On the other hand, if a negative determination is made in step S435, the process of FIG. 16 ends. The
また、イベントが発生し、ステップS410で肯定判定となった場合、複合センサユニット1は、第二のフォーマットとした送信データの送信タイミングに達したか否かを判定する(ステップS445)。例えば本実施形態では、イベントが発生した場合、第二のフォーマットF2と第五のデータフォーマットF5を交互に送信するため、第五のデータフォーマットF5の送信後、所定の時間(例えば152.5ms)が経過した場合に、第二のフォーマットF2とした送信データの送信タイミングに達したと判定する。
Further, when an event occurs and a positive determination is made in step S410, the
ステップS445で肯定判定であれば、複合センサユニット1は、第二のフォーマットF2で送信データを送信する(ステップS450)。
If the determination is affirmative in step S445, the
一方、ステップS445で否定判定であれば、複合センサユニット1は、ステップS450を実行せずにステップS455へ移行する。
On the other hand, if the negative determination is made in step S445, the
そして、ステップS455にて、複合センサユニット1は、第五のデータフォーマットF5とした送信データの送信タイミングに達したか否かを判定する。例えば第二のフォーマットF2の送信後、所定の時間(例えば152.5ms)が経過した場合に、第五のデータフォーマットF5とした送信データの送信タイミングに達したと判定する。
Then, in step S455, the
ステップS455で肯定判定であれば、複合センサユニット1は、第五のデータフォーマットF5で送信データを送信する(ステップS460)。
If the determination is affirmative in step S455, the
一方、ステップS455で否定判定であれば、図16の処理を終了する。 On the other hand, if a negative determination is made in step S455, the process of FIG. 16 ends.
以上のように本実施形態では、各センサ1A〜1Qから取得した測定データが、一つのアドバタイズパケットに格納できない場合でも、これらの測定データを所定数のデータフォーマットに振り分けて、この所定数のデータフォーマットとした送信データを周期的に送信している。これにより、多種類の測定データをアドバタイズパケットで送信できるようにしている。また、イベントが発生した場合には、送信するデータフォーマットの種類を絞ることで、発生したイベントに応じた測定データの送信頻度を高めすことができる。これにより、イベントの発生時に必要な測定データを受信側の装置で受信し損なうことを抑制できる。 As described above, in the present embodiment, even if the measurement data acquired from each sensor 1A to 1Q cannot be stored in one advertisement packet, these measurement data are distributed to a predetermined number of data formats, and the predetermined number of data is distributed. The transmitted data in the format is transmitted periodically. This makes it possible to transmit various types of measurement data in advertisement packets. In addition, when an event occurs, the frequency of transmission of measurement data according to the event can be increased by narrowing down the types of data formats to be transmitted. As a result, it is possible to prevent the device on the receiving side from failing to receive the necessary measurement data when an event occurs.
(2−6)
以下に図17を用い、受信側装置が、複数の複合センサユニット1から送信データを受信する実施形態を説明する。なお、前述の適用例や実施形態と同一の要素には同符号を付す等して再度の説明を省略する。
(2-6)
Hereinafter, an embodiment in which the receiving side device receives transmission data from the plurality of
図17は、ユーザ端末2やゲートウェイ3等の受信側装置が、複数(例えば、4つ)の複合センサユニット1(1−1,1−2,1−3,1−4)から受信する例を示している。各複合センサユニット1(1−1,1−2,1−3,1−4)は、例えば250ms毎に測定を行い、これら4回分の測定データを含む第二のデータフォーマットで1000ms毎に送信データを送信する。この場合、各複合センサユニット1(1−1,1−2,1−3,1−4)は、それぞれ、アドバタイジングパケットを送信するタイミングを250msずつ異らせて、各複合センサユニット1(1−1,1−2,1−3,1−4)から送信するアドバタイジングパケットの送信タイミングを異ならせても良い。
FIG. 17 shows an example in which a receiving device such as a
また、各複合センサユニット1(1−1,1−2,1−3,1−4)は、センサ1A〜1Qから測定データを取得する毎に測定データをメモリに記憶し、受信側装置と接続した後に、この接続した受信側装置へ送信データを送信してもよい。この場合、例えば、各複合センサユニット(ペリフェラル)1から送信されたアドバタイズパケットに基づいて、ユーザ端末2やゲートウェイ3等の受信側装置(セントラル)が、各複合センサユニット1に対して接続を要求し、複合センサユニット1と受信側装置との間で接続を確立する。なお、本実施形態において、複合センサユニット1の通信制御部16は、接続を行うための接続制御装置の一形態である。接続を確立した受信側装置は、順次送信データを要求して、複合センサユニット1から送信データを取得する。
In addition, each composite sensor unit 1 (1-1, 1-2, 1-3, 1-4) stores the measurement data in the memory each time the measurement data is acquired from the sensors 1A to 1Q, and together with the receiving side device. After the connection, the transmission data may be transmitted to the connected receiving device. In this case, for example, the receiving side device (central) such as the
このように、本実施形態によれば、複数の複合センサユニット1から受信側装置へ測定
データを送信できる。
As described above, according to the present embodiment, the measurement data can be transmitted from the plurality of
(2−7)
以下に図18〜図22を用い、イベントが発生した場合に測定頻度を高めて測定データを送信する実施形態を説明する。なお、前述の適用例や実施形態と同一の要素には同符号を付す等して再度の説明を省略する。図18は、イベント発生時に測定タイミングと送信タイミングを高頻度に変更した場合の説明図、図19は、複数の複合センサユニット1で測定タイミングと送信タイミングを変更した場合の問題点を示す図、図20は、実施形態(2−7)における測定タイミングと送信タイミングを示す図、図21は、実施形態(2−7)において、複合センサユニット1が、各センサ1A〜1Qにより測定を行い、測定結果を送信する処理の流れを示す図である。
(2-7)
Hereinafter, embodiments in which measurement data is transmitted with increased measurement frequency when an event occurs will be described with reference to FIGS. 18 to 22. The same elements as those in the above-mentioned application examples and embodiments are designated by the same reference numerals, and the description thereof will be omitted again. FIG. 18 is an explanatory diagram when the measurement timing and the transmission timing are changed frequently when an event occurs, and FIG. 19 is a diagram showing problems when the measurement timing and the transmission timing are changed in the plurality of
図18の例では、所定の時間間隔で各センサ1A〜1Qによる測定を行い、この測定毎に測定データを送信しており、この場合、イベントが発生した際に測定頻度をイベントが発生していない場合よりも高めると、送信頻度も同じように高まることになる。このため、図19に示すように、複数の複合センサユニット1でイベントの発生を検出した場合、送信タイミングが重なり、送信データを受信側装置で受信できなくなることが考えられる。このため、本実施形態では、イベントが発生して測定頻度を高く設定した場合に、この高頻度に測定した測定データを複数回分含むデータフォーマットで送信データを送信する。
In the example of FIG. 18, measurements are performed by the sensors 1A to 1Q at predetermined time intervals, and measurement data is transmitted for each measurement. In this case, when an event occurs, the measurement frequency is determined by an event. If it is higher than without it, the transmission frequency will be high as well. Therefore, as shown in FIG. 19, when the occurrence of an event is detected by the plurality of
本実施形態の複合センサユニット1は、図21の処理を開始すると、先ず、イベントが発生したか否かを判定する(ステップS500)。ステップS500で否定判定であれば、複合センサユニット1の動作設定部14は、各センサ1A〜1Qによる測定間隔を標準の間隔とし、イベントが発生した場合と比べて測定頻度を低くするように設定する(ステッ
プS505)。
When the
ステップS515にて、複合センサユニット1は、ステップS505で設定した測定頻度に基づき、測定タイミングに達したか否かを判定する。この測定タイミングは、例えば1秒毎など、所定の時間間隔で測定するように予め設定する。なお、図21の例では、測定タイミングに達したか否かの判定処理を一つだけ示したが、各センサ1A〜1Qをそれぞれ別のタイミングで測定してもよい。
In step S515, the
ステップS515で肯定判定であれば、各センサ1A〜1Qが測定を行い、データ取得部12が各センサ1A〜1Qから測定データを取得する(ステップS520)。
If the determination is affirmative in step S515, each sensor 1A to 1Q makes a measurement, and the
そして、複合センサユニット1は、第一のフォーマットF1で送信データを送信する(
ステップS525)。
また、ステップS515で否定判定であれば、複合センサユニット1は、図21の処理を終了する。なお、複合センサユニット1は、電源がOFFされた場合や、測定の停止が指示されるまで、図21の処理を繰り返し実行する。このように、本実施形態では、ステップS515で否定判定であれば一旦、図21の処理を終了し、改めてこの処理を繰り返す構成としたが、これに限らず、ステップS505の後、所定期間スリープしてから、ステップS515へ移行し、ステップS515で否定判定の場合には前記スリープに戻って所定期間毎にステップS515の判定を繰り返す構成としてもよい。
Then, the
Step S525).
If the negative determination is made in step S515, the
一方、ステップS500で肯定判定であれば、複合センサユニット1の動作設定部14は、各センサ1A〜1Qによる測定間隔を標準よりも短くし、イベントが発生した場合と比べて測定頻度を高くするように設定する(ステップS535)。
On the other hand, if the determination is affirmative in step S500, the
ステップS545にて、複合センサユニット1は、ステップS535で設定した測定頻度に基づき、測定タイミングに達したか否かを判定する。この測定タイミングは、例えば250ms毎など、所定の時間間隔で測定するように予め設定する。なお、図21の例では、測定タイミングに達したか否かの判定処理を一つだけ示したが、各センサ1A〜1Qをそれぞれ別のタイミングで測定してもよい。
In step S545, the
ステップS545で肯定判定であれば、各センサ1A〜1Qが測定を行い、データ取得部12が各センサ1A〜1Qから測定データを取得する(ステップS550)。なお、ステップS545で否定判定であれば、複合センサユニット1は、図21の処理を終了する。なお、複合センサユニット1は、電源がOFFされた場合や、測定の停止が指示されるまで、図21の処理を繰り返し実行する。このように、本実施形態では、ステップS545で否定判定であれば一旦、図21の処理を終了し、改めてこの処理を繰り返す構成としたが、これに限らず、ステップS535の後、所定期間スリープしてから、ステップS545へ移行し、ステップS545で否定判定の場合には前記スリープに戻って所定期間毎にステップS545の判定を繰り返す構成としてもよい。
If the determination is affirmative in step S545, each sensor 1A to 1Q makes a measurement, and the
次に複合センサユニット1は、第三のデータフォーマットF3とした送信データの送信タイミングに達したか否かを判定する(ステップS555)。ステップS555で肯定判定であれば、複合センサユニット1は、第三のデータフォーマットF3とした送信データを送信する(ステップS560)。
Next, the
このように図21の例では、イベントが発生した場合には、イベントが発生していない場合と比べてセンサによる測定頻度を高くし、複数の測定タイミングで測定した測定データを含む第三のデータフォーマットF3とした送信データをアドバタイズパケットに格納して送信している。これにより、イベントが発生した場合には、発生した当該イベントに応じた測定データをより多く取得できる。 As described above, in the example of FIG. 21, when an event occurs, the measurement frequency by the sensor is increased as compared with the case where the event does not occur, and the third data including the measurement data measured at a plurality of measurement timings. The transmission data in format F3 is stored in the advertisement packet and transmitted. As a result, when an event occurs, more measurement data corresponding to the event that has occurred can be acquired.
また、これに限らず、イベントが発生していない場合にはアドバタイズパケットに送信データを格納して送信し、イベントが発生した場合には受信側装置と接続を確立してデータパケットに送信データを格納して送信してもよい。図22は、イベントの発生時に受信側装置と接続する場合の処理の流れを示す図である。 Not limited to this, when an event does not occur, the transmission data is stored in the advertisement packet and transmitted, and when an event occurs, a connection is established with the receiving device and the transmission data is sent to the data packet. It may be stored and sent. FIG. 22 is a diagram showing a processing flow when connecting to a receiving device when an event occurs.
なお、図22において、ステップS500からステップS545までの処理は、図21と同じであるため、再度の説明を省略する。 Note that, in FIG. 22, the processes from step S500 to step S545 are the same as those in FIG. 21, and thus the description thereof will be omitted again.
図22において、ステップS545で肯定判定であった場合、各センサ1A〜1Qが測定を行い、データ取得部12が各センサ1A〜1Qから測定データを取得してメモリに記憶させる(ステップS570)。一方、ステップS545で否定判定であった場合、複合センサユニット1は、図22の処理を終了する。なお、複合センサユニット1は、電源がOFFされた場合や、測定の停止が指示されるまで、図22の処理を繰り返し実行する。
In FIG. 22, when a positive determination is made in step S545, each sensor 1A to 1Q performs measurement, and the
このように図22の例では、イベントが発生した場合、測定データをメモリに記憶させ、接続(Connection)を介して送信データを送信できるようにしている。この場合、イベントが発生した際、ステップS535でイベントが発生したことを受信側装置へ通知し、受信側装置に接続を促すようにしてもよい。 As described above, in the example of FIG. 22, when an event occurs, the measurement data is stored in the memory so that the transmission data can be transmitted via the connection. In this case, when an event occurs, the receiving device may be notified that the event has occurred in step S535, and the receiving device may be prompted to connect.
以上のように、図22の例では、イベントが発生していない場合にはアドバタイジングパケットに送信データを格納して送信し、イベントが発生した場合には受信側装置との接続を確立して、データパケットに送信データを格納し、この接続(Connection)を介して送信データを送信する。これにより、イベントが発生していない場合には、アドバタイジ
ングパケットを用いて簡易に送信データを送信し、イベントが発生した場合には、データパケットを用いて確実に送信データを送信できる。このようにアドバタイジングパケットを用いて簡易に送信を行うことで、例えば、接続(Connection)の処理を省略して消費電力を抑えることができる。また、イベントの発生時には、データパケットを用いることで、アドバタイジングパケットを用いる場合と比べて多くのデータを送信でき、また、暗号化やエラー検出が可能となり、信頼性の高い通信を行うことができる。
As described above, in the example of FIG. 22, when the event does not occur, the transmission data is stored in the advertising packet and transmitted, and when the event occurs, the connection with the receiving device is established. The transmission data is stored in the data packet, and the transmission data is transmitted via this connection (Connection). As a result, when the event has not occurred, the transmission data can be easily transmitted using the advertising packet, and when the event has occurred, the transmission data can be reliably transmitted using the data packet. By simply transmitting using the advertising packet in this way, for example, the connection processing can be omitted and the power consumption can be suppressed. In addition, when an event occurs, by using a data packet, more data can be transmitted than when an advertising packet is used, encryption and error detection become possible, and highly reliable communication can be performed. ..
イベントが発生したことを示す通知は、iBeacon(登録商標)を送信することで行ってもよい。また、イベントが発生したことを示す通知は、例えば所定のUUIDを含むアドバタイズパケットを送信することであってもよい。この場合、複合センサユニット1は、例えば、サービス0(温度、湿度、照度等のデータを保有するサービス)や、サービス1(SI値、震度等のデータを保有するサービス)、サービス2(高い頻度で測定した温度データを保有するサービス)を保有するものとする。ここで、サービス1は地震に関わるデータを保持しており、そのデータは地震が発生したイベントが生じれば、更新される。サービス2は火事の際に有効となるデータを保持しており、そのデータは火事が発生したイベントが生じれば、更新される。
Notification that an event has occurred may be given by transmitting an iBeacon®. Further, the notification indicating that an event has occurred may be, for example, transmitting an advertisement packet including a predetermined UUID. In this case, the
一方、ユーザ端末2やゲートウェイ3は、前記各サービスを示すUUIDとイベントとの対応関係を予めメモリに記憶しておく。例えば,イベントが発生していない状態ではサービス0を示すUUIDをアドバタイズで送信するようにしておく。もし、地震が生じれば、センサ側でイベントが発生したと検知し、サービス1を示すUUIDをアドバタイズで送信する。ユーザ端末2やゲートウェイ3は、受信したアドバタイズパケットを確認し、UUIDが変化したことを判断し、サービス1(地震データサービス)のデータに関わるイベントが発生したことがわかる。よって、コネクション後、サービス1に係るデータを取得するといった事が可能となる。よって、イベントに応じたサービスUUIDをアドバタイズパケットにのせて送信することにより、ユーザ端末2やゲートウェイ3側が、どんなイベントが生じ、どのデータを取得すればよいかを判別できる構成とすることが可能となる。
On the other hand, the
なお、例えば上記の例で、地震のイベントが生じた際、コネクション後にサービス2(火事の際の温度データサービス)にアクセスしたとしても、データは取得可能である。その時に、火事のイベントは発生していないので、取得されるデータは、火事のイベントが発生した場合に取得されるデータより測定(更新)の頻度が低いデータ(例えばステップS520で測定された測定データ)であっても良く、また、前回取得後に更新がなければNull値であっても良い。 Note that, for example, in the above example, when an earthquake event occurs, data can be acquired even if the service 2 (temperature data service in the event of a fire) is accessed after the connection. At that time, since no fire event has occurred, the acquired data is data that is measured (updated) less frequently than the data acquired when a fire event occurs (for example, the measurement measured in step S520). It may be (data), or it may be a Null value if there is no update after the previous acquisition.
また、複合センサユニット1は、各サービスを示すUUIDと、イベントとの対応関係を予めメモリに記憶させておき、アドバタイズパケットで送信するUUIDをイベントに応じて変化させることで、アクセス可能なサービスを限定してもよい。例えば、複合センサユニット1は、図22のステップS500にて、イベントが発生していないと判定した場合にはサービス0を示すUUIDを送信し、イベントとして地震が発生したと判定した場合にはサービス1を示すUUIDを送信する。また、複合センサユニット1内部でサービス1以外のサービスをアクセスできないように制限をかけるようにする。ユーザ端末2やゲートウェイ3においては,前記各サービスを示すUUIDとイベントとの対応関係を予めメモリに記憶しておき、受信したアドバタイズパケットが、サービス1を示すUUIDを含む場合に、接続を要求し、サービス1のみデータ通信する事が可能となる。このようにすれば、ユーザ端末2やゲートウェイ3はどのデータを取得する必要があるかを認識できる。
Further, the
なお、図22の例に限らず、実施形態(2ー1)〜(2ー5)についても、図22と同
様に、イベントが発生していない場合にはアドバタイジングパケットに送信データを格納して送信し、イベントが発生した場合には受信側装置との接続を確立して、データパケットに送信データを格納し、この接続(Connection)を介して送信データを送信してもよい。例えば、実施形態(2−1)の例では、図7のステップS30にて、イベントが発生したと判定した場合には、当該イベントと対応するUUIDを送信し、ステップS60〜ステップS90に代えて、測定結果をメモリに記憶し、接続を介してユーザ端末2やゲートウェイ3へ送信できるようにしてもよい。同様に、実施形態(2−2)の例では、図10のステップS110にて、イベントが発生したと判定した場合には、当該イベントと対応するUUIDを送信し、ステップS170〜ステップS190に代えて、測定結果をメモリに記憶するように構成してもよい。実施形態(2−3)の例では、図12のステップS200にて、イベントが発生したと判定した場合には、当該イベントと対応するUUIDを送信し、ステップS250〜ステップS260に代えて、測定結果をメモリに記憶するように構成してもよい。実施形態(2−4)の例では、図14のステップS330にて、故障が発生したと判定した場合には、当該故障と対応するUUIDを送信し、ステップS370〜ステップS390に代えて、測定結果をメモリに記憶するように構成してもよい。実施形態(2−5)の例では、図16のステップS410にて、イベントが発生したと判定した場合には、当該イベントと対応するUUIDを送信し、ステップS445〜ステップS460に代えて、測定結果をメモリに記憶するように構成してもよい。
Not only in the example of FIG. 22, but also in the embodiments (2-1) to (2-5), the transmission data is stored in the advertising packet when the event does not occur, as in FIG. 22. When transmission is performed and an event occurs, a connection with the receiving device may be established, transmission data may be stored in a data packet, and transmission data may be transmitted via this connection (Connection). For example, in the example of the embodiment (2-1), when it is determined in step S30 of FIG. 7 that an event has occurred, the UUID corresponding to the event is transmitted, instead of steps S60 to S90. , The measurement result may be stored in the memory so that it can be transmitted to the
§3 形態例
本開示の一例に係るセンサ装置(1)は、
異なる種類の測定データを測定する複数のセンサ(1A〜1Q)からそれぞれ前記測定データを取得するデータ取得部(12)と、
前記測定データが、イベントの発生に相当するイベント条件を満足したことをもって、前記イベントが発生したことを判定するイベント判定手段(13)と、
前記測定データを所定のデータフォーマットで格納する送信データを送信する送信制御部(16)と、を備え、
前記送信制御部(16)が、前記イベントが発生していない場合と前記イベントが発生している場合とで前記送信データのデータフォーマットを異ならせる。
§3 Example of form The sensor device (1) according to an example of the present disclosure is
A data acquisition unit (12) that acquires the measurement data from a plurality of sensors (1A to 1Q) that measure different types of measurement data, and a data acquisition unit (12).
When the measurement data satisfies the event condition corresponding to the occurrence of the event, the event determination means (13) for determining that the event has occurred and the event determination means (13).
A transmission control unit (16) for transmitting transmission data for storing the measurement data in a predetermined data format is provided.
The transmission control unit (16) makes the data format of the transmission data different depending on whether the event has not occurred or the event has occurred.
上述した本発明の実施形態及び変形例はあくまでも例示に過ぎず、本発明はこれに限定されるものではない。また、上述した実施形態及び変形例において示した特徴的な構成は、本発明の趣旨を逸脱しない範囲において当然にその組み合わせが可能である。例えば、上記実施形態において、標識信号は、ブルートゥースのアドバタイズパケットに限らず、ブルートゥース4.0より前のブルートゥース規格におけるビーコンや、WiFiのビーコンであってもよい。 The above-described embodiments and modifications of the present invention are merely examples, and the present invention is not limited thereto. Further, the characteristic configurations shown in the above-described embodiments and modifications can be naturally combined as long as the gist of the present invention is not deviated. For example, in the above embodiment, the indicator signal is not limited to the Bluetooth advertisement packet, and may be a beacon in the Bluetooth standard before Bluetooth 4.0 or a WiFi beacon.
1 :複合センサユニット
1A〜1Q :センサ
2 :ユーザ端末
3 :ゲートウェイ
4 :アプリケーションサーバ
10 :センサシステム
12 :データ取得部
13 :イベント判定部
14 :動作設定部
15 :メモリ
16 :通信制御部
1: Composite sensor unit 1A to 1Q: Sensor 2: User terminal 3: Gateway 4: Application server 10: Sensor system 12: Data acquisition unit 13: Event determination unit 14: Operation setting unit 15: Memory 16: Communication control unit
Claims (11)
前記測定データが、イベントの発生に相当するイベント条件を満足したことをもって、前記イベントが発生したことを判定するイベント判定手段と、
前記測定データを所定のデータフォーマットで格納する送信データを送信する送信制御部と、
前記イベントが発生した場合に他の装置との無線通信を行う接続を確立する接続制御部と、を備え、
前記送信制御部が、前記イベントが発生していない場合と前記イベントが発生している場合とで前記送信データのデータフォーマットを異ならせ、
前記イベントが発生していない場合には、前記送信制御部が、前記接続を確立するための標識信号に前記送信データを格納して送信し、
前記イベントが発生した場合には、前記送信制御部が、前記接続制御部によって確立した接続を介して前記他の装置へ前記送信データを送信することを特徴とするセンサ装置。 A data acquisition unit that acquires the measurement data from a plurality of sensors that measure different types of measurement data, and a data acquisition unit.
An event determination means for determining that an event has occurred when the measurement data satisfies the event conditions corresponding to the occurrence of the event.
A transmission control unit that transmits transmission data that stores the measurement data in a predetermined data format, and
A connection control unit that establishes a connection for wireless communication with another device when the event occurs is provided.
The transmission control unit makes the data format of the transmission data different depending on whether the event has not occurred or the event has occurred .
When the event has not occurred, the transmission control unit stores the transmission data in the indicator signal for establishing the connection and transmits the transmission data.
When the event occurs, the transmission control unit, a sensor device which is characterized that you transmitting the transmission data to the other devices via a connection established by the connection control unit.
前記イベントが発生した場合に、前記動作設定部によって設定された測定タイミングで測定された複数の前記測定データを含むデータフォーマットで、前記送信データを送信する請求項1から4の何れか一項に記載のセンサ装置。 It is provided with an operation setting unit that makes the measurement frequency by the sensor higher when the event occurs than when the event does not occur.
The item according to any one of claims 1 to 4 , wherein when the event occurs, the transmission data is transmitted in a data format including a plurality of the measurement data measured at the measurement timing set by the operation setting unit. The sensor device described.
異なるタイミングで測定した複数の測定データを前記記憶部から読み出し、複数の当該測定データを含むデータフォーマットとした送信データを送信する請求項1から7の何れか一項に記載のセンサ装置。 A storage unit for storing measurement data measured by the sensor is provided.
The sensor device according to any one of claims 1 to 7 , wherein a plurality of measurement data measured at different timings are read from the storage unit, and transmission data in a data format including the plurality of measurement data is transmitted.
前記センサで測定した測定データを記憶する記憶部とを備え、
前記イベントが発生した場合に、前記データ取得部が、取得した前記測定データを前記記憶部に記憶させ、
他の装置から送信要求を受けた場合に、前記送信制御部が、前記複数の測定データを前記記憶部から読み出して、当該測定データを含むデータフォーマットとした送信データを前記他の装置へ送信する請求項1〜4,6,7の何れか一項に記載のセンサ装置。 An operation setting unit that causes the measurement frequency by the sensor to be higher when the event occurs than when the event does not occur.
A storage unit for storing measurement data measured by the sensor is provided.
When the event occurs, the data acquisition unit stores the acquired measurement data in the storage unit.
When a transmission request is received from another device, the transmission control unit reads the plurality of measurement data from the storage unit and transmits the transmission data in a data format including the measurement data to the other device. The sensor device according to any one of claims 1 to 4 , 6 and 7.
前記イベントが発生した場合に、前記アドバタイズパケットに、発生した前記イベントと対応するUUIDを格納し、当該アドバタイズパケットを送信することで前記他の装置に接続を要求させる請求項1〜9の何れか1項に記載のセンサ装置。 The indicator signal is an advertisement packet used in the wireless communication.
If the event has occurred, the advertisement packet, stores the corresponding UUID and generated the event, any one of claims 1 to 9 for requesting a connection to said another device by sending the advertisement packet The sensor device according to item 1.
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2017217503A JP6915504B2 (en) | 2017-11-10 | 2017-11-10 | Sensor device |
| DE102018124946.2A DE102018124946A1 (en) | 2017-11-10 | 2018-10-10 | SENSOR DEVICE |
| US16/164,031 US10554440B2 (en) | 2017-11-10 | 2018-10-18 | Sensor device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2017217503A JP6915504B2 (en) | 2017-11-10 | 2017-11-10 | Sensor device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2019091107A JP2019091107A (en) | 2019-06-13 |
| JP6915504B2 true JP6915504B2 (en) | 2021-08-04 |
Family
ID=66335807
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2017217503A Active JP6915504B2 (en) | 2017-11-10 | 2017-11-10 | Sensor device |
Country Status (3)
| Country | Link |
|---|---|
| US (1) | US10554440B2 (en) |
| JP (1) | JP6915504B2 (en) |
| DE (1) | DE102018124946A1 (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112581307B (en) * | 2020-11-19 | 2022-12-09 | 广西电网有限责任公司电力科学研究院 | An interactive method and system for implementing smart sensor plug and play |
| KR102834830B1 (en) * | 2021-11-29 | 2025-07-17 | 주식회사 웰릭스 | FIRE GUIDANCE LIGHT TERMINAL FOR TIME-DIVISION TRANSMISSION OF IoT SENSOR DATA |
| JP7503166B1 (en) * | 2023-03-16 | 2024-06-19 | 新コスモス電機株式会社 | COMMUNICATION DEVICE, GAS DETECTION SYSTEM, GAS DETECTOR, COMMUNICATION METHOD, AND CONTROL METHOD |
| JP2024131825A (en) * | 2023-03-16 | 2024-09-30 | 新コスモス電機株式会社 | COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND NOTIFICATION METHOD |
| JP7445802B1 (en) * | 2023-03-16 | 2024-03-07 | 新コスモス電機株式会社 | Communication device, communication establishment method and notification method |
Family Cites Families (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6028458B2 (en) * | 1977-11-09 | 1985-07-04 | 三菱電機株式会社 | Data collection method |
| JPS63153700A (en) * | 1986-12-17 | 1988-06-27 | 日立電子株式会社 | Telemeter data collection method |
| JP2900009B2 (en) * | 1992-12-18 | 1999-06-02 | シャープ株式会社 | Environmental data collection system |
| JP2005216113A (en) * | 2004-01-30 | 2005-08-11 | Fuji Electric Systems Co Ltd | Single person abnormality detecting method |
| US8620841B1 (en) * | 2012-08-31 | 2013-12-31 | Nest Labs, Inc. | Dynamic distributed-sensor thermostat network for forecasting external events |
| JP2016116130A (en) * | 2014-12-16 | 2016-06-23 | 株式会社電通国際情報サービス | Transmission/reception system |
| JP5982515B1 (en) * | 2015-02-27 | 2016-08-31 | 日本システムウエア株式会社 | Sensor device, management system, and wireless communication method |
| JP6409629B2 (en) * | 2015-03-11 | 2018-10-24 | オムロン株式会社 | Sensor system |
| JP2017041770A (en) * | 2015-08-20 | 2017-02-23 | ラトックシステム株式会社 | Data radio communication device |
| US10304298B2 (en) * | 2016-07-27 | 2019-05-28 | Immersion Corporation | Braking characteristic detection system for haptic actuator |
| JP2017217503A (en) | 2017-08-17 | 2017-12-14 | 株式会社岡田製作所 | Buttocks wiping device |
-
2017
- 2017-11-10 JP JP2017217503A patent/JP6915504B2/en active Active
-
2018
- 2018-10-10 DE DE102018124946.2A patent/DE102018124946A1/en active Pending
- 2018-10-18 US US16/164,031 patent/US10554440B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| US10554440B2 (en) | 2020-02-04 |
| JP2019091107A (en) | 2019-06-13 |
| US20190149355A1 (en) | 2019-05-16 |
| DE102018124946A1 (en) | 2019-05-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6915504B2 (en) | Sensor device | |
| CN111083802B (en) | Electronic device using Bluetooth communication and method of operating the same | |
| JP2021532505A (en) | Hazard Warning Device Network Testing | |
| US11863475B2 (en) | Method and apparatus for designing rate matching pattern for partial demodulation reference signal (DMRS) transmission | |
| KR101668394B1 (en) | A bluetooth device, and method of operating bluetooth system including the same | |
| US20250139044A1 (en) | Automatic repair method and apparatus for device, and electronic device and storage medium | |
| US11729805B2 (en) | Method and system for transitioning station to uplink multi-user disable mode and uplink multi-user enable mode | |
| EP3719733A1 (en) | Method for receiving merchant information and electronic device using same | |
| KR20210020076A (en) | Information processing device | |
| JP4445937B2 (en) | Environmental control system and environmental control method | |
| US20230224117A1 (en) | System and method for providing channel state information reference signal power determination in unlicensed spectrum | |
| JP6661354B2 (en) | Communication device and control method | |
| JP6465209B2 (en) | Position measuring apparatus, position measuring method and position measuring program | |
| US10462635B2 (en) | Information processing apparatus and control method therefor, portable terminal and control method therefor, and service providing system | |
| KR102850003B1 (en) | Electronic device using blockchain and a method thereof | |
| WO2020239668A1 (en) | Interaction between a kiosk and a mobile user equipment | |
| JP7386212B2 (en) | Location management terminal, program, system, wireless communication terminal, location management method, and information processing method | |
| JP2017067566A (en) | Terminal device and detection program | |
| JP7072353B2 (en) | Location search system and location search method | |
| JP2019212997A (en) | Sensor node, host, and sensor network system | |
| JP2017053824A (en) | Terminal device, detection method and detection program | |
| JP4899765B2 (en) | Vehicle-to-vehicle communication system, vehicle used in the vehicle-to-vehicle communication system, vehicle-mounted device, and repeater | |
| WO2017081871A1 (en) | Terminal device and device selection method | |
| US20210119819A1 (en) | In-vehicle communication system, in-vehicle relay device, communication program, and communication method | |
| JP7742585B2 (en) | Notification system, notification method, program and management system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200305 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20210315 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210323 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210524 |
|
| 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: 20210615 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210628 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6915504 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |