JP2016192751A - Radio equipment nad radio network system - Google Patents

Radio equipment nad radio network system Download PDF

Info

Publication number
JP2016192751A
JP2016192751A JP2015073167A JP2015073167A JP2016192751A JP 2016192751 A JP2016192751 A JP 2016192751A JP 2015073167 A JP2015073167 A JP 2015073167A JP 2015073167 A JP2015073167 A JP 2015073167A JP 2016192751 A JP2016192751 A JP 2016192751A
Authority
JP
Japan
Prior art keywords
unit
data
packet size
maximum packet
wireless
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
JP2015073167A
Other languages
Japanese (ja)
Inventor
恭兵 福永
Kyohei Fukunaga
恭兵 福永
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.)
Panasonic Industrial Devices SUNX Tatsuno Co Ltd
Original Assignee
Panasonic Industrial Devices SUNX Tatsuno 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 Panasonic Industrial Devices SUNX Tatsuno Co Ltd filed Critical Panasonic Industrial Devices SUNX Tatsuno Co Ltd
Priority to JP2015073167A priority Critical patent/JP2016192751A/en
Publication of JP2016192751A publication Critical patent/JP2016192751A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide radio equipment and a radio equipment system that can suppress data division processing and shorten communication time when packet communication is performed.SOLUTION: Radio equipment 1 is used for a radio network and performs packet communication in the radio network. The radio equipment 1 comprises a radio transceiver 10, and a maximum packet size setting unit 14 for changing and setting the maximum packet size of data to be transmitted via the radio transceiver 10 in the packet communication according to the purpose of the packet communication or the scale of the radio network.SELECTED DRAWING: Figure 2

Description

本発明は、無線機器および無線ネットワークシステムに関し、詳しくは、無線ネットワークにおいてパケット通信を行う無線機器に関する。   The present invention relates to a wireless device and a wireless network system, and more particularly to a wireless device that performs packet communication in a wireless network.

従来、この種の無線機器として、例えば、特許文献1に開示された技術が知られている。特許文献1では、受信したパケットのパケットサイズと、最大転送ユニットサイズ(最大パケットサイズ)とを比較して、受信パケットサイズが最大パケットサイズ以下である場合に、受信したパケットを転送する技術が示されている。一方、受信パケットサイズが最大パケットサイズより大きい場合には、受信したパケットを破棄する、あるいは分割されたパケットを転送する技術が示されている。   Conventionally, for example, a technique disclosed in Patent Document 1 is known as this type of wireless device. Patent Document 1 compares the packet size of a received packet with the maximum transfer unit size (maximum packet size), and shows a technique for transferring a received packet when the received packet size is equal to or smaller than the maximum packet size. Has been. On the other hand, when the received packet size is larger than the maximum packet size, a technique for discarding the received packet or transferring the divided packet is shown.

特開2010−239293号公報JP 2010-239293 A

しかしながら、上記無線機器では、無線ネットワークの規模に関係なく、最大パケットサイズが、大規模なシステムを想定して、分割して送受信できるような所定のサイズに決定されていた。そのため、小規模なネットワークで、分割して送受信する必要がない場合であっても、所定の最大パケットサイズよりも大きなサイズのデータを送信しようとすると、即時性を求められるシステムにおいても分割して送信する必要があった。この場合、分割処理に時間を要し、所望の即時性が得られないという不都合が生じていた。   However, in the wireless device, regardless of the size of the wireless network, the maximum packet size is determined to be a predetermined size that can be divided and transmitted / received assuming a large-scale system. Therefore, even if it is not necessary to divide and transmit in a small network, if you try to send data larger than the predetermined maximum packet size, it will be divided even in a system that requires immediacy. There was a need to send. In this case, the division process takes time, and there is a disadvantage that the desired immediacy cannot be obtained.

そこで、本明細書では、パケット通信を行う際に、データ分割処理を抑制でき、通信時間を短縮できる無線機器、および無線ネットワークシステムを提供する。   Therefore, the present specification provides a wireless device and a wireless network system that can suppress data division processing and reduce communication time when performing packet communication.

本明細書によって開示される無線機器は、無線ネットワークに使用され、前記無線ネットワークにおいてパケット通信を行う無線機器において、無線送受信部と、前記パケット通信において、前記無線送受信部を介して送信するデータの最大パケットサイズを、前記パケット通信の用途に応じて、あるいは前記無線ネットワークの規模に応じて設定変更する最大パケットサイズ設定部と、を備える。
本構成によれば、送信する最大パケットサイズを設定変更できる最大パケットサイズ設定部を備えることにより、即時性が要求されるネットワークシステムにおいて、全ての情報を一回の送信で可能なように最大パケットサイズを設定することができる。そのため、パケット通信を行う際に、データ分割処理を抑制でき、通信時間を短縮できる。
A wireless device disclosed in this specification is used in a wireless network, and in a wireless device that performs packet communication in the wireless network, a wireless transmission / reception unit, and data transmitted via the wireless transmission / reception unit in the packet communication A maximum packet size setting unit configured to change a maximum packet size according to the use of the packet communication or according to the scale of the wireless network.
According to this configuration, the maximum packet size setting unit that can change the maximum packet size to be transmitted is provided, so that in a network system that requires immediacy, the maximum packet can be transmitted in a single transmission. The size can be set. Therefore, when performing packet communication, data division processing can be suppressed and communication time can be shortened.

