JP6415719B2 - Radio, repeater, communication system, and identifier assignment method - Google Patents

Radio, repeater, communication system, and identifier assignment method Download PDF

Info

Publication number
JP6415719B2
JP6415719B2 JP2017525703A JP2017525703A JP6415719B2 JP 6415719 B2 JP6415719 B2 JP 6415719B2 JP 2017525703 A JP2017525703 A JP 2017525703A JP 2017525703 A JP2017525703 A JP 2017525703A JP 6415719 B2 JP6415719 B2 JP 6415719B2
Authority
JP
Japan
Prior art keywords
identifier
distribution request
wireless device
unit
transmission source
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2017525703A
Other languages
Japanese (ja)
Other versions
JPWO2017002174A1 (en
Inventor
良司 小野
良司 小野
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Publication of JPWO2017002174A1 publication Critical patent/JPWO2017002174A1/en
Application granted granted Critical
Publication of JP6415719B2 publication Critical patent/JP6415719B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/24Cell structures
    • H04W16/26Cell enhancers or enhancement, e.g. for tunnels, building shadow
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Description

本発明は、無線機からの要求に応じて無線機に識別子が配布される通信システム、該通信システムにおける無線機および識別子割当方法に関する。   The present invention relates to a communication system in which an identifier is distributed to a wireless device in response to a request from the wireless device, a wireless device in the communication system, and an identifier assignment method.

無線通信規格では、通信を行う無線機が通信相手となる無線機を識別するために識別子を用いることが規定されているが、無線機の製造コストまたは運用コスト、または製造コストおよび運用コストを低減するため、無線機の識別子を運用前に設定しない、すなわち、運用前には無線機が識別子を持たないことがある。この場合、運用段階で無線機に識別子を設定する必要があるが、識別子の設定を無線機ごとに個別に手作業で行うには作業コストすなわち人的資源および時間を要する。また、無線機の物理的な制約などで手作業での識別子の設定ができない場合もある。このため、識別子を何らかの機器から自動的に無線機へ配布することが行われる。通信用の識別子の配布方法として、非特許文献1に記載の方法がある。非特許文献1では、通信プロトコルのうちIP(Internet Protocol)層の識別子の配布を、それより下位層の通信プロトコルであるMAC(Media Access Control)層の識別子を各無線機が有している前提で実施する。このため、非特許文献1に記載の方法では、MAC層の識別子が存在しない状態では、通信用の識別子の配布は実施できない。   The wireless communication standard stipulates that a wireless device that performs communication uses an identifier to identify a wireless device that is a communication partner, but this reduces the manufacturing cost or operating cost of the wireless device, or the manufacturing cost and operating cost. Therefore, the identifier of the wireless device is not set before the operation, that is, the wireless device may not have the identifier before the operation. In this case, it is necessary to set an identifier for the wireless device at the operation stage, but it takes work costs, that is, human resources and time, to manually set the identifier for each wireless device. In some cases, it is not possible to manually set an identifier due to physical restrictions of the radio. For this reason, the identifier is automatically distributed from some device to the wireless device. There is a method described in Non-Patent Document 1 as a method for distributing an identifier for communication. In Non-Patent Document 1, it is assumed that each wireless device has an identifier of an IP (Internet Protocol) layer among communication protocols, and an identifier of a MAC (Media Access Control) layer, which is a lower-layer communication protocol. To implement. For this reason, in the method described in Non-Patent Document 1, communication identifiers cannot be distributed in the absence of MAC layer identifiers.

一方、テレメータリング推進協議会により標準化が進められている通信規格であるUバスエアでは、運用段階で無線機に識別子を配布する方法が規定されている。Uバスエアは、920MHz帯を使用したマルチホップ通信のための通信規格である。Uバスエアでは、識子の取得を要求する番号取得無線機が、識別子の発行要求専用の識別子を使って、識別子を発行する番号発行無線機へ識別子の発行要求を送信する。番号発行無線機は、発行要求を受信すると、発行する識別子を格納した応答を返送する。応答を受信した番号取得無線機は、番号発行無線機から受信した応答に含まれる識別子を自身に設定し、これ以降は設定した識別子を使って通信を行う。Uバスエアでは、上記のように識別子を配布することにより、MAC層の識別子等の識別子が存在しない状態でも、通信用の識別子の配布を実施することができる。 On the other hand, U-bus air, which is a communication standard that is being standardized by the Telemetering Promotion Council, defines a method for distributing identifiers to radios at the operation stage. U bus air is a communication standard for multi-hop communication using the 920 MHz band. The U Basuea, number obtaining radio for requesting acquisition of the identification element is, by using the issue request dedicated identifier identifier, and transmits the issuance request identifier to the number issuance radio to issue identifier. When the number issuing radio receives the issuance request, the number issuing radio returns a response storing the identifier to be issued. The number acquisition wireless device that has received the response sets the identifier included in the response received from the number issuing wireless device, and thereafter performs communication using the set identifier. In U-bus air, by distributing identifiers as described above, communication identifiers can be distributed even in the absence of identifiers such as MAC layer identifiers.

RFC2131“Dynamic Host Configuration Protocol”RFC2131 “Dynamic Host Configuration Protocol”

上述したように、非特許文献1に記載の方法では、MAC層の識別子が存在しない状態では、通信用の識別子の配布は実施できない。また、上述したUバスエアの識別子配布方法では、工業用アプリケーション等の処理を通信システムに適用した場合に、以下に示す課題が存在する。工業用アプリケーション、例えば計測データを収集するアプリケーション等の処理では、アプリケーションの処理において機器ごとの識別子が用いられることがある。このような場合、アプリケーションの処理で用いられる識別子を、無線通信規格において規定される無線機が用いる識別子である通信用識別子としてそのまま用いることがある。   As described above, in the method described in Non-Patent Document 1, communication identifiers cannot be distributed in the absence of MAC layer identifiers. Further, in the above U bus air identifier distribution method, the following problems exist when processing such as industrial applications is applied to a communication system. In an industrial application, such as an application for collecting measurement data, an identifier for each device may be used in the application process. In such a case, an identifier used in application processing may be used as it is as a communication identifier that is an identifier used by a wireless device defined in the wireless communication standard.

工業用アプリケーションの処理では、1台の親機に対して複数台の子機が存在し、親機が、子機の送信するデータのデータ容量に応じて該子機に割当てられる識別子の数を決定する場合がある。例えば、一定のデータ容量をデータ容量の1単位と定めておき、1単位のデータ容量ごとに識別子を割当てる。すなわち、Nを1以上の整数とするとき、N単位のデータを送信する子機には、N個の識別子を割当てる。このような場合、親機は、例えば、子機から識別子の配布すなわち識別子の割当の要求があると、使用可能な識別子のうち識別子の最も若いものから順に割当てる。例えば、送信するデータ容量が1単位の子機#1から識別子の配布の要求があり、1番若い番号の識別子を子機#1に割当て、その後、送信するデータ容量が2単位の子機#2から識別子の配布の要求を受信すると、2番に若い番号の識別子と3番に若い番号の識別子との2つの識別子を子機#2に割当てる。このような識別子の割当方法を、以下昇順割当方法とよぶ。   In the process of industrial application, there are a plurality of slave units for one master unit, and the master unit determines the number of identifiers assigned to the slave units according to the data capacity of data transmitted by the slave units. May be determined. For example, a fixed data capacity is defined as one unit of data capacity, and an identifier is assigned for each unit of data capacity. That is, when N is an integer equal to or greater than 1, N identifiers are assigned to the slave units transmitting N units of data. In such a case, for example, when there is a request for distribution of identifiers, that is, assignment of identifiers, from the child device, the parent device assigns the available identifiers in order from the smallest identifier. For example, there is a request for distributing identifiers from the slave unit # 1 whose transmission data capacity is 1 unit, and the identifier with the lowest number is assigned to the slave unit # 1, and then the slave unit # whose transmission data capacity is 2 units When the identifier distribution request is received from No. 2, two identifiers, the second lowest numbered identifier and the third lowest numbered identifier, are assigned to the slave unit # 2. Such an identifier assignment method is hereinafter referred to as an ascending order assignment method.

また、中継専用の子機を含む通信システムもある。中継専用の子機を以下、適宜、中継機とよぶ。中継機にも通信用識別子を割当てる必要がある。親機が、上述した昇順割当方法により識別子を子機に割当てている場合、中継機にも昇順割当方法により識別子が割当られる。ただし、中継機はデータの送信元とならないため、データ容量に応じて識別子の数が定められないため、あらかじめ定めた数、例えば1つの識別子を中継機に割当てる。   There is also a communication system including a slave unit dedicated for relay. The slave unit dedicated to relay is hereinafter referred to as a repeater as appropriate. It is necessary to assign a communication identifier to the repeater. When the base unit assigns identifiers to the slave units by the above-described ascending order assignment method, the identifiers are also assigned to the relay units by the ascending order assignment method. However, since the repeater does not serve as a data transmission source, the number of identifiers cannot be determined according to the data capacity. Therefore, a predetermined number, for example, one identifier is assigned to the repeater.

また、工業用アプリケーションの処理では、親機は、識別子ごとのデータ領域を定めたデータマップすなわちデータフォーマットを保持し、データマップに従って子機から受信したデータを格納したデータ、すなわち集約データを生成する場合がある。データマップは、集約データにおける、識別子ごとのデータの格納位置を示す情報である。上述したように中継機にも昇順割当方法により識別子が割当られる場合、集約データ内の中継機に割り当てられた識別子に対応するデータ領域は、アプリケーションの処理では使用されない。したがって、集約データ内にアプリケーションの処理において使用されない無効なデータ領域の格納位置が存在することになる。このため、集約データを用いる処理において、有意でないすなわち無効なデータ領域のデータを有意なデータとして認識する等の誤りが発生する可能性がある。また、集約データをコピーしてメモリに記憶する際に無効なデータによりメモリ領域が使用されたり、集約データを伝送する際に無効なデータに伝送容量が使用されたりするという問題があった。   In industrial application processing, the master unit holds a data map that defines a data area for each identifier, that is, a data format, and generates data that stores data received from the slave unit according to the data map, that is, aggregated data. There is a case. The data map is information indicating the storage position of data for each identifier in the aggregated data. As described above, when an identifier is also assigned to the relay device by the ascending order assignment method, the data area corresponding to the identifier assigned to the relay device in the aggregated data is not used in application processing. Therefore, there is an invalid data area storage position that is not used in application processing in the aggregated data. For this reason, in the process using the aggregated data, an error such as recognizing insignificant, that is, data in an invalid data area as significant data may occur. In addition, there is a problem that the memory area is used by invalid data when the aggregated data is copied and stored in the memory, or the transmission capacity is used for invalid data when the aggregated data is transmitted.

本発明は、上記に鑑みてなされたものであって、子機へ識別子を割当て、割当てた識別子ごとにデータ領域を設けた集約データを生成する場合に、集約データ内の無効なデータが発生することを抑制することができる無線機を得ることを目的とする。   The present invention has been made in view of the above, and when assigning an identifier to a slave unit and generating aggregate data in which a data area is provided for each assigned identifier, invalid data in the aggregate data is generated. An object of the present invention is to obtain a wireless device capable of suppressing this.

上述した課題を解決し、目的を達成するために、本発明にかかる無線機は、識別子の配布を要求する識別子配布要求を受信する送受信部と、識別子配布要求に基づいて識別子配布要求の送信元の無線機がデータの送信元となる第1の無線機であるかまたは中継機である第2の無線機であるかを判断し、識別子配布要求の送信元の無線機が第1の無線機であると判断した場合、割当可能な識別子のうち既に割当済みの識別子を除く最も小さい識別子を識別子配布要求の送信元の無線機へ割当て、識別子配布要求の送信元の無線機が第2の無線機であると判断した場合割当可能な識別子のうち既に割当済みの識別子を除く最も大きい識別子を識別子配布要求の送信元の無線機へ割当てる割当部と、を備える。また、本発明にかかる無線機は、割当部により割当てられた識別子を格納した応答を生成し、生成した応答を、送受信部を介して識別子配布要求の送信元の無線機へ送信する通信制御部、を備える。   In order to solve the above-described problems and achieve the object, a wireless device according to the present invention includes a transmission / reception unit that receives an identifier distribution request for requesting distribution of an identifier, and a transmission source of the identifier distribution request based on the identifier distribution request. Is the first wireless device that is the data transmission source or the second wireless device that is the relay device, and the wireless device that is the transmission source of the identifier distribution request is the first wireless device Is determined, the smallest identifier excluding the already assigned identifier among the assignable identifiers is assigned to the wireless device that transmitted the identifier distribution request, and the wireless device that transmitted the identifier distribution request is the second wireless device. An allocating unit that allocates the largest identifier excluding the already allocated identifier to the wireless device that is the transmission source of the identifier distribution request. In addition, the wireless device according to the present invention generates a response storing the identifier assigned by the assigning unit, and transmits the generated response to the wireless device that transmitted the identifier distribution request via the transmitting / receiving unit. .

本発明にかかる無線機は、子機へ識別子を割当て、割当てた識別子ごとにデータ領域を設けたデータマップを生成する場合に、データマップ内の無効なデータが発生することを抑制することができるという効果を奏する。   The wireless device according to the present invention can suppress occurrence of invalid data in a data map when an identifier is assigned to a child device and a data map is provided with a data area for each assigned identifier. There is an effect.

本発明の実施の形態にかかる通信システムの構成例を示す図The figure which shows the structural example of the communication system concerning embodiment of this invention. 親機の構成例を示す図A diagram showing a configuration example of the master unit データマップの一例を示す図Figure showing an example of a data map 子機の構成例を示す図The figure which shows the example of composition of a cordless handset 中継機の構成例を示す図Diagram showing configuration example of repeater 制御回路の構成例を示す図The figure which shows the structural example of a control circuit 子機における識別子配布に関する処理手順の一例を示すフローチャートThe flowchart which shows an example of the process sequence regarding the identifier distribution in a subunit | mobile_unit 識別子配布要求のフォーマットの一例を示す図Figure showing an example of an identifier distribution request format 中継機における識別子配布に関する処理手順の一例を示すフローチャートThe flowchart which shows an example of the process sequence regarding the identifier distribution in a relay machine 親機の識別子算出部における識別子算出処理手順の一例を示すフローチャートThe flowchart which shows an example of the identifier calculation process procedure in the identifier calculation part of a main | base station 通信制御部における識別子配布要求への応答を生成する処理手順の一例を示すフローチャートThe flowchart which shows an example of the process sequence which produces | generates the response to the identifier distribution request in a communication control part 応答のフォーマットの一例を示す図Diagram showing an example of response format データ信号のフォーマットの一例を示す図Diagram showing an example of the format of the data signal 子機のアプリケーション処理部の処理手順の一例を示すフローチャートThe flowchart which shows an example of the process sequence of the application process part of a subunit | mobile_unit 親機のアプリケーション処理部の処理手順の一例を示すフローチャートThe flowchart which shows an example of the process sequence of the application process part of a main | base station 子機の占有数の一例を示す図Figure showing an example of the number of slave units 識別子の配布処理の一例を示すシーケンス図Sequence diagram showing an example of identifier distribution processing 親機が、子機および中継機へ識別子配布要求に応じて、識別子の配布を行った後の識別子およびデータマップの一例を示す図The figure which shows an example of the identifier and data map after a main | base station distributes an identifier according to an identifier distribution request to a subunit | mobile_unit and a relay machine 比較例におけるデータマップの一例を示す図The figure which shows an example of the data map in a comparative example 実施の形態の通信システムの構成例を示す図The figure which shows the structural example of the communication system of embodiment. 図20に示す状態で子機が識別子配布要求を送信する場合の識別子配布処理の一例を示すシーケンス図FIG. 20 is a sequence diagram showing an example of identifier distribution processing when the slave unit transmits an identifier distribution request in the state shown in FIG. 実施の形態の通信システムの構成例を示す図The figure which shows the structural example of the communication system of embodiment. 図22に示す状態で中継機が識別子配布要求を送信する場合の識別子配布処理の一例を示すシーケンス図22 is a sequence diagram illustrating an example of identifier distribution processing when the relay station transmits an identifier distribution request in the state illustrated in FIG.

以下に、本発明の実施の形態にかかる無線機、中継機、通信システムおよび識別子割当方法を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。   Hereinafter, a radio, a repeater, a communication system, and an identifier assignment method according to an embodiment of the present invention will be described in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.

実施の形態.
図1は、本発明の実施の形態にかかる通信システムの構成例を示す図である。図1に示すように、本実施の形態の通信システムは、親機1と、子機2−1〜2−3と、中継機3とを備える。親機1は、無線通信装置、すなわち無線機であり、本実施の形態の通信システム内で用いる通信用識別子、すなわち無線通信規格において規定される無線機が用いる識別子を、子機2−1〜2−3および中継機3へそれぞれ割当てる。子機2−1〜2−3および中継機3は、親機1から通信用識別子を割当てられる無線通信装置、すなわち無線機である。なお、後述するように、子機2−1〜2−3は、アプリケーション処理を行う子機であり、中継機3は、アプリケーション処理を行わない子機である。中継機3は、親機1と子機2−2との間の通信を中継する。図1では、親機1と子機2−2との間に中継機3が存在する例を示しているが、親機1と子機2−1との間に中継機3が存在してもよく、親機1と子機2−3との間に中継機3が存在してもよい。以下、子機2−1〜2−3を区別せずに示す場合には、適宜、子機2と記載する。図1では、中継機3を1機、子機2−1〜2−3を3機示しているが、中継機3および子機2の数は、図1の例に限定されない。例えば、親機1と子機2−2との間に中継機3が複数存在してもよい。
Embodiment.
FIG. 1 is a diagram illustrating a configuration example of a communication system according to an embodiment of the present invention. As shown in FIG. 1, the communication system according to the present embodiment includes a master unit 1, slave units 2-1 to 2-3, and a relay unit 3. Base unit 1 is a wireless communication device, that is, a wireless unit, and communication identifiers used in the communication system of the present embodiment, that is, identifiers used by wireless units defined in the wireless communication standard, are set as slave units 2-1 to 2-1. Assigned to 2-3 and repeater 3, respectively. The subunit | mobile_unit 2-1 to 2-3 and the relay machine 3 are radio | wireless communication apparatuses which are assigned the identifier for communication from the main | base station 1, ie, a radio | wireless machine. As will be described later, the child devices 2-1 to 2-3 are child devices that perform application processing, and the relay device 3 is a child device that does not perform application processing. The relay device 3 relays communication between the parent device 1 and the child device 2-2. FIG. 1 shows an example in which the relay device 3 exists between the parent device 1 and the child device 2-2, but the relay device 3 exists between the parent device 1 and the child device 2-1. Alternatively, the relay device 3 may exist between the parent device 1 and the child device 2-3. Hereinafter, when the slave units 2-1 to 2-3 are shown without being distinguished from each other, they are appropriately described as the slave units 2. In FIG. 1, one repeater 3 and three slave units 2-1 to 2-3 are shown, but the number of repeaters 3 and slave units 2 is not limited to the example of FIG. For example, a plurality of relay devices 3 may exist between the parent device 1 and the child device 2-2.

本実施の形態の親機1および子機2−1〜2−3は、アプリケーション処理を実施する。このアプリケーション処理は、例えば、親機1が、子機2−1〜2−3から、計測データ等のデータを収集する処理である。親機1は、子機2−1〜2−3から送信されたデータを集約し、集約データを生成する。親機1は、集約データのフォーマットを示すデータマップを保持しており、データマップに従って集約データを生成する。アプリケーション処理では、識別子によりデータを管理する。データマップでは、識別子ごとのデータ領域が定められている。また、本実施の形態では、アプリケーション処理で用いられる識別子を上記の通信用識別子としても用いることとする。1つの子機2が、アプリケーション処理で複数の識別子を用いる場合は、これらの複数の識別子のうちの1つを通信用識別子として用いる。   The master unit 1 and the slave units 2-1 to 2-3 according to the present embodiment perform application processing. This application process is, for example, a process in which the parent device 1 collects data such as measurement data from the child devices 2-1 to 2-3. Master unit 1 aggregates data transmitted from slave units 2-1 to 2-3, and generates aggregated data. Master device 1 holds a data map indicating the format of the aggregated data, and generates aggregated data according to the data map. In application processing, data is managed by identifiers. In the data map, a data area for each identifier is defined. In this embodiment, an identifier used in application processing is also used as the communication identifier. When one handset 2 uses a plurality of identifiers in application processing, one of the plurality of identifiers is used as a communication identifier.

図2は、本実施の形態の親機1の構成例を示す図である。図2に示すように、親機1は、アンテナ11、送受信部12、通信制御部13、識別子算出部14およびアプリケーション処理部15を備える。送受信部12は、アンテナ11を介して無線信号を受信し、受信した無線信号をデジタル信号に変換して通信制御部13へ入力する。また、送受信部12は、通信制御部13から入力される信号をアナログ信号に変換してアンテナ11を介して無線信号として送信する。例えば、送受信部12は、後述するように、子機2または中継機3から識別子の配布を要求する識別子配布要求を受信して通信制御部13へ出力し、通信制御部13により生成された識別子配布要求に対する応答を送信する。すなわち、送受信部12は、送信部と受信部を有し、アンテナ11および送受信部12の送信部は、送信機であり、アンテナ11および送受信部12の受信部は受信機である。   FIG. 2 is a diagram illustrating a configuration example of the base unit 1 of the present embodiment. As shown in FIG. 2, base unit 1 includes antenna 11, transmission / reception unit 12, communication control unit 13, identifier calculation unit 14, and application processing unit 15. The transmission / reception unit 12 receives a radio signal via the antenna 11, converts the received radio signal into a digital signal, and inputs the digital signal to the communication control unit 13. Further, the transmission / reception unit 12 converts the signal input from the communication control unit 13 into an analog signal and transmits the analog signal via the antenna 11. For example, as will be described later, the transmission / reception unit 12 receives an identifier distribution request for requesting distribution of an identifier from the slave unit 2 or the relay unit 3 and outputs the identifier distribution request to the communication control unit 13, and the identifier generated by the communication control unit 13 Send a response to the distribution request. That is, the transmission / reception unit 12 includes a transmission unit and a reception unit, the transmission units of the antenna 11 and the transmission / reception unit 12 are transmitters, and the reception units of the antenna 11 and the transmission / reception unit 12 are receivers.

通信制御部13は、無線通信規格に従った通信プロトコル処理を実施する。具体的には、例えば、通信制御部13は、送信するデータに基づいて無線通信規格に従った無線信号のフォーマットの信号である無線フレーム信号を生成して送受信部12へ入力する。また、通信制御部13は、送受信部12から入力される信号、すなわち受信信号を解析して受信信号の種別を判定し、受信信号の種別が識別子配布要求である場合、識別子配布要求を識別子算出部14へ通知するとともに、識別子配布要求の送信元に対する識別子の算出を識別子算出部14へ指示する。識別子配布要求の送信元は、後述するように、子機2または中継機3である。また、通信制御部13は、識別子算出部14から出力される識別子を格納した応答、すなわち識別子配布要求に対する応答を生成して、送受信部12およびアンテナ11を介して、識別子配布要求の送信元へ送信する。   The communication control unit 13 performs communication protocol processing according to the wireless communication standard. Specifically, for example, the communication control unit 13 generates a radio frame signal that is a radio signal format in accordance with a radio communication standard based on data to be transmitted, and inputs the radio frame signal to the transmission / reception unit 12. In addition, the communication control unit 13 analyzes the signal input from the transmission / reception unit 12, that is, the received signal, determines the type of the received signal, and if the received signal type is an identifier distribution request, calculates the identifier distribution request as an identifier And instructing the identifier calculating unit 14 to calculate an identifier for the transmission source of the identifier distribution request. The transmission source of the identifier distribution request is the slave unit 2 or the relay unit 3 as described later. Further, the communication control unit 13 generates a response storing the identifier output from the identifier calculation unit 14, that is, a response to the identifier distribution request, and transmits the response to the identifier distribution request source via the transmission / reception unit 12 and the antenna 11. Send.

また、通信制御部13は、受信信号の種別がデータ信号、すなわちアプリケーション処理で用いるデータが格納されたデータ信号である場合、データ信号をアプリケーション処理部15へ渡す。また、通信制御部13は、子機2からの識別子配布要求により子機2に識別子を割当てた場合、割当てた識別子および識別子配布要求に格納された占有数をアプリケーション処理部15へ通知する。具体的には、通信制御部13は、後述するように、受信信号のうち、あらかじめ定められた位置に格納されたデータ種別を示す情報に基づいて、受信信号の種別を判定する。   Further, the communication control unit 13 passes the data signal to the application processing unit 15 when the type of the received signal is a data signal, that is, a data signal storing data used in application processing. Further, when an identifier is allocated to the slave unit 2 by the identifier distribution request from the slave unit 2, the communication control unit 13 notifies the application processing unit 15 of the allocated identifier and the occupation number stored in the identifier distribution request. Specifically, as will be described later, the communication control unit 13 determines the type of the received signal based on information indicating the data type stored in a predetermined position in the received signal.

アプリケーション処理部15は、通信制御部13から入力される各子機2−1〜2−3から送信されたデータ信号を集約してデータマップに従って集約データを生成する。アプリケーション処理部15は、通信制御部13から受け取った識別子と占有数とに基づいてデータマップを更新する。アプリケーション処理部15は、占有数ごとに識別子を割当てる。すなわち、親機1が受信する1単位のデータごとに識別子を割当てる。具体的には、アプリケーション処理部15は、通信制御部13から受け取った識別子の数をL、占有数をKとすると、データマップにLからL+K−1までのK個の識別子に対応するデータ領域を追加する。図3は、データマップの一例を示す図である。図3の例では、1から6までの6つの識別子が用いられている例、すなわち1から6までの識別子が子機2−1〜2−3へ割当てられている例を示している。例えば、識別子1および2が子機2−1に割当てられ、識別子3から5が子機2−2に割当てられ、識別子6が子機2−3に割当てられる。図3に示すようにデータマップでは、識別子ごとに該識別子に対応するデータを格納するためのデータ領域が定められており、かつデータマップでは識別子が連続するようにデータ領域が割当てられている。図3においてデータ領域として矩形で示されている部分は、実際には集約データ内のビット位置等によりデータ領域が指定されることを示す。例えば、1単位が128ビットである場合、図3に示したデータマップは、集約データ内の0から127ビット目が識別子のデータ領域、集約データ内の128から255ビット目が識別子のデータ領域、といように識別子ごとのデータ領域が割り当てられていることを示す。 The application processing unit 15 aggregates data signals transmitted from the slave units 2-1 to 2-3 input from the communication control unit 13 and generates aggregated data according to the data map. The application processing unit 15 updates the data map based on the identifier and the occupation number received from the communication control unit 13. The application processing unit 15 assigns an identifier for each occupation number. That is, an identifier is assigned to each unit of data received by base unit 1. Specifically, when the number of identifiers received from the communication control unit 13 is L and the occupation number is K, the application processing unit 15 stores data areas corresponding to K identifiers from L to L + K−1 in the data map. Add FIG. 3 is a diagram illustrating an example of a data map. In the example of FIG. 3, an example in which six identifiers 1 to 6 are used, that is, an example in which identifiers 1 to 6 are assigned to the child devices 2-1 to 2-3 is illustrated. For example, it assigned to identifiers 1 and 2 child machine 2-1, allocated from the identifier 3 to 5 child machine 2-2 assigned by the identifier 6 child machine 2-3. As shown in FIG. 3, in the data map, a data area for storing data corresponding to the identifier is defined for each identifier, and in the data map, the data area is allocated so that the identifiers are continuous. In FIG. 3, a portion indicated by a rectangle as a data area indicates that the data area is actually designated by a bit position or the like in the aggregated data. For example, when one unit is 128 bits, the data map shown in FIG. 3 is such that the 0th to 127th bits in the aggregated data are identifier data areas, the 128th to 255th bits in the aggregated data are identifier data areas, as it will leave indicating that the data area of each identifier is assigned.

識別子算出部14は、通信制御部13からの指示に基づいて、子機2−1〜2−3へ割当てる識別子を算出し、算出した識別子を通信制御部13へ出力する。具体的には、識別子算出部14は、識別子配布要求に基づいて、識別子配布要求の送信元が子機2であるかまたは中継機3であるかを判断し、識別子配布要求の送信元が子機2である場合、識別子として使用可能な値のうち識別子として既に割当済の値を除いた最も若番である値を、識別子配布要求の送信元の子機2に割当てる識別子、すなわち通信用の識別子として算出する。なお、識別子として使用可能な値のうち識別子として既に割当済の値を除いた最も若番である値は、識別子として使用可能な値のうち、識別子として既に割当済の値を除いた最も小さい値である。本実施の形態では、子機2に若番から順に識別子を割当てるため、識別子として使用可能な値のうち識別子として既に割当済の値を除いた最も若番の値は、子機2に割当て済みの最大の識別子の次に大きい識別子である。また、識別子配布要求の送信元の子機2はアプリケーション処理では、通信用の識別子を含む占有数分の識別子を用いることになるため、子機2に割当て済みの最大の識別子をそれまでに子機2に割当て済みの最大の識別子に占有数を加えた値に更新する。   Based on an instruction from the communication control unit 13, the identifier calculation unit 14 calculates an identifier to be assigned to the child devices 2-1 to 2-3 and outputs the calculated identifier to the communication control unit 13. Specifically, based on the identifier distribution request, the identifier calculation unit 14 determines whether the transmission source of the identifier distribution request is the child device 2 or the relay device 3, and the transmission source of the identifier distribution request is a child device. In the case of the machine 2, among the values that can be used as the identifier, the value that is the youngest number excluding the value already assigned as the identifier is assigned to the slave unit 2 that is the transmission source of the identifier distribution request, that is, for communication. Calculated as an identifier. Of the values that can be used as identifiers, the youngest value excluding values that have already been assigned as identifiers is the smallest value that can be used as identifiers, excluding values that have already been assigned as identifiers. It is. In the present embodiment, since the identifiers are assigned to the child device 2 in order from the youngest number, among the values that can be used as the identifier, the smallest value excluding the value already assigned as the identifier has already been assigned to the child device 2 Is the next largest identifier. In addition, since the slave unit 2 that is the transmission source of the identifier distribution request uses as many identifiers as the number of occupations including the identifier for communication in the application process, the maximum identifier that has been assigned to the slave unit 2 up to that point The maximum identifier assigned to the machine 2 is updated to a value obtained by adding the occupation number.

なお、占有数とは、各子機2がアプリケーション処理において送信するデータ容量を示す数値であり、あらかじめ定めた一定のデータ容量を1単位とし、子機2がアプリケーション処理において送信するデータ容量が何単位であるかを示す値である。占有数は、各子機2が占有する識別子の数ということもできる。各子機2は、子機2が占有する識別子のうちの1つを通信用の識別子として使用する。ここでは、子機2が占有する識別子のうち最も若い番号を通信用の識別子として使用するとする。また、識別子算出部14は、識別子配布要求の送信元が中継機3である場合、識別子として使用可能な値のうち識別子として既に割当済の値を除いた最も老番の値を、識別子配布要求の送信元に割当てる識別子として算出する。なお、識別子として使用可能な値のうち識別子として既に割当済の値を除いた最も老番である値は、識別子として使用可能な値のうち、識別子として既に割当済の値を除いた最も大きい値である。本実施の形態では、中継機3に老番から順に識別子を割当てるため、識別子として使用可能な値のうち識別子として既に割当済の値を除いた最も老番の値は、中継機3に割当て済みの最小の識別子の次に小さい識別子である。   The number of occupations is a numerical value indicating the data capacity that each slave unit 2 transmits in the application process. The predetermined amount of data is set as one unit, and what is the data capacity that the slave unit 2 transmits in the application process. It is a value indicating whether it is a unit. The occupation number can also be said to be the number of identifiers occupied by each slave unit 2. Each slave unit 2 uses one of the identifiers occupied by the slave unit 2 as an identifier for communication. Here, it is assumed that the smallest number among the identifiers occupied by the handset 2 is used as an identifier for communication. Further, when the transmission source of the identifier distribution request is the relay device 3, the identifier calculating unit 14 calculates the oldest number value excluding the value already assigned as the identifier among the values usable as the identifier as the identifier distribution request. It is calculated as an identifier assigned to the transmission source. Of the values that can be used as identifiers, the oldest value excluding values that have already been assigned as identifiers is the largest value that can be used as identifiers, excluding values that have already been assigned as identifiers. It is. In this embodiment, since the identifiers are assigned to the repeater 3 in order from the oldest number, the oldest number value excluding the values already assigned as identifiers among the values that can be used as identifiers has already been assigned to the repeater 3. Is the next smallest identifier.

本実施の形態の親機1は、上記のように、識別子配布要求の送信元が子機2であるか中継機3であるかに応じて識別子の割当て方法を変えている。子機2への識別子割当には若番から順に割当てる第1の割当方法を用い、中継機3への識別子割当には老番から順に割当てる第2の割当方法を用いることにより、子機2が用いる識別子の範囲と中継機3が用いる識別子の範囲とを分離させる。なお、上記とは逆に、子機2への識別子割当には老番から順に割当てる第1の割当方法を用い、中継機3への識別子割当には若番から順に割当てる第2の割当方法を用いてもよい。この場合、データマップでは老番から順に識別子ごとのデータ領域を割当てる。   As described above, the base unit 1 of the present embodiment changes the identifier assignment method depending on whether the sender of the identifier distribution request is the slave unit 2 or the relay unit 3. The first mobile terminal 2 is assigned in order from the youngest number to the identifier assignment to the handset 2, and the second assignment method is assigned in order from the oldest number to the identifier assignment to the repeater 3, so that the handset 2 is The range of identifiers to be used is separated from the range of identifiers to be used by the repeater 3. Contrary to the above, the first allocation method in which the oldest number is allocated in order to the identifier allocation to the slave unit 2 is used, and the second allocation method in which the lowest number is allocated in the identifier allocation to the relay unit 3 is performed. It may be used. In this case, in the data map, a data area for each identifier is allocated in order from the oldest number.

以上のように、本実施の形態の子機2には若番から順に識別子が割当てられ、中継機3には老番から順に識別子が割当てられることにより、子機2への割当ての際に、中継機3に既に割当て済みの範囲外の識別子を割当てることができる。すなわち、識別子算出部14は、識別子配布要求に基づいて識別子配布要求の送信元の無線機がデータの送信元となる子機2すなわち第1の無線機であるか、中継機3である第2の無線機であるかを判断し、識別子配布要求の送信元の無線機が第1の無線機であると判断した場合割当可能な識別子のうち既に割当済みの識別子を除く最も小さい識別子を識別子配布要求の送信元の無線機へ割当て、識別子配布要求の送信元の無線機が第2の無線機であると判断した場合割当可能な識別子のうち既に割当済みの識別子を除く最も大きい識別子を識別子配布要求の送信元の無線機へ割当てる割当部である。通信制御部13は、識別子算出部14により割当てられた識別子を格納した応答を生成し、生成した応答を、送受信部12を介して識別子配布要求の送信元の無線機へ送信する。   As described above, identifiers are assigned to the slave units 2 in the present embodiment in order from the youngest number, and identifiers are assigned to the relay units 3 in order from the oldest number. It is possible to assign an identifier outside the range already assigned to the repeater 3. In other words, the identifier calculating unit 14 determines whether the wireless device that is the transmission source of the identifier distribution request is the slave device 2 that is the data transmission source, that is, the first wireless device or the second relay device 3 based on the identifier distribution request. If it is determined that the wireless device that is the transmission source of the identifier distribution request is the first wireless device, among the assignable identifiers, the smallest identifier excluding the already assigned identifier is distributed as an identifier. Allocate to the request source radio, and if it is determined that the identifier distribution request source radio is the second radio, among the assignable identifiers, distribute the largest identifier excluding the already allocated identifier It is an allocating unit that allocates a request transmission source radio. The communication control unit 13 generates a response storing the identifier assigned by the identifier calculation unit 14, and transmits the generated response to the transmission source radio device of the identifier distribution request via the transmission / reception unit 12.

図4は、本実施の形態の子機2の構成例を示す図である。図4に示すように、子機2は、アンテナ21、送受信部22、通信制御部23およびアプリケーション処理部24を備える。送受信部22は、アンテナ21を介して無線信号を受信し、受信した無線信号をデジタル信号に変換して通信制御部23へ入力する。また、送受信部22は、通信制御部23から入力される信号をアナログ信号に変換してアンテナ21を介して無線信号として送信する。すなわち、送受信部22は、送信部と受信部を有し、アンテナ21および送受信部22の送信部は、送信機であり、アンテナ21および送受信部22の受信部は受信機である。   FIG. 4 is a diagram illustrating a configuration example of the slave unit 2 according to the present embodiment. As shown in FIG. 4, the slave unit 2 includes an antenna 21, a transmission / reception unit 22, a communication control unit 23, and an application processing unit 24. The transmission / reception unit 22 receives a radio signal via the antenna 21, converts the received radio signal into a digital signal, and inputs the digital signal to the communication control unit 23. The transmission / reception unit 22 converts the signal input from the communication control unit 23 into an analog signal and transmits the analog signal via the antenna 21. That is, the transmission / reception unit 22 includes a transmission unit and a reception unit, the transmission units of the antenna 21 and the transmission / reception unit 22 are transmitters, and the reception units of the antenna 21 and the transmission / reception unit 22 are receivers.

通信制御部23は、無線通信規格に従った通信プロトコル処理を実施する。具体的には、例えば、通信制御部23は、送信するデータに基づいて無線通信規格に従った無線信号のフォーマットの信号である無線フレーム信号を生成して送受信部22へ入力する。通信制御部23は、自機に識別子が割当てられていない場合、識別子配布要求を生成して親機1へ送信する。識別子配布要求を送信する際には、通信制御部23は、送信元識別子として、あらかじめ定められた識別子配布要求の専用識別子を用いる。通信制御部23は、アンテナ21および送受信部22経由で受信した信号が自機宛であるか否かを判断し、自機宛の信号でない場合、該信号を送受信部22およびアンテナ21経由で送信する。すなわち、自機宛でない信号を受信した場合は、該信号を中継する。通信制御部23は、アンテナ21および送受信部22経由で受信した信号が自機宛の信号であった場合、信号の内容に応じた処理を実施する。例えば、通信制御部23は、送受信部22から入力される信号、すなわち受信信号を解析して受信信号の種別を判定し、受信信号の種別が識別子配布要求に対する応答であり、該応答がエラーを通知するものでない場合、該応答に格納された識別子を自機が通信に用いる識別子として設定するとともに、アプリケーション処理部24へ通知する。以降、通信制御部23は、上述の設定した識別子を、送信元識別子として用いる。例えば、通信制御部23は、アプリケーション処理部24により生成されたデータを格納したデータ信号を親機1へ送信する際に、該データ信号内の送信元識別子として、上述の設定した識別子を格納する。   The communication control unit 23 performs communication protocol processing according to the wireless communication standard. Specifically, for example, the communication control unit 23 generates a radio frame signal that is a signal of a radio signal format in accordance with a radio communication standard based on data to be transmitted, and inputs the radio frame signal to the transmission / reception unit 22. When no identifier is assigned to the own device, the communication control unit 23 generates an identifier distribution request and transmits it to the parent device 1. When transmitting the identifier distribution request, the communication control unit 23 uses a predetermined identifier for the identifier distribution request as a transmission source identifier. The communication control unit 23 determines whether or not a signal received via the antenna 21 and the transmission / reception unit 22 is addressed to the own device. If the signal is not addressed to the own device, the communication control unit 23 transmits the signal via the transmission / reception unit 22 and the antenna 21. To do. That is, when a signal that is not addressed to itself is received, the signal is relayed. When the signal received via the antenna 21 and the transmission / reception unit 22 is a signal addressed to itself, the communication control unit 23 performs processing according to the content of the signal. For example, the communication control unit 23 analyzes the signal input from the transmission / reception unit 22, that is, the received signal, determines the type of the received signal, the type of the received signal is a response to the identifier distribution request, and the response indicates an error. If not, the identifier stored in the response is set as an identifier used by the own device for communication, and the application processing unit 24 is notified. Thereafter, the communication control unit 23 uses the set identifier as a transmission source identifier. For example, when transmitting the data signal storing the data generated by the application processing unit 24 to the base unit 1, the communication control unit 23 stores the set identifier as the transmission source identifier in the data signal. .

アプリケーション処理部24は、送信するデータを生成して、生成したデータを通信制御部23へ渡す。本実施の形態では、アプリケーション処理部24が実施する処理は、例えば、生成したデータを一定時間ごとに送信する処理であるとし、アプリケーション処理部24は、生成したデータを、一定時間ごとに通信制御部23へ渡す。なお、アプリケーション処理部24が直接データを生成する替わりに、子機2が計測装置等の外部機器に接続されており、アプリケーション処理部24が外部機器から取得したデータを一定時間ごとに通信制御部23へ渡すようにしてもよい。アプリケーション処理部24には、生成するデータのデータ容量が予め設定されており、アプリケーション処理部24は、データ容量を内部または外部のメモリに保持しているとする。アプリケーション処理部24は、データ容量を、例えば、上記の占有数として保持している。アプリケーション処理部24は、上述した1単位分のデータごとに識別子と対応付けて該データを通信制御部23へ渡す。なお、アプリケーション処理部24は、識別子と対応付けずに占有数分のデータを通信制御部23へ出力してもよい。   The application processing unit 24 generates data to be transmitted and passes the generated data to the communication control unit 23. In the present embodiment, the processing performed by the application processing unit 24 is, for example, processing for transmitting generated data at regular intervals, and the application processing unit 24 performs communication control on the generated data at regular intervals. Pass to part 23. Instead of the application processing unit 24 directly generating data, the slave unit 2 is connected to an external device such as a measurement device, and the data acquired by the application processing unit 24 from the external device is transmitted at regular intervals. 23 may be passed to. It is assumed that the data capacity of data to be generated is set in advance in the application processing unit 24, and the application processing unit 24 holds the data capacity in an internal or external memory. The application processing unit 24 holds the data capacity as, for example, the above occupation number. The application processing unit 24 transfers the data to the communication control unit 23 in association with an identifier for each unit of data described above. Note that the application processing unit 24 may output data corresponding to the number of occupations to the communication control unit 23 without associating with the identifier.

図5は、本実施の形態の中継機3の構成例を示す図である。図5に示すように、中継機3は、アンテナ31、送受信部32および通信制御部33を備える。送受信部32は、アンテナ31を介して無線信号を受信し、受信した無線信号をデジタル信号に変換して通信制御部33へ入力する。また、送受信部32は、通信制御部33から入力される信号をアナログ信号に変換してアンテナ31を介して無線信号として送信する。すなわち、送受信部32は、送信部と受信部を有し、アンテナ31および送受信部32の送信部は、送信機であり、アンテナ31および送受信部32の受信部は受信機である。 FIG. 5 is a diagram illustrating a configuration example of the repeater 3 according to the present embodiment. As shown in FIG. 5, the repeater 3 includes an antenna 31, a transmission / reception unit 32, and a communication control unit 33. The transmission / reception unit 32 receives a radio signal via the antenna 31, converts the received radio signal into a digital signal, and inputs the digital signal to the communication control unit 33. The transmission / reception unit 32 converts the signal input from the communication control unit 33 into an analog signal and transmits the analog signal via the antenna 31. That is, the transmission / reception unit 32 includes a transmission unit and a reception unit, the transmission units of the antenna 31 and the transmission / reception unit 32 are transmitters, and the reception units of the antenna 31 and the transmission / reception unit 32 are receivers.

通信制御部33は、無線通信規格に従った通信プロトコル処理を実施する。具体的には、例えば、通信制御部33は、送信するデータに基づいて無線通信規格に従った無線信号のフォーマットの信号である無線フレーム信号を生成して送受信部32へ入力する。また、通信制御部33は、自機に識別子が割当てられていない場合、識別子配布要求を生成して親機へ送信する。識別子配布要求を送信する際には、通信制御部33は、送信元識別子として、あらかじめ定められた識別子配布要求の専用識別子を用いる。アンテナ31および送受信部32経由で受信した信号が自機宛であるか否かを判断し、通信制御部33は、自機宛の信号でない場合、該信号を送受信部32およびアンテナ31経由で送信する。通信制御部33は、アンテナ31および送受信部32経由で受信した信号が自機宛の信号であった場合、信号の内容に応じた処理を実施する。例えば、通信制御部33は、送受信部32から入力される信号、すなわち受信信号を解析して受信信号の種別を判定し、受信信号の種別が識別子配布要求に対する応答であり、該応答がエラーを通知するものでない場合、該応答に格納された識別子を自機が通信に用いる識別子として設定する。 The communication control unit 33 performs communication protocol processing according to the wireless communication standard. Specifically, for example, the communication control unit 33 generates a radio frame signal that is a signal of a radio signal format according to the radio communication standard based on the data to be transmitted, and inputs the radio frame signal to the transmission / reception unit 32. Further, when an identifier is not assigned to the own device, the communication control unit 33 generates an identifier distribution request and transmits it to the parent device 1 . When transmitting an identifier distribution request, the communication control unit 33 uses a predetermined identifier for the identifier distribution request as a transmission source identifier. The communication control unit 33 determines whether the signal received via the antenna 31 and the transmission / reception unit 32 is addressed to the own device, and the communication control unit 33 transmits the signal via the transmission / reception unit 32 and the antenna 31 when the signal is not addressed to the own device. To do. If the signal received via the antenna 31 and the transmission / reception unit 32 is a signal addressed to itself, the communication control unit 33 performs processing according to the content of the signal. For example, the communication control unit 33 analyzes the signal input from the transmission / reception unit 32, that is, the received signal, determines the type of the received signal, the type of the received signal is a response to the identifier distribution request, and the response indicates an error. If not notified, the identifier stored in the response is set as an identifier used by the own device for communication.

なお、子機2−1〜2−3には、通信の相手先、すなわち親機1の識別子はあらかじめ設定されているとする。また、中継機3にも、親機1の識別子はあらかじめ設定されているとする。なお、親機1と子機2−1〜2−3の間の通信経路は、自律的に通信経路を構築するのであってもよいし、経路を構築せずに親機1と子機2−1〜2−3が、直接または中継機3を介して親機1とスター型に接続されるものであってもよい。   It is assumed that an identifier of the communication partner, that is, the parent device 1 is set in advance in the child devices 2-1 to 2-3. In addition, it is assumed that the identifier of the parent device 1 is also set in the relay device 3 in advance. In addition, the communication path between the main | base station 1 and the subunit | mobile_units 2-1 to 2-3 may construct | assemble a communication path autonomously, and the main | base station 1 and the subunit | mobile_unit 2 do not construct | assemble a path | route. -1 to 2-3 may be connected to the parent device 1 in a star shape directly or via the relay device 3.

次に、親機1のハードウェア構成について説明する。上述したように、アンテナ11および送受信部12の送信部は送信機であり、アンテナ11および送受信部12の受信部は受信機である。通信制御部13、識別子算出部14およびアプリケーション処理部15は、処理回路として実装される。   Next, a hardware configuration of base unit 1 will be described. As described above, the transmission unit of the antenna 11 and the transmission / reception unit 12 is a transmitter, and the reception unit of the antenna 11 and the transmission / reception unit 12 is a receiver. The communication control unit 13, the identifier calculation unit 14, and the application processing unit 15 are implemented as a processing circuit.

通信制御部13、識別子算出部14およびアプリケーション処理部15を実現する処理回路は、専用のハードウェアであっても、メモリとメモリに格納されるプログラムを実行するCPU(Central Processing Unit、中央処理装置、処理装置、演算装置、マイクロプロセッサ、マイクロコンピュータ、プロセッサ、DSP(Digital Signal Processor)ともいう)とを備える制御回路であってもよい。ここで、メモリとは、例えば、RAM(Random Access Memory)、ROM(Read Only Memory)、フラッシュメモリー、EPROM(Erasable Programmable Read Only Memory)、EEPROM(Electrically Erasable Programmable Read Only Memory)等の、不揮発性または揮発性の半導体メモリ、磁気ディスク、フレキシブルディスク、光ディスク、コンパクトディスク、ミニディスク、DVD(Digital Versatile Disk)等が該当する。   The processing circuit that implements the communication control unit 13, the identifier calculation unit 14, and the application processing unit 15 is a CPU (Central Processing Unit, a central processing unit that executes memory and a program stored in the memory, even if it is dedicated hardware. , A control circuit including a processing device, an arithmetic device, a microprocessor, a microcomputer, a processor, and a DSP (Digital Signal Processor). Here, the memory is, for example, a RAM (Random Access Memory), a ROM (Read Only Memory), a flash memory, an EPROM (Erasable Programmable Read Only Memory, or an EEPROM (Electrically Erasable Memory). A volatile semiconductor memory, a magnetic disk, a flexible disk, an optical disk, a compact disk, a mini disk, a DVD (Digital Versatile Disk), and the like are applicable.

上記の処理回路が、専用のハードウェアで実現される場合、これらは、例えば、単一回路、複合回路、プログラム化したプロセッサ、並列プログラム化したプロセッサ、ASIC(Application Specific Integrated Circuit)、FPGA(Field Programmable Gate Array)、またはこれらを組み合わせたものである。   When the above processing circuit is realized by dedicated hardware, these include, for example, a single circuit, a composite circuit, a programmed processor, a processor programmed in parallel, an ASIC (Application Specific Integrated Circuit), and an FPGA (Field). Programmable Gate Array) or a combination thereof.

上記の処理回路がCPUを備える制御回路で実現される場合、この制御回路は例えば図6に示す構成の制御回路200である。図6に示すように制御回路200は、外部から入力されたデータを受信する受信部である入力部201と、CPUであるプロセッサ202と、メモリ203と、データを外部へ送信する送信部である出力部204とを備える。入力部201は、制御回路200の外部から入力されたデータを受信してプロセッサ202に与えるインターフェース回路であり、出力部204は、プロセッサ202又はメモリ203からのデータを制御回路200の外部に送るインターフェース回路である。上記の処理回路が図6に示す制御回路200により実現される場合、プロセッサ202がメモリ203に記憶された、通信制御部13、識別子算出部14およびアプリケーション部15の各々の処理に対応するプログラムを読み出して実行することにより実現される。また、メモリ203は、プロセッサ202が実施する各処理における一時メモリとしても使用される。   When the above processing circuit is realized by a control circuit including a CPU, this control circuit is, for example, a control circuit 200 having a configuration shown in FIG. As shown in FIG. 6, the control circuit 200 is an input unit 201 that is a reception unit that receives data input from the outside, a processor 202 that is a CPU, a memory 203, and a transmission unit that transmits data to the outside. And an output unit 204. The input unit 201 is an interface circuit that receives data input from the outside of the control circuit 200 and applies the data to the processor 202, and the output unit 204 is an interface that transmits data from the processor 202 or the memory 203 to the outside of the control circuit 200. Circuit. When the above processing circuit is realized by the control circuit 200 shown in FIG. 6, the processor 202 stores programs corresponding to the processes of the communication control unit 13, the identifier calculation unit 14, and the application unit 15 stored in the memory 203. This is realized by reading and executing. The memory 203 is also used as a temporary memory in each process executed by the processor 202.

通信制御部13、識別子算出部14およびアプリケーション処理部15は、各々が個別に処理回路により実現されてもよいし、通信制御部13、識別子算出部14およびアプリケーション処理部15のうち2つ以上が1つの処理回路として実現されてもよい。   Each of the communication control unit 13, the identifier calculation unit 14, and the application processing unit 15 may be realized individually by a processing circuit, or two or more of the communication control unit 13, the identifier calculation unit 14, and the application processing unit 15 are included. It may be realized as one processing circuit.

次に、子機2のハードウェア構成について説明する。上述したように、アンテナ21および送受信部22の送信部は送信機であり、アンテナ21および送受信部22の受信部は受信機である。通信制御部23およびアプリケーション処理部24は、処理回路として実装される。処理回路は、親機1で説明した処理回路と同様に専用のハードウェアであってもよいし、CPUを備える制御回路であってもよい。   Next, the hardware configuration of the slave unit 2 will be described. As described above, the transmission unit of the antenna 21 and the transmission / reception unit 22 is a transmitter, and the reception unit of the antenna 21 and the transmission / reception unit 22 is a receiver. The communication control unit 23 and the application processing unit 24 are implemented as a processing circuit. The processing circuit may be dedicated hardware like the processing circuit described in the parent device 1 or may be a control circuit including a CPU.

次に、中継機3のハードウェア構成について説明する。上述したように、アンテナ31および送受信部32の送信部は送信機であり、アンテナ31および送受信部32の受信部は受信機である。通信制御部33は、処理回路として実装される。処理回路は、親機1で説明した処理回路と同様に専用のハードウェアであってもよいし、CPUを備える制御回路であってもよい。   Next, the hardware configuration of the repeater 3 will be described. As described above, the transmission unit of the antenna 31 and the transmission / reception unit 32 is a transmitter, and the reception unit of the antenna 31 and the transmission / reception unit 32 is a receiver. The communication control unit 33 is implemented as a processing circuit. The processing circuit may be dedicated hardware like the processing circuit described in the parent device 1 or may be a control circuit including a CPU.

以下、本実施の形態の動作について説明する。まず、子機2の動作を説明する。図7は、本実施の形態の子機2における識別子配布に関する処理手順の一例を示すフローチャートである。子機2は、例えば、アプリケーション処理部24の処理が初回に起動されるとき等に、自機の識別子が設定されていないときに、図7に示す識別子配布に関する処理を実施する。図7に示すように、まず、子機2は、あらかじめ定められた識別子配布要求の専用識別子を、自機が用いる識別子として用いて通信するように自機を設定する(ステップS1)。具体的には、子機2の通信制御部23は、送信する信号の送信元識別子として識別子配布要求の専用識別子を用い、受信信号の宛先識別子が識別子配布要求の専用識別子である場合に、自機宛の信号であると判断する。   Hereinafter, the operation of the present embodiment will be described. First, operation | movement of the subunit | mobile_unit 2 is demonstrated. FIG. 7 is a flowchart illustrating an example of a processing procedure related to identifier distribution in the slave unit 2 of the present embodiment. The subunit | mobile_unit 2 implements the process regarding identifier distribution shown in FIG. 7, when the identifier of an own machine is not set, for example, when the process of the application process part 24 is started for the first time. As shown in FIG. 7, first, the slave unit 2 sets itself so as to communicate using a predetermined identifier for the identifier distribution request as an identifier used by the slave unit (step S <b> 1). Specifically, the communication control unit 23 of the slave unit 2 uses a dedicated identifier of the identifier distribution request as the transmission source identifier of the signal to be transmitted, and when the destination identifier of the received signal is the dedicated identifier of the identifier distribution request. Judge that the signal is for the aircraft.

次に、子機2は、自機の占有数を含む識別子配布要求を生成して親機1へ宛てて送信する(ステップS2)。具体的には、子機2の通信制御部23は、アプリケーション処理部24に占有数を問い合わせて、アプリケーション処理部24から占有数を取得し、占有数を格納した識別子配布要求を生成し、送受信部22およびアンテナ21経由で送信する。なお、子機2から送信された識別子配布要求は親機1により直接受信される場合もあるが、図1に示すように中継機3を介して親機1により受信される場合もある。中継機3では、通信制御部33が、子機2から送信された識別子配布要求をアンテナ31および送受信部32経由で受信すると、自機宛ての信号でないため、受信した信号を送受信部32およびアンテナ31経由で送信する、すなわち受信した信号を転送する。そして、親機1が中継機3から送信された識別子配布要求を受信する。子機2と親機1との間に中継機3が1つ以上存在する場合には、中継機3による転送が繰り返され、識別子配布要求が親機1へ到着する。なお、上記説明では中継機3が転送を行う例を示したが、子機2もまた中継機能を持つため、上記説明の中で転送を行う中継機3のうち幾つかもしくは全てが、子機2であることもある。中継を行う場合の子機2の動作は中継機3と同様であり、自機宛てでないデータ信号を受信した場合には、中継機として識別子を親機から配布されていない場合に、中継機としての識別子の配布を要求する識別子配布要求を送信する。 Next, the subunit | mobile_unit 2 produces | generates the identifier distribution request containing the occupation number of an own machine, and transmits to the parent | base station 1 (step S2). Specifically, the communication control unit 23 of the slave unit 2 inquires of the application processing unit 24 about the occupation number, acquires the occupation number from the application processing unit 24, generates an identifier distribution request storing the occupation number, and transmits / receives It transmits via the part 22 and the antenna 21. The identifier distribution request transmitted from the child device 2 may be directly received by the parent device 1, but may be received by the parent device 1 via the relay device 3 as shown in FIG. In the relay device 3, when the communication control unit 33 receives the identifier distribution request transmitted from the child device 2 via the antenna 31 and the transmission / reception unit 32, it is not a signal addressed to the own device, so the received signal is transmitted to the transmission / reception unit 32 and the antenna. 31 is transmitted, that is, the received signal is transferred. The base unit 1 receives the identifier distribution request transmitted from the relay unit 3. When one or more relay devices 3 exist between the slave device 2 and the master device 1, the transfer by the relay device 3 is repeated, and the identifier distribution request arrives at the master device 1. In the above description, the example in which the relay device 3 performs the transfer is shown. However, since the child device 2 also has a relay function, some or all of the relay devices 3 that perform the transfer in the above description are the child devices. It may be 2. The operation of the slave unit 2 when relaying is the same as that of the relay unit 3. When a data signal not addressed to the own unit is received, the relay unit is used when the identifier is not distributed from the base unit 1 as a relay unit. An identifier distribution request for requesting distribution of an identifier is transmitted.

図8は、識別子配布要求のフォーマットの一例を示す図である。図8に示すように、識別子配布要求は、宛先識別子、送信元識別子、種別および占有数を含む。この識別子配布要求の送信元識別子には、あらかじめ定められた識別子配布要求の専用識別子が格納され、宛先識別子には、親機1の識別子が格納され、種別には識別子配布要求であることを示す情報が格納される。なお、図8は一例であり、識別子配布要求のフォーマットは図8の例に限定されない。 FIG. 8 is a diagram illustrating an example of the format of an identifier distribution request. As shown in FIG. 8, the identifier distribution request includes a destination identifier, a transmission source identifier, a type, and an occupation number. This identifier distribution request source identifier stores a predetermined identifier distribution request dedicated identifier, the destination identifier stores the base unit 1 identifier, and the type indicates an identifier distribution request. Information is stored. FIG. 8 is an example, and the format of the identifier distribution request is not limited to the example of FIG.

図7の説明に戻り、子機2は、親機1から識別子を受信すると、受信した識別子を用いて通信するように、自機を設定する(ステップS3)。具体的には、子機2の通信制御部23は、アンテナ21および送受信部22経由で親機1から識別子配布要求の応答を受信し、該応答がエラーを通知するものではなく該応答に識別子が格納されていた場合、この識別子を以降の通信における自機の識別子として用いるよう設定する。例えば、子機2は、アプリケーション処理部24により生成されたデータを送信する際に、識別子配布要求で自機が通知した占有数分のデータを格納したデータ信号を、送信元識別子を上記の応答に格納された識別子に設定して送信する。なお、占有数分のデータを一度に送信するのではなく、1単位ごとに分けてデータを送信してもよい。この場合、各々のデータが格納された各々のデータ信号には、送信元識別子として、全て上記の応答に格納された識別子が格納される。   Returning to the description of FIG. 7, when receiving the identifier from the parent device 1, the child device 2 sets itself to communicate using the received identifier (step S3). Specifically, the communication control unit 23 of the child device 2 receives the response of the identifier distribution request from the parent device 1 via the antenna 21 and the transmission / reception unit 22, and the response does not notify the error, but the identifier is not included in the response. Is stored, this identifier is set to be used as the identifier of the own device in subsequent communications. For example, when transmitting the data generated by the application processing unit 24, the slave unit 2 stores the data signal storing the number of occupied data notified by the own unit in the identifier distribution request, the transmission source identifier as the response above Set to the identifier stored in and send. In addition, instead of transmitting the data for the occupied number at a time, the data may be transmitted separately for each unit. In this case, each data signal in which each data is stored stores the identifier stored in the response as a transmission source identifier.

次に、中継機3の動作を説明する。図9は、本実施の形態の中継機3における識別子配布に関する処理手順の一例を示すフローチャートである。中継機3は、例えば、自機が起動され、自機の識別子が設定されていないときに、図9に示す識別子配布に関する処理を実施する。図9に示すように、まず、中継機3は、あらかじめ定められた識別子配布要求の専用識別子を、自機が用いる識別子として用いて通信するように自機を設定する(ステップS11)。具体的には、中継機3の通信制御部33は、送信する信号の送信元識別子として識別子配布要求の専用識別子を用い、受信信号の宛先識別子が識別子配布要求の専用識別子である場合に、自機宛の信号であると判断する。   Next, the operation of the repeater 3 will be described. FIG. 9 is a flowchart illustrating an example of a processing procedure related to identifier distribution in the relay station 3 according to the present embodiment. For example, when the own device is activated and the identifier of the own device is not set, the relay device 3 performs the process relating to the identifier distribution shown in FIG. As shown in FIG. 9, first, the repeater 3 sets itself so that it communicates using a predetermined identifier for the identifier distribution request as an identifier used by itself (step S11). Specifically, the communication control unit 33 of the repeater 3 uses a dedicated identifier of the identifier distribution request as the transmission source identifier of the signal to be transmitted, and when the destination identifier of the received signal is the dedicated identifier of the identifier distribution request. Judge that the signal is for the aircraft.

次に、中継機3は、自機が中継機であることを示す情報を含む識別子配布要求を生成して親機1へ宛てて送信する(ステップS12)。具体的には、中継機3の通信制御部33は、自機が中継機であることを示す情報を格納した識別子配布要求を生成し、送受信部32およびアンテナ31経由で送信する。中継機3から送信される識別子配布要求は、例えば、図8に示した識別子配布要求と同じフォーマットを用い、占有数の領域に0を格納する、すなわち占有数に0を設定することにより、自機が中継機であることを示してもよい。または、識別子配布要求に占有数の領域とは別に中継機3であるか否か、すなわち中継機3であるか子機2であるかを示す情報の領域を設け、この領域に中継機3であることを示す情報を格納してもよい。この場合、子機2は、この領域に子機であることを示す情報を格納する。なお、中継機3から送信された識別子配布要求は親機1により直接受信されてもよいし、別の中継機3または子機2を介して親機1により受信されてもよい。   Next, the relay device 3 generates an identifier distribution request including information indicating that the own device is a relay device, and transmits it to the parent device 1 (step S12). Specifically, the communication control unit 33 of the relay device 3 generates an identifier distribution request storing information indicating that the own device is a relay device, and transmits the identifier distribution request via the transmission / reception unit 32 and the antenna 31. The identifier distribution request transmitted from the repeater 3 uses, for example, the same format as the identifier distribution request shown in FIG. 8, and stores 0 in the occupied number area, that is, sets the occupied number to 0. It may indicate that the machine is a repeater. Alternatively, in the identifier distribution request, an area for information indicating whether or not it is a repeater 3, that is, whether it is a repeater 3 or a slave 2, is provided in addition to the occupied number area. Information indicating that it exists may be stored. In this case, handset 2 stores information indicating that it is a handset in this area. Note that the identifier distribution request transmitted from the relay device 3 may be directly received by the parent device 1 or may be received by the parent device 1 via another relay device 3 or the child device 2.

図9の説明に戻り、中継機3は、親機1から識別子を受信すると、受信した識別子を用いて通信するように、自機を設定する(ステップS13)。具体的には、中継機3の通信制御部33は、アンテナ31および送受信部32経由で親機1から識別子配布要求の応答を受信し、該応答がエラーを通知するものではなく該応答に識別子が格納されていた場合、この識別子を以降の通信における自機の識別子として用いるよう設定する。   Returning to the description of FIG. 9, when the relay device 3 receives the identifier from the parent device 1, the relay device 3 sets itself so as to communicate using the received identifier (step S <b> 13). Specifically, the communication control unit 33 of the relay device 3 receives the response of the identifier distribution request from the parent device 1 via the antenna 31 and the transmission / reception unit 32, and the response does not notify the error but the identifier is not included in the response. Is stored, this identifier is set to be used as the identifier of the own device in subsequent communications.

次に、親機1の動作を説明する。図10は、本実施の形態の親機1の識別子算出部14における識別子算出処理手順の一例を示すフローチャートである。親機1の識別子算出部14は、以下のパラメータ、すなわち子機最大識別子および中継機最小識別子を初期化する(ステップS21)。第1の値である子機最大識別子は、これまでに子機2に割り当てた識別子の最大値、すなわち子機2へ割当て済みの識別子の最大値を示す値である。第2の値である中継機最小識別子は、これまでに中継機3に割り当てた識別子の最小値、すなわち中継機3へ割当て済みの識別子の最小値を示す値である。具体的には、例えば、子機最大識別子を識別子として使用可能な値の範囲の最小値より1小さい値に初期化し、中継機最小識別子を識別子として使用可能な値の範囲の最大値より1大きい値に初期化する。例えば、識別子として使用可能な値の範囲が1から511である場合、子機最大識別子を0に設定し、中継機最小識別子を511に設定する。なお、ここでは、511は識別子配布要求専用の識別子として用いることとし、中継機3および子機2へ割当てる識別子としては使用しないこととする。したがって、中継機3および子機2へ割当て可能な識別子の最大値は510である。 Next, the operation of base unit 1 will be described. FIG. 10 is a flowchart illustrating an example of an identifier calculation processing procedure in the identifier calculation unit 14 of the parent device 1 according to the present embodiment. The identifier calculation unit 14 of the parent device 1 initializes the following parameters, that is, the child device maximum identifier and the relay device minimum identifier (step S21). The slave unit maximum identifier that is the first value is a value that indicates the maximum value of the identifier that has been assigned to the slave unit 2 so far, that is, the maximum value of the identifier that has already been assigned to the slave unit 2. The repeater minimum identifier which is the second value is a value indicating the minimum value of the identifier assigned to the repeater 3 so far, that is, the minimum value of the identifier already assigned to the repeater 3. Specifically, for example, it is initialized to one less than the minimum value of the range of possible values of the handset up identifier as the identifier, 1 greater than the maximum value of the range of possible values of the repeater minimum identifier as an identifier Initialize to a high value. For example, when the range of values that can be used as identifiers is 1 to 511, the slave unit maximum identifier is set to 0, and the relay unit minimum identifier is set to 511. Here, 511 is used as an identifier dedicated to the identifier distribution request, and is not used as an identifier assigned to the relay device 3 and the child device 2. Therefore, the maximum value of the identifier that can be assigned to the relay device 3 and the child device 2 is 510.

次に、識別子算出部14は、子機2または中継機3からの識別子配布要求を待ち受ける、子機2または中継機3からの識別子配布要求の受信を待機する(ステップS22)。アンテナ1、送受信部2および通信制御部3経由で識別子配布要求を受信すると(ステップS23)、識別子配布要求の送信元を確認する(ステップS24)。具体的には、識別子算出部14は、例えば、識別子配布要求の占有数の領域が0のときに中継機3であることを示すように定めておく場合には、占有数が0である場合には送信元が中継機3であると判断し、占有数が0でない場合には送信元が子機2であると判断する。 Next, the identifier calculation unit 14 waits for an identifier distribution request from the child device 2 or the relay device 3 waiting for an identifier distribution request from the child device 2 or the relay device 3 (step S22). When the identifier distribution request is received via the antenna 11 , the transmission / reception unit 12 and the communication control unit 13 (step S23), the transmission source of the identifier distribution request is confirmed (step S24). Specifically, for example, when the identifier calculating unit 14 determines to indicate the relay device 3 when the area of the occupation number of the identifier distribution request is 0, the occupation number is 0. Is determined that the transmission source is the relay device 3, and if the occupation number is not 0, it is determined that the transmission source is the child device 2.

送信元が子機2であった場合(ステップS24 子機)、識別子算出部14は、以下に式(1)が成立するかを確認する(ステップS25)。
子機最大識別子+受信した占有数<中継機最小識別子 …(1)
When the transmission source is the child device 2 (step S24 child device), the identifier calculating unit 14 confirms whether or not the following equation (1) is satisfied (step S25).
Slave unit maximum identifier + number of occupancy received <repeator minimum identifier (1)

式(1)が成立する場合(ステップS25 Yes)、識別子算出部14は、「子機最大識別子+1」を識別子と決定する(ステップS26)。すなわち、識別子算出部14は、子機最大識別子の次に大きい識別子を識別子配布要求の送信元の子機2に割当てる。識別子算出部14は、決定した識別子を通信制御部23へ出力する。   When Formula (1) is materialized (step S25 Yes), the identifier calculation part 14 determines "the subunit | mobile_unit maximum identifier + 1" as an identifier (step S26). That is, the identifier calculation unit 14 assigns the next largest identifier to the slave unit 2 that is the transmission source of the identifier distribution request. The identifier calculation unit 14 outputs the determined identifier to the communication control unit 23.

次に、識別子算出部14は、子機最大識別子を、「子機最大識別子+要求送信元から受信した占有数」に更新し(ステップS27)、ステップS22へ戻る。要求送信元から受信した占有数は、識別子配布要求に格納された占有数である。   Next, the identifier calculation unit 14 updates the slave unit maximum identifier to “slave unit maximum identifier + the number of occupations received from the request transmission source” (step S27), and returns to step S22. The occupation number received from the request transmission source is the occupation number stored in the identifier distribution request.

ステップS25で、式(1)が成立しないと判断した場合(ステップS25 No)、識別子算出部14は、通信制御部3へエラーであることを通知し、すなわち識別子の割当てができないことを通信制御部3へ通知し(ステップS31)、ステップS22へ戻る。本実施の形態では、子機2には若番から順に老番に向かって識別子を割当て、中継機3には老番から若番に向かって順に識別子を割当てていくため、式(1)が成立しない場合は、中継機3に既に割当てた識別子と子機2に割当てる識別子が重複することになるため、子機2に識別子を割当ない。すなわち、識別子算出部14は、識別子配布要求の送信元の無線機が子機2であると判断した場合、子機最大識別子に識別子配布要求に格納された占有数を加算した値が中継機最小識別子以上である場合、識別子配布要求の送信元の無線機へ識別子を割当てない。 If it is determined in step S25 that the expression (1) is not established (No in step S25), the identifier calculation unit 14 notifies the communication control unit 13 that there is an error, that is, communication that the identifier cannot be assigned. The control unit 13 is notified (step S31), and the process returns to step S22. In the present embodiment, identifiers are assigned to the slave unit 2 from the oldest number to the oldest number, and the relay unit 3 is assigned identifiers from the oldest number to the youngest number. If not established, the identifier already assigned to the relay device 3 and the identifier assigned to the child device 2 overlap, so that no identifier is assigned to the child device 2. That is, when the identifier calculation unit 14 determines that the wireless device that is the transmission source of the identifier distribution request is the slave unit 2, the value obtained by adding the occupation number stored in the identifier distribution request to the maximum slave unit identifier is the minimum relay unit. If the identifier is greater than or equal to the identifier, no identifier is assigned to the wireless device that is the source of the identifier distribution request.

また、ステップS24で、送信元が中継機3である場合(ステップS24 中継機)、以下に示す式(2)が成立するか確認する(ステップS28)。
中継機最小識別子−1>子機最大識別子 …(2)
In step S24, when the transmission source is the relay device 3 (step S24 relay device), it is confirmed whether the following equation (2) is satisfied (step S28).
Relay device minimum identifier-1> Slave device maximum identifier (2)

式(2)が成立する場合(ステップS28 Yes)、識別子算出部14は、「中継機最小識別子−1」を識別子に決定する(ステップS29)。すなわち、識別子算出部14は、中継機最小識別子の次に小さい識別子を識別子配布要求の送信元の中継機3に割当てる。識別子算出部14は、決定した識別子を通信制御部3へ出力する。 When Expression (2) is satisfied (Yes in Step S28), the identifier calculation unit 14 determines “minimum repeater identifier-1” as an identifier (Step S29). That is, the identifier calculating unit 14 assigns the next smallest identifier to the relay device 3 that is the transmission source of the identifier distribution request. The identifier calculation unit 14 outputs the determined identifier to the communication control unit 13 .

次に、識別子算出部14は、中継機最小識別子を、「中継機最小識別子−1」に更新し(ステップS30)、ステップS22へ戻る。式(2)が成立しない場合(ステップS28 No)、ステップS31へ進む。すなわち、識別子配布要求の送信元の無線機が中継機3であると判断した場合、中継機3へ割当て済みの識別子の最小値の次に小さい識別子が子機最大識別子以下である場合、識別子配布要求の送信元の無線機へ識別子を割当てない。   Next, the identifier calculation unit 14 updates the minimum repeater identifier to “relay minimum identifier-1” (step S30), and returns to step S22. When Formula (2) is not materialized (Step S28 No), it progresses to Step S31. That is, when it is determined that the wireless device that is the transmission source of the identifier distribution request is the relay device 3, the identifier that is smaller than the minimum identifier assigned to the relay device 3 is less than or equal to the maximum slave device identifier identifier distribution Do not assign an identifier to the requesting radio.

次に、通信制御部3における識別子配布要求への応答を生成する動作について説明する。図11は、通信制御部3における識別子配布要求への応答を生成する処理手順の一例を示すフローチャートである。通信制御部3は、アンテナ1および送受信部2経由で識別子配布要求を受信すると、識別子算出部14へ識別子配布要求を渡して、識別子算出部14からの通知を待機し、図11に示す識別子配布要求への応答を生成する処理を開始する。識別子算出部14からの通知は、識別子の通知、またはエラーの通知である。例えば、エラーを示す値をあらかじめ定めておき、エラーを示す値が識別子算出部14から通知された場合、通信制御部3は、エラーが通知されたと判断する。エラーを示す値は識別子が取り得る値以外の値に設定しておく。通信制御部3は、エラーを示す値以外を識別子算出部14から取得した場合、識別子を受領したと判断する。 Next, an operation of generating a response to the identifier distribution request in the communication control unit 13 will be described. FIG. 11 is a flowchart illustrating an example of a processing procedure for generating a response to the identifier distribution request in the communication control unit 13 . Upon receiving the identifier distribution request via the antenna 11 and the transmission / reception unit 12 , the communication control unit 13 passes the identifier distribution request to the identifier calculation unit 14 and waits for notification from the identifier calculation unit 14. Processing for generating a response to the indicated identifier distribution request is started. The notification from the identifier calculation unit 14 is an identifier notification or an error notification. For example, when a value indicating an error is determined in advance and a value indicating an error is notified from the identifier calculating unit 14, the communication control unit 13 determines that an error has been notified. The value indicating the error is set to a value other than the value that can be taken by the identifier. The communication control unit 13 determines that an identifier has been received when a value other than an error value is acquired from the identifier calculation unit 14.

図11に示すように、通信制御部3は、識別子算出部14から識別子を受領したか否かを判断する(ステップ32)。識別子算出部14から識別子を受領した場合(ステップS32 Yes)、配布する識別子すなわち識別子算出部14が算出した識別子を格納した応答、すなわち識別子配布要求に対する応答を生成する(ステップS33)。図12は、ステップS33で生成される応答のフォーマットの一例を示す図である。図12に示すように、応答は宛先識別子、送信元識別子、種別および配布する識別子を含む。宛先識別子には、識別子配布要求に格納された送信元識別子を格納する。また、送信元識別子には親機1の識別子を格納し、種別には識別子配布要求に対する応答であることを示す情報を格納する。 As shown in FIG. 11, the communication control unit 13 determines whether or not an identifier has been received from the identifier calculation unit 14 (step 32). When an identifier is received from the identifier calculation unit 14 (Yes in step S32), a response storing the identifier to be distributed, that is, the identifier calculated by the identifier calculation unit 14, that is, a response to the identifier distribution request is generated (step S33). FIG. 12 is a diagram illustrating an example of the format of the response generated in step S33. As shown in FIG. 12, the response includes a destination identifier, a transmission source identifier, a type, and an identifier to be distributed. In the destination identifier, the transmission source identifier stored in the identifier distribution request is stored. Further, the identifier of the master unit 1 is stored in the transmission source identifier, and information indicating that the response is a response to the identifier distribution request is stored in the type.

ステップS32で、識別子算出部14から識別子を受領していない場合、すなわちエラーを通知された場合(ステップS32 No)、エラーを通知する情報を格納した応答を生成する(ステップS34)。エラーを通知する情報を格納した応答のフォーマットは例えば、図12と同様のフォーマットを用いて、種別の領域または配布する識別子の領域に、エラーを通知することを示す情報を格納する。または、図12とは別のフォーマットの応答を生成して、エラーを通知することを示す情報を格納してもよい。この場合も応答には、宛先識別子および送信元識別子を含み、宛先識別子には、識別子配布要求に格納された送信元識別子を格納し、送信元識別子には親機1の識別子を格納する。以上の手順により生成された応答は、送受信部2およびアンテナ1を介して子機2または中継機3へ送信される。なお、識別子配布要求が送信された場合と同様に、子機2または中継機3を介して応答が識別子配布要求の送信元の子機2または中継機3に返送されてもよい。 If an identifier has not been received from the identifier calculation unit 14 in step S32, that is, if an error has been notified (No in step S32), a response storing information notifying the error is generated (step S34). For example, the format of the response storing the information for notifying the error stores the information indicating that the error is notified in the type area or the identifier area to be distributed using the same format as in FIG. Alternatively, information indicating that an error is notified may be stored by generating a response in a format different from that in FIG. Also in this case, the response includes a destination identifier and a transmission source identifier, the transmission source identifier stored in the identifier distribution request is stored in the destination identifier, and the identifier of the parent device 1 is stored in the transmission source identifier. The response generated by the above procedure is transmitted to the slave unit 2 or the relay unit 3 via the transmission / reception unit 12 and the antenna 11 . Similar to the case where the identifier distribution request is transmitted, the response may be returned to the child device 2 or the relay device 3 that is the transmission source of the identifier distribution request via the child device 2 or the relay device 3.

以上の処理により、識別子配布要求の応答を受信すると、識別子配布要求の送信元の子機2および中継機3は、上述したように、応答に格納された識別子を用いて通信を行う。子機2は、アプリケーション処理部24により生成されたデータを格納したデータ信号に、送信元識別子として応答に格納された識別子を格納して送信する。図13は、データ信号のフォーマットの一例を示す図である。データ信号は、宛先識別子、送信元識別子、種別およびデータを含む。宛先識別子には親機1の識別子が格納され、送信元識別子には、上述した応答に格納された識別子が格納され、種別にはデータ信号であることを示す識別子が格納される。データには、アプリケーション処理部24により生成されたデータが格納される。なお、上述したように、データ信号には、子機2の占有数分のデータが格納されてもよいし、1単位分のデータごとにデータ信号が生成されてもよい。   When the response of the identifier distribution request is received by the above processing, the slave unit 2 and the relay device 3 that transmitted the identifier distribution request communicate with each other using the identifier stored in the response as described above. The subunit | mobile_unit 2 stores the identifier stored in the response as a transmission origin identifier in the data signal which stored the data produced | generated by the application process part 24, and transmits. FIG. 13 is a diagram illustrating an example of a format of a data signal. The data signal includes a destination identifier, a transmission source identifier, a type, and data. The identifier of the base unit 1 is stored in the destination identifier, the identifier stored in the above-described response is stored in the transmission source identifier, and the identifier indicating the data signal is stored in the type. Data generated by the application processing unit 24 is stored in the data. As described above, the data signal may store data corresponding to the number occupied by the slave units 2, or a data signal may be generated for each unit of data.

次に、親機1および子機2のアプリケーション処理について説明する。図14は、子機2のアプリケーション処理部24の処理手順の一例を示すフローチャートである。図14に示すように、アプリケーション処理部24は、送信すべきデータが発生した、または一定時間が経過したか否かを判断する(ステップS101)。送信すべきデータが発生した、または一定時間が経過した場合(ステップS101 Yes)、アプリケーション処理部24は、通信制御部23へデータ出力し(ステップS102)、ステップS101へ戻る。通信制御部23は、送受信部22およびアンテナ21経由でアプリケーション処理部24から出力されたデータを格納したデータ信号を送信する。送信すべきデータが発生しておらずかつ一定時間が経過していない場合(ステップS101 No)、ステップS101を繰り返す。なお、ステップS101の条件は、データの送信契機をどのように定めているかに依存して異なるため、送信契機はステップS101に示した条件に限定されない。   Next, application processing of the master unit 1 and the slave unit 2 will be described. FIG. 14 is a flowchart illustrating an example of a processing procedure of the application processing unit 24 of the child device 2. As illustrated in FIG. 14, the application processing unit 24 determines whether data to be transmitted has occurred or a certain time has elapsed (step S <b> 101). When data to be transmitted has occurred or a certain time has elapsed (Yes in step S101), the application processing unit 24 outputs data to the communication control unit 23 (step S102), and returns to step S101. The communication control unit 23 transmits a data signal storing data output from the application processing unit 24 via the transmission / reception unit 22 and the antenna 21. If there is no data to be transmitted and a certain time has not elapsed (No in step S101), step S101 is repeated. Note that the condition in step S101 differs depending on how the data transmission trigger is determined, and therefore the transmission trigger is not limited to the condition shown in step S101.

図15は、親機1のアプリケーション処理部15の処理手順の一例を示すフローチャートである。図15に示すように、アプリケーション処理部15は、アンテナ11、送受信部12および通信制御部13経由で子機2からデータを受信したか否かを判断する(ステップS201)。子機2からデータを受信した場合(ステップS201 Yes)、アプリケーション処理部15は、受信したデータを、データマップ上の、送信元識別子に対応する位置から送信元識別子に対応する子機の占有数分の領域に格納し(ステップS202)、ステップS201へ戻る。子機2からデータを受信していない場合(ステップS201 No)、ステップS201を繰り返す。なお、アプリケーション処理部15は、受信したデータのデータ量が占有数に対応するデータ量と合致しない場合、エラーと判定する。または、アプリケーション処理部15は、受信したデータ量が占有数に対応するデータ量に満たない場合、受信したデータのみを該当領域の先頭から格納し、受信したデータのデータ量が占有数に対応するデータ量を越える場合、占有数分を越えるデータを破棄する。   FIG. 15 is a flowchart illustrating an example of a processing procedure of the application processing unit 15 of the parent device 1. As illustrated in FIG. 15, the application processing unit 15 determines whether data is received from the slave unit 2 via the antenna 11, the transmission / reception unit 12, and the communication control unit 13 (step S <b> 201). When data is received from the child device 2 (Yes in step S201), the application processing unit 15 occupies the received data from the position corresponding to the transmission source identifier on the data map, and the occupation number of the child device corresponding to the transmission source identifier. (Step S202), and the process returns to step S201. If data has not been received from the slave unit 2 (No in step S201), step S201 is repeated. Note that the application processing unit 15 determines an error when the amount of received data does not match the amount of data corresponding to the occupation number. Alternatively, when the received data amount is less than the data amount corresponding to the occupation number, the application processing unit 15 stores only the received data from the head of the corresponding area, and the data amount of the received data corresponds to the occupation number. When the amount of data is exceeded, the data exceeding the occupied number is discarded.

次に、占有数を仮定した具体例を挙げて本実施の形態の動作を説明する。図16は、本実施の形態の通信システムにおける子機2の占有数の一例を示す図である。図16は、図1に示した通信システムの構成を前提としたときの子機2−1〜2−3の占有数を示している。図16に示す例では、子機2−1の占有数は2であり、子機2−2の占有数は3であり、子機2−3の占有数は1である。中継機3は、データを生成しない。   Next, the operation of this embodiment will be described with a specific example assuming the occupation number. FIG. 16 is a diagram illustrating an example of the number of occupied slave units 2 in the communication system according to the present embodiment. FIG. 16 shows the occupation numbers of the slave units 2-1 to 2-3 when assuming the configuration of the communication system shown in FIG. In the example illustrated in FIG. 16, the occupation number of the child device 2-1 is 2, the occupation number of the child device 2-2 is 3, and the occupation number of the child device 2-3 is 1. The repeater 3 does not generate data.

図17は、本実施の形態の通信システムにおける識別子の配布処理の一例を示すシーケンス図である。まず、親機1は、図10のステップS21およびステップS22で示したとおり、子機最大識別子および中継機最小識別子を初期化し、識別子配布要求を待ち受ける(ステップS41、ステップS42)。ここで、子機最大識別子は0に初期化され、中継機最小識別子は511に初期化されたとする。その後、子機2−1は、図7のステップS1、ステップS2で示したように、識別子配布要求専用の識別子を自機に設定し、占有数として2を設定した識別子配布要求を送信する(ステップS43、ステップS44)。なお、ここでは、上述したように識別子配布要求専用の識別子を511とする。   FIG. 17 is a sequence diagram illustrating an example of identifier distribution processing in the communication system according to the present embodiment. First, as shown in step S21 and step S22 of FIG. 10, the base unit 1 initializes the slave unit maximum identifier and the relay unit minimum identifier, and waits for an identifier distribution request (steps S41 and S42). Here, it is assumed that the slave unit maximum identifier is initialized to 0 and the relay unit minimum identifier is initialized to 511. Thereafter, as shown in step S1 and step S2 of FIG. 7, the slave unit 2-1 sets an identifier dedicated to the identifier distribution request in its own unit, and transmits an identifier distribution request in which 2 is set as the occupation number ( Step S43, Step S44). Here, as described above, the identifier dedicated to the identifier distribution request is 511.

親機1は、図1に示したステップS24で識別子配布要求の送信元が子機2であると判断し、ステップS25に示した比較を実施し、ステップS26へ進み識別子を1に決定し、決定した識別子を格納した応答を送信する(ステップS45)。具体的には、子機最大識別子+受信した占有数=0+2=2であり、中継機最小識別子=511であるため、ステップS45内で実施される識別子算出部14における図10のステップS25では子機最大識別子+受信した占有数<中継機最小識別子となり、ステップS26へ進む。そして、ステップS45内で実施される図10のステップS26では、子機2−1へ割当てる識別子は、子機最大識別子+1=1となる。通信制御部13は、識別子算出部14から識別子を受け取り、受け取った識別子を格納した応答を送受信部12およびアンテナ11経由で送信する。また、親機1は、図10のステップS27で示したように、子機最大識別子を子機最大識別子+受信した占有数=2に更新する(ステップS46)。そして、再び、識別子配布要求を待ち受ける(ステップS47)。子機2−1は、応答を受信すると応答に格納された識別子、すなわち1を自機の識別子として設定する(ステップS48)。 Base unit 1, determines that the transmission source identifier distribution request in step S24 shown in FIG. 1 0 is a child device 2, and comparison made as shown in step S25, determines to 1 identifier proceeds to step S26 Then, a response storing the determined identifier is transmitted (step S45). Specifically, since the maximum identifier of the slave unit + the number of occupied occupies = 0 + 2 = 2 and the minimum identifier of the relay unit = 511, the identifier calculation unit 14 implemented in step S45 executes the child in step S25 of FIG. The maximum machine identifier + the number of received occupations <the minimum relay machine identifier, and the process proceeds to step S26. And in step S26 of FIG. 10 implemented within step S45, the identifier allocated to the subunit | mobile_unit 2-1 will be subunit | mobile_unit maximum identifier + 1 = 1. The communication control unit 13 receives the identifier from the identifier calculation unit 14 and transmits a response storing the received identifier via the transmission / reception unit 12 and the antenna 11. Further, as shown in step S27 of FIG. 10, the parent device 1 updates the child device maximum identifier to the child device maximum identifier + the received occupation number = 2 (step S46). Then, it again waits for an identifier distribution request (step S47). When receiving the response, the child device 2-1 sets the identifier stored in the response, that is, 1 as the identifier of the own device (step S 48).

次に、中継機3が、図9のステップS11、ステップS12で示したように、識別子配布要求専用の識別子を自機に設定し、自機が中継機3であることを設定した識別子配布要求を送信する(ステップS49、ステップS50)。   Next, as shown in step S11 and step S12 of FIG. 9, the relay device 3 sets an identifier dedicated to the identifier distribution request in the own device, and sets the identifier distribution request in which the own device is the relay device 3 Is transmitted (step S49, step S50).

親機1は、図1に示したステップS24で識別子配布要求の送信元が中継機3であると判断し、ステップS28に示した比較を実施し、ステップS29へ進み識別子を510に決定し、決定した識別子を格納した応答を送信する(ステップS51)。具体的には、中継機最小識別子−1=510であり、子機最大識別子は2であるため、ステップS51内で実施される識別子算出部14における図10のステップS28では中継機最小識別子−1>子機最大識別子となり、ステップS29へ進む。通信制御部13は、識別子算出部14から識別子を受け取り、受け取った識別子を格納した応答を送受信部12およびアンテナ11経由で送信する。そして、ステップS51内で実施される図10のステップS29では、中継機3へ割当てる識別子は、中継機最小識別子−1=510となる。また、親機1は、図10のステップS30で示したように、中継機最小識別子を中継機最小識別子−1=510に更新する(ステップS52)。そして、再び、識別子配布要求を待ち受ける(ステップS53)。中継機3は、応答を受信すると応答に格納された識別子、すなわち510を自機の識別子として設定する(ステップS54)。 Base unit 1, determines that the transmission source identifier distribution request in step S24 shown in FIG. 1 0 is a relay unit 3, and comparison made as shown in step S28, to determine the 510 identifier proceeds to step S29 Then, a response storing the determined identifier is transmitted (step S51). Specifically, a repeater minimum identifier -1 = 510, since the handset up identifier is 2, step S28 in repeater minimum identifier 10 in the identifier calculation unit 14 performed in the step S 51 - 1> Slave device maximum identifier, and the process proceeds to step S29. The communication control unit 13 receives the identifier from the identifier calculation unit 14 and transmits a response storing the received identifier via the transmission / reception unit 12 and the antenna 11. And in step S29 of FIG. 10 implemented within step S51, the identifier allocated to the relay device 3 is the relay device minimum identifier-1 = 510. Further, as shown in step S30 of FIG. 10, base unit 1 updates the relay minimum identifier to relay minimum identifier-1 = 510 (step S52). Then, it again waits for an identifier distribution request (step S53). When receiving the response, the relay device 3 sets the identifier stored in the response, that is, 510 as the identifier of the own device (step S54).

その後、子機2−2は、図7のステップS1、ステップS2で示したように、識別子配布要求専用の識別子を自機に設定し、占有数として3を設定した識別子配布要求を送信する(ステップS55、ステップS56)。   Thereafter, as shown in step S1 and step S2 of FIG. 7, the slave unit 2-2 sets an identifier dedicated to the identifier distribution request in its own unit and transmits an identifier distribution request in which 3 is set as the occupation number ( Step S55, Step S56).

親機1は、図1に示したステップS24で識別子配布要求の送信元が子機2であると判断し、ステップS25に示した比較を実施し、ステップS26へ進み識別子を3に決定し、決定した識別子を格納した応答を送信する(ステップS57)。具体的には、子機最大識別子+受信した占有数=2+3=5であり、中継機最小識別子=510であるため、ステップS57内で実施される識別子算出部14における図10のステップS25では子機最大識別子+受信した占有数<中継機最小識別子となり、ステップS26へ進む。そして、ステップS57内で実施される図10のステップS26では、子機2−2へ割当てる識別子は、子機最大識別子+1=3となる。通信制御部13は、識別子算出部14から識別子を受け取り、受け取った識別子を格納した応答を送受信部12およびアンテナ11経由で送信する。また、親機1は、図10のステップS27で示したように、子機最大識別子を子機最大識別子+受信した占有数=5に更新する(ステップS58)。そして、再び、識別子配布要求を待ち受ける(ステップS59)。子機2−2は、応答を受信すると応答に格納された識別子、すなわち3を自機の識別子として設定する(ステップS60)。 Base unit 1, determines that the transmission source identifier distribution request in step S24 shown in FIG. 1 0 is a child device 2, and comparison made as shown in step S25, to determine the 3 identifiers proceeds to step S26 Then, a response storing the determined identifier is transmitted (step S57). Specifically, since the maximum slave unit identifier + the number of occupied occupancy = 2 + 3 = 5 and the minimum relay unit identifier = 510, the identifier calculation unit 14 implemented in step S57 performs child processing in step S25 of FIG. The maximum machine identifier + the number of received occupations <the minimum relay machine identifier, and the process proceeds to step S26. And in step S26 of FIG. 10 implemented within step S57, the identifier allocated to the subunit | mobile_unit 2-2 will be subunit | mobile_unit maximum identifier + 1 = 3. The communication control unit 13 receives the identifier from the identifier calculation unit 14 and transmits a response storing the received identifier via the transmission / reception unit 12 and the antenna 11. Further, as shown in step S27 of FIG. 10, the parent device 1 updates the child device maximum identifier to the child device maximum identifier + the received occupation number = 5 (step S58). Then, it again waits for an identifier distribution request (step S59). When receiving the response, the slave unit 2-2 sets the identifier stored in the response, that is, 3 as the identifier of the own device (step S60).

その後、子機2−3は、図7のステップS1、ステップS2で示したように、識別子配布要求専用の識別子を自機に設定し、占有数として1を設定した識別子配布要求を送信する(ステップS61、ステップS62)。   Thereafter, as shown in steps S1 and S2 of FIG. 7, the slave unit 2-3 sets an identifier dedicated to the identifier distribution request in its own unit, and transmits an identifier distribution request in which 1 is set as the occupation number ( Step S61, Step S62).

親機1は、図1に示したステップS24で識別子配布要求の送信元が子機2であると判断し、ステップS25に示した比較を実施し、ステップS26へ進み識別子を6に決定し、決定した識別子を格納した応答を送信する(ステップS63)。具体的には、子機最大識別子+受信した占有数=5+1=6であり、中継機最小識別子=510であるため、ステップS63内で実施される識別子算出部14における図10のステップS25では子機最大識別子+受信した占有数<中継機最小識別子となり、ステップS26へ進む。ステップS63内で実施される図10のステップS26では、子機2−3へ割当てる識別子は、子機最大識別子+1=6となる。通信制御部13は、識別子算出部14から識別子を受け取り、受け取った識別子を格納した応答を送受信部12およびアンテナ11経由で送信する。また、親機1は、図10のステップS27で示したように、子機最大識別子を子機最大識別子+受信した占有数=6に更新する(ステップS64)。そして、再び、識別子配布要求を待ち受ける(ステップS65)。子機2−3は、応答を受信すると応答に格納された識別子、すなわち6を自機の識別子として設定する(ステップS66)。 Base unit 1, determines that the transmission source identifier distribution request in step S24 shown in FIG. 1 0 is a child device 2, and comparison made as shown in step S25, determines to 6 identifiers proceeds to step S26 Then, a response storing the determined identifier is transmitted (step S63). Specifically, since the maximum slave unit identifier + the number of occupied occupancy = 5 + 1 = 6 and the minimum relay unit identifier = 510, the identifier calculation unit 14 implemented in step S63 performs child processing in step S25 of FIG. The maximum machine identifier + the number of received occupations <the minimum relay machine identifier, and the process proceeds to step S26. In step S26 of FIG. 10 implemented in step S63, the identifier assigned to the child device 2-3 is the child device maximum identifier + 1 = 6. The communication control unit 13 receives the identifier from the identifier calculation unit 14 and transmits a response storing the received identifier via the transmission / reception unit 12 and the antenna 11. Further, as shown in step S27 of FIG. 10, the parent device 1 updates the child device maximum identifier to the child device maximum identifier + the received occupation number = 6 (step S64). Then, it again waits for an identifier distribution request (step S65). When receiving the response, the slave unit 2-3 sets the identifier stored in the response, that is, 6 as the identifier of the own device (step S66).

以上のように、親機1が、子機2−1〜2−3および中継機3へ、識別子配布要求に応じて、識別子の配布、すなわち識別子の割当ておよび通知を行った後の識別子およびデータマップの一例を図18に示す。図18に示すように、アプリケーション処理を行う子機2−1〜2−3には、データマップの先頭から連続して各子機2の占有数にしたがったデータ領域が連続して割り当てられている。一方で、アプリケーション処理を行わない中継機3に割当てられた識別子は510であり、子機2−1〜2−3に割当てられた識別子の範囲にない。図18では、データマップにおける、すなわちアプリケーション処理で用いる識別子を記載しており、このうち下線を付した識別子は、子機2が通信用に用いる識別子である。本実施の形態では、通信用に用いる識別子が識別子配布要求に対する応答により子機2に通知される。子機2では、識別子配布要求に対する応答より通知された識別子と自機の占有数とに基づいて、アプリケーション処理において自機に割当てられた識別子を把握することができる。例えば、子機2−1は占有数が2であり、識別子配布要求に対する応答より識別子1が通知されるため、識別子1を含む2つの識別子、すなわち識別子1および識別子2がアプリケーション処理において自機に割当てられていることを把握することができる。   As described above, the identifier and data after the master unit 1 distributes the identifier, that is, assigns and notifies the identifier, to the slave units 2-1 to 2-3 and the relay unit 3 in response to the identifier distribution request. An example of the map is shown in FIG. As shown in FIG. 18, data areas according to the number of occupations of each slave unit 2 are continuously allocated to the slave units 2-1 to 2-3 that perform application processing continuously from the top of the data map. Yes. On the other hand, the identifier assigned to the relay device 3 that does not perform application processing is 510, which is not in the range of identifiers assigned to the slave devices 2-1 to 2-3. In FIG. 18, identifiers used in the data map, that is, used in application processing, are described. Underlined identifiers are identifiers used by the handset 2 for communication. In the present embodiment, an identifier used for communication is notified to handset 2 by a response to the identifier distribution request. Based on the identifier notified from the response to the identifier distribution request and the occupied number of the own device, the child device 2 can grasp the identifier assigned to the own device in the application process. For example, since the handset 2-1 has an occupation number of 2, and the identifier 1 is notified from the response to the identifier distribution request, two identifiers including the identifier 1, that is, the identifier 1 and the identifier 2 are transmitted to the own device in the application process. It is possible to grasp that it is assigned.

ここで、比較例として、アプリケーション処理を行う子機102−1〜102−3とアプリケーション処理を行わない中継機103とを区別せずに、子機102−1〜102−3および中継機103に昇順割当方法により識別子を親機101が割当てるケースを考える。図19は、比較例におけるデータマップの一例を示す図である。親機101が、子機102−1〜102−3および中継機103を区別せずに、識別子配布要求を受信した順に、若い番号の識別子から順に割当てを行った場合、図19に示すように、子機102−1〜102−3に割当てた識別子の範囲のなかに中継機103へ割当てた識別子が存在することになる。この比較例において、データマップを識別子ごとにデータ領域を確保するように生成する場合、アプリケーション処理により生成されたデータを送信しない中継機103のデータ領域がデータマップ上に確保されることになる。このため、集約データに有意なデータが格納されない領域が存在することになる。   Here, as a comparative example, the slave units 102-1 to 102-3 and the relay unit 103 are not distinguished from the slave units 102-1 to 102-3 that perform application processing and the relay unit 103 that does not perform application processing. Consider a case where the base unit 101 assigns identifiers by the ascending order assignment method. FIG. 19 is a diagram illustrating an example of a data map in the comparative example. When the base unit 101 assigns the identifiers in ascending order of the identifiers received in the order in which the identifier distribution request is received without distinguishing the slave units 102-1 to 102-3 and the relay unit 103, as shown in FIG. The identifier assigned to the relay device 103 exists in the range of identifiers assigned to the slave units 102-1 to 102-3. In this comparative example, when a data map is generated so as to secure a data area for each identifier, a data area of the relay 103 that does not transmit data generated by application processing is secured on the data map. For this reason, there is an area where no significant data is stored in the aggregated data.

これに対し、本実施の形態では、図18に示すように、データマップ上に有意でないデータに対応するデータ領域が存在せず、集約データに有意でないデータが格納されることはない。このため、集約データ内の無効なデータを抑制することができる。   On the other hand, in the present embodiment, as shown in FIG. 18, there is no data area corresponding to insignificant data on the data map, and no insignificant data is stored in the aggregated data. For this reason, invalid data in the aggregated data can be suppressed.

次に、図16に示した例とは異なる状態の本実施の形態の通信システムにおける識別子配布処理について説明する。図20は、本実施の形態の通信システムの構成例を示す図である。図16では、3機の子機2と、1機の中継機3が識別子配布要求を送信する例を示したが、図20の例では、中継機3−1〜3−11までの11機の中継機3に既に識別子が配布されており、子機2−1〜子機2−(x−1)までの(x−1)機の子機2に既に識別子が配布されているとする。xは2以上の整数である。また、子機2−1〜子機2−(x−1)までの識別子の割当てにより、子機最大識別子は497に更新済みであるとする。この状態で、占有数5の子機2−xが、識別子配布要求を送信する。なお、11台の中継機3に識別子を配布済みであるため、図20の例では中継機最小識別子は500である。   Next, identifier distribution processing in the communication system of the present embodiment in a state different from the example shown in FIG. 16 will be described. FIG. 20 is a diagram illustrating a configuration example of a communication system according to the present embodiment. FIG. 16 shows an example in which three slave units 2 and one repeater 3 transmit an identifier distribution request, but in the example of FIG. 20, there are 11 relay units 3-1 to 3-11. It is assumed that the identifier has already been distributed to the relay device 3 and the identifier has already been distributed to the slave devices 2 of the (x-1) devices from the slave device 2-1 to the slave device 2- (x-1). . x is an integer of 2 or more. Further, it is assumed that the maximum slave unit identifier has been updated to 497 by assigning identifiers from slave unit 2-1 to slave unit 2- (x-1). In this state, the slave unit 2-x with the occupation number 5 transmits an identifier distribution request. Since the identifiers have already been distributed to the 11 repeaters 3, the minimum repeater identifier is 500 in the example of FIG.

図21は、図20に示す状態で、子機2−xが識別子配布要求を送信する場合の識別子配布処理の一例を示すシーケンス図である。まず、上述したように、親機1では、子機最大識別子=497、中継機最小識別子=500に設定された状態である(ステップS71)。子機2−xが、図7のステップS1、ステップS2で示したように、識別子配布要求専用の識別子を自機に設定し、占有数として5を設定した識別子配布要求を送信する(ステップS72、ステップS73)。   FIG. 21 is a sequence diagram illustrating an example of identifier distribution processing when the child device 2-x transmits an identifier distribution request in the state illustrated in FIG. First, as described above, in the master unit 1, the slave unit maximum identifier = 497 and the relay unit minimum identifier = 500 are set (step S71). As shown in step S1 and step S2 of FIG. 7, the slave unit 2-x transmits an identifier distribution request in which the identifier dedicated to the identifier distribution request is set in the own unit and the occupation number is set to 5 (step S72). Step S73).

親機1は、図1に示したステップS24で識別子配布要求の送信元が子機2であると判断し、ステップS25に示した比較を実施し、ステップS31へ進みエラーであると判断し、エラーを通知する情報を格納した応答を送信する(ステップS74)。具体的には、子機最大識別子+受信した占有数=497+5=502であり、中継機最小識別子=500であるため、ステップS74内で実施される識別子算出部14における図10のステップS25では子機最大識別子+受信した占有数≧中継機最小識別子となり、ステップS31へ進む。通信制御部13は、識別子算出部14からエラーの通知を受け取り、エラーを通知する情報を格納した応答を送受信部12およびアンテナ11経由で送信する。親機1は、子機2−xに識別子を送信しなかった、すなわち子機2−xに割当てなかったので、子機最大識別子を変更しない。 Base unit 1, determines that the transmission source identifier distribution request in step S24 shown in FIG. 1 0 is a child device 2, and comparison made as shown in step S25, it is determined that the error process proceeds to step S31 Then, a response storing information for notifying the error is transmitted (step S74). Specifically, since the maximum slave unit identifier + the number of occupied occupancy = 497 + 5 = 502 and the minimum relay unit identifier = 500, the identifier calculation unit 14 implemented in step S74 performs child processing in step S25 of FIG. The maximum machine identifier + the number of occupied occupancy ≧ the minimum relay machine identifier, and the process proceeds to step S31. The communication control unit 13 receives an error notification from the identifier calculation unit 14 and transmits a response storing information for notifying the error via the transmission / reception unit 12 and the antenna 11. Since the base unit 1 did not transmit the identifier to the handset 2-x, that is, did not assign the handset 2-x, the base unit 1 does not change the handset maximum identifier.

このように、本実施の形態では、子機2から識別子配布要求を受信した場合でも、該子機2に識別子を配布することで子機2に割当てる識別子の値の範囲が中継機3に既に割り当てた識別子の値の範囲と重複する場合、すなわち子機最大識別子に識別子配布要求に格納された占有数を加えた値が中継機最小識別子以上となる場合には、親機1は識別子配布要求の送信元の子機2に識別子を配布せずにエラーを通知する。これにより、子機2に割当てる識別子の値の範囲が中継機3に既に割り当てた識別子の値の範囲と重複することを避け、集約データに有意でないデータが格納されることを防ぐことができる。   As described above, in the present embodiment, even when an identifier distribution request is received from the child device 2, the range of identifier values assigned to the child device 2 by distributing the identifier to the child device 2 is already in the relay device 3. When the value overlaps with the assigned identifier value range, that is, when the value obtained by adding the occupation number stored in the identifier distribution request to the slave unit maximum identifier is equal to or greater than the relay unit minimum identifier, the base unit 1 requests the identifier distribution request. An error is notified without distributing the identifier to the child device 2 of the transmission source. As a result, it is possible to prevent the range of identifier values assigned to the slave unit 2 from overlapping with the range of identifier values already assigned to the relay unit 3, and to prevent storing insignificant data in the aggregated data.

次に、図16および図20に示した例とは異なる状態の本実施の形態の通信システムにおける識別子配布処理について説明する。図22は、本実施の形態の通信システムの構成例を示す図である。図22の例では、中継機3−1〜3−11までの11機の中継機3に既に識別子が配布されており、子機2−1〜子機2−yまでのy機の子機2に既に識別子が配布されているとする。yは2以上の整数である。また、子機2−1〜子機2−yまでの識別子の割当てにより、子機最大識別子は499に更新済みであり、11台の中継機3に識別子を配布済みであるため、中継機最小識別子は500であるとする。この状態で、中継機3−12が、識別子配布要求を送信する。   Next, identifier distribution processing in the communication system according to the present embodiment in a state different from the examples shown in FIGS. 16 and 20 will be described. FIG. 22 is a diagram illustrating a configuration example of a communication system according to the present embodiment. In the example of FIG. 22, the identifiers have already been distributed to 11 relay devices 3 from the relay devices 3-1 to 11-11, and the y slave devices from the slave device 2-1 to the slave device 2-y. Assume that the identifier has already been distributed to 2. y is an integer of 2 or more. Further, by assigning identifiers from the slave unit 2-1 to the slave unit 2-y, the maximum slave unit identifier has been updated to 499, and the identifier has been distributed to the 11 relay units 3, so that the minimum relay unit Assume that the identifier is 500. In this state, the repeater 3-12 transmits an identifier distribution request.

図23は、図22に示す状態で、中継機3−12が識別子配布要求を送信する場合の識別子配布処理の一例を示すシーケンス図である。まず、上述したように、親機1では、子機最大識別子=499、中継機最小識別子=500に設定された状態である(ステップS81)。中継機3−12が、図9のステップS11,ステップS12で示したように、識別子配布要求専用の識別子を自機に設定し、自機が中継機3であることを示す情報を格納した識別子配布要求を送信する(ステップS82,ステップS83)。   FIG. 23 is a sequence diagram illustrating an example of an identifier distribution process when the relay 3-12 transmits an identifier distribution request in the state illustrated in FIG. First, as described above, in the master unit 1, the slave unit maximum identifier = 499 and the relay unit minimum identifier = 500 are set (step S81). As shown in step S11 and step S12 of FIG. 9, the repeater 3-12 sets an identifier dedicated to the identifier distribution request in the own device, and stores the information indicating that the own device is the repeater 3 A distribution request is transmitted (step S82, step S83).

親機1は、図1に示したステップS24で識別子配布要求の送信元が中継機3であると判断し、ステップS28に示した比較を実施し、ステップS31へ進みエラーであると判断し、エラーを通知する情報を格納した応答を送信する(ステップS84)。具体的には、中継機最小識別子−1=499であり、子機最大識別子=499であるため、ステップS84内で実施される識別子算出部14における図10のステップS28では中継機最小識別子−1≦子機最大識別子となり、ステップS31へ進む。通信制御部13は、識別子算出部14からエラーの通知を受け取り、エラーを通知する情報を格納した応答を送受信部12およびアンテナ11経由で送信する。親機1は、中継機3−12に識別子を送信しなかった、すなわち中継機3−12に割当てなかったので、中継機最小識別子を変更しない。 Base unit 1, determines that the transmission source identifier distribution request in step S24 shown in FIG. 1 0 is a relay unit 3, and comparison made as shown in step S28, it is determined that the error process proceeds to step S31 Then, a response storing information for notifying an error is transmitted (step S84). Specifically, since the relay unit minimum identifier-1 = 499 and the child unit maximum identifier = 499, in step S28 of FIG. 10 in the identifier calculation unit 14 implemented in step S84, the relay unit minimum identifier-1 is set. ≦ Slave device maximum identifier, and the process proceeds to step S31. The communication control unit 13 receives an error notification from the identifier calculation unit 14 and transmits a response storing information for notifying the error via the transmission / reception unit 12 and the antenna 11. Since the base unit 1 did not transmit the identifier to the relay unit 3-12, that is, did not assign the relay unit 3-12, the base unit 1 does not change the minimum relay unit identifier.

このように、本実施の形態では、中継機3から識別子配布要求を受信した場合でも、該中継機3に識別子を配布することで子機2に割当てる識別子の値の範囲が中継機3に既に割り当てた識別子の値の範囲と重複する場合には、親機1は識別子配布要求の送信元の中継機3に識別子を配布せずにエラーを通知する。これにより、子機2に割当てる識別子の値の範囲が中継機3に既に割り当てた識別子の値の範囲と重複することを避け、集約データに有意でないデータが格納されることを防ぐことができる。   As described above, in this embodiment, even when an identifier distribution request is received from the relay device 3, the range of identifier values assigned to the slave devices 2 by distributing the identifier to the relay device 3 is already in the relay device 3. If the range of the assigned identifier value overlaps, the base unit 1 notifies the error without distributing the identifier to the relay device 3 that is the transmission source of the identifier distribution request. As a result, it is possible to prevent the range of identifier values assigned to the slave unit 2 from overlapping with the range of identifier values already assigned to the relay unit 3, and to prevent storing insignificant data in the aggregated data.

以上の実施の形態に示した構成は、本発明の内容の一例を示すものであり、別の公知の技術と組み合わせることも可能であるし、本発明の要旨を逸脱しない範囲で、構成の一部を省略、変更することも可能である。   The configuration described in the above embodiment shows an example of the contents of the present invention, and can be combined with another known technique, and can be combined with other configurations without departing from the gist of the present invention. It is also possible to omit or change the part.

1,101 親機、2,2−1〜2−3,2−(x−1),2−x,2−y、102−1〜102−3 子機、3,3−1〜3−12,103 中継機、11,21,31 アンテナ、12,22,32 送受信部、13,23,33 通信制御部、14 識別子算出部、15,24 アプリケーション処理部。   1,101 Base unit, 2,2-1 to 2-3,2- (x-1), 2-x, 2-y, 102-1 to 102-3 Slave unit, 3,3-1 to 3- 12, 103 repeater, 11, 21, 31 antenna, 12, 22, 32 transmission / reception unit, 13, 23, 33 communication control unit, 14 identifier calculation unit, 15, 24 application processing unit.

Claims (14)

識別子の配布を要求する識別子配布要求を受信する送受信部と、
前記識別子配布要求に基づいて前記識別子配布要求の送信元の無線機がデータの送信元となる第1の無線機であるかまたは中継機である第2の無線機であるかを判断し、前記識別子配布要求の送信元の無線機が前記第1の無線機であると判断した場合、割当可能な識別子のうち既に割当済みの識別子を除く最も小さい識別子を前記識別子配布要求の送信元の無線機へ割当て、前記識別子配布要求の送信元の無線機が前記第2の無線機であると判断した場合割当可能な識別子のうち既に割当済みの識別子を除く最も大きい識別子を前記識別子配布要求の送信元の無線機へ割当てる割当部と、
前記割当部により割当てられた前記識別子を格納した応答を生成し、生成した前記応答を、前記送受信部を介して前記識別子配布要求の送信元の無線機へ送信する通信制御部と、
備えることを特徴とする無線機。
A transmission / reception unit for receiving an identifier distribution request for requesting distribution of an identifier;
Based on the identifier distribution request, it is determined whether a wireless device that is a transmission source of the identifier distribution request is a first wireless device that is a data transmission source or a second wireless device that is a relay device, and If it is determined that the identifier-distribution-request transmission source radio is the first radio, the smallest identifier excluding the already-assigned identifier among the assignable identifiers is the identifier-distribution-request transmission source radio When the identifier distribution request transmission source radio device is determined to be the second radio device, the largest identifier excluding the already assigned identifier is assigned to the identifier distribution request transmission source. An assigning unit for assigning to the radio of
A communication control unit that generates a response storing the identifier allocated by the allocation unit, and transmits the generated response to the transmitter radio of the identifier distribution request via the transmission / reception unit;
Radio, characterized in that it comprises a.
前記識別子配布要求の送信元の無線機が前記第1の無線機である場合、前記識別子配布要求には前記識別子配布要求の送信元の無線機が占有する識別子の数である占有数が含まれ、
前記割当部は、前記識別子配布要求の送信元の無線機が前記第1の無線機であると判断した場合、前記第1の無線機へ割当て済みの識別子の最大値を示す第1の値の次に大きい識別子を前記識別子配布要求の送信元の無線機へ割当て、前記第1の値に前記識別子配布要求に格納された占有数を加算することを特徴とする請求項1に記載の無線機。
When the wireless device that is the transmission source of the identifier distribution request is the first wireless device, the identifier distribution request includes an occupation number that is the number of identifiers occupied by the wireless device that is the transmission source of the identifier distribution request. ,
When the assignment unit determines that the wireless device that is the transmission source of the identifier distribution request is the first wireless device, the assigning unit sets a first value indicating a maximum value of an identifier already assigned to the first wireless device. 2. The wireless device according to claim 1, wherein the next largest identifier is assigned to a wireless device that is a transmission source of the identifier distribution request, and the occupation number stored in the identifier distribution request is added to the first value. .
前記識別子配布要求の送信元の無線機が前記第2の無線機である場合前記識別子配布要求の前記占有数には0が設定され、
前記割当部は、前記識別子配布要求に格納された前記占有数が0であるか否かに基づいて前記識別子配布要求の送信元の無線機が前記第2の無線機であるかまたは前記第1の無線機であるかを判断することを特徴とする請求項2に記載の無線機。
When the wireless device that is the transmission source of the identifier distribution request is the second wireless device, the occupation number of the identifier distribution request is set to 0,
The allocating unit determines whether the wireless device that is the transmission source of the identifier distribution request is the second wireless device based on whether the occupation number stored in the identifier distribution request is 0 or not. The wireless device according to claim 2, wherein it is determined whether the wireless device is a wireless device.
前記識別子配布要求は、前記識別子配布要求の送信元の無線機が前記第2の無線機であるか否かを示す情報を含むことを特徴とする請求項1に記載の無線機。   The wireless device according to claim 1, wherein the identifier distribution request includes information indicating whether or not a wireless device that is a transmission source of the identifier distribution request is the second wireless device. 前記識別子配布要求は、前記識別子配布要求の送信元の無線機が前記第2の無線機であるか否かを示す情報を含むことを特徴とする請求項2に記載の無線機。   The wireless device according to claim 2, wherein the identifier distribution request includes information indicating whether or not a wireless device that is a transmission source of the identifier distribution request is the second wireless device. 前記割当部は、前記識別子配布要求の送信元の無線機が前記第2の無線機であると判断した場合、前記第2の無線機へ割当て済みの識別子の最小値の次に小さい識別子が前記第1の値以下である場合、前記識別子配布要求の送信元の無線機へ識別子を割当てないことを特徴とする請求項2、3または5に記載の無線機。   When the assignment unit determines that the wireless device that is the transmission source of the identifier distribution request is the second wireless device, an identifier that is next smaller than a minimum value of identifiers assigned to the second wireless device is the second wireless device. 6. The wireless device according to claim 2, wherein an identifier is not assigned to a wireless device that is a transmission source of the identifier distribution request when the value is equal to or less than a first value. 前記割当部は、前記識別子配布要求の送信元の無線機が前記第2の無線機であると判断した場合、前記第2の無線機へ割当て済みの識別子の最小値を示す第2の値の次に小さい識別子を前記識別子配布要求の送信元の無線機へ割当て、前記第2の値から1を減ずることを特徴とする請求項2、3、5または6に記載の無線機。   The allocation unit determines a second value indicating a minimum value of an identifier allocated to the second radio device when determining that the radio device that is the transmission source of the identifier distribution request is the second radio device. The wireless device according to claim 2, 3, 5, or 6, wherein the next smallest identifier is assigned to a wireless device that is a transmission source of the identifier distribution request, and 1 is subtracted from the second value. 前記割当部は、前記識別子配布要求の送信元の無線機が前記第1の無線機であると判断した場合、前記第1の値に前記識別子配布要求に格納された前記占有数を加算した値が前記第2の値以上である場合、前記識別子配布要求の送信元の無線機へ識別子を割当てないことを特徴とする請求項7に記載の無線機。   When the assignment unit determines that the wireless device that is the transmission source of the identifier distribution request is the first wireless device, a value obtained by adding the occupation number stored in the identifier distribution request to the first value The wireless device according to claim 7, wherein no identifier is assigned to a wireless device that is a transmission source of the identifier distribution request when is equal to or greater than the second value. 前記通信制御部は、前記割当部が前記識別子配布要求の送信元の無線機へ識別子を割当てなかった場合、前記識別子配布要求の送信元の無線機へエラーを通知する情報を含む応答を生成し、生成した前記応答を、前記送受信部を介して前記識別子配布要求の送信元の無線機へ送信することを特徴とする請求項6または8に記載の無線機。   The communication control unit generates a response including information for notifying the transmitter of the identifier distribution request of an error when the allocator does not allocate an identifier to the transmitter of the identifier distribution request. 9. The wireless device according to claim 6, wherein the generated response is transmitted to a wireless device that is a transmission source of the identifier distribution request via the transmission / reception unit. 請求項2に記載の無線機である親機から識別子を配布される無線機であって、
識別子の配布を要求する識別子配布要求に占有する識別子の数を示す占有数を格納する通信制御部と、
前記占有数が格納された前記識別子配布要求を、前記親機へ送信し、前記親機から前記識別子配布要求に対する応答を受信する識別送受信部と、
を備え、
前記通信制御部は、前記応答に格納された識別子を通信に用いる自機の識別子として設定することを特徴とする無線機。
A wireless device to which an identifier is distributed from a parent device that is the wireless device according to claim 2,
A communication control unit for storing an occupation number indicating the number of identifiers occupied in an identifier distribution request for requesting distribution of an identifier;
The occupied number stored a said identifier distribution request, and the transmitted to the main unit, identifier receiving unit for receiving a response to the identifier distribution request from said master unit,
With
The said communication control part sets the identifier stored in the said response as an identifier of the self-machine used for communication, The radio | wireless machine characterized by the above-mentioned.
請求項2に記載の無線機である親機から識別子を配布される中継機であって、
識別子の配布を要求する識別子配布要求に占有する識別子の数を示す占有数を格納する領域に0を格納する通信制御部と、
前記占有数が格納された前記識別子配布要求を、前記親機へ送信し、前記親機から前記識別子配布要求に対する応答を受信する識別送受信部と、
を備え、
前記通信制御部は、前記応答に格納された識別子を通信に用いる識別子として設定することを特徴とする中継機。
It is a repeater to which an identifier is distributed from a parent device that is a wireless device according to claim 2,
A communication control unit that stores 0 in an area for storing an occupation number indicating the number of identifiers occupied in an identifier distribution request for requesting an identifier distribution;
The occupied number stored a said identifier distribution request, and the transmitted to the main unit, identifier receiving unit for receiving a response to the identifier distribution request from said master unit,
With
The communication control unit sets an identifier stored in the response as an identifier used for communication.
請求項1に記載の無線機である親機から識別子を配布される中継機であって、
識別子の配布を要求する識別子配布要求に自機が中継機であることを示す情報を格納する通信制御部と、
前記情報が格納された前記識別子配布要求を、前記親機へ送信し、前記親機から前記識別子配布要求に対する応答を受信する識別送受信部と、
を備え、
前記通信制御部は、前記応答に格納された識別子を通信に用いる識別子として設定することを特徴とする中継機。
It is a repeater to which an identifier is distributed from a parent device that is a wireless device according to claim 1,
A communication control unit for storing information indicating that the own device is a relay device in an identifier distribution request for requesting distribution of an identifier;
The identifier distribution request the information is stored, and the transmitted to the main unit, identifier receiving unit for receiving a response to the identifier distribution request from said master unit,
With
The communication control unit sets an identifier stored in the response as an identifier used for communication.
請求項1から9のいずれか1つに記載の無線機である親機と、
前記親機から識別子を配布されデータの送信元となる第1の無線機と、
中継機である第2の無線機と、
を備えることを特徴とする通信システム。
A base unit which is a radio unit according to any one of claims 1 to 9,
A first wireless device to which an identifier is distributed from the parent device and is a data transmission source;
A second radio that is a repeater;
A communication system comprising:
データの送信元となる第1の無線機と、中継機である第2の無線機と、前記第1の無線機および前記第2の無線機に識別子を割当てる親機とを備える通信システムにおける識別子割当方法であって、
前記第1の無線機または前記第2の無線機が、識別子の配布を要求する識別子配布要求を前記親機へ送信する第1のステップと、
前記親機が、受信した前記識別子配布要求に基づいて前記識別子配布要求の送信元の無線機が前記第1の無線機であるかまたは前記第2の無線機であるかを判断し、前記識別子配布要求の送信元の無線機が前記第1の無線機であると判断した場合、割当可能な識別子のうち既に割当済みの識別子を除く最も小さい識別子を前記識別子配布要求の送信元の無線機へ割当て、前記識別子配布要求の送信元の無線機が前記第2の無線機であると判断した場合割当可能な識別子のうち既に割当済みの識別子を除く最も大きい識別子を前記識別子配布要求の送信元の無線機へ割当てる第2のステップと、
前記親機が、前記第2のステップにより割当てられた前記識別子を格納した応答を生成し、生成した前記応答を、前記識別子配布要求の送信元の無線機へ送信する第3のステップと、
前記応答を受信した前記第1の無線機または前記第2の無線機が、前記応答に格納された識別子を通信に用いる識別子として設定する第4のステップと、
を含むことを特徴とする識別子割当方法。
An identifier in a communication system comprising a first radio that is a data transmission source, a second radio that is a relay, and a master that assigns an identifier to the first radio and the second radio An allocation method,
A first step in which the first wireless device or the second wireless device transmits an identifier distribution request for requesting distribution of an identifier to the parent device;
Based on the received identifier distribution request, the base unit determines whether the wireless device that is the transmission source of the identifier distribution request is the first wireless device or the second wireless device, and the identifier If it is determined that the distribution request transmission source wireless device is the first wireless device, the smallest identifier of allocatable identifiers excluding already assigned identifiers is transmitted to the identifier distribution request transmission source wireless device. Allocation, if it is determined that the wireless device that is the transmission source of the identifier distribution request is the second wireless device, among the assignable identifiers, the largest identifier excluding the already allocated identifier is set as the transmission source of the identifier distribution request A second step of assigning to the radio;
A third step in which the base unit generates a response storing the identifier assigned in the second step, and transmits the generated response to a radio device that has transmitted the identifier distribution request;
A fourth step in which the first wireless device or the second wireless device that has received the response sets the identifier stored in the response as an identifier used for communication;
An identifier assigning method characterized by comprising:
JP2017525703A 2015-06-29 2015-06-29 Radio, repeater, communication system, and identifier assignment method Active JP6415719B2 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2015/068700 WO2017002174A1 (en) 2015-06-29 2015-06-29 Wireless device, relay device, communication system, and identifier allocation method

Publications (2)

Publication Number Publication Date
JPWO2017002174A1 JPWO2017002174A1 (en) 2018-01-18
JP6415719B2 true JP6415719B2 (en) 2018-10-31

Family

ID=57608144

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017525703A Active JP6415719B2 (en) 2015-06-29 2015-06-29 Radio, repeater, communication system, and identifier assignment method

Country Status (3)

Country Link
JP (1) JP6415719B2 (en)
TW (1) TWI603300B (en)
WO (1) WO2017002174A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102202615B1 (en) 2017-09-25 2021-01-12 주식회사 엘지화학 Apparatus for assigning identification information to a plurality of slave battery management units

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI296083B (en) * 2003-09-29 2008-04-21 Sharp Kk Communication controller, host-side controller, communication system, usb system, communication equipment, communication method, packet-based communication method, packet-based communication program, and storage medium
JP2005208785A (en) * 2004-01-21 2005-08-04 Toshiba Corp Memory management method and information processor
US7986718B2 (en) * 2006-09-15 2011-07-26 Itron, Inc. Discovery phase in a frequency hopping network
JP4492966B2 (en) * 2006-10-24 2010-06-30 株式会社Kddi研究所 Connection identifier assigning method, program, relay station and base station via relay station in IEEE 802.16
US8331975B2 (en) * 2008-12-03 2012-12-11 Interdigital Patent Holdings, Inc. Uplink power control for distributed wireless communication
JP5476287B2 (en) * 2010-12-20 2014-04-23 Kddi株式会社 Bluetooth network communication method and wireless information distribution apparatus thereof

Also Published As

Publication number Publication date
TW201701241A (en) 2017-01-01
JPWO2017002174A1 (en) 2018-01-18
WO2017002174A1 (en) 2017-01-05
TWI603300B (en) 2017-10-21

Similar Documents

Publication Publication Date Title
US10056938B2 (en) Fast radio frequency communication for sport timing applications
JP7147897B2 (en) Wireless sensor system and communication control method
JPWO2019087639A1 (en) Wireless sensor system, management apparatus, communication control method, and communication control program
KR102109911B1 (en) Method and its apparatus for controlling topology in beamforming system
JP2017017477A (en) Communication device, communication method and communication program
JP2008193558A (en) Wireless network
US9602386B2 (en) Node apparatus, record medium for storing control program, wireless communication system, and method for data communication
JP6415719B2 (en) Radio, repeater, communication system, and identifier assignment method
JP2017175563A (en) Communication controller, radio apparatus, communication control system, communication control method, and program
JP2014155133A (en) Network system and communication method therefor
JP2017520983A5 (en)
JP2016161976A (en) Communication system, server, and control method for communication system
JP6206594B2 (en) Control apparatus and control method
JP6443066B2 (en) Electronic control unit
JP2015139178A (en) Radio communication system, radio communication method, relay station, and radio base station
JP2015170970A (en) communication system
WO2018105406A1 (en) Communication system, relay server, communication method, and program
CN111836333B (en) Communication method, communication device and terminal equipment
JP6089589B2 (en) Radio transmission apparatus and frequency band allocation method
JP5561646B2 (en) Wireless communication terminal and wireless communication method
JP6637858B2 (en) Wireless terminal connection management method and its management system
JP6099430B2 (en) Wireless communication device
JP6777942B2 (en) Communication device, communication system, and control method of communication device
JP2018007105A (en) Radio equipment, and method and program for time slot allocation control
JP7089774B2 (en) Wireless access points, wireless communication systems, wireless communication methods, and wireless communication programs

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170915

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170915

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180904

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181002

R150 Certificate of patent or registration of utility model

Ref document number: 6415719

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250