JP2020167605A - Control program and control method - Google Patents

Control program and control method Download PDF

Info

Publication number
JP2020167605A
JP2020167605A JP2019068317A JP2019068317A JP2020167605A JP 2020167605 A JP2020167605 A JP 2020167605A JP 2019068317 A JP2019068317 A JP 2019068317A JP 2019068317 A JP2019068317 A JP 2019068317A JP 2020167605 A JP2020167605 A JP 2020167605A
Authority
JP
Japan
Prior art keywords
communication
communication module
module
evaluation
unit
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
JP2019068317A
Other languages
Japanese (ja)
Inventor
柿崎 正明
Masaaki Kakizaki
正明 柿崎
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.)
Shinsei Corp
Original Assignee
Shinsei Corp
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 Shinsei Corp filed Critical Shinsei Corp
Priority to JP2019068317A priority Critical patent/JP2020167605A/en
Publication of JP2020167605A publication Critical patent/JP2020167605A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

To provide a control program for a device that stably performs data communication using a wireless method.SOLUTION: A control program is executed in a communication device for performing wireless data communication with a communication destination device. The communication device includes at least a first communication module and a second communication module. The control program causes the communication device to function as evaluation means for evaluating communication states of the first communication module and the second communication module and control means for controlling communication using the second communication module when the evaluation of the communication state of the first communication module does not meet predetermined criteria.SELECTED DRAWING: Figure 1

Description

本発明は、通信先装置と無線方式によるデータ通信を行う通信装置において実行される制御プログラム及び制御方法に関する。 The present invention relates to a control program and a control method executed in a communication device that wirelessly communicates data with a communication destination device.

従来、データ通信を安定的に行うために、ケーブル等を用いて設備同士を接続し、通信を行っていた。また、通信により遠隔地にある設備を制御する技術もある。 Conventionally, in order to perform stable data communication, equipments are connected to each other by using a cable or the like to perform communication. There is also a technology for controlling equipment in remote areas by communication.

しかし、地震等災害が生じてケーブル等が断線し、通信が絶たれてしまうと、設備の制御が不能となる事態が生じるおそれがあった。また、無線方式による接続は、周辺の環境の影響を受けて通信が安定しないという問題もあった。 However, if a disaster such as an earthquake occurs and the cable or the like is disconnected and communication is cut off, there is a risk that the equipment cannot be controlled. In addition, the wireless connection has a problem that communication is not stable due to the influence of the surrounding environment.

本発明の少なくとも1つの目的は、無線方式によるデータ通信を安定して行う装置を提供することである。 At least one object of the present invention is to provide a device for stably performing data communication by a wireless system.

非限定的な観点によると、本発明に係る制御プログラムは、通信先装置と無線データ通信を行う通信装置において実行される制御プログラムであって、通信装置は、少なくとも第1通信モジュール及び第2通信モジュールを備えるものであり、通信装置を、第1通信モジュール及び第2通信モジュールの通信の状態を評価する評価手段、第1通信モジュールの通信状態に関する評価が所定の基準を満たさない場合に、第2通信モジュールを用いて通信するように制御する制御手段として機能させる、制御プログラムである。 From a non-limiting point of view, the control program according to the present invention is a control program executed in a communication device that performs wireless data communication with a communication destination device, and the communication device is at least a first communication module and a second communication. A module is provided, and the communication device is evaluated by means for evaluating the communication status of the first communication module and the second communication module, and when the evaluation of the communication status of the first communication module does not meet a predetermined criterion, the first 2 It is a control program that functions as a control means for controlling communication using a communication module.

本発明に係る制御プログラムは、前記評価手段が、通信装置における電波の受信状態、及び、前記通信先装置と接続されているか否かを表す疎通状態に基づいて評価することが好ましい。 The control program according to the present invention preferably evaluates based on the reception state of radio waves in the communication device and the communication state indicating whether or not the evaluation means is connected to the communication destination device.

本発明に係る制御プログラムは、通信装置を、第1通信モジュール及び第2通信モジュールにより、所定の間隔毎に、通信先装置へとデータ送信を行うデータ通信手段として機能させることが好ましい。 The control program according to the present invention preferably causes the communication device to function as a data communication means for transmitting data to the communication destination device at predetermined intervals by the first communication module and the second communication module.

本発明に係る制御プログラムは、前記制御手段が、第1通信モジュールが前記所定の基準を満たさなかったことにより第2通信モジュールを用いて通信を行っている場合であって、評価手段により第1通信モジュールの通信状態に関する評価が所定の基準を満たしたときに、第1通信モジュールを用いて通信するよう制御することが好ましい。 The control program according to the present invention is a case where the control means communicates using the second communication module because the first communication module does not satisfy the predetermined criteria, and the first communication module is used by the evaluation means. When the evaluation of the communication state of the communication module satisfies a predetermined criterion, it is preferable to control the communication by using the first communication module.

