JP2016092677A - Communication system and communication device - Google Patents

Communication system and communication device Download PDF

Info

Publication number
JP2016092677A
JP2016092677A JP2014227072A JP2014227072A JP2016092677A JP 2016092677 A JP2016092677 A JP 2016092677A JP 2014227072 A JP2014227072 A JP 2014227072A JP 2014227072 A JP2014227072 A JP 2014227072A JP 2016092677 A JP2016092677 A JP 2016092677A
Authority
JP
Japan
Prior art keywords
data
packet
transmitted
communication
meter
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
JP2014227072A
Other languages
Japanese (ja)
Inventor
昌也 佃
Masaya Tsukuda
昌也 佃
正守 中原
Masamori Nakahara
正守 中原
雄介 野々垣
Yusuke Nonogaki
雄介 野々垣
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2014227072A priority Critical patent/JP2016092677A/en
Publication of JP2016092677A publication Critical patent/JP2016092677A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a communication system and a communication device that can transmit long data without altering conventional communication standards.SOLUTION: A communication device comprises: means of determining whether data to be transmitted to one or a plurality of other apparatuses connected to the other communication device; and means of generating a plurality of packets each having fragmented data, generated by fragmenting the data to a data length equal to or less than a predetermined length, and information, regarding the fragmentation, added to a data part, the plurality of generated packets being transmitted to the one or the plurality of apparatuses through the other communication device.SELECTED DRAWING: Figure 9

Description

本発明は、メータにて計測された水道、ガスなどの使用量を無線網を利用してセンタ側の通信装置へ送信する通信システム及び通信装置に関する。   The present invention relates to a communication system and a communication device that transmit usage amounts of water, gas, and the like measured by a meter to a communication device on a center side using a wireless network.

従来、水道、ガス等のメータ検針用に開発された無線テレメータシステムでは、ホストコンピュータおよびセンタ網制御装置を備えたセンタ側装置にPHS網、FOMA網などの広域無線網を介して無線親機が接続される(例えば、特許文献1を参照)。また、無線親機には、複数の無線子機が接続されており、無線子機の夫々には検針用のメータが接続されている。メータから得られる検針値などのデータは、無線子機から無線親機へ送信され、さらに無線親機からセンタ側装置へ送信される。   Conventionally, in a wireless telemeter system developed for meter reading of water, gas, etc., a wireless master unit is connected to a center side device equipped with a host computer and a center network control device via a wide area wireless network such as a PHS network and a FOMA network. Connected (see, for example, Patent Document 1). In addition, a plurality of wireless slave devices are connected to the wireless master device, and a meter for meter reading is connected to each of the wireless slave devices. Data such as a meter reading value obtained from the meter is transmitted from the wireless slave unit to the wireless master unit, and further transmitted from the wireless master unit to the center side device.

また、通信システムの新バージョンで使用される端末装置に搭載される通信インタフェースである次世代通信ラインの仕様について規定するUバスと呼ばれる規格が存在する(例えば、非特許文献1を参照)。   In addition, there is a standard called a U bus that specifies the specifications of a next generation communication line that is a communication interface mounted on a terminal device used in a new version of a communication system (see, for example, Non-Patent Document 1).

特開2012−249166号公報JP 2012-249166 A

“新しいテレメータリング通信方式(Uバス・Uバスエアー)の標準化”、[online]、NPO法人テレメータリング推進協議会、[平成26年10月1日検索]、インターネット〈URL : http://www.teleme-r.or.jp/u-bus/〉“Standardization of new telemetering communication methods (U bus / U bus air)”, [online], NPO Telemetering Promotion Council, [October 1, 2014 search], Internet <URL: http: // www .teleme-r.or.jp / u-bus /〉

前述のUバスの通信規格では、サブアドレスを用いることにより、無線機(無線親機又は無線子機)とUバスに接続された機器との間で通信を行うことが可能である。しかしながら、サブアドレスを用いた場合には、パケットを分割することができない通信仕様となっているため、ロングデータを送信することができないといった問題点を有している。   In the above-mentioned U-bus communication standard, it is possible to perform communication between a wireless device (wireless master device or wireless slave device) and a device connected to the U bus by using a subaddress. However, when the sub address is used, the communication specification is such that the packet cannot be divided, so that there is a problem that long data cannot be transmitted.

本発明は、斯かる事情に鑑みてなされたものであり、従来の通信規格に改変を加えることなく、ロングデータを送信することができる通信システム及び通信装置を提供することを目的とする。   The present invention has been made in view of such circumstances, and an object of the present invention is to provide a communication system and a communication apparatus capable of transmitting long data without modifying conventional communication standards.

本願の通信システムは、互いに通信可能に接続された複数の通信装置を含み、該複数の通信装置間で、宛先及び送信元に係る情報を含むヘッダ部と、送信対象のデータを含むデータ部とを有するパケットを送受信する通信システムにおいて、前記複数の通信装置の少なくとも1つはバスを介して1又は複数の機器を接続する手段を備え、各通信装置は、他の通信装置に接続された1又は複数の機器へ送信すべきデータのデータ長が所定長より長いか否かを判断する手段、及び前記データのデータ長が所定長より長いと判断した場合、前記データを前記所定長以下のデータ長に断片化した断片化データと、断片化に係る情報とを夫々のデータ部に付加した複数のパケットを生成する手段を備え、生成した複数のパケットを前記他の通信装置を介して前記1又は複数の機器へ送信するようにしてあることを特徴とする。   The communication system of the present application includes a plurality of communication devices that are communicably connected to each other, and a header portion that includes information on a destination and a transmission source between the plurality of communication devices, and a data portion that includes data to be transmitted In the communication system for transmitting and receiving packets having at least one communication device, at least one of the plurality of communication devices includes means for connecting one or more devices via a bus, and each communication device is connected to another communication device. Or means for determining whether or not the data length of data to be transmitted to a plurality of devices is longer than a predetermined length; and if it is determined that the data length of the data is longer than a predetermined length, the data is less than or equal to the predetermined length Means for generating a plurality of packets in which fragmented data fragmented in length and information relating to fragmentation are added to the respective data sections, and the generated plurality of packets are routed through the other communication device. Characterized in that you have to transmit to the one or more devices Te.

本願の通信システムは、各通信装置は、断片化に係る情報を一のパケットのデータ部に付加し、他のパケットのデータ部への付加を省略するようにしてあることを特徴とする。   The communication system of the present application is characterized in that each communication device adds information relating to fragmentation to the data part of one packet and omits addition of the other packet to the data part.

本願の通信システムは、前記機器は、供給先へ供給される供給対象の使用量を計測するメータを含み、該メータは、自機と同一のバスに接続された他の機器宛のパケットを受信する手段と、該手段にて受信したパケットを前記他の機器へ転送する手段とを備えることを特徴とする。   In the communication system according to the present application, the device includes a meter that measures a usage amount of a supply target supplied to a supply destination, and the meter receives a packet addressed to another device connected to the same bus as the own device. And means for transferring a packet received by the means to the other device.

本願の通信システムは、前記機器は、他の通信規格のパケットを送受信する機器を接続するためのポートを備えた変換アダプタを含み、該変換アダプタは、前記バスを通じて受信したパケットのデータ部に断片化に係る情報が含まれているか否かを判断する手段と、前記断片化に係る情報が含まれていると判断した場合、前記断片化に係る情報に基づいて、前記パケットのヘッダ部により指定される宛先の機器へ送信すべきデータを復元する手段と、復元したデータに基づいて前記通信規格に準じたパケットを生成する手段とを備え、生成したパケットを前記宛先の機器へ送信するようにしてあることを特徴とする。   In the communication system of the present application, the device includes a conversion adapter having a port for connecting a device that transmits / receives a packet of another communication standard, and the conversion adapter fragments the data portion of the packet received through the bus. Means for determining whether or not information relating to fragmentation is included, and if it is determined that information relating to fragmentation is included, specified by a header portion of the packet based on the information relating to fragmentation Means for restoring data to be transmitted to the destination device and means for generating a packet in accordance with the communication standard based on the restored data, and transmitting the generated packet to the destination device. It is characterized by being.

本願の通信装置は、宛先及び送信元に係る情報を含むヘッダ部と、送信対象のデータを含むデータ部とを有するパケットを送受信する通信装置において、他の通信装置にバスを介して接続された機器へ送信すべきデータのデータ長が所定長より長いか否かを判断する手段、及び前記データのデータ長が所定長より長いと判断した場合、前記データを前記所定長以下のデータ長に断片化した断片化データと、断片化に係る情報とを夫々のデータ部に付加した複数のパケットを生成する手段を備え、生成した複数のパケットを前記他の通信装置を介して前記機器へ送信するようにしてあることを特徴とする。   The communication device of the present application is connected to another communication device via a bus in a communication device that transmits and receives a packet having a header portion including information on a destination and a transmission source and a data portion including data to be transmitted. Means for determining whether or not the data length of data to be transmitted to the device is longer than a predetermined length; and when determining that the data length of the data is longer than a predetermined length, the data is fragmented to a data length equal to or shorter than the predetermined length Means for generating a plurality of packets in which the fragmented data and the information related to the fragmentation are added to the respective data sections, and the generated plurality of packets are transmitted to the device via the other communication device It is characterized by the above.

本願では、従来の通信規格に改変を加えることなく、ロングデータを送信することができる。   In the present application, long data can be transmitted without modifying the conventional communication standard.

無線テレメータシステムの全体構成を示すブロック図である。It is a block diagram which shows the whole structure of a radio telemeter system. ホストコンピュータの内部構成を示すブロック図である。It is a block diagram which shows the internal structure of a host computer. 無線親機の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of a wireless main | base station. 無線子機の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of a wireless subunit | mobile_unit. メータの内部構成を示すブロック図である。It is a block diagram which shows the internal structure of a meter. 機器の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of an apparatus. 実施の形態1に係る無線テレメータシステム内で送受信されるパケットの構成例を示す模式図である。6 is a schematic diagram showing a configuration example of a packet transmitted and received in the radio telemeter system according to Embodiment 1. FIG. 実施の形態1に係る分割パケットの構成例を示す模式図である。6 is a schematic diagram illustrating a configuration example of a divided packet according to Embodiment 1. FIG. パケットの生成手順の一例を示すフローチャートである。It is a flowchart which shows an example of the production | generation procedure of a packet. 実施の形態1に係る分割パケットの送信手順の一例を示すタイミングチャートである。6 is a timing chart illustrating an example of a transmission procedure of a divided packet according to the first embodiment. 実施の形態2に係る分割パケットの構成例を示す模式図である。6 is a schematic diagram illustrating a configuration example of a fragmented packet according to Embodiment 2. FIG. 実施の形態3における従来型メータの接続例を示す模式図である。FIG. 10 is a schematic diagram showing a connection example of a conventional meter in the third embodiment. 実施の形態4に係る分割パケットの送信手順の一例を示すタイミングチャートである。12 is a timing chart illustrating an example of a transmission procedure of a divided packet according to the fourth embodiment.

