JP2006186579A - Device and program for terminal management - Google Patents

Device and program for terminal management Download PDF

Info

Publication number
JP2006186579A
JP2006186579A JP2004377010A JP2004377010A JP2006186579A JP 2006186579 A JP2006186579 A JP 2006186579A JP 2004377010 A JP2004377010 A JP 2004377010A JP 2004377010 A JP2004377010 A JP 2004377010A JP 2006186579 A JP2006186579 A JP 2006186579A
Authority
JP
Japan
Prior art keywords
identification information
communication terminal
address
terminal
management
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004377010A
Other languages
Japanese (ja)
Inventor
Takuji Sugata
拓児 菅田
Yoshio Ozawa
芳男 小澤
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2004377010A priority Critical patent/JP2006186579A/en
Publication of JP2006186579A publication Critical patent/JP2006186579A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an equipment managing device capable of reducing the power consumption needed for communication by adjusting the bit size of an address according to the number of devices to be managed and varying the size of data sent and received between the devices to be managed and the equipment managing device. <P>SOLUTION: The managing device determines a proper address size based upon the number of terminal devices belonging to a network 7 to be managed. When a terminal device belonging to the network 7 to be managed leaves the network 7 to be managed, the managing device 4 judges whether or not the address size of addresses of terminal devices registered in an address management table can be decreased, and determines a proper size when the address size can be decreased. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、例えば、複数の機器とデータ通信を行う機器管理装置に関する。   The present invention relates to a device management apparatus that performs data communication with a plurality of devices, for example.

従来、省電力な通信が必要とされるネットワーク環境では、通信に要する機器の消費電力を抑制するための手段の一つとして、機器と該機器を管理する機器管理装置との間で送受信されるデータのデータサイズを小さくする技術が開発されている。例えば、無線通信において、無線通信装置が持つMACアドレスの下位1バイトをネットワークアドレスとして利用することで従来の宛先アドレスの領域を削減する方法が提案されている(特許文献1)。
特開2002-197122号公報
Conventionally, in a network environment where power-saving communication is required, transmission / reception is performed between a device and a device management apparatus that manages the device as one of means for suppressing power consumption of the device required for communication. Techniques for reducing the data size of data have been developed. For example, in wireless communication, a conventional method of reducing the destination address area by using the lower 1 byte of the MAC address of the wireless communication device as a network address has been proposed (Patent Document 1).
JP 2002-197122 A

しかしながら、上記方法では、新しくネットワークアドレス用に割り当てられる領域のビットサイズは1バイトで固定されていることから、該領域に格納されるネットワークアドレスのビットサイズも1バイトに固定される。従って、同一ネットワーク内において、機器の数が少ないときにはネットワークアドレスのビットサイズを小さくし、逆に機器の数が多いときには該ビットサイズを大きくするというように、機器の数に応じてネットワークアドレスのビットサイズを適切な大きさに設定することができないという課題があった。   However, in the above method, since the bit size of the area newly allocated for the network address is fixed at 1 byte, the bit size of the network address stored in the area is also fixed at 1 byte. Therefore, in the same network, when the number of devices is small, the bit size of the network address is reduced, and conversely, when the number of devices is large, the bit size is increased. There was a problem that the size could not be set to an appropriate size.

そこで、本発明の目的は、管理対象となる機器の数に応じてネットワークアドレスのビットサイズを調整し、管理対象である機器と機器管理装置との間で送受信するデータのデータサイズを可変とすることにより通信に要する消費電力を軽減することができる機器管理装置を提供することである。   Therefore, an object of the present invention is to adjust the bit size of the network address according to the number of devices to be managed, and to change the data size of data transmitted / received between the device to be managed and the device management apparatus. Accordingly, it is an object of the present invention to provide a device management apparatus that can reduce power consumption required for communication.

本発明にかかる端末管理装置では、1又は2以上の端末装置との間で、該端末装置を識別するための識別情報を含むデータの送信及び/又は受信を行う通信手段と、該通信手段が通信すべき端末装置である通信端末装置の台数を計数する計数手段と、該計数手段により計数された前記通信端末装置の台数に応じて前記通信端末装置を識別するための通信端末識別情報のビットサイズを決定するビットサイズ決定手段とを備えている。
このような端末管理装置によると、通信端末装置の台数が少ない場合には、通信端末識別情報のビットサイズを小さくし、逆に多い場合には、ビットサイズを大きくすることができる。即ち、通信手段が通信端末装置の台数に応じて、通信端末識別情報の大きさを適切に設定することができ、よって該通信端末識別情報を含むデータの大きさを適切なサイズとすることができる。
In the terminal management apparatus according to the present invention, communication means for transmitting and / or receiving data including identification information for identifying the terminal apparatus with one or more terminal apparatuses, and the communication means Bits of communication terminal identification information for identifying the communication terminal device according to the number of the communication terminal devices counted by the counting means, and counting means for counting the number of communication terminal devices that are terminal devices to be communicated Bit size determining means for determining the size.
According to such a terminal management apparatus, when the number of communication terminal apparatuses is small, the bit size of the communication terminal identification information can be reduced, and conversely, when the number is large, the bit size can be increased. That is, the communication means can appropriately set the size of the communication terminal identification information according to the number of communication terminal devices, and therefore the size of the data including the communication terminal identification information can be set to an appropriate size. it can.

本発明にかかる端末管理装置では、ビットサイズ決定手段は、前記通信端末識別情報のビットサイズが最小となるように、該ビットサイズを決定する。   In the terminal management apparatus according to the present invention, the bit size determining means determines the bit size so that the bit size of the communication terminal identification information is minimized.

このような端末管理装置によると、通信端末識別情報のビットサイズを最小にすることができるため、通信端末装置と送信・受信するデータのサイズを縮小化を図ることができる。依ってデータ送信・受信に要する消費電力を軽減することができる。   According to such a terminal management apparatus, since the bit size of the communication terminal identification information can be minimized, the size of data transmitted / received to / from the communication terminal apparatus can be reduced. Therefore, power consumption required for data transmission / reception can be reduced.

本発明にかかる端末管理装置では、通信端末装置に前記通信端末識別情報を付与する識別情報付与手段と、前記通信端末装置の前記通信端末識別情報を登録するための識別情報記憶手段と、該識別情報記憶手段に前記通信端末識別情報を登録する端末情報登録手段と、を備えている。   In the terminal management device according to the present invention, an identification information adding unit for adding the communication terminal identification information to the communication terminal device, an identification information storage unit for registering the communication terminal identification information of the communication terminal device, and the identification Terminal information registration means for registering the communication terminal identification information in the information storage means.

本発明にかかる端末管理装置では、前記識別情報付与手段は、前記通信端末装置に前記通信端末識別情報を付与する場合は、前記識別情報記憶手段に未登録の通信端末識別情報のうちで、通信端末識別情報の値が最小となるような通信端末識別情報を付与する。   In the terminal management device according to the present invention, when the identification information providing unit assigns the communication terminal identification information to the communication terminal device, communication information among communication terminal identification information not registered in the identification information storage unit is used. Communication terminal identification information is assigned such that the value of the terminal identification information is minimized.

上記2つの発明にかかる端末管理装置によると、識別情報記憶手段に登録する通信端末装置に昇順に通信端末識別情報を付与することができ、通信端末識別情報を抜けなく付与することができ、効率よく通信端末装置を管理することができる。   According to the terminal management device according to the above two inventions, the communication terminal identification information can be given to the communication terminal device registered in the identification information storage means in ascending order, and the communication terminal identification information can be given without omission, efficiency. Communication terminal devices can be managed well.

本発明にかかる端末管理装置では、前記識別情報記憶手段から通信端末識別情報を削除する端末情報削除手段をさらに備え、前記識別情報付与手段は、前記端末情報削除手段によって前記識別情報記憶手段から第1の通信端末装置の通信端末識別情報が削除された場合であって、第1の通信端末装置の通信端末識別情報の値が、前記識別情報記憶手段に登録されているその他の通信端末装置の通信端末識別情報のうち通信端末識別情報の値が最大である第2の通信端末装置の通信端末識別情報の値より小さい場合には、前記第2の通信端末装置の通信端末識別情報を前記第1の通信端末装置の通信端末識別情報に置き換える。   The terminal management apparatus according to the present invention further comprises terminal information deletion means for deleting communication terminal identification information from the identification information storage means, wherein the identification information adding means is connected to the identification information storage means by the terminal information deletion means. The communication terminal identification information of one communication terminal apparatus is deleted, and the value of the communication terminal identification information of the first communication terminal apparatus is the value of the other communication terminal apparatus registered in the identification information storage means. When the value of the communication terminal identification information is smaller than the value of the communication terminal identification information of the second communication terminal apparatus having the maximum value among the communication terminal identification information, the communication terminal identification information of the second communication terminal apparatus is 1 is replaced with the communication terminal identification information of the communication terminal device.

