[go: up one dir, main page]

JP2018078395A - Device communication method and device - Google Patents

Device communication method and device Download PDF

Info

Publication number
JP2018078395A
JP2018078395A JP2016217545A JP2016217545A JP2018078395A JP 2018078395 A JP2018078395 A JP 2018078395A JP 2016217545 A JP2016217545 A JP 2016217545A JP 2016217545 A JP2016217545 A JP 2016217545A JP 2018078395 A JP2018078395 A JP 2018078395A
Authority
JP
Japan
Prior art keywords
flagship
lan
server
devices
reliability
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.)
Pending
Application number
JP2016217545A
Other languages
Japanese (ja)
Inventor
圭一郎 吉村
Keiichiro Yoshimura
圭一郎 吉村
直登 渡邉
Naoto Watanabe
直登 渡邉
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.)
Frontier Vision Co Ltd
Original Assignee
Frontier Vision Co 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 Frontier Vision Co Ltd filed Critical Frontier Vision Co Ltd
Priority to JP2016217545A priority Critical patent/JP2018078395A/en
Publication of JP2018078395A publication Critical patent/JP2018078395A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To let only an appropriate apparatus serving as a representative communicate with a server but not permitting a plurality of apparatuses (terminals) connected with a LAN to individually transmit a request to the server.SOLUTION: When an apparatus 10 connected with a LAN communicates with a server 100 connected with an external network, a flag apparatus is determined in advance. An IoT apparatus 10 newly connected with the LAN compares its reliability with that of all IoT apparatuses connected with the LAN, and if the apparatus 10 has the highest reliability, it becomes a flag apparatus by displacing the predetermined flag apparatus and communicates with the server 100.SELECTED DRAWING: Figure 1

Description

本発明は、ローカルエリアネットワークに接続された複数の機器がサーバと通信をするための機器通信方法及び、機器に関する。   The present invention relates to a device communication method and devices for allowing a plurality of devices connected to a local area network to communicate with a server.

一般に、ローカルエリアネットワーク(LAN)内にある機器がルータを経由して外部のサーバと通信する際には、個々の機器がそれぞれ異なるリクエストをサーバに送信する。例えば、非特許文献1に示すようにWebブラウザとWebサーバが一対一で対応して通信が行われていることが知られている。したがって、接続する機器が増えれば、サーバの負荷は増大してしまう。   Generally, when a device in a local area network (LAN) communicates with an external server via a router, each device transmits a different request to the server. For example, as shown in Non-Patent Document 1, it is known that communication is performed in a one-to-one correspondence between a Web browser and a Web server. Therefore, if the number of connected devices increases, the load on the server increases.

ITPro、“Webアクセスの基本(2)”、[online]、平成16年3月2日、[平成28年8月24日検索]、インターネット<URL:http://itpro.nikkeibp.co.jp/article/COLUMN/20060215/229453/?rt=nocnt>ITPro, “Web Access Basics (2)”, [online], March 2, 2004, [August 24, 2016 search], Internet <URL: http://itpro.nikkeibp.co.jp / article / COLUMN / 20060215/229453 /? rt = nocnt>

一方、これからのIoT(Internet of Things)時代では、このような機器が多数、インターネットに接続されると考えられるため、個々の機器がサーバに対してリクエストを送信するとサーバの負荷が高くなることが予想される。また、個々の機器がLAN外にあるサーバと通信を行うため、個々のリクエストに対するセキュリティ確保に課題が残る。   On the other hand, in the future IoT (Internet of Things) era, it is considered that many such devices are connected to the Internet, so if each device sends a request to the server, the load on the server may increase. is expected. Further, since each device communicates with a server outside the LAN, there remains a problem in securing security for each request.

このようなIoT機器はパソコンなどと異なり、長期間の利用が想定されるため、搭載されたプロセッサが通信を行うにあたり、最新のセキュリティ方式や暗号化手法に(例えば、プロセッサの性能限界のため)対応できないまま継続利用されることも考えられる。また、IoT機器は、従来のようなパソコン等の機器においてブラウザから不定期にリクエストを送り、レスポンスを得るような処理というよりも、センサ等から取得したデータを所定のタイミングでサーバにデータを送信する処理が多い。したがって、ある程度の時間差で機器がサーバにリクエストを送信することも許される。   Such IoT devices, unlike personal computers, are expected to be used for a long period of time. Therefore, when the installed processor performs communication, the latest security method and encryption method are used (for example, due to processor performance limitations). It may be possible to continue using it without being able to handle it. In addition, the IoT device sends the data acquired from the sensor or the like to the server at a predetermined timing rather than the process of sending a request irregularly from the browser and obtaining a response in a conventional device such as a personal computer. There are many processes to do. Therefore, the device is allowed to send a request to the server with a certain time difference.

本発明は、LANに接続された複数の機器(端末)が、サーバにリクエストを個別に送信するのではなく、このLAN内で代表となる適切な機器のみがサーバと通信を行う機器通信方法及び、機器を提供することを目的とする。   The present invention relates to a device communication method in which a plurality of devices (terminals) connected to a LAN do not individually transmit requests to a server, but only appropriate devices that are representative in the LAN communicate with the server, and The purpose is to provide equipment.