以下、本発明に係る通信システムの一例として、無線テレメータシステムに適用した形態を図面を用いて具体的に説明する。
(実施の形態1)
図1は無線テレメータシステムの全体構成を示すブロック図である。本実施の形態に係る無線テレメータシステムは、センタ側の構成として、ホストコンピュータ11及びセンタ側網制御装置12を備え、端末側の構成として、無線親機21、無線子機22,22,…,22、並びに無線子機22の夫々にUバス(以下、単にバスともいう)を介して接続されたメータ23及び機器24を備える。メータ23は、需要家毎に設置され、供給事業者から供給される水道、ガスなど供給媒体の使用量を計測し、計測結果(検針値)を出力する計測器である。機器24は、火災警報器などの警報器、設備機器等である。本実施の形態に係る無線テレメータシステムは、メータ23の検針値を示すデータ、機器24から出力される警報等のデータ、無線親機21及び無線子機22の動作状態を示すデータなど端末側から出力される各種データを含んだパケットを、無線通信を利用してセンタ側へ送信すると共に、無線親機21、無線子機22、メータ23、及び機器24の動作を制御するためのコマンド等を含んだ各種パケットをセンタ側から端末側へ送信する。
Hereinafter, as an example of a communication system according to the present invention, a mode applied to a radio telemeter system will be specifically described with reference to the drawings.
(Embodiment 1)
FIG. 1 is a block diagram showing the overall configuration of the radio telemeter system. The wireless telemeter system according to the present embodiment includes a host computer 11 and a center-side network control device 12 as a configuration on the center side, and a wireless master device 21, wireless slave devices 22, 22,. 22 and a wireless slave unit 22 are provided with a meter 23 and a device 24 connected to each other via a U bus (hereinafter also simply referred to as a bus). The meter 23 is a measuring instrument that is installed for each consumer, measures the amount of supply medium such as water and gas supplied from a supplier, and outputs a measurement result (meter reading value). The device 24 is an alarm device such as a fire alarm device, a facility device, or the like. The wireless telemeter system according to the present embodiment is such that data indicating the meter reading value of the meter 23, data such as an alarm output from the device 24, data indicating the operation status of the wireless master device 21 and the wireless slave device 22, and the like from the terminal side. A packet including various data to be output is transmitted to the center side using wireless communication, and commands for controlling operations of the wireless master device 21, the wireless slave device 22, the meter 23, and the device 24 are provided. Various included packets are transmitted from the center side to the terminal side.

センタ側網制御装置12と端末側の無線親機21とは、例えばPHS網、FOMA網などの広域無線網N1に接続され、広域無線網N1を介して無線通信を行う。なお、図1に示す例では、広域無線網N1に接続されている無線親機21の数を1つとしたが、複数の無線親機21が接続されていてもよいことは勿論のことである。   The center-side network control device 12 and the terminal-side wireless master device 21 are connected to a wide-area wireless network N1 such as a PHS network or a FOMA network, and perform wireless communication via the wide-area wireless network N1. In the example shown in FIG. 1, the number of the wireless master devices 21 connected to the wide area wireless network N <b> 1 is one, but it goes without saying that a plurality of wireless master devices 21 may be connected. .

センタ側網制御装置12は、例えば通信事業者の公衆網に設けられ、広域無線網N1を介した端末側との通信を制御する機能を有する。センタ側網制御装置12は、ホストコンピュータ11から端末側へ送信すべきパケットが入力された場合、広域無線網N1の通信規格に準拠した通信方式にて、端末側へパケットを送信する。また、端末側から送信されたデータを広域無線網N1を介して受信した場合、センタ側網制御装置12は、受信したパケットをホストコンピュータ11へ送信するように構成されている。   The center-side network control device 12 is provided, for example, in a public network of a communication carrier and has a function of controlling communication with the terminal side via the wide area wireless network N1. When a packet to be transmitted from the host computer 11 to the terminal side is input from the host computer 11, the center side network control device 12 transmits the packet to the terminal side by a communication method compliant with the communication standard of the wide area wireless network N1. Further, when the data transmitted from the terminal side is received via the wide area wireless network N1, the center side network control device 12 is configured to transmit the received packet to the host computer 11.

無線親機21は、広域無線網N1を介してセンタ側に接続されると共に、複数の無線子機22,22,…,22との間で例えばメッシュ型の狭域無線網N2を形成する。無線親機21は、広域無線網N1を介してセンタ側のホストコンピュータ11と無線通信を行うと共に、狭域無線網N2を介して無線子機22,22,…,22と無線通信を行うように構成されている。   The wireless master device 21 is connected to the center side via the wide-area wireless network N1, and forms, for example, a mesh-type narrow-area wireless network N2 with the plurality of wireless slave devices 22, 22,. The wireless master device 21 performs wireless communication with the host computer 11 on the center side via the wide area wireless network N1 and wireless communication with the wireless slave devices 22, 22,..., 22 via the narrow area wireless network N2. It is configured.

ホストコンピュータ11から無線子機22又はメータ23に対してデータを送信する必要がある場合、宛先アドレスを無線子機22又はメータ23のID(アドレス)に指定したパケットを生成し、広域無線網N1を通じて宛先の無線子機22又はメータ23へ送信する。また、ホストコンピュータ11は、機器24に対してデータを送信する必要がある場合、宛先の機器24と同一のバスに接続されたメータ23のアドレスを宛先アドレスに指定すると共に、サブアドレスにより機器24を指定したパケットを生成して送信する。このパケットは、送信先の機器24と同一のバスに接続されたメータ23を介してして機器24へ送信される。   When it is necessary to transmit data from the host computer 11 to the wireless slave unit 22 or the meter 23, a packet in which the destination address is specified as the ID (address) of the wireless slave unit 22 or the meter 23 is generated, and the wide area wireless network N1 To the destination wireless handset 22 or meter 23. When the host computer 11 needs to transmit data to the device 24, the host computer 11 designates the address of the meter 23 connected to the same bus as the destination device 24 as the destination address, and uses the sub address to identify the device 24. Generate and send the specified packet. This packet is transmitted to the device 24 via the meter 23 connected to the same bus as the transmission destination device 24.

無線子機22は、狭域無線網N2を通じてパケットを受信した場合、そのパケットの自機宛のパケットであるか否かを判断する。無線子機22は、受信したパケットの宛先アドレスとして自機のIDが指定されている場合、受信したパケットが自機宛のパケットであると判断し、そのパケットに含まれるデータの内容に基づいて各種の処理を実行する。一方、受信したパケットの宛先アドレスとして自機に接続されたメータ23のIDが指定されている場合、無線子機22は、そのパケットを自機に接続されたメータ23へ転送する。
また、無線子機22は、自機に接続されたメータ23から検針値等のデータを含むパケットを受信した場合、又は機器24から出力される警報等を示すデータを含むパケットを
受信した場合、当該パケットを直接的又は他の1又は複数の無線子機22を経由して無線親機21へ送信する。無線親機21は、無線子機22から送信されたパケットを受信した場合、広域無線網N1を介した無線通信によりホストコンピュータ11へパケットを送信する。
When the wireless slave device 22 receives a packet through the narrow-area wireless network N2, the wireless slave device 22 determines whether the packet is a packet addressed to itself. When the ID of the own device is specified as the destination address of the received packet, the wireless slave device 22 determines that the received packet is a packet addressed to the own device, and based on the content of the data included in the packet Perform various processes. On the other hand, when the ID of the meter 23 connected to the own device is designated as the destination address of the received packet, the wireless slave device 22 transfers the packet to the meter 23 connected to the own device.
Further, when the wireless handset 22 receives a packet including data such as a meter reading value from the meter 23 connected to the own device, or when receiving a packet including data indicating an alarm or the like output from the device 24, The packet is transmitted to the wireless master device 21 directly or via one or more other wireless slave devices 22. When receiving the packet transmitted from the wireless slave device 22, the wireless master device 21 transmits the packet to the host computer 11 by wireless communication via the wide area wireless network N1.

メータ23は、バスを介して接続された無線子機22から自機宛のパケットを受信した場合、そのパケットに含まれるデータの内容に基づいて各種の処理を実行する。また、メータ23は、サブアドレスにより機器24宛のパケットであることが指定されたパケットを受信した場合、そのパケットの送信元アドレス及び宛先アドレスを、それぞれ自機(メータ23)のアドレス及び機器24のアドレスに書き換えて機器24へ転送する。
また、機器24からホストコンピュータ11へデータを送信する必要がある場合、当該機器24は、宛先アドレス及びサブアドレスをそれぞれメータ23のアドレス及びホストコンピュータ11のアドレスに設定したパケットを生成し、生成したパケットをメータ23へ送信する。メータ23は、機器24から受信したパケットの宛先アドレスをホストコンピュータ11のアドレスに書き換えてホストコンピュータ11へ転送する。
When the meter 23 receives a packet addressed to itself from the wireless slave device 22 connected via the bus, the meter 23 executes various processes based on the content of data included in the packet. Further, when the meter 23 receives a packet designated as a packet addressed to the device 24 by the subaddress, the meter 23 sets the transmission source address and destination address of the packet to the address of the own device (meter 23) and the device 24, respectively. The address is rewritten and transferred to the device 24.
When it is necessary to transmit data from the device 24 to the host computer 11, the device 24 generates a packet in which the destination address and the sub address are set to the address of the meter 23 and the address of the host computer 11, respectively. Is transmitted to the meter 23. The meter 23 rewrites the destination address of the packet received from the device 24 with the address of the host computer 11 and transfers it to the host computer 11.

Uバス規格では、サブアドレスを用いることにより、無線子機22にバスを介して接続された機器24を送信先として指定したパケットを送信することが可能である。しかしながら、Uバス規格では、サブアドレスを用いた場合、パケットを分割することができない通信仕様となっているため、所定長より長いデータ(ロングデータ)を送受信することができないという問題点を有していた。このような問題点を解決するために、本願では、パケットのデータ部にパケット分割に係る情報(フラグメント情報)を付加することにより、従来のUバス規格に改変を加えることなく、ロングデータを送受信できる構成としている。   In the U bus standard, it is possible to transmit a packet designating a device 24 connected to the wireless slave device 22 via a bus as a transmission destination by using a subaddress. However, the U-bus standard has a problem that when a subaddress is used, it is a communication specification that cannot divide a packet, so that data (long data) longer than a predetermined length cannot be transmitted / received. It was. In order to solve such problems, in the present application, by adding information (fragment information) related to packet division to the data portion of the packet, long data can be transmitted and received without modifying the conventional U bus standard. It is configured as possible.

なお、図1に示す例では、各無線子機22にメータ23及び機器24をそれぞれ1台ずつ接続する構成としたが、各無線子機22に接続される機器24の台数は1台に限定されるものではない。例えば、メータ23のみが接続された無線子機22が含まれていてもよく、メータ23及び2台以上の機器24,24,…が接続された無線子機22が含まれていてもよい。   In the example shown in FIG. 1, each of the wireless slave units 22 is connected to one meter 23 and one device 24, but the number of devices 24 connected to each wireless slave unit 22 is limited to one. Is not to be done. For example, the wireless slave device 22 to which only the meter 23 is connected may be included, or the wireless slave device 22 to which the meter 23 and two or more devices 24, 24,... Are connected may be included.

図2はホストコンピュータ11の内部構成を示すブロック図である。ホストコンピュータ11は、制御部110、記憶部111、通信部112、表示部114、操作部115などを備える。   FIG. 2 is a block diagram showing the internal configuration of the host computer 11. The host computer 11 includes a control unit 110, a storage unit 111, a communication unit 112, a display unit 114, an operation unit 115, and the like.

制御部110は、例えば、CPU、ROM、RAMなどを備え、ROMに予め格納された制御プログラムをRAMに読み出し、CPUが前記制御プログラムを実行することにより、機器全体を本発明に係る通信装置として機能させる。   The control unit 110 includes, for example, a CPU, a ROM, a RAM, and the like. The control program stored in advance in the ROM is read into the RAM, and the CPU executes the control program, whereby the entire device is used as the communication device according to the present invention. Make it work.

記憶部111は、例えば、HDD(Hard Disk Drive)などの記憶装置により構成されており、無線親機21、無線子機22、メータ23、機器24等の端末側の装置に関する情報、広域無線網N1を介して端末側の装置から送信されてくるデータ等を記憶する。   The storage unit 111 is configured by a storage device such as an HDD (Hard Disk Drive), for example, information on terminal-side devices such as the wireless master device 21, the wireless slave device 22, the meter 23, and the device 24, a wide area wireless network Data and the like transmitted from the device on the terminal side via N1 are stored.