非限定的な観点によると、本発明に係る制御方法は、通信先装置と無線データ通信を行う通信装置において実行される制御方法であって、通信装置は、少なくとも第1通信モジュール及び第2通信モジュールを備えるものであり、第1通信モジュール及び第2通信モジュールの通信の状態を評価するステップと、第1通信モジュールの通信状態に関する評価が所定の基準を満たさない場合に、第2通信モジュールを用いて通信するように制御するステップとを有する、制御方法である。 From a non-limiting point of view, the control method according to the present invention is a control method executed in a communication device that performs wireless data communication with a communication destination device, and the communication device includes at least a first communication module and a second communication. The module is provided, and when the step of evaluating the communication status of the first communication module and the second communication module and the evaluation of the communication status of the first communication module do not meet the predetermined criteria, the second communication module is provided. It is a control method having a step of controlling to communicate by using.

非限定的な観点によると、本発明に係る通信装置は、通信先装置と無線データ通信を行う通信装置であって、通信装置は、少なくとも第1通信モジュール及び第2通信モジュールを備えるものであり、第1通信モジュール及び第2通信モジュールの通信の状態を評価する評価手段と、第1通信モジュールの通信状態に関する評価が所定の基準を満たさない場合に、第2通信モジュールを用いて通信するように制御する制御手段とを備える通信装置である。 From a non-limiting point of view, the communication device according to the present invention is a communication device that performs wireless data communication with a communication destination device, and the communication device includes at least a first communication module and a second communication module. , The evaluation means for evaluating the communication status of the first communication module and the second communication module, and when the evaluation regarding the communication status of the first communication module does not meet the predetermined criteria, the second communication module is used for communication. It is a communication device provided with a control means for controlling the module.

本発明によれば、無線方式によるデータ通信を安定して行う装置を提供することができる。 According to the present invention, it is possible to provide a device that stably performs data communication by a wireless system.

本発明の実施の形態の少なくとも1つに対応する、システムの構成を示すブロック図である。It is a block diagram which shows the structure of the system corresponding to at least one of the Embodiments of this invention. 本発明の実施の形態の少なくとも1つに対応する、通信制御に関するフローチャートである。It is a flowchart about communication control corresponding to at least one of the embodiments of this invention. 本発明の実施の形態の少なくとも1つに対応する、評価基準マスタテーブルを表す図である。It is a figure which represents the evaluation standard master table corresponding to at least one of the Embodiments of this invention.

以下、添付図面を参照して、本発明の実施の形態について説明する。以下、効果に関する記載は、本発明の実施の形態の効果の一側面であり、ここに記載するものに限定されない。また、以下で説明するフローチャートを構成する各処理の順序は、処理内容に矛盾や不整合が生じない範囲で順不同である。 Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. Hereinafter, the description regarding the effect is one aspect of the effect of the embodiment of the present invention, and is not limited to what is described here. In addition, the order of each process constituting the flowchart described below is random as long as there is no contradiction or inconsistency in the process contents.

続いて、本発明の実施の形態について説明する。本発明の実施の形態として、交差点における交通信号機を制御する通信装置を例示する。通信装置は、通信先装置と通信して制御情報を受信し、信号機を制御する。信号機の制御盤に、専用の無線通信ボードを組み込むようにしてもよい。 Subsequently, an embodiment of the present invention will be described. As an embodiment of the present invention, a communication device for controlling a traffic signal at an intersection will be exemplified. The communication device communicates with the communication destination device, receives control information, and controls the traffic signal. A dedicated wireless communication board may be incorporated in the control panel of the traffic light.

通信装置は、複数の無線通信回線と通信可能にするための通信モジュールを備える。例えば、第1通信モジュールでは、A社の回線を使用し、第2通信モジュールではB社の回線を使用する。通信回線は異なる規格であることが好ましい。通信装置は、VPN(Virtual Private Network)を用いて通信先装置と接続する。VPNの設定情報は予めメモリ等に記憶させるものとする。 The communication device includes a communication module for enabling communication with a plurality of wireless communication lines. For example, the first communication module uses the line of company A, and the second communication module uses the line of company B. It is preferable that the communication lines have different standards. The communication device is connected to the communication destination device using a VPN (Virtual Private Network). The VPN setting information shall be stored in a memory or the like in advance.

