Nothing Special   »   [go: up one dir, main page]

WO2013145241A1 - Terminal device, communication system and packet transmission system - Google Patents

Terminal device, communication system and packet transmission system Download PDF

Info

Publication number
WO2013145241A1
WO2013145241A1 PCT/JP2012/058465 JP2012058465W WO2013145241A1 WO 2013145241 A1 WO2013145241 A1 WO 2013145241A1 JP 2012058465 W JP2012058465 W JP 2012058465W WO 2013145241 A1 WO2013145241 A1 WO 2013145241A1
Authority
WO
WIPO (PCT)
Prior art keywords
packet
terminal
received
terminal device
flooding
Prior art date
Application number
PCT/JP2012/058465
Other languages
French (fr)
Japanese (ja)
Inventor
中野 亮
悠一 五十嵐
松井 進
和也 門田
原田 諭
Original Assignee
株式会社日立製作所
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 株式会社日立製作所 filed Critical 株式会社日立製作所
Priority to PCT/JP2012/058465 priority Critical patent/WO2013145241A1/en
Publication of WO2013145241A1 publication Critical patent/WO2013145241A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/32Flooding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • H04W40/28Connectivity information management, e.g. connectivity discovery or connectivity update for reactive routing

Definitions

  • the present invention relates to a terminal device, a communication system, and a packet transfer method, and more particularly to packet transfer control in a communication system.
  • the arrival of the packet at the destination can be achieved by taking measures such as (1) checking the existence of the terminal on the route before transmission, or (2) performing retransmission several times. Achieve rate improvement.
  • measures such as (1) checking the existence of the terminal on the route before transmission, or (2) performing retransmission several times. Achieve rate improvement.
  • other problems such as the occurrence of delay also occur.
  • flooding improves the arrival rate to the destination by transferring packets using multiple routes.
  • the terminal that received the packet performs rebroadcast, the traffic volume increases rapidly.
  • packets are transferred to terminals that do not require relaying, communication with other terminals is hindered.
  • Patent Document 1 sets the probability that the terminal that received the packet will execute the transfer, and sets the probability value individually based on the location information of each terminal.
  • a terminal that receives a packet performs rebroadcast with a probability of 100%.
  • the number of relay terminals is reduced by setting the transfer probability to 80% or the like.
  • the transfer probability of the terminal that exists in the direction where packet transfer is not required based on the position information it is possible to ensure directivity for packet transfer and realize transfer within a local area. You can also.
  • the present invention has been made in view of the above, and reduces the number of relay terminals while maintaining the arrival rate when flooding is used, and partially ensures efficient packet transfer to a destination by ensuring directivity for transfer. In a typical area.
  • the present invention has the following configuration.
  • a terminal that receives a flooding packet from a source terminal or a relay terminal waits for a certain period of time until the received packet is transferred (rebroadcast) to a neighboring terminal.
  • the same number of hops to the destination is called the same layer, a layer having a small number of hops is defined as an upper layer, and a layer having a large number of hops is defined as a lower layer. If the same packet is received from another terminal located in the same layer as the own terminal during the standby time, the reception counter is incremented by 1, and if received from another terminal located higher in the hierarchy than the own terminal, the reception counter is set to x It increases by (x: an integer value of 1 or more).
  • the receiving terminal stops packet transfer when the value of the reception counter reaches a threshold value during the waiting time.
  • This threshold is set for each hierarchy, and is set so that the value becomes smaller as the hierarchy is higher.
  • the reception counter reaches the threshold only by receiving from a terminal located in the same layer without receiving a packet from the upper layer terminal, the same packet from the upper layer even if a certain period of time elapses after transfer stop If the packet cannot be received, the transfer cancellation is canceled and the packet is transferred to the neighboring terminal. In this way, if it can be determined that a neighboring terminal in the same layer has sufficiently transferred to the upper layer, or if it can be confirmed that the transfer has been performed up to the upper layer, the transfer to the destination can be stopped by stopping the transfer. The number of relay terminals is reduced while maintaining the packet arrival rate, and the directivity is ensured for transfer.
  • the problem described above includes a reception counter for each flooding packet received from another terminal device, and the reception counter is counted every time the flooding packet is received from a terminal device whose hop count to the destination is the same as or smaller than that of the terminal device.
  • a terminal device further comprising a communication processing unit.
  • the terminal device includes a reception counter for each flooding packet received from another terminal device.
  • the reception counter updates the counter value every time the flooding packet is received from a terminal device having the same or smaller number of hops to the destination as its own terminal device, and the communication device determines whether the flooding packet can be transferred,
  • a communication system further including a packet transfer control unit that is determined based on a threshold value set for the number of hops to the destination, and a communication processing unit that transmits a flooding packet based on the determination of the packet transfer control unit.
  • a packet transfer control unit that determines a reception counter for each flooding packet received from another terminal device, and whether or not the forwarding of the flooding packet is based on a counter value and a threshold value set in the number of hops to the destination;
  • a packet transfer method in a terminal device further comprising a communication processing unit for transmitting a flooding packet based on the determination of the control unit, wherein the flooding packet is received from a terminal device having the same or smaller hop count to the destination
  • the packet transfer method comprising the bets can be achieved.
  • the number of relay terminals is reduced while maintaining the arrival rate when flooding is used, and efficient packet transfer to the destination is realized in a partial area by ensuring directivity for transfer.
  • the network system 100 includes a management node 300 and hierarchically configured terminals 200.
  • a terminal 200-11 and a terminal 200-12 are connected to the management node 300.
  • the terminal 200-11 is connected to a terminal 200-21 and a terminal 200-22 at a lower level.
  • the terminal 200-21 is connected to a terminal 200-31 and a terminal 200-32 at a lower level.
  • the connection relationship of the terminal 200 is as illustrated.
  • m of the terminal 200-mn is a hierarchy
  • n is a serial number in the same hierarchy.
  • the communication system 100 in FIG. 1 has a tree structure topology in which the terminals 200 are connected in a manner that branches from the root management node 300.
  • the number of terminals in each layer is larger in the lower layer.
  • the terminal 200 is an embedded device having a communication function with the management node 300 or another terminal 200.
  • the terminal 200 includes a microcomputer 201, a clock generation circuit 208, a power supply circuit 209, and a transmission / reception circuit 210.
  • the microcomputer 201 is composed of a ROM 202 and a RAM 207.
  • the microcomputer 201 is connected to the clock generation circuit 208, the power supply circuit 209, and the transmission / reception circuit 210.
  • the ROM 202 is a storage device including a read-only semiconductor memory.
  • the ROM 202 includes a central control unit 203, a communication processing unit 204, a route management unit 205, and a packet transfer control unit 206.
  • the ROM 202 is connected to the RAM 207.
  • the central control unit 203 controls execution of programs in the ROM 202.
  • the central control unit 203 is connected to the communication processing unit 204 and the route management unit 205.
  • the communication processing unit 204 realizes transmission / reception processing in communication. Specifically, the communication processing unit 204 performs packet assembly processing such as transmission destination designation at the time of transmission. The communication processing unit 204 performs packet analysis processing such as determination of whether or not the packet is addressed to the own terminal at the time of reception.
  • the communication processing unit 204 is connected to the central control unit 203 and the packet transfer control unit 206.
  • the route management unit 205 manages a route in communication between terminals in the network. The route management unit 205 is connected to the central control unit 203.
  • the RAM 207 is a storage device such as a rewritable semiconductor memory element.
  • the RAM 207 is used as a transmission / reception buffer for communication.
  • the RAM 207 is connected to the ROM 202.
  • the clock generation circuit 208 generates a clock used by the microcomputer 201 and the transmission / reception circuit 210.
  • the clock generation circuit 208 is connected to the power supply circuit 209, the microcomputer 201, and the transmission / reception circuit 210.
  • the power supply circuit 209 supplies power to the terminal itself.
  • the power supply circuit 209 is connected to the clock generation circuit 208, the microcomputer 201, and the transmission / reception circuit 210.
  • the transmission / reception circuit 210 transmits and receives signals.
  • the transmission / reception circuit 210 is connected to the clock generation circuit 208, the power supply circuit 209, and the microcomputer 201.
  • the RF peripheral circuit corresponds to the transmission / reception circuit 210.
  • the packet transfer control unit 206 determines whether or not to transfer a packet received from another terminal according to a process described later. Note that the terminal 200 may be an independent device instead of an embedded device.
  • the management node 300 communicates with the terminal 200 and collects data.
  • the management node 300 includes a microcomputer 201, a clock generation circuit 208, a power supply circuit 209, and a transmission / reception circuit 210.
  • the microcomputer 201 includes a ROM 202A and a RAM 207.
  • the microcomputer 201 is connected to the clock generation circuit 208, the power supply circuit 209, and the transmission / reception circuit 210.
  • the ROM 202 includes a central control unit 203, a communication processing unit 204, and a route management unit 205.
  • the hardware configuration of the management node 300 is the same as that of the terminal 200 except that the packet transfer control unit 206 is not installed.
  • the management node 300 may include an external network connection circuit when a function for using an external network such as Ethernet (registered trademark), WiFi (registered trademark), an optical line, or a telephone network is necessary.
  • a packet 400 includes a header 401 and a payload 402.
  • the header 401 includes a destination address 403, a final destination address 404, a transmission source address 405, a transmission source address 406, a flooding ID 407, and a transmission source terminal hierarchy number 408.
  • packet length and TTL Time To Live
  • the header configuration is not particularly limited as long as it includes fields equivalent to the destination address 403 to the number of layers 408.
  • the header configuration may be a header including a MAC header and an IP header.
  • the destination address 403 is a field that describes a destination address or ID in communication between links.
  • the identifier of the terminal of the address or ID described in this field is made to conform to the method adopted in the communication system 100. If it is identified by an IP address, a MAC address or a unique ID, the ID may be described.
  • an address or ID indicating flooding is written in the destination address 403. When described in the MAC address, it corresponds to “FF: FF: FF: FF: FF: FF”.
  • the final destination address 404 is a field that describes the final destination address or ID of the packet.
  • the source address 405 is a field that describes the address or ID of the terminal that relayed the packet.
  • the source address 406 is a field that describes the address or ID of the source terminal of the packet.
  • the packet ID 407 is a field that describes an ID used for packet identification. The packet ID 407 is described by the source terminal. The sequence number used in the IP header corresponds to the packet ID.
  • the transmission source terminal hierarchy number 409 describes the transmission source terminal hierarchy number when the transmission source terminal transmits a packet.
  • the number of layers of the relay terminal is described in the number of layers 409 of the transmission source terminal.
  • the packet is transferred with a value of 2 written in the field of the number of layers 409 of the transmission source terminal.
  • the receiving terminal of a packet grasps
  • the communication processing unit 204 analyzes the received packet and confirms the field of the number of layers 409 of the transmission source terminal.
  • the payload 402 stores application data 409 to be transmitted.
  • the application data 409 is a message such as a battery exhaustion.
  • step 501 is processing for storing application data to be transmitted in the payload 402. Specifically, when an abnormality occurrence notification packet is transmitted, the content of the abnormality that has occurred is described in the payload 402.
  • Step 502 is a process for assembling a packet by writing necessary information in each field of the header 401 and attaching the header 401 to the payload 402. Specifically, it is as follows.
  • an address or ID indicating flooding is entered. As described above, “FF: FF: FF: FF: FF: FF” is described when the MAC address is used. An address or ID indicating the final destination of the flooding packet is described in the final destination address 404 field. If the management node 300 is the final destination, the address or ID of the management node 300 is described.
  • the address or ID of the terminal is entered.
  • the address or ID of the own terminal is described.
  • the packet ID 407 an ID unique to the packet is described so that it can be distinguished from other packets.
  • the number of layers in which the terminal is located is described in the field of the number of layers 408 of the transmission source terminal.
  • Step 503 is a process for transmitting the packet assembled up to Step 502 by flooding. This transmission processing is performed by the transmission / reception circuit 210, and the flowchart of FIG.
  • step 601 is a process of copying the application data of the received packet to be transferred to the payload 402.
  • step 602 is a process for assembling the packet by copying the header of the received packet and overwriting the field that needs to be rewritten.
  • the fields that need to be overwritten are as follows.
  • the field of the layer number 408 of the transmission source terminal is rewritten to the number of layers where the own terminal is located.
  • a field such as TTL is provided as in the packet transmission procedure of the source terminal, necessary information is copied or overwritten in the header before proceeding to step 603.
  • the TTL value is updated by decrementing in this step 602. Processing related to packet assembly up to this point is performed by the communication processing unit 204.
  • Step 603 is a process of transmitting the packet assembled up to Step 602 by flooding.
  • the transmission process is performed by the transmission / reception circuit 210, and the flowchart of FIG.
  • step 701 indicates that a flooding packet has been received from a source terminal or a relay terminal and reception processing has started.
  • Step 702 is processing for starting standby after receiving a packet until the received packet is transferred to a neighboring terminal.
  • the terminal that has received the flooding packet waits for a certain period of time until the received packet is transferred to the neighboring terminal.
  • the received terminal starts standby from step 702 and proceeds to step 703. Note that this standby time is not necessarily the same for all terminals, and the standby time may be changed according to the number of neighboring terminals.
  • a specific operation in step 702 is to start a timer.
  • Step 703 is processing for determining whether or not a new packet has been received. If a packet has been received (YES), the process proceeds to step 704, and if not received (NO), the process proceeds to step 713.
  • Step 704 is a process for determining whether the packet received in Step 703 is the same packet received in Step 701. This determination is performed by determining whether both the source address 406 and the packet ID 407 have the same value as the packet received in step 701. If the values of both fields are the same as the packet received in step 701, it is determined that they are the same packet. If it is determined that the packets are the same (YES), the process proceeds to step 706. If they are not the same packet (NO), the process proceeds to step 705.
  • Step 705 is processing for storing the packet received in step 703 in the reception buffer.
  • the receiving terminal receives a plurality of different packets, and a plurality of processes in FIG. 7 or FIG. Therefore, it is necessary to store the received packet in a buffer and perform identity determination with other received packets in each process. In order to realize this, the received packet is stored in the buffer in this step.
  • Step 706 is a process for determining whether or not the packet received in step 703 is received from a terminal in the same hierarchy as the own terminal. Specifically, the determination is made with reference to the value described in the field of the number of layers 408 of the transmission source terminal. If received from a terminal in the same hierarchy (YES), the process proceeds to step 707; otherwise (NO), the process proceeds to step 708.
  • Step 707 is a process of incrementing the reception counter for the packet received in step 701 by one.
  • each terminal holds a reception counter for each received packet and stores a reception counter value. Then, when the reception counter reaches a predetermined threshold, transfer of the received packet is stopped. Details will be described later in later steps.
  • Step 708 is a process for determining whether or not the packet received in step 703 is received from a terminal located higher in the hierarchy than the own terminal. This determination is also made by referring to the field of the number of layers 408 of the transmission source terminal as in step 706. If the packet is received from an upper layer terminal, the process proceeds to step 709; otherwise, the process proceeds to step 713.
  • Step 709 is a process of setting a flag indicating that the received packet has been received from a terminal higher than the own terminal. In this way, each terminal holds a flag indicating whether or not the received packet has been received from the upper layer terminal even once for each received packet.
  • Step 710 is a process for incrementing the reception counter for the same packet as that received in Step 701 by x. If the packet received in step 703 is received from a terminal in the same layer, the counter value is incremented by 1 in step 707, but the addition value x in this process is an arbitrary integer of 1 or more. It is a numerical value and can be set as a parameter. The smaller the value of x, the lower the probability that the reception counter will reach the threshold within the transfer waiting time, so the number of packet relay terminals will increase, but on the other hand, more packets will be transferred to the upper layer. become. Therefore, it is possible to improve the packet arrival rate to the management node 300. Specifically, in a network environment where the packet loss rate is extremely high, the value of x is set to be small when it is desired to reliably deliver a packet such as an abnormality notification to the management node.
  • the reception counter reaches the threshold value immediately after receiving the same packet as received at step 701 from the upper layer terminal.
  • the transfer will be canceled.
  • the arrival rate is somewhat lower than when the value of x is set to be smaller than the threshold value, but at least one of the terminals located in the upper layer receives the packet.
  • the transfer is stopped. Therefore, the number of relay terminals can be reduced, and the influence on other terminals in flooding can be further reduced.
  • the lower layer terminal that receives the packet from the upper layer stops the packet transfer, the directivity from the lower layer to the upper layer can be ensured for the packet transfer.
  • the flooding packet can be transferred to the management node without interfering with the communication of a terminal located in a lower layer that does not require relaying.
  • a larger effect can be obtained in terms of reducing the number of relay terminals and the like by setting the value of the addition value x large in this way.
  • Step 711 is processing for determining whether or not the reception counter updated in Step 707 or Step 710 has reached a predetermined threshold value.
  • the threshold value of this reception counter is set for each hierarchy, and is set so that the value becomes smaller as the hierarchy is higher. That is, when a threshold value given to a terminal having a hop count of 1 from the management node is defined as a1 and a threshold value given to a terminal having a hop count of 2 is defined as a2..., The threshold value is set so that the relational expression a1 ⁇ a2 ⁇ . To do.
  • This threshold is determined based on the number of layers in which each terminal is located or topology information, and the determination method is not limited to one.
  • the threshold increases linearly with the number of hops from the management node.
  • the threshold determination method is determined based on the topology structure or the like, and does not depend on a specific application.
  • step 707 and step 710 As a result of updating the reception counter in step 707 and step 710, if the counter value is equal to or greater than the threshold value (YES), the process proceeds to step 712. If the counter value is less than the threshold value (NO), the process proceeds to step 713.
  • Step 712 is a process for stopping the transfer of the packet received in Step 703. Thereafter, the flowchart of FIG. 7 ends. The description related to this transfer cancellation process will be described in detail with reference to FIG.
  • Step 713 is a process of determining whether or not a predetermined standby time has elapsed from step 702 as a starting point. If the standby time has timed out (YES), the process proceeds to step 714, and if the standby time still remains (NO), the process returns to step 703.
  • Step 714 is a process of transferring the packet received in step 701 to the neighboring terminal according to the process of FIG.
  • Step 715 is a process for setting a flag indicating that the packet has been transferred. Thus, each terminal holds a flag indicating whether or not the packet has been transferred for each received packet. After performing the flag processing, the flowchart of FIG.
  • the terminal that has received the flooding packet waits for a certain period of time until transfer is performed.
  • the transfer is stopped when the reception counter value reaches the threshold value.
  • the transfer is stopped to the management node.
  • the number of relay terminals is reduced while maintaining a high packet arrival rate, and directivity in packet transfer is ensured by adjusting the added value x.
  • the terminal cancels the transfer cancellation and determines whether or not to transfer the received packet to the neighboring terminal according to the flowchart of FIG.
  • a terminal in which the flag described in step 709 in FIG. 7 indicating that it has been received from a higher-layer terminal is not set. That is, a terminal whose reception counter reaches a threshold value only by receiving from the same layer without receiving a packet from a terminal of higher layer is targeted. This is because, when a packet is received from an upper layer terminal and the transfer is stopped, it is obvious that the packet has already been transferred to the upper layer.
  • step 802 is processing for determining whether or not a flag indicating that the packet has been received from the upper layer is down. If the flag is down (YES), the process proceeds to step 803, and if the flag is set (NO), the process returns.
  • Step 803 is processing to start waiting until transfer cancellation cancellation is rejected.
  • Step 803 is specifically a timer start. Similar to the transfer waiting time described with reference to FIG. 7, each terminal waits for a certain period of time before deciding to cancel the transfer cancellation. This waiting time is not necessarily the same in all terminals. The terminal starts standby from step 803 and proceeds to step 804.
  • Step 804 is processing for determining whether or not a new packet has been received. If a packet has been received (YES), the process proceeds to step 805, and if not received (NO), the process proceeds to step 808.
  • Step 805 is processing for determining whether the packet received in Step 804 is the same packet as the packet received in Step 701 of FIG. This determination is made by referring to the values of the source address 406 and the packet ID 407. If it is determined that the packet is the same (YES), the process proceeds to step 807. If the packet is not the same (NO), the process proceeds to step 806.
  • Step 806 is processing to store the packet received in step 804 in the reception buffer.
  • Step 807 is processing for determining whether or not the packet received in step 804 is received from a higher-layer terminal than the own terminal. Whether or not the packet is received from an upper layer terminal is determined by referring to the field of the layer number 408 of the transmission source terminal in the received packet. If it is received from an upper layer terminal (YES), the process returns; otherwise (NO), the process proceeds to step 808.
  • Step 808 is a process of determining whether or not a predetermined standby time has elapsed from Step 803 as a starting point. If the waiting time has timed out (YES), the process proceeds to step 809. If the waiting time still remains (NO), the process returns to step 804.
  • Step 809 is a process of canceling the transfer stop in step 801 and transferring the packet for which transfer was stopped.
  • Step 810 is a process for setting a flag indicating that the packet has been transferred. It returns after this flag processing.
  • the packet management table 900 includes a packet ID 901, a reception counter 902, a reception flag 903 from an upper layer terminal, and a transfer completed flag 904.
  • the packet ID 901 is a field that describes an ID for identifying the packet. Specifically, the ID described in the packet ID 407 is copied from the header of the received packet.
  • the reception counter 902 is a field for recording a reception counter value for the received packet. In step 707 and step 710 of FIG. 7, the value of the field is updated.
  • a reception flag 903 from a higher layer terminal is a field that describes a flag indicating whether or not the packet has been received at least once from a higher layer terminal than the own terminal.
  • the flag processing in step 709 in FIG. 7 and the flag reference processing in step 802 in FIG. 8 are realized by updating and referring to the value of this field.
  • the transfer completed flag 904 is a field that describes a flag indicating whether or not the packet has been transferred.
  • the flag processing in step 715 in FIG. 7 and step 810 in FIG. 8 is realized by updating the value of this field. If the same packet as the packet for which the flag of this field is set is received, it can be seen that the packet has been transferred in the past, and thus processing such as discarding the packet is realized. Note that the configuration of the packet management table is not limited to the configuration of FIG. 9, and if there is other information to be stored by the terminal, fields may be added as appropriate.
  • the packet transfer control will be described with reference to FIG.
  • packet transfer in terminal 200-21, terminal 200-22, and terminal 200-23 with the number of hierarchies 2, and terminal 200-11 and management node 300 with the number of hierarchies of 1 will be described.
  • the threshold value of the reception counter is set to the same value as the number of layers.
  • the threshold value of the terminal 200-21, the terminal 200-22, and the terminal 200-23 having the number of layers of 2 is 2.
  • the threshold value of the terminal 200-11 having the number of layers of 1 is 1.
  • each terminal 200 performs packet reception processing (S1001, S1003, S1005), and then starts waiting for a certain period of time (S1002, S1004, S1006).
  • the terminal 200-23 Since the terminal 200-23 has not received the same packet and the transfer standby time has elapsed, the terminal 200-23 performs packet transmission processing after the standby time has timed out (S1007), and transfers the packet. Then, this packet reaches terminal 200-11, terminal 200-22, and terminal 200-21, and each terminal performs packet reception processing (S1008, S1010, S1011). At this time, since the terminal 200-11 has received the packet for the first time, the terminal 200-11 starts waiting for transfer for a certain time after the packet reception process (S1009). For the terminals 200-21 and 200-22, the same packet is received from the terminal 200-23 of the same layer during the transfer standby, so that the reception counter is incremented by 1, respectively.
  • the terminal 200-22 received the same packet once from the terminal 200-23 of the same number of layers during the transfer standby time, but the reception counter has not reached the threshold value, so that the packet transmission processing is performed after the standby time has timed out. (S1012), the packet is transferred. This packet reaches terminal 200-11, terminal 200-23, and terminal 200-21, and each terminal performs packet reception processing (S1013, S1014, S1015). Terminal 200-11 does not update the reception counter because it has received a packet from terminal 200-22 located at a lower hierarchy than the terminal 200-11. However, since the terminal 200-21 is receiving from the same layer, the reception counter is incremented by 1 again. Also, since the terminal 200-23 has already transferred the packet, no particular control is performed.
  • the terminal 200-21 receives the same packet from the two terminals 200-22 and 200-23 already located in the same layer during the transfer waiting time, and the reception counter reaches 2 which is a threshold value. Therefore, the transfer cancellation process is performed (S1016). Since the terminal 200-21 has stopped the transfer without receiving the packet even from the upper layer terminal, the terminal 200-21 starts waiting for the transfer cancellation to be determined in order to determine whether or not the transfer cancellation can be canceled (S1017).
  • the terminal 200-11 After that, the terminal 200-11 performs the packet transmission process (S1018) and transfers the packet because the transfer waiting time has timed out without the reception counter reaching the threshold value. As a result, the packet reaches the neighboring terminal 200-23, terminal 200-22, and terminal 200-21 including the destination management node 300, and each terminal performs reception processing (S1019, S1020, S1021, and S1022).
  • the terminal 200-21 since the terminal 200-21 received the packet from the terminal 200-11 located at a higher layer than the own terminal during the waiting time for canceling the transfer cancellation, the terminal 200-21 makes a transfer cancellation cancellation rejection (S1022). The process for determining whether or not to cancel is terminated.
  • the terminal 200-21 may receive the packet.
  • the terminal 200-21 may receive the packet after the transfer cancellation canceling process. Packet transfer to.
  • the tree structure topology as shown in FIG. 1 has been described as an example.
  • the topology assumed in the present embodiment is not limited to the tree structure.
  • the description has been made assuming flooding addressed to the management node.
  • each terminal knows the number of hops to a certain destination, the number of hops to the destination can be regarded as a hierarchy.
  • this embodiment can be applied.
  • Example 1 is an example that assumes a topology in which the number of terminals located in each layer increases as it goes down as shown in FIG.
  • the second embodiment an embodiment assuming a topology in which the number of terminals located in each layer is almost the same will be described. Specifically, when one terminal is installed in each room of an apartment for the purpose of AMI or the like, it is possible to form the topology assumed in the second embodiment.
  • the communication system 100 ⁇ / b> A includes a management node 300 and a plurality of terminals 200.
  • the terminal 200-2n connects the terminal 200-3n to the lower level.
  • the terminal 200-3n connects the terminal 200-4n to the lower level.
  • the communication system 100A has a topology configuration in which the number of terminals located in each layer is almost the same regardless of the number of layers.
  • Hardware configuration of the terminal 200 and the management node 300 according to the second embodiment (FIGS. 2 and 3), a packet configuration (FIG. 4), a transmission procedure of flooding packets between the source terminal and the relay terminal (FIGS. 5 and 6), The procedure for determining whether to cancel transfer cancellation (FIG. 8) and the table structure (FIG. 9) relating to packets are the same as in the first embodiment.
  • the threshold value of the reception counter used in step 711 in FIG. 7 is preferably determined by a method different from that of the first embodiment.
  • a topology is assumed in which the number of terminals located in each layer increases as it goes to the lower layer as shown in FIG. 1, so that the threshold value increases linearly with the number of hops from the management node. showed that.
  • the threshold ai is set to the number 1 for the hop number i. The method etc. are mentioned.
  • Equation 1 the bracket-like symbols included in Equation 1 are ceiling functions, which are functions that round up the decimal point.
  • the values in parentheses in Example 2 in Table 1 are values before sealing.
  • Example 1 and Example 2 are examples that assume transfer of application data packets such as notification of occurrence of abnormality.
  • the third embodiment will be described with respect to an embodiment in which it is assumed that the route construction packet is delivered to the management node.
  • AODV Ad hoc On-Demand Distance Vector
  • a terminal newly entering the network transmits a packet called RREQ (Route REQuest) by flooding and sends it to the management node.
  • Route construction is implemented by delivering.
  • the third embodiment describes a transfer control method when a RREQ packet is transmitted to the management node 300 by flooding when a route is constructed by AODV.
  • FIG. 1 the communication system according to the third embodiment (FIG. 1 or FIG. 11), the hardware configuration of the terminal and the management node (FIGS. 2 and 3), the procedure for determining whether transfer cancellation can be canceled (FIG. 8), and the configuration of the packet management table (FIG. 9) is the same as that of Example 1 and Example 2.
  • FIG. 8 the procedure for determining whether transfer cancellation can be canceled
  • FIG. 9 the configuration of the packet management table
  • the RREQ packet configuration is the same as the packet configuration in FIG. 4 except that information is described in the payload 402 portion in FIG. 4 according to the RREQ message format defined in RFC3561.
  • the terminal newly entering the network does not belong to any layer at the time of assembling the RREQ packet, the number of layers of the own terminal cannot be described in the field of the number of layers 408 of the transmission source terminal in FIG. . Therefore, for the RREQ source terminal, the maximum value that can be described in this field is described. This maximum value depends on the bit length assigned to the field of the layer number 408 of the transmission source terminal.
  • the transmission flow and contents of the RREQ packet between the source terminal and the relay terminal are the same as those shown in FIGS.
  • information according to the format of the RREQ message defined in RFC3561 is described in the payload 402 in step 501 in FIG. 5 or step 601 in FIG.
  • the relay terminal not only copies the RREQ message part of the payload 402, but also updates the hop number field in a form that conforms to the AODV operation.
  • the source terminal stores the maximum value that can be described in the field of the number of layers 408 of the source terminal in step 502 of FIG.
  • the contents of the processing are all the same as in FIG.
  • the threshold value of the reception counter used in step 711 in FIG. 7 is added to the link cost obtained by quantifying the link quality between terminals or the path cost obtained by quantifying the route quality from the terminal to the management node. decide.
  • a method of calculating the threshold value ai according to Equation 2 with i being the number of hops from the terminal that received the RREQ packet to the management node, Pcost being Pcost, and any integer value of 1 or more being n is conceivable.
  • the lower the path cost (in other words, the better the quality, the lower the Pcost), that is, the higher the value of the threshold value, the higher the value of the threshold value becomes. It is possible to transfer more RREQ packets.
  • the link cost and the path cost are calculated based on an RSSI (Received Signal Strength Indication) value of the received radio wave.
  • the link cost has a value greater than 0 and less than 1.
  • the path cost is calculated as the sum of the link costs from the terminal to the management node.
  • the link cost or path cost is not limited to this calculation method, but may be calculated by another method.
  • Embodiments 1 to 3 are embodiments having only one reception counter and one threshold for each received packet.
  • a reception counter A that counts the number of times the same packet is received from a terminal in the same layer as the own terminal
  • a reception counter B that counts the number of times the same packet is received from a terminal in the upper layer. This is an embodiment having two counters.
  • Example 4 Communication System (FIG. 1 or FIG. 11), Terminal and Management Node Hardware Configuration (FIGS. 2 and 3), Packet Configuration (FIG. 4), Transmission Procedure of Flooding Packets of Originating Terminal and Relay Terminal (FIG. 5 and FIG. 6) is the same as that of Example 1 thru
  • FIG. 1 or FIG. 11 Terminal and Management Node Hardware Configuration
  • FIG. 4 Packet Configuration
  • a procedure in which a terminal that receives a flooding packet determines whether or not to transfer the received packet is described.
  • processing steps 1201 and 1202 after determining that the same packet is received from the terminal of the same layer in step 706 during the transfer waiting time, This is only processing after determining that the same packet is received from the upper layer terminal in step 708 (steps 1203 and 1204).
  • two reception counters a reception counter A that counts the number of times the same packet is received from a terminal in the same layer and a reception counter B that counts the number of times that the same packet is received from a terminal in an upper layer, are received packets. Hold every time.
  • a threshold value for determining whether to stop packet transfer is separately given to each reception counter. That is, the threshold value ai of the reception counter A and the threshold value bi of the reception counter B are set for the terminal having the number of layers i. If it is determined in step 706 that the packet received in step 703 is received from the terminal of the same layer under the reception counters A and B and the threshold values ai and bi, step 1201 is performed. The reception counter A is incremented by 1. Thereafter, it is determined in step 1202 whether the value of the reception counter A is equal to or greater than the threshold value ai. If the threshold value ai has been reached, the process proceeds to step 712A, and if it is less than the threshold value ai, the process proceeds to step 713.
  • step 708 if it is determined in step 708 that the packet received in step 703 is received from a higher layer terminal, the reception counter B is incremented by 1 in step 1203.
  • a flag indicating that it has been received from an upper layer as in step 709 of FIG. 7 is not held.
  • step 1204 it is determined whether or not the value of the reception counter B is greater than or equal to the threshold value bi. If the threshold value bi has been reached, the process proceeds to step 712A, and if it is less than the threshold value ai, the process proceeds to step 713.
  • the spread of flooding packets relayed on the topology changes by adjusting the magnitudes of the threshold values ai and bi. For this reason, desired directivity can be secured for packet transfer.
  • the values of the threshold values ai and bi are determined based on the topology structure or the desired directivity.
  • the setting method is not limited to a specific method.
  • step 1301 is different from the flowchart of FIG.
  • the flag indicating that it has been received from the upper layer terminal is determined in step 802, but in step 1301 of FIG. 13, it is determined whether the value of the reception counter B is 0, and the counter If the value is 0, the process proceeds to step 803; otherwise, the flowchart of FIG. 13 is terminated. If the value of the reception counter B is greater than 0, it is obvious that at least once the packet has been received from the upper layer terminal and the transfer has been canceled. The flowchart of FIG. 13 ends. This is the reason why the flag used in step 709 in FIG.
  • the packet management table 900A includes a packet ID 901, a reception counter A1401, a reception counter B1402, and a transferred flag 904.
  • the packet ID 901 and the transferred flag 904 are fields similar to those used in the first to third embodiments.
  • fields of reception counter A 1401 and reception counter B 1402 are provided in the table.
  • the reception flag 903 from the upper layer terminal in FIG. 9 is not necessary, it is not necessary to provide the field in the packet management table 900A in FIG.
  • DESCRIPTION OF SYMBOLS 100 Communication system, 200 ... Terminal, 201 ... Microcomputer, 202 ... ROM, 203 ... Central control part, 204 ... Communication processing part, 205 ... Path management part, 206 ... Packet transfer control part, 207 ... RAM, 208 ... Clock generation Circuit 209 power supply circuit 210 transmission / reception circuit 300 management node 401 header header 402 403 destination address 404 destination address 405 source address 406 source address 407 source address 407 Packet ID, 408 ... Number of layers of transmission source terminal, 409 ... Application data, 900 ... Packet management table, 901 ... Packet ID, 902 ... Reception counter, 903 ... Reception flag from upper layer terminal, 904 ... Transfer completed flag, 1401... Reception counter A, 1402.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