通信部112は、センタ側網制御装置12を介して広域無線網N1に接続するためのインタフェースを備える。ホストコンピュータ11は、端末側から送信されるデータをセンタ側網制御装置12経由で通信部112にて受信すると共に、端末側へ通知すべき情報等を通信部112からセンタ側網制御装置12へ送出することにより、センタ側網制御装置12経由で端末側へ送信する。   The communication unit 112 includes an interface for connecting to the wide area wireless network N1 via the center side network control device 12. The host computer 11 receives the data transmitted from the terminal side by the communication unit 112 via the center side network control device 12 and sends information to be notified to the terminal side from the communication unit 112 to the center side network control device 12. By sending it, it is sent to the terminal side via the center side network control device 12.

表示部114は、例えば液晶表示パネル等により構成されており、制御部110から出
力されるデータに基づき、センタ側の管理者等に通知すべき情報を表示する。
The display unit 114 includes, for example, a liquid crystal display panel, and displays information to be notified to a manager on the center side based on data output from the control unit 110.

操作部115は、キーボード、マウス等の各種入力インタフェースにより構成されており、センタ側の管理者等による各種操作を受付ける。制御部110は、操作部115を通じて受付ける各種操作に基づいて、表示部114に情報を表示させる動作、記憶部111に情報を記憶させる動作、通信部112を通じて情報を送信させる動作を実行する。   The operation unit 115 includes various input interfaces such as a keyboard and a mouse, and accepts various operations by an administrator on the center side. Based on various operations received through the operation unit 115, the control unit 110 performs an operation for displaying information on the display unit 114, an operation for storing information in the storage unit 111, and an operation for transmitting information through the communication unit 112.

図3は無線親機21の内部構成を示すブロック図である。無線親機21は、制御部210、記憶部211、広域無線通信部212、狭域無線通信部213、表示部214、操作部215などを備える。無線親機21が備えるハードウェア各部は、電池219から供給される電力により動作するように構成されている。   FIG. 3 is a block diagram showing an internal configuration of the wireless master device 21. The wireless master device 21 includes a control unit 210, a storage unit 211, a wide area wireless communication unit 212, a narrow area wireless communication unit 213, a display unit 214, an operation unit 215, and the like. Each component of the hardware provided in the wireless master device 21 is configured to operate with electric power supplied from the battery 219.

制御部210は、例えば、CPU、ROM、RAMなどを備え、ROMに予め格納された制御プログラムをRAMに読み出し、CPUが前記制御プログラムを実行することにより、機器全体を本発明に係る通信装置として機能させる。   The control unit 210 includes, for example, a CPU, a ROM, a RAM, and the like, reads a control program stored in advance in the ROM into the RAM, and the CPU executes the control program, whereby the entire device is used as a communication device according to the present invention. Make it work.

記憶部211は、例えば、EEPROM(Electrically Erasable Programmable Read Only Memory)などの不揮発性メモリにより構成されており、自機の動作に関する設定情報、広域無線網N1を介して通信する際に必要となる情報、狭域無線網N2を介して通信する際に必要となる情報等を記憶する。   The storage unit 211 is configured by a non-volatile memory such as an EEPROM (Electrically Erasable Programmable Read Only Memory), for example, and information necessary for setting information regarding the operation of the own device and communication via the wide area wireless network N1. Information necessary for communication via the narrow-area wireless network N2 is stored.

広域無線通信部212は、アンテナ212aを通じて電波を発信または受信することによって、広域無線網N1を介した無線通信を行う。無線親機21は、例えば、自機に接続された無線子機22を通じてメータ23の検針値を取得した場合、検針値を示すデータをセンタ側のホストコンピュータ11へ送信する。広域無線通信部212は、制御部210を通じて送信すべきデータを取得した場合、アンテナ212aを駆動して電波を発信させることより、広域無線網N1の通信規格に準拠した形式にてパケットを送信する処理を行う。   The wide area wireless communication unit 212 performs wireless communication via the wide area wireless network N1 by transmitting or receiving radio waves through the antenna 212a. For example, when the wireless master device 21 acquires the meter reading value of the meter 23 through the wireless slave device 22 connected to the wireless device itself, the wireless master device 21 transmits data indicating the meter reading value to the host computer 11 on the center side. When the wide-area wireless communication unit 212 acquires data to be transmitted through the control unit 210, the wide-area wireless communication unit 212 transmits a packet in a format compliant with the communication standard of the wide-area wireless network N1 by driving the antenna 212a to emit radio waves. Process.

また、広域無線通信部212は、アンテナ212aにて電波を受信した場合、受信した電波をデコードすることにより所定の形式のパケットを取得する。アンテナ212aにて受信する受信電波には、例えば、ホストコンピュータ11からの起動指令などの各種制御コマンドが含まれる。広域無線通信部212は、デコードして得られるパケットを制御部210へ出力する。制御部210は、広域無線通信部212から出力されたパケットを取得した場合、そのパケットに基づいて各種の制御を行う。   In addition, when the radio wave is received by the antenna 212a, the wide area wireless communication unit 212 acquires a packet in a predetermined format by decoding the received radio wave. The received radio wave received by the antenna 212a includes various control commands such as an activation command from the host computer 11, for example. Wide area wireless communication unit 212 outputs a packet obtained by decoding to control unit 210. When acquiring a packet output from the wide area wireless communication unit 212, the control unit 210 performs various controls based on the packet.

狭域無線通信部213は、アンテナ213aを通じて電波を発信または受信することによって、複数の無線子機22,22,…,22と所定の無線通信方式にて通信を行う。無線通信方式としては、例えば特定小電力無線方式が採用される。無線親機21の狭域無線通信部213は、送信すべきパケットを有する無線子機22を探索するための探索信号として、ビーコンを間欠的に送信する。このビーコンには、狭域無線網N2において無線親機21を識別するための識別情報として無線機番号が含まれているものとする。また、狭域無線通信部213は、無線子機22から送信されるビーコンを受信した場合であって、自装置が送信すべきパケットを有するとき、ビーコンに含まれる無線機番号より特定される無線子機22へパケットを送信する。   The narrow area wireless communication unit 213 communicates with a plurality of wireless slave units 22, 22,..., 22 by a predetermined wireless communication method by transmitting or receiving radio waves through the antenna 213a. As the wireless communication method, for example, a specific low power wireless method is adopted. The narrow area wireless communication unit 213 of the wireless master device 21 intermittently transmits a beacon as a search signal for searching for the wireless slave device 22 having a packet to be transmitted. This beacon includes a wireless device number as identification information for identifying the wireless master device 21 in the narrow area wireless network N2. In addition, the narrow-area wireless communication unit 213 receives a beacon transmitted from the wireless slave unit 22, and when the own device has a packet to be transmitted, the wireless communication unit 213 specifies the wireless number specified by the wireless device number included in the beacon. A packet is transmitted to the slave unit 22.

表示部214は、LEDランプ、液晶表示パネル等により構成されており、制御部210から出力される制御信号に基づいて、保守作業を行う作業員等に通知すべき情報を表示する。   The display unit 214 includes an LED lamp, a liquid crystal display panel, and the like, and displays information to be notified to a worker or the like who performs maintenance work based on a control signal output from the control unit 210.

操作部215は、ディップスイッチ等の各種スイッチ、ボタンにより構成されており、例えば保守作業を行う作業員等による各種の設定操作を受付ける。制御部210は、操作部215から入力される設定内容を基に各種制御を行い、必要に応じて設定内容を記憶部211に記憶させる。   The operation unit 215 includes various switches such as dip switches and buttons, and accepts various setting operations by, for example, a worker performing maintenance work. The control unit 210 performs various controls based on the setting content input from the operation unit 215 and stores the setting content in the storage unit 211 as necessary.

本実施の形態では、無線親機21がNCUの機能を有するものとして説明を行ったが、NCUの機能を有する網制御装置を個別の装置として用意し、無線親機21を網制御装置に接続する構成であってもよい。この場合、無線親機21は、網制御装置を接続する接続インタフェースを備え、接続インタフェースに接続された網制御装置を介してセンタ側と通信を行う構成とすればよい。   In the present embodiment, the wireless master device 21 has been described as having an NCU function. However, a network control device having an NCU function is prepared as an individual device, and the wireless master device 21 is connected to the network control device. It may be configured to. In this case, the wireless master device 21 may be configured to include a connection interface for connecting the network control device and to communicate with the center side via the network control device connected to the connection interface.

図4は無線子機22の内部構成を示すブロック図である。無線子機22は、制御部220、記憶部221、狭域無線通信部222、接続IF223、表示部224、操作部225などを備える。無線子機22が備えるハードウェア各部は、電池229から供給される電力により動作するように構成されている。   FIG. 4 is a block diagram showing the internal configuration of the wireless slave unit 22. The wireless slave device 22 includes a control unit 220, a storage unit 221, a narrow-area wireless communication unit 222, a connection IF 223, a display unit 224, an operation unit 225, and the like. Each part of the hardware included in the wireless slave device 22 is configured to operate with electric power supplied from the battery 229.

制御部220は、例えば、CPU、ROM、RAMなどを備え、ROMに予め格納された制御プログラムをRAMに読み出し、CPUが前記制御プログラムを実行することにより、機器全体を本発明に係る通信装置として機能させる。   The control unit 220 includes, for example, a CPU, a ROM, a RAM, and the like, reads a control program stored in advance in the ROM into the RAM, and the CPU executes the control program, whereby the entire device is used as a communication device according to the present invention. Make it work.

記憶部221は、例えば、EEPROMなどの不揮発性メモリにより構成されており、自機の動作に関する設定情報、狭域無線網N2を介して通信する際に必要となる情報等を記憶する。   The storage unit 221 is configured by a nonvolatile memory such as an EEPROM, for example, and stores setting information related to the operation of the own device, information necessary for communication via the narrow-area wireless network N2, and the like.

狭域無線通信部222は、アンテナ222aを通じて電波を発信または受信することによって、無線親機21及び他の無線子機22と所定の無線通信方式にて通信を行う。無線通信方式としては、例えば特定小電力無線方式が採用される。無線子機22の狭域無線通信部222は、送信すべきパケットを有する無線親機21又は他の無線子機22を探索するための探索信号として、ビーコンを間欠的に送信する。このビーコンには、狭域無線網N2において個々の無線子機22を識別するための識別子として無線機番号が含まれているものとする。また、狭域無線通信部222は、無線親機21又は他の無線子機22から送信されるビーコンを受信した場合であって、自装置が送信すべきパケットを有するとき、ビーコンに含まれる無線機番号より特定される無線親機21又は他の無線子機22へデータを送信する。   The narrow area wireless communication unit 222 communicates with the wireless master device 21 and other wireless slave devices 22 by a predetermined wireless communication method by transmitting or receiving radio waves through the antenna 222a. As the wireless communication method, for example, a specific low power wireless method is adopted. The narrow area wireless communication unit 222 of the wireless slave device 22 intermittently transmits a beacon as a search signal for searching for the wireless master device 21 or another wireless slave device 22 having a packet to be transmitted. This beacon includes a wireless device number as an identifier for identifying each wireless slave device 22 in the narrow area wireless network N2. In addition, the narrow-area wireless communication unit 222 receives a beacon transmitted from the wireless master device 21 or another wireless slave device 22, and when the own device has a packet to be transmitted, the wireless device included in the beacon Data is transmitted to the wireless master device 21 or other wireless slave device 22 specified by the device number.