上記無線機器において、前記パケット通信の用途が、情報データを送信する用途か、プログラムデータを送信する用途かを判定する用途判定部を備え、前記最大パケットサイズ設定部は、前記用途判定部の判定結果に応じて前記最大パケットサイズを設定変更するようにしてもよい。
本構成によれば、使用する用途に合わせて自動的に最大パケットサイズを設定変更する手段を設けることにより、ユーザが設定することなく、最適な送信が可能となる。
The wireless device includes a use determination unit that determines whether the use of the packet communication is a use of transmitting information data or a use of transmitting program data, and the maximum packet size setting unit is determined by the use determination unit. The maximum packet size may be changed according to the result.
According to this configuration, by providing means for automatically changing the setting of the maximum packet size according to the application to be used, optimal transmission is possible without the user setting.

また、上記無線機器において、前記無線ネットワークの規模が、大規模か小規模かを判定する規模判定部を備え、前記最大パケットサイズ設定部は、前記規模判定部の判定結果に応じて前記最大パケットサイズを設定変更するようにしてもよい。
本構成によれば、無線ネットワークの規模に応じて自動的に最大パケットサイズを設定変更する手段を設けることにより、最適な応答性のネットワークを構築できる。
The wireless device may further include a scale determining unit that determines whether the scale of the wireless network is large or small, and the maximum packet size setting unit includes the maximum packet according to a determination result of the scale determining unit. The size may be changed.
According to this configuration, an optimum responsive network can be constructed by providing means for automatically changing the maximum packet size according to the size of the wireless network.

また、上記無線機器において、前記最大パケットサイズ設定部は、ユーザによって前記最大パケットサイズを設定変更させるスイッチによって構成されるようにしてしてもよい。
本構成によれば、ユーザによって、パケット通信の通信データの用途に応じて、あるいは無線ネットワークの規模に応じて最大パケットサイズを設定変更できる。
In the wireless device, the maximum packet size setting unit may be configured by a switch that changes a setting of the maximum packet size by a user.
According to this configuration, the maximum packet size can be set and changed by the user according to the use of communication data for packet communication or according to the scale of the wireless network.

また、本明細書によって開示される無線ネットワークシステムは、上記いずれかに記載の無線機器によって構成される親機と、前記親機と同一構成の、少なくとも一個の子機と、を備えている。
本構成によれば、無線ネットワークシステムにおいてパケット通信を行う際に、データ分割処理を抑制でき、通信時間を短縮できる。
Further, a wireless network system disclosed in the present specification includes a parent device constituted by any one of the wireless devices described above, and at least one child device having the same configuration as the parent device.
According to this configuration, when packet communication is performed in a wireless network system, data division processing can be suppressed and communication time can be shortened.

本発明によれば、パケット通信を行う際に、データ分割処理を抑制でき、通信時間を短縮できる。   ADVANTAGE OF THE INVENTION According to this invention, when performing packet communication, a data division | segmentation process can be suppressed and communication time can be shortened.

一実施形態に係る無線ネットワークシステムのブロック図1 is a block diagram of a wireless network system according to an embodiment. 無線ネットワークシステムを構成する各部の概略的なブロック図Schematic block diagram of each part constituting the wireless network system 通信データの概略的な構成図Schematic configuration diagram of communication data 最大パケットサイズの設定変更処理を示す概略的なフローチャートSchematic flowchart showing maximum packet size setting change processing 最大パケットサイズの、別の設定変更処理を示す概略的なフローチャートSchematic flowchart showing another setting change process for maximum packet size

以下、一実施形態に係る無線ネットワークシステム100について図1から図5を参照した説明する。   Hereinafter, a wireless network system 100 according to an embodiment will be described with reference to FIGS. 1 to 5.

1.無線ネットワークシステムの構成
無線ネットワークシステム100は、図1に示されるように、例えば、1台の親機1、2台の子機2、1台の監視装置3、および5台の端末装置4を含む。なお、子機2および端末装置4の台数はこれに限られず任意である。なお、以下の説明において、複数の子機2および端末装置4を区別するために、必要に応じて子機2を符号2A,2B、端末装置4を、符号4A,4B,4C,4D,4Eで表すものとする。
1. Configuration of Radio Network System As shown in FIG. 1, the radio network system 100 includes, for example, one master unit, one slave unit 2, one monitoring device 3, and five terminal devices 4. Including. In addition, the number of the subunit | mobile_unit 2 and the terminal device 4 is not restricted to this, but is arbitrary. In the following description, in order to distinguish between the plurality of slave units 2 and the terminal device 4, the slave unit 2 is denoted by reference numerals 2A and 2B, the terminal device 4 is denoted by reference numerals 4A, 4B, 4C, 4D, and 4E as necessary. It shall be expressed as

2.親機および子機の構成
親機1および子機2は、無線信号の送受信を行う無線送受信部10と、記憶部11と、外部機器(例えば、後述する監視装置3や端末装置4)との通信に使用される外部インタフェースである通信部12と、各部を制御する制御部13とを備えた無線機から成る。すなわち、親機1および子機2は、「無線機器」の一例である。
2. Configuration of the parent device and the child device The parent device 1 and the child device 2 include a wireless transmission / reception unit 10 that transmits and receives wireless signals, a storage unit 11, and external devices (for example, a monitoring device 3 and a terminal device 4 described later). It consists of a wireless device including a communication unit 12 that is an external interface used for communication and a control unit 13 that controls each unit. That is, the parent device 1 and the child device 2 are examples of “wireless devices”.