In a communication system, when flooding packets are being transmitted in respect of a given destination, the number of relay terminals is cut, while maintaining the arrival rate when flooding is employed: thus efficient transmission can be achieved in a partial area by securing directionality in transmission. If a terminal receives flooding packets, this terminal stands by for a fixed time before transmitting the received packets. If, during this standby period, the first-mentioned terminal receives the same packets from another terminal in respect of which the number of hops to the destination is the same as or smaller than the number of hops in respect of the same packets received by the first-mentioned terminal, the first-mentioned terminal updates the received count value in relation to the packets in question. A threshold value is set for each number of hops to the destination. If the received count value reaches the threshold value, transmission of the packets in question is disabled. If, during transmission standby, transmission has been disabled but the packets in question have not been received even once from a terminal in respect of which the number of hops to the destination is smaller than this first-mentioned terminal, if these packets cannot be received from a terminal in respect of which the number of hops to the destination is smaller than this first-mentioned terminal during a fixed period after such disablement, the transmission disablement is cancelled and transmission is performed.

Description

端末装置、通信システムおよびパケット転送方法Terminal apparatus, communication system, and packet transfer method
本発明は、端末装置、通信システムおよびパケット転送方法に係り、特に通信システムにおけるパケット転送制御に関する。 The present invention relates to a terminal device, a communication system, and a packet transfer method, and more particularly to packet transfer control in a communication system.
 ネットワーク利用の普及および多様化が進む中で、遠隔検針(AMI:Advanced Metering Infrastructure)およびセンサネットワーク等の分野で、特定の管理ノードにデータを収集する形態を持つネットワークが構築される場面が数多く存在する。このネットワークでは、限定的なエリアで部分停電などの異常が発生した場合、管理ノードに対して異常発生通知パケットを確実に届ける必要がある。また、管理ノードにパケットを届ける際には、異常が発生していないエリアに存在する端末の通信を極力妨害しないようにパケットを転送する必要がある。 As the use and diversification of network progresses, there are many situations where networks with a form to collect data at specific management nodes are constructed in fields such as remote meter reading (AMI: Advanced Metering Infrastructure) and sensor networks. To do. In this network, when an abnormality such as a partial power failure occurs in a limited area, it is necessary to reliably send an abnormality notification packet to the management node. Further, when delivering a packet to the management node, it is necessary to transfer the packet so as not to disturb as much as possible communication of a terminal existing in an area where no abnormality has occurred.
 無線または電力線通信(PLC:Power Line Communication)を用いて通信を行なう場合、電波状況の変化またはノイズなどの影響によって、事前構築していた管理ノードまでの経路が送信時に利用可能であるかどうかは不確定である。よって、管理ノード宛に異常発生通知パケットを確実に届けるためには、ユニキャストでは不十分である。 If communication is performed using wireless or power line communication (PLC: Power 経 路 Line Communication), whether or not the route to the management node that has been constructed in advance can be used at the time of transmission due to changes in radio wave conditions or noise. Indeterminate. Therefore, unicast is not sufficient for reliably delivering the abnormality occurrence notification packet to the management node.
 ユニキャストでパケットを送信する場合、(1)経路上の端末に対して送信前に生存確認を行なう、(2)再送を複数回実施する、などの対策を講じる事で、宛先へのパケット到達率向上を実現する。しかし、遅延発生等の別の問題も発生してしまう。 When sending a packet by unicast, the arrival of the packet at the destination can be achieved by taking measures such as (1) checking the existence of the terminal on the route before transmission, or (2) performing retransmission several times. Achieve rate improvement. However, other problems such as the occurrence of delay also occur.
 一方、フラッディングは、複数の経路を利用しながらパケットを転送する事で、宛先への到達率向上を実現する。しかし、パケットを受信した端末が再ブロードキャストを行なうため、トラヒック量が急激に増加する。また、中継が不必要な端末にもパケットが転送される事で、他端末の通信を妨害してしまう。 On the other hand, flooding improves the arrival rate to the destination by transferring packets using multiple routes. However, since the terminal that received the packet performs rebroadcast, the traffic volume increases rapidly. In addition, since packets are transferred to terminals that do not require relaying, communication with other terminals is hindered.
 そこで、特許文献1は、パケットを受信した端末が転送を実行する確率を設定し、その確率値を各端末の位置情報等を基に個別に設定する。単純なフラッディングの場合、パケットを受信した端末は100%の確率で再ブロードキャストを行なう。しかし、特許文献1では、転送確率を80%等に設定する事で中継端末数を削減する。さらに位置情報に基づき、パケット転送の必要が無い方角に存在する端末の転送確率を0%に設定する事で、パケット転送に指向性を確保し、局所的なエリア内での転送を実現する事もできる。 Therefore, Patent Document 1 sets the probability that the terminal that received the packet will execute the transfer, and sets the probability value individually based on the location information of each terminal. In the case of simple flooding, a terminal that receives a packet performs rebroadcast with a probability of 100%. However, in Patent Document 1, the number of relay terminals is reduced by setting the transfer probability to 80% or the like. Furthermore, by setting the transfer probability of the terminal that exists in the direction where packet transfer is not required based on the position information to 0%, it is possible to ensure directivity for packet transfer and realize transfer within a local area. You can also.