このような端末管理装置では、識別情報記憶手段から通信端末装置の通信端末識別情報を削除した場合、削除した通信端末装置の通信端末識別情報の値が、識別情報記憶手段に登録されているその他の通信端末装置の通信端末識別情報のうちで通信端末識別情報の値が最大である通信端末装置の通信端末識別情報の値より小さい場合には、その通信端末装置の通信端末識別情報を削除した通信端末装置の通信端末識別情報に置き換えることができる。従って、識別情報記憶手段から通信端末装置の通信端末識別情報を削除し、通信端末識別情報のビットサイズを縮小する場合、通信識別情報の再付与をできるだけ少なくすることができる。   In such a terminal management apparatus, when the communication terminal identification information of the communication terminal apparatus is deleted from the identification information storage means, the value of the communication terminal identification information of the deleted communication terminal apparatus is registered in the identification information storage means If the value of the communication terminal identification information of the communication terminal apparatus is smaller than the value of the communication terminal identification information of the communication terminal apparatus, the communication terminal identification information of the communication terminal apparatus is deleted. It can replace with the communication terminal identification information of a communication terminal device. Therefore, when the communication terminal identification information of the communication terminal device is deleted from the identification information storage means and the bit size of the communication terminal identification information is reduced, the reassignment of the communication identification information can be minimized.

本発明に係る、端末管理プログラムは、コンピュータを、1又は2以上の端末装置との間で、該端末装置を識別するための識別情報を含むデータの送信及び/又は受信を行う通信手段、該通信手段が通信すべき通信端末装置の台数を計数する計数手段、該計数手段により計数された前記通信端末装置の台数に応じて前記通信端末装置を識別するための通信端末識別情報のビットサイズを決定するビットサイズ決定手段、として機能させることを特徴とする。   A terminal management program according to the present invention is a communication means for transmitting and / or receiving data including identification information for identifying a terminal device to or from one or more terminal devices, A counting means for counting the number of communication terminal apparatuses to be communicated by the communication means, and a bit size of communication terminal identification information for identifying the communication terminal apparatus according to the number of the communication terminal apparatuses counted by the counting means. It functions as a bit size determining means for determining.

本発明に係る、端末管理プログラムは、ビットサイズ決定手段は、前記通信端末識別情報のビットサイズが最小となるように、該ビットサイズを決定することを特徴とする。   The terminal management program according to the present invention is characterized in that the bit size determining means determines the bit size so that the bit size of the communication terminal identification information is minimized.

本発明に係る、端末管理プログラムは、コンピュータをさらに、前記通信端末装置に前記通信端末識別情報を付与する識別情報付与手段、前記通信端末装置の前記通信端末識別情報を登録するための識別情報記憶手段、該識別情報記憶手段に前記通信端末識別情報を登録する端末情報登録手段、として機能させることを特徴とする。   According to the present invention, the terminal management program further includes a computer, identification information adding means for adding the communication terminal identification information to the communication terminal apparatus, and an identification information storage for registering the communication terminal identification information of the communication terminal apparatus And a terminal information registration unit for registering the communication terminal identification information in the identification information storage unit.

本発明に係る、端末管理プログラムは、識別情報付与手段は、前記通信端末装置に前記通信端末識別情報を付与する場合は、前記識別情報記憶手段に未登録の通信端末識別情報のうちで、通信端末識別情報の値が最小となるような通信端末識別情報を付与することを特徴とする。   In the terminal management program according to the present invention, when the identification information providing means assigns the communication terminal identification information to the communication terminal device, the communication is performed among the communication terminal identification information not registered in the identification information storage means. Communication terminal identification information is assigned such that the value of the terminal identification information is minimized.

本発明に係る、端末管理プログラムは、コンピュータをさらに、前記識別情報記憶手段から通信端末識別情報を削除する端末情報削除手段として機能させ、前記識別情報付与手段は、前記端末情報削除手段によって前記識別情報記憶手段から第1の通信端末装置の通信端末識別情報が削除された場合であって、第1の通信端末装置の通信端末識別情報の値が、前記識別情報記憶手段に登録されているその他の通信端末装置の通信端末識別情報のうち通信端末識別情報の値が最大である第2の通信端末装置の通信端末識別情報の値より小さい場合には、前記第2の通信端末装置の通信端末識別情報を前記第1の通信端末装置の通信端末識別情報に置き換えることを特徴とする。   The terminal management program according to the present invention further causes a computer to function as terminal information deletion means for deleting communication terminal identification information from the identification information storage means, and the identification information adding means is configured to perform the identification by the terminal information deletion means. Others in which the communication terminal identification information of the first communication terminal apparatus is deleted from the information storage means, and the value of the communication terminal identification information of the first communication terminal apparatus is registered in the identification information storage means If the value of the communication terminal identification information of the second communication terminal apparatus is smaller than the value of the communication terminal identification information of the second communication terminal apparatus among the communication terminal identification information of the other communication terminal apparatus, the communication terminal of the second communication terminal apparatus The identification information is replaced with communication terminal identification information of the first communication terminal device.

本発明の特徴は、以下に示す実施の形態の説明により更に明らかとなろう。   The features of the present invention will become more apparent from the following description of embodiments.

ただし、以下の実施の形態は、あくまでも、本発明の一つの実施形態であって、本発明ないし各構成要件の用語の意義は、以下の実施の形態に記載されたものに制限されるものではない。   However, the following embodiment is merely one embodiment of the present invention, and the meaning of the term of the present invention or each constituent element is not limited to that described in the following embodiment. Absent.

本発明によれば、管理対象となる機器の数に応じてネットワークアドレスのビットサイズを調整し、管理対象である機器と機器管理装置との間で送受信するデータのデータサイズを可変とすることにより通信に要する消費電力を軽減することができる機器管理装置を提供することができる。 According to the present invention, the bit size of the network address is adjusted according to the number of devices to be managed, and the data size of data transmitted and received between the device to be managed and the device management apparatus is made variable. It is possible to provide a device management apparatus that can reduce power consumption required for communication.

以下、本発明を、複数の端末装置と該複数の端末装置を管理する複数の管理装置と、該複数の管理装置を遠隔監視する監視装置2とからなる遠隔監視システムにおける管理装置に実施した形態につき、図面に沿って具体的に説明する。   Hereinafter, the present invention is embodied in a management device in a remote monitoring system including a plurality of terminal devices, a plurality of management devices that manage the plurality of terminal devices, and a monitoring device 2 that remotely monitors the plurality of management devices. This will be specifically described with reference to the drawings.

図1に示す如く遠隔監視システム1は、監視装置2、ネットワーク網3、管理装置4、端末装置5、端末装置6、管理対象ネットワーク7、管理装置8、端末装置9、端末装置10、端末装置11、端末装置12および管理対象ネットワーク13から構成されている。   As shown in FIG. 1, the remote monitoring system 1 includes a monitoring device 2, a network 3, a management device 4, a terminal device 5, a terminal device 6, a management target network 7, a management device 8, a terminal device 9, a terminal device 10, and a terminal device. 11, a terminal device 12 and a management target network 13.

監視装置2は、ネットワーク網3を介して管理装置4および8を遠隔監視する。具体的には、監視装置2は、管理装置4に対して、管理装置4が管理する端末装置5又は6のデータ参照要求や設定要求あるいは、管理装置4が端末装置5又は6から取得して蓄積したデータの参照要求を行う。   The monitoring device 2 remotely monitors the management devices 4 and 8 via the network 3. Specifically, the monitoring device 2 receives the data reference request or setting request of the terminal device 5 or 6 managed by the management device 4 from the management device 4 or the management device 4 acquires from the terminal device 5 or 6. Request reference to accumulated data.

監視装置2は、管理装置8に対しても同様の要求を行う。   The monitoring device 2 makes a similar request to the management device 8.

管理装置4は、無線通信により端末装置5および6を管理する。   The management device 4 manages the terminal devices 5 and 6 by wireless communication.

管理対象ネットワーク7とは、管理装置4が、管理装置4自身と管理装置4が管理する端末装置5および6とで構成するネットワーク網である。   The management target network 7 is a network configured by the management device 4 including the management device 4 itself and terminal devices 5 and 6 managed by the management device 4.

管理装置4は、監視装置2から端末装置5または6のデータ参照要求もしくは設定要求を受けると、指定された端末装置のデータを取得し監視装置2に送信するあるいは指定された端末装置の設定を行う。   When receiving the data reference request or setting request of the terminal device 5 or 6 from the monitoring device 2, the management device 4 acquires the data of the designated terminal device and transmits it to the monitoring device 2 or sets the designated terminal device. Do.