なお、外部インタフェースとしては、例えば、RS485、RS232Cポート、およびUSBポート等がある。また、親機1と子機2の各構成は同一であるが、子機2の符号には、10Aのように文字「A」を添付して示す。また、親機1と子機2との間の通信方式は、半二重方式である。   Examples of external interfaces include RS485, RS232C port, and USB port. In addition, although the respective configurations of the parent device 1 and the child device 2 are the same, the character “A” is appended to the reference numeral of the child device 2 such as 10A. The communication method between the parent device 1 and the child device 2 is a half-duplex method.

無線送受信部10は、アンテナ15より無線信号を送信する送信回路部(図示せず)およびアンテナ15より無線信号を受信する受信回路部(図示せず)を具備する。なお、この種の無線送受信部10は従来周知であるので、ここでは詳細な説明を省略する。   The radio transmission / reception unit 10 includes a transmission circuit unit (not shown) that transmits a radio signal from the antenna 15 and a reception circuit unit (not shown) that receives a radio signal from the antenna 15. In addition, since this kind of radio | wireless transmission / reception part 10 is conventionally well-known, detailed description is abbreviate | omitted here.

記憶部11は、例えば書換え可能な不揮発性メモリ(一例としてはフラッシュメモリ)より成る。この記憶部11には、例えば制御部13で実行されるプログラム等が記憶される。また、本実施形態では、無線機(親機1及び各子機2)にそれぞれ固有のアドレス(MACアドレス及びネットワークアドレス)が設定され、当該MACアドレスおよびネットワークアドレスによって無線信号の送信先及び送信元の無線機を特定可能としている。このため、記憶部11には各無線機のMACアドレスおよびネットワークアドレスも記憶される。   The storage unit 11 is composed of, for example, a rewritable nonvolatile memory (for example, a flash memory). For example, a program executed by the control unit 13 is stored in the storage unit 11. In the present embodiment, a unique address (MAC address and network address) is set for each of the wireless devices (master device 1 and each slave device 2), and the transmission destination and the transmission source of the wireless signal are determined by the MAC address and network address. Can be specified. Therefore, the storage unit 11 also stores the MAC address and network address of each wireless device.

ここで、親機1の記憶部11には、親機1と子機2との間で無線通信を行うために必要な親機1と子機2との間の通信経路から構成される無線ネットワークのデータが記憶される。無線ネットワークのデータには、親機1と、親機1の配下の全ての子機2との間それぞれの通信経路の情報が含まれる(図3参照)。即ち、親機1と直接無線通信を行う子機2と親機1との間の通信経路の情報と、他の子機2を中継機とした子機2と親機1との間の通信経路の情報である。ここで、他の子機2を中継機とした子機2と親機1との間の通信経路の情報には、無線信号を中継する子機2(中継する子機2が複数ある場合には、中継する順番も含む)に関する情報が含まれている。   Here, the storage unit 11 of the parent device 1 is a wireless device configured by a communication path between the parent device 1 and the child device 2 that is necessary for wireless communication between the parent device 1 and the child device 2. Network data is stored. The data of the wireless network includes information on communication paths between the parent device 1 and all the child devices 2 under the parent device 1 (see FIG. 3). That is, information on the communication path between the slave unit 2 and the master unit 1 that performs direct wireless communication with the master unit 1 and communication between the slave unit 2 and the master unit 1 using the other slave units 2 as relay units. This is route information. Here, in the information of the communication path between the slave unit 2 and the master unit 1 using the other slave unit 2 as a relay unit, the slave unit 2 that relays a radio signal (when there are a plurality of slave units 2 to relay) Includes the order of relaying).

具体的には、親機1と子機2との間で無線通信のパケットデータのフォーマットは、例えば、図3に示されるように、「ヘッダ」、「送信元」、「送信先」、「到達先」、「分割の有無」、「データ長」、「データ」、および「チェックサム」から構成される。「ヘッダ」はデータの先頭を示す情報が格納される。「送信元」、「送信先」および「到達先」は、親機1と子機2との間の通信経路の情報を示す。例えば、「送信元」には、親機1のMACアドレスが格納され、「送信先」には、子機2のMACアドレスが格納される。「到達先」には、子機2が複数の場合において、最終到達先の子機2のMACアドレスが格納される。   Specifically, the format of packet data for wireless communication between the parent device 1 and the child device 2 is, for example, “header”, “transmission source”, “transmission destination”, “ It consists of “destination”, “partition presence / absence”, “data length”, “data”, and “checksum”. “Header” stores information indicating the head of data. “Transmission source”, “transmission destination”, and “destination” indicate information on the communication path between the parent device 1 and the child device 2. For example, the MAC address of the parent device 1 is stored in “transmission source”, and the MAC address of the child device 2 is stored in “transmission destination”. The “destination” stores the MAC address of the final destination slave unit 2 when there are a plurality of slave units 2.

「分割の有無」には、送信データの分割の有無が格納される。例えば、分割が有る場合には分割数(16進数)が格納され、分割が無い場合には「0」が格納される。「データ長」には、実際に送信するデータの全体のデータサイズ(バイト:16進数)が格納され、「データ」には、実際に送信するデータが格納される。「チェックサム」には、誤り検出のためのデータが格納される、
なお、親機1の記憶部11に記憶されるデータには、親機1のシリアルナンバーや通信プロトコル、子機2のシリアルナンバー等が含まれている。そして、本実施形態では、各無線機のシリアルナンバーをネットワークアドレスとして使用している。これらのデータは、親機1の記憶部11における書換え可能な記憶領域に記憶され、一旦登録した後でも更新可能となっている。
The “presence / absence of division” stores the presence / absence of division of transmission data. For example, when there is a division, the division number (hexadecimal number) is stored, and when there is no division, “0” is stored. The “data length” stores the entire data size (bytes: hexadecimal) of the actually transmitted data, and “data” stores the actually transmitted data. “Checksum” stores data for error detection.
The data stored in the storage unit 11 of the parent device 1 includes the serial number and communication protocol of the parent device 1, the serial number of the child device 2, and the like. In this embodiment, the serial number of each wireless device is used as a network address. These data are stored in a rewritable storage area in the storage unit 11 of the parent device 1 and can be updated even after registration.