特開2010-219572号公報JP 2010-219572 A
 しかし、特許文献1のように端末の転送確率を設定して中継端末数を削減する場合、宛先にパケットが届く前に転送が中断される確率も存在する。従って、確実に宛先にパケットを届ける必要がある場合は、確率に基づく制御は適していない。 However, when the terminal transfer probability is set and the number of relay terminals is reduced as in Patent Document 1, there is a probability that the transfer is interrupted before the packet reaches the destination. Therefore, when it is necessary to reliably deliver a packet to a destination, control based on probability is not suitable.
 本発明は、上記に鑑みてなされたものであり、フラッディング使用時の到達率を維持しつつ中継端末数を削減し、転送に指向性を確保する事で宛先への効率的なパケット転送を部分的なエリア内で実現する。 The present invention has been made in view of the above, and reduces the number of relay terminals while maintaining the arrival rate when flooding is used, and partially ensures efficient packet transfer to a destination by ensuring directivity for transfer. In a typical area.
 上記課題を解決するために、本発明では以下の構成を備える。フラッディングパケットを発信元端末または中継端末から受信した端末は、受信パケットを近隣端末に転送(再ブロードキャスト)するまで一定時間待機する。宛先までのホップ数が同一である事を同一階層と呼び、ホップ数が小さい階層を上位階層、ホップ数が大きい階層を下位階層と定義する。待機時間中に自端末と同一階層に位置する他端末から同一パケットを受信した場合は受信カウンタを1だけ増加し、自端末よりも上位階層に位置する他端末から受信した場合は受信カウンタをx(x:1以上の整数値)だけ増加する。受信端末は、受信カウンタの値が待機時間中に閾値に達した場合に、パケットの転送を中止する。この閾値は階層毎に設定し、上位階層である程、値が小さくなるように設定する。また、上位階層の端末からパケットを一度も受信する事無く、同一階層に位置する端末からの受信のみで受信カウンタが閾値に達した場合、転送中止後に一定時間経過しても上位階層から同一パケットを受信できなければ、転送中止を解除して近隣端末に当該パケットを転送する。このように、同一階層の近隣端末が上位階層に対して十分転送を行なったと判断できる場合または、上位階層まで転送されている事を確認できた場合に転送を中止させる事で、宛先への高いパケット到達率を維持しつつ中継端末数を削減し、転送に指向性を確保する。 In order to solve the above problems, the present invention has the following configuration. A terminal that receives a flooding packet from a source terminal or a relay terminal waits for a certain period of time until the received packet is transferred (rebroadcast) to a neighboring terminal. The same number of hops to the destination is called the same layer, a layer having a small number of hops is defined as an upper layer, and a layer having a large number of hops is defined as a lower layer. If the same packet is received from another terminal located in the same layer as the own terminal during the standby time, the reception counter is incremented by 1, and if received from another terminal located higher in the hierarchy than the own terminal, the reception counter is set to x It increases by (x: an integer value of 1 or more). The receiving terminal stops packet transfer when the value of the reception counter reaches a threshold value during the waiting time. This threshold is set for each hierarchy, and is set so that the value becomes smaller as the hierarchy is higher. In addition, if the reception counter reaches the threshold only by receiving from a terminal located in the same layer without receiving a packet from the upper layer terminal, the same packet from the upper layer even if a certain period of time elapses after transfer stop If the packet cannot be received, the transfer cancellation is canceled and the packet is transferred to the neighboring terminal. In this way, if it can be determined that a neighboring terminal in the same layer has sufficiently transferred to the upper layer, or if it can be confirmed that the transfer has been performed up to the upper layer, the transfer to the destination can be stopped by stopping the transfer. The number of relay terminals is reduced while maintaining the packet arrival rate, and the directivity is ensured for transfer.
 上述した課題は、他の端末装置から受信したフラッディングパケット毎に受信カウンタを備え、受信カウンタは、宛先までのホップ数が自端末装置と同一または小さい端末装置から当該フラッディングパケットを受信する度にカウンタ値を更新し、フラッディングパケットの転送可否について、カウンタ値と宛先までのホップ数に設定する閾値とに基づいて決定するパケット転送制御部と、パケット転送制御部の決定に基づいて、フラッディングパケットを送信する通信処理部とを更に備える端末装置により、達成できる。 The problem described above includes a reception counter for each flooding packet received from another terminal device, and the reception counter is counted every time the flooding packet is received from a terminal device whose hop count to the destination is the same as or smaller than that of the terminal device. Update the value and send the flooding packet based on the packet transfer control unit that determines whether the forwarding of the flooding packet is possible based on the counter value and the threshold value set for the number of hops to the destination. This can be achieved by a terminal device further comprising a communication processing unit.
 また、複数の階層を構成する複数の端末装置と、端末装置の1台と通信する管理ノードとを備える通信システムにおいて、端末装置は、他の端末装置から受信したフラッディングパケット毎に受信カウンタを備え、受信カウンタは、宛先までのホップ数が自端末装置と同一または小さい端末装置から当該フラッディングパケットを受信する度にカウンタ値を更新し、通信装置は、フラッディングパケットの転送可否について、カウンタ値と、宛先までのホップ数に設定する閾値とに基づいて決定するパケット転送制御部と、パケット転送制御部の決定に基づいて、フラッディングパケットを送信する通信処理部とを更に備える通信システムにより、達成できる。 Further, in a communication system including a plurality of terminal devices constituting a plurality of hierarchies and a management node that communicates with one of the terminal devices, the terminal device includes a reception counter for each flooding packet received from another terminal device. The reception counter updates the counter value every time the flooding packet is received from a terminal device having the same or smaller number of hops to the destination as its own terminal device, and the communication device determines whether the flooding packet can be transferred, This can be achieved by a communication system further including a packet transfer control unit that is determined based on a threshold value set for the number of hops to the destination, and a communication processing unit that transmits a flooding packet based on the determination of the packet transfer control unit.
 さらに、他の端末装置から受信したフラッディングパケット毎に受信カウンタと、フラッディングパケットの転送可否について、カウンタ値と宛先までのホップ数に設定する閾値とに基づいて決定するパケット転送制御部と、パケット転送制御部の決定に基づいて、フラッディングパケットを送信する通信処理部とを更に備える端末装置におけるパケット転送方法であって、宛先までのホップ数が自端末装置と同一または小さい端末装置からフラッディングパケットを受信したときに、受信カウンタのカウンタ値を更新するステップと、予め定めた期間においてカウンタ値と宛先までのホップ数に設定する閾値とを比較するステップと、カウンタ値が閾値未満かつ予め定めた期間が満了したとき、フラッディングパケットを転送するステップとを含むパケット転送方法により、達成できる。 A packet transfer control unit that determines a reception counter for each flooding packet received from another terminal device, and whether or not the forwarding of the flooding packet is based on a counter value and a threshold value set in the number of hops to the destination; A packet transfer method in a terminal device further comprising a communication processing unit for transmitting a flooding packet based on the determination of the control unit, wherein the flooding packet is received from a terminal device having the same or smaller hop count to the destination A step of updating the counter value of the reception counter, a step of comparing the counter value with a threshold value set for the number of hops to the destination in a predetermined period, and a predetermined period when the counter value is less than the threshold value The step that forwards the flooding packet when it expires. The packet transfer method comprising the bets can be achieved.
 通信システムにおいて、フラッディング使用時の到達率を維持しつつ中継端末数を削減し、転送に指向性を確保する事で宛先への効率的なパケット転送を部分的なエリア内で実現する。 In a communication system, the number of relay terminals is reduced while maintaining the arrival rate when flooding is used, and efficient packet transfer to the destination is realized in a partial area by ensuring directivity for transfer.