図1は、本発明の実施の形態の少なくとも1つに対応する、システムの構成を示すブロック図である。通信装置1は、制御部10及び通信部50を少なくとも含み、CPU、ROM、RAM、アンテナ等の部材により構成される。制御部10は、通信の制御に関する処理を行う。通信部50は、アンテナを介した無線方式の通信処理を行う。通信部50から送出されたデータは、ネットワーク2を介して、通信先装置3へ送信される。 FIG. 1 is a block diagram showing a system configuration corresponding to at least one of the embodiments of the present invention. The communication device 1 includes at least a control unit 10 and a communication unit 50, and is composed of members such as a CPU, ROM, RAM, and an antenna. The control unit 10 performs processing related to communication control. The communication unit 50 performs wireless communication processing via the antenna. The data transmitted from the communication unit 50 is transmitted to the communication destination device 3 via the network 2.

制御部10は、計時部11、データ送信部12、受信感度計測部13、干渉電波検出部14、疎通状態確認部15、評価部16、通信モジュール変更部17、VPN接続部18、異常判定部19、及び再起動処理部20を少なくとも備える。 The control unit 10 includes a timekeeping unit 11, a data transmission unit 12, a reception sensitivity measurement unit 13, an interference radio wave detection unit 14, a communication state confirmation unit 15, an evaluation unit 16, a communication module change unit 17, a VPN connection unit 18, and an abnormality determination unit. It includes at least 19 and a restart processing unit 20.

評価部16は、第1通信モジュール評価部16a、第2通信モジュール評価部16b、第n通信モジュール評価部16n(nは3以上の整数)を少なくとも備える。つまり、評価部16は、通信可能な無線通信回線の数と同じ数存在し、各通信モジュールを評価する。 The evaluation unit 16 includes at least a first communication module evaluation unit 16a, a second communication module evaluation unit 16b, and an nth communication module evaluation unit 16n (n is an integer of 3 or more). That is, the evaluation unit 16 exists in the same number as the number of communicable wireless communication lines, and evaluates each communication module.

計時部11は、時間を掲示する機能を有する。計時は、例えばCPUの内部タイマを使用してもよい。データ送信部12は、所定の間隔毎に、通信先装置へとデータ送信を行う機能を有する。受信感度計測部13は、通信装置における受信感度を計測する機能を有する。 The timekeeping unit 11 has a function of posting the time. For timekeeping, for example, the internal timer of the CPU may be used. The data transmission unit 12 has a function of transmitting data to the communication destination device at predetermined intervals. The reception sensitivity measurement unit 13 has a function of measuring the reception sensitivity of the communication device.

干渉電波検出部14は、通信に用いられる電波が受けている電波干渉の原因となる、他の電波を検出する機能を有する。疎通状態確認部15は、通信先装置との通信における疎通の状態を確認する機能を有する。評価部16は、通信モジュール毎の通信状態に関する評価を行う機能を有する。 The interference radio wave detection unit 14 has a function of detecting other radio waves that cause radio wave interference received by radio waves used for communication. The communication state confirmation unit 15 has a function of confirming the state of communication in communication with the communication destination device. The evaluation unit 16 has a function of evaluating the communication state of each communication module.

通信モジュール変更部17は、通信に使用する通信モジュールを変更する機能を有する。VPN接続部18は、使用する通信モジュールに関連付けられたVPN接続を確立する機能を有する。異常判定部19は、通信モジュール毎に、通信状態が異常であるか否かを判定する機能を有する。再起動処理部20は、異常判定部19により異常であると判定された場合に、異常と判定された通信モジュールを再起動する機能を有する。 The communication module changing unit 17 has a function of changing the communication module used for communication. The VPN connection unit 18 has a function of establishing a VPN connection associated with the communication module to be used. The abnormality determination unit 19 has a function of determining whether or not the communication state is abnormal for each communication module. The restart processing unit 20 has a function of restarting the communication module determined to be abnormal when it is determined by the abnormality determination unit 19 to be abnormal.

通信部50は、第1通信モジュール通信部51a、第2通信モジュール通信部51b、第n通信モジュール通信部51n(nは3以上の整数)を少なくとも備える。各通信モジュールは、アンテナ及びネットワーク2を介して、通信先装置3へデータ通信を行う機能を有する。 The communication unit 50 includes at least a first communication module communication unit 51a, a second communication module communication unit 51b, and an nth communication module communication unit 51n (n is an integer of 3 or more). Each communication module has a function of performing data communication to the communication destination device 3 via the antenna and the network 2.

[プログラム実行処理]
次に、プログラムの実行処理について説明する。図2は、本発明の実施の形態の少なくとも1つに対応する、通信制御に関するフローチャートである。以下、第1通信モジュール及び第2通信モジュールについて記載するが、本発明はこれに限定されるものではない。
[Program execution process]
Next, the execution process of the program will be described. FIG. 2 is a flowchart relating to communication control corresponding to at least one of the embodiments of the present invention. Hereinafter, the first communication module and the second communication module will be described, but the present invention is not limited thereto.