制御部13は、例えば、マイコン(マイクロコンピュータ)から成り、メモリに格納されたプログラムを実行することによって各種の機能を実現する。   The control unit 13 includes, for example, a microcomputer and implements various functions by executing programs stored in the memory.

最大パケットサイズ設定部14は、詳細は後述するように、パケット通信において、無線送受信部10を介して送信するデータの最大パケットサイズを、パケット通信の用途に応じて、あるいは無線ネットワークの規模に応じて設定変更する。   As will be described in detail later, the maximum packet size setting unit 14 determines the maximum packet size of data to be transmitted via the wireless transmission / reception unit 10 in packet communication according to the use of packet communication or the size of the wireless network. To change the setting.

3.監視装置および端末装置
本実施形態は、上述した親機1および複数の子機2に加えて、無線ネットワークを確認するための監視装置3と、種々のデータを収集する複数(本実施形態では5つ)の端末装置4とを備える。
3. Monitoring Device and Terminal Device In this embodiment, in addition to the above-described parent device 1 and a plurality of child devices 2, a monitoring device 3 for confirming a wireless network and a plurality of (5 in this embodiment) that collect various data. ) Terminal device 4.

監視装置3は、例えば、パーソナルコンピュータ(PC)によって構成され、演算処理部30、画像表示部31、および操作入力受付部32を備える。演算処理部30は、例えばCPUや、CPUで実行するプログラムが記憶された記憶領域及びCPUの作業領域となる記憶領域を有したメモリ、親機1の通信部12に接続される外部インタフェース等を備える。演算処理部30には、任意の画像を表示する液晶ディスプレイ等の画像表示装置である画像表示部31と、キーボードやマウス等のユーザインタフェースから成り種々のデータの入力に使用される操作入力受付部32とが接続される。また、演算処理部30は、書換え可能な不揮発性メモリから成り、無線ネットワークのデータ等が記憶される記憶部33を備える。   The monitoring device 3 is configured by, for example, a personal computer (PC), and includes an arithmetic processing unit 30, an image display unit 31, and an operation input receiving unit 32. The arithmetic processing unit 30 includes, for example, a CPU, a memory having a storage area where a program executed by the CPU is stored and a storage area serving as a work area of the CPU, an external interface connected to the communication unit 12 of the parent device 1, and the like. Prepare. The arithmetic processing unit 30 includes an image display unit 31 that is an image display device such as a liquid crystal display that displays an arbitrary image, and an operation input reception unit that is used to input various data including a user interface such as a keyboard and a mouse. 32 is connected. The arithmetic processing unit 30 includes a rewritable non-volatile memory, and includes a storage unit 33 that stores wireless network data and the like.

端末装置4は、例えば温度計や、電力計、ガスメータ等の所定の物理量(温度や消費電力、流量)を計測する計測機器である。本実施形態では、端末装置4は子機2の通信部12Aに接続される。この端末装置4は、子機2からの要求に応じて計測データを子機2に送信する。この種の端末装置4としては従来周知のものを採用することができるため、詳細な説明を省略する。なお、本実施形態では、端末装置4として計測機器を例に挙げているが、端末装置4としては、通信端末器(一例としてはPLC用の通信端末器)等を採用することができる。   The terminal device 4 is a measuring device that measures a predetermined physical quantity (temperature, power consumption, flow rate) such as a thermometer, a wattmeter, and a gas meter. In the present embodiment, the terminal device 4 is connected to the communication unit 12A of the slave unit 2. The terminal device 4 transmits measurement data to the child device 2 in response to a request from the child device 2. Since this kind of terminal device 4 can adopt a conventionally well-known device, detailed description is omitted. In the present embodiment, a measurement device is used as an example of the terminal device 4, but a communication terminal device (for example, a communication terminal device for PLC) or the like can be used as the terminal device 4.

上述のように、本実施形態での無線ネットワークシステム100は、親機1と、親機1と無線通信を行う複数の子機2と、親機1に接続された監視装置3と、子機2に接続された端末装置4とで構成される。無線ネットワークシステム100は、主として、端末装置4が保有する計測データを監視装置3で収集するために使用される。   As described above, the wireless network system 100 according to the present embodiment includes the parent device 1, the plurality of child devices 2 that perform wireless communication with the parent device 1, the monitoring device 3 connected to the parent device 1, and the child devices. 2 and the terminal device 4 connected to 2. The wireless network system 100 is mainly used for collecting measurement data held by the terminal device 4 by the monitoring device 3.