本発明では、以下のような解決手段を提供する。   The present invention provides the following solutions.

第1の特徴に係る発明は、LAN内に接続された機器が、外部ネットワークに接続されたサーバと通信する方法であって、予め旗艦機器を決定しておき、
(A) 前記機器が前記LAN内の他の機器を検索するステップと、
(B) 検索の結果、他の機器が検索された場合に、検索された他の機器の信頼度と当該機器の信頼度を比較するステップと、
(C) 当該機器の方が当該他の機器より信頼度が高いと判断し、さらに、当該他の機器が旗艦機器である場合に、当該機器を旗艦機器として決定するステップと、を備え、
当該機器は、前記LANに接続された全ての機器について前記(A)から(C)のステップを繰り返し、決定された前記旗艦機器又は予め決定された旗艦機器のいずれかによって、当該旗艦機器及び当該他の機器が、前記サーバへの通信を行う機器通信方法を提供する。
The invention according to the first feature is a method in which a device connected in a LAN communicates with a server connected to an external network, and determines a flagship device in advance,
(A) the device searches for other devices in the LAN;
(B) When another device is searched as a result of the search, a step of comparing the reliability of the searched other device with the reliability of the device;
(C) determining that the device is more reliable than the other device, and further, when the other device is a flagship device, determining the device as a flagship device,
The device repeats the steps (A) to (C) for all devices connected to the LAN, and either the flagship device or the predetermined flagship device determines the flagship device and the A device communication method in which another device communicates with the server is provided.

第1の特徴に係る発明は、方法のカテゴリであるが機器、システム、プログラム等の他のカテゴリにおいても、そのカテゴリに応じた同様の作用・効果を発揮する。   The invention according to the first feature is a method category, but the same actions and effects corresponding to the category are exhibited in other categories such as a device, a system, and a program.

第2の特徴に係る発明は、第1の特徴に係る発明であって、前記サーバへ通信を行う際に、前記旗艦機器は、前記LAN内に接続された他の機器から外部サーバへ送信するデータを受信し、受信したデータを一のデータに結合するステップをさらに備え、前記旗艦機器は、前記サーバへの通信を行う際に、結合した前記一のデータを前記サーバへ送信する機器通信方法を提供する。   The invention according to the second feature is the invention according to the first feature, wherein when performing communication to the server, the flagship device transmits from another device connected in the LAN to an external server. A device communication method further comprising the step of receiving data and combining the received data into one data, wherein the flagship device transmits the combined one data to the server when communicating with the server; I will provide a.

第3の特徴に係る発明は、第1の特徴に係る発明であって、前記旗艦機器を決定するステップでは、前記LAN内の複数の機器が前記サーバと通信を行う際に、その通信の信頼度として、セキュリティ信頼度、通信エラー率、通信帯域、消費電力、当該機器の製造年式、当該機器が搭載するソフトウェアのバージョンのいずれか少なくとも一つに基づいて決定する機器通信方法を提供する。   The invention according to a third feature is the invention according to the first feature, wherein in the step of determining the flagship device, when a plurality of devices in the LAN communicate with the server, the communication reliability is determined. The device communication method is determined based on at least one of security reliability, communication error rate, communication band, power consumption, manufacturing year of the device, and software version installed on the device.

本発明の第1の特徴に係る発明によれば、LANに接続された端末(機器)が、サーバにリクエストを個別に送信するのではなく、このLAN内で代表となる信頼度の高い適切な機器のみがサーバと通信を行うことで、サーバの通信負荷が軽減される。さらに、個々の端末は、サーバまでのコネクション継続による電力消費がなくなるため、省電力化が可能となる。   According to the first aspect of the present invention, a terminal (equipment) connected to the LAN does not individually transmit a request to the server, but a suitable and reliable device that is representative in the LAN. Only the device communicates with the server, thereby reducing the communication load on the server. Furthermore, since each terminal does not consume power due to continued connection to the server, it is possible to save power.

