RECEPTION APPARATUS AND METHOD AND PROGRAM

Information

  • Patent Application
  • 20070171829
  • Publication Number
    20070171829
  • Date Filed
    January 18, 2007
    17 years ago
  • Date Published
    July 26, 2007
    17 years ago
Abstract
A reception apparatus for receiving first packets, including: a first decider configured to decide whether or not the number of the first packets received in response to a request from an application layer exceeds a first threshold value which is the number of the first packets when a second packet having a size of data greater than the size of data placed in each of the first packets is produced from the first packets; a second decider configured to decide, when it is decided by said first decider that the first threshold value is not exceeded, whether or not a predetermined period of time elapses after the last first packet is received until a timeout occurs; a third decider configured to decide, when it is decided by said second decider that the predetermined period of time elapses, whether or not the number of times by which the predetermined period of time elapses successively exceeds a second threshold value which is a permitted number of times of the timeout; and a first setter configured to set, when it is decided by said third decider that the second threshold value is exceeded, the first threshold value so as to decrement the number of the first packets to be used to produce the second packet.
Description

BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a block diagram showing an example of a hardware configuration of a personal computer to which the present invention is applied;



FIG. 2 is a flow diagram illustrating processing of packet communication by the personal computer of FIG. 1;



FIG. 3 is a diagrammatic view illustrating a relationship between a jumbo packet and packets;



FIG. 4 is a table illustrating a process of producing an IP header;



FIG. 5 is a table illustrating a process of producing a TCP header;



FIG. 6 is a flow diagram illustrating processing of packet reception by the personal computer of FIG. 1;



FIG. 7 is a block diagram showing an example of a functional configuration of the personal computer of FIG. 1;



FIG. 8 is a flow chart illustrating a data reception process by the personal computer of FIG. 1;



FIG. 9 is a flow chart illustrating details of a jumbo packet function initialization process illustrated in FIG. 8;



FIG. 10 is a view illustrating a jumbo packet register shown in FIG. 7;



FIG. 11 is a flow chart illustrating a jumbo packet register setting process illustrated in FIG. 9;



FIG. 12 is a flow chart illustrating a jumbo packet reception process illustrated in FIG. 8; and



FIG. 13 is a block diagram showing a configuration of a general personal computer.


Claims
  • 1. A reception apparatus for receiving first packets, comprising: a first decider configured to decide whether or not the number of the first packets received in response to a request from an application layer exceeds a first threshold value which is the number of the first packets when a second packet having a size of data greater than the size of data placed in each of the first packets is produced from the first packets;a second decider configured to decide, when it is decided by said first decider that the first threshold value is not exceeded, whether or not a predetermined period of time elapses after the last first packet is received until a timeout occurs;a third decider configured to decide, when it is decided by said second decider that the predetermined period of time elapses, whether or not the number of times by which the predetermined period of time elapses successively exceeds a second threshold value which is a permitted number of times of the timeout; anda first setter configured to set, when it is decided by said third decider that the second threshold value is exceeded, the first threshold value so as to decrement the number of the first packets to be used to produce the second packet.
  • 2. The reception apparatus according to claim 1, further comprising a processor configured to produce, when it is decided by said third decider that the second threshold value is not exceeded, the second packet from the received first packets and pass the processing to said application layer.
  • 3. The reception apparatus according to claim 1, wherein, when it is decided by said third decider that the second threshold value is exceeded, said first setter sets the first threshold value so as to decrement the number of the first packets to be used to produce the second packet by one.
  • 4. The reception apparatus according to claim 1, further comprising a second setter configured to set initial values for the first threshold value, second threshold value and predetermined time period; said first decider deciding whether or not the number of the first packets received in response to the request from said application layer exceeds the set first threshold value;said second decider deciding, when it is decided by said first decider that the first threshold value is not exceeded, whether or not the set predetermined period of time elapses after the last first packet is received;said third decider deciding, when it is decided by said second decider that the predetermined period of time elapses, whether or not the number of times by which the predetermined period of time elapses successively exceeds the set second threshold value.
  • 5. A reception method for a reception apparatus for receiving first packets, comprising: a first decision step of deciding whether or not the number of the first packets received in response to a request from an application layer exceeds a first threshold value which is the number of the first packets when a second packet having a size of data greater than the size of data placed in each of the first packets is produced from the first packets;a second decision step of deciding, when it is decided that the first threshold value is not exceeded, whether or not a predetermined period of time elapses after the last first packet is received until a timeout occurs;a third decision step of deciding, when it is decided that the predetermined period of time elapses, whether or not the number of times by which the predetermined period of time elapses successively exceeds a second threshold value which is a permitted number of times of the timeout; anda setting step of setting, when it is decided that the second threshold value is exceeded, the first threshold value so as to decrement the number of the first packets to be used to produce the second packet.
  • 6. A program for causing a computer to perform processing of a reception apparatus for receiving first packets, comprising: a first decision step of deciding whether or not the number of the first packets received in response to a request from an application layer exceeds a first threshold value which is the number of the first packets when a second packet having a size of data greater than the size of data placed in each of the first packets is produced from the first packets;a second decision step of deciding, when it is decided that the first threshold value is not exceeded, whether or not a predetermined period of time elapses after the last first packet is received until a timeout occurs;a third decision step of deciding, when it is decided that the predetermined period of time elapses, whether or not the number of times by which the predetermined period of time elapses successively exceeds a second threshold value which is a permitted number of times of the timeout; anda setting step of setting, when it is decided that the second threshold value is exceeded, the first threshold value so as to decrement the number of the first packets to be used to produce the second packet.
Priority Claims (1)
Number Date Country Kind
2006-017207 Jan 2006 JP national