また、管理装置4は、端末装置5または6から取得したデータの内容に基づいて、監視装置2にイベントを通知する。例えば、端末装置が備える温度センサの値が閾値を超えた場合に、監視装置2に警報通知を行う。   In addition, the management device 4 notifies the monitoring device 2 of an event based on the content of data acquired from the terminal device 5 or 6. For example, when the value of the temperature sensor included in the terminal device exceeds a threshold value, an alarm is notified to the monitoring device 2.

管理装置8は、管理装置4と同様に、端末装置9、10、11および12を管理する。   Similar to the management device 4, the management device 8 manages the terminal devices 9, 10, 11, and 12.

管理対象ネットワーク13は、管理装置8が、管理装置8自身と管理装置8が管理する端末装置9、10、11および12とで構成するネットワーク網である。   The management target network 13 is a network network in which the management device 8 includes the management device 8 itself and terminal devices 9, 10, 11, and 12 managed by the management device 8.

また、管理装置8は、管理装置4と同様に、監視装置2から端末装置9、10、11または12のデータ参照要求もしくは設定要求を受けると、指定された端末装置のデータを取得し監視装置2に送信するあるいは指定された端末装置の設定を行い、
端末装置9、10、11または12から取得したデータの内容に基づいて、監視装置2にイベントを通知する。
Similarly to the management device 4, when the management device 8 receives a data reference request or setting request for the terminal device 9, 10, 11, or 12 from the monitoring device 2, the management device 8 acquires the data of the designated terminal device and monitors the monitoring device. 2 or set the specified terminal device
Based on the content of the data acquired from the terminal device 9, 10, 11 or 12, the monitoring device 2 is notified of the event.

端末装置5および6は、温度センサや湿度センサ等のセンサと通信デバイスを備えており、該センサから取得したデータを通信デバイスにより管理装置4へ送信する。   The terminal devices 5 and 6 include a sensor such as a temperature sensor and a humidity sensor and a communication device, and transmit data acquired from the sensor to the management device 4 using the communication device.

端末装置9、10、11および12も、同様に、温度センサや湿度センサ等のセンサと通信デバイスを備えており、該センサから取得したデータを通信デバイスにより管理装置8へ送信する。   Similarly, the terminal devices 9, 10, 11, and 12 include a sensor such as a temperature sensor and a humidity sensor and a communication device, and transmit data acquired from the sensor to the management device 8 through the communication device.

管理装置4は、管理装置4自身と端末装置5と端末装置6とを識別し、端末装置5および6を管理するために、管理装置4自身、端末装置5および6のそれぞれに対してユニークなアドレスを付与する。図1に示す如く、管理対象ネットワーク7では、管理装置4と端末装置5と端末装置6とを識別するために3つのアドレスが必要である。また、管理装置4、端末装置5又は6が、管理対象ネットワーク7に属する自分以外の全ての端末装置及び管理装置に対して同時にデータを送信する、いわゆるブロードキャストの場合に使用するアドレスが1つ必要である。即ち、管理対象ネットワーク7では合計4つのアドレスが必要である。   The management device 4 identifies the management device 4 itself, the terminal device 5 and the terminal device 6, and is unique to each of the management device 4 itself and the terminal devices 5 and 6 in order to manage the terminal devices 5 and 6. Give an address. As shown in FIG. 1, in the management target network 7, three addresses are required to identify the management device 4, the terminal device 5, and the terminal device 6. In addition, the management device 4 and the terminal device 5 or 6 need one address to be used in the case of so-called broadcasting in which data is simultaneously transmitted to all the terminal devices and management devices other than itself belonging to the managed network 7. It is. That is, the management target network 7 requires a total of four addresses.

従って、管理装置4は、管理装置4自身、端末装置5、端末装置6に付与するアドレスのビットサイズを2ビットとする。   Therefore, the management device 4 sets the bit size of the address assigned to the management device 4 itself, the terminal device 5 and the terminal device 6 to 2 bits.

管理装置4は、管理装置4自身、端末装置5および6に付与するアドレスと管理装置4自身、端末装置5および6のそれぞれが保有する固有の値を対応付けて登録し、管理するためのアドレス管理テーブルを備えている。前記固有の値としては、本実施の形態では、例えば、管理装置4自身、端末装置5および6のそれぞれが備える通信デバイスのMACアドレスを採用する。   The management device 4 is an address for registering and managing the address assigned to the management device 4 itself and the terminal devices 5 and 6 in association with the unique values held by the management device 4 itself and the terminal devices 5 and 6, respectively. A management table is provided. In the present embodiment, for example, the MAC address of the communication device provided in each of the management device 4 and the terminal devices 5 and 6 is used as the unique value.

図2は、管理装置4が備える前記アドレス管理テーブルを示している。該アドレス管理テーブルによると、アドレスのビットサイズは2ビットであり、管理装置4自身にはアドレス「00」(2進数表記)が、端末装置4にはアドレス「01」(2進数表記)が、端末装置5にはアドレス「10」(2進数表記)が付与されている。また、管理装置4自身、端末装置4および5のアドレスに対応付けられた前記固有の値として管理装置4自身、端末装置5および6のMACアドレスが登録されている。尚、ブロードキャストのためのアドレスは「11」(2進数表記)が使用される。   FIG. 2 shows the address management table provided in the management apparatus 4. According to the address management table, the address bit size is 2 bits, the management device 4 itself has an address “00” (binary notation), and the terminal device 4 has an address “01” (binary notation). The terminal device 5 is given an address “10” (binary notation). In addition, the MAC addresses of the management device 4 itself and the terminal devices 5 and 6 are registered as the unique values associated with the addresses of the management device 4 itself and the terminal devices 4 and 5. Note that “11” (binary notation) is used as an address for broadcasting.

管理装置4は、前記アドレス管理テーブルに管理装置4自身、端末装置5および6のアドレスを登録することにより、管理対象ネットワーク7を構成する。   The management device 4 configures the management target network 7 by registering the addresses of the management device 4 itself and the terminal devices 5 and 6 in the address management table.

管理装置4は、さらに、該管理対象ネットワーク7のネットワークIDと端末装置5および6に割り当てるアドレスサイズを示すアドレスモードを保持している。   The management device 4 further holds an address mode indicating a network ID of the management target network 7 and an address size assigned to the terminal devices 5 and 6.

管理装置8も、管理装置4の場合と同様に、端末装置9、10、11および12を管理する。   Similarly to the management device 4, the management device 8 also manages the terminal devices 9, 10, 11, and 12.

この場合、図1に示す如く、管理装置8が管理する端末装置は4台であるから、管理装置8自身およびブロードキャストも考慮すると各端末装置に付与するアドレスのビットサイズは3bitとなる。   In this case, as shown in FIG. 1, since the management apparatus 8 manages four terminal devices, the bit size of the address given to each terminal device is 3 bits when the management apparatus 8 itself and the broadcast are taken into consideration.

以下では、管理対象ネットワーク7において、管理装置4による端末管理のための処理ついて記載する。   Hereinafter, processing for terminal management by the management apparatus 4 in the management target network 7 will be described.

管理装置4と端末装置5又は6との間の通信は、管理装置4を親とし、端末装置5および6を子とするスター型のネットワークプロトコルにより行われている。   Communication between the management device 4 and the terminal device 5 or 6 is performed by a star type network protocol having the management device 4 as a parent and the terminal devices 5 and 6 as children.

図3は、管理装置4と端末装置5又は6との間で送信および受信されるデータのフォーマットを示している。   FIG. 3 shows a format of data transmitted and received between the management device 4 and the terminal device 5 or 6.

該データフォーマットは、図3に示す如く、アドレスモード21、ネットワークID22、送信先アドレス23、送信元アドレス24、コマンドタイプ25およびデータ26から構成される。   As shown in FIG. 3, the data format includes an address mode 21, a network ID 22, a transmission destination address 23, a transmission source address 24, a command type 25, and data 26.

アドレスモード21には、管理装置4が付与するアドレスのビットサイズを示すモードが挿入される。例えば、アドレスのビットサイズが8ビットの場合はアドレスモードを1とし、ビットサイズが16ビットの場合はアドレスモードを2とする等である。本実施の形態では、最もフレキシブルな方法として、アドレスのビットサイズをそのままアドレスモードとする方法を採用している。   In the address mode 21, a mode indicating the bit size of the address assigned by the management apparatus 4 is inserted. For example, when the bit size of the address is 8 bits, the address mode is 1, and when the bit size is 16 bits, the address mode is 2. In this embodiment, as the most flexible method, a method is adopted in which the address bit size is used as it is in the address mode.