監視装置3の演算処理部30は、操作入力受付部32の入力内容に応じて、親機1に所定の処理を行わせるための制御信号を送信する。例えば、演算処理部30は、端末装置4より計測データを取得するための制御信号(データ取得信号)を親機1に送信する。親機1は、データ取得信号を受信すると、計測データを親機1に送るように要求するデータ要求信号を子機2に送信する。そして、当該データ要求信号を受信した子機2は、端末装置4と通信することで端末装置4から計測データを取得し、当該計測データを含む無線信号を親機1に向けて送信する。このようにして、監視装置3では、全ての端末装置4からの計測データを収集して監視することができる。   The arithmetic processing unit 30 of the monitoring device 3 transmits a control signal for causing the base unit 1 to perform predetermined processing according to the input content of the operation input receiving unit 32. For example, the arithmetic processing unit 30 transmits a control signal (data acquisition signal) for acquiring measurement data from the terminal device 4 to the parent device 1. When the base unit 1 receives the data acquisition signal, the base unit 1 transmits a data request signal requesting to send the measurement data to the base unit 1 to the handset 2. And the subunit | mobile_unit 2 which received the said data request signal acquires measurement data from the terminal device 4 by communicating with the terminal device 4, and transmits the radio | wireless signal containing the said measurement data toward the main | base station 1. FIG. In this way, the monitoring device 3 can collect and monitor measurement data from all the terminal devices 4.

4.送信データ作成処理
次に、図4および図5を参照して、制御部13および最大パケットサイズ設定部14による最大パケットサイズ設定変更処理を含む送信データ作成処理を説明する。送信データ作成処理は、所定のプログラムにしたがって、例えば、制御部13および最大パケットサイズ設定部14によって実行される。
4). Transmission Data Creation Processing Next, transmission data creation processing including maximum packet size setting change processing by the control unit 13 and the maximum packet size setting unit 14 will be described with reference to FIGS. 4 and 5. The transmission data creation process is executed by the control unit 13 and the maximum packet size setting unit 14, for example, according to a predetermined program.

(実施例1)
図4を参照して、送信データ作成処理の実施例1を説明する。
制御部13は、まず、パケット通信の用途が、計測指定等の情報データを送信する用途か、あるいはプログラムを更新するためのプログラムデータを送信する用途かを判定する(ステップS10)。ここで、制御部13は、用途判定部の一例である。制御部13は、送信データサイズが、例えば130バイトを超える場合、プログラムデータを送信する用途と判定し、130バイトを超えない場合、情報データを送信する用途と判定しする。あるいは、制御部13は、実際に送信するデータのヘッダ情報をみて、情報データを送信する用途か、プログラムデータを送信する用途かを判定する。
Example 1
With reference to FIG. 4, Embodiment 1 of transmission data creation processing will be described.
First, the control unit 13 determines whether the packet communication is used for transmitting information data such as measurement designation or for transmitting program data for updating a program (step S10). Here, the control unit 13 is an example of a usage determining unit. For example, when the transmission data size exceeds 130 bytes, the control unit 13 determines that the program data is used for transmission, and when the transmission data size does not exceed 130 bytes, the control unit 13 determines that the information data is used for transmission. Or the control part 13 determines whether it is the use which transmits information data, or the use which transmits program data by seeing the header information of the data actually transmitted.

次いで、最大パケットサイズ設定部14は、制御部13による判定結果に応じて最大パケットサイズを設定変更する。制御部13によって、パケット通信の用途がプログラムデータを送信する用途であると判定された場合(ステップS20:YES)、ステップS30からステップS35によって送信データ(「データ」の中身)作成する。   Next, the maximum packet size setting unit 14 changes the setting of the maximum packet size according to the determination result by the control unit 13. If the control unit 13 determines that the purpose of packet communication is the purpose of transmitting program data (step S20: YES), transmission data (contents of “data”) is created from step S30 to step S35.

具体的には、用途がプログラムデータを送信する用途である場合、無線ネットワークシステム100を、大規模(実際のシステム規模ではなくプログラム上での)と判定し(ステップS30)、例えば、「分割数」を「2」と決定する(ステップS31)。次いで、データサイズ(最大パケットサイズ)を、例えば、130バイトに決定する(ステップS32)。次いで、最大パケットサイズ設定部14は、送信データのデータフォーマットの「分割数」を「2」に設定するとともに(ステップS33)、データフォーマットの「データ長」を「0082H」(130の16進数)に設定する(ステップS34)。次いで、送信データを「分割数」によって分割してデータフォーマットの「データ」の中身を作成する(ステップS35)。以上によって、送信データ作成処理を終了する。なお、この最大パケットサイズの設定値「130バイト」は、初期値とされる。なお、この初期値は、設定スイッチ等を設け、ユーザによって設定されるようにしてもよい。   Specifically, when the application is an application for transmitting program data, the wireless network system 100 is determined to be large-scale (on the program, not the actual system scale) (step S30). "Is determined to be" 2 "(step S31). Next, the data size (maximum packet size) is determined to be 130 bytes, for example (step S32). Next, the maximum packet size setting unit 14 sets the “division number” of the data format of the transmission data to “2” (step S33), and sets the “data length” of the data format to “0082H” (hexadecimal number of 130). (Step S34). Next, the transmission data is divided by “number of divisions” to create the contents of “data” in the data format (step S35). Thus, the transmission data creation process ends. The maximum packet size setting value “130 bytes” is set as an initial value. This initial value may be set by a user by providing a setting switch or the like.

一方、最大パケットサイズ設定部14は、制御部13によって、パケット通信の用途が計測指定等の情報データを送信する用途であると判定された場合(ステップS20:NO)、ステップS40からステップS45によって送信データ(「データ」の中身)作成する。   On the other hand, when the control unit 13 determines that the use of packet communication is a use for transmitting information data such as measurement designation (step S20: NO), the maximum packet size setting unit 14 performs steps S40 to S45. Create transmission data (contents of "data").