最初に、通信装置1は、初期設定を行う(ステップS1)。初期設定では、メインの通信モジュールとして第1通信モジュールを使用するように設定する。また、第2通信モジュールをバックアップ用の通信モジュールとして設定する。通信装置は、後述の制御により使用する通信モジュールが変更されるまで、メインの通信モジュールを使用して通信を行う。そして、計時部11により、計時を開始する。 First, the communication device 1 makes initial settings (step S1). In the initial setting, the first communication module is set to be used as the main communication module. In addition, the second communication module is set as a backup communication module. The communication device uses the main communication module for communication until the communication module to be used is changed by the control described later. Then, the timekeeping unit 11 starts the timekeeping.

初期設定ではさらに、通信モジュールごとに、通信経路を設定する。例えば、ルーティングテーブルを設定する。ここで、各通信モジュールにおける、通信の始点と終点との組み合わせを同一の組み合わせにする。このようにすることで、通信の切り替えが生じた場合に、素早く切り替えることができ、通信断の時間を短くすることができる。 In the initial setting, a communication path is further set for each communication module. For example, set up a routing table. Here, the combination of the start point and the end point of communication in each communication module is set to the same combination. By doing so, when the communication is switched, the switching can be performed quickly, and the communication interruption time can be shortened.

次に、通信装置1は、受信感度を計測する(ステップS2)。受信感度は、例えば、通信先装置から又は中継装置から受信した電波の強度を表す、RSSI(Received Signal Strength Indicator)を用いて計測することができる。 Next, the communication device 1 measures the reception sensitivity (step S2). The reception sensitivity can be measured using, for example, RSSI (Received Signal Strength Indicator), which represents the intensity of radio waves received from the communication destination device or the relay device.

次に、通信装置1は、干渉電波を検出する(ステップS3)。ここでは、一例として、干渉の原因となる電波の数を特定してもよい。電波の干渉は、地形や障害物の反射、自動車の通行、他の電波が同一のチャネルを使用する、あるいは、チャネルを重複して使用することにより生じ、通信の遅延の原因となる。つまり、干渉の原因となる電波の数が少ない方が好ましい。 Next, the communication device 1 detects the interference radio wave (step S3). Here, as an example, the number of radio waves that cause interference may be specified. Radio wave interference is caused by the reflection of terrain and obstacles, the passage of automobiles, the use of the same channel by other radio waves, or the overlapping of channels, which causes communication delay. That is, it is preferable that the number of radio waves causing interference is small.

次に、通信装置1は、通信先装置3との通信における疎通の状態を確認する(ステップS4)。疎通状態の確認は、例えば、通信先装置のIPアドレスに対して、所定のデータを送信し、送信先からの応答速度(PING値)を計測して行う。これにより、通信先装置との通信状態を確認できる。 Next, the communication device 1 confirms the state of communication in communication with the communication destination device 3 (step S4). The communication state is confirmed, for example, by transmitting predetermined data to the IP address of the communication destination device and measuring the response speed (PING value) from the transmission destination. As a result, the communication status with the communication destination device can be confirmed.

ステップS2の受信感度の測定、ステップS3の干渉電波の検出、及びステップS4の疎通状態の確認は、通信モジュールそれぞれに対して行う。例えば、接続するネットワークが異なることにより、検出される値が変わる場合があるからである。 The measurement of the reception sensitivity in step S2, the detection of the interference radio wave in step S3, and the confirmation of the communication state in step S4 are performed for each communication module. For example, the detected value may change depending on the connected network.

次に、通信装置1は、第1通信モジュール評価部16aにより第1通信モジュールの通信状態に関する評価を行い、所定の基準を満たさないか否かを判定する(ステップS5)。 Next, the communication device 1 evaluates the communication state of the first communication module by the first communication module evaluation unit 16a, and determines whether or not the predetermined criteria are satisfied (step S5).

[評価基準]
図3は、本発明の実施の形態の少なくとも1つに対応する、評価基準マスタテーブルを表す図である。評価基準マスタテーブル100には、使用通信モジュール101に関連付けて、受信感度102、干渉電波数103、及び疎通状態104が少なくとも記憶される。
[Evaluation criteria]
FIG. 3 is a diagram showing an evaluation standard master table corresponding to at least one of the embodiments of the present invention. In the evaluation standard master table 100, at least the reception sensitivity 102, the number of interference radio waves 103, and the communication state 104 are stored in association with the communication module 101 used.