ネットワークID22には、管理装置4が管理対象としている管理対象ネットワーク7を一意に識別するためのIDが挿入される。本実施の形態では、例えば、管理装置4が管理対象としている管理対象ネットワーク7のネットワークIDを1としている。   The network ID 22 is inserted with an ID for uniquely identifying the management target network 7 that is managed by the management apparatus 4. In the present embodiment, for example, the network ID of the management target network 7 that is managed by the management apparatus 4 is set to 1.

送信先アドレス23には、送信先のアドレスが挿入される。尚、該アドレスのビットサイズはアドレスモード21の値に応じて変更される。ただし、本実施の形態では、アドレスのビットサイズの上限値を64ビットとしている。   A transmission destination address is inserted into the transmission destination address 23. The bit size of the address is changed according to the value of the address mode 21. However, in this embodiment, the upper limit value of the address bit size is 64 bits.

送信元アドレス24には、送信元のアドレスが挿入される。尚、該アドレスのビットサイズはアドレスモード21の値に応じて変更される。ただし、本実施の形態では、アドレスのビットサイズの上限値を64ビットとしている。   A source address is inserted into the source address 24. The bit size of the address is changed according to the value of the address mode 21. However, in this embodiment, the upper limit value of the address bit size is 64 bits.

コマンドタイプ25には、送信あるいは受信されるコマンドの種類が挿入される。コマンドの種類としては、例えば、以下のようなコマンドが挙げられる。   In the command type 25, the type of command to be transmitted or received is inserted. Examples of the command type include the following commands.

(1)ネットワーク参入(アドレス取得)要求/応答
(2)ネットワーク離脱(アドレス返却)要求/応答
(3)アドレスモード(アドレス長)変更要求/応答
(4)アドレス変更要求/応答
(5)データ参照要求/応答

データ26には、コマンドタイプ25に応じたデータが挿入される。データ26は、コマンドタイプ25の値によってはデータフォーマットから除外される場合や、所定のフォーマット(以下、挿入データフォーマットと記載する)を形成する場合がある。
(1) Network entry (address acquisition) request / response (2) Network leave (address return) request / response (3) Address mode (address length) change request / response (4) Address change request / response (5) Data reference Request / response

In the data 26, data corresponding to the command type 25 is inserted. The data 26 may be excluded from the data format depending on the value of the command type 25 or may form a predetermined format (hereinafter referred to as an insertion data format).

図4に、管理装置4から、端末装置5に対してデータ参照を要求する場合のデータフォーマットを示す。   FIG. 4 shows a data format when the management apparatus 4 requests data reference to the terminal apparatus 5.

管理装置4は、アドレスモード21にはアドレスのビットサイズである「2」を、ネットワークID22には管理装置4の管理対象ネットワーク7のネットワークIDである「1」を、送信先アドレス23には端末装置5のアドレスである「01」(2進数表記)を、送信元アドレス24には管理装置4のアドレスである「00」(2進数表記)を、コマンドタイプ25には「データ参照要求」を入力し送信する。尚、データ参照要求の場合には、データフォーマットにデータ26は含まれない。   The management device 4 has “2” as the bit size of the address in the address mode 21, “1” as the network ID of the management target network 7 of the management device 4 in the network ID 22, and a terminal in the transmission destination address 23. “01” (binary notation) that is the address of the device 5, “00” (binary notation) that is the address of the management device 4 is set as the transmission source address 24, and “data reference request” is set as the command type 25. Enter and send. In the case of a data reference request, data 26 is not included in the data format.

次に、図5に示す如く、新たな端末装置14が管理対象ネットワーク7に参入する場合には、端末装置14から管理装置4へ管理対象ネットワーク7への参入要求を行う。尚、端末装置14は、管理装置4が採用する通信プロトコルによる通信が可能な端末装置である。   Next, as shown in FIG. 5, when a new terminal device 14 enters the management target network 7, a request to enter the management target network 7 is made from the terminal device 14 to the management device 4. The terminal device 14 is a terminal device capable of communication using a communication protocol adopted by the management device 4.

図6は、端末装置14が管理装置4に対して管理対象ネットワーク7への参入要求を行う際に送信するデータのデータフォーマットを示している。   FIG. 6 shows a data format of data to be transmitted when the terminal device 14 requests the management device 4 to enter the management target network 7.

端末装置14は、管理対象ネットワーク7におけるアドレスのビットサイズがわからないため、アドレスモード21には、ビットサイズの上限値である64ビットを示す「64」を、ネットワークID22には、参入すべき管理対象ネットワーク7のネットワークIDである「1」を、送信先アドレス23には、管理装置4のアドレスが不明でありかつアドレスのビットサイズの上限値が64ビットであるため、ブロードキャストを示す「FFFFFFFFFFFFFFFF」(16進数表記)を挿入する。
また、端末装置14は、自身のアドレスについても不明であるため、送信元アドレス24にも「FFFFFFFFFFFFFFFF」(16進数表記)を挿入し、コマンドタイプ25には、「ネットワーク参入(アドレス取得)要求」を記入する。そして、データ26には端末装置14が保有する通信デバイスのMACアドレスを挿入する。
Since the terminal device 14 does not know the bit size of the address in the management target network 7, “64” indicating 64 bits that is the upper limit value of the bit size is displayed in the address mode 21, and the management target to be entered in the network ID 22. Since the address of the management device 4 is unknown and the upper limit of the bit size of the address is 64 bits, the transmission destination address 23 is “FFFFFFFFFFFFFFFF” (broadcast). (Hexadecimal notation) is inserted.
Further, since the terminal device 14 is also uncertain about its own address, “FFFFFFFFFFFFFFFF” (hexadecimal notation) is also inserted into the source address 24, and a “network entry (address acquisition) request” is entered in the command type 25. Fill in. Then, the MAC address of the communication device held by the terminal device 14 is inserted into the data 26.

管理装置4は、端末装置14から上記「ネットワーク参入(アドレス取得)要求」を受信すると、アドレス管理テーブルに未登録であってアドレス値又はアドレス長が最小となる新規アドレスを生成し、端末装置14に割り当て、受信したMACアドレスとともにアドレス管理テーブルに追加する。この際、アドレス長、即ちアドレスのビットサイズの伸長が必要となる場合には、管理装置4は、ブロードキャストにより、管理対象ネットワーク7に属する全ての端末装置に対して、アドレスモードの変更要求を送信する。そして、更新されたアドレスモードと端末装置14に割り当てたアドレスを端末装置14に送信する。   Upon receiving the “network entry (address acquisition) request” from the terminal device 14, the management device 4 generates a new address that is not registered in the address management table and has the smallest address value or address length. And added to the address management table together with the received MAC address. At this time, if it is necessary to expand the address length, that is, the bit size of the address, the management device 4 transmits an address mode change request to all the terminal devices belonging to the management target network 7 by broadcast. To do. Then, the updated address mode and the address assigned to the terminal device 14 are transmitted to the terminal device 14.

具体的には、管理対象ネットワーク7のアドレスのビットサイズは2ビットであり、管理装置4のアドレスに「00」(2進数表記)、端末装置5のアドレスに「01」(2進数表記)、端末装置6のアドレスに「10」(2進数表記)が割り当てられており、アドレス「11」(2進数表記)は、ブロードキャスト用に予約されている。   Specifically, the bit size of the address of the management target network 7 is 2 bits, the address of the management device 4 is “00” (binary notation), the address of the terminal device 5 is “01” (binary notation), “10” (binary notation) is assigned to the address of the terminal device 6, and the address “11” (binary notation) is reserved for broadcasting.

従って、管理装置4は、端末装置14が新たに管理対象ネットワーク7に参入する場合は、アドレス長を2ビットから3ビットへ伸長し、端末装置14には新規アドレスとして「011」(2進数表記)を割り当てるとともに、図7に示す如くアドレス管理テーブルに登録されている端末装置5および6のアドレスを3ビットとし、端末装置14のアドレスおよび端末装置14が備える通信デバイスのMACアドレスを対応付けて登録する。   Accordingly, when the terminal device 14 newly enters the management target network 7, the management device 4 expands the address length from 2 bits to 3 bits, and the terminal device 14 has “011” (binary notation) as a new address. ) And the addresses of the terminal devices 5 and 6 registered in the address management table as shown in FIG. 7 are set to 3 bits, and the address of the terminal device 14 and the MAC address of the communication device provided in the terminal device 14 are associated with each other. sign up.

管理装置4は、端末装置5および端末装置6に対してアドレス長の2ビットから3ビットへの変更要求をブロードキャストにより送信する。   The management device 4 transmits a request for changing the address length from 2 bits to 3 bits to the terminal device 5 and the terminal device 6 by broadcasting.