接続IF223は、例えばUバスを介して、水道、ガスなどの使用量を計測するメータ23、警報器等の機器24を接続するためのインタフェースである。無線子機22は、接続IF223を通じてバスに接続されたメータ23及び機器24とパケットの送受信を行う。   The connection IF 223 is an interface for connecting a device 23 such as a meter 23 and an alarm device that measures the amount of water and gas used through, for example, a U bus. The wireless slave device 22 transmits and receives packets to and from the meter 23 and the device 24 connected to the bus through the connection IF 223.

表示部224は、LEDランプ、液晶表示パネル等により構成されており、制御部220から出力される制御信号に基づいて、保守作業を行う作業員等に通知すべき情報を表示する。   The display unit 224 includes an LED lamp, a liquid crystal display panel, and the like, and displays information to be notified to a worker or the like performing maintenance work based on a control signal output from the control unit 220.

操作部225は、ディップスイッチ等の各種スイッチ、ボタンにより構成されており、例えば保守作業を行う作業員等による各種の設定操作を受付ける。制御部220は、操作部225から入力される設定内容を基に各種制御を行い、必要に応じて設定内容を記憶部221に記憶させる。   The operation unit 225 includes various switches such as dip switches and buttons, and accepts various setting operations by, for example, a worker performing maintenance work. The control unit 220 performs various controls based on the setting content input from the operation unit 225 and stores the setting content in the storage unit 221 as necessary.

図5はメータ23の内部構成を示すブロック図である。メータ23は、制御部230、
記憶部231、接続IF232、検針部233などを備える。
FIG. 5 is a block diagram showing the internal configuration of the meter 23. The meter 23 includes a control unit 230,
A storage unit 231, a connection IF 232, a meter reading unit 233, and the like are provided.

制御部230は、例えば、CPU、ROM、RAMなどを備え、ROMに予め格納された制御プログラムをRAMに読み出し、CPUが前記制御プログラムを実行することにより、メータ23を本発明に係る機器として機能させる。   The control unit 230 includes, for example, a CPU, a ROM, a RAM, and the like, and reads out a control program stored in advance in the ROM into the RAM, and the CPU executes the control program, whereby the meter 23 functions as a device according to the present invention. Let

記憶部231は、例えば、EEPROMなどの不揮発性メモリにより構成されており、無線テレメータシステム内で自他を識別するID等を記憶する。   The storage unit 231 is configured by a non-volatile memory such as an EEPROM, for example, and stores an ID or the like for identifying itself or others in the wireless telemeter system.

接続IF232は、例えばバスに接続するためのインタフェースを備える。メータ23は、接続IF232を通じて、バスを介して接続された他の機器とパケットの送受信を行う。   The connection IF 232 includes an interface for connecting to a bus, for example. The meter 23 transmits and receives packets to and from other devices connected via the bus through the connection IF 232.

検針部233は、供給事業体から供給される水道、ガスなどの供給媒体の使用量を計測し、計測結果(検針値)を制御部230を出力する。制御部230は、検針値をデータとして含むパケットを生成し、生成したパケットを接続IF232を通じて無線子機22へ送信する。   The meter-reading part 233 measures the usage-amount of supply media, such as water supply and gas supplied from a supply business entity, and outputs the measurement result (meter-reading value) to the control part 230. The control unit 230 generates a packet including the meter reading value as data, and transmits the generated packet to the wireless slave device 22 through the connection IF 232.

図6は機器24の内部構成を示すブロック図である。機器24は、制御部240、記憶部241、接続IF242、検出部243などを備える。   FIG. 6 is a block diagram showing the internal configuration of the device 24. The device 24 includes a control unit 240, a storage unit 241, a connection IF 242, a detection unit 243, and the like.

制御部240は、例えば、CPU、ROM、RAMなどを備え、ROMに予め格納された制御プログラムをRAMに読み出し、CPUが前記制御プログラムを実行することにより、機器24を本発明に係る機器として機能させる。   The control unit 240 includes, for example, a CPU, a ROM, a RAM, and the like. The control program stored in the ROM is read into the RAM, and the CPU executes the control program, whereby the device 24 functions as a device according to the present invention. Let

記憶部241は、例えば、EEPROMなどの不揮発性メモリにより構成されており、バス上で自他を識別するID等を記憶する。   The storage unit 241 is configured by, for example, a non-volatile memory such as an EEPROM, and stores an ID or the like for identifying itself or others on the bus.

接続IF242は、例えばバスに接続するためのインタフェースを備える。機器24は、接続IF242を通じて、バスを介して接続された他の機器とパケットの送受信を行う。   The connection IF 242 includes an interface for connecting to a bus, for example. The device 24 transmits and receives packets to and from other devices connected via the bus through the connection IF 242.

検出部243は、例えば、火災発生等の何らかの状態の変化を検出し、検出結果を示すデータを制御部240へ出力する。制御部240は、検出結果を示すデータを含むパケットを生成し、生成したパケットを接続IF242を通じて無線子機22へ送信する。   For example, the detection unit 243 detects a change in some state such as the occurrence of a fire and outputs data indicating the detection result to the control unit 240. The control unit 240 generates a packet including data indicating the detection result, and transmits the generated packet to the wireless slave device 22 through the connection IF 242.

図7は実施の形態1に係る無線テレメータシステム内で送受信されるパケットの構成例を示す模式図である。本実施の形態に係る無線テレメータシステム内で送受信されるパケットは、制御コード(CC)、送信元アドレス(SADR)、及び宛先アドレス(DADR)を含むヘッダ部、送信対象のデータを含むデータ部、並びにブロックチェックコード(BCC)を有する。図7Aは、サブアドレスを使用しない場合のパケットの構成例を示したものである。サブアドレスを使用しない場合、送信元アドレス及び宛先アドレスには、例えば、ホストコンピュータ11、無線親機21、無線子機22、メータ23の何れかのアドレスが指定され、これらの機器の間でパケットの送受信が行われる。また、サブアドレスを使用しない場合であって、データを分割(断片化)して送信する必要がある場合、制御コード内に、分割パケットであることを示すフラグ、分割パケットの番号、分割パケットの総数が定義される。
なお、各機器がパケットを受信する際に待機状態から受信動作に移る移行時間が必要になるため、移行時間に応じた時間長だけパケットの受信を遅延させるためのデータ(マーク)が各パケットの先頭に付与される。
FIG. 7 is a schematic diagram showing a configuration example of a packet transmitted and received in the radio telemeter system according to the first embodiment. A packet transmitted and received in the radio telemeter system according to the present embodiment includes a header part including a control code (CC), a source address (SADR), and a destination address (DADR), a data part including data to be transmitted, And a block check code (BCC). FIG. 7A shows a configuration example of a packet when a subaddress is not used. When the sub address is not used, for example, any one of the addresses of the host computer 11, the wireless master device 21, the wireless slave device 22, and the meter 23 is designated as the transmission source address and the destination address. Transmission / reception is performed. If the sub address is not used and the data needs to be divided (fragmented) and transmitted, a flag indicating that it is a divided packet, the number of the divided packet, and the total number of divided packets in the control code Is defined.
When each device receives a packet, it takes a transition time to move from the standby state to the reception operation. Therefore, data (mark) for delaying the reception of the packet by the time length corresponding to the transition time is included in each packet. It is given at the beginning.

警報器等の機器24には、自機が接続されているバス上で自他を識別するためのID(アドレス)が付与されるものの、システム内で自他を識別するためのIDは付与されないことが多い。このため、本実施の形態では、システム内で固有のIDを持たない機器24と通信を行う場合、サブアドレスを使用する。例えば、センタ側が機器24に対してパケットを送信する場合、宛先の機器24と同一のバスに接続されたメータ23のアドレスを宛先アドレスとして指定すると共に、サブアドレスに機器24のIDを指定したパケットを生成して送信する。無線子機22は、宛先アドレスにメータ23のアドレスが指定されたパケットを受信した場合、そのパケットをメータ23へ転送する。また、メータ23は、無線子機22から受信したパケットにサブアドレスが含まれており、サブアドレスにより機器24のIDが指定されている場合、そのパケットをサブアドレスにより指定される機器24へ転送する。このようなメータ23のゲートウェイ機能により、通信システム内で固有のIDを持たない機器24を無線テレメータシステム内の通信機器の1つとして接続することが可能となる。   The device 24 such as an alarm device is given an ID (address) for identifying itself / others on the bus to which the own device is connected, but is not given an ID for identifying itself / others in the system. There are many cases. For this reason, in this embodiment, a sub-address is used when communicating with the device 24 that does not have a unique ID in the system. For example, when the center side transmits a packet to the device 24, the address of the meter 23 connected to the same bus as the destination device 24 is designated as the destination address, and the packet in which the ID of the device 24 is designated as the subaddress. Generate and send. When receiving the packet in which the address of the meter 23 is specified as the destination address, the wireless slave device 22 transfers the packet to the meter 23. Further, when the sub-address is included in the packet received from the wireless slave device 22 and the ID of the device 24 is specified by the sub-address, the meter 23 transfers the packet to the device 24 specified by the sub-address. Such a gateway function of the meter 23 makes it possible to connect a device 24 that does not have a unique ID in the communication system as one of the communication devices in the wireless telemeter system.

図7Bは、サブアドレスを使用する場合のパケットの構成例を示したものである。サブアドレスを使用する場合、パケットのデータ部にサブアドレスの情報が付加される。パケットのデータ部は、データプロパティ(DP)、サブアドレス(SUBA)、オペコード(OPC)、オペランド(OPR)を有し、データプロパティ内でサブアドレスの使用の有無が定義され、サブアドレスにより宛先の機器24のIDが指定される。なお、サブアドレスを使用しない場合には、サブアドレス(SUBA)の情報は省略される。   FIG. 7B shows an example of a packet configuration when a subaddress is used. When the sub address is used, the sub address information is added to the data portion of the packet. The data portion of the packet has a data property (DP), a sub-address (SUBA), an opcode (OPC), and an operand (OPR). The use / non-use of the sub-address is defined in the data property. An ID is specified. If the sub address is not used, the sub address (SUBA) information is omitted.

図8は実施の形態1に係る分割パケットの構成例を示す模式図である。前述のように、サブアドレスを使用しない場合であって、パケットを分割する場合、ヘッダ部の制御コード内で分割パケットであることを指定する。一方、サブアドレスを使用する場合、従来のUバス規格に対して改変を加えることなくパケットの分割を定義するために、パケットのデータ部内にフラグメント情報を付加する。具体的には、分割パケットであることを示すフラグ、何番目のパケットであるのかを示すフラグメント番号、分割したパケットの総数をフラグメント情報として付加する。図8は、分割したパケットの総数が3の場合の構成例であり、フラグメント番号として1〜3がそれぞれ指定された3つの分割パケットを示している。   FIG. 8 is a schematic diagram illustrating a configuration example of a fragmented packet according to the first embodiment. As described above, when a subaddress is not used and a packet is divided, it is specified that the packet is a divided packet in the control code of the header part. On the other hand, when subaddresses are used, fragment information is added in the data portion of the packet in order to define packet division without modifying the conventional U bus standard. Specifically, a flag indicating that the packet is a fragmented packet, a fragment number indicating what number the packet is, and the total number of divided packets are added as fragment information. FIG. 8 shows an example of the configuration when the total number of divided packets is 3, and shows three divided packets designated as fragment numbers 1 to 3, respectively.

なお、図8では、オペランドの直後にフラグメント情報を付加したパケットの構成例を示したが、フラグメント情報を付加する位置はオペランドの直後に限定されるものではない。   Although FIG. 8 shows a configuration example of a packet in which fragment information is added immediately after the operand, the position where the fragment information is added is not limited to immediately after the operand.