さらに、本発明の第2、第3の特徴に係る発明によれば、旗艦機器は、サーバとの通信の信頼度(セキュリティ信頼度、通信エラー率、通信帯域、消費電力、当該端末の製造年式、当該端末が搭載するソフトウェアのバージョン)に基づいて決定されるため、セキュリティレベルの向上や通信の信頼度を向上させることができる。さらに、LAN外部に存在するサーバと直接通信しない端末は、LAN内の通信だけで済むため、必ずしも高レベルの通信暗号化手法を用いなくてもよくなる。さらに、旗艦機器は、切り替えが可能であるため、冗長化が可能である。   Further, according to the second and third aspects of the present invention, the flagship device has a communication reliability with the server (security reliability, communication error rate, communication bandwidth, power consumption, year of manufacture of the terminal, Therefore, the security level can be improved and the reliability of communication can be improved. Furthermore, since a terminal that does not directly communicate with a server existing outside the LAN only needs to communicate within the LAN, it is not always necessary to use a high-level communication encryption method. Furthermore, since the flagship device can be switched, redundancy can be achieved.

機器通信システム1の機能ブロックを示す図である。It is a figure which shows the functional block of the apparatus communication system. IoT機器10又は20が実行する旗艦機器通信処理を示すフローチャートである。It is a flowchart which shows the flagship apparatus communication process which the IoT apparatus 10 or 20 performs. 図2のフローチャートの続きである。It is a continuation of the flowchart of FIG. IoT機器10又は20が実行する結合データ送信処理のフローチャートである。It is a flowchart of the joint data transmission process which the IoT apparatus 10 or 20 performs. IoT機器10又は20が信頼度の比較処理を実行する際に使用する信頼度テーブルである。It is a reliability table used when the IoT apparatus 10 or 20 performs a reliability comparison process.

以下、本発明を実施するための最良の実施形態について、図を参照して説明する。なお、これはあくまでも、一例であって、本発明の技術的範囲はこれに限定されるものではない。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, the best mode for carrying out the invention will be described with reference to the drawings. This is merely an example, and the technical scope of the present invention is not limited to this.

[システム構成]
図1に基づいて、機器通信システム1のシステム構成について説明する。図1は、本発明の好適な実施形態である機器通信システム1のシステム構成を示す図である。機器通信システム1は、複数のIoT機器10、20、・・・及び、外部サーバ100と、ルータ50とから少なくとも構成される。IoT機器10、20、・・・は、任意の数であってよいが、図1では2台のみ示している。
[System configuration]
Based on FIG. 1, the system configuration of the equipment communication system 1 will be described. FIG. 1 is a diagram showing a system configuration of a device communication system 1 which is a preferred embodiment of the present invention. The device communication system 1 includes at least a plurality of IoT devices 10, 20,..., An external server 100, and a router 50. The number of IoT devices 10, 20,... May be any number, but only two are shown in FIG.

IoT機器10、20、・・・等は、LAN(ローカルエリアネットワーク)で接続された機器であって、後述するように、有線、無線(SSIDを利用した無線LAN,WiFi)等でLAN内の他のIoT機器にP2P(ポイントツーポイント)接続をしたり、ルータ50を介して、外部サーバ100と通信可能に接続される。ルータ50は、外部ネットワークであるWAN(ワイドエリアネットワーク)に接続され、インターネット等の回線や専用線によって、外部サーバ100に通信可能に接続される。   The IoT devices 10, 20,... Are devices connected by a LAN (local area network), and are, as described later, wired, wireless (wireless LAN using SSID, WiFi), etc. A P2P (point-to-point) connection is made to another IoT device, or the router 50 is connected to be communicable with the external server 100. The router 50 is connected to a WAN (wide area network) that is an external network, and is connected to the external server 100 via a line such as the Internet or a dedicated line so as to be communicable.

[各機能の説明]
図1に基づいて、機器通信システム1を構成する各ハードウェアとその機能について説明する。
[Description of each function]
Based on FIG. 1, each hardware which comprises the apparatus communication system 1, and its function are demonstrated.

IoT機器10、20、・・・は、コンピュータ、マイコン等を備える機器であって、制御部として、CPU(Central Processing Unit)、RAM(Random Access Memory)、ROM(Read Only Memory)等を備え、通信部として、他の機器と通信可能にするためのデバイス、例えば、有線・無線LANに接続可能なデバイスや、IEEE802.11に準拠したWiFi(Wireless Fidelity)対応デバイスやUSBやHDMI等の有線接続対応デバイス等を備える。   The IoT devices 10, 20,... Are devices including a computer, a microcomputer, and the like, and include a CPU (Central Processing Unit), a RAM (Random Access Memory), a ROM (Read Only Memory), etc. As a communication unit, a device for enabling communication with other devices, for example, a device that can be connected to a wired / wireless LAN, a WiFi (Wireless Fidelity) compatible device compliant with IEEE 802.11, or a wired connection such as USB or HDMI Equipped with compatible devices.

IoT機器10、20、・・・は、コンピュータ端末、スマートフォン、タブレット端末、スレート端末、電子書籍端末、ウェアラブル端末等の端末であってもよいし、センサを搭載した通信機器、家庭電化製品、携帯電話機、であってもよい。   The IoT devices 10, 20,... May be terminals such as computer terminals, smartphones, tablet terminals, slate terminals, electronic book terminals, wearable terminals, communication devices equipped with sensors, home appliances, mobile phones. It may be a telephone.

IoT機器10、20、・・・のそれぞれの機器において、制御部が所定のプログラムを読み込むことにより、通信部及びその他のハードウェアと協働して、後述する、検索部11、21、比較部12、22,コンテンツ結合部13、23、結合データ送信部14、24を実現する。図2、図3にて説明する旗艦機器通信処理は、これらのモジュール部により実行される。   In each of the IoT devices 10, 20,..., The control unit reads a predetermined program, thereby cooperating with the communication unit and other hardware to search later, search units 11, 21, and a comparison unit. 12, 22, content combining units 13 and 23, and combined data transmitting units 14 and 24 are realized. The flagship device communication process described with reference to FIGS. 2 and 3 is executed by these module units.

[旗艦機器通信処理]
次に、図2、図3に基づいて、機器通信システム1が実行する旗艦機器通信処理について説明する。図2は、IoT機器10、20、・・・のうち、一のIoT機器が実行する旗艦機器通信処理のフローチャートである。上述した各装置のモジュール部が実行する処理について、本処理に併せて説明する。
[Flagship equipment communication processing]
Next, the flagship device communication process executed by the device communication system 1 will be described with reference to FIGS. FIG. 2 is a flowchart of flagship device communication processing executed by one IoT device among the IoT devices 10, 20,. Processing executed by the module unit of each device described above will be described together with this processing.

以下では、本処理をIoT機器10が実行する場合で説明するが、ルータ50の配下にあるIoT機器10、20、・・・は、このLANに各機器が接続されたタイミングで、全て同様に本処理を実行してよい。前提として、この処理は、一のIoT機器10がLANに初めて接続された際の処理である。したがって、このLAN内には予め旗艦機器が存在する。すなわち、このLAN内に接続されているIoT機器は、全て、上述の検索部11、21、比較部12、22,コンテンツ結合部13、23、結合データ送信部14、24を実現するプログラムがインストールされている。そのため、LAN内に一のIoT機器が接続された時点で、そのIoT機器が旗艦機器として決定されるし、その上で、他のIoT機器が接続されれば、信頼度が高いIoT機器が旗艦機器となる。すなわち、その場合は、LAN内で最も信頼度が高い旗艦機器が旗艦機器となっている。ここで説明する処理により、この旗艦機器が最も信頼度が高いので、新しく接続されたIoT機器10の信頼度と旗艦機器の信頼度を比較して、信頼度が高いIoT機器が旗艦機器となる。なお、本処理が最初にLANに接続されたときのみならず、ある一定期間を経た所定のタイミングで、フローが繰り返し実行されてもよい。   In the following, the case where the IoT device 10 executes this processing will be described. However, the IoT devices 10, 20,... Under the router 50 are all the same at the timing when each device is connected to this LAN. This process may be executed. As a premise, this processing is processing when one IoT device 10 is first connected to the LAN. Therefore, flagship equipment already exists in this LAN. That is, all the IoT devices connected in the LAN are installed with programs that realize the above-described search units 11 and 21, comparison units 12 and 22, content combination units 13 and 23, and combined data transmission units 14 and 24. Has been. Therefore, when one IoT device is connected to the LAN, the IoT device is determined as the flagship device. If another IoT device is connected to the IoT device, the IoT device with high reliability is selected as the flagship device. It becomes equipment. That is, in that case, the flagship device having the highest reliability in the LAN is the flagship device. Since the flagship device has the highest reliability by the processing described here, the reliability of the newly connected IoT device 10 is compared with the reliability of the flagship device, and the IoT device with the high reliability becomes the flagship device. . Note that the flow may be repeatedly executed not only when the process is first connected to the LAN but also at a predetermined timing after a certain period.

最初に、IoT機器10の検索部11は、LAN内の他の機器の検索を実行する(ステップS01)。そして、検索部11は、LAN内に他の機器を検索して発見した場合には(ステップS02)、ステップS03に処理を移し、LAN内に他の機器を検索しなかった場合は、ステップS08に処理を移す。   First, the search unit 11 of the IoT device 10 searches for other devices in the LAN (step S01). If the search unit 11 searches and finds another device in the LAN (step S02), the search unit 11 proceeds to step S03, and if no other device is searched in the LAN, step S08. Move processing to.

そして、IoT機器10の比較部12は、発見した機器に信頼度の問い合わせを行う(ステップS03)。信頼度とは、LAN内に接続されたIoT機器のうち、通信を行うのに最適な機器を選別する基準である。   Then, the comparison unit 12 of the IoT device 10 makes an inquiry about reliability to the discovered device (step S03). The reliability is a standard for selecting a device optimal for communication among IoT devices connected in the LAN.

信頼度とは、例えば、図5に示すように、外部サーバ100と通信を行う際のセキュリティ通信方式の仕様であったり、外部サーバ100と通信を行う際の通信エラー率(LAN内の機器同士の通信のエラー率を含んでもよい)であったり、外部サーバ100と通信を行う際の通信帯域(LAN内の機器同士の通信の通信帯域の平均値であってもよい)であったり、IoT機器10、20、・・・が外部サーバ100と通信することで失われる消費電力であってもよいし(消費電力が低い方が評価が高い)、IoT機器10、20、・・・の製造年式、オペレーティングシステムのバージョン、この旗艦機器通信処理を行うためのソフトウェアのバージョン(製造年式、バージョンが新しい方が評価が高い)であってもよい。   The reliability is, for example, a specification of a security communication method when communicating with the external server 100, as shown in FIG. 5, or a communication error rate when communicating with the external server 100 (equipment between devices in the LAN Or a communication band for communication with the external server 100 (may be an average value of communication bands for communication between devices in the LAN), IoT The power consumption lost when the devices 10, 20,... Communicate with the external server 100 (the lower the power consumption, the higher the evaluation), or the manufacture of the IoT devices 10, 20,. The model year, the version of the operating system, and the version of the software for performing the flagship device communication processing (manufacturing year, the newer the version, the higher the evaluation) may be used.

ここで、図5にて説明するが、信頼度の仕様と点数が予め対応付けられて、点数が高いIoT機器を旗艦機器と決定する。比較部12は、問い合わせた信頼度と、自機の信頼度を比較して(ステップS04)、自機の方が点数が高い場合には、自機を旗艦の機器であることを示す旗艦フラグを設定し(ステップS05)、自機の方が点数が低い場合には、自機を旗艦フラグと設定しないで(ステップS06)、ステップS07に処理を移す。   Here, as will be described with reference to FIG. 5, the reliability specification and the score are associated in advance, and the IoT device having a high score is determined as the flagship device. The comparison unit 12 compares the inquired reliability with the reliability of the own aircraft (step S04). If the own aircraft has a higher score, the flagship flag indicating that the own aircraft is a flagship device. Is set (step S05), and if the own aircraft has a lower score, the own aircraft is not set as the flagship flag (step S06), and the process proceeds to step S07.

次に、IoT機器10は、ここで問い合わせをしたIoT機器は既に検証したとして、検証済みリストに、このIoT機器を追加し(ステップS07)、ステップS01に戻る。この際に、ステップS01からの処理では、LAN内の検証済みリストに示されていないIoT機器を検索する。   Next, the IoT device 10 adds the IoT device to the verified list, assuming that the IoT device inquired here has already been verified (step S07), and returns to step S01. At this time, in the process from step S01, an IoT device not shown in the verified list in the LAN is searched.

次に、IoT機器10の検索部11は、他のIoT機器を検索できない場合(LAN内の機器を全て検索してしまい検証済みリストが埋まってしまった場合も含む)は、自機の旗艦フラグがTrueであることを確認し(ステップS08)、Trueである場合は、旗艦機器として起動を開始し、LAN内の他の機器に自機が旗艦機器であることを通知する(ステップS09)。   Next, when the search unit 11 of the IoT device 10 cannot search for another IoT device (including a case where all devices in the LAN are searched and the verified list is filled), the flagship flag of the own device Is True (step S08), and if it is True, activation is started as a flagship device, and the other device in the LAN is notified that it is a flagship device (step S09).

ここで、IoT機器10は、検証済み機器リストが空、すなわち、LAN内の全てのIoT機器について検証が終わったと判断した場合(ステップS10)は、旗艦フラグをTrue(ステップS11)にして、旗艦機器として起動する。この場合は、LAN内のIoT機器が自機しかない場合であるため、通知が必要なく、自機を旗艦機器とする。   Here, when the IoT device 10 determines that the verified device list is empty, that is, all the IoT devices in the LAN have been verified (step S10), the flagship flag is set to True (step S11), and the flagship is Start as a device. In this case, since there is only the IoT device in the LAN, no notification is required, and the own device is the flagship device.

[結合データ送信処理]
次に、旗艦機器になったIoT機器が外部サーバ100と通信を行う結合データ送信処理について説明する。ここでは、IoT機器10が、旗艦フラグがTrueとなり、旗艦機器として起動したとして、結合データ送信処理を実行する。
[Combined data transmission processing]
Next, the combined data transmission process in which the IoT device that has become the flagship device communicates with the external server 100 will be described. Here, the IoT device 10 executes the combined data transmission process on the assumption that the flagship flag becomes True and the flagship device is activated.

最初に、IoT機器10は、LANに接続された他のIoT機器から、外部サーバ100に送信するデータを受信する(ステップS12)。すなわち、上述のステップS09により、他の機器は旗艦機器がどのIoT機器かの通知を受けたため、旗艦機器がそのIPアドレスを持つIoT機器かを認識している。そこで、他のIoT機器は、外部サーバ100に送信するデータを、直接、外部サーバ100に送信せずに、旗艦機器に送信する。   First, the IoT device 10 receives data to be transmitted to the external server 100 from another IoT device connected to the LAN (step S12). That is, in step S09 described above, since the other device has been notified of which IoT device the flagship device is, it recognizes that the flagship device is an IoT device having the IP address. Therefore, other IoT devices transmit the data to be transmitted to the external server 100 to the flagship device without directly transmitting the data to the external server 100.

IoT機器10のコンテンツ結合部13は、受信したデータのコンテンツ部分を抽出する(ステップS13)。すなわち、受信したデータのうち、データの宛先情報等を含むヘッダー・フッターといった付加情報ではなく、実際のデータの内容であるコンテンツ部分を抽出する。そして、この抽出したコンテンツ部分を結合して一のデータを生成する。そして、結合データ送信部14は、外部サーバ100に送信するタイミングを判断し(ステップS15)、そのタイミングであれば、一のデータを外部サーバ100に送信する(ステップS16)。そのタイミングでなければ、さらに、他の機器からのデータを待つために、処理をステップS12まで戻す。この送信するタイミングは、任意に管理者が定めてよい。   The content combining unit 13 of the IoT device 10 extracts the content portion of the received data (Step S13). That is, in the received data, the content portion that is the actual data content is extracted, not the additional information such as the header / footer including the destination information of the data. Then, the extracted contents are combined to generate one data. Then, the combined data transmission unit 14 determines the timing of transmission to the external server 100 (step S15), and if that timing is reached, transmits one data to the external server 100 (step S16). If not, the process returns to step S12 in order to wait for data from another device. The administrator may arbitrarily determine the transmission timing.

このようにして、結合した一のデータを信頼度の最も高い旗艦機器が、外部サーバ100に送信するため、LANに接続されたIoT機器が、外部サーバ100にデータを個別に送信するのではなく、このLAN内で代表となる信頼度の高い適切な機器のみがサーバと通信を行うことで、外部サーバ100の通信負荷が軽減される。さらに、個々の端末は、外部サーバ100までのコネクション継続による電力消費がなくなるため、省電力化が可能となる。   In this way, since the flagship device having the highest reliability transmits the combined data to the external server 100, the IoT device connected to the LAN does not individually transmit the data to the external server 100. The communication load of the external server 100 can be reduced by allowing only a suitable device with high reliability, which is representative in the LAN, to communicate with the server. Furthermore, since each terminal does not consume power due to continued connection to the external server 100, it is possible to save power.

さらに、旗艦機器は、サーバとの通信の信頼度、すなわち、暗号化方式、通信方式、通信のエラー率、通信帯域、消費電力、当該端末の製造年式、OSのバージョン、当該端末が搭載するソフトウェアのバージョン等に基づいて決定されるため、セキュリティレベルの向上や通信の信頼度を向上させることができる。さらに、LAN外部に存在するサーバと直接通信しない端末は、LAN内の通信だけで済むため、必ずしも高レベルの通信暗号化手法を用いなくてもよくなる。さらに、旗艦機器は、切り替えが可能であるため、冗長化が可能である。   Further, the flagship device is equipped with the reliability of the communication with the server, that is, the encryption method, the communication method, the communication error rate, the communication band, the power consumption, the manufacturing year of the terminal, the OS version, and the terminal. Since it is determined based on the version of software or the like, it is possible to improve the security level and improve the reliability of communication. Furthermore, since a terminal that does not directly communicate with a server existing outside the LAN only needs to communicate within the LAN, it is not always necessary to use a high-level communication encryption method. Furthermore, since the flagship device can be switched, redundancy can be achieved.

図5は、信頼度を比較するための信頼度テーブルである。信頼度テーブルは、各IoT機器10、20、・・・に記憶されてよい。信頼度の算出には、例えば、セキュリティレベルの高い暗号化通信方式として、SHA1、SHA2、といった、ハッシュ関数を利用した暗号化通信プロトコルであるSSL(Secure Socket Layer)、TLS(Transport Layer Security)を用いたHTTPS、MQTTS、WSS(WebSocket secure)などの通信方式が適用可能である。これらの方式をIoT機器が採用している場合に、どの方式が点数が高いかを、管理者が予め定めておいてよい。また、将来的にさらに高度な信頼の高い通信方式が採用されたならば、その方式を管理者が登録可能であってよい。なお、図5の例では、IoT機器Aの点数が「39」で最も高いために、IoT機器Aが旗艦機器と決定される。   FIG. 5 is a reliability table for comparing the reliability. The reliability table may be stored in each IoT device 10, 20,. For the calculation of the reliability, for example, SSL (Secure Socket Layer) or TLS (Transport Layer Security), which is an encryption communication protocol using a hash function such as SHA1, SHA2, is used as an encryption communication method with a high security level. Communication methods such as HTTPS, MQTTTS, and WSS (WebSocket secure) used can be applied. When these methods are adopted by the IoT device, the administrator may determine in advance which method has a higher score. Further, if a more advanced and reliable communication method is adopted in the future, the administrator may be able to register the method. In the example of FIG. 5, since the score of the IoT device A is “39”, which is the highest, the IoT device A is determined as the flagship device.

上述した手段、機能は、コンピュータ(CPU、情報処理装置、各種端末を含む)が、所定のプログラムを読み込んで、実行することによって実現される。プログラムは、例えば、コンピュータからネットワーク経由で提供される(SaaS:ソフトウェア・アズ・ア・サービス)形態であってもよいし、例えば、フレキシブルディスク、CD(CD−ROMなど)、DVD(DVD−ROM、DVD−RAMなど)等のコンピュータ読取可能な記録媒体に記録された形態で提供される。この場合、コンピュータはその記録媒体からプログラムを読み取って内部記憶装置又は外部記憶装置に転送し記憶して実行する。また、そのプログラムを、例えば、磁気ディスク、光ディスク、光磁気ディスク等の記憶装置(記録媒体)に予め記録しておき、その記憶装置から通信回線を介してコンピュータに提供するようにしてもよい。   The means and functions described above are realized by a computer (including a CPU, an information processing apparatus, and various terminals) reading and executing a predetermined program. The program may be in a form (SaaS: Software as a Service) provided from a computer via a network, for example, a flexible disk, a CD (CD-ROM, etc.), a DVD (DVD-ROM), for example. , DVD-RAM, etc.) and the like recorded in a computer-readable recording medium. In this case, the computer reads the program from the recording medium, transfers it to the internal storage device or the external storage device, stores it, and executes it. The program may be recorded in advance in a storage device (recording medium) such as a magnetic disk, an optical disk, or a magneto-optical disk, and provided from the storage device to a computer via a communication line.

以上、本発明の実施形態について説明したが、本発明は上述したこれらの実施形態に限るものではない。また、本発明の実施形態に記載された効果は、本発明から生じる最も好適な効果を列挙したに過ぎず、本発明による効果は、本発明の実施形態に記載されたものに限定されるものではない。   As mentioned above, although embodiment of this invention was described, this invention is not limited to these embodiment mentioned above. The effects described in the embodiments of the present invention are only the most preferable effects resulting from the present invention, and the effects of the present invention are limited to those described in the embodiments of the present invention. is not.

1 機器通信システム、100 外部サーバ、10 IoT機器、20 IoT機器   1 equipment communication system, 100 external server, 10 IoT equipment, 20 IoT equipment

Claims (4)

LAN内に接続された機器が、外部ネットワークに接続されたサーバと通信する方法であって、予め旗艦機器を決定しておき、
(A) 前記機器が前記LAN内の他の機器を検索するステップと、
(B) 検索の結果、他の機器が検索された場合に、検索された他の機器の信頼度と当該機器の信頼度を比較するステップと、
(C) 当該機器の方が当該他の機器より信頼度が高いと判断し、さらに、当該他の機器が旗艦機器である場合に、当該機器を旗艦機器として決定するステップと、を備え、
当該機器は、前記LANに接続された全ての機器について前記(A)から(C)のステップを繰り返し、決定された前記旗艦機器、又は予め決定された旗艦機器のいずれかによって、当該旗艦機器及び当該他の機器が、前記サーバへの通信を行う機器通信方法
A method in which a device connected in a LAN communicates with a server connected to an external network, and a flagship device is determined in advance.
(A) the device searches for other devices in the LAN;
(B) When another device is searched as a result of the search, a step of comparing the reliability of the searched other device with the reliability of the device;
(C) determining that the device is more reliable than the other device, and further, when the other device is a flagship device, determining the device as a flagship device,
The device repeats the steps (A) to (C) for all the devices connected to the LAN, and the flagship device and the flagship device determined by either the determined flagship device or the predetermined flagship device. Device communication method in which the other device communicates with the server
前記サーバへ通信を行う際に、前記旗艦機器は、前記LAN内に接続された他の機器から外部サーバへ送信するデータを受信し、受信したデータを一のデータに結合するステップをさらに備え、
前記旗艦機器は、前記サーバへの通信を行う際に、結合した前記一のデータを前記サーバへ送信する請求項1に記載の機器通信方法。
When communicating with the server, the flagship device further includes a step of receiving data to be transmitted to an external server from another device connected in the LAN, and combining the received data into one data,
The device communication method according to claim 1, wherein the flagship device transmits the combined data to the server when performing communication with the server.
前記旗艦機器を決定するステップでは、前記LAN内の複数の機器が前記サーバと通信を行う際に、その通信の信頼度として、セキュリティ信頼度、通信エラー率、通信帯域、消費電力、当該機器の製造年式、当該機器が搭載するソフトウェアのバージョンのいずれか少なくとも一つに基づいて決定する請求項1又は2に記載の機器通信方法。   In the step of determining the flagship device, when a plurality of devices in the LAN communicate with the server, the reliability of communication includes security reliability, communication error rate, communication band, power consumption, The device communication method according to claim 1, wherein the device communication method is determined based on at least one of a manufacturing year and a version of software installed in the device. LAN経由で外部ネットワークに接続されたサーバと通信する機器であって、
予め旗艦機器を決定しておいた状態で、前記LAN内の他の機器を検索する検索手段と、
検索の結果、他の機器が検索された場合に、検索された他の機器の信頼度と当該機器の信頼度を比較する比較手段と、
当該機器の方が当該他の機器より信頼度が高いと判断した場合に、当該機器を旗艦機器として決定する旗艦機器決定手段と、を備え、
当該機器は、前記LANに接続された全ての機器について前記検索手段が行う検索、前記比較手段が行う比較、前記旗艦機器決定手段が行う決定を行い、決定された前記旗艦機器、又は予め決定された旗艦機器のいずれかによって、当該旗艦機器及び当該他の機器が、前記サーバへの通信を行う機器。
A device that communicates with a server connected to an external network via a LAN,
Search means for searching for other devices in the LAN in a state where flagship devices are determined in advance;
As a result of the search, when another device is searched, a comparing means for comparing the reliability of the searched other device with the reliability of the device,
When it is determined that the device is more reliable than the other devices, flagship device determination means for determining the device as a flagship device,
The device performs a search performed by the search unit for all devices connected to the LAN, performs a comparison performed by the comparison unit, and performs a determination performed by the flagship device determination unit. The flagship device and the other device communicate with the server by any one of the flagship devices.
JP2016217545A 2016-11-07 2016-11-07 Device communication method and device Pending JP2018078395A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016217545A JP2018078395A (en) 2016-11-07 2016-11-07 Device communication method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016217545A JP2018078395A (en) 2016-11-07 2016-11-07 Device communication method and device

Publications (1)

Publication Number Publication Date
JP2018078395A true JP2018078395A (en) 2018-05-17

Family

ID=62150979

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016217545A Pending JP2018078395A (en) 2016-11-07 2016-11-07 Device communication method and device

Country Status (1)

Country Link
JP (1) JP2018078395A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114866590A (en) * 2022-04-13 2022-08-05 上海有间建筑科技有限公司 Low-power-consumption communication system based on internet of things gateway

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000307640A (en) * 1999-04-16 2000-11-02 Minolta Co Ltd Device and system for equipment management
WO2006067922A1 (en) * 2004-12-21 2006-06-29 Matsushita Electric Industrial Co., Ltd. Wireless node power supply managing method
JP2007189433A (en) * 2006-01-12 2007-07-26 Kddi Corp Network configuration management method, management server, and program for configuring group communication
JP2008034957A (en) * 2006-07-26 2008-02-14 Hitachi Ltd Sensor data collection method, sensor data collection system and terminal station, and radio communication method, radio communication system and slave station
JP2011130307A (en) * 2009-12-21 2011-06-30 Mitsubishi Electric Corp Redundancy communication device
JP2015211382A (en) * 2014-04-28 2015-11-24 株式会社東芝 Data collection system and data collection method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000307640A (en) * 1999-04-16 2000-11-02 Minolta Co Ltd Device and system for equipment management
WO2006067922A1 (en) * 2004-12-21 2006-06-29 Matsushita Electric Industrial Co., Ltd. Wireless node power supply managing method
JP2007189433A (en) * 2006-01-12 2007-07-26 Kddi Corp Network configuration management method, management server, and program for configuring group communication
JP2008034957A (en) * 2006-07-26 2008-02-14 Hitachi Ltd Sensor data collection method, sensor data collection system and terminal station, and radio communication method, radio communication system and slave station
JP2011130307A (en) * 2009-12-21 2011-06-30 Mitsubishi Electric Corp Redundancy communication device
JP2015211382A (en) * 2014-04-28 2015-11-24 株式会社東芝 Data collection system and data collection method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114866590A (en) * 2022-04-13 2022-08-05 上海有间建筑科技有限公司 Low-power-consumption communication system based on internet of things gateway

Similar Documents

Publication Publication Date Title
US10244416B2 (en) Detecting device presence for a layer 3 connection using layer 2 discovery information
JP5823077B2 (en) Method, apparatus and computer program for efficient service discovery
JP6210607B2 (en) Remote system configuration using audio ports
US20160269979A1 (en) Method and apparatus for fast communication of information during bluetooth discovery phase
US20160234307A1 (en) Data transmission method, device, and system
JP6090150B2 (en) Wireless communication apparatus, program, and wireless communication method
WO2017101186A1 (en) Method for establishing wireless connection for application of user equipment
JP2015119426A5 (en)
JP5876647B2 (en) Communication connection system, method and program by polling
US20150039917A1 (en) Information processing device, activation method, and computer program product
JP6515804B2 (en) Communication terminal
CN108541000B (en) Method, medium and device for detecting network connection
WO2017088294A1 (en) Method and device for establishing wireless connection
JP2018078395A (en) Device communication method and device
JP6524912B2 (en) Communication terminal connection control method
CN106028469B (en) Communication connection establishment method and device and mobile terminal
JP2015111330A (en) Terminal device, communication system, and communication program
US10080127B2 (en) Network communication method
KR20120053369A (en) Apparatus and method for synchronizing
CN108076469A (en) For the method and router of wireless access point bridge joint
JP2013201612A (en) Position information estimation system, server device, access point device, position information estimation method, and program
JP2015082696A (en) Communication relay terminal, communication relay system, communication relay method, and program for communication relay terminal
JP5727919B2 (en) Setting method, setting program and electrical appliance
JP6365531B2 (en) Access point decision method
CN104601788A (en) Wireless communication device and wireless pairing method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170804

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20171020

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171020

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20180722

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180724

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180921

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190205

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20190402

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190606

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20191029