図8は、管理装置4からアドレスモード変更要求をブロードキャストで送信する場合のデータフォーマットを示している。   FIG. 8 shows a data format when the management apparatus 4 transmits an address mode change request by broadcast.

管理装置4は、アドレスモード21には変更前のアドレスモード「2」を、ネットワークID22には管理対象ネットワーク7のネットワークID「1」を、送信先アドレス23にはブロードキャストを示す「11」(2進数表記)を、送信元アドレス24には管理装置4のアドレス「00」(2進数表記)を、コマンドタイプ25には、「アドレスモード変更要求」を挿入する。また、コマンドタイプ25が「アドレスモード変更要求」の場合は、データ26は変更後のアドレスモードを示すアドレスモード27からなる。管理装置4は、アドレスモード27には、変更後のアドレスのビットサイズである「3」を挿入する。   The management apparatus 4 sets the address mode 21 before the change to the address mode 21, the network ID “1” of the management target network 7 to the network ID 22, and “11” (2) indicating the broadcast to the transmission destination address 23. In the transmission source address 24, the address “00” (binary notation) of the management apparatus 4 is inserted, and in the command type 25, “address mode change request” is inserted. When the command type 25 is “address mode change request”, the data 26 includes an address mode 27 indicating the changed address mode. The management device 4 inserts “3” that is the bit size of the address after the change into the address mode 27.

端末装置5および端末装置6は、変更応答を返信し、返信後は変更されたアドレス
モードとアドレスに従って通信を行なう。
The terminal device 5 and the terminal device 6 send back a change response, and perform communication according to the changed address mode and address after the reply.

図9は、端末装置5が、上記アドレスモード変更要求を受信した後、管理装置4に対してアドレスモード変更応答を返信する場合のデータフォーマットを示している。   FIG. 9 shows a data format when the terminal device 5 returns an address mode change response to the management device 4 after receiving the address mode change request.

端末装置5は、アドレスモード21には変更前のアドレスモード「2」を、ネットワークID22には管理対象ネットワーク7のネットワークID「1」を、送信先アドレス23には管理装置4のアドレスを示す「00」(2進数表記)を、送信元アドレス24には端末装置5のアドレス「01」(2進数表記)を、コマンドタイプ25には、「アドレスモード変更応答」を挿入する。また、コマンドタイプ25が「アドレスモード変更応答」の場合は、データ26は変更後のアドレスモードを示すアドレスモード28からなる。端末装置5は、アドレスモード28には、変更後のアドレスのビットサイズである「3」を挿入する。端末装置6も管理装置4に対して同様の返信を行なう。   The terminal device 5 indicates the address mode “2” before the change in the address mode 21, the network ID “1” of the management target network 7 in the network ID 22, and the address of the management device 4 in the transmission destination address 23. “00” (binary number notation), the address “01” (binary notation) of the terminal device 5 is inserted into the transmission source address 24, and “address mode change response” is inserted into the command type 25. When the command type 25 is “address mode change response”, the data 26 includes an address mode 28 indicating the changed address mode. The terminal device 5 inserts “3” that is the bit size of the address after the change into the address mode 28. The terminal device 6 also sends a similar reply to the management device 4.

図10は、管理装置4が、端末装置14からのネットワーク参入(アドレス取得)要求に対する応答として端末装置14へネットワーク参入(アドレス取得)応答を返信する場合のデータフォーマットを示している。   FIG. 10 shows a data format when the management apparatus 4 returns a network entry (address acquisition) response to the terminal apparatus 14 as a response to the network entry (address acquisition) request from the terminal apparatus 14.

管理装置4は、アドレスモード21には端末装置14のアドレスモードが64ビットに設定されているため「64」を、ネットワークID22には管理対象ネットワーク7のネットワークID「1」を、送信先アドレス23にはブロードキャストを示す「FFFFFFFFFFFFFFFF」(16進数表記)を、送信元アドレス24には管理装置4のアドレスを64ビットで表記した「0000000000000000」(16進数表記)を、コマンドタイプ25には、「ネットワーク参入(アドレス取得)応答」を挿入する。
また、コマンドタイプ25が「ネットワーク参入(アドレス取得)応答」の場合は、データ26はさらに変更後のアドレスモードを示すアドレスモード29、送信先の端末装置のアドレスを示すアドレス30、送信先の端末装置のMACアドレスを示すMACアドレス31から構成される。
The management apparatus 4 sets “64” in the address mode 21 because the address mode of the terminal apparatus 14 is set to 64 bits, the network ID “1” of the management target network 7 in the network ID 22, and the transmission destination address 23. "FFFFFFFFFFFFFFFF" (in hexadecimal notation) indicating broadcast, "0000000000000" (in hexadecimal notation) in which the address of the management apparatus 4 is expressed in 64 bits in the transmission source address 24, and "network" in the command type 25 Insert entry (address acquisition) response ”.
When the command type 25 is “network entry (address acquisition) response”, the data 26 further includes an address mode 29 indicating the changed address mode, an address 30 indicating the address of the destination terminal device, and a destination terminal. It consists of a MAC address 31 indicating the MAC address of the device.

管理装置4は、アドレスモード29には、管理装置4が設定するアドレスのビットサイズである「3」を、アドレス30には、端末装置14に割り当てた「011」(2進数表記)を、MACアドレス31には端末装置14が保有する通信デバイスのMACアドレスを挿入する。   In the address mode 29, the management apparatus 4 sets “3”, which is the bit size of the address set by the management apparatus 4, and sets “011” (binary notation) assigned to the terminal apparatus 14 to the address 30. In the address 31, the MAC address of the communication device held by the terminal device 14 is inserted.

端末装置14は、管理装置4から上記「ネットワーク参入(アドレス取得)応答」を
受信すると、受け取ったアドレスモードとアドレスに従って以降の通信を行う。
When receiving the “network entry (address acquisition) response” from the management device 4, the terminal device 14 performs subsequent communication according to the received address mode and address.

次に、図11に示す如く、端末装置5が管理対象ネットワーク7から離脱する場合には、端末装置5から管理装置4へ管理対象ネットワーク7からの離脱要求を行う。 図12は、端末装置5が管理装置4に対して管理対象ネットワーク7からの離脱要求を行う際に送信するデータのデータフォーマットを示している。   Next, as illustrated in FIG. 11, when the terminal device 5 leaves the management target network 7, a request to leave the management target network 7 is sent from the terminal device 5 to the management device 4. FIG. 12 shows a data format of data to be transmitted when the terminal device 5 makes a request to leave the management target network 7 to the management device 4.

端末装置5は、アドレスモード21には、アドレスのビットサイズを示す「3」を、ネットワークID22には、参入すべき管理対象ネットワーク7のネットワークIDである「1」を、送信先アドレス23には、管理装置4のアドレスである「000」(2進数表記)を、送信元アドレス24には、端末装置5のアドレスである「001」(2進数表記)を、コマンドタイプ25には「ネットワーク離脱(アドレス返却)要求」を挿入し、管理装置4に対して送信する。尚、データタイプが「ネットワーク離脱(アドレス返却)要求」の場合は、データ26はデータフォーマットに含まれない。
管理装置4は、端末装置5から上記「ネットワーク離脱(アドレス返却)要求」を受信すると、端末装置5に「ネットワーク離脱(アドレス返却)応答」を返信する。
The terminal device 5 sets “3” indicating the bit size of the address in the address mode 21, “1” that is the network ID of the management target network 7 to be entered in the network ID 22, and the transmission destination address 23. , “000” (binary number notation) that is the address of the management device 4, “001” (binary number notation) that is the address of the terminal device 5 as the source address 24, and “ (Address return) request ”is inserted and transmitted to the management apparatus 4. In the case where the data type is “network withdrawal (address return) request”, the data 26 is not included in the data format.
When the management device 4 receives the “network leave (address return) request” from the terminal device 5, it returns a “network leave (address return) response” to the terminal device 5.

また、管理装置4は、図13に示す如く、アドレス管理テーブルから端末装置5のアドレスおよび端末装置5が備える通信デバイスのMACアドレスを削除するとともに、アドレスの最大値である「011」(2進数表記)が割り当てられていた端末装置14のアドレスを端末装置5に割り当てられていた「001」(2進数表記)に変更する。そして、管理装置4は、端末装置14に対してアドレスの変更要求を送信する。   Further, as shown in FIG. 13, the management device 4 deletes the address of the terminal device 5 and the MAC address of the communication device included in the terminal device 5 from the address management table, and “011” (binary number) which is the maximum value of the address. The address of the terminal device 14 to which “notation” is assigned is changed to “001” (binary notation) assigned to the terminal device 5. Then, the management device 4 transmits an address change request to the terminal device 14.