図9はパケットの生成手順の一例を示すフローチャートである。図9の例は、ホストコンピュータ11が機器24へ送信するパケットを生成する手順を示したものである。ホストコンピュータ11から無線子機22にバスを介して接続された機器24へ送信すべきデータが存在する場合、無線親機21の制御部110は、送信すべきデータのデータ長が所定長より長いか否かを判断する(ステップS11)。送信すべきデータのデータ長が所定長より長い場合(S11:YES)、制御部110は、送信元アドレスを自機のID、宛先アドレスを送信先の機器24と同一のバスに接続されているメータ23のID、サブアドレスを機器24のIDを指定し、フラグメント情報を夫々のデータ部に付加した複数の分割パケットを生成する(ステップS12)。   FIG. 9 is a flowchart illustrating an example of a packet generation procedure. The example of FIG. 9 shows a procedure for generating a packet to be transmitted from the host computer 11 to the device 24. When there is data to be transmitted from the host computer 11 to the device 24 connected to the wireless slave device 22 via the bus, the control unit 110 of the wireless master device 21 has a data length of the data to be transmitted longer than a predetermined length. Whether or not (step S11). When the data length of the data to be transmitted is longer than the predetermined length (S11: YES), the control unit 110 is connected to the same bus as the transmission destination device 24 with the transmission source address as its own ID and the transmission destination address. The ID of the meter 23 and the sub address specify the ID of the device 24, and generate a plurality of divided packets with fragment information added to each data part (step S12).

一方、送信すべきデータのデータ長が所定長以下の場合(S11:NO)、制御部210は、送信元アドレスを自機のID、宛先アドレスを送信先の機器24と同一のバスに接続されているメータ23のID、サブアドレスを機器24のIDを指定し、フラグメント情報を持たないパケットを生成する(ステップS13)。   On the other hand, when the data length of the data to be transmitted is equal to or shorter than the predetermined length (S11: NO), the control unit 210 is connected to the same bus as the transmission destination device 24 with the transmission source address as its own ID and the destination address. The ID of the meter 23 and the sub address of the device 24 are specified, and a packet having no fragment information is generated (step S13).

なお、図9に示した例では、ホストコンピュータ11でのパケットの生成手順について説明したが、機器24からホストコンピュータ11に対してパケットを生成する場合においても同様の手順にてパケットを生成することが可能である。機器24からホストコンピュータ11へ送信するパケットを生成する場合、機器24は、送信元アドレスを自機のID、宛先アドレスを自機と同一のバスに接続されたメータ23のID、サブアドレスをホストコンピュータ11のIDに設定したパケットを生成し、生成したパケットをメータ23へ送信する。メータ23は、機器24から送信されたパケットを受信した場合、パケットの送信元アドレスを自機のID、宛先アドレスをホストコンピュータ11のIDに書き換え、アドレスを書き換えた後のパケットを無線子機22及び無線親機21を通じてホストコンピュータ11へ送信する。   In the example shown in FIG. 9, the packet generation procedure in the host computer 11 has been described. However, when a packet is generated from the device 24 to the host computer 11, the packet is generated in the same procedure. Is possible. When generating a packet to be transmitted from the device 24 to the host computer 11, the device 24 uses the source address as its own ID, the destination address as the ID of the meter 23 connected to the same bus as its own device, and the subaddress as the host computer. 11 is generated, and the generated packet is transmitted to the meter 23. When the meter 23 receives a packet transmitted from the device 24, the meter 23 rewrites the transmission source address of the packet with its own ID, rewrites the destination address with the ID of the host computer 11, and rewrites the packet after rewriting the address to the wireless slave device 22. And transmitted to the host computer 11 through the wireless master device 21.

図10は実施の形態1に係る分割パケットの送信手順の一例を示すタイミングチャートである。無線子機22は、狭域無線通信部222を通じてパケットを受信した場合、当該パケットのヘッダ部及びデータ部を参照することにより、送信元及び宛先等を確認すると共に、メータ23へ転送すべきパケットであるか否か、パケットが分割パケットであるか否か等を判断する。図10に示した例では、ホストコンピュータ11から機器24宛に送信される分割数3の分割パケットを順次受信した状態を示している。   FIG. 10 is a timing chart showing an example of a divided packet transmission procedure according to the first embodiment. When the wireless slave device 22 receives a packet through the narrow-area wireless communication unit 222, the wireless slave device 22 confirms the transmission source and the destination by referring to the header portion and the data portion of the packet, and transfers the packet to the meter 23 Whether or not the packet is a divided packet. In the example shown in FIG. 10, a state in which the divided packets with the division number 3 transmitted from the host computer 11 to the device 24 is sequentially received is shown.

無線子機22は、狭域無線通信部222を通じて、機器24宛の1番目の分割パケットを受信した場合、送信元アドレスとしてホストコンピュータ11のID(センタID)、宛先アドレスとして自機に接続されたメータ23のID(メータID)、サブアドレスとして機器24のID(機器ID)を含むパケットをメータ23へ送信する(ステップS101)。   When the wireless slave device 22 receives the first divided packet addressed to the device 24 through the narrow-area wireless communication unit 222, the wireless slave device 22 is connected to the host device 11 as the transmission source address and the host computer 11 ID (center ID). The packet including the ID of the meter 23 (meter ID) and the ID of the device 24 (device ID) as a subaddress is transmitted to the meter 23 (step S101).

メータ23は、無線子機22から送信されるパケットを受信した場合、ACKを無線子機22へ送信する(ステップS102)。また、メータ23の制御部230は、受信したパケットのサブアドレスを確認することにより、受信したパケットが機器24宛のパケットであると判断できるので、パケットの送信元アドレスをメータID、宛先アドレスを機器ID、サブアドレスをセンタIDに変更し、アドレス変更後のパケットを接続IF232を通じて機器24へ送信する(ステップS103)。   When the meter 23 receives a packet transmitted from the wireless slave device 22, the meter 23 transmits ACK to the wireless slave device 22 (step S102). Further, the control unit 230 of the meter 23 can determine that the received packet is a packet addressed to the device 24 by confirming the subaddress of the received packet. Therefore, the transmission source address of the packet is the meter ID and the destination address is the device address. The ID and sub address are changed to the center ID, and the packet after the address change is transmitted to the device 24 through the connection IF 232 (step S103).

機器24は、メータ23から送信されるパケットを受信した場合、ACKをメータ23へ送信すると共に(ステップS104)、ホストコンピュータ11宛の応答データを送信する(ステップS105)。この応答データは、同一のバスに接続されたメータ23を介して無線子機22へ送信され(ステップS106)、この無線子機22を通じてホストコンピュータ11へ送信される。   When receiving the packet transmitted from the meter 23, the device 24 transmits ACK to the meter 23 (step S104) and transmits response data addressed to the host computer 11 (step S105). The response data is transmitted to the wireless slave unit 22 via the meter 23 connected to the same bus (step S106), and is transmitted to the host computer 11 through the wireless slave unit 22.

また、無線子機22は、狭域無線通信部222を通じて、機器24宛の2番目の分割パケットを受信した場合、送信元アドレスとしてセンタID、宛先アドレスとしてメータID、サブアドレスとして機器IDを含むパケットを接続IF223を通じてメータ23へ送信する(ステップS107)。   Further, when the wireless slave unit 22 receives the second divided packet addressed to the device 24 through the narrow area wireless communication unit 222, the packet including the center ID as the transmission source address, the meter ID as the destination address, and the device ID as the sub address. Is transmitted to the meter 23 through the connection IF 223 (step S107).

メータ23は、無線子機22から送信されるパケットを受信した場合、ACKを無線子機22へ送信する(ステップS108)。また、メータ23の制御部230は、受信したパケットのサブアドレスを確認することにより、受信したパケットが機器24宛のパケットであると判断できるので、パケットの送信元アドレスをメータID、宛先アドレスを機器ID、サブアドレスをセンタIDに変更し、アドレス変更後のパケットを接続IF232を通じて機器24へ送信する(ステップS109)。   When the meter 23 receives the packet transmitted from the wireless slave device 22, the meter 23 transmits ACK to the wireless slave device 22 (step S108). Further, the control unit 230 of the meter 23 can determine that the received packet is a packet addressed to the device 24 by confirming the subaddress of the received packet. Therefore, the transmission source address of the packet is the meter ID and the destination address is the device address. The ID and sub address are changed to the center ID, and the packet after the address change is transmitted to the device 24 through the connection IF 232 (step S109).

機器24は、メータ23から送信されるパケットを受信した場合、ACKをメータ23へ送信すると共に(ステップS110)、ホストコンピュータ11宛の応答データを送信する(ステップS111)。この応答データは、同一のバスに接続されたメータ23を介して無線子機22へ送信され(ステップS112)、この無線子機22を通じてホストコンピュータ11へ送信される。   When receiving the packet transmitted from the meter 23, the device 24 transmits ACK to the meter 23 (step S110) and transmits response data addressed to the host computer 11 (step S111). The response data is transmitted to the wireless slave unit 22 via the meter 23 connected to the same bus (step S112), and is transmitted to the host computer 11 through the wireless slave unit 22.

更に、無線子機22は、狭域無線通信部222を通じて、機器24宛の3番目の分割パケットを受信した場合、送信元アドレスとしてセンタID、宛先アドレスとしてメータID、サブアドレスとして機器IDを含むパケットを接続IF223を通じてメータ23へ送信する(ステップS113)。   Further, when the wireless slave device 22 receives the third divided packet addressed to the device 24 through the narrow-area wireless communication unit 222, the packet including the center ID as the transmission source address, the meter ID as the destination address, and the device ID as the subaddress. Is transmitted to the meter 23 through the connection IF 223 (step S113).

メータ23は、無線子機22から送信されるパケットを受信した場合、ACKを無線子機22へ送信する(ステップS114)。また、メータ23の制御部230は、受信したパケットのサブアドレスを確認することにより、受信したパケットが機器24宛のパケットであると判断できるので、パケットの送信元アドレスをメータID、宛先アドレスを機器ID、サブアドレスをセンタIDに変更し、アドレス変更後のパケットを接続IF232を通じて機器24へ送信する(ステップS115)。   When the meter 23 receives a packet transmitted from the wireless slave device 22, the meter 23 transmits ACK to the wireless slave device 22 (step S114). Further, the control unit 230 of the meter 23 can determine that the received packet is a packet addressed to the device 24 by confirming the subaddress of the received packet. Therefore, the transmission source address of the packet is the meter ID and the destination address is the device address. The ID and sub address are changed to the center ID, and the packet after the address change is transmitted to the device 24 through the connection IF 232 (step S115).

機器24は、メータ23から送信されるパケットを受信した場合、ACKをメータ23へ送信すると共に(ステップS116)、ホストコンピュータ11宛の応答データを送信する(ステップS117)。この応答データは、同一のバスに接続されたメータ23を介して無線子機22へ送信され(ステップS118)、この無線子機22を通じてホストコンピュータ11へ送信される。   When receiving the packet transmitted from the meter 23, the device 24 transmits ACK to the meter 23 (step S116) and transmits response data addressed to the host computer 11 (step S117). The response data is transmitted to the wireless slave unit 22 via the meter 23 connected to the same bus (step S118), and is transmitted to the host computer 11 through the wireless slave unit 22.

このようにして、機器24は、ホストコンピュータ11から順次送信される分割パケットを自機と同一のバスに接続されたメータ23を通じて受信することができる。また、機器24の制御部240は、受信した分割パケットのフラグメント情報に基づいて、元のデータを復元することができる。   In this way, the device 24 can receive the divided packets sequentially transmitted from the host computer 11 through the meter 23 connected to the same bus as its own device. Further, the control unit 240 of the device 24 can restore the original data based on the fragment information of the received divided packet.