通信システムの構成を説明するブロック図である。It is a block diagram explaining the structure of a communication system. 端末のハードウェアブロック図である。It is a hardware block diagram of a terminal. 管理ノードのハードウェアブロック図である。It is a hardware block diagram of a management node. パケットのフォーマットである。Packet format. 発信元端末がフラッディングパケットを送信する処理のフローチャートである。It is a flowchart of the process which a transmission origin terminal transmits a flooding packet. 中継端末がフラッディングパケットを送信する処理のフローチャートである。It is a flowchart of the process which a relay terminal transmits a flooding packet. フラッディングパケットを受信した端末の転送可否を決定する処理のフローチャートである。It is a flowchart of the process which determines the transfer propriety of the terminal which received the flooding packet. 転送を中止した端末の中止解除の可否を決定する処理のフローチャートである。It is a flowchart of the process which determines whether the cancellation | release cancellation | release cancellation of the terminal which stopped transfer is possible. パケット管理テーブルの構成を説明する図である。It is a figure explaining the structure of a packet management table. パケット転送のシーケンス図である。It is a sequence diagram of packet transfer. 他の通信システムの構成を説明するブロック図である。It is a block diagram explaining the structure of another communication system. フラッディングパケットを受信した端末における転送可否を決定する他の処理のフローチャートである。It is a flowchart of the other process which determines the propriety of transfer in the terminal which received the flooding packet. 転送を中止した端末における中止解除の可否を決定する他の処理のフローチャートである。It is a flowchart of the other process which determines whether cancellation cancellation is possible in the terminal which canceled transfer. 他のパケット管理テーブルの構成を説明する図である。It is a figure explaining the structure of another packet management table.
 以下、本発明の実施の形態について、実施例を用い、図面を参照しながら詳細に説明する。なお、実質同一部位には同じ参照番号を振り、説明は繰り返さない。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings using examples. The same reference numerals are assigned to substantially the same parts, and the description will not be repeated.
 図1を参照して、通信システムの構成を説明する。図1において、ネットワークシステム100は、管理ノード300と、階層構成された端末200とから構成されている。管理ノード300には、端末200-11と、端末200-12とが接続されている。端末200-11は、その下位に端末200-21と、端末200-22とが接続されている。端末200-21は、その下位に端末200-31と、端末200-32とが接続されている。端末200の接続関係は、図示の通りである。ここで、端末200-mnのmは階層、nは同一階層での追番である。 The configuration of the communication system will be described with reference to FIG. In FIG. 1, the network system 100 includes a management node 300 and hierarchically configured terminals 200. A terminal 200-11 and a terminal 200-12 are connected to the management node 300. The terminal 200-11 is connected to a terminal 200-21 and a terminal 200-22 at a lower level. The terminal 200-21 is connected to a terminal 200-31 and a terminal 200-32 at a lower level. The connection relationship of the terminal 200 is as illustrated. Here, m of the terminal 200-mn is a hierarchy, and n is a serial number in the same hierarchy.
 図1の通信システム100は、根となる管理ノード300から枝分かれするような形で端末200が接続するツリー構造のトポロジである。通信システム100では、階層ごとの端末数は、下位層ほど多い。 The communication system 100 in FIG. 1 has a tree structure topology in which the terminals 200 are connected in a manner that branches from the root management node 300. In the communication system 100, the number of terminals in each layer is larger in the lower layer.
 図2を参照して、端末のハードウェア構成を説明する。端末200は、管理ノード300または他の端末200との通信機能を有する組込み機器である。図2において、端末200は、マイコン201と、クロック生成回路208と、電源回路209と、送受信回路210とから構成されている。マイコン201は、ROM202と、RAM207とから構成されている。マイコン201は、クロック生成回路208と、電源回路209と、送受信回路210と接続されている。 Referring to FIG. 2, the hardware configuration of the terminal will be described. The terminal 200 is an embedded device having a communication function with the management node 300 or another terminal 200. In FIG. 2, the terminal 200 includes a microcomputer 201, a clock generation circuit 208, a power supply circuit 209, and a transmission / reception circuit 210. The microcomputer 201 is composed of a ROM 202 and a RAM 207. The microcomputer 201 is connected to the clock generation circuit 208, the power supply circuit 209, and the transmission / reception circuit 210.
 ROM202は、読み出し専用の半導体メモリなどから構成される記憶装置である。ROM202は、中央制御部203と、通信処理部204と、経路管理部205と、パケット転送制御部206とから構成されている。ROM202は、RAM207と接続されている。中央制御部203は、ROM202の内のプログラムの実行を制御する。中央制御部203は、通信処理部204と、経路管理部205とに接続されている。 The ROM 202 is a storage device including a read-only semiconductor memory. The ROM 202 includes a central control unit 203, a communication processing unit 204, a route management unit 205, and a packet transfer control unit 206. The ROM 202 is connected to the RAM 207. The central control unit 203 controls execution of programs in the ROM 202. The central control unit 203 is connected to the communication processing unit 204 and the route management unit 205.
 通信処理部204は、通信における送受信処理を実現する。具体的には、通信処理部204は、送信する際の送信宛先指定等のパケット組立て処理を行なう。通信処理部204は、受信する際の自端末宛のパケットか否かの判断等を始めとしたパケット解析処理を行なう。通信処理部204は、中央制御部203と、パケット転送制御部206とに接続されている。経路管理部205は、ネットワーク内の端末間の通信における経路を管理する。経路管理部205は、中央制御部203と接続されている。 The communication processing unit 204 realizes transmission / reception processing in communication. Specifically, the communication processing unit 204 performs packet assembly processing such as transmission destination designation at the time of transmission. The communication processing unit 204 performs packet analysis processing such as determination of whether or not the packet is addressed to the own terminal at the time of reception. The communication processing unit 204 is connected to the central control unit 203 and the packet transfer control unit 206. The route management unit 205 manages a route in communication between terminals in the network. The route management unit 205 is connected to the central control unit 203.
 RAM207は、書き換え可能な半導体メモリ素子などの記憶装置である。RAM207は、通信における送受信バッファなどに利用する。RAM207は、ROM202と接続されている。クロック生成回路208は、マイコン201および送受信回路210で利用するクロックを生成する。クロック生成回路208は、電源回路209と、マイコン201と、送受信回路210と接続されている。 The RAM 207 is a storage device such as a rewritable semiconductor memory element. The RAM 207 is used as a transmission / reception buffer for communication. The RAM 207 is connected to the ROM 202. The clock generation circuit 208 generates a clock used by the microcomputer 201 and the transmission / reception circuit 210. The clock generation circuit 208 is connected to the power supply circuit 209, the microcomputer 201, and the transmission / reception circuit 210.
 電源回路209は、端末自体への電源を供給する。電源回路209は、クロック生成回路208と、マイコン201と、送受信回路210とに接続されている。送受信回路210は、信号の送信および受信を行なう。送受信回路210は、クロック生成回路208と、電源回路209と、マイコン201とに接続されている。無線通信を行なう場合、RF周辺回路が送受信回路210に該当する。パケット転送制御部206は、後述の処理に従って、他端末から受信したパケットを転送するか否かを決定する。なお、端末200は、組み込み機器でなく独立した装置であっても良い。 The power supply circuit 209 supplies power to the terminal itself. The power supply circuit 209 is connected to the clock generation circuit 208, the microcomputer 201, and the transmission / reception circuit 210. The transmission / reception circuit 210 transmits and receives signals. The transmission / reception circuit 210 is connected to the clock generation circuit 208, the power supply circuit 209, and the microcomputer 201. When performing wireless communication, the RF peripheral circuit corresponds to the transmission / reception circuit 210. The packet transfer control unit 206 determines whether or not to transfer a packet received from another terminal according to a process described later. Note that the terminal 200 may be an independent device instead of an embedded device.
 図3を参照して、管理ノードのハードウェア構成を説明する。管理ノード300は、端末200と通信を行ない、データ収集等を行なう。図3において、管理ノード300は、マイコン201と、クロック生成回路208と、電源回路209と、送受信回路210とから構成されている。マイコン201は、ROM202Aと、RAM207とから構成されている。マイコン201は、クロック生成回路208と、電源回路209と、送受信回路210と接続されている。ROM202は、中央制御部203と、通信処理部204と、経路管理部205とから構成されている。 The hardware configuration of the management node will be described with reference to FIG. The management node 300 communicates with the terminal 200 and collects data. In FIG. 3, the management node 300 includes a microcomputer 201, a clock generation circuit 208, a power supply circuit 209, and a transmission / reception circuit 210. The microcomputer 201 includes a ROM 202A and a RAM 207. The microcomputer 201 is connected to the clock generation circuit 208, the power supply circuit 209, and the transmission / reception circuit 210. The ROM 202 includes a central control unit 203, a communication processing unit 204, and a route management unit 205.
 管理ノード300のハードウェア構成は、パケット転送制御部206を搭載していない点を除いて端末200と同様のハードウェア構成である。管理ノード300は、Ethernet(登録商標)、WiFi(登録商標)、光回線、電話網等の外部ネットワークを利用するための機能が必要である場合、外部ネットワーク接続回路を搭載しても良い。 The hardware configuration of the management node 300 is the same as that of the terminal 200 except that the packet transfer control unit 206 is not installed. The management node 300 may include an external network connection circuit when a function for using an external network such as Ethernet (registered trademark), WiFi (registered trademark), an optical line, or a telephone network is necessary.
 図4を参照して、パケットの構成を説明する。図4において、パケット400は、ヘッダ401と、ペイロード402とから構成される。ヘッダ401は、宛先アドレス403と、最終宛先アドレス404と、送信元アドレス405と、発信元アドレス406と、フラッディングID407と、送信元端末の階層数408とから構成される。ただし、この他にもパケット長、TTL(Time To Live)などのフィールドが必要であれば、適宜ヘッダに追加しても良い。つまり、宛先アドレス403~階層数408と同等のフィールドを含むものであれば、ヘッダの構成は、特に限定されるものではない。ヘッダの構成は、MACヘッダとIPヘッダとから構成されるヘッダであっても良い。 Referring to FIG. 4, the packet configuration will be described. In FIG. 4, a packet 400 includes a header 401 and a payload 402. The header 401 includes a destination address 403, a final destination address 404, a transmission source address 405, a transmission source address 406, a flooding ID 407, and a transmission source terminal hierarchy number 408. However, if other fields such as packet length and TTL (Time To Live) are necessary, they may be added to the header as appropriate. That is, the header configuration is not particularly limited as long as it includes fields equivalent to the destination address 403 to the number of layers 408. The header configuration may be a header including a MAC header and an IP header.
 宛先アドレス403は、リンク間通信における宛先のアドレスまたはIDを記載するフィールドである。このフィールドに記載するアドレスまたはIDの端末の識別子は、通信システム100で採用している方式に準拠させる。IPアドレス、MACアドレスまたは独自のIDで識別しているのであれば、そのIDを記載しても良い。この時、フラッディングを行なう場合は、宛先アドレス403にフラッディングを表すアドレスまたはIDを記載する。MACアドレスで記載する場合は、”FF:FF:FF:FF:FF:FF”に該当する。 The destination address 403 is a field that describes a destination address or ID in communication between links. The identifier of the terminal of the address or ID described in this field is made to conform to the method adopted in the communication system 100. If it is identified by an IP address, a MAC address or a unique ID, the ID may be described. At this time, when performing flooding, an address or ID indicating flooding is written in the destination address 403. When described in the MAC address, it corresponds to “FF: FF: FF: FF: FF: FF”.
 最終宛先アドレス404は、当該パケットの最終的な宛先のアドレスまたはIDを記載するフィールドである。管理ノード宛のフラッディングパケットを送信する場合、最終宛先アドレス404に管理ノードのアドレスまたはIDを記載する。送信元アドレス405は、パケットを中継した端末のアドレスまたはIDを記載するフィールドである。発信元となる端末が送信する際に、送信元アドレス405に発信元端末のアドレスまたはIDを記載する。発信元アドレス406は、パケットの発信元端末のアドレスまたはIDを記載するフィールドである。パケットID407は、パケットの識別に用いるためのIDを記載するフィールドである。パケットID407は、発信元端末によって記載される。IPヘッダに用いられるシーケンス番号などがパケットIDに該当する。 The final destination address 404 is a field that describes the final destination address or ID of the packet. When transmitting a flooding packet addressed to the management node, the address or ID of the management node is described in the final destination address 404. The source address 405 is a field that describes the address or ID of the terminal that relayed the packet. When the terminal serving as the transmission source transmits, the address or ID of the transmission source terminal is described in the transmission source address 405. The source address 406 is a field that describes the address or ID of the source terminal of the packet. The packet ID 407 is a field that describes an ID used for packet identification. The packet ID 407 is described by the source terminal. The sequence number used in the IP header corresponds to the packet ID.
 送信元端末の階層数409は、発信元端末がパケットを送信する場合、発信元端末の階層数を記載する。中継端末がパケットを転送する場合、送信元端末の階層数409に中継端末の階層数を記載する。具体的には、端末200-22がパケットを中継する場合は、送信元端末の階層数409のフィールドに2という値を記載してパケットを転送する。このようにすることで、パケットの受信端末は送信元端末の階層数409を利用して、発信元または中継端末の階層数を把握する。具体的には、通信処理部204が受信パケットを解析し、送信元端末の階層数409のフィールドを確認する。確認後は、受信パケットの発信元または中継端末の階層数を参考にしながら、後述の処理にて受信パケットの転送可否を決定する。また、トポロジの変化によって、端末が位置する階層数が変化した場合は、隣接端末から受信したパケットの当該フィールドを参照する事で、階層数を更新する。
  ペイロード402は、送信するアプリケーションデータ409を格納する。アプリケーションデータ409は、具体的には、電池切れ等のメッセージである。