図14は、管理装置4からアドレス変更要求を送信する場合のデータフォーマットを示している。   FIG. 14 shows a data format when an address change request is transmitted from the management apparatus 4.

管理装置4は、アドレスモード21にはアドレスモード「3」を、ネットワークID22には管理対象ネットワーク7のネットワークID「1」を、送信先アドレス23には端末装置14を示す「011」(2進数表記)を、送信元アドレス24には管理装置4のアドレス「000」(2進数表記)を、コマンドタイプ25には、「アドレス変更要求」を挿入する。また、コマンドタイプ25が「アドレス変更要求」の場合は、データ26は変更後のアドレスを示すアドレス32からなる。管理装置4は、アドレス32には、変更後のアドレス「001」(2進数表記)を挿入する。   The management device 4 has an address mode “3” for the address mode 21, a network ID “1” of the managed network 7 for the network ID 22, and “011” (binary number) indicating the terminal device 14 for the destination address 23. Notation), the address “000” (binary notation) of the management apparatus 4 is inserted into the transmission source address 24, and “address change request” is inserted into the command type 25. When the command type 25 is “address change request”, the data 26 includes an address 32 indicating the address after the change. The management device 4 inserts the changed address “001” (binary notation) into the address 32.

端末装置14は、管理装置4からアドレス変更要求を受信すると、アドレス変更応
答を返信する。
When receiving the address change request from the management device 4, the terminal device 14 returns an address change response.

管理装置4は、アドレス管理テーブルを参照し、管理装置4が管理する端末装置の
台数が2台(端末装置6および端末装置14)であるのに対して、かかる2台の端末装置に割り当てているアドレスサイズが3ビットであることから、アドレスサイズを2ビットに縮減可能であると判定する。
The management device 4 refers to the address management table, and the number of terminal devices managed by the management device 4 is two (the terminal device 6 and the terminal device 14), but is allocated to the two terminal devices. Since the address size is 3 bits, it is determined that the address size can be reduced to 2 bits.

管理装置4は、図15に示す如く、アドレス管理テーブルの各端末装置のアドレスサイズを縮減し2ビットとし、端末装置6のアドレスを「10」(2進数表記)、端末装置14のあアドレスを「01」(2進数表記)とする。続いて、管理装置4は、全端末装置に対して、アドレスサイズを3ビットから2ビットへ変更するアドレスモード変更要求を、図8に示すのと同様のデータフォーマットでブロードキャスト送信する。   As shown in FIG. 15, the management device 4 reduces the address size of each terminal device in the address management table to 2 bits, sets the address of the terminal device 6 to “10” (binary notation), and sets the address of the terminal device 14 to “01” (binary notation). Subsequently, the management apparatus 4 broadcasts an address mode change request for changing the address size from 3 bits to 2 bits to all terminal apparatuses in the same data format as shown in FIG.

尚、端末装置5が、管理対象ネットワーク7から離脱する場合というのは、端末装置5が停止スイッチ等で停止させれた際に、シャットダウンの過程で離脱要求を送信する場合等が考えられるが、その他、管理装置4あるいは更に上位の監視装置2から例えば、監視装置2の表示画面等のユーザインターフェース上で、端末装置5を選択し、アドレスを無効化して以降の通信を行なわないようにして離脱させるというような指示がある場合が考えられる。この場合には、端末装置5からではなく、管理装置4が、離脱させるべき端末装置5に「アドレス無効化要求」のようなコマンドを送信し、端末装置5から該コマンドに対する応答を受け取った後、管理テーブルから端末装置5のアドレスを削除することとなる。
図16は、管理装置4が、新たな端末装置から管理対象ネットワーク7への参入要求を受信した場合、および管理対象ネットワーク7に属する端末装置から管理対象ネットワーク7からの離脱要求を受信した場合に行うの処理の流れを示すフローチャートを示している。
The case where the terminal device 5 leaves the management target network 7 may be a case where the terminal device 5 transmits a withdrawal request during the shutdown process when the terminal device 5 is stopped by a stop switch or the like. In addition, the terminal device 5 is selected on the user interface such as the display screen of the monitoring device 2 from the management device 4 or the higher-level monitoring device 2, and the address is invalidated and the subsequent communication is not performed so that the terminal device 5 is disconnected. There may be a case where there is an instruction such as In this case, after the management device 4 transmits a command such as an “address invalidation request” to the terminal device 5 to be disconnected, not from the terminal device 5, and receives a response to the command from the terminal device 5. The address of the terminal device 5 is deleted from the management table.
FIG. 16 illustrates a case where the management device 4 receives a request for entry into the management target network 7 from a new terminal device, and a case where a management device 4 receives a request to leave the management target network 7 from a terminal device belonging to the management target network 7. The flowchart which shows the flow of the process of performing is shown.

ステップS40において、管理装置4は、端末装置からの受信があるかどうかを判断し、受信がある場合はステップS41へ進み、そうでない場合はステップS53へ進む。   In step S40, the management device 4 determines whether there is reception from the terminal device. If there is reception, the management device 4 proceeds to step S41, and if not, proceeds to step S53.

ステップS41では、受信内容が管理対象ネットワーク7への参入要求であるかどうかを判断する。参入要求である場合には、ステップS42へ進み、そうでない場合はステップS46へ進む。   In step S41, it is determined whether or not the received content is a request to enter the management target network 7. If it is an entry request, the process proceeds to step S42; otherwise, the process proceeds to step S46.

ステップS42では、アドレス管理テーブルに未登録でアドレスの値が最小となる新規アドレスを生成してアドレス管理テーブルに追加登録し、ステップS43へ進む。   In step S42, a new address that is not registered in the address management table and has the smallest address value is generated and additionally registered in the address management table, and the process proceeds to step S43.

ステップS43では、アドレス追加の際に、アドレスサイズの伸長が必要であったかどうかを判断する。アドレスサイズの伸長が必要であった場合には、ステップS44へ進み、そうでない場合はステップS45へ進む。   In step S43, it is determined whether or not the address size needs to be expanded when the address is added. If it is necessary to expand the address size, the process proceeds to step S44, and if not, the process proceeds to step S45.

ステップS44では、アドレス管理テーブルで管理している全端末に対してブロードキャストによりアドレスサイズの伸長を通知する。   In step S44, the extension of the address size is notified by broadcast to all terminals managed in the address management table.

ステップS45では、参入要求があった端末へ新規アドレスを通知し、ステップS53へ進む。   In step S45, the new address is notified to the terminal that has requested entry, and the process proceeds to step S53.

ステップS46では、受信内容が管理対象ネットワーク7からの離脱要求であるかどうかを判断する。離脱要求である場合には、ステップS48へ進み、そうでない場合はステップS47へ進む。   In step S46, it is determined whether or not the received content is a request to leave the management target network 7. If it is a withdrawal request, the process proceeds to step S48, and if not, the process proceeds to step S47.

ステップS47では、管理装置4は受信内容に応じたその他の処理を実行し、ステップS53へ進む。   In step S47, the management apparatus 4 executes other processing according to the received content, and proceeds to step S53.

ステップS48では、離脱要求のあった端末に対して離脱応答を通知し、ステップS49へ進む。ステップS49では、アドレス管理テーブルに登録されている最大のアドレス値が離脱要求のあった端末装置のアドレスの値より大きい場合には、ステップS50へ進み、そうでない場合はステップS53へ進む。   In step S48, a withdrawal response is notified to the terminal that has made a withdrawal request, and the process proceeds to step S49. In step S49, if the maximum address value registered in the address management table is larger than the value of the address of the terminal device that has requested to leave, the process proceeds to step S50, and if not, the process proceeds to step S53.

ステップS50では、アドレス値の最大値が割り当てられている端末装置のアドレスを離脱要求のあった端末装置のアドレスに変更して登録し、アドレス値の最大値が割り当てられていた端末装置にアドレスの変更を通知する。   In step S50, the address of the terminal device to which the maximum value of the address value is assigned is changed and registered to the address of the terminal device that requested the withdrawal, and the address of the terminal device to which the maximum value of the address value has been assigned is registered. Notify changes.

ステップS52では、アドレス管理テーブルに登録されている端末装置のアドレスのアドレスサイズが縮減可能かどうかを判断し、縮減可能であればステップS52へ進み、そうでない場合は、ステップS53へ進む。   In step S52, it is determined whether the address size of the address of the terminal device registered in the address management table can be reduced. If reduction is possible, the process proceeds to step S52, and if not, the process proceeds to step S53.