使用通信モジュール101は、通信に使用するモジュールを表す。受信感度102は、良好な電波強度を表す数値を表す。干渉電波数103は、他の電波からの影響が小さいと想定される電波の数を表す。疎通状態104は、通信先装置3からの応答時間が良好であると判断可能な速度を表す。 The communication module 101 used represents a module used for communication. The reception sensitivity 102 represents a numerical value representing a good radio wave intensity. The interference radio wave number 103 represents the number of radio waves that are assumed to be less affected by other radio waves. The communication state 104 represents a speed at which it can be determined that the response time from the communication destination device 3 is good.

評価基準マスタテーブル100に記憶される内容は、通信装置1の配置場所ごとに変更してもよい。例えば、場所によっては、電波の受信感度が悪い場所や、電波干渉が多い場所があり、基準を変更しなければならない状況があり得るからである。このように設計することで、柔軟に運用することができる。 The contents stored in the evaluation standard master table 100 may be changed for each arrangement location of the communication device 1. For example, depending on the location, there may be a location where the reception sensitivity of radio waves is poor or a location where there is a lot of radio wave interference, and there may be situations where the standard must be changed. By designing in this way, it can be operated flexibly.

ステップS5において、所定の基準を満たさない場合とは、受信感度102、干渉電波数103、及び疎通状態104のいずれかの条件を満たさない場合をいう。つまり、例えば、受信感度102及び疎通状態104が良好で基準を満たす場合であっても、干渉電波数103が基準よりも多い場合には、当該通信モジュールを使用した通信は安定した品質を維持できず、基準を満たさないものと判定され、他の通信モジュールを使用した通信の評価を確認することとなる。 In step S5, the case where the predetermined criteria are not satisfied means the case where any of the conditions of the reception sensitivity 102, the number of interference radio waves 103, and the communication state 104 is not satisfied. That is, for example, even when the reception sensitivity 102 and the communication state 104 are good and satisfy the standard, when the number of interfering radio waves 103 is larger than the standard, the communication using the communication module can maintain stable quality. However, it is determined that the criteria are not met, and the evaluation of communication using other communication modules is confirmed.

第1通信モジュールが基準を満たさない場合(ステップS5にてYES)、通信装置1は、第2通信モジュール評価部16bにより第2通信モジュールの通信状態に関する評価を行い、所定の基準を満たすか否かを判定する(ステップS6)。 If the first communication module does not meet the criteria (YES in step S5), the communication device 1 evaluates the communication status of the second communication module by the second communication module evaluation unit 16b, and whether or not the communication device 1 meets the predetermined criteria. (Step S6).

第2通信モジュールが基準を満たす場合(ステップS6にてYES)には、通信で使用する通信モジュールを第2通信モジュールに変更する(ステップS7)。そして、通信装置1は、通信装置1と通信先装置3とをVPNを用いて接続する(ステップS8)。 If the second communication module satisfies the criteria (YES in step S6), the communication module used for communication is changed to the second communication module (step S7). Then, the communication device 1 connects the communication device 1 and the communication destination device 3 using a VPN (step S8).

例えば、災害等により第1通信モジュールが使用不能の状況に陥った場合には、第1通信モジュールの評価が基準を満たすことはないので、使用可能な第2通信モジュールを代替の通信モジュールとして使用する。このように、通信品質の悪い第1通信モジュールに代えて、品質の良い第2通信モジュールを使用することで、通信不能のリスクを回避することができる。 For example, if the first communication module becomes unusable due to a disaster or the like, the evaluation of the first communication module does not meet the criteria, so the usable second communication module is used as an alternative communication module. To do. As described above, by using the second communication module having good quality instead of the first communication module having poor communication quality, the risk of communication failure can be avoided.

別の例として、第1通信モジュールを使用した通信が、通信先装置との疎通状態は良好であるものの、電波の受信感度が悪い場合には、第1通信モジュールの評価基準を満たさない。このような場合には、第2通信モジュールにおける電波の受信感度及び疎通状態を確認し、第2通信モジュールを使用した通信に変更する。第2通信モジュールが基準を満たさない場合には、第3、第4・・・と、基準を満たす通信モジュールが有るか否かを確認する。一方、第1通信モジュール以外の他の通信モジュールを使用した通信がいずれも評価基準を満たさない場合には、第1通信モジュールを使用する。通信のリスクを排除し、安定した通信を提供するためである。 As another example, communication using the first communication module does not satisfy the evaluation criteria of the first communication module when the communication state with the communication destination device is good but the reception sensitivity of radio waves is poor. In such a case, the reception sensitivity and communication state of the radio wave in the second communication module are confirmed, and the communication is changed to the communication using the second communication module. If the second communication module does not meet the criteria, it is confirmed whether or not there is a communication module that meets the criteria with the third, fourth, and so on. On the other hand, if none of the communications using the communication modules other than the first communication module satisfy the evaluation criteria, the first communication module is used. This is to eliminate the risk of communication and provide stable communication.