具体的には、用途が情報データを送信する用途である場合、無線ネットワークシステム100を、小規模(プログラム上での)と判定し(ステップS40)、「分割数」を「0」と決定する(ステップS41)。次いで、データサイズ(最大パケットサイズ)を、例えば、初期値から「1」を引いた129バイトに決定する(ステップS42)。なお、ここで最大パケットサイズの変更は、減算に限られず、加算されてもよい。次いで、最大パケットサイズ設定部14は、送信データのデータフォーマットの「分割数」を「0」に設定するとともに(ステップS43)、データフォーマットの「データ長」を「0081H」に設定する(ステップS44)。次いで、データフォーマットの「データ」の中身を作成する(ステップS45)。以上によって、送信データ作成処理を終了する。   Specifically, when the use is a use for transmitting information data, the wireless network system 100 is determined to be small (on the program) (step S40), and the “number of divisions” is determined to be “0”. (Step S41). Next, the data size (maximum packet size) is determined to be, for example, 129 bytes obtained by subtracting “1” from the initial value (step S42). Here, the change of the maximum packet size is not limited to subtraction, and may be added. Next, the maximum packet size setting unit 14 sets “number of divisions” of the data format of the transmission data to “0” (step S43) and sets the “data length” of the data format to “0081H” (step S44). ). Next, the content of “data” in the data format is created (step S45). Thus, the transmission data creation process ends.

ここで、ステップS32、S34、S42、およびS44の処理が最大パケットサイズ設定変更処理に相当する。このように、本実施例1においては、使用する用途に合わせて自動的に最大パケットサイズを設定変更する最大パケットサイズ設定部14を設けることにより、ユーザが設定することなく、最適な送信が可能となる。   Here, the processing of steps S32, S34, S42, and S44 corresponds to the maximum packet size setting change processing. As described above, in the first embodiment, by providing the maximum packet size setting unit 14 that automatically sets and changes the maximum packet size in accordance with the usage to be used, optimal transmission is possible without the user setting. It becomes.

(実施例2)
次に、図5を参照して、送信データ作成処理の実施例2を説明する。なお、図5において図4と同一処理には同一のステップ番号を付し、その説明を省略する。
(Example 2)
Next, a second embodiment of transmission data creation processing will be described with reference to FIG. In FIG. 5, the same steps as those in FIG. 4 are denoted by the same step numbers, and the description thereof is omitted.

制御部13は、まず、無線ネットワークシステム100を構成する子機2の台数を自動計測する(ステップS10A)。言い換えれば、制御部13は、子機2の台数によって、無線ネットワークシステム100の規模が、大規模か小規模かを判定する。ここで、制御部13は、規模判定部の一例である。子機2の台数を自動計測は、例えば、以下のようにして行われる。無線ネットワーク構築時に、親機1(制御部13)は、ブロードキャスト送信によって全ての子機2に対して送信を行う。そして、返事の来た子機2に対して、1台ずつ無線のネットワークを構築する。その際、返事の来た子機2の数によって、親機1は、子機2の台数を把握する。   First, the control unit 13 automatically measures the number of handset 2 constituting the wireless network system 100 (step S10A). In other words, the control unit 13 determines whether the scale of the wireless network system 100 is large or small depending on the number of the slave units 2. Here, the control unit 13 is an example of a scale determination unit. The automatic measurement of the number of slave units 2 is performed as follows, for example. At the time of establishing a wireless network, the base unit 1 (control unit 13) transmits to all the handset units 2 by broadcast transmission. Then, a wireless network is constructed for each slave unit 2 that has responded. At this time, the master unit 1 grasps the number of slave units 2 based on the number of slave units 2 that have responded.

次いで、最大パケットサイズ設定部14は、制御部13による判定結果に応じて最大パケットサイズを設定変更する。すなわち、制御部13によって子機2の台数が所定数より多いと判定された場合(ステップS20A:YES)、実施例1と同様に、ステップS30からステップS35によって、無線ネットワークシステム100が大規模(実際のシステムの規模)の場合の送信データ(「データ」の中身)作成する。ここで、所定数は、例えば、「10」あるいは「15」とされる。   Next, the maximum packet size setting unit 14 changes the setting of the maximum packet size according to the determination result by the control unit 13. That is, when the control unit 13 determines that the number of slave units 2 is greater than the predetermined number (step S20A: YES), the wireless network system 100 is set to a large scale (step S30 to step S35) as in the first embodiment. Create transmission data (contents of "data") in the case of actual system scale). Here, the predetermined number is, for example, “10” or “15”.

一方、最大パケットサイズ設定部14は、制御部13によって子機2の台数が所定数以下と判定された場合(ステップS20A:NO)、実施例1と同様に、ステップS40からステップS45によって、無線ネットワークシステム100が小規模(実際のシステムの規模)の場合の送信データ(「データ」の中身)作成する。送信データ(「データ」の中身)作成する。   On the other hand, when the control unit 13 determines that the number of slave units 2 is equal to or less than the predetermined number (step S20A: NO), the maximum packet size setting unit 14 performs wireless communication from step S40 to step S45 as in the first embodiment. Transmission data (contents of “data”) when the network system 100 is a small scale (actual system scale) is created. Create transmission data (contents of "data").

ここでも、同様に、ステップS32、S34、S42、およびS44の処理が最大パケットサイズ設定変更処理に相当する。このように、本実施例2においては、無線ネットワークシステム100の実際の規模に応じて自動的に最大パケットサイズを設定変更する手段を設けることにより、最適な応答性のネットワークを構築できる。   Here, similarly, the processes of steps S32, S34, S42, and S44 correspond to the maximum packet size setting change process. As described above, in the second embodiment, by providing means for automatically changing the maximum packet size according to the actual scale of the wireless network system 100, it is possible to construct an optimal responsive network.

