The present invention relates to a reception apparatus constituting a communication apparatus that communicates with a plurality of devices.
As a mode of communication systems, there is a configuration in which one communication apparatus communicates with a plurality of communication apparatuses. For example, in a network formed of one controlling device and a plurality of controlled devices, the controlling device issues an operation instruction to a part or all of the plurality of controlled devices, and the controlled devices that have received the instruction operate according to the content of the instruction. The controlled device having received the instruction may return a response signal at a predetermined timing. Examples of the response signal include a signal indicating the start of an instructed operation or the completion of the operation and a signal of various data held by the controlled device. For the sake of managing a network or other sakes, there are some signals transmitted by the controlled devices in their own rights without any instructions from the controlling device.
In general, when there are different kinds of signals, processing loads (processing delay times) imposed for reception processings of the signals are different from each other. When first communication requiring a larger processing load is executed and subsequently second communication requiring a smaller processing load is executed, if attention is paid to the second communication, a timing of starting the processing for the second communication is delayed. Accordingly, a required time until completion of the second communication is longer than that in a normal condition. For example, when the second communication is more important than the first communication and prolongation of the required time for completing the communication is a problem, the problem can be solved by the technique described in Patent Literature 1. According to a data communication apparatus described in Patent Literature 1, the data communication apparatus includes a plurality of communication processing paths and performs data communication and other communication using different communication processing paths, thereby making it possible to avoid decrease in processing throughput.
The data communication apparatus described in Patent Literature 1 is effective for sequentially receiving signals of a plurality of kinds having different processing loads. However, the data communication apparatus is not configured to take account of a case where a plurality of communication apparatuses simultaneously transmit signals of the same kind to a certain communication apparatus in a network configuration for communicating with a plurality of counterparts, that is, a case where one communication apparatus sequentially receives signals of the same kind, for example.
When a plurality of communication apparatuses concurrently transmit signals (packets) of the same kind to one communication apparatus, the receiving-side communication apparatus needs to process a large number of packets in a short time. However, when so many packets that the number of the packets exceeds the processing capability arrive, packets that have not been processed may be lost (packet loss may occur). To solve this problem, countermeasures such as employing a CPU with a high processing capability can be taken. However, in this case, another problem of increase in the apparatus cost arises.
The present invention has been achieved in view of the above circumstances, and an object of the present invention is to provide a reception apparatus and a communication apparatus that can avoid occurrence of the packet loss even when receiving a large number of packets in a short time period.
In order to solve the above-mentioned problem and achieve the object, the present invention provides a reception apparatus constituting a communication apparatus that performs one-to-many communication with a plurality of counterpart communication apparatuses, the reception apparatus comprising: a packet processor that processes a received packet; and a buffer that, in response to input of a packet received from a counterpart communication apparatus, adjusts an interval between packets sequentially inputted to the packet processor to a specified value or more and outputs the input packet to the packet processor.
According to the present invention, occurrence of the packet loss can be prevented by avoiding increase in processing load imposed for packet processing.
Exemplary embodiments of a reception apparatus and a communication apparatus according to the present invention will be explained below in detail with reference to the accompanying drawings. The present invention is not limited to the embodiments.
The formation of a train illustrated in
The central apparatus 11 is configured to include the reception apparatus according to the present invention and the other parts, and connected to a control operation apparatus (not illustrated) such as a master controller to perform input/output processing of train information. The central apparatus 11 transmits data including control information and the like to the devices 12 and collects data from the devices 12. For example, the central apparatus 11 broadcasts inquiry signals about the operation states to the devices 12 in the system and receives response signals from the devices 12. Examples of the devices 12 include an air conditioner, a lighting device, a display, a motor, and a brake.
As illustrated in
Detailed operations of the buffer 102 are explained. When receiving a packet from the receiver 103, the buffer 102 determines the output timing of the newly received packet to the packet processor 101 by considering the elapsed time from an instant of outputting a packet that has been previously received and outputs the new packet at the determined timing. More specifically, the buffer 102 determines the output timing to the packet processor 101 in such a way that an interval between the timings of outputting the packets to the packet processor 101 is not less than a constant value T. That is, when the buffer 102 receives a plurality of packets from the receiver 103 in a period having a period length of T, the buffer 102 outputs the second packet of the plurality of packets received in this period at a time point at which the time T has elapsed from an instant of outputting of the first packet. When the third packet exists, the buffer 102 outputs the third packet at a time point at which the time T has elapsed from an instant of outputting the second packet. The same is true for the fourth or later packets. T is assumed as a value that is determined in advance by considering the processing capability of the packet processor 101. For example, T=0.5 ms is assumed.
For example, the buffer 102 has a timer for counting the time T. The timer starts (starts counting the time T) each time a packet is outputted to the packet processor 101. When receiving a packet from the receiver 103, the buffer 102 checks the timer. When the timer has expired (the count of the time T has been completed), the buffer 102 immediately outputs the received packet and starts the timer. On the other hand, when the timer has not expired, the buffer 102 waits until the timer expires, and then outputs the packet (and also starts the timer).
As described above, to avoid a large number of packets from being inputted in a short time period to the packet processor 101 that processes the packets received from the devices 12, the buffer 102 that adjusts the packet-input timing to the packet processor 101 is included in the reception apparatus 100 according to the present embodiment. By doing so, it is possible to prevent the occurrence of a processing error that is caused by the overload state of the packet processor 101.
Since the occurrence of a processing error is prevented, failure to take packets (packet loss) does not occur and the frequency of retransmission control for requesting the devices 12 to retransmit a lost packet can be also made low. Therefore, the traffic from the devices 12 to the reception apparatus 100 does not increase more than required.
A reception apparatus of a second embodiment is explained. A configuration of a communication system to which the reception apparatus according to the second embodiment is applied are identical to that of the first embodiment (see
The filter 104 receives packets from the receiver 103 and outputs all or part of the packets to the buffer 102. That is, the filter 104 outputs packets of a specific kind to the buffer 102 according to an instruction provided by a control signal. Packets of kinds other than the specific kind that is instructed by the control signal are discarded, for example. These packets may be outputted to other constituent elements (not illustrated, for example, other devices constituting the central apparatus 11) instead of being discarded. The control signal may instruct to output all packets to the buffer 102 (instruct to stop a filter function) in some cases. For example, the control signal is inputted from a control operation apparatus (not illustrated) such as a master controller provided in a cab of a train.
For example, the filter 104 classifies packets inputted from the receiver 103 into first packets that include data (hereinafter, referred to as “control data”) used for controlling the devices 12 and second packets that are packets other than the first packets. The filter 104 outputs the first packets to the packet processor 101 and discards the second packets. For example, packets inputted from the receiver 103 are identified using a port number. For example, the port number is determined as “8001” in advance when the control data are to be transmitted. The packet identifying method using a port number is one example and the packets may be identified by other methods. Packets may be identified based on priorities, or packets may be identified by adding identification information that indicates control data to the head of the data and using the identification information. Packets may be identified using a plurality of kinds of information such as port numbers and priorities. Examples of the second packet include an ICMP (Internet Control Message Protocol) packet and an ARP (Address Resolution Protocol) packet.
The filter 104 may have a function of processing all or part of the second packets. For example, in some cases, when the filter 104 has a function of processing ICMP packets or ARP packets and receives an ICMP packet or an ARP packet, the filter 104 does not discard the packet but may return a response packet in place of the packet processor 101. For example, when the filter 104 receives an Echo Message, the filter 104 returns an Echo Reply Message. In this configuration, the processing load on the packet processor 101 can be reduced and influence on the operations of other devices can be minimized.
As described above, the reception apparatus 100a according to the present embodiment is configured by adding the filter 104 to the reception apparatus 100 according to the first embodiment, the filter 104 discriminating the kinds of received packets and passes packets of a specific kind to the buffer 102. Accordingly, an important packet (for example, a packet including control data) that needs to be processed with priority by the packet processor 101 can be selected and processed by the packet processor 101, thereby preventing the load on the packet processor 101 from increasing. The kind of packets to be passed is made variable by the filter 104. For this reason, for example, when packets (control packets) including control data are expected to be intensively transmitted, filtering is performed, and when the control packets are expected not to be intensively transmitted, filtering is not performed. Such flexible operations can be realized. Control packets are intensively transmitted when the central apparatus 11 issues control-data transmitting instructions to the devices 12 by broadcast or multicast, for example. Accordingly, it is possible to realize operations including an operation of filtering for a certain time period after the instructions are issued (for example, a time period having a length that is determined according to the number of the devices 12 in the system) can be performed.
A reception apparatus of a third embodiment is explained. A configuration of a communication system to which the reception apparatus according to the third embodiment is applied are identical to those of the first and second embodiments (see
In the reception apparatus 100 according to the first embodiment and the reception apparatus 100a according to the second embodiment, the buffer 102 outputs packets while considering prevention of a plurality of packets from being inputted to the packet processor 101 in a short time period. On the other hand, in the reception apparatus 100b according to the present embodiment, the packet processor 101b reads out a packet stored in the buffer 102b at its own timing. That is, the packet processor 101b adjusts a timing for reading out the packet according to the processing load state of the packet processor 101b itself. In a heavier load state, the packet processor 101b delays the reading-out timing, and in a lighter load state, the packet processor 101b advances the reading-out timing.
The buffer 102b has a plurality of first regions for classifying and holding packets of a specific kind for each device 12 that is a transmission source and a second region for collecting and holding other packets that differ from the packets of the specific kind. Packets stored in the first regions are held without being outputted until an instruction from the packet processor 101b is received. Packets stored in the second region are outputted to the packet processor 101b by the buffer 102b at a predetermined timing. For example, the output timing used herein is determined in the same manner as in the buffer 102 according to the first embodiment.
Similarly to the filter 104 that has been explained in the second embodiment, the filter 104b outputs packets of a specific kind that is specified by a control signal to the buffer 102b. At this time, the filter 104b checks the device 12 that is a transmission source of a packet to be outputted to the buffer 102b and stores the packet in a region associated with the transmission-source device 12, of a plurality of regions (the first regions mentioned above) present in the buffer 102b. The filter 104b may store all or part of packets of kinds other than the specific kind in the second region in the buffer 102b. Similarly to the filter 104 according to the second embodiment, the filter 104b may have a function of processing the ICMP packets or an ARP function.
In a lighter processing-load state (a state where the processing load is lower than a specified value and a larger number of packets can be processed), the packet processor 101b accesses the first regions (regions denoted by DEVICE #1 to DEVICE #x in
As described above, in the reception apparatus 100b according to the present embodiment, the buffer 102b classifies, as packets of the specific kind, packets (control packets) including control data, for example, for each device that is a transmission source and holds the packets, and the packet processor 101b acquires control packets from the buffer 102b at its own timing that is determined by considering the processing load state of the packet processor 101b itself.
In the first and second embodiments, when packets to be received are concentrated, the buffer 102 adjusts the packet-input timing to the packet processor 101 without considering the processing load state of the packet processor 101. Therefore, the packet-input timing to the packet processor 101 may be delayed beyond necessity, thereby making the processing delay in the entire reception apparatus more than needs. On the other hand, in the present embodiment, because the packet processor 101b reads out the control packets at a timing that is determined by considering the processing load state of the packet processor 101b itself, the overload state of the packet processor 101b can be avoided and occurrence of an unnecessarily amount of processing delay can be avoided in the entire apparatus.
In the present embodiment, the filter 104b checks the transmission source of a packet, classifies the packet, and stores the packet in a region (a region in the buffer 102b) associated with the transmission source. However, the buffer 102b may classify the packets according to transmission source.
As described above, the reception apparatus according to the present invention is useful for a communication apparatus that has a plurality of communication counterparts transmitting signals at a timing determined independently by the respective communication counterparts, and is particularly suitable as a reception apparatus for a communication apparatus that is connected to a network established in a train and performs one-to-many communication using a large number of devices as control targets.
10
a leading vehicle, 10b vehicle, 11 information-control central apparatus, 12 train-mounted device, 20 inter-vehicle transmission path, 21 in-vehicle transmission path, 100, 100a, 100b reception apparatus, 101, 101b packet processor, 102, 102b buffer, 103 receiver, 104, 104b filter.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2013/076535 | 9/30/2013 | WO | 00 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2015/045151 | 4/2/2015 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
6687754 | Sorensen | Feb 2004 | B1 |
6751228 | Okamura | Jun 2004 | B1 |
6885659 | Aoyagi et al. | Apr 2005 | B2 |
6948186 | Brosey | Sep 2005 | B1 |
7489678 | Aoyagi et al. | Feb 2009 | B2 |
7873964 | Huang et al. | Jan 2011 | B2 |
7924824 | Aoyagi et al. | Apr 2011 | B2 |
8416430 | Suzue | Apr 2013 | B2 |
8943214 | Yamaura et al. | Jan 2015 | B2 |
10037458 | Mahmoud | Jul 2018 | B1 |
10637639 | Furuishi | Apr 2020 | B2 |
20010030966 | Choi | Oct 2001 | A1 |
20010034799 | Ito | Oct 2001 | A1 |
20010038644 | Yamauchi | Nov 2001 | A1 |
20020064186 | Aoyagi et al. | May 2002 | A1 |
20020131443 | Robinett | Sep 2002 | A1 |
20040136368 | Wakayama | Jul 2004 | A1 |
20050117583 | Uchida | Jun 2005 | A1 |
20050129006 | Aoyagi et al. | Jun 2005 | A1 |
20050180452 | Rhee | Aug 2005 | A1 |
20060064508 | Panwar | Mar 2006 | A1 |
20060067231 | Ikoma et al. | Mar 2006 | A1 |
20080148291 | Huang et al. | Jun 2008 | A1 |
20080192741 | Lee et al. | Aug 2008 | A1 |
20090016366 | Endo | Jan 2009 | A1 |
20090125714 | Khosmood | May 2009 | A1 |
20090213727 | Aoyagi et al. | Aug 2009 | A1 |
20090238197 | Cadigan, Jr. | Sep 2009 | A1 |
20090252055 | Yazaki | Oct 2009 | A1 |
20100054269 | Brown | Mar 2010 | A1 |
20100124234 | Post | May 2010 | A1 |
20110004815 | Schultz | Jan 2011 | A1 |
20110247004 | Matsukawa | Oct 2011 | A1 |
20110292934 | Oishi | Dec 2011 | A1 |
20120212764 | Tanaka | Aug 2012 | A1 |
20150029841 | Takayanagi | Jan 2015 | A1 |
Number | Date | Country |
---|---|---|
2000-235536 | Aug 2000 | JP |
2002-164918 | Jun 2002 | JP |
2003-244665 | Aug 2003 | JP |
2004-094473 | Mar 2004 | JP |
2006-031145 | Feb 2006 | JP |
2006-121667 | May 2006 | JP |
2007-142582 | Jun 2007 | JP |
2008-541605 | Nov 2008 | JP |
2009-077108 | Apr 2009 | JP |
2010-170320 | Aug 2010 | JP |
2010-226283 | Oct 2010 | JP |
2011-210201 | Oct 2011 | JP |
2012-175490 | Sep 2012 | JP |
2008054941 | May 2008 | WO |
WO 2011033562 | Mar 2011 | WO |
Entry |
---|
The extended European Search Report dated Mar. 9, 2017, by the European Patent Office in corresponding European Application No. 13894116.6. (8 pages). |
International Search Report (PCT/ISA/210) dated Oct. 29, 2013, by the Japanese Patent Office as the International Searching Authority for International Application No. PCT/JP2013/076535. |
Written Opinion (PCT/ISA/237) dated Oct. 29, 2013, by the Japanese Patent Office as the International Searching Authority for International Application No. PCT/JP2013/076535. |
An English Translation of the Office Action (Notice of Rejection) dated Jun. 21, 2016, by the Japanese Patent Office in corresponding Japanese Patent Application No. 2015-538798. (3 pages). |
Number | Date | Country | |
---|---|---|---|
20160212059 A1 | Jul 2016 | US |