The transmission source terminal hierarchy number 409 describes the transmission source terminal hierarchy number when the transmission source terminal transmits a packet. When the relay terminal transfers a packet, the number of layers of the relay terminal is described in the number of layers 409 of the transmission source terminal. Specifically, when the terminal 200-22 relays a packet, the packet is transferred with a value of 2 written in the field of the number of layers 409 of the transmission source terminal. By doing in this way, the receiving terminal of a packet grasps | ascertains the hierarchy number of a transmission origin or a relay terminal using the hierarchy number 409 of a transmission source terminal. Specifically, the communication processing unit 204 analyzes the received packet and confirms the field of the number of layers 409 of the transmission source terminal. After the confirmation, whether or not the received packet can be transferred is determined by the process described later with reference to the hierarchy of the source of the received packet or the relay terminal. Further, when the number of layers in which the terminal is located changes due to a topology change, the number of layers is updated by referring to the corresponding field of the packet received from the adjacent terminal.
The payload 402 stores application data 409 to be transmitted. Specifically, the application data 409 is a message such as a battery exhaustion.
 図5を参照して、フラッディングパケットを送信する発信元端末のパケット送信手順を説明する。自端末が発信元となって、異常発生通知等のパケットをフラッディングで管理ノード宛に送信する場合は、図5の処理の流れに従ってパケットを送信する。図5において、ステップ501は、送信したいアプリケーションデータをペイロード402に格納する処理である。具体的には、異常発生通知パケットを送る場合は、発生している異常内容などをペイロード402に記載する。 Referring to FIG. 5, the packet transmission procedure of the source terminal that transmits the flooding packet will be described. When the own terminal is the transmission source and a packet such as an abnormality notification is transmitted to the management node by flooding, the packet is transmitted according to the processing flow of FIG. In FIG. 5, step 501 is processing for storing application data to be transmitted in the payload 402. Specifically, when an abnormality occurrence notification packet is transmitted, the content of the abnormality that has occurred is described in the payload 402.
 ステップ502は、ヘッダ401の各フィールドに必要な情報を記載し、ペイロード402にヘッダ401を取り付ける形でパケットを組み立てる処理である。具体的には、次の通りである。 Step 502 is a process for assembling a packet by writing necessary information in each field of the header 401 and attaching the header 401 to the payload 402. Specifically, it is as follows.
 宛先アドレス403のフィールドに、フラッディングを表すアドレスまたはIDを記載する。前述の通り、MACアドレスで表記する場合は”FF:FF:FF:FF:FF:FF”を記載する。最終宛先アドレス404のフィールドに、フラッディングパケットの最終的な宛先を示すアドレスまたはIDを記載する。管理ノード300を最終宛先とするならば、管理ノード300のアドレスまたはIDを記載する。 In the destination address 403 field, an address or ID indicating flooding is entered. As described above, “FF: FF: FF: FF: FF: FF” is described when the MAC address is used. An address or ID indicating the final destination of the flooding packet is described in the final destination address 404 field. If the management node 300 is the final destination, the address or ID of the management node 300 is described.
 送信元アドレス405のフィールドに、自端末のアドレスまたはIDを記載する。発信元アドレス406のフィールドに、自端末のアドレスまたはIDを記載する。パケットID407のフィールドに、他のパケットと区別ができるように、パケット固有のIDを記載する。送信元端末の階層数408のフィールドに、自端末が位置する階層数を記載する。なお、TTLなどのフィールドを設ける場合は、ステップ503に進む前に必要な情報をヘッダに記載する。なお、ここまでのパケット組み立てに関する処理は、通信処理部204で行なう。 In the field of source address 405, the address or ID of the terminal is entered. In the field of the source address 406, the address or ID of the own terminal is described. In the field of the packet ID 407, an ID unique to the packet is described so that it can be distinguished from other packets. The number of layers in which the terminal is located is described in the field of the number of layers 408 of the transmission source terminal. When a field such as TTL is provided, necessary information is described in the header before proceeding to step 503. The processing related to the packet assembly up to this point is performed by the communication processing unit 204.
 ステップ503は、ステップ502までに組み立てたパケットをフラッディングで送信する処理である。この送信処理は、送受信回路210で行ない、送信の後に図5のフローチャートを終了する。 Step 503 is a process for transmitting the packet assembled up to Step 502 by flooding. This transmission processing is performed by the transmission / reception circuit 210, and the flowchart of FIG.
 図6を参照して、中継端末がフラッディングパケットを転送する際の送信手順を説明する。発信元端末または中継端末からフラッディングパケットを受信した端末が当該パケットを転送する場合、図6の処理の流れに従ってパケットを送信する。図6において、ステップ601は、転送する受信パケットのアプリケーションデータを、ペイロード402にコピーする処理である。ステップ602は、受信パケットのヘッダをコピーし、書き換えが必要なフィールドを上書きして、パケットを組み立てる処理である。ヘッダ401に記載のフィールドのうち、上書きが必要なフィールドは以下の通りである。 Referring to FIG. 6, a transmission procedure when the relay terminal transfers the flooding packet will be described. When a terminal that receives a flooding packet from a source terminal or a relay terminal transfers the packet, the packet is transmitted according to the processing flow of FIG. In FIG. 6, step 601 is a process of copying the application data of the received packet to be transferred to the payload 402. Step 602 is a process for assembling the packet by copying the header of the received packet and overwriting the field that needs to be rewritten. Of the fields described in the header 401, the fields that need to be overwritten are as follows.
 送信元アドレス405のフィールドを、自端末のアドレスまたはIDに書き換える。送信元端末の階層数408のフィールドを、自端末が位置する階層数に書き換える。この時、発信元端末のパケット送信手順と同様、TTLなどのフィールドを設けている場合は、ステップ603に進む前に必要な情報をヘッダにコピーまたは上書きする。具体的には、TTLのフィールドが設けられている場合、このステップ602でデクリメントしてTTLの値を更新する。ここまでのパケット組み立てに関する処理は、通信処理部204で行なう。 Rewrite the field of the source address 405 with the address or ID of the own terminal. The field of the layer number 408 of the transmission source terminal is rewritten to the number of layers where the own terminal is located. At this time, if a field such as TTL is provided as in the packet transmission procedure of the source terminal, necessary information is copied or overwritten in the header before proceeding to step 603. Specifically, if a TTL field is provided, the TTL value is updated by decrementing in this step 602. Processing related to packet assembly up to this point is performed by the communication processing unit 204.
 ステップ603は、ステップ602までに組み立てたパケットをフラッディングで送信する処理である。送信処理は、送受信回路210で行ない、送信の後に図6のフローチャートを終了する。 Step 603 is a process of transmitting the packet assembled up to Step 602 by flooding. The transmission process is performed by the transmission / reception circuit 210, and the flowchart of FIG.
 図7を参照して、フラッディングパケットを受信した端末が、受信パケットの転送可否を決定する手順を説明する。発信元端末がフラッディングパケットを送信した後に、他の端末が新たに当該パケットを発信元端末または中継端末から受信した場合、受信端末は図7の処理の流れに従ってパケットを転送するか否かを決定する。図7において、ステップ701は、フラッディングパケットを発信元端末または中継端末から受信し、受信処理を開始した事を示す。 With reference to FIG. 7, a procedure for the terminal that has received the flooding packet to determine whether or not to forward the received packet will be described. After the source terminal transmits the flooding packet, when another terminal newly receives the packet from the source terminal or the relay terminal, the receiving terminal determines whether to transfer the packet according to the processing flow of FIG. To do. In FIG. 7, step 701 indicates that a flooding packet has been received from a source terminal or a relay terminal and reception processing has started.
 ステップ702は、パケット受信後、受信パケットを近隣端末に転送するまでの待機を開始する処理である。このように、フラッディングパケットを受信した端末は、受信パケットを近隣端末に転送するまで一定時間待機する。受信した端末は、ステップ702を起点に待機を開始して、ステップ703に進む。なお、この待機時間は全ての端末において必ずしも同一である必要は無く、近隣端末数などに応じて待機時間を変更しても良い。具体的なステップ702の動作は、タイマのスタートである。 Step 702 is processing for starting standby after receiving a packet until the received packet is transferred to a neighboring terminal. Thus, the terminal that has received the flooding packet waits for a certain period of time until the received packet is transferred to the neighboring terminal. The received terminal starts standby from step 702 and proceeds to step 703. Note that this standby time is not necessarily the same for all terminals, and the standby time may be changed according to the number of neighboring terminals. A specific operation in step 702 is to start a timer.
 ステップ703は、新たにパケットを受信したか否かを判定する処理である。パケットが受信された場合(YES)、ステップ704に進み、受信されない場合(NO)、ステップ713に進む。 Step 703 is processing for determining whether or not a new packet has been received. If a packet has been received (YES), the process proceeds to step 704, and if not received (NO), the process proceeds to step 713.
 ステップ704は、ステップ703で受信されたパケットが、ステップ701で受信したものと同一のパケットであるかを判定する処理である。この判定は、発信元アドレス406とパケットID407の両方が、ステップ701で受信したパケットと同じ値であるかどうかを判定する事で行なう。もし両フィールドの値がステップ701で受信したパケットと同じであれば、同一パケットであると判断する。判定の結果、同一パケットであれば(YES)ステップ706に進み、同一パケットでなければ(NO)ステップ705に進む。 Step 704 is a process for determining whether the packet received in Step 703 is the same packet received in Step 701. This determination is performed by determining whether both the source address 406 and the packet ID 407 have the same value as the packet received in step 701. If the values of both fields are the same as the packet received in step 701, it is determined that they are the same packet. If it is determined that the packets are the same (YES), the process proceeds to step 706. If they are not the same packet (NO), the process proceeds to step 705.
 ステップ705は、ステップ703で受信したパケットを受信バッファに格納する処理である。受信端末は、互いに異なる複数のパケットを受信し、端末内部で図7または後述の図8の処理がパケット毎に複数行なわれている可能性がある。そのため、受信パケットをバッファに保存して、他の受信パケットとの同一性判定も各処理で行なう必要がある。これを実現するために本ステップにて、受信パケットをバッファに格納する。 Step 705 is processing for storing the packet received in step 703 in the reception buffer. There is a possibility that the receiving terminal receives a plurality of different packets, and a plurality of processes in FIG. 7 or FIG. Therefore, it is necessary to store the received packet in a buffer and perform identity determination with other received packets in each process. In order to realize this, the received packet is stored in the buffer in this step.
 ステップ706は、ステップ703で受信したパケットが、自端末と同一階層の端末から受信されたものであるかどうかを判断する処理である。具体的には、送信元端末の階層数408のフィールドに記載された値を参照して判断する。同一階層の端末から受信した場合(YES)、ステップ707に進み、そうでなければ(NO)ステップ708に進む。 Step 706 is a process for determining whether or not the packet received in step 703 is received from a terminal in the same hierarchy as the own terminal. Specifically, the determination is made with reference to the value described in the field of the number of layers 408 of the transmission source terminal. If received from a terminal in the same hierarchy (YES), the process proceeds to step 707; otherwise (NO), the process proceeds to step 708.
 ステップ707は、ステップ701で受信したパケットに対する受信カウンタを1だけ増加する処理である。このように各端末は、受信パケット毎に受信カウンタを保持し、受信カウンタ値を記憶する。そして、受信カウンタが所定の閾値に達した時点で、受信パケットの転送を中止する。詳しくは、後のステップで後述する。 Step 707 is a process of incrementing the reception counter for the packet received in step 701 by one. Thus, each terminal holds a reception counter for each received packet and stores a reception counter value. Then, when the reception counter reaches a predetermined threshold, transfer of the received packet is stopped. Details will be described later in later steps.
 ステップ708は、ステップ703で受信したパケットが、自端末よりも上位階層に位置する端末から受信されたものであるか否かを判断する処理である。この判断もステップ706と同様、送信元端末の階層数408のフィールドを参照して判断する。上位階層の端末から受信されたパケットであればステップ709に進み、そうでなければステップ713に進む。 Step 708 is a process for determining whether or not the packet received in step 703 is received from a terminal located higher in the hierarchy than the own terminal. This determination is also made by referring to the field of the number of layers 408 of the transmission source terminal as in step 706. If the packet is received from an upper layer terminal, the process proceeds to step 709; otherwise, the process proceeds to step 713.
 ステップ709は、受信パケットについて、自端末よりも上位階層の端末から受信した事を示すフラグを立てる処理である。このように、各端末は受信パケット毎に、上位階層の端末から一度でも当該パケットを受信したか否かを示すフラグを保持する。 Step 709 is a process of setting a flag indicating that the received packet has been received from a terminal higher than the own terminal. In this way, each terminal holds a flag indicating whether or not the received packet has been received from the upper layer terminal even once for each received packet.
 ステップ710は、ステップ701で受信したものと同一パケットに関する受信カウンタを、xだけ増加させる処理である。ステップ703で受信したパケットが同一階層の端末から受信されたものであった場合は、ステップ707にてカウンタ値を1だけ増加させていたが、本処理における加算値xは1以上の任意の整数値とし、パラメータとして設定可能である。xの値を小さくする程、受信カウンタが転送待機時間内に閾値に達する確率が下がるため、パケットの中継端末数が多くなってしまうが、その反面より多くのパケットが上位階層まで転送される事になる。そのため、管理ノード300へのパケット到達率向上を実現する事ができる。具体的には、極めてパケットロス率が高いネットワーク環境で、確実に異常発生通知等のパケットを管理ノードに届けたい場合は、xの値を小さく設定する。 Step 710 is a process for incrementing the reception counter for the same packet as that received in Step 701 by x. If the packet received in step 703 is received from a terminal in the same layer, the counter value is incremented by 1 in step 707, but the addition value x in this process is an arbitrary integer of 1 or more. It is a numerical value and can be set as a parameter. The smaller the value of x, the lower the probability that the reception counter will reach the threshold within the transfer waiting time, so the number of packet relay terminals will increase, but on the other hand, more packets will be transferred to the upper layer. become. Therefore, it is possible to improve the packet arrival rate to the management node 300. Specifically, in a network environment where the packet loss rate is extremely high, the value of x is set to be small when it is desired to reliably deliver a packet such as an abnormality notification to the management node.
 一方、自端末に設定された閾値と同じ値を加算値xとして設定した場合、ステップ701で受信したものと同一パケットを一度でも上位階層の端末から受信すると、受信カウンタが閾値に到達し、即座に転送を中止する事になる。このような設定を行なった場合、xの値を閾値よりも小さく設定した場合に比べて、到達率は多少低下してしまうが、上位階層に位置する端末のうち少なくとも1台がパケットを受信している事を確認した時点で、転送を中止する。そのため、中継端末数を削減し、フラッディングにおける他端末への影響をより小さくする事が可能になる。また、上位階層からパケットを受信した下位階層の端末はパケット転送を中止する事になるため、パケットの転送に下位から上位に向かう指向性を確保する事もできる。この指向性によって、中継が不必要な下位階層に位置する端末の通信を妨害する事無く、管理ノード宛にフラッディングパケットを転送する事ができる。パケットロス率が低く、信頼度の高いネットワーク環境である場合は、このように加算値xの値を大きく設定する事で、中継端末数削減などの面において、より大きな効果を得る。 On the other hand, when the same value as the threshold value set for the own terminal is set as the addition value x, the reception counter reaches the threshold value immediately after receiving the same packet as received at step 701 from the upper layer terminal. The transfer will be canceled. When such a setting is made, the arrival rate is somewhat lower than when the value of x is set to be smaller than the threshold value, but at least one of the terminals located in the upper layer receives the packet. When it is confirmed that the transfer is complete, the transfer is stopped. Therefore, the number of relay terminals can be reduced, and the influence on other terminals in flooding can be further reduced. In addition, since the lower layer terminal that receives the packet from the upper layer stops the packet transfer, the directivity from the lower layer to the upper layer can be ensured for the packet transfer. With this directivity, the flooding packet can be transferred to the management node without interfering with the communication of a terminal located in a lower layer that does not require relaying. In the case of a network environment with a low packet loss rate and high reliability, a larger effect can be obtained in terms of reducing the number of relay terminals and the like by setting the value of the addition value x large in this way.
 ステップ711は、ステップ707またはステップ710で更新した受信カウンタが所定の閾値に到達したか否かを判断する処理である。この受信カウンタの閾値は階層毎に設定するものであり、上位階層である程、値が小さくなるように設定する。即ち、管理ノードからのホップ数が1の端末に与える閾値をa1、ホップ数が2の端末に与える閾値をa2…と定義した場合、a1≦a2≦…という関係式が成り立つように閾値を設定する。この閾値は各端末が位置する階層数またはトポロジ情報を基に決定されるものであり、決定方法は一つに限定されるものではない。 Step 711 is processing for determining whether or not the reception counter updated in Step 707 or Step 710 has reached a predetermined threshold value. The threshold value of this reception counter is set for each hierarchy, and is set so that the value becomes smaller as the hierarchy is higher. That is, when a threshold value given to a terminal having a hop count of 1 from the management node is defined as a1 and a threshold value given to a terminal having a hop count of 2 is defined as a2..., The threshold value is set so that the relational expression a1 ≦ a2 ≦. To do. This threshold is determined based on the number of layers in which each terminal is located or topology information, and the determination method is not limited to one.
 図1のように下位階層になるにつれて、各階層に位置する端末数が増加するトポロジの場合は、管理ノードからのホップ数と共に閾値が線形的に増加する方が適している。そのような場合、管理ノードからのホップ数を閾値として与える方法が考えられる。つまり、管理ノードからのホップ数がiの端末に与える閾値をaiとした場合、ai=iとなるように閾値を設定する。このように、閾値の決定方法はトポロジの構造等を基に決定するものであり、特定のアプリケーションに依存するものではない。ステップ707およびステップ710で当該受信カウンタを更新した結果、カウンタ値が閾値以上になった場合(YES)、ステップ712に進み、閾値未満の場合(NO)、ステップ713に進む。 As shown in FIG. 1, in the case of a topology in which the number of terminals located in each layer increases as it goes down, it is more appropriate that the threshold increases linearly with the number of hops from the management node. In such a case, a method of giving the hop count from the management node as a threshold value can be considered. That is, when ai is a threshold given to a terminal having the number of hops i from the management node, the threshold is set so that ai = i. As described above, the threshold determination method is determined based on the topology structure or the like, and does not depend on a specific application. As a result of updating the reception counter in step 707 and step 710, if the counter value is equal to or greater than the threshold value (YES), the process proceeds to step 712. If the counter value is less than the threshold value (NO), the process proceeds to step 713.
 ステップ712は、ステップ703で受信したパケットの転送を中止する処理である。その後、図7のフローチャートを終了する。この転送中止処理に関連する説明は、図8を参照して、詳述する。 Step 712 is a process for stopping the transfer of the packet received in Step 703. Thereafter, the flowchart of FIG. 7 ends. The description related to this transfer cancellation process will be described in detail with reference to FIG.
 ステップ713は、ステップ702を起点に所定の待機時間が経過したか否かを判定する処理である。待機時間がタイムアウトした場合(YES)、ステップ714に進み、まだ待機時間が残っている場合(NO)、ステップ703に戻る。ステップ714は、ステップ701で受信したパケットを、図6の処理に従って近隣端末に転送する処理である。ステップ715は、当該パケットが転送済みである事を示すフラグを立てる処理である。このように、各端末は受信パケット毎に、当該パケットを転送したか否かを示すフラグを保持する。フラグ処理を行なった後に、図7のフローチャートを終了する。 Step 713 is a process of determining whether or not a predetermined standby time has elapsed from step 702 as a starting point. If the standby time has timed out (YES), the process proceeds to step 714, and if the standby time still remains (NO), the process returns to step 703. Step 714 is a process of transferring the packet received in step 701 to the neighboring terminal according to the process of FIG. Step 715 is a process for setting a flag indicating that the packet has been transferred. Thus, each terminal holds a flag indicating whether or not the packet has been transferred for each received packet. After performing the flag processing, the flowchart of FIG.
 以上のように、実施例1ではフラッディングパケットを受信した端末は、転送を行なうまで一定時間待機する。この待機時間中に自端末と同一階層または上位階層に位置する端末から同一パケットを受信して受信カウンタを更新した結果、受信カウンタ値が閾値に達した場合に転送を中止する。 As described above, in the first embodiment, the terminal that has received the flooding packet waits for a certain period of time until transfer is performed. As a result of receiving the same packet from the terminal located in the same hierarchy or higher hierarchy as the own terminal and updating the reception counter during this waiting time, the transfer is stopped when the reception counter value reaches the threshold value.
 自端末と同一階層の近隣端末が上位階層の端末に対して十分転送を行なったと判断できる場合または、上位階層まで転送されている事を確認できた場合に転送を中止させる事で、管理ノードへの高いパケット到達率を維持しつつ中継端末数の削減を実現し、加算値xの調整によってパケット転送における指向性を確保する。 If it can be determined that a neighboring terminal in the same layer as the local terminal has sufficiently transferred to the upper layer terminal, or if it has been confirmed that the transfer has been performed up to the upper layer, the transfer is stopped to the management node. The number of relay terminals is reduced while maintaining a high packet arrival rate, and directivity in packet transfer is ensured by adjusting the added value x.
 図8を参照して、図7のステップ712で転送中止処理を行なった端末における転送中止解除の可否を決定する処理を説明する。端末は、転送中止を解除し、受信パケットを近隣端末に転送するかどうかを図8のフローチャートに従って決定する。ただし、ここでは上位階層の端末から受信した事を示す図7のステップ709に記載するフラグが立っていない端末を対象とする。すなわち、上位階層の端末からパケットを一度も受信する事無く、同一階層からの受信のみで受信カウンタが閾値に達した端末が対象となる。これは、上位階層の端末からパケットを受信して転送を中止した場合は、既に上位階層までパケットが転送されている事が自明なためである。 Referring to FIG. 8, a description will be given of a process for determining whether or not to cancel the transfer cancellation in the terminal that performed the transfer cancellation process in step 712 of FIG. The terminal cancels the transfer cancellation and determines whether or not to transfer the received packet to the neighboring terminal according to the flowchart of FIG. However, in this case, a terminal in which the flag described in step 709 in FIG. 7 indicating that it has been received from a higher-layer terminal is not set. That is, a terminal whose reception counter reaches a threshold value only by receiving from the same layer without receiving a packet from a terminal of higher layer is targeted. This is because, when a packet is received from an upper layer terminal and the transfer is stopped, it is obvious that the packet has already been transferred to the upper layer.
 図8において、ステップ802は、当該パケットについて、上位階層から受信した事を示すフラグが下りているかどうかを判定する処理である。フラグが下りている場合(YES)、ステップ803に進み、フラグが立っている場合(NO)、リターンする。ステップ803は、転送中止解除を否決するまでの待機を開始する処理である。ステップ803は、具体的にはタイマのスタートである。図7を参照して説明した転送待機時間と同じように、各端末は転送中止解除を否決するまでに一定時間だけ待機する。この待機時間も全ての端末において必ずしも同一である必要は無い。端末は、ステップ803を起点に待機を開始して、ステップ804に進む。 In FIG. 8, step 802 is processing for determining whether or not a flag indicating that the packet has been received from the upper layer is down. If the flag is down (YES), the process proceeds to step 803, and if the flag is set (NO), the process returns. Step 803 is processing to start waiting until transfer cancellation cancellation is rejected. Step 803 is specifically a timer start. Similar to the transfer waiting time described with reference to FIG. 7, each terminal waits for a certain period of time before deciding to cancel the transfer cancellation. This waiting time is not necessarily the same in all terminals. The terminal starts standby from step 803 and proceeds to step 804.
 ステップ804は、新たにパケットを受信したか否かを判定する処理である。パケットが受信された場合(YES)、ステップ805に進み、受信されない場合(NO)、ステップ808に進む。 Step 804 is processing for determining whether or not a new packet has been received. If a packet has been received (YES), the process proceeds to step 805, and if not received (NO), the process proceeds to step 808.
 ステップ805は、ステップ804で受信されたパケットが、図7のステップ701で受信されたパケットと同一のパケットであるかを判定する処理である。この判定は、発信元アドレス406とパケットID407の値を参照する事で行なう。判定の結果、同一パケットであれば(YES)ステップ807に進み、同一パケットでなければ(NO)ステップ806に進む。ステップ806は、ステップ804で受信したパケットを受信バッファに格納する処理である。ステップ807は、ステップ804で受信したパケットが、自端末よりも上位階層の端末から受信されたものであるかどうかを判定する処理である。上位階層の端末から受信したか否かの判定は、受信パケットのうち、送信元端末の階層数408のフィールドを参照する事で行なう。上位階層の端末から受信されたものであれば(YES)、リターンし、そうでなければ(NO)ステップ808に進む。 Step 805 is processing for determining whether the packet received in Step 804 is the same packet as the packet received in Step 701 of FIG. This determination is made by referring to the values of the source address 406 and the packet ID 407. If it is determined that the packet is the same (YES), the process proceeds to step 807. If the packet is not the same (NO), the process proceeds to step 806. Step 806 is processing to store the packet received in step 804 in the reception buffer. Step 807 is processing for determining whether or not the packet received in step 804 is received from a higher-layer terminal than the own terminal. Whether or not the packet is received from an upper layer terminal is determined by referring to the field of the layer number 408 of the transmission source terminal in the received packet. If it is received from an upper layer terminal (YES), the process returns; otherwise (NO), the process proceeds to step 808.
 ステップ808は、ステップ803を起点に所定の待機時間が経過したか否かを判定する処理である。待機時間がタイムアウトした場合(YES)、ステップ809に進み、まだ待機時間が残っている場合(NO)、ステップ804に戻る。 Step 808 is a process of determining whether or not a predetermined standby time has elapsed from Step 803 as a starting point. If the waiting time has timed out (YES), the process proceeds to step 809. If the waiting time still remains (NO), the process returns to step 804.
 ステップ809は、ステップ801での転送中止を解除して、転送を中止していた当該パケットを、転送する処理である。ステップ810は、当該パケットが転送済みである事を示すフラグを立てる処理である。このフラグ処理の後に、リターンする。 Step 809 is a process of canceling the transfer stop in step 801 and transferring the packet for which transfer was stopped. Step 810 is a process for setting a flag indicating that the packet has been transferred. It returns after this flag processing.
 つまり、自端末が転送を中止した後に、一定時間経過しても上位階層の端末から同一のパケットを受信できない場合は、上位階層への転送が成功していないと判断し、転送中止を解除して近隣端末にパケットを転送する。このようにする事で、近隣端末による転送がパケットロス等で失敗していたとしても、転送を中止していた端末が上位階層への転送失敗を検知して転送を行なうため、管理ノード300へのパケット到達率を向上する。 In other words, if the same packet cannot be received from the upper layer terminal after a certain period of time after the terminal has stopped the transfer, it is determined that the transfer to the upper layer has not been successful and the transfer stop is canceled. Forward the packet to the neighboring terminal. In this way, even if the transfer by the neighboring terminal fails due to packet loss or the like, the terminal that has stopped the transfer detects the transfer failure to the upper layer and performs the transfer. Improve packet arrival rate.
 図9を参照して、パケット管理テーブルの構成を説明する。各端末は図9に示すパケット管理テーブル900を保持し、パケット管理テーブル900内の情報を参照・更新しながら、制御を行なう。図9において、パケット管理テーブル900は、パケットID 901と、受信カウンタ902と、上位階層の端末からの受信フラグ903と、転送済みフラグ904とを含む。 The configuration of the packet management table will be described with reference to FIG. Each terminal holds the packet management table 900 shown in FIG. 9, and performs control while referring to and updating information in the packet management table 900. In FIG. 9, the packet management table 900 includes a packet ID 901, a reception counter 902, a reception flag 903 from an upper layer terminal, and a transfer completed flag 904.
 パケットID 901は、パケットを識別するためのIDを記載するフィールドである。具体的には、受信パケットのヘッダのうち、パケットID407に記載されたIDをコピーする。受信カウンタ902は、受信パケットに対する受信カウンタ値を記録するフィールドである。図7のステップ707およびステップ710では、当該フィールドの値を更新する。上位階層の端末からの受信フラグ903は、自端末よりも上位階層の端末から少なくとも1回、当該パケットを受信したか否かを示すフラグを記載するフィールドである。図7のステップ709のフラグ処理および図8のステップ802におけるフラグ参照処理は、本フィールドの値を更新・参照する事で実現する。転送済みフラグ904は、当該パケットを転送したか否かを示すフラグを記載するフィールドである。図7のステップ715および図8のステップ810のフラグ処理は、本フィールドの値を更新する事で実現する。このフィールドのフラグが立っているパケットと同一のパケットを受信した場合は、過去に転送済みである事が分かるため、当該パケットを破棄するなどの処理を実現する。
  なお、パケット管理テーブルの構成は、図9の構成に限るものでなく、端末が記憶すべき情報が他に存在する場合は、適宜フィールドを追加しても構わない。