他方、第1通信モジュールが基準を満たす場合(ステップS5にてNO)には、現在の通信で使用している通信モジュールが、ステップS7において第2通信モジュールを使用するように変更されたことにより、第2通信モジュールを用いて通信を行っているか判定する(ステップS9)。第2通信モジュールを用いて通信を行っている場合(ステップS9にてYES)には、通信で使用する通信モジュールを第1通信モジュールに変更する(ステップS10)。そして、通信装置1は、通信装置1と通信先装置3とをVPNを用いて接続する(ステップS8)。 On the other hand, when the first communication module satisfies the standard (NO in step S5), the communication module used in the current communication is changed to use the second communication module in step S7. , It is determined whether communication is performed using the second communication module (step S9). When communication is performed using the second communication module (YES in step S9), the communication module used for communication is changed to the first communication module (step S10). Then, the communication device 1 connects the communication device 1 and the communication destination device 3 using a VPN (step S8).

つまり、バックアップ用の第2通信モジュールを使用していた場合に、メインで使用する第1通信モジュールの通信品質が基準を満たすレベルに戻ったときには、再度第1通信モジュールを使用する。例えば、第1通信モジュールと第2通信モジュールとの通信料金の違いがある場合であって、第1通信モジュールの通信料金の方が安い場合には、第1通信モジュールの通信をより多く使用することで、利用者は経済的利益を得ることができる。 That is, when the second communication module for backup is used and the communication quality of the first communication module used in the main returns to a level satisfying the standard, the first communication module is used again. For example, if there is a difference in communication charges between the first communication module and the second communication module, and the communication charges of the first communication module are lower, the communication of the first communication module is used more. As a result, the user can obtain economic benefits.

また、例えば、通信品質を重視する場合には、通信品質の高い通信会社の通信網を利用するように第1通信モジュールの通信を設定し、やや通信品質の劣る通信会社の通信網を利用するように第2通信モジュールの通信を設定することができる。このようにすることで、高品質の通信を基本としながら、トラブルが生じた場合にのみ、第1通信モジュールよりは通信品質の劣る第2通信モジュールを使用するという運用が可能となる。 Further, for example, when emphasizing communication quality, the communication of the first communication module is set so as to use the communication network of the communication company with high communication quality, and the communication network of the communication company with slightly inferior communication quality is used. The communication of the second communication module can be set as described above. By doing so, it is possible to operate the second communication module whose communication quality is inferior to that of the first communication module only when a trouble occurs while the communication is based on high quality.

ステップS6において第2通信モジュールが基準を満たさない場合(ステップS6にてNO)、又は、ステップS7において第2通信モジュールを用いて通信を行っていない場合(ステップS9にてNO)には、使用する通信モジュールを変更することなく、再度ステップS2に戻る。 Used when the second communication module does not meet the criteria in step S6 (NO in step S6) or when communication is not performed using the second communication module in step S7 (NO in step S9). The process returns to step S2 again without changing the communication module to be used.

プログラムは、ステップS2〜S10までの処理を、所定の時間間隔で繰り返す。例えば、30秒毎に実行するようにしてもよい。 The program repeats the processes of steps S2 to S10 at predetermined time intervals. For example, it may be executed every 30 seconds.

図2のフローチャートには図示しないが、すべての通信モジュールが通信不可となる場合がある。例えば、通信モジュールが停止した、アンテナが損傷して無線通信ができない等の場合である。このような場合には、受信感度は0dbmになり、一切の電波を受信できない。このとき、異常判定部19は異常状態であると判定し、再起動処理部20により、通信モジュールを再起動させる。再起動により通信状況が改善されない場合には、故障とみなして外部へ自動的にアラートを表示させてもよい。 Although not shown in the flowchart of FIG. 2, all communication modules may be unable to communicate. For example, the communication module is stopped, the antenna is damaged, and wireless communication is not possible. In such a case, the reception sensitivity becomes 0 dbm, and no radio wave can be received. At this time, the abnormality determination unit 19 determines that the condition is abnormal, and the restart processing unit 20 restarts the communication module. If the communication status is not improved by restarting, it may be regarded as a failure and an alert may be automatically displayed to the outside.