5.本実施形態の効果
本実施形態では、送信する最大パケットサイズを、パケット通信の用途に応じて、あるいは無線ネットワークの規模に応じて設定変更する最大パケットサイズ設定部14が備けられる。そのため、即時性が要求されるネットワークシステムにおいて、全ての情報を一回の送信で可能なように最大パケットサイズを設定することができる。そのため、例えば、小規模なネットワークで、所定の(初期設定の)最大パケットサイズよりも大きなサイズのデータを送信しようとする際、データの分割を行わずに、即時性を得ることができる。すなわち、パケット通信を行う際に、データ分割処理を抑制でき、通信時間を短縮できる。
5. Advantages of the present embodiment In the present embodiment, a maximum packet size setting unit 14 is provided for changing the setting of the maximum packet size to be transmitted according to the purpose of packet communication or according to the scale of the wireless network. Therefore, in a network system that requires immediacy, the maximum packet size can be set so that all information can be transmitted by one transmission. Therefore, for example, when attempting to transmit data having a size larger than a predetermined (initial setting) maximum packet size in a small network, immediacy can be obtained without dividing the data. That is, when performing packet communication, data division processing can be suppressed and communication time can be shortened.

<他の実施形態>
本発明は上記記述及び図面によって説明した実施形態に限定されるものではなく、例えば次のような実施形態も本発明の技術的範囲に含まれる。
<Other embodiments>
The present invention is not limited to the embodiments described with reference to the above description and drawings. For example, the following embodiments are also included in the technical scope of the present invention.

(1)上記実施形態では、最大パケットサイズ設定変更を、最大パケットサイズ設定部14によってプログラムにしたがって自動的に行う例を示したが、これに限られない。例えば、最大パケットサイズ設定部14を、ユーザによって最大パケットサイズを設定変更させるスイッチ14(図2参照)によって構成するようにしてもよい。その際、例えば、実施例1の図4のステップS10における通信用途を設定できるスイッチ14を、最大パケットサイズ設定部として設ける。あるいは実施例2の図5のステップS10Aおける子機2の台数を設定できるスイッチ14を、最大パケットサイズ設定部として設ける。   (1) Although the maximum packet size setting change is automatically performed according to the program by the maximum packet size setting unit 14 in the above embodiment, the present invention is not limited to this. For example, the maximum packet size setting unit 14 may be configured by the switch 14 (see FIG. 2) that changes the setting of the maximum packet size by the user. At this time, for example, the switch 14 that can set the communication use in step S10 of FIG. 4 of the first embodiment is provided as the maximum packet size setting unit. Or the switch 14 which can set the number of the subunit | mobile_units 2 in FIG.5 S10A of Example 2 is provided as a maximum packet size setting part.

そして、ユーザのスイッチ操作によって、通信用途あるいは子機2の台数を入力するするようにする。そして、ステップS20以下のステップの各処理を、例えば、実施例2と同様に、制御部13および最大パケットサイズ設定部14によって実行させるようにしてもよい。あるいは、ステップS20以下のステップの各処理において、通信データの設定に係るスイッチを全て設け、ユーザによるそのスイッチの操作によって通信データの設定するようにしてもよい。   Then, the user uses a switch operation to input the communication use or the number of slave units 2. Then, each process of step S20 and subsequent steps may be executed by the control unit 13 and the maximum packet size setting unit 14 as in the second embodiment, for example. Alternatively, in each process of step S20 and subsequent steps, all the switches related to the setting of communication data may be provided, and the communication data may be set by operating the switch by the user.

このような構成であっても、ユーザによって、パケット通信の通信用途に応じて、あるいは無線ネットワークの規模に応じて最大パケットサイズを設定変更できる。なお、ユーザによる最大パケットサイズを設定変更は、スイッチ14に限られない。例えば、無線機器(1,2)が表示装置(例えば、液晶ディスプレイ等)を備え、その表示装置のタッチによって行われるようにしてもよい。   Even with such a configuration, the maximum packet size can be set and changed by the user according to the communication application of packet communication or according to the scale of the wireless network. Note that the setting change of the maximum packet size by the user is not limited to the switch 14. For example, the wireless devices (1, 2) may include a display device (for example, a liquid crystal display) and may be performed by touching the display device.

(2)上記実施形態では、制御部13と最大パケットサイズ設定部14とを個別に設ける例を示したが、これに限られない。例えば、最大パケットサイズ設定部14を省略して、制御部13が最大パケットサイズ設定部を兼ねる構成としてもよい。また、図2に示される親機1および子機2内の個別の構成を、例えば、ASIC(特定用途用IC)によって集積して構成するようにしてもよい。   (2) In the above-described embodiment, an example in which the control unit 13 and the maximum packet size setting unit 14 are provided separately has been described, but the present invention is not limited thereto. For example, the maximum packet size setting unit 14 may be omitted, and the control unit 13 may also serve as the maximum packet size setting unit. Also, the individual configurations in the master unit 1 and the slave unit 2 shown in FIG. 2 may be configured to be integrated by, for example, an ASIC (specific application IC).

(3)上記実施形態では、無線送受信部を介して送信するデータの最大パケットサイズを、パケット通信の用途に応じて、あるいは無線ネットワークの規模に応じて設定変更する例を示したが、必ずしもこれに限られない。例えば、最大パケットサイズを、送信データ長(「送信データの中身」の長さ)に応じて設定変更するようにしてもよい。   (3) In the above embodiment, an example has been shown in which the maximum packet size of data transmitted via the wireless transmission / reception unit is changed according to the use of packet communication or according to the size of the wireless network. Not limited to. For example, the maximum packet size may be changed according to the transmission data length (the length of “transmission data contents”).