なお、図10に示した例では、機器24がホストコンピュータ11から送信される分割パケットを受信する場合の手順について記載したが、機器24から分割パケットを送信する場合についても、同様の手順を適用することができる。   In the example illustrated in FIG. 10, the procedure in the case where the device 24 receives the divided packet transmitted from the host computer 11 is described. However, the same procedure is applied to the case in which the device 24 transmits the divided packet. can do.

以上のように、実施の形態1では、メータ23にゲートウェイ機能を持たせることにより、通信システム内で固有のID(アドレス)を持たない機器24を無線テレメータシステム内の通信機器の1つとして接続することができ、所定長より長いロングデータを送受信する場合であっても、分割パケットにより対応することができる。   As described above, in the first embodiment, by providing the meter 23 with the gateway function, the device 24 having no unique ID (address) in the communication system is connected as one of the communication devices in the wireless telemeter system. Even when long data longer than a predetermined length is transmitted / received, it is possible to cope with the divided packet.

(実施の形態2)
実施の形態1では、各分割パケットのデータ部にフラグメント情報を付加する構成としたが、1番目の分割パケットにのみフラグメント情報を付加し、2番目以降の分割パケットにはフラグメント情報を付加することを省略する構成としてもよい。
実施の形態2では、2番目以降の分割パケットにフラグメント情報を付加することを省略する構成について説明する。
(Embodiment 2)
In Embodiment 1, the fragment information is added to the data portion of each fragmented packet. However, the fragment information is added only to the first fragmented packet, and the fragment information is added to the second and subsequent fragmented packets. It is good also as a structure which omits.
In the second embodiment, a configuration in which adding fragment information to the second and subsequent fragmented packets is omitted will be described.

図11は実施の形態2に係る分割パケットの構成例を示す模式図である。実施の形態2では、サブアドレスを使用する場合であって、パケットを分割する場合、1番目の分割パケットのデータ部内に分割に係る情報(フラグメント情報)を付加する。具体的には、分割パケットであることを示すフラグ、及び分割したパケットの総数をフラグメント情報として付加する。図11は、分割したパケットの総数が3の場合の構成例である。   FIG. 11 is a schematic diagram illustrating a configuration example of a divided packet according to the second embodiment. In the second embodiment, when subaddresses are used, and when a packet is divided, information (fragment information) related to division is added to the data part of the first divided packet. Specifically, a flag indicating that the packet is a divided packet and the total number of divided packets are added as fragment information. FIG. 11 shows a configuration example when the total number of divided packets is three.

実施の形態2では、2番目以降の分割パケットにはフラグメント情報を付加しない構成としているが、一般的には、パケットの制御コード(CC)内にシーケンス番号が存在するので、このシーケンス番号を利用することにより、分割されたパケットの何番目のパケットであるのかを判別することができ、判別した分割パケットから元のデータを復元することができる。例えば、フラグメント総数が3であり、フラグメント情報が付加されている分割パケットのシーケンス番号がNである場合、シーケンス番号がN,N+1,N+2のパケットを取得することにより、元のデータを復元することができる。   In the second embodiment, the fragment information is not added to the second and subsequent fragmented packets. However, in general, since the sequence number exists in the control code (CC) of the packet, this sequence number is used. By doing so, it is possible to determine the number of the divided packet, and it is possible to restore the original data from the determined divided packet. For example, when the total number of fragments is 3 and the sequence number of a divided packet to which fragment information is added is N, the original data is restored by acquiring packets with sequence numbers N, N + 1, N + 2. Can do.

以上のように、実施の形態2では、2番目以降の分割パケットにフラグメント情報を付加することを省略できるため、1つの分割パケットに添付できるデータのデータ量を増やすことができる。   As described above, according to the second embodiment, it is possible to omit adding fragment information to the second and subsequent divided packets, so that the amount of data that can be attached to one divided packet can be increased.

(実施の形態3)
実施の形態1及び2では、Uバスを介してメータ23を無線子機22に接続する構成としたが、Uバスへの接続インタフェースを持たない従来型のメータ(以下、従来型メータという)を変換アダプタを介して接続できるようにしてもよい。
実施の形態3では、従来型メータを変換アダプタを介してUバスに接続する構成について説明を行う。
(Embodiment 3)
In the first and second embodiments, the meter 23 is connected to the wireless slave unit 22 via the U bus. However, a conventional meter (hereinafter referred to as a conventional meter) that does not have a connection interface to the U bus is used. You may enable it to connect via a conversion adapter.
In the third embodiment, a configuration in which a conventional meter is connected to a U bus via a conversion adapter will be described.

図12は実施の形態3における従来型メータの接続例を示す模式図である。無線子機22は、実施の形態1で説明したように、Uバスを介してメータ23を接続する接続IF223を備える。実施の形態3では、更に、変換アダプタ30を介して従来型メータ31をUバスに接続できるように構成している。   FIG. 12 is a schematic diagram showing a connection example of a conventional meter according to the third embodiment. As described in the first embodiment, the wireless slave device 22 includes the connection IF 223 that connects the meter 23 via the U bus. In the third embodiment, the conventional meter 31 is further connected to the U bus via the conversion adapter 30.

変換アダプタ30は、制御部301、接続IF302、ポート303を備える。接続IF302は、Uバスに接続するための接続手段であり、Uバスを通じてパケットが入力された場合、入力されたパケットを制御部301へ送出すると共に、制御部301からUバスを介して外部へ送信すべきパケットが入力された場合、入力されたパケットをUバスを介して無線子機22へ送出する。   The conversion adapter 30 includes a control unit 301, a connection IF 302, and a port 303. The connection IF 302 is a connection means for connecting to the U bus. When a packet is input through the U bus, the connection IF 302 transmits the input packet to the control unit 301 and also from the control unit 301 to the outside via the U bus. When a packet to be transmitted is input, the input packet is transmitted to the wireless slave unit 22 via the U bus.

一方、ポート303には、従来型メータ31が接続され、従来型メータ31からUバスを介して外部へ送信すべきパケットが入力された場合、入力されたパケットを制御部301へ送出すると共に、制御部301から従来型メータ31へ送出すべきパケットが入力された場合、入力されたパケットを従来型メータ31へ送出する。   On the other hand, when the conventional meter 31 is connected to the port 303 and a packet to be transmitted to the outside is input from the conventional meter 31 via the U bus, the input packet is sent to the control unit 301, and When a packet to be transmitted from the control unit 301 to the conventional meter 31 is input, the input packet is transmitted to the conventional meter 31.

制御部301は、例えば演算部及び記憶部を備え、接続IF302を通じて入力された無線子機22からのパケットを従来型メータ31にて解釈可能なパケットに変換すると共に、ポート303を通じて入力された従来型メータ31からのパケットを無線子機22等において解釈可能なパケットに変換する。   The control unit 301 includes, for example, a calculation unit and a storage unit. The control unit 301 converts a packet from the wireless slave unit 22 input through the connection IF 302 into a packet that can be interpreted by the conventional meter 31, and a conventional input through the port 303. The packet from the type meter 31 is converted into a packet that can be interpreted by the wireless slave unit 22 or the like.

ホストコンピュータ11は、Uバス上に変換アダプタ30を介して接続された従来型メータ31に対してデータを送信する必要がある場合、例えば、宛先アドレスをメータ23のID、サブアドレスを変換アダプタ30のIDに指定したパケットを生成して送信する。ホストコンピュータ11から送信されたパケットを前記メータ23が受信した場合、メータ23は、サブアドレスにより変換アダプタ30宛のパケットであると判断できるので、そのパケットの送信元アドレスを自機のID、宛先アドレスを変換アダプタ30のID、サブアドレスをホストコンピュータ11のIDに書き換えて、変換アダプタ30へ転送する。変換アダプタ30は、メータ23から転送されるパケットを受信した場合、従来型メータ31にて解釈可能なパケットに変換し、変換後のパケットをポート303を通じて
従来型メータ31へ送出する。
When the host computer 11 needs to transmit data to the conventional meter 31 connected via the conversion adapter 30 on the U bus, for example, the destination address is the ID of the meter 23 and the subaddress is the conversion adapter 30. A packet designated by the ID is generated and transmitted. When the meter 23 receives a packet transmitted from the host computer 11, the meter 23 can determine that the packet is addressed to the conversion adapter 30 based on the sub-address, so that the source address of the packet is the ID and destination address of its own device. Is converted to the ID of the conversion adapter 30 and the sub-address is replaced with the ID of the host computer 11 and transferred to the conversion adapter 30. When the conversion adapter 30 receives the packet transferred from the meter 23, the conversion adapter 30 converts the packet into a packet interpretable by the conventional meter 31, and sends the converted packet to the conventional meter 31 through the port 303.

逆に、従来型メータ31からホストコンピュータ11等にデータを送信する必要がある場合、送信元アドレスに従来型メータ31のID、宛先アドレスにメータ23のID、サブアドレスにホストコンピュータ11等のIDを設定したパケットを生成し、生成したパケットを変換アダプタ30及びメータ23経由でホストコンピュータ11等の送信先へパケットを送信する。   Conversely, when it is necessary to transmit data from the conventional meter 31 to the host computer 11 or the like, the ID of the conventional meter 31 is set as the source address, the ID of the meter 23 is set as the destination address, and the ID of the host computer 11 is set as the subaddress. The set packet is generated, and the generated packet is transmitted to the transmission destination such as the host computer 11 via the conversion adapter 30 and the meter 23.

以上のように、実施の形態3では、従来型メータ31を変換アダプタ30を介してUバスに接続した場合であっても、サブアドレスを用いることにより、無線テレメータシステム内の通信機器の1つとして接続することができる。また、ロングデータを送受信する場合には、実施の形態1及び2と同様に、フラグメント情報をパケットのデータ部に付加することにより対応することができる。   As described above, in the third embodiment, even when the conventional meter 31 is connected to the U bus via the conversion adapter 30, by using the subaddress, as one of the communication devices in the wireless telemeter system, Can be connected. Further, when transmitting / receiving long data, it is possible to cope with it by adding fragment information to the data portion of the packet, as in the first and second embodiments.

(実施の形態4)
前述の従来型メータ31にてロングデータを送受信できる場合、変換アダプタ30において、分割パケットから元のデータを復元し、復元したデータを従来型メータ31へ転送する構成としてもよい。
実施の形態4では、変換アダプタ30にて分割パケットから元のデータを復元する構成について説明を行う。
(Embodiment 4)
When long data can be transmitted and received by the above-described conventional meter 31, the conversion adapter 30 may restore the original data from the divided packets and transfer the restored data to the conventional meter 31.
In the fourth embodiment, a configuration in which original data is restored from a divided packet by the conversion adapter 30 will be described.

図13は実施の形態4に係る分割パケットの送信手順の一例を示すタイミングチャートである。無線子機22は、狭域無線通信部222を通じてパケットを受信した場合、当該パケットのヘッダ部及びデータ部を参照することにより、送信元及び宛先等を確認すると共に、パケットが分割パケットであるか否か等を判断する。図13に示した例では、ホストコンピュータ11から従来型メータ31宛に送信される分割数3の分割パケットを順次受信した状態を示している。   FIG. 13 is a timing chart illustrating an example of a divided packet transmission procedure according to the fourth embodiment. When the wireless slave device 22 receives a packet through the narrow-area wireless communication unit 222, the wireless slave device 22 confirms the transmission source and the destination by referring to the header portion and the data portion of the packet, and whether the packet is a divided packet. Judge whether or not. The example shown in FIG. 13 shows a state in which the divided packets with the division number 3 transmitted from the host computer 11 to the conventional meter 31 are sequentially received.