図2のフローチャートとは別に、データ送信部12により、各通信モジュールから、所定の間隔毎に通信先装置へデータを送信するようにしてもよい。このようにすることで、通信環境を常にアクティブモードにすることができ、例えば、使用する通信モジュールの切り替えが生じた場合であっても、パッシブモードになっていた場合と比較して、迅速に通信を開始することができるという利点があり、安定したデータ通信を行うことができる。 Apart from the flowchart of FIG. 2, the data transmission unit 12 may transmit data from each communication module to the communication destination device at predetermined intervals. By doing so, the communication environment can always be in the active mode, and even if the communication module to be used is switched, for example, it is quicker than in the case of the passive mode. It has the advantage that communication can be started, and stable data communication can be performed.

ステップS2における受信感度の計測、及び、ステップS3の干渉電波の検出は、通信装置1が受信する電波の状況に関する評価である。一方、ステップS4の疎通状態の確認は、通信先装置3との通信状況に関する評価である。本発明は、このように2種類の異なる軸を用いて通信状態の評価を行うことにより、高品質の通信モジュールを選択することができる。つまり、無線方式によるデータ通信を安定して行うことができる。 The measurement of the reception sensitivity in step S2 and the detection of the interference radio wave in step S3 are evaluations regarding the state of the radio wave received by the communication device 1. On the other hand, the confirmation of the communication state in step S4 is an evaluation regarding the communication status with the communication destination device 3. According to the present invention, a high-quality communication module can be selected by evaluating the communication state using two different types of axes in this way. That is, data communication by wireless method can be performed stably.

本発明は、通信装置を設置場所から移動させることができない場合であっても、複数の、規格の異なる無線通信モジュールを制御することで、安定した通信を行い、品質の高い通信を提供することができるものである。通信装置を設置場所から移動させることができる場合にも、当然に適用することができる。 The present invention provides stable communication and high-quality communication by controlling a plurality of wireless communication modules having different standards even when the communication device cannot be moved from the installation location. Can be done. Of course, it can also be applied when the communication device can be moved from the installation location.

上記では、交通信号機を例示して説明したが、本発明はこれに限定されない。記載された内容を適宜変更して、例えば、公共のインフラ設備等に適用することも可能である。 In the above description, the traffic signal has been illustrated as an example, but the present invention is not limited thereto. It is also possible to change the described contents as appropriate and apply it to, for example, public infrastructure equipment.

1 通信装置
2 ネットワーク
3 通信先装置
10 制御部
11 計時部
12 データ送信部
13 受信感度計測部
14 干渉電波検出部
15 疎通状態確認部
16 評価部
17 通信モジュール変更部
18 VPN接続部
19 異常判定部
20 再起動処理部
50 通信部
100 評価基準マスタテーブル
1 Communication device 2 Network 3 Communication destination device 10 Control unit 11 Timekeeping unit 12 Data transmission unit 13 Reception sensitivity measurement unit 14 Interference radio wave detection unit 15 Communication status confirmation unit 16 Evaluation unit 17 Communication module change unit 18 VPN connection unit 19 Abnormality judgment unit 20 Restart processing unit 50 Communication unit 100 Evaluation standard master table

Claims (5)

通信先装置と無線データ通信を行う通信装置において実行される制御プログラムであって、
通信装置は、少なくとも第1通信モジュール及び第2通信モジュールを備えるものであり、
通信装置を、
第1通信モジュール及び第2通信モジュールの通信の状態を評価する評価手段、
第1通信モジュールの通信状態に関する評価が所定の基準を満たさない場合に、第2通信モジュールを用いて通信するように制御する制御手段
として機能させる、制御プログラム。
A control program executed in a communication device that performs wireless data communication with a communication destination device.
The communication device includes at least a first communication module and a second communication module.
Communication device,
Evaluation means for evaluating the communication status of the first communication module and the second communication module,
A control program that functions as a control means for controlling communication using the second communication module when the evaluation of the communication state of the first communication module does not meet a predetermined criterion.
前記評価手段が、通信装置における電波の受信状態、及び、前記通信先装置と接続されているか否かを表す疎通状態に基づいて評価する、請求項1に記載の制御プログラム。 The control program according to claim 1, wherein the evaluation means evaluates based on a reception state of radio waves in the communication device and a communication state indicating whether or not the communication device is connected to the communication destination device. 通信装置を、
第1通信モジュール及び第2通信モジュールにより、所定の間隔毎に、通信先装置へとデータ送信を行うデータ通信手段
として機能させる、請求項1又は2に記載の制御プログラム。
Communication device,
The control program according to claim 1 or 2, wherein the first communication module and the second communication module function as a data communication means for transmitting data to a communication destination device at predetermined intervals.
前記制御手段が、第1通信モジュールが前記所定の基準を満たさなかったことにより第2通信モジュールを用いて通信を行っている場合であって、評価手段により第1通信モジュールの通信状態に関する評価が所定の基準を満たしたときに、第1通信モジュールを用いて通信するよう制御する、請求項1〜3のいずれかに記載の制御プログラム。 When the control means communicates using the second communication module because the first communication module does not satisfy the predetermined criteria, the evaluation means evaluates the communication state of the first communication module. The control program according to any one of claims 1 to 3, which controls communication using the first communication module when a predetermined criterion is satisfied. 通信先装置と無線データ通信を行う通信装置において実行される制御方法であって、
通信装置は、少なくとも第1通信モジュール及び第2通信モジュールを備えるものであり、
第1通信モジュール及び第2通信モジュールの通信の状態を評価するステップと、
第1通信モジュールの通信状態に関する評価が所定の基準を満たさない場合に、第2通信モジュールを用いて通信するように制御するステップと
を有する、制御方法。
A control method executed in a communication device that performs wireless data communication with a communication destination device.
The communication device includes at least a first communication module and a second communication module.
Steps to evaluate the communication status of the first communication module and the second communication module,
A control method comprising a step of controlling communication using the second communication module when the evaluation of the communication state of the first communication module does not meet a predetermined criterion.
JP2019068317A 2019-03-29 2019-03-29 Control program and control method Pending JP2020167605A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019068317A JP2020167605A (en) 2019-03-29 2019-03-29 Control program and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019068317A JP2020167605A (en) 2019-03-29 2019-03-29 Control program and control method