1…親機(無線機器)、2…子機(無線機器)、3…PC(監視装置)、4…監視端末(端末装置)、13…制御部(用途判定部、規模判定部)、14…最大パケットサイズ設定部、100…無線ネットワークシステム   DESCRIPTION OF SYMBOLS 1 ... Master unit (wireless device), 2 ... Slave unit (wireless device), 3 ... PC (monitoring device), 4 ... Monitoring terminal (terminal device), 13 ... Control unit (use determination unit, scale determination unit), 14 ... Maximum packet size setting unit, 100 ... Wireless network system

Claims (5)

無線ネットワークに使用され、前記無線ネットワークにおいてパケット通信を行う無線機器において、
無線送受信部と、
前記パケット通信において、前記無線送受信部を介して送信するデータの最大パケットサイズを、前記パケット通信の用途に応じて、あるいは前記無線ネットワークの規模に応じて設定変更する最大パケットサイズ設定部と、
を備えた無線機器。
In a wireless device used for a wireless network and performing packet communication in the wireless network,
A wireless transceiver,
In the packet communication, the maximum packet size setting unit for changing the setting of the maximum packet size of data transmitted through the wireless transmission / reception unit according to the use of the packet communication or according to the scale of the wireless network;
Wireless equipment equipped with.
請求項1に記載の無線機器において、
パケット通信の用途が、情報データを送信する用途か、プログラムデータを送信する用途かを判定する用途判定部を備え、
前記最大パケットサイズ設定部は、前記用途判定部による判定結果に応じて前記最大パケットサイズを設定変更する、無線機器。
The wireless device according to claim 1,
A use determining unit that determines whether the use of packet communication is an application for transmitting information data or an application for transmitting program data,
The maximum packet size setting unit is a wireless device that changes the setting of the maximum packet size according to a determination result by the use determination unit.
請求項1に記載の無線機器において、
前記無線ネットワークの規模が、大規模か小規模かを判定する規模判定部を備え、
前記最大パケットサイズ設定部は、前記規模判定部による判定結果に応じて前記最大パケットサイズを設定変更する、無線機器。
The wireless device according to claim 1,
A scale determination unit for determining whether the size of the wireless network is large or small;
The maximum packet size setting unit is a wireless device that changes the setting of the maximum packet size according to a determination result by the size determination unit.
請求項1に記載の無線機器において、
前記最大パケットサイズ設定部は、ユーザによって前記最大パケットサイズを設定変更させるスイッチによって構成される、無線機器。
The wireless device according to claim 1,
The maximum packet size setting unit is a wireless device configured by a switch that changes a setting of the maximum packet size by a user.
請求項1から請求項4のいずれか一項に記載の無線機器によって構成される親機と、
前記親機と同一構成の、少なくとも一個の子機と、を備えた、無線ネットワークシステム。
A master unit constituted by the wireless device according to any one of claims 1 to 4,
A wireless network system comprising at least one slave unit having the same configuration as the master unit.
JP2015073167A 2015-03-31 2015-03-31 Radio equipment nad radio network system Pending JP2016192751A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015073167A JP2016192751A (en) 2015-03-31 2015-03-31 Radio equipment nad radio network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015073167A JP2016192751A (en) 2015-03-31 2015-03-31 Radio equipment nad radio network system

Publications (1)

Publication Number Publication Date
JP2016192751A true JP2016192751A (en) 2016-11-10

Family

ID=57246779

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015073167A Pending JP2016192751A (en) 2015-03-31 2015-03-31 Radio equipment nad radio network system

Country Status (1)

Country Link
JP (1) JP2016192751A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018129619A (en) * 2017-02-07 2018-08-16 セイコーインスツル株式会社 Communication measuring system, communication device, and communication device program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018129619A (en) * 2017-02-07 2018-08-16 セイコーインスツル株式会社 Communication measuring system, communication device, and communication device program

Similar Documents

Publication Publication Date Title
JP6481514B2 (en) Communication apparatus and communication system
JP6597935B2 (en) Wireless sensor system, management apparatus, communication control method, and communication control program
JP2007214654A5 (en)
JP2016036107A (en) Radio network support system, radio network support device, radio communication device, radio network support method and program
JP2016192751A (en) Radio equipment nad radio network system
JP2015176234A (en) Sensor network software delivery system, wireless terminal, software delivery method, and program
JP6474247B2 (en) Wireless telemeter system and wireless communication device
JP6201256B2 (en) Communication terminal and communication system
JP5385821B2 (en) Wireless system and program used therefor
JP2016134755A (en) Communication system and communication instrument
JP2009224907A (en) Wireless communication system and communication path setting program used for the same
JP5320325B2 (en) Wireless system
JP7005390B2 (en) Setting terminal, wireless telemeter system, and setting method
RU2016147535A (en) INDICATION OF THE PROTOCOL VERSION
JP2006202059A (en) Radio tag for collecting measurement information, and measurement information collection system
JP2016092677A (en) Communication system and communication device
JP2008042697A (en) Radio telemeter system
JP6381468B2 (en) Wireless communication system and wireless communication device
JP6346078B2 (en) Radio wave intensity specifying device, communication system, and radio wave intensity specifying method
JP6433242B2 (en) Wireless communication system and number issuing radio
JP6376885B2 (en) Wireless telemeter system and wireless communication device
JPWO2014109056A1 (en) Signal conversion system and signal conversion method
JP2019068217A (en) Communication path management system and communication path management device
JP7345103B1 (en) Radios and wireless communication systems
EP3745778B1 (en) Communication device, communication method, and program