無線子機22は、狭域無線通信部222を通じて、従来型メータ31宛の1番目の分割パケットを受信した場合、送信元アドレスとしてホストコンピュータ11のID(センタID)、宛先アドレスとして自機に接続された変換アダプタ30のID(アダプタID)、サブアドレスとして従来型メータ31のID(メータID)を含むパケットを変換アダプタ30へ送信する(ステップS401)。   When the wireless slave device 22 receives the first divided packet addressed to the conventional meter 31 through the narrow-area wireless communication unit 222, the wireless slave device 22 receives the ID (center ID) of the host computer 11 as the transmission source address and the own device as the destination address. A packet including the ID (adapter ID) of the connected conversion adapter 30 and the ID (meter ID) of the conventional meter 31 as a sub-address is transmitted to the conversion adapter 30 (step S401).

変換アダプタ30は、無線子機22から送信されるパケットを受信した場合、ACKを無線子機22へ送信する(ステップS402)。また、変換アダプタ30の制御部301は、受信したパケットのサブアドレスを確認することにより、受信したパケットが従来型メータ31宛のパケットであると判断できるので、分割パケットからデータを抽出し、抽出したデータを保存する(ステップS403)。抽出したデータを保存した後、変換アダプタ30は、ホストコンピュータ11宛の応答データを送信する(ステップS404)。この応答データは無線子機22を介してホストコンピュータ11へ送信される。   When the conversion adapter 30 receives the packet transmitted from the wireless slave device 22, the conversion adapter 30 transmits ACK to the wireless slave device 22 (step S402). Further, the control unit 301 of the conversion adapter 30 can determine that the received packet is a packet addressed to the conventional meter 31 by confirming the subaddress of the received packet. The data is saved (step S403). After storing the extracted data, the conversion adapter 30 transmits response data addressed to the host computer 11 (step S404). This response data is transmitted to the host computer 11 via the wireless slave unit 22.

また、無線子機22は、狭域無線通信部222を通じて、従来型メータ31宛の2番目の分割パケットを受信した場合、送信元アドレスとしてセンタID、宛先アドレスとしてアダプタID、サブアドレスとしてメータIDを含むパケットを変換アダプタ30へ送信する(ステップS405)。   In addition, when receiving the second divided packet addressed to the conventional meter 31 through the narrow area wireless communication unit 222, the wireless slave device 22 receives the center ID as the transmission source address, the adapter ID as the destination address, and the meter ID as the sub address. The included packet is transmitted to the conversion adapter 30 (step S405).

変換アダプタ30は、無線子機22から送信されるパケットを受信した場合、ACKを無線子機22へ送信する(ステップS406)。また、変換アダプタ30の制御部301は、受信したパケットのサブアドレスを確認することにより、受信したパケットが従来型
メータ31宛のパケットであると判断できるので、分割パケットからデータを抽出し、抽出したデータを保存する(ステップS407)。抽出したデータを保存した後、変換アダプタ30は、ホストコンピュータ11宛の応答データを送信する(ステップS408)。この応答データは無線子機22を介してホストコンピュータ11へ送信される。
When the conversion adapter 30 receives the packet transmitted from the wireless slave device 22, the conversion adapter 30 transmits ACK to the wireless slave device 22 (step S406). Further, the control unit 301 of the conversion adapter 30 can determine that the received packet is a packet addressed to the conventional meter 31 by confirming the subaddress of the received packet. Data is saved (step S407). After storing the extracted data, the conversion adapter 30 transmits response data addressed to the host computer 11 (step S408). This response data is transmitted to the host computer 11 via the wireless slave unit 22.

更に、無線子機22は、狭域無線通信部222を通じて、従来型メータ31宛の3番目の分割パケットを受信した場合、送信元アドレスとしてセンタID、宛先アドレスとしてアダプタID、サブアドレスとしてメータIDを含むパケットを変換アダプタ30へ送信する(ステップS409)。   Further, when the wireless slave unit 22 receives the third divided packet addressed to the conventional meter 31 through the narrow-area wireless communication unit 222, the center ID as the transmission source address, the adapter ID as the destination address, and the meter ID as the sub address. The included packet is transmitted to the conversion adapter 30 (step S409).

変換アダプタ30は、無線子機22から送信されるパケットを受信した場合、ACKを無線子機22へ送信する(ステップS410)。また、変換アダプタ30の制御部301は、受信したパケットのサブアドレスを確認することにより、受信したパケットが従来型メータ31宛のパケットであると判断できるので、分割パケットからデータを抽出し、抽出したデータを保存する(ステップS411)。抽出したデータを保存した後、変換アダプタ30は、ホストコンピュータ11宛の応答データを送信する(ステップS412)。この応答データは無線子機22を介してホストコンピュータ11へ送信される。   When the conversion adapter 30 receives the packet transmitted from the wireless slave device 22, the conversion adapter 30 transmits ACK to the wireless slave device 22 (step S410). Further, the control unit 301 of the conversion adapter 30 can determine that the received packet is a packet addressed to the conventional meter 31 by confirming the subaddress of the received packet. The data is saved (step S411). After storing the extracted data, the conversion adapter 30 transmits response data addressed to the host computer 11 (step S412). This response data is transmitted to the host computer 11 via the wireless slave unit 22.

変換アダプタ30は、ステップS403,S407,S411で保存したデータから元のデータを復元し、復元したデータを従来型メータ31へ送信する(ステップS413)。変換アダプタ30から送信されるデータを従来型メータ31が受信した場合、従来型メータ31は、ホストコンピュータ11宛の応答データを送信する(ステップS414)。この応答データは、変換アダプタ30を介して無線子機22へ送信され(ステップS115)、この無線子機22を通じてホストコンピュータ11へ送信される。   The conversion adapter 30 restores the original data from the data saved in steps S403, S407, and S411, and transmits the restored data to the conventional meter 31 (step S413). When the conventional meter 31 receives data transmitted from the conversion adapter 30, the conventional meter 31 transmits response data addressed to the host computer 11 (step S414). The response data is transmitted to the wireless slave device 22 via the conversion adapter 30 (step S115), and is transmitted to the host computer 11 through the wireless slave device 22.

以上のように、実施の形態4では、従来型メータ31にてロングデータを送受信できる場合、変換アダプタ30において、分割パケットから元のデータを復元し、復元したデータを従来型メータ31へ転送することができ、従来型メータ31の通信環境に応じた通信が可能となる。   As described above, in the fourth embodiment, when long data can be transmitted and received by the conventional meter 31, the conversion adapter 30 restores the original data from the divided packets and transfers the restored data to the conventional meter 31. Therefore, communication according to the communication environment of the conventional meter 31 is possible.

今回開示された実施の形態は、全ての点で例示であって、制限的なものではないと考えられるべきである。本発明の範囲は、上述した意味ではなく、特許請求の範囲によって示され、特許請求の範囲と均等の意味及び範囲内での全ての変更が含まれることが意図される。   The embodiment disclosed this time is to be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the meanings described above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

以上の実施の形態に関し、更に以下の付記を開示する。   Regarding the above embodiment, the following additional notes are disclosed.

本願の通信システムは、互いに通信可能に接続された複数の通信装置(11,21,22)を含み、該複数の通信装置(11,21,22)間で、宛先及び送信元に係る情報を含むヘッダ部と、送信対象のデータを含むデータ部とを有するパケットを送受信する通信システムにおいて、前記複数の通信装置(11,21,22)の少なくとも1つはバスを介して1又は複数の機器(23,24,30)を接続する手段を備え、各通信装置(11)は、他の通信装置(21,22)に接続された1又は複数の機器(23,24,30)へ送信すべきデータのデータ長が所定長より長いか否かを判断する手段(S11)、及び前記データのデータ長が所定長より長いと判断した場合、前記データを前記所定長以下のデータ長に断片化した断片化データと、断片化に係る情報とを夫々のデータ部に付加した複数のパケットを生成する手段(S12)を備え、生成した複数のパケットを前記他の通信装置(21,22)を介して前記1又は複数の機器(23,24,30)へ送信するようにしてあることを特徴とする。   The communication system of the present application includes a plurality of communication devices (11, 21, 22) that are communicably connected to each other, and transmits information on destinations and transmission sources between the plurality of communication devices (11, 21, 22). In a communication system for transmitting and receiving a packet having a header portion including data and a data portion including transmission target data, at least one of the plurality of communication devices (11, 21, 22) is one or a plurality of devices via a bus Means for connecting (23, 24, 30), and each communication device (11) transmits to one or a plurality of devices (23, 24, 30) connected to other communication devices (21, 22). Means (S11) for determining whether the data length of the power data is longer than a predetermined length; and when determining that the data length of the data is longer than the predetermined length, the data is fragmented into a data length equal to or shorter than the predetermined length Fragmentation de And a means (S12) for generating a plurality of packets in which data relating to fragmentation are added to the respective data portions, and the generated plurality of packets are transmitted through the other communication devices (21, 22). It is characterized by transmitting to one or a plurality of devices (23, 24, 30).

本願では、通信システム内で固有のID(アドレス)を持たない機器を通信システム内の1つの通信装置として接続することができる。また、通信仕様によりパケットが分割できない場合であっても、パケットのデータ部に断片化に係る情報を付加することにより、所定長より長いロングデータを送受信することができる。   In the present application, a device that does not have a unique ID (address) in the communication system can be connected as one communication device in the communication system. Even when a packet cannot be divided due to communication specifications, long data longer than a predetermined length can be transmitted and received by adding information relating to fragmentation to the data portion of the packet.

本願の通信システムは、各通信装置(11)は、断片化に係る情報を一のパケットのデータ部に付加し、他のパケットのデータ部への付加を省略するようにしてあることを特徴とする。   The communication system of the present application is characterized in that each communication device (11) adds information related to fragmentation to the data part of one packet and omits addition of the other packet to the data part. To do.

本願では、2番目移行の分割パケットにフラグメント情報を付加することを省略できるため、1つの分割パケットに添付できるデータのデータ量を増やすことができる。   In the present application, since it is possible to omit adding fragment information to the second transfer fragmented packet, the amount of data that can be attached to one fragmented packet can be increased.

本願の通信システムは、前記機器(23)は、供給先へ供給される供給対象の使用量を計測するメータ(23)を含み、該メータ(23)は、自機と同一のバスに接続された他の機器宛のパケットを受信する手段(232)と、該手段(232)にて受信したパケットを前記他の機器へ転送する手段(232)とを備えることを特徴とする。   In the communication system of the present application, the device (23) includes a meter (23) that measures the amount of supply to be supplied to a supply destination, and the meter (23) is connected to the same bus as the own device. And a means (232) for receiving a packet addressed to another device and a means (232) for transferring the packet received by the means (232) to the other device.

本願では、通信システム内で固有のID(アドレス)を持たない機器と通信する際に、メータをゲートウェイ機能を有する機器として動作させることができる。   In the present application, when communicating with a device that does not have a unique ID (address) in the communication system, the meter can be operated as a device having a gateway function.

本願の通信システムは、前記機器(30)は、他の通信規格のパケットを送受信する機器(31)を接続するためのポートを備えた変換アダプタ(30)を含み、該変換アダプタ(30)は、前記バスを通じて受信したパケットのデータ部に断片化に係る情報が含まれているか否かを判断する手段(300)と、前記断片化に係る情報が含まれていると判断した場合、前記断片化に係る情報に基づいて、前記パケットのヘッダ部により指定される宛先の機器へ送信すべきデータを復元する手段(300)と、復元したデータに基づいて前記通信規格に準じたパケットを生成する手段(300)とを備え、生成したパケットを前記宛先の機器(31)へ送信するようにしてあることを特徴とする。   In the communication system of the present application, the device (30) includes a conversion adapter (30) having a port for connecting a device (31) that transmits and receives packets of other communication standards, and the conversion adapter (30) Means (300) for determining whether or not information relating to fragmentation is included in a data part of a packet received through the bus; and if it is determined that information relating to fragmentation is included, the fragment Means (300) for restoring the data to be transmitted to the destination device specified by the header of the packet based on the information relating to the conversion, and generating a packet conforming to the communication standard based on the restored data Means (300) for transmitting the generated packet to the destination device (31).