The packet ID 901 is a field that describes an ID for identifying the packet. Specifically, the ID described in the packet ID 407 is copied from the header of the received packet. The reception counter 902 is a field for recording a reception counter value for the received packet. In step 707 and step 710 of FIG. 7, the value of the field is updated. A reception flag 903 from a higher layer terminal is a field that describes a flag indicating whether or not the packet has been received at least once from a higher layer terminal than the own terminal. The flag processing in step 709 in FIG. 7 and the flag reference processing in step 802 in FIG. 8 are realized by updating and referring to the value of this field. The transfer completed flag 904 is a field that describes a flag indicating whether or not the packet has been transferred. The flag processing in step 715 in FIG. 7 and step 810 in FIG. 8 is realized by updating the value of this field. If the same packet as the packet for which the flag of this field is set is received, it can be seen that the packet has been transferred in the past, and thus processing such as discarding the packet is realized.
Note that the configuration of the packet management table is not limited to the configuration of FIG. 9, and if there is other information to be stored by the terminal, fields may be added as appropriate.
 図10を参照して、パケット転送制御を説明する。ここでは、階層数が2である端末200-21、端末200-22、端末200-23と、階層数が1である端末200-11および管理ノード300におけるパケット転送を説明する。なお、ここでは受信カウンタの閾値を、階層数と同じ値に設定した場合を想定して説明する。具体的には、階層数が2である端末200-21、端末200-22、端末200-23の閾値は2である。また、階層数が1である端末200-11の閾値は1である。 The packet transfer control will be described with reference to FIG. Here, packet transfer in terminal 200-21, terminal 200-22, and terminal 200-23 with the number of hierarchies 2, and terminal 200-11 and management node 300 with the number of hierarchies of 1 will be described. Here, the case where the threshold value of the reception counter is set to the same value as the number of layers will be described. Specifically, the threshold value of the terminal 200-21, the terminal 200-22, and the terminal 200-23 having the number of layers of 2 is 2. Further, the threshold value of the terminal 200-11 having the number of layers of 1 is 1.
 まず、端末200-23、端末200-22、端末200-21の順に、下位階層の端末から同一フラッディングパケットを受信する。この時、各端末200は、パケット受信処理(S1001、S1003、S1005)を行ない、その後に一定時間の転送待機を開始する(S1002、S1004、S1006)。 First, the same flood packet is received from the lower layer terminals in the order of the terminal 200-23, the terminal 200-22, and the terminal 200-21. At this time, each terminal 200 performs packet reception processing (S1001, S1003, S1005), and then starts waiting for a certain period of time (S1002, S1004, S1006).
 端末200-23は、同一パケットを一度も受信しないまま、転送待機時間が経過しているため、待機時間がタイムアウトした後にパケット送信処理を行ない(S1007)、パケットの転送を行なう。そして、このパケットが端末200-11、端末200-22、端末200-21に届き、各端末がパケット受信処理を行なう(S1008、S1010、S1011)。この時、端末200-11は、当該パケットを初めて受信したため、パケット受信処理の後に、一定時間の転送待機を開始する(S1009)。端末200-21、端末200-22については、転送待機中に同一階層の端末200-23から同一パケットを受信したため、それぞれ受信カウンタを1だけ増加する。 Since the terminal 200-23 has not received the same packet and the transfer standby time has elapsed, the terminal 200-23 performs packet transmission processing after the standby time has timed out (S1007), and transfers the packet. Then, this packet reaches terminal 200-11, terminal 200-22, and terminal 200-21, and each terminal performs packet reception processing (S1008, S1010, S1011). At this time, since the terminal 200-11 has received the packet for the first time, the terminal 200-11 starts waiting for transfer for a certain time after the packet reception process (S1009). For the terminals 200-21 and 200-22, the same packet is received from the terminal 200-23 of the same layer during the transfer standby, so that the reception counter is incremented by 1, respectively.
 端末200-22は、転送待機時間中に、同一階層数の端末200-23から同一パケットを一度受信したが、受信カウンタが閾値に達していないため、待機時間がタイムアウトした後に、パケット送信処理を行ない(S1012)、パケットの転送を行なう。このパケットが端末200-11、端末200-23、端末200-21に届き、各端末がパケット受信処理を行なう(S1013、S1014、S1015)。端末200-11については、自端末よりも下位階層に位置する端末200-22からパケットを受信したため、受信カウンタの更新を行なわない。しかし、端末200-21については同一階層からの受信であるため、再び受信カウンタを1だけ増加する。また、端末200-23については、既に当該パケットの転送を行なっているため、特に制御は行なわない。 The terminal 200-22 received the same packet once from the terminal 200-23 of the same number of layers during the transfer standby time, but the reception counter has not reached the threshold value, so that the packet transmission processing is performed after the standby time has timed out. (S1012), the packet is transferred. This packet reaches terminal 200-11, terminal 200-23, and terminal 200-21, and each terminal performs packet reception processing (S1013, S1014, S1015). Terminal 200-11 does not update the reception counter because it has received a packet from terminal 200-22 located at a lower hierarchy than the terminal 200-11. However, since the terminal 200-21 is receiving from the same layer, the reception counter is incremented by 1 again. Also, since the terminal 200-23 has already transferred the packet, no particular control is performed.
 このとき、端末200-21は転送待機時間中に、既に同一階層に位置する端末200-22、端末200-23の二つの端末から同一パケットを受信して、受信カウンタが閾値である2に到達したため、転送中止処理を行なう(S1016)。端末200-21は、上位階層の端末から一度も当該パケットを受信しないまま転送を中止したため、転送中止解除可否の判定を行なうために、転送中止解除の待機を開始する(S1017)。 At this time, the terminal 200-21 receives the same packet from the two terminals 200-22 and 200-23 already located in the same layer during the transfer waiting time, and the reception counter reaches 2 which is a threshold value. Therefore, the transfer cancellation process is performed (S1016). Since the terminal 200-21 has stopped the transfer without receiving the packet even from the upper layer terminal, the terminal 200-21 starts waiting for the transfer cancellation to be determined in order to determine whether or not the transfer cancellation can be canceled (S1017).
 その後、端末200-11は、受信カウンタが閾値に到達しないまま、転送待機時間がタイムアウトしているため、パケット送信処理を行ない(S1018)、パケットの転送を行なう。その結果、宛先となる管理ノード300を含め、近隣の端末200-23、端末200-22、端末200-21にパケットが届き、各端末が受信処理を行なう(S1019、S1020、S1021、S1022)。ここで、端末200-21は、転送中止解除の待機時間中に、自端末よりも上位階層に位置する端末200-11から当該パケットを受信したため、転送中止解除の否決を行ない(S1022)、転送中止可否判定の処理を終了する。 After that, the terminal 200-11 performs the packet transmission process (S1018) and transfers the packet because the transfer waiting time has timed out without the reception counter reaching the threshold value. As a result, the packet reaches the neighboring terminal 200-23, terminal 200-22, and terminal 200-21 including the destination management node 300, and each terminal performs reception processing (S1019, S1020, S1021, and S1022). Here, since the terminal 200-21 received the packet from the terminal 200-11 located at a higher layer than the own terminal during the waiting time for canceling the transfer cancellation, the terminal 200-21 makes a transfer cancellation cancellation rejection (S1022). The process for determining whether or not to cancel is terminated.
 ここで、図示はされていないが、端末200-23のパケット送信処理(S1007)および端末200-22のパケット送信処理(S1012)の両方において、端末200-21は、当該パケットを受信する事ができたが、端末200-11に対してはパケットロスが発生し、端末200-11へのパケット転送が失敗した場合を考える。この場合は、端末200-21は、端末200-11から当該パケットを受信する事無く、転送中止解除の待機時間がタイムアウトするため、転送中止解除処理の後にパケットの転送を行ない、端末200-11へのパケット転送を行なう。 Here, although not shown, in both the packet transmission process (S1007) of the terminal 200-23 and the packet transmission process (S1012) of the terminal 200-22, the terminal 200-21 may receive the packet. However, consider a case where a packet loss occurs for the terminal 200-11 and the packet transfer to the terminal 200-11 fails. In this case, since the terminal 200-21 does not receive the packet from the terminal 200-11 and the waiting time for canceling the transfer cancellation times out, the terminal 200-21 transfers the packet after the transfer cancellation canceling process. Packet transfer to.
 なお、本実施例では、図1のようなツリー構造のトポロジを例に挙げて説明したが、本実施例で想定するトポロジはツリー構造に限るものではない。また、本実施例では管理ノード宛のフラッディングを想定して説明を行なったが、ある宛先までのホップ数を各端末が把握している状態であれば、宛先までのホップ数を階層と見なす事で、フラッディングパケットの宛先として管理ノード以外の端末が選択されていたとしても、本実施例を適用する事が可能である。 In the present embodiment, the tree structure topology as shown in FIG. 1 has been described as an example. However, the topology assumed in the present embodiment is not limited to the tree structure. In this embodiment, the description has been made assuming flooding addressed to the management node. However, if each terminal knows the number of hops to a certain destination, the number of hops to the destination can be regarded as a hierarchy. Thus, even if a terminal other than the management node is selected as the destination of the flooding packet, this embodiment can be applied.
 実施例1では、図1のように下位階層になるにつれて各階層に位置する端末数が増加するトポロジを想定した実施例であった。それに対して、実施例2では、各階層に位置する端末数が殆ど同一であるトポロジを想定した実施例について説明する。具体的には、AMI等の用途でアパートの各部屋に1台ずつ端末を設置した場合、実施例2で想定するトポロジを形成する事が考えられる。 Example 1 is an example that assumes a topology in which the number of terminals located in each layer increases as it goes down as shown in FIG. On the other hand, in the second embodiment, an embodiment assuming a topology in which the number of terminals located in each layer is almost the same will be described. Specifically, when one terminal is installed in each room of an apartment for the purpose of AMI or the like, it is possible to form the topology assumed in the second embodiment.
 まず、実施例2にかかる通信システム構成、パケット構成、発信元端末と中継端末のフラッディングパケットの送信手順および端末が管理ノード宛のフラッディングパケットを受信した際の動作概略について説明する。 First, a communication system configuration, a packet configuration, a transmission procedure of a flooding packet of a transmission source terminal and a relay terminal, and an outline of an operation when a terminal receives a flooding packet addressed to a management node will be described.
 図11を参照して、通信システムの構成を説明する。図11において、通信システム100Aは、管理ノード300と、複数の端末200とから構成されている。端末200-1n(n=1~4)は、下位に端末200-2nを接続する。端末200-2nは、下位に端末200-3nを接続する。端末200-3nは、下位に端末200-4nを接続する。通信システム100Aは、実施例1で示した図1の通信システム100と異なり、各階層に位置する端末数が、階層数に依らず殆ど同一であるようなトポロジ構成である。 The configuration of the communication system will be described with reference to FIG. In FIG. 11, the communication system 100 </ b> A includes a management node 300 and a plurality of terminals 200. The terminal 200-1n (n = 1 to 4) connects the terminal 200-2n to the lower level. The terminal 200-2n connects the terminal 200-3n to the lower level. The terminal 200-3n connects the terminal 200-4n to the lower level. Unlike the communication system 100 of FIG. 1 shown in the first embodiment, the communication system 100A has a topology configuration in which the number of terminals located in each layer is almost the same regardless of the number of layers.
 実施例2にかかる端末200および管理ノード300のハードウェア構成(図2および図3)、パケット構成(図4)、発信元端末と中継端末のフラッディングパケットの送信手順(図5および図6)、転送中止解除可否の決定手順(図8)、パケットに関するテーブル構成(図9)は実施例1と同様である。 Hardware configuration of the terminal 200 and the management node 300 according to the second embodiment (FIGS. 2 and 3), a packet configuration (FIG. 4), a transmission procedure of flooding packets between the source terminal and the relay terminal (FIGS. 5 and 6), The procedure for determining whether to cancel transfer cancellation (FIG. 8) and the table structure (FIG. 9) relating to packets are the same as in the first embodiment.
 パケット転送可否の決定手順(図7)についても処理の内容は全て実施例1と同様である。ただし、実施例1とトポロジの構造が異なるため、図7のステップ711で用いる受信カウンタの閾値については、実施例1と異なる方法で決定する事が好ましい。実施例1では、図1のように下位階層になるにつれて、各階層に位置する端末数が増加するトポロジを想定しているため、管理ノードからのホップ数と共に閾値が線形的に増加する設定方法を示した。 The contents of the process for determining whether or not to allow packet transfer (FIG. 7) are the same as those in the first embodiment. However, since the topology structure is different from that of the first embodiment, the threshold value of the reception counter used in step 711 in FIG. 7 is preferably determined by a method different from that of the first embodiment. In the first embodiment, a topology is assumed in which the number of terminals located in each layer increases as it goes to the lower layer as shown in FIG. 1, so that the threshold value increases linearly with the number of hops from the management node. showed that.
 しかし、実施例2で想定する図11のトポロジでは、各階層に位置する端末数が階層に依らず殆ど同一であるため、管理ノード300付近の上位階層に達するまで閾値が大きく変化しないように、管理ノード300からのホップ数に対して閾値が対数関数的に増加する方が適している。自端末と同一階層に存在する近隣端末数をy、管理ノードからのホップ数をi、1以上の任意の整数値をnとした時、ホップ数iに対して閾値aiを数1で設定する方法などが挙げられる。 However, in the topology of FIG. 11 assumed in the second embodiment, the number of terminals located in each layer is almost the same regardless of the layer, so that the threshold does not change greatly until the upper layer near the management node 300 is reached. It is more suitable that the threshold value increases logarithmically with respect to the number of hops from the management node 300. When the number of neighboring terminals existing on the same layer as the own terminal is y, the number of hops from the management node is i, and an arbitrary integer value of 1 or more is n, the threshold ai is set to the number 1 for the hop number i. The method etc. are mentioned.