ステップS52では、アドレス管理テーブルに登録されている全端末装置に対してブロードキャストでアドレスの縮減を通知し、ステップS53へ進む。   In step S52, all terminal devices registered in the address management table are notified of address reduction by broadcast, and the process proceeds to step S53.

ステップS53では、端末装置の管理を終了するかどうかを判断し、終了する場合は、端末を管理するためのプログラムを終了し、そうでなければステップS40へ戻る。   In step S53, it is determined whether or not the terminal device management is to be ended. If the terminal device management is to be ended, the program for managing the terminal is ended; otherwise, the process returns to step S40.

以上のように、本発明にかかる管理装置4は、端末装置から新たに管理対象ネットワーク4への参入要求がある場合には、該端末装置のための新規のアドレスを生成し、アドレス管理テーブルへ登録する。この際、アドレス管理テーブルに登録され、管理対象ネットワーク7に属することとなる端末装置の台数に基づいて、アドレスサイズを伸長する必要があるかを判断し、伸長の必要がある場合にはさらに適切なアドレスサイズを決定する。そして、管理装置4は、管理対象ネットワーク4に属する全端末装置に対してアドレスサイズの変更要求をブロードキャストで通知し、続いて新たに参入する端末装置に対して、アドレスサイズ、該端末装置に割り当てられるアドレスを通知する。   As described above, the management device 4 according to the present invention generates a new address for the terminal device when there is a new entry request to the management target network 4 from the terminal device, and enters the address management table. sign up. At this time, it is determined whether it is necessary to expand the address size based on the number of terminal devices registered in the address management table and belonging to the management target network 7. The correct address size. Then, the management device 4 broadcasts a request for changing the address size to all terminal devices belonging to the managed network 4, and subsequently assigns the address size and the terminal device to newly entered terminal devices. The address to be sent.

他方、管理装置4は、管理対象ネットワーク7に属している端末装置から、管理対象ネットワーク7からの離脱要求がある場合には、該端末に離脱を承認するネットワーク離脱応答を送信する。   On the other hand, when there is a withdrawal request from the management target network 7 from a terminal device belonging to the management target network 7, the management device 4 transmits a network departure response that approves the withdrawal to the terminal.

さらに管理装置4は、離脱する端末装置のアドレスが、アドレス管理テーブルに登録されているアドレス値の最大値より小さい場合には、該最大値が割り当てられている端末装置のアドレスを離脱する端末装置のアドレスに変更し、該最大値が割り当てられている端末装置にアドレスの変更を通知する。   Further, when the address of the terminal device to leave is smaller than the maximum value of the address value registered in the address management table, the management device 4 leaves the address of the terminal device to which the maximum value is assigned. The address change is notified to the terminal device to which the maximum value is assigned.

また、アドレス管理テーブルに登録されている端末装置のアドレスのアドレスサイズが縮減可能かどうかを判断し、縮減の必要がある場合には適切なアドレスサイズを決定する。   Further, it is determined whether or not the address size of the terminal device address registered in the address management table can be reduced. If reduction is necessary, an appropriate address size is determined.

このように、管理装置4は、自身が管理する管理対象ネットワーク7に属する端末装置の台数に応じて、端末装置に割り当てるアドレスのサイズを変更することにより送受信するデータサイズを適切なサイズとすることにより、余分なデータサイズを含むデータの送受信を無くし、データ通信に要する消費電力を軽減することができる。   In this way, the management device 4 sets the data size to be transmitted / received to an appropriate size by changing the size of the address assigned to the terminal device according to the number of terminal devices belonging to the managed network 7 managed by the management device 4. Thus, transmission / reception of data including an excessive data size can be eliminated, and power consumption required for data communication can be reduced.

尚、管理対象ネットワーク13における管理装置8についても同様である。   The same applies to the management device 8 in the management target network 13.

また、本発明の各部構成は上記実施の形態に限らず、特許請求の範囲に記載の技術的範囲内で種々の変形が可能である。   Moreover, each part structure of this invention is not restricted to the said embodiment, A various deformation | transformation is possible within the technical scope as described in a claim.

本実施の形態に係る遠隔監視システムの構成を示す図である。It is a figure which shows the structure of the remote monitoring system which concerns on this Embodiment. 管理装置4が備えるアドレス管理テーブルを示す図である。It is a figure which shows the address management table with which the management apparatus 4 is provided. 管理装置及び端末装置間で送受信されるデータフォーマットの一例を示す図である。It is a figure which shows an example of the data format transmitted / received between a management apparatus and a terminal device. 管理装置及び端末装置間で送受信されるデータフォーマットの一例を示す図である。It is a figure which shows an example of the data format transmitted / received between a management apparatus and a terminal device. 端末装置14が管理対象ネットワーク7に新たに参入する場面を示す図である。It is a figure which shows the scene where the terminal device 14 newly enters the management object network 7. FIG. 管理装置及び端末装置間で送受信されるデータフォーマットの一例を示す図である。It is a figure which shows an example of the data format transmitted / received between a management apparatus and a terminal device. 管理装置4が備えるアドレス管理テーブルを示す図である。It is a figure which shows the address management table with which the management apparatus 4 is provided. 管理装置及び端末装置間で送受信されるデータフォーマットの一例を示す図である。It is a figure which shows an example of the data format transmitted / received between a management apparatus and a terminal device. 管理装置及び端末装置間で送受信されるデータフォーマットの一例を示す図である。It is a figure which shows an example of the data format transmitted / received between a management apparatus and a terminal device. 管理装置及び端末装置間で送受信されるデータフォーマットの一例を示す図である。It is a figure which shows an example of the data format transmitted / received between a management apparatus and a terminal device. 端末装置5が管理対象ネットワーク7から離脱する場面を示す図である。It is a figure which shows the scene where the terminal device 5 detaches | leaves from the management object network. 管理装置及び端末装置間で送受信されるデータフォーマットの一例を示す図である。It is a figure which shows an example of the data format transmitted / received between a management apparatus and a terminal device. 管理装置4が備えるアドレス管理テーブルを示す図である。It is a figure which shows the address management table with which the management apparatus 4 is provided. 管理装置及び端末装置間で送受信されるデータフォーマットの一例を示す図である。It is a figure which shows an example of the data format transmitted / received between a management apparatus and a terminal device. 管理装置4が備えるアドレス管理テーブルを示す図である。It is a figure which shows the address management table with which the management apparatus 4 is provided. 管理装置4が、端末装置からデータを受信した場合の処理を示すフローチャートを示す図である。It is a figure which shows the flowchart which shows the process when the management apparatus 4 receives data from a terminal device.

符号の説明Explanation of symbols

1 遠隔監視システム
2 監視装置
3 ネットワーク網
4 管理装置
5 端末装置
6 端末装置












DESCRIPTION OF SYMBOLS 1 Remote monitoring system 2 Monitoring apparatus 3 Network network 4 Management apparatus 5 Terminal apparatus 6 Terminal apparatus












Claims (10)