本願では、従来型メータを変換アダプタを介してバスに接続した場合であっても、通信システム内で送受信されるパケットのデータ部分にてサブアドレスを設定することにより、従来型メータをシステム内の通信装置の1つとして接続することができる。また、ロングデータを送受信する場合には、フラグメント情報をパケットのデータ部に付加することにより対応することができる。   In this application, even if the conventional meter is connected to the bus through the conversion adapter, the conventional meter can be connected to the system by setting the sub-address in the data part of the packet transmitted and received in the communication system. It can be connected as one of the devices. Further, when long data is transmitted and received, it can be dealt with by adding fragment information to the data portion of the packet.

本願の通信装置は、宛先及び送信元に係る情報を含むヘッダ部と、送信対象のデータを含むデータ部とを有するパケットを送受信する通信装置(11)において、他の通信装置(22)にバスを介して接続された機器(23,24,30)へ送信すべきデータのデータ長が所定長より長いか否かを判断する手段(S11)、及び前記データのデータ長が所定長より長いと判断した場合、前記データを前記所定長以下のデータ長に断片化した断片化データと、断片化に係る情報とを夫々のデータ部に付加した複数のパケットを生成する手段(S12)を備え、生成した複数のパケットを前記他の通信装置(22)を介して前記機器(23,24,30)へ送信するようにしてあることを特徴とする。   The communication device of the present application is a communication device (11) that transmits and receives a packet having a header portion including information on a destination and a transmission source and a data portion including data to be transmitted, and is connected to another communication device (22). Means (S11) for determining whether or not the data length of the data to be transmitted to the devices (23, 24, 30) connected via the terminal is longer than a predetermined length, and if the data length of the data is longer than the predetermined length If it is determined, a means (S12) for generating a plurality of packets in which the fragmented data obtained by fragmenting the data into the data length equal to or less than the predetermined length and the information related to the fragmentation are added to the respective data portions (S12), A plurality of generated packets are transmitted to the device (23, 24, 30) via the other communication device (22).

本願では、通信仕様によりパケットが分割できない場合であっても、データ部に断片化に係る情報を付加したパケットを送受信することにより、所定長より長いロングデータの受け渡しが可能となる。   In the present application, even when a packet cannot be divided due to communication specifications, long data longer than a predetermined length can be delivered by transmitting and receiving a packet in which information related to fragmentation is added to the data portion.

11 ホストコンピュータ
12 センタ側網制御装置
21 無線親機
22 無線子機
23 メータ
24 機器
110,210,220,230,240 制御部
111,211,221,231,241 記憶部
112 通信部
212 広域無線通信部
213,222 狭域無線通信部
114,214,224 表示部
115,215,225 操作部
219,229 電池
223,232,242 接続IF
233 検針部
243 検出部
11 Host computer 12 Center side network control device 21 Wireless master unit 22 Wireless slave unit 23 Meter 24 Equipment 110, 210, 220, 230, 240 Control unit 111, 211, 221, 231, 241 Storage unit 112 Communication unit 212 Wide area wireless communication Unit 213, 222 narrow area wireless communication unit 114, 214, 224 display unit 115, 215, 225 operation unit 219, 229 battery 223, 232, 242 connection IF
233 Meter reading section 243 Detection section

Claims (5)

互いに通信可能に接続された複数の通信装置を含み、該複数の通信装置間で、宛先及び送信元に係る情報を含むヘッダ部と、送信対象のデータを含むデータ部とを有するパケットを送受信する通信システムにおいて、
前記複数の通信装置の少なくとも1つはバスを介して1又は複数の機器を接続する手段を備え、
各通信装置は、
他の通信装置に接続された1又は複数の機器へ送信すべきデータのデータ長が所定長より長いか否かを判断する手段、及び
前記データのデータ長が所定長より長いと判断した場合、前記データを前記所定長以下のデータ長に断片化した断片化データと、断片化に係る情報とを夫々のデータ部に付加した複数のパケットを生成する手段
を備え、
生成した複数のパケットを前記他の通信装置を介して前記1又は複数の機器へ送信するようにしてあることを特徴とする通信システム。
A plurality of communication devices connected to be communicable with each other, and a packet having a header portion including information on a destination and a transmission source and a data portion including data to be transmitted is transmitted and received between the plurality of communication devices. In a communication system,
At least one of the plurality of communication devices comprises means for connecting one or more devices via a bus;
Each communication device
Means for determining whether or not the data length of data to be transmitted to one or a plurality of devices connected to other communication devices is longer than a predetermined length; and when determining that the data length of the data is longer than a predetermined length, Means for generating a plurality of packets in which the fragmented data obtained by fragmenting the data into a data length equal to or less than the predetermined length and the information relating to the fragmentation are added to the respective data portions;
A communication system, wherein a plurality of generated packets are transmitted to the one or more devices via the other communication device.
各通信装置は、
断片化に係る情報を一のパケットのデータ部に付加し、他のパケットのデータ部への付加を省略するようにしてあることを特徴とする請求項1に記載の通信システム。
Each communication device
2. The communication system according to claim 1, wherein information relating to fragmentation is added to a data portion of one packet, and addition of another packet to the data portion is omitted.
前記機器は、供給先へ供給される供給対象の使用量を計測するメータを含み、
該メータは、
自機と同一のバスに接続された他の機器宛のパケットを受信する手段と、
該手段にて受信したパケットを前記他の機器へ転送する手段と
を備えることを特徴とする請求項1又は請求項2に記載の通信システム。
The device includes a meter that measures the amount of supply to be supplied to a supply destination,
The meter
Means for receiving packets addressed to other devices connected to the same bus as the own device;
The communication system according to claim 1, further comprising: a unit configured to transfer a packet received by the unit to the other device.
前記機器は、他の通信規格のパケットを送受信する機器を接続するためのポートを備えた変換アダプタを含み、
該変換アダプタは、
前記バスを通じて受信したパケットのデータ部に断片化に係る情報が含まれているか否かを判断する手段と、
前記断片化に係る情報が含まれていると判断した場合、前記断片化に係る情報に基づいて、前記パケットのヘッダ部により指定される宛先の機器へ送信すべきデータを復元する手段と、
復元したデータに基づいて前記通信規格に準じたパケットを生成する手段と
を備え、
生成したパケットを前記宛先の機器へ送信するようにしてあることを特徴とする請求項1又は請求項2に記載の通信システム。
The device includes a conversion adapter having a port for connecting a device that transmits and receives packets of other communication standards,
The conversion adapter is
Means for determining whether or not information relating to fragmentation is included in a data portion of a packet received through the bus;
If it is determined that the information related to the fragmentation is included, based on the information related to the fragmentation, means for restoring data to be transmitted to the destination device specified by the header part of the packet;
Means for generating a packet conforming to the communication standard based on the restored data,
The communication system according to claim 1 or 2, wherein the generated packet is transmitted to the destination device.
宛先及び送信元に係る情報を含むヘッダ部と、送信対象のデータを含むデータ部とを有するパケットを送受信する通信装置において、
他の通信装置にバスを介して接続された機器へ送信すべきデータのデータ長が所定長より長いか否かを判断する手段、及び
前記データのデータ長が所定長より長いと判断した場合、前記データを前記所定長以下のデータ長に断片化した断片化データと、断片化に係る情報とを夫々のデータ部に付加した複数のパケットを生成する手段
を備え、
生成した複数のパケットを前記他の通信装置を介して前記機器へ送信するようにしてあることを特徴とする通信装置。
In a communication device that transmits and receives a packet having a header portion including information on a destination and a transmission source and a data portion including data to be transmitted,
Means for determining whether or not the data length of data to be transmitted to a device connected to another communication device via a bus is longer than a predetermined length; and when determining that the data length of the data is longer than a predetermined length, Means for generating a plurality of packets in which the fragmented data obtained by fragmenting the data into a data length equal to or less than the predetermined length and the information relating to the fragmentation are added to the respective data portions;
A communication apparatus characterized in that a plurality of generated packets are transmitted to the device via the other communication apparatus.
JP2014227072A 2014-11-07 2014-11-07 Communication system and communication device Pending JP2016092677A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014227072A JP2016092677A (en) 2014-11-07 2014-11-07 Communication system and communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014227072A JP2016092677A (en) 2014-11-07 2014-11-07 Communication system and communication device

Publications (1)

Publication Number Publication Date
JP2016092677A true JP2016092677A (en) 2016-05-23

Family

ID=56019917

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014227072A Pending JP2016092677A (en) 2014-11-07 2014-11-07 Communication system and communication device

Country Status (1)

Country Link
JP (1) JP2016092677A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020502982A (en) * 2016-12-19 2020-01-23 エレクトリシテ・ドゥ・フランス Transmission of electrical energy between distribution network user entities
WO2023197925A1 (en) * 2022-04-12 2023-10-19 支付宝(杭州)信息技术有限公司 Packet processing method and apparatus

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006246316A (en) * 2005-03-07 2006-09-14 Murata Mach Ltd Communication apparatus and communication method
JP2014102783A (en) * 2012-11-22 2014-06-05 Yazaki Energy System Corp Signal conversion adapter

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006246316A (en) * 2005-03-07 2006-09-14 Murata Mach Ltd Communication apparatus and communication method
JP2014102783A (en) * 2012-11-22 2014-06-05 Yazaki Energy System Corp Signal conversion adapter

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020502982A (en) * 2016-12-19 2020-01-23 エレクトリシテ・ドゥ・フランス Transmission of electrical energy between distribution network user entities
WO2023197925A1 (en) * 2022-04-12 2023-10-19 支付宝(杭州)信息技术有限公司 Packet processing method and apparatus

Similar Documents

Publication Publication Date Title
US20130316729A1 (en) Position information management system, position information management method, and management server
JP2016092677A (en) Communication system and communication device
JP6309785B2 (en) Wireless telemeter system and wireless communication device
KR20140145306A (en) Lighting system
JP6830863B2 (en) Wireless communication devices, wireless telemeter systems, and communication methods
JP2017041742A (en) Radio communication system and radio communication device
JP6474247B2 (en) Wireless telemeter system and wireless communication device
JP6552424B2 (en) Wireless telemeter system and relay device
JP2016025588A (en) Radio communication system and radio communication device
JP6376885B2 (en) Wireless telemeter system and wireless communication device
JP4390725B2 (en) Telemeter communication equipment
JP6381468B2 (en) Wireless communication system and wireless communication device
JP6563785B2 (en) Radio and radio telemeter system
JP6324806B2 (en) Wireless communication system and wireless communication device
JP6376881B2 (en) Wireless communication system and wireless communication device
JP7005390B2 (en) Setting terminal, wireless telemeter system, and setting method
JP6497889B2 (en) Wireless telemeter system and wireless communication device
JP6579940B2 (en) Radio telemeter system and radio
JP6456120B2 (en) Relay device and telemeter system
JP2016092540A (en) Radio communications system and number issuance radio
JP6501677B2 (en) Wireless telemeter system and communication device
JP6460744B2 (en) Telemeter system and relay device
JP6468730B2 (en) Wireless communication system
JP6579867B2 (en) Wireless telemeter system and relay device
JP2017139596A (en) Wireless communication device, wireless communication system and wireless network setting method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170925

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180731

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20190226