Figure JPOXMLDOC01-appb-M000001
Figure JPOXMLDOC01-appb-M000001
ここで、数1に含まれる括弧状の記号は、シーリング(ceiling:天井)関数であり、小数点以下を繰り上げる関数である。y=2、n=1のとき、ホップ数iの閾値を、実施例1と比較して、表1に纏める。表1によれば、ホップ数の増加に対して、実施例2の閾値が対数関数的に増加している。なお、表1の実施例2の括弧内は、シーリング前の値である。
Here, the bracket-like symbols included in Equation 1 are ceiling functions, which are functions that round up the decimal point. When y = 2 and n = 1, the threshold values for the number of hops i are summarized in Table 1 as compared with the first embodiment. According to Table 1, as the number of hops increases, the threshold value of Example 2 increases logarithmically. The values in parentheses in Example 2 in Table 1 are values before sealing.
          表1 ホップごとの閾値
---------------------------------
 ホップ数(i)  実施例1(i)  実施例2(ceiling(2√i))
---------------------------------
    1       1      (2×1)  →2
---------------------------------
    2       2      (2×1.41) →3
---------------------------------
    3       3      (2×1.73) →4
---------------------------------
    4       4      (2×2)  →4
---------------------------------
    5       5      (2×2.23) →5
---------------------------------

 ただし、この閾値の設定方法についても上記に限るものではなく、その他の設定方法を用いて閾値を決定しても良い。
Table 1 Threshold for each hop ---------------------------------
Number of hops (i) Example 1 (i) Example 2 (ceiling (2√i))
---------------------------------
1 1 (2 × 1) → 2
---------------------------------
2 2 (2 × 1.41) → 3
---------------------------------
3 3 (2 × 1.73) → 4
---------------------------------
4 4 (2 × 2) → 4
---------------------------------
5 5 (2 × 2.23) → 5
---------------------------------

However, the threshold value setting method is not limited to the above, and the threshold value may be determined using other setting methods.
 実施例1、実施例2は、異常発生通知などのアプリケーションデータパケットの転送を想定した実施例であった。実施例3は、経路構築パケットを管理ノードに届ける事を想定した実施例について説明する。RFC3561で規定されているAODV(Ad hoc On-Demand Distance Vector)を用いて経路構築を行なう場合、ネットワークに新たに参入した端末はRREQ(Route REQuest)と呼ばれるパケットをフラッディングで送信し、管理ノードに届ける事で経路構築を実施する。実施例3は、AODVによって経路構築を行なう場合について、RREQパケットを管理ノード300宛にフラッディングで送信する際の転送制御方法について記載する。 Example 1 and Example 2 are examples that assume transfer of application data packets such as notification of occurrence of abnormality. The third embodiment will be described with respect to an embodiment in which it is assumed that the route construction packet is delivered to the management node. When a route is constructed using AODV (Ad hoc On-Demand Distance Vector) stipulated in RFC3561, a terminal newly entering the network transmits a packet called RREQ (Route REQuest) by flooding and sends it to the management node. Route construction is implemented by delivering. The third embodiment describes a transfer control method when a RREQ packet is transmitted to the management node 300 by flooding when a route is constructed by AODV.
 まず、実施例3にかかる通信システム構成、パケット構成、発信元端末と中継端末のRREQパケットの送信手順、および端末が管理ノード宛のRREQパケットを受信した際の動作概略について説明する。 First, a communication system configuration, a packet configuration, a transmission procedure of an RREQ packet between a transmission source terminal and a relay terminal, and an operation outline when the terminal receives an RREQ packet addressed to a management node will be described.
 なお、実施例3にかかる通信システム(図1または図11)、端末および管理ノードのハードウェア構成(図2および図3)、転送中止解除可否の決定手順(図8)、パケット管理テーブルの構成(図9)は、実施例1および実施例2と同様である。 Note that the communication system according to the third embodiment (FIG. 1 or FIG. 11), the hardware configuration of the terminal and the management node (FIGS. 2 and 3), the procedure for determining whether transfer cancellation can be canceled (FIG. 8), and the configuration of the packet management table (FIG. 9) is the same as that of Example 1 and Example 2. FIG.
 RREQのパケット構成についても、図4のペイロード402の部分にRFC3561で規定されているRREQメッセージフォーマットに従って情報を記載する点を除いて、図4のパケット構成と同様である。ただし、ネットワークに新規参入した端末は、RREQパケットを組み立てる時点でどの階層にも所属していないため、図4における送信元端末の階層数408のフィールドに自端末の階層数を記載する事ができない。そこで、RREQの発信元端末については、本フィールドに記載可能な最大値を記載する。この最大値は、送信元端末の階層数408のフィールドに割り当てるビット長に依存する。 The RREQ packet configuration is the same as the packet configuration in FIG. 4 except that information is described in the payload 402 portion in FIG. 4 according to the RREQ message format defined in RFC3561. However, since the terminal newly entering the network does not belong to any layer at the time of assembling the RREQ packet, the number of layers of the own terminal cannot be described in the field of the number of layers 408 of the transmission source terminal in FIG. . Therefore, for the RREQ source terminal, the maximum value that can be described in this field is described. This maximum value depends on the bit length assigned to the field of the layer number 408 of the transmission source terminal.
 また、発信元端末と中継端末のRREQパケットの送信手順も、処理の流れや内容は図5および図6と同様である。ただし、実施例3では図5のステップ501や、図6のステップ601にて、RFC3561で規定されたRREQメッセージのフォーマットに従う情報をペイロード402に記載する。中継端末については、ステップ601でペイロード402のRREQメッセージ部をコピーするだけではなく、AODVの動作に準拠する形でホップ数フィールドの更新を行なう。また、発信元端末は前述の通り、図5のステップ502にて、送信元端末の階層数408のフィールドに記載可能な最大値を格納する。 Also, the transmission flow and contents of the RREQ packet between the source terminal and the relay terminal are the same as those shown in FIGS. However, in the third embodiment, information according to the format of the RREQ message defined in RFC3561 is described in the payload 402 in step 501 in FIG. 5 or step 601 in FIG. In step 601, the relay terminal not only copies the RREQ message part of the payload 402, but also updates the hop number field in a form that conforms to the AODV operation. Further, as described above, the source terminal stores the maximum value that can be described in the field of the number of layers 408 of the source terminal in step 502 of FIG.
 パケット転送可否の決定手順についても、処理の内容については全て図7と同様である。ただし、経路構築の際には、通信品質が良好で安定した通信経路を選択する必要があるため、良好な通信経路周辺により多くのRREQパケットを転送する方が効率的である。したがって、実施例3では、端末間のリンク品質を数値化したリンクコストまたは端末から管理ノードまでの経路品質を数値化したパスコストを加味して、図7のステップ711で用いる受信カウンタの閾値を決定する。 Regarding the procedure for determining whether or not packet transfer is possible, the contents of the processing are all the same as in FIG. However, when establishing a route, it is necessary to select a stable communication route with good communication quality. Therefore, it is more efficient to transfer more RREQ packets around a good communication route. Therefore, in the third embodiment, the threshold value of the reception counter used in step 711 in FIG. 7 is added to the link cost obtained by quantifying the link quality between terminals or the path cost obtained by quantifying the route quality from the terminal to the management node. decide.
 具体的には、RREQパケットを受信した端末から管理ノードまでのホップ数をi、パスコストをPcost、1以上の任意の整数値をnとして、数2に従って閾値aiを計算する方法が考えられる。 Specifically, a method of calculating the threshold value ai according to Equation 2 with i being the number of hops from the terminal that received the RREQ packet to the management node, Pcost being Pcost, and any integer value of 1 or more being n is conceivable.