1又は2以上の端末装置との間で、該端末装置を識別するための識別情報を含むデータの送信及び/又は受信を行う通信手段と、
該通信手段が通信すべき端末装置である通信端末装置の台数を計数する計数手段と、
該計数手段により計数された前記通信端末装置の台数に応じて前記通信端末装置を識別するための通信端末識別情報のビットサイズを決定するビットサイズ決定手段と、
を備えた、端末管理装置。
A communication means for transmitting and / or receiving data including identification information for identifying the terminal device with one or more terminal devices;
Counting means for counting the number of communication terminal devices, which are terminal devices with which the communication means should communicate;
Bit size determining means for determining the bit size of the communication terminal identification information for identifying the communication terminal apparatus according to the number of the communication terminal apparatuses counted by the counting means;
A terminal management device comprising:
前記ビットサイズ決定手段は、前記通信端末識別情報のビットサイズが最小となるように、該ビットサイズを決定する請求項1記載の端末管理装置。 The terminal management apparatus according to claim 1, wherein the bit size determining means determines the bit size so that the bit size of the communication terminal identification information is minimized. 前記通信端末装置に前記通信端末識別情報を付与する識別情報付与手段と、
前記通信端末装置の前記通信端末識別情報を登録するための識別情報記憶手段と、
該識別情報記憶手段に前記通信端末識別情報を登録する端末情報登録手段と、
を備えた請求項1または2に記載の端末管理装置
Identification information giving means for giving the communication terminal identification information to the communication terminal device;
Identification information storage means for registering the communication terminal identification information of the communication terminal device;
Terminal information registration means for registering the communication terminal identification information in the identification information storage means;
The terminal management apparatus according to claim 1 or 2, further comprising:
前記識別情報付与手段は、前記通信端末装置に前記通信端末識別情
報を付与する場合は、
前記識別情報記憶手段に未登録の通信端末識別情報のうちで、通信端末識別情報の値が最小となるような通信端末識別情報を付与する請求項3に記載の端末管理装置。
In the case where the identification information giving means gives the communication terminal identification information to the communication terminal device,
The terminal management apparatus according to claim 3, wherein communication terminal identification information that minimizes the value of the communication terminal identification information among the unregistered communication terminal identification information in the identification information storage unit is provided.
前記識別情報記憶手段から通信端末識別情報を削除する端末情報削除手段をさらに備え、
前記識別情報付与手段は、前記端末情報削除手段によって前記識別情報記憶手段から第1の通信端末装置の通信端末識別情報が削除された場合であって、
第1の通信端末装置の通信端末識別情報の値が、前記識別情報記憶手段に登録されているその他の通信端末装置の通信端末識別情報のうち通信端末識別情報の値が最大である第2の通信端末装置の通信端末識別情報の値より小さい場合には、
前記第2の通信端末装置の通信端末識別情報を前記第1の通信端末装置の通信端末識別情報に置き換える請求項4に記載の端末管理装置。
Terminal information deletion means for deleting communication terminal identification information from the identification information storage means,
The identification information giving means is a case where the communication terminal identification information of the first communication terminal device is deleted from the identification information storage means by the terminal information deletion means,
The value of the communication terminal identification information of the first communication terminal apparatus is the second of the communication terminal identification information values of the communication terminal identification information of other communication terminal apparatuses registered in the identification information storage means. When smaller than the value of the communication terminal identification information of the communication terminal device,
The terminal management device according to claim 4, wherein communication terminal identification information of the second communication terminal device is replaced with communication terminal identification information of the first communication terminal device.
コンピュータを、
1又は2以上の端末装置との間で、該端末装置を識別するための識別情報を含むデータの送信及び/又は受信を行う通信手段、
該通信手段が通信すべき通信端末装置の台数を計数する計数手段、
該計数手段により計数された前記通信端末装置の台数に応じて前記通信端末装置を識別するための通信端末識別情報のビットサイズを決定するビットサイズ決定手段、
として機能させることを特徴とする端末管理プログラム。
Computer
A communication means for transmitting and / or receiving data including identification information for identifying the terminal device with one or more terminal devices;
Counting means for counting the number of communication terminal devices with which the communication means should communicate;
Bit size determining means for determining the bit size of the communication terminal identification information for identifying the communication terminal apparatus according to the number of the communication terminal apparatuses counted by the counting means;
A terminal management program that functions as a device.
前記ビットサイズ決定手段は、前記通信端末識別情報のビットサイズが最小となるように、該ビットサイズを決定する請求項1記載の端末管理プログラム。 The terminal management program according to claim 1, wherein the bit size determining means determines the bit size so that the bit size of the communication terminal identification information is minimized. コンピュータをさらに、
前記通信端末装置に前記通信端末識別情報を付与する識別情報付与手段、
前記通信端末装置の前記通信端末識別情報を登録するための識別情報記憶手段、
該識別情報記憶手段に前記通信端末識別情報を登録する端末情報登録手段、
として機能させることを特徴とする請求項1または2に記載の端末管理プログラム。
Computer
Identification information giving means for giving the communication terminal identification information to the communication terminal device;
Identification information storage means for registering the communication terminal identification information of the communication terminal device;
Terminal information registration means for registering the communication terminal identification information in the identification information storage means;
The terminal management program according to claim 1, wherein the terminal management program is functioned as:
前記識別情報付与手段は、前記通信端末装置に前記通信端末識別情報を付与する場合は、
前記識別情報記憶手段に未登録の通信端末識別情報のうちで、通信端末識別情報の値が最小となるような通信端末識別情報を付与することを特徴とする請求項8に記載の端末管理プログラム。
In the case where the identification information giving means gives the communication terminal identification information to the communication terminal device,
9. The terminal management program according to claim 8, wherein communication terminal identification information that minimizes the value of the communication terminal identification information among the unregistered communication terminal identification information in the identification information storage unit is provided. .
コンピュータをさらに、
前記識別情報記憶手段から通信端末識別情報を削除する端末情報削除手段として機能させ、
前記識別情報付与手段は、前記端末情報削除手段によって前記識別情報記憶手段から第1の通信端末装置の通信端末識別情報が削除された場合であって、
第1の通信端末装置の通信端末識別情報の値が、前記識別情報記憶手段に登録されているその他の通信端末装置の通信端末識別情報のうち通信端末識別情報の値が最大である第2の通信端末装置の通信端末識別情報の値より小さい場合には、
前記第2の通信端末装置の通信端末識別情報を前記第1の通信端末装置の通信端末識別情報に置き換えることを特徴とする請求項9に記載の端末管理プログラム。




















































Computer
Function as terminal information deletion means for deleting communication terminal identification information from the identification information storage means,
The identification information giving means is a case where the communication terminal identification information of the first communication terminal device is deleted from the identification information storage means by the terminal information deletion means,
The value of the communication terminal identification information of the first communication terminal apparatus is the second of the communication terminal identification information values of the communication terminal identification information of other communication terminal apparatuses registered in the identification information storage means. When smaller than the value of the communication terminal identification information of the communication terminal device,
The terminal management program according to claim 9, wherein communication terminal identification information of the second communication terminal apparatus is replaced with communication terminal identification information of the first communication terminal apparatus.




















































JP2004377010A 2004-12-27 2004-12-27 Device and program for terminal management Pending JP2006186579A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004377010A JP2006186579A (en) 2004-12-27 2004-12-27 Device and program for terminal management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004377010A JP2006186579A (en) 2004-12-27 2004-12-27 Device and program for terminal management

Publications (1)

Publication Number Publication Date
JP2006186579A true JP2006186579A (en) 2006-07-13

Family

ID=36739367

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004377010A Pending JP2006186579A (en) 2004-12-27 2004-12-27 Device and program for terminal management

Country Status (1)

Country Link
JP (1) JP2006186579A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008109527A (en) * 2006-10-26 2008-05-08 Kyocera Corp Cellular phone system, portable terminal, server, and telephone number setting method
WO2008105196A1 (en) * 2007-02-28 2008-09-04 Sharp Kabushiki Kaisha Communication system, communication device, communication terminal, and communication setting method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008109527A (en) * 2006-10-26 2008-05-08 Kyocera Corp Cellular phone system, portable terminal, server, and telephone number setting method
WO2008105196A1 (en) * 2007-02-28 2008-09-04 Sharp Kabushiki Kaisha Communication system, communication device, communication terminal, and communication setting method
JP2008219071A (en) * 2007-02-28 2008-09-18 Sharp Corp Communication system, communication device, communication terminal, and communication setting method
US8290466B2 (en) 2007-02-28 2012-10-16 Sharp Kabushiki Kaisha Communication system, communication device, communication terminal, and communication setting method

Similar Documents

Publication Publication Date Title
EP2428868B1 (en) Printer Wake-up using a proxy
US10620691B2 (en) Data processing apparatus, information processing method, and storage medium
CN101578832B (en) For the apparatus and method to wireless device transfer system state information change
JP4586906B2 (en) Wireless communication apparatus, program, wireless communication method, and wireless communication system
EP4152854A1 (en) Information sending method, resource processing method, apparatus, and electronic device
AU2021269599B2 (en) Information transmission method and apparatus, and electronic device
JP2004336716A (en) Path mtu discovery system and method for ad-hoc network
CN108306796B (en) Intelligent home system, and information processing method and device of intelligent home equipment
CN104320347B (en) A kind of method and apparatus for actively updating LLDP
JP2017098762A (en) Relay communication system, relay station and relay method
US8456671B2 (en) Communication system, information storage device, management device, and terminal device
JP2006186579A (en) Device and program for terminal management
CN109413180B (en) Data acquisition method, system and equipment and storage medium
JP2012129651A (en) Communication device, communication system, control method, and program
EP3550893B1 (en) Power saving modes
KR101189805B1 (en) method for recognizing radio Frequency identification tag reader and apparatus thereof
KR100408917B1 (en) Method of transmitting information on mobile broadcasting service using CBS
KR102443628B1 (en) Electronic apparatus and control method thereof
KR101876636B1 (en) Apparatus and Method for transmitting/receiving message
JP2001330294A (en) Central control system for air conditioner
WO2017183386A1 (en) Information processing device, information processing method and program
CN118075340A (en) IPC registration method, device and equipment for network camera
CN102368208A (en) Master and slave node distribution method and device for splicing unit
KR100679017B1 (en) Method and apparatus for display of IP address of Access Point
JP2015194790A (en) communication terminal