Publications (1)

Publication Number Publication Date
JP2020167605A true JP2020167605A (en) 2020-10-08

Family

ID=72715372

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019068317A Pending JP2020167605A (en) 2019-03-29 2019-03-29 Control program and control method

Country Status (1)

Country Link
JP (1) JP2020167605A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022208633A1 (en) * 2021-03-29 2022-10-06 日本電気株式会社 Communication terminal, signal control device, communication terminal control method, and program recording medium
JP7489666B2 (en) 2021-03-04 2024-05-24 矢崎総業株式会社 Wireless communication device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008035421A (en) * 2006-07-31 2008-02-14 Fujitsu Ltd Communication device, relay device, communication system, communication method, and communication program
JP2014200035A (en) * 2013-03-29 2014-10-23 富士通株式会社 Base station, control method, and communication system
JP2015165630A (en) * 2014-03-03 2015-09-17 エヌ・ティ・ティ・ソフトウェア株式会社 Communication terminal and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008035421A (en) * 2006-07-31 2008-02-14 Fujitsu Ltd Communication device, relay device, communication system, communication method, and communication program
JP2014200035A (en) * 2013-03-29 2014-10-23 富士通株式会社 Base station, control method, and communication system
JP2015165630A (en) * 2014-03-03 2015-09-17 エヌ・ティ・ティ・ソフトウェア株式会社 Communication terminal and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7489666B2 (en) 2021-03-04 2024-05-24 矢崎総業株式会社 Wireless communication device
WO2022208633A1 (en) * 2021-03-29 2022-10-06 日本電気株式会社 Communication terminal, signal control device, communication terminal control method, and program recording medium

Similar Documents

Publication Publication Date Title
US8379608B2 (en) Radio communication method, radio communication system and wireless terminal
US10447502B2 (en) Method and a device for controlling a home wireless system
JP2009253359A (en) Sensor network system and communication path determining method
US10588173B2 (en) Wi-Fi mesh fire detection system
US20190261191A1 (en) Communication system and wireless network engineering support method
CN114207682B (en) Method for operating a mobile system and an alarm gateway as subscribers in a wireless network
EP3051874B1 (en) Method systems and device for reporting movement information
JP5861090B2 (en) Multi-hop communication method, multi-hop communication system, and communication terminal
JP2008205929A (en) Communication system
JP2020167605A (en) Control program and control method
WO2018097059A1 (en) Wireless communication device, method, and recording medium
JP6546072B2 (en) Communication system, base station, and relay station
CN115551031B (en) Method for connecting 5G and self-organizing network combined networking
KR102343570B1 (en) radio communication device
JP2003229892A (en) Network communication system and its method
JP2002094449A (en) Radio access system
JP2007235397A (en) Base station, wireless system, and selection method of communication target base station
JP2007274273A (en) Radio communication system
JP2007214901A (en) Antenna switching device, mobile station management system, antenna switching method and control program
EP2790335B1 (en) Wireless communication system
JP5346999B2 (en) Wireless communication system
JP2007104648A (en) Radio communication system, base station, exchange, and cell interference area detecting method used for the same
JP2010041650A (en) Communication apparatus
EP2755436A1 (en) A method and a device for communicating in a home wireless system
JP6519977B2 (en) Wireless system and communication channel setting method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190723

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200804

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20201005

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201203

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210119

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20210803