Figure JPOXMLDOC01-appb-M000002
Figure JPOXMLDOC01-appb-M000002
 数2によれば、パスコストが低い(換言すれば品質が良好、Pcostが小さい)、すなわち良好な通信経路を構築している端末である程、閾値の値が大きくなり、良好な通信経路周辺により多くのRREQパケットを転送する事が可能となる。ここでのリンクコストおよびパスコストは、受信電波のRSSI(Received Signal Strength Indication)値などを基に算出される。リンクコストは、0超1未満の値を持つ。パスコストは、端末から管理ノードまでのリンクコストの和で計算される。ただし、リンクコストまたはパスコストについても、この計算方法に限らず、別の方法で算出したものを用いても良い。 According to Equation 2, the lower the path cost (in other words, the better the quality, the lower the Pcost), that is, the higher the value of the threshold value, the higher the value of the threshold value becomes. It is possible to transfer more RREQ packets. Here, the link cost and the path cost are calculated based on an RSSI (Received Signal Strength Indication) value of the received radio wave. The link cost has a value greater than 0 and less than 1. The path cost is calculated as the sum of the link costs from the terminal to the management node. However, the link cost or path cost is not limited to this calculation method, but may be calculated by another method.
 実施例1ないし実施例3は、受信パケット毎に受信カウンタと閾値を1つだけ有する実施例であった。これに対して、実施例4では、自端末と同一階層の端末から同一パケットを受信した回数をカウントする受信カウンタAと、上位階層の端末から同一パケットを受信した回数をカウントする受信カウンタBの、2つのカウンタを有する実施例である。 Embodiments 1 to 3 are embodiments having only one reception counter and one threshold for each received packet. On the other hand, in the fourth embodiment, a reception counter A that counts the number of times the same packet is received from a terminal in the same layer as the own terminal, and a reception counter B that counts the number of times the same packet is received from a terminal in the upper layer. This is an embodiment having two counters.
 まず、実施例3にかかる通信システム構成、パケット構成、発信元端末と中継端末のフラッディングパケットの送信手順、および端末が管理ノード宛のフラッディングパケットを受信した際の動作概略について説明する。 First, a communication system configuration, a packet configuration, a transmission procedure of a flooding packet between a transmission source terminal and a relay terminal, and an outline of an operation when the terminal receives a flooding packet addressed to a management node will be described.
 実施例4にかかる通信システム(図1または図11)、端末および管理ノードのハードウェア構成(図2および図3)、パケット構成(図4)、発信元端末と中継端末のフラッディングパケットの送信手順(図5および図6)は、実施例1ないし実施例3と同様である。 Example 4 Communication System (FIG. 1 or FIG. 11), Terminal and Management Node Hardware Configuration (FIGS. 2 and 3), Packet Configuration (FIG. 4), Transmission Procedure of Flooding Packets of Originating Terminal and Relay Terminal (FIG. 5 and FIG. 6) is the same as that of Example 1 thru | or Example 3. FIG.
 図12を参照して、フラッディングパケットを受信した端末が、受信パケットの転送可否を決定する手順を説明する。ただし、実施例1で説明した図7のフローチャートと異なるのは、転送待機時間中にステップ706で同一階層の端末から同一パケットを受信した事を判定した後の処理(ステップ1201、1202)と、ステップ708で上位階層の端末から同一パケットを受信した事を判定した後の処理(ステップ1203、1204)のみである。実施例4では、同一階層の端末から同一パケットを受信した回数をカウントする受信カウンタAと、上位階層の端末から同一パケットを受信した回数をカウントする受信カウンタBの、2つの受信カウンタを受信パケット毎に保持する。そのため、実施例4ではそれぞれの受信カウンタに対して、パケット転送の中止を判断するための閾値を別々に与える。つまり、階層数がiの端末に対して、受信カウンタAの閾値ai、受信カウンタBの閾値biを設定する。このような受信カウンタAおよびBならびに閾値aiおよびbiの下で、ステップ703で受信されたパケットが、同一階層の端末から受信されたものである事がステップ706で判定された場合は、ステップ1201で受信カウンタAを1だけ増加する。その後に、ステップ1202で受信カウンタAの値が閾値ai以上になっていないかを判定し、閾値aiに達している場合はステップ712Aに進み、閾値ai未満である場合はステップ713に進む。 Referring to FIG. 12, a procedure in which a terminal that receives a flooding packet determines whether or not to transfer the received packet is described. However, the difference from the flowchart of FIG. 7 described in the first embodiment is that processing (steps 1201 and 1202) after determining that the same packet is received from the terminal of the same layer in step 706 during the transfer waiting time, This is only processing after determining that the same packet is received from the upper layer terminal in step 708 (steps 1203 and 1204). In the fourth embodiment, two reception counters, a reception counter A that counts the number of times the same packet is received from a terminal in the same layer and a reception counter B that counts the number of times that the same packet is received from a terminal in an upper layer, are received packets. Hold every time. For this reason, in the fourth embodiment, a threshold value for determining whether to stop packet transfer is separately given to each reception counter. That is, the threshold value ai of the reception counter A and the threshold value bi of the reception counter B are set for the terminal having the number of layers i. If it is determined in step 706 that the packet received in step 703 is received from the terminal of the same layer under the reception counters A and B and the threshold values ai and bi, step 1201 is performed. The reception counter A is incremented by 1. Thereafter, it is determined in step 1202 whether the value of the reception counter A is equal to or greater than the threshold value ai. If the threshold value ai has been reached, the process proceeds to step 712A, and if it is less than the threshold value ai, the process proceeds to step 713.
 同様に、ステップ703で受信されたパケットが、上位階層の端末から受信されたものである事がステップ708で判定された場合は、ステップ1203で受信カウンタBを1だけ増加する。ここで、実施例4では図7のステップ709のような、上位階層から受信した事を表すフラグは保持しない。その後、ステップ1204で受信カウンタBの値が閾値bi以上になっていないかを判定し、閾値biに達している場合はステップ712Aに進み、閾値ai未満である場合はステップ713に進む。 Similarly, if it is determined in step 708 that the packet received in step 703 is received from a higher layer terminal, the reception counter B is incremented by 1 in step 1203. Here, in the fourth embodiment, a flag indicating that it has been received from an upper layer as in step 709 of FIG. 7 is not held. Thereafter, in step 1204, it is determined whether or not the value of the reception counter B is greater than or equal to the threshold value bi. If the threshold value bi has been reached, the process proceeds to step 712A, and if it is less than the threshold value ai, the process proceeds to step 713.
 本実施例では、この閾値aiおよびbiの値の大きさを調整する事によって、トポロジ上で中継されるフラッディングパケットの広がり方が変わる。このため、パケット転送に所望の指向性を確保する事ができる。閾値aiおよびbiの値は、トポロジの構造または、求める指向性などを基に決定する。ただし、設定方法は、特定の方法に限定されるものではない。 In this embodiment, the spread of flooding packets relayed on the topology changes by adjusting the magnitudes of the threshold values ai and bi. For this reason, desired directivity can be secured for packet transfer. The values of the threshold values ai and bi are determined based on the topology structure or the desired directivity. However, the setting method is not limited to a specific method.
 図13を参照して、図12のステップ712Aの転送中止処理について詳細に説明する。図13において、図8のフローチャートと異なるのはステップ1301のみである。図8の処理では、ステップ802で上位階層の端末から受信した事を示すフラグを判定していたが、図13のステップ1301では、受信カウンタBの値が0であるかどうかを判定し、カウンタ値が0であればステップ803に進み、そうでなければ図13のフローチャートを終了する。受信カウンタBの値が0よりも大きければ、少なくとも一度は上位階層の端末から当該パケットを受信して転送中止に至った事が自明であるため、転送中止解除の必要が無いと判断して、図13のフローチャートを終了する。この点が、図7のステップ709で用いたフラグが、実施例4で不要となる理由である。 Referring to FIG. 13, the transfer stop process in step 712A of FIG. 12 will be described in detail. In FIG. 13, only the step 1301 is different from the flowchart of FIG. In the process of FIG. 8, the flag indicating that it has been received from the upper layer terminal is determined in step 802, but in step 1301 of FIG. 13, it is determined whether the value of the reception counter B is 0, and the counter If the value is 0, the process proceeds to step 803; otherwise, the flowchart of FIG. 13 is terminated. If the value of the reception counter B is greater than 0, it is obvious that at least once the packet has been received from the upper layer terminal and the transfer has been canceled. The flowchart of FIG. 13 ends. This is the reason why the flag used in step 709 in FIG.
 図14を参照して、実施例4のパケット管理テーブルの構成を説明する。図14において、パケット管理テーブル900Aは、パケットID 901と、受信カウンタA1401と、受信カウンタB1402と、転送済みフラグ904とから構成されている。パケットID 901および転送済みフラグ904は、実施例1ないし実施例3で使用するものと同様のフィールドである。実施例4では、各端末が2つの受信カウンタを保持するため、テーブルには受信カウンタA1401、受信カウンタB1402のフィールドを設ける。一方、実施例4では図9の上位階層の端末からの受信フラグ903が不要であるため、図14のパケット管理テーブル900Aには当該フィールドを設ける必要が無い。 The configuration of the packet management table of the fourth embodiment will be described with reference to FIG. In FIG. 14, the packet management table 900A includes a packet ID 901, a reception counter A1401, a reception counter B1402, and a transferred flag 904. The packet ID 901 and the transferred flag 904 are fields similar to those used in the first to third embodiments. In the fourth embodiment, since each terminal holds two reception counters, fields of reception counter A 1401 and reception counter B 1402 are provided in the table. On the other hand, in the fourth embodiment, since the reception flag 903 from the upper layer terminal in FIG. 9 is not necessary, it is not necessary to provide the field in the packet management table 900A in FIG.
 100…通信システム、200…端末、201…マイコン、202…ROM、203…中央制御部、204…通信処理部、205…経路管理部、206…パケット転送制御部、207…RAM、208…クロック生成回路、209…電源回路、210…送受信回路、300…管理ノード、401…ヘッダ、402…ペイロード、403…宛先アドレス、404…最終宛先アドレス、405…送信元アドレス、406…発信元アドレス、407…パケットID、408…送信元端末の階層数、409…アプリケーションデータ、900…パケット管理テーブル、901…パケットID、902…受信カウンタ、903…上位階層の端末からの受信フラグ、904…転送済みフラグ、1401…受信カウンタA、1402…受信カウンタB。 DESCRIPTION OF SYMBOLS 100 ... Communication system, 200 ... Terminal, 201 ... Microcomputer, 202 ... ROM, 203 ... Central control part, 204 ... Communication processing part, 205 ... Path management part, 206 ... Packet transfer control part, 207 ... RAM, 208 ... Clock generation Circuit 209 power supply circuit 210 transmission / reception circuit 300 management node 401 header header 402 403 destination address 404 destination address 405 source address 406 source address 407 source address 407 Packet ID, 408 ... Number of layers of transmission source terminal, 409 ... Application data, 900 ... Packet management table, 901 ... Packet ID, 902 ... Reception counter, 903 ... Reception flag from upper layer terminal, 904 ... Transfer completed flag, 1401... Reception counter A, 1402.

Claims (7)

  1.  他の端末装置から受信したフラッディングパケット毎に受信カウンタを備え、
     前記受信カウンタは、宛先までのホップ数が自端末装置と同一または小さい端末装置から当該フラッディングパケットを受信する度にカウンタ値を更新し、
     前記フラッディングパケットの転送可否について、前記カウンタ値と、宛先までのホップ数に設定する閾値とに基づいて決定するパケット転送制御部と、
     前記パケット転送制御部の決定に基づいて、前記フラッディングパケットを送信する通信処理部とを更に備えることを特徴とする端末装置。
    A reception counter is provided for each flooding packet received from another terminal device,
    The reception counter updates the counter value every time the flooding packet is received from a terminal device in which the number of hops to the destination is the same as or smaller than the own terminal device,
    A packet transfer control unit that determines whether or not to transfer the flooding packet based on the counter value and a threshold value set in the number of hops to the destination;
    A terminal device further comprising: a communication processing unit that transmits the flooding packet based on the determination of the packet transfer control unit.
  2.  請求項1に記載の端末装置であって、
     前記パケット転送制御部は、前記カウンタ値が前記閾値に達した際に、当該フラッディングパケットの転送を中止することを特徴とする端末装置。
    The terminal device according to claim 1,
    The packet transfer control unit stops the transfer of the flooding packet when the counter value reaches the threshold value.
  3.  請求項1に記載の端末装置であって、
     前記フラッディングパケットの初回受信でスタートするタイマをさらに備え、
     前記パケット転送制御部は、前記カウンタ値が前記閾値に達する前に、かつ前記タイマがタイムアップしたとき、当該フラッディングパケットの転送を決定することを特徴とする端末装置。
    The terminal device according to claim 1,
    A timer that starts upon initial reception of the flooding packet;
    The packet transfer control unit determines transfer of the flooding packet before the counter value reaches the threshold and when the timer expires.
  4.  請求項1に記載の端末装置であって、
     前記受信カウンタは、第1の受信カウンタと第2の受信カウンタとを備え、
     前記第1の受信カウンタは、宛先までのホップ数が自端末装置と同一の端末装置から当該フラッディングパケットを受信する度にカウンタ値を更新し、
     前記第2の受信カウンタは、宛先までのホップ数が自端末装置より小さい端末装置から当該フラッディングパケットを受信する度にカウンタ値を更新することを特徴とする端末装置。
    The terminal device according to claim 1,
    The reception counter includes a first reception counter and a second reception counter,
    The first reception counter updates a counter value every time the flooding packet is received from a terminal device having the same number of hops to the destination as the terminal device itself,
    The second reception counter updates the counter value every time the flooding packet is received from a terminal device whose number of hops to the destination is smaller than the terminal device.
  5.  請求項2に記載の端末装置であって、
     前記パケット転送制御部は、前記フラッディングパケット転送を中止した後、宛先までのホップ数が自端末装置よりも小さい端末装置から一定時間経過しても当該パケットを受信できないとき、当該フラッディングパケットの転送中止を解除して転送を行なうことを特徴とする端末装置。
    The terminal device according to claim 2,
    The packet transfer control unit stops the forwarding of the flooding packet when the packet cannot be received after a certain period of time elapses from a terminal device having a smaller number of hops to the destination after stopping the forwarding of the flooding packet. A terminal device for canceling and performing transfer.
  6.  複数の階層を構成する複数の端末装置と、前記端末装置の1台と通信する管理ノードとを備える通信システムにおいて、
     前記端末装置は、他の端末装置から受信したフラッディングパケット毎に受信カウンタを備え、
     前記受信カウンタは、宛先までのホップ数が自端末装置と同一または小さい端末装置から当該フラッディングパケットを受信する度にカウンタ値を更新し、
     前記通信装置は、前記フラッディングパケットの転送可否について、前記カウンタ値と、宛先までのホップ数に設定する閾値とに基づいて決定するパケット転送制御部と、前記パケット転送制御部の決定に基づいて、前記フラッディングパケットを送信する通信処理部とを更に備えることを特徴とする通信システム。
    In a communication system comprising a plurality of terminal devices constituting a plurality of hierarchies and a management node that communicates with one of the terminal devices,
    The terminal device includes a reception counter for each flooding packet received from another terminal device,
    The reception counter updates the counter value every time the flooding packet is received from a terminal device in which the number of hops to the destination is the same as or smaller than the own terminal device,
    The communication device determines whether or not the flooding packet can be transferred based on the counter value and a threshold value set for the number of hops to the destination, and based on the determination of the packet transfer control unit, The communication system further comprising: a communication processing unit that transmits the flooding packet.
  7.  他の端末装置から受信したフラッディングパケット毎に受信カウンタと、前記フラッディングパケットの転送可否について、カウンタ値と宛先までのホップ数に設定する閾値とに基づいて決定するパケット転送制御部と、前記パケット転送制御部の決定に基づいて、前記フラッディングパケットを送信する通信処理部とを更に備える端末装置におけるパケット転送方法であって、
     宛先までのホップ数が自端末装置と同一または小さい端末装置からフラッディングパケットを受信したときに、前記受信カウンタの前記カウンタ値を更新するステップと、
     予め定めた期間において前記カウンタ値と宛先までのホップ数に設定する閾値とを比較するステップと、
     前記カウンタ値が前記閾値未満かつ前記予め定めた期間が満了したとき、前記フラッディングパケットを転送するステップとを含むパケット転送方法。
    A packet transfer control unit that determines a reception counter for each flooding packet received from another terminal device and whether or not the flooding packet can be forwarded based on a counter value and a threshold value set in the number of hops to the destination; and the packet forwarding A packet transfer method in a terminal device further comprising a communication processing unit for transmitting the flooding packet based on the determination of the control unit,
    A step of updating the counter value of the reception counter when a flooding packet is received from a terminal device having the same or smaller number of hops to the destination as the terminal device;
    Comparing the counter value with a threshold value set for the number of hops to the destination in a predetermined period;
    Transferring the flooding packet when the counter value is less than the threshold and the predetermined period has expired.
PCT/JP2012/058465 2012-03-29 2012-03-29 Terminal device, communication system and packet transmission system WO2013145241A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2012/058465 WO2013145241A1 (en) 2012-03-29 2012-03-29 Terminal device, communication system and packet transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2012/058465 WO2013145241A1 (en) 2012-03-29 2012-03-29 Terminal device, communication system and packet transmission system

Publications (1)

Publication Number Publication Date
WO2013145241A1 true WO2013145241A1 (en) 2013-10-03

Family

ID=49258606

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2012/058465 WO2013145241A1 (en) 2012-03-29 2012-03-29 Terminal device, communication system and packet transmission system

Country Status (1)

Country Link
WO (1) WO2013145241A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019026990A1 (en) * 2017-08-04 2019-02-07 パナソニックIpマネジメント株式会社 Wireless device and program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007184937A (en) * 2006-01-04 2007-07-19 Ntt Docomo Inc Broadcast method and apparatus in wireless mobile network
JP2011523531A (en) * 2008-05-14 2011-08-11 テルコーディア テクノロジーズ インコーポレイテッド Method for efficient organization of vehicle peer groups and efficient V2R communication

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007184937A (en) * 2006-01-04 2007-07-19 Ntt Docomo Inc Broadcast method and apparatus in wireless mobile network
JP2011523531A (en) * 2008-05-14 2011-08-11 テルコーディア テクノロジーズ インコーポレイテッド Method for efficient organization of vehicle peer groups and efficient V2R communication

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
TAKAHIRO FUJIWARA ET AL.: "Study on Sensor Networks for Disaster Damage Monitoring", PROCEEDINGS OF THE 2007 IEICE GENERAL CONFERENCE, TSUSHIN 2, 7 March 2007 (2007-03-07), pages S-31 - S-32 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019026990A1 (en) * 2017-08-04 2019-02-07 パナソニックIpマネジメント株式会社 Wireless device and program
JP2019033324A (en) * 2017-08-04 2019-02-28 パナソニックIpマネジメント株式会社 Wireless device and program
JP7133797B2 (en) 2017-08-04 2022-09-09 パナソニックIpマネジメント株式会社 wireless device, program

Similar Documents

Publication Publication Date Title
EP2460385B1 (en) Low latency mesh network
US8787257B2 (en) Network communication system, node device, routing method and routing program
JP6679498B2 (en) Method and apparatus for reducing packet storm duration in wireless mesh networks
US7310761B2 (en) Apparatus and method for retransmitting data packets in mobile ad hoc network environment
US8774051B2 (en) Path notification
CN108476457A (en) Distributed reaction resource in time slotted channel hopping network and management and running
US9210096B2 (en) Routing method and node equipment
US10193661B2 (en) Communication device, non-transitory computer readable medium and wireless communication system
JP4846812B2 (en) Wireless communication system
WO2013129670A1 (en) Terminal, route generation method, and route generation program
JPWO2014057709A1 (en) Data distribution system, distribution device, terminal device, and data distribution method
CN108476417B (en) Method for managing neighbor table and communication device adapted to manage neighbor table
JP5853227B2 (en) Multi-hop communication method, multi-hop communication system, and communication terminal
JP5870285B2 (en) Multi-hop communication method, multi-hop communication system, and communication terminal
WO2013145241A1 (en) Terminal device, communication system and packet transmission system
JP5870286B2 (en) Multi-hop communication method, multi-hop communication system, and communication terminal
JP5796214B2 (en) Multi-hop communication method and multi-hop communication system
JP6581058B2 (en) Wireless communication apparatus, wireless communication system, and program
US9622146B2 (en) Transmitting apparatus, receiving apparatus, managing apparatus, and computer readable medium
JP5854450B2 (en) Wireless communication system, wireless communication apparatus, wireless communication method, and program
JP6252813B2 (en) Communication apparatus and communication system
JP4520350B2 (en) Wireless device
JP6701731B2 (en) Communication system, communication unit, and communication method
JP2015065625A (en) Communication device, radio network system, radio network control method and radio network control program
JP5388363B2 (en) Communications system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12872642

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12872642

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP