WO2008050394A1 - Système de transmission/réception de paquets de données, procédé de transmission/réception de paquets de données et programme de transmission/réception de paquets de données - Google Patents
Système de transmission/réception de paquets de données, procédé de transmission/réception de paquets de données et programme de transmission/réception de paquets de données Download PDFInfo
- Publication number
- WO2008050394A1 WO2008050394A1 PCT/JP2006/321114 JP2006321114W WO2008050394A1 WO 2008050394 A1 WO2008050394 A1 WO 2008050394A1 JP 2006321114 W JP2006321114 W JP 2006321114W WO 2008050394 A1 WO2008050394 A1 WO 2008050394A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- credit
- data packet
- capacity
- transmission
- stored
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/382—Information transfer, e.g. on bus using universal interface adapter
- G06F13/387—Information transfer, e.g. on bus using universal interface adapter for adaptation of different data processing systems to different peripheral devices, e.g. protocol converters for incompatible systems, open system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F5/00—Methods or arrangements for data conversion without changing the order or content of the data handled
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
Definitions
- Data packet transmission / reception system Data packet transmission / reception method, and data packet transmission / reception program
- the present invention relates to a data packet transmission / reception system, a data packet transmission / reception method, and a data packet transmission / reception program.
- Patent Document 1 Japanese Patent Laid-Open No. 9-135270
- the number of queue stages (number of packets) that can be stored in the reception buffer is fixedly determined in advance from the longest size (maximum capacity) of the data packet.
- a technique for controlling transmission of a data packet using a fixedly determined number of queue stages is disclosed.
- FIG. 22 is a diagram for explaining the outline and features of the data packet transmission control system according to the prior art.
- the size of the reception buffer on the receiving side is 16 bytes
- the maximum size of the data packet transmitted from the transmitting side is 4 bytes, which can be stored in the reception buffer.
- An example will be described in which four queue stages (packets) are fixedly determined in advance.
- the transmission side has a credit control counter, and each time a data packet is read from the transmission buffer and transmitted to the reception side, the size of the data packet to be transmitted (data capacity) Add one credit control counter value (see (1) in the figure).
- the receiving side writes the received data packet with the leading power of the receiving buffer packed (see (2) in the figure).
- the reception buffer capacity is also read each time a data packet is read. One credit is sent back to the sender regardless of the data packet size ((
- this counter control counter includes four queue stages (packets) that can be stored in the reception buffer. Is fixedly set in advance. Therefore, at the transmission side, when it is time to read out the transmission notifier power data packet and transmit the data packet to the reception side, it is determined whether or not the current value of the credit control counter has reached a fixed value (four). To do. On the transmission side, if the current value of the credit control counter does not reach the fixed value (four), the transmission buffer capacity also reads out the data packet and transmits the data packet to the reception side.
- Patent Document 1 prevents data packets from being discarded due to overflow of the reception buffer.
- Patent Document 1 Japanese Patent Laid-Open No. 9135270 (page 2-4, FIG. 13)
- Patent Document 2 JP 2001-94613 (page 3-5, Fig. 1)
- Patent Document 3 Japanese Patent Laid-Open No. 11-110315 (Pages 6-10, Fig. 1-2)
- the conventional technique described above has a problem in that it is difficult to effectively use resources as a reception buffer in which an unused area is easily generated in the reception buffer. .
- the number of queue stages that can be stored in the reception buffer is fixedly determined in advance from the longest size of the data packet (four in the above example). For this reason, as shown in Fig. 22, the longest size of the data packet is the same as when four packets of size "4 bytes, 2 bytes, 2 bytes, 2 bytes" are stored in the receive buffer. Even if a short-sized data packet that is less than the maximum size is stored in the receive buffer, the value of the credit control counter on the sending side reaches a fixed value (four).
- the present invention has been made to solve the above-described problems of the prior art, and a data packet transmission / reception system and a data packet transmission / reception system capable of effectively using resources as a reception buffer. It is an object to provide a method and a data packet transmission / reception program.
- the invention according to claim 1 is a data packet transmission / reception system for transmitting a data packet to a receiving apparatus having a receiving buffer and a receiving apparatus having a transmitting buffer. Then, when the data packet stored in the reception buffer is read out, the receiving device specifies the capacity used for specifying the capacity of the read data packet to the transmitting device. The information is transmitted to the transmission device, and the transmission device stores, as credits, a value corresponding to the total capacity of all data packets that are currently stored with respect to the capacity of the reception buffer, from the transmission buffer. When the data packet is transmitted to the receiving device, a credit with a value corresponding to the capacity of the transmitted data packet is credited.
- the capacity of the data packet read from the reception buffer is specified using the capacity specifying information, and a credit having a value corresponding to the specified capacity is subtracted from the credit stored in the credit storage means. And controlling to permit or stop the transmission of the data packet based on the value of the credit stored in the credit storage means.
- the capacity specifying information transmitting unit provides, as the capacity specifying information, a credit having a value corresponding to a capacity of a data packet read from the reception buffer.
- the credit adding means transmits to the transmitting device, adds a credit having a value corresponding to the capacity of the data packet transmitted to the receiving device to the credit stored in the credit storing means, and stores the credit.
- the subtracting means comprises the credit of the value received by the receiving device, and is stored in the credit storage means after being subtracted from the credit.
- the capacity specifying information transmitting means transmits the capacity specifying information related to the capacity of the read data packet to the transmitting apparatus.
- the credit adding means stores the credit of the value according to the capacity of the data packet transmitted to the receiving device, and stores it in the credit storage means in the order of transmission by dividing the data packet.
- the credit subtracting means classifies each data packet and stores the credit of the oldest transmitted data packet from among the credits stored in the credit storage means in the order of transmission. It is characterized by comprising subtracting and storing.
- the identification information for uniquely identifying the data packet to be transmitted is included in the data
- the capacity specifying information transmission means adds the identification information added to the data packet regardless of the capacity of the data packet read from the reception buffer.
- the credit addition means divides a credit having a value corresponding to the capacity of the data packet transmitted to the reception device for each data packet, adds the identification information, and adds the credit information.
- the credit stored in the storage means is added to the credit and stored.
- the subtracting means is classified for each data packet, and the identification information is added and stored in the credit storage means!
- the data corresponding to the identification information received from the receiving device from among the credits It is characterized by subtracting and storing packet credits.
- the transmission control means tries to transmit the credit value stored in the credit storage means from the transmission device.
- the added value power obtained by adding the credit value corresponding to the capacity of the data packet that has reached the predetermined value determined from the capacity of the reception buffer is determined to determine whether or not the power is higher, and the added value reaches the predetermined value.
- the transmission of the data packet is permitted, and if the added value reaches the predetermined value, the transmission of the data packet is controlled to stop. It is characterized by that.
- the transmission control means is configured such that the credit value stored in the credit storage means is a predetermined value determined from a capacity of the reception buffer. If the credit value has not reached the predetermined value, transmission of the data packet is permitted, and the credit value is set to the predetermined value. In such a case, control is provided so as to stop transmission of the data packet.
- the invention according to claim 7 is a data packet transmission / reception method for transmitting a data packet from a transmission apparatus having a transmission buffer to a reception apparatus having a reception buffer, wherein the reception apparatus is connected to the reception buffer.
- the capacity specifying information for transmitting the capacity specifying information used for specifying the capacity of the read data packet to the transmitting apparatus to the transmitting apparatus.
- a value corresponding to the capacity of the transmitted data packet is set.
- the invention according to claim 8 is a data packet transmission / reception program for causing a computer to execute a method of transmitting a data packet from a transmission apparatus having a transmission buffer to a reception apparatus having a reception buffer, the reception apparatus
- the computer as the transmission device transmits capacity specifying information used in specifying the capacity of the read data packet in the transmitting device.
- the capacity specifying information transmission procedure to be transmitted to the device and the computer as the transmitting device are stored in the capacity of the reception buffer, and a value corresponding to the total capacity of all data packets is credited to the credit counter.
- a credit addition procedure for storing a credit of a value corresponding to the capacity of the transmitted data packet in addition to the credit stored in the credit counter when the packet is transmitted; and the receiving device
- the capacity specifying information is used to specify the capacity of the data packet from which the reception buffer capacity is also read, and a credit corresponding to the specified capacity is stored in the credit counter.
- a credit subtraction procedure for subtracting and storing the stored credit, and control to allow or stop transmission of the data packet based on the value of the credit stored in the credit counter! /
- a transmission control procedure to be executed by a computer.
- the invention according to claim 9 is a receiving device that receives a data packet transmitted from a transmitting device, and has a receiving buffer that stores the data packet, and is stored in the receiving buffer.
- the capacity specifying information used for specifying the capacity of the read data packet is transmitted to the transmitting device. It is characterized by having prepared.
- the capacity specifying information transmitting means provides a credit having a value corresponding to the capacity of the data packet read from the reception buffer as the capacity specifying information. It transmits to the said transmission apparatus, It is characterized by the above-mentioned.
- the invention according to claim 11 is a transmitting device that transmits a data packet to a receiving device including a receiving buffer, and is a value corresponding to a total capacity of all data packets stored in the receiving buffer. Is stored as credit, and when a data packet is transmitted to the receiving device, a credit having a value corresponding to the capacity of the transmitted data packet is added to the credit stored in the credit storage means.
- the reception buffer power based on the capacity specifying information for specifying the capacity of the data packet read from the reception buffer, received from the receiving device, and the value of the target according to the capacity of the read data packet. Is subtracted from the credit stored in the credit storage means and stored in the credit storage means based on the credit value stored in the credit storage means.
- Te characterized by comprising a controllable to allow or stop the transmission of the data packet.
- the reception device when the data packet stored in the reception buffer is read, the reception device transmits the capacity specifying information to the transmission device, and the transmission device Stores the value corresponding to the total capacity of all data packets stored as a credit for the capacity of the reception buffer as credits, and is transmitted when the data packet is transmitted from the transmission buffer to the reception device.
- the credit corresponding to the capacity of the data packet is added to the current credit and stored, and when the capacity specifying information is received from the receiving device, the received buffer capacity is read using the capacity specifying information.
- the capacity of the packet is specified, the credit corresponding to the specified capacity is subtracted from the current credit and stored, and the credit stored in the credit storage means is stored.
- control is performed to allow or stop the transmission of data packets, so the transmitter understands the data packet congestion in the reception buffer not by the number of data packets but by the data capacity, Sending data packets while dynamically adjusting the number of stored data packets (the number of queue stages) within a range where the data packets do not overflow will reduce the unused area of the receive buffer. Effectively use resources as It is possible to use.
- the receiving device transmits, as capacity specifying information, a credit having a value corresponding to the capacity of the data packet read from the receiving buffer to the transmitting device.
- the device adds the credit of the value according to the capacity of the data packet transmitted to the receiving device to the current credit and stores it.
- the transmitting device receives the credit of the received value by the receiving device. Since the transmission device can determine the degree of data packet congestion in the reception buffer by simply subtracting the credit received from the reception device as it is, the transmission device can increase or decrease credits in the transmission device. It is also possible to simplify the process.
- the receiving device transmits capacity specifying information related to the capacity of the data packet read from the receiving buffer to the transmitting device, and the transmitting device transmits to the receiving device.
- the credit of the value according to the capacity of the received data packet is divided for each data packet and stored in the order of transmission and added to the current credit, and the transmitting device classifies the data for each data packet and stores it in the order of transmission. Since the credit of the oldest transmitted data packet is subtracted from the stored credit, the receive buffer capacity always receives the same amount of credit regardless of the capacity of the read data packet.
- Device power Result that the receiving device can grasp the data packet congestion in the receiving buffer just by transmitting to the transmitting device. It is also possible to simplify the reply process from the receiving device to the transmitting device.
- the transmission device when the transmission device permits transmission of the data packet, the transmission device adds identification information for uniquely identifying the transmitted data packet to the data packet.
- the reception device transmits the identification information added to the data packet related to the capacity of the data packet read from the reception buffer to the transmission device.
- the credit of the value according to the capacity of the transmitted data packet is classified for each data packet, added with identification information, stored in addition to the current credit, and the transmitting device is classified for each data packet. Together with the identification information added and stored in the credit storage means, and the data packet corresponding to the received identification information is received from the credit.
- Subtract credit and store As a result, the receiving device is only required to transmit packet identification information related to the capacity of the read data packet from the receiving device to the transmitting device. As a result, it is possible to simplify the reply process from the receiving apparatus to the transmitting apparatus.
- the capacity of the data packet read from the reception buffer can be specified reliably only by transmitting the packet identification information to the transmission apparatus, and the data packet in the reception buffer is reliably congested. It is also possible to grasp.
- the transmission device adds the credit value corresponding to the capacity of the data packet to be transmitted to the current credit value to the current credit value. Then, it is determined whether or not the capacity value of the reception buffer has reached a predetermined value, and if the addition value has not reached the predetermined value, transmission of the data packet is permitted and the added value becomes the predetermined value. If it has reached, control is performed to stop the transmission of the data packet, so that it is possible to estimate the congestion of the reception buffer after the data packet to be transmitted is transmitted. It is also possible to reliably prevent overflow.
- the transmitting device determines whether or not the current credit value reaches a predetermined value determined from the capacity of the reception buffer, and the credit value is If the predetermined value has not been reached, transmission of the data packet is permitted, and if the credit value has reached the predetermined value, control is performed to stop the transmission of the data packet.
- Capacity of receiving buffer It is possible to control the transmission of data packets by setting the value obtained by subtracting the maximum size of the data packet as the upper limit of the credit counter and judging only whether the credit exceeds the upper limit. As a result, it is possible to simplify the process of permitting or stopping packet transmission.
- the receiving device has a reception buffer for storing the data packet, reads the data packet stored in the reception buffer, and stores the data packet stored in the reception buffer. Is read, the capacity specifying information used for specifying the capacity of the read data packet is transmitted to the transmitting apparatus, so that the transmitting apparatus transmits the data packet based on the current credit. Will allow or stop As a result of this control, the transmission device grasps the degree of data packet congestion in the reception buffer not by the number of data packets but by the data capacity, and the number of data packets (number of queue stages) stored in the reception buffer is within a range where the data packets do not overflow. By transmitting data packets with dynamic adjustment, it is possible to reduce the unused area of the reception buffer. As a result, it is possible to effectively use the resources as the reception buffer.
- the receiving device since the receiving device transmits, as capacity specifying information, a credit having a value corresponding to the capacity of the data packet read from the receiving buffer to the transmitting device.
- the device adds the current value of the credit according to the capacity of the data packet transmitted to the receiving device to the current credit and stores it.
- the transmitting device receives the credit of the value received from the receiving device from the current credit. By subtracting and storing, the transmission device can determine the data packet congestion in the reception buffer by simply subtracting the received credit as it is. Can also be simplified.
- the transmission device stores a value corresponding to the total capacity of all data packets stored in the reception buffer as credits, and the data packet is transmitted to the reception device.
- a credit corresponding to the capacity of the transmitted data packet is added to the current credit, the receiving device power is also received, and the receiving buffer power is also stored in the capacity specifying information for specifying the capacity of the read data packet.
- the credit of the value corresponding to the capacity of the read data packet is subtracted from the current credit and the data packet is transmitted.
- Control is performed so as to permit or stop transmission, so that when the receiving device reads the data packet stored in the receiving buffer,
- the transmitting apparatus grasps the degree of data packet congestion in the receiving buffer not by the number of data packets but by the number of data packets stored in the receiving buffer Number) is dynamically adjusted within the range that does not overflow the data packet, and the unused area of the reception buffer can be reduced by effectively transmitting the data as a reception buffer. Is possible.
- FIG. 1 is a diagram for explaining an overview and features of a data packet transmission / reception system according to a first embodiment.
- FIG. 2 is a block diagram illustrating a configuration of a data packet transmission / reception system according to the first embodiment.
- FIG. 3 is a flowchart showing processing at the time of packet transmission in the first embodiment.
- FIG. 4 is a flowchart showing processing upon receipt of a credit in the first embodiment.
- FIG. 5 is a flowchart showing processing at the time of credit transmission in the first embodiment.
- FIG. 6 is a diagram for explaining the outline and features of the data packet transmission / reception system according to the second embodiment.
- FIG. 7 is a block diagram showing a configuration of a packet transmission / reception system in the second embodiment.
- FIG. 8 is a conceptual diagram showing processing at the time of credit addition in the second embodiment.
- FIG. 9 is a conceptual diagram showing processing during credit subtraction in the second embodiment.
- FIG. 10 is a flowchart illustrating processing at the time of packet transmission in the second embodiment.
- FIG. 11 is a flowchart showing processing upon receipt of a credit in the second embodiment.
- FIG. 12 is a flowchart illustrating processing at the time of credit transmission in the second embodiment.
- FIG. 13 is a diagram for explaining the outline and features of the data packet transmission / reception system according to the third embodiment.
- FIG. 14 is a block diagram illustrating a configuration of a packet transmission / reception system according to a third embodiment.
- FIG. 15 is a conceptual diagram showing processing at the time of credit addition in the third embodiment.
- FIG. 16 is a conceptual diagram showing processing at the time of credit subtraction in the third embodiment.
- FIG. 17 is a flowchart illustrating processing at the time of packet transmission in the third embodiment.
- FIG. 18 is a flowchart showing processing upon receipt of a credit in the third embodiment.
- FIG. 19 is a flowchart showing processing at the time of transmission of identification information in the third embodiment.
- FIG. 20 is a diagram showing an example of a computer system using the present invention.
- FIG. 21 is a diagram illustrating a program of the data packet transmission / reception system in the first embodiment.
- FIG. 22 is a diagram for explaining the outline and features of a data packet transmission control system according to the prior art.
- FIG. 1 is a diagram for explaining the outline and features of the data packet transmission / reception system according to the first embodiment.
- the data packet transmission / reception system is a data packet transmission / reception system that transmits a data packet from a transmission device 100 including a transmission buffer 120 to a reception device 200 including a reception buffer 210.
- the data packet transmission / reception system having such an outline is mainly characterized in that the resources as the reception buffer 210 can be effectively used as described below.
- the transmitting apparatus 100 includes a credit counter unit 133 that stores a value corresponding to the total capacity of all data packets currently stored with respect to the capacity of the reception buffer 210 as a credit. Have.
- the transmitting apparatus 100 sets a credit value (for example, “16”) corresponding to the capacity of the receiving buffer 210 of the receiving apparatus 200 as the upper limit value of the credit value of the credit counter unit 133. Therefore, the transmitting apparatus 100 can obtain the free capacity of the reception buffer 210 from the remaining credit value of the credit counter unit 133.
- transmitting apparatus 100 transmits a data packet from transmitting buffer 120 to receiving buffer 210 of receiving apparatus 200
- credit according to the capacity of the transmitted data packet is stored in credit counter section 133. (See (1) in Fig. 1). For example, as shown in FIG. 1, when transmitting device 100 transmits a 2-byte data packet, credit "2" is added to the credit value of credit counter unit 133, and when a 1-byte data packet is transmitted, “1” is added to the credit value of the credit counter unit 133.
- the receiving device 200 receives the data packet transmitted from the transmitting device 100 by the receiving buffer 210 (see (2) in FIG. 1). After that, when the receiving apparatus 200 reads the received data packet from the old data packet in the order in which the data packet is stored in the reception buffer 210, the receiving apparatus 200 corresponds to the capacity of the data read from the reception buffer 210. Are transmitted to the transmitting device 100 (see (3) in FIG. 1). For example, when the receiving apparatus 200 reads a 1-byte data packet from the receiving buffer 210, the receiving apparatus 200 transmits a credit “1” to the transmitting apparatus 100. When the receiving apparatus 200 reads a 2-byte data packet, the receiving apparatus 200 transmits a credit “2”. When the data packet is transmitted to 100 and a 3-byte data packet is read, the credit “3” is transmitted to the transmitting device 100.
- the transmitting device 100 stores the received credit by subtracting the credit value stored in the credit counter unit 133 ((( 4)). For example, when the transmitting device 100 receives the credit “1”, the credit “1” is also subtracted from the credit value of the credit counter unit 133, and when the credit “2” is received, the credit “2” is received from the credit counter unit 133. Credit value is also subtracted, and when credit “3” is received, credit value of credit counter unit 133 is subtracted from credit “3”.
- transmitting apparatus 100 controls to permit or stop transmission of the data packet.
- the credit value added by adding the credit value corresponding to the capacity of the data packet to be transmitted from the transmitting device 100 to the credit value stored in the credit counter unit 133 is It is determined whether or not a predetermined value (upper limit) determined from the capacity of the reception buffer 210 has been reached. If the added value of the credit value does not reach the upper limit, the transmission of the data packet is permitted. When the added value of the credit value has reached the upper limit value, control is performed to stop data packet transmission.
- the transmission apparatus 100 permits transmission. Also, if the current credit value is “12” and the credit value according to the capacity of the data packet to be transmitted is “1”, the added value of the credit is “13”, and the transmitting device 100 permits transmission. . On the other hand, if the current credit value is “13” and the credit value corresponding to the capacity of the data packet to be transmitted is “4”, the credit addition value is “17”, which is the upper limit value “16”. The transmission device 100 stops transmission (see ( See 5)).
- the transmission device 100 grasps the degree of data packet congestion in the reception buffer 210 not by the number of data packets but by the data capacity and stores the data packets stored in the reception buffer 210.
- the number of queues (the number of queues) is dynamically adjusted within a range that does not cause the data packet to overflow, so that the unused area of the receive buffer 210 can be reduced. It is possible to use.
- the transmitting device 100 and the receiving device 200 described above may transmit or receive information in packets via a network, cable, or wireless (infrared communication, Bluetooth, etc.), such as a mobile phone, a PDA, or a personal computer. Or an electronic circuit that transmits or receives information in packets via a bus or wiring in the electronic device, such as a circuit or chip in the same electronic device.
- a network cable, or wireless (infrared communication, Bluetooth, etc.)
- a mobile phone such as a PDA, or a personal computer.
- an electronic circuit that transmits or receives information in packets via a bus or wiring in the electronic device, such as a circuit or chip in the same electronic device.
- FIG. 2 is a block diagram illustrating a configuration of the data packet transmission / reception system according to the first embodiment.
- the data packet transmission / reception system includes a transmission device 100 and a reception device 200.
- the transmission device 100 includes a data input unit 110, a transmission buffer 120, a transmission buffer control unit 130, and the like.
- the reception apparatus 200 includes a reception buffer 210, a data output unit 220, and a reception buffer control unit 230.
- the transmitting device 100 and the receiving device 200 are connected via a network, wired, wireless (infrared communication, Bluetooth, etc.), or a bus or wiring in the electronic device.
- the data input unit 110 inputs various types of information to the transmission buffer 120. Specifically, a data packet to be transmitted from the transmission device 100 to the reception device 200 is written with the leading end of the transmission buffer 120 being packed.
- the transmission buffer 120 stores a data packet to be transmitted from the transmission device 100 to the reception device 200, and is configured by a memory or the like. Specifically, the transmission buffer 120 stores the data packet input from the data input unit 110 with the leading power of the transmission buffer 120 reduced. The transmission buffer 120 reads the data packet every time it is read. The deleted data packet is erased, and a new data packet is overwritten.
- the transmission buffer control unit 130 controls transmission / reception of data packets. As shown in FIG. 2, the transmission buffer control unit 130 and the credit addition unit 1 32 are closely related to the present invention.
- the credit counter unit 133 and the credit subtracting unit 134 are provided.
- the packet transmission control unit 131 corresponds to the “transmission control unit” described in the claims
- the credit addition unit 132 also corresponds to the “credit addition unit”
- the credit counter unit 133 also corresponds to the “tally digit storage”.
- the credit subtracting unit 134 corresponds to “credit subtracting means”.
- the credit counter unit 133 stores a value corresponding to the total capacity of all data packets currently stored with respect to the capacity of the reception buffer 210 as credits. Specifically, all the data packets that are actually stored with respect to the capacity of the reception buffer 210 by increasing or decreasing the stored credit value by a credit adding unit 132 and a credit subtracting unit 134 described later. A value corresponding to the total capacity is stored as a credit.
- the credit counter unit 133 stores, as a predetermined value (upper limit value), a credit corresponding to the maximum capacity of the reception buffer 210. For example, if the maximum capacity of the reception buffer 210 is 16 bytes, the credit “16” corresponding to 16 bytes is stored as the credit upper limit value of the credit counter unit 133, and the maximum capacity of the reception buffer 210 is If it is 32 bytes, credit “32” corresponding to 32 bytes is stored as the upper limit value of the credit of the credit counter unit 133.
- the credit adding unit 132 stores a credit having a value corresponding to the capacity of the transmitted data packet in the credit counter unit 133. Add to the credit value that is stored.
- the credit addition unit 132 adds the credit “2” corresponding to 2 bytes to the credit value of the credit counter unit 133.
- the credit adding unit 132 adds the credit “1” corresponding to 1 byte to the credit value of the credit counter unit 133. And store.
- the credit subtracting unit 134 receives capacity specifying information to be described later from the receiving device 200, Using the capacity specifying information, the capacity of the data packet read from the reception buffer 210 is specified, and the credit corresponding to the specified capacity is subtracted from the credit value stored in the credit counter unit 133. Store. Specifically, the credit subtraction unit 134 stores the credit value received from the receiving device 200 by subtracting the credit value stored in the credit counter unit 133.
- the credit subtraction unit 134 subtracts the credit “1” from the credit value of the credit counter unit 133, and the credit subtraction unit 134 receives the credit “2”.
- the credit subtraction unit 134 also subtracts the credit value of the credit counter unit 133.
- the credit subtraction unit 134 receives the credit "3”. Credit value of credit counter 133 is subtracted.
- the packet transmission control unit 131 is a control unit that controls to permit or stop the transmission of the data packet based on the value of the credit stored in the credit counter unit. Specifically, when it is time to transmit the data packet, the credit value corresponding to the capacity of the data packet to be transmitted from the transmitting device 100 is added to the credit value stored in the credit counter unit 133. It is determined whether the power has reached a predetermined value (upper limit) determined from the capacity S of the received buffer 210 and the capacity of the reception buffer 210. If the above-described additional value has not reached the upper limit, the data packet When the above-mentioned added value reaches the above-mentioned upper limit value, the transmission of the above-mentioned data packet is controlled to stop.
- a predetermined value upper limit
- the packet transmission control unit 131 permits transmission. Also, if the current credit value is “12” and the credit value corresponding to the capacity of the data packet to be transmitted is “1”, the calculated value of the credit is “13”, and the packet transmission control unit 131 transmits the data. Allow.
- the transmission control unit 131 stops transmission.
- reception buffer 210 stores a data packet transmitted from transmission apparatus 100, and is configured by a memory or the like. More specifically, the reception buffer 210 stores the data packets transmitted from the transmission device 100, packed from the top of the reception buffer 210. In the reception buffer 210, when a data packet is read by the data output unit 220 described later, the read data packet is erased and a new data packet is overwritten.
- the data output unit 220 reads the data stored in the reception buffer 210. Specifically, the data output unit 220 reads data from the data stored in the reception buffer 210 in the order of the reception order.
- the reception buffer control unit 230 controls transmission / reception of data packets, and as shown in FIG. 2, a credit transmission unit 231 is closely related to the present invention.
- the credit transmission unit 231 corresponds to “capacity specifying information transmission unit” recited in the claims.
- the credit transmission unit 231 stores capacity specifying information used when the capacity of the read data packet is specified in the transmitting device 100. Transmit to transmitting device 100.
- the credit transmission unit 231 transmits a credit having a value corresponding to the capacity of the data packet read from the reception buffer 210 to the transmission device 100 as the above-described capacity specifying information.
- the credit transmission unit 231 transmits a credit “1” corresponding to 1 byte to the transmitting device 100, and receives 2 bytes.
- the credit “2” is transmitted to the transmitting apparatus 100
- the credit “3” is transmitted to the transmitting apparatus 100.
- FIG. 3 is a flowchart illustrating processing at the time of packet transmission in the first embodiment.
- the packet transmission control unit 131 determines the transmission timing of the data packet. Then (step S301 affirmative), there is enough credit for the capacity of the transmission data packet (that is, adding the credit value corresponding to the capacity of the data packet to be transmitted to the credit value of the credit counter unit 133) It is determined whether the added value reaches an upper limit value corresponding to the capacity of the reception buffer 210 (step S302).
- the packet transmission control unit 131 transmits the data packet from the transmission buffer 120 (step S303). In other words, the packet transmission control unit 131 permits the transmission of a powerful data packet.
- credit adding section 132 stores a credit corresponding to the capacity of the transmitted data packet in credit counter section 133. Add to credit and store (step S304).
- step S302 when there is not enough credit in the credit counter unit 133 for the capacity of the data packet to be transmitted (when the above-mentioned added value power upper limit is reached) (No in step S302) Then, the packet transmission control unit 131 stops the transmission of the data packet by the transmission buffer 120 (step S305).
- FIG. 4 is a flowchart illustrating processing upon receipt of a credit in the first embodiment.
- credit subtracting unit 134 stores the received credit value in credit counter unit 133.
- the credit value is also subtracted and stored (step S402). For example, when the transmitting apparatus 100 receives the credit “1”, the credit “1” is also subtracted from the credit value of the credit counter unit 133, and when the credit “2” is received, the credit “2” is received by the credit counter unit 133. When the credit “3” is received, the credit value of the credit counter unit 133 is also subtracted.
- FIG. 5 is a flowchart showing processing at the time of credit transmission in the first embodiment.
- step S501 when the data output unit 220 reads the data stored in the reception buffer 210 of the reception device 200 (Yes in step S501), a credit corresponding to the capacity of the read data is obtained.
- the data is transmitted to the credit counter unit 133 (step S502).
- the credit transmission unit 231 transmits a credit “1” corresponding to 1 byte to the transmitting device 100, and the 2-byte data.
- the credit “2” is transmitted to the transmitting device 100
- the credit “3” is transmitted to the transmitting device 100.
- the reception device 200 determines the capacity of the read data packet in the transmission device 100.
- the capacity specifying information used for specifying is transmitted to the transmitting apparatus 100, and the transmitting apparatus 100 stores a value corresponding to the total capacity of all data packets currently stored with respect to the capacity of the receiving buffer 210 as a credit.
- a data packet is transmitted from the transmission buffer 120 to the receiving device 200, a credit having a value corresponding to the capacity of the transmitted data packet is added to and stored in the credit stored in the credit counter unit 133.
- the capacity specifying information is received from the receiving device 200, the data packet read from the receiving buffer 210 using the capacity specifying information is received.
- the amount of credit is determined and the credit corresponding to the specified capacity is subtracted from the credit stored in the credit counter unit 133 and stored, and based on the credit value stored in the credit counter unit 133. Since the transmission device 100 is controlled so as to permit or stop the transmission of data packets, the transmission device 100 grasps the data packet congestion in the reception buffer 210 not by the number of data packets but is stored in the reception buffer 210. By sending data packets while dynamically adjusting the number of data packets (the number of queue stages) within a range where the data packets do not overflow, the unused area of the receive buffer 210 can be reduced. Can be used effectively.
- the credit transmission unit 231 transmits, as capacity specifying information, a credit having a value corresponding to the capacity of the data packet read from the reception buffer 210 as the transmission apparatus 10.
- the credit addition unit 132 adds the credit corresponding to the capacity of the data packet transmitted to the receiving device 200 to the credit stored in the credit counter unit 133, stores the credit, and subtracts the credit. Since the unit 134 subtracts the credit of the value received from the receiving device 200 from the credit stored in the credit counter unit 133, the transmitting device 100 simply subtracts the credit received from the receiving device 200 as it is.
- the degree of data packet congestion in the reception buffer 210 it is possible to simplify the credit increase / decrease process in the transmission apparatus 100.
- the packet transmission control unit 131 responds to the credit value stored in the credit counter unit 133 according to the capacity of the data packet to be transmitted from the transmission device 100.
- the added value power obtained by adding the credit value is determined whether the capacity of the reception buffer 210 has reached a predetermined value, and if the added value has not reached the predetermined value (upper limit value)
- the predetermined value upper limit value
- FIG. 6 is a diagram for explaining the outline and features of the data packet transmission / reception system according to the second embodiment.
- the same points as in the data packet transmission / reception system according to the first embodiment will be briefly described.
- the transmission device 100 divides each transmitted data packet.
- the packet classification credit counter unit 133b stores a value corresponding to the total capacity of all data packets currently stored with respect to the capacity of the reception buffer 210 as credits.
- transmitting device 100 transmits a data packet from transmitting buffer 120 to receiving buffer 210 of receiving device 200
- credit according to the capacity of the transmitted data packet is sent to packet classification credit counter section 133 b.
- the stored credits are added and stored in the order in which they are transmitted by packet classification (see (1) in Fig. 6).
- the receiving device 200 receives the data packet transmitted from the transmitting device 100 by the receiving buffer 210 (see (2) in FIG. 6). After that, when the receiving apparatus 200 reads the received data packet from the old data packet in the order in which the data packet is stored in the reception buffer 210, the receiving apparatus 200 receives a credit related to the capacity of the read data from the reception buffer 210. “1” is transmitted to transmitting apparatus 100 (see (3) in FIG. 6). For example, the reception device 200 reads a credit “1” to the transmission device 100 when reading a 1-byte data packet from the reception buffer 210, and reads a credit “1” when reading a 2-byte data packet. When the data is transmitted to 100 and a 3-byte data packet is read, credit “1” is transmitted to the transmitter 100.
- the transmitting apparatus 100 classifies each data packet and selects the most from the credits stored in the packet classification credit counter unit 133b in the order of transmission.
- the credit value of the old data packet is also subtracted from the credit value stored in the packet classification credit counter unit 133b. Store (see (4) in Figure 6).
- the transmitting apparatus 100 receives the credit “1”, the credit “1” that is the oldest credit value among the credits stored in the packet classification credit counter unit 133b is set to the packet classification credit counter unit.
- the credit value of 133b is also subtracted (deleted), and the credit value (total number) of the knot classification credit counter unit 133b is changed from “10” to “9” (see FIG. 9).
- the transmitting apparatus 100 receives the credit “1”
- the credit “2” which is the oldest credit value among the credits stored in the packet classification credit strength counter section 133b, is stored in the packet classification credit counter section.
- the credit value of 133b is also subtracted, and the credit value of the packet category credit counter unit 133b is changed from “9” to “7”.
- the transmission apparatus 100 permits or stops the transmission of the data packet based on the credit value stored in the packet classification / counter counter unit 133b. (Refer to (5) in Fig. 6).
- the same amount of credit regardless of the capacity of the data packet read from the reception buffer 210 is always transmitted from the reception device 200 to the transmission device.
- the transmitting device 100 can grasp the data packet congestion in the receiving buffer 210.
- the reply process from the receiving device 200 to the transmitting device 100 can be simplified. is there.
- FIG. 7 is a block diagram illustrating a configuration of a data packet transmission / reception system according to the second embodiment.
- the data packet transmission / reception system includes a transmission device 100 and a reception device 200.
- the transmission device 100 includes a data input unit 110, a transmission buffer 120, a transmission buffer control unit 130, and the like.
- the reception apparatus 200 includes a reception buffer 210, a data output unit 220, and a reception buffer control unit 230.
- the packet classification credit counter unit 133b is currently rated against the capacity of the reception buffer 210.
- the value corresponding to the total capacity of all data packets is stored as credits.
- the packet classification credit counter unit 133b classifies the stored credits for each packet and stores them in the order of transmission transmitted from the transmission device 100, as will be described later.
- the credit adding unit 132b When a data packet is transmitted from the transmission buffer 120 to the receiving device 200, the credit adding unit 132b generates a credit having a value corresponding to the capacity of the data packet transmitted to the receiving device 200 for each data packet. In addition to the credit value stored in the packet classification credit counter unit 133b, the data is stored in the order of classification and transmission.
- FIG. 8 is a conceptual diagram showing processing at the time of credit addition in the second embodiment.
- the credit subtracting unit 134b classifies each data packet and transmits the oldest from the credits stored in the packet classification credit counter 133b in the order of transmission. The data packet credit is subtracted and stored.
- FIG. 9 is a conceptual diagram showing processing at the time of credit subtraction in the second embodiment.
- the credit transmission unit 231b transmits the above-described capacity specification information related to the capacity of the data packet read from the reception buffer 210 to the transmission apparatus 100. Specifically, the credit transmission unit 231b transmits the credit “1” related to the capacity of the data packet read from the reception buffer 210 to the transmission device 100 as the above-described capacity specifying information.
- FIG. 10 is a flowchart illustrating processing at the time of packet transmission according to the second embodiment.
- the same points as in the data packet transmission / reception system according to the first embodiment will be briefly described.
- the credit adding unit 132b receives a credit corresponding to the capacity of the transmitted data packet. Then, it is classified for each packet, and added to the credit stored in the packet classification credit counter unit 133b in the order of transmission and stored (step S1004).
- FIG. 11 is a flowchart illustrating processing upon receipt of a credit in the second embodiment.
- the credit subtracting unit 134b separates the packets into packets and stores them in the order of transmission. From the credits stored in the credit counter unit 133b, the credit of the data packet transmitted the oldest is obtained (step S1102).
- the credit obtained above is stored by subtracting the credit value stored in the packet classification credit counter unit 133b (step S1103). Specifically, as illustrated in FIG. 9, when the transmitting apparatus 100 receives the credit “1”, the credit “1” which is the oldest credit value among the credits stored in the packet classification credit counter unit 133b. "Is also subtracted (deleted) from the credit value of the packet classification credit counter unit 133b, and the credit value (total number) of the packet classification credit counter unit 133b is changed from" 10 "to" 9 ".
- FIG. 12 is a flowchart illustrating a process during credit transmission according to the second embodiment.
- step S1211 when the data output unit 220 reads the data stored in the reception buffer 210 of the reception device 200 (Yes in step S1211), the credit is output regardless of the capacity of the read data. Is transmitted to the packet classification credit counter unit 133b (step S1 212). Specifically, when the receiving device 200 reads a 1-byte data packet from the receiving buffer 210, the credit transmission unit 231b transmits a credit “1” related to the 1 byte read from the receiving buffer 210 to the transmitting device 100. When a 2-byte data packet is read, the read 2-byte credit “1” is sent to the transmitting device 100, and when a 3-byte data packet is read, the credit related to the 3-byte read is read. Send “1” to the transmitter 100.
- the credit transmission unit 23 lb transmits to the transmission device 100 the capacity specifying information related to the capacity of the data packet read from the reception buffer 210. Then, the credit adding unit 132b classifies the credit of the value according to the capacity of the data packet transmitted to the receiving device 200 for each data packet, and stores the credit stored in the packet classification credit counter unit 133b in the transmission order.
- the credit subtracting unit 134b sorts the data packets and sorts the data packets in the order of transmission, and then stores the credits of the oldest transmitted data packet from the credits stored in the packet sorting credit counter unit 133b. Is subtracted and stored, regardless of the capacity of the data packet read from the receive buffer 210.
- the transmitting apparatus 100 can grasp the data packet congestion in the receiving buffer 210. As a result, the receiving apparatus 200 power is also transmitted to the transmitting apparatus 100. It is also possible to simplify the reply process.
- FIG. 13 is a diagram for explaining the outline and features of the data packet transmission / reception system according to the third embodiment.
- the same points as in the data packet transmission / reception system according to the first and second embodiments will be briefly described.
- transmitting apparatus 100 adds data packet identification information that uniquely identifies a data packet to be transmitted from transmission buffer 120 to the data packet, and transmits the data packet to receiving apparatus 200.
- the credit of the value corresponding to the capacity of the transmitted data packet is classified for each data packet, added with identification information, added to the packet classification credit power counter unit 133c and stored. (See (1) in Figure 13).
- transmitting apparatus 100 transmits a 1-byte data packet with identification information “x007” added, it corresponds to identification information “x007” and a 1-byte data capacity. Add credit “1”, add and store.
- receiving apparatus 200 receives data packet transmitted from transmitting apparatus 100 by receiving buffer 210 (see (2) in FIG. 13). Thereafter, when the receiving device 200 reads the received data packet from the receiving buffer 210, the receiving device 200 transmits the identification information added to the packet read from the receiving buffer 210 to the transmitting device 100 (FIG. 13). (See (3)). Specifically, when the receiving apparatus 200 reads the 1-byte data packet with the identification information “x002” added from the reception buffer 210, the receiving apparatus 200 uses the identification information “x002” added to the powerful 1-byte data. Transmit to transmitting device 100.
- the transmission device 100 when receiving the identification information transmitted by the receiving device 200, the transmission device 100 is classified for each data packet and added with the identification information and stored in the packet classification credit counter unit 133c. Among these, the credit of the data packet corresponding to the identification information received from the receiving apparatus 200 is subtracted and stored. (See (1) in Figure 1). Specifically, as illustrated in FIG. 13, when the transmitting apparatus 100 receives the identification information “x002”, the credit “1” corresponding to the identification information “x002” is subtracted from the credit value of the packet classification credit counter unit 133c. And store.
- Transmitting apparatus 100 is stored in packet classification credit counter section 133c. Control to allow or stop sending data packets based on credit value
- the data packet transmission / reception system transmits the packet identification information related to the capacity of the data packet read from the reception buffer 210 from the reception device 200 to the transmission device 100.
- the transmission device 100 being able to grasp the degree of data packet congestion in the reception buffer 210 just by transmitting, it is possible to simplify the reply process from the reception device 200 to the transmission device 100.
- the capacity of the data packet read from the reception buffer 210 can be specified with certainty simply by transmitting the packet identification information from the reception device 200 to the transmission device 100. It is also possible to reliably grasp the data packet congestion in 210.
- FIG. 14 is a block diagram illustrating a configuration of a data packet transmission / reception system according to the third embodiment.
- the data packet transmission / reception system includes a transmission device 100 and a reception device 200.
- the transmission device 100 includes a data input unit 110, a transmission buffer 120, and a transmission buffer control unit 130.
- the reception apparatus 200 includes a reception buffer 210, a data output unit 220, and a reception buffer control unit 230.
- the same operations as those in the first embodiment and the second embodiment are denoted by the same reference numerals and the description thereof is omitted.
- the packet classification credit counter unit 133c the identification information adding unit 135c, Only the credit adding unit 132c, the credit subtracting unit 134c, and the identification information transmitting unit 231c will be described.
- the packet classification credit counter unit 133c stores a value corresponding to the total capacity of all data packets that are currently stored with respect to the capacity of the reception buffer 210 as credits. Specifically, the packet classification credit counter unit 133c classifies and stores the stored credits by adding identification information as described later (see FIG. 15).
- the identification information adding unit 135c when the packet transmission control unit 131 permits the transmission of the data packet, identifies the identification information for uniquely identifying the data packet to be transmitted. Attached to the base. Specifically, identification information such as [x006] [x007] is added to the inside of the data packet to be transmitted.
- the credit adding unit 132c When a data packet is transmitted from the transmission buffer 120 to the receiving device 200, the credit adding unit 132c generates a credit with a value corresponding to the capacity of the data packet transmitted to the receiving device 200 for each data packet.
- the identification information added by the identification information adding unit 135c is associated with the identification information and added to the credit stored in the packet classification credit counter unit 133c and stored.
- target adding section 132c Adds the identification information “x006” to the credit “2” corresponding to 2 bytes, adds it to the credit value of the packet classification credit counter unit 133c, and stores it.
- the credit adder 132c adds the identification information “x007” to the credit “1” corresponding to 1 byte. In addition, it is added to the credit value of the packet classification tariff counter 133c and stored.
- FIG. 15 is a conceptual diagram showing processing at the time of credit addition in the third embodiment.
- the credit subtracting unit 134c Upon receiving the identification information from the receiving device 200, the credit subtracting unit 134c is classified for each data bucket and added with the identification information, and is stored in the packet classification credit counter unit 133c. The credit of the data packet corresponding to the identification information received from the receiving device 200 is subtracted and stored.
- the credit subtraction unit 134c upon receiving the identification information “x002”, the credit subtraction unit 134c receives the credit “1” corresponding to the identification information “x002” in the packet classification credit counter unit 133c.
- the credit value subtraction unit 134c subtracts the credit “2” corresponding to the identification information “x001” from the credit value of the packet classification credit counter unit 133c.
- the credit subtraction unit 134c also subtracts the credit “3” corresponding to the identification information “x003” from the credit value of the packet classification credit counter unit 133c.
- FIG. 16 is a conceptual diagram showing processing at the time of credit subtraction in the third embodiment. [0115]
- the identification information transmission unit 231c transmits to the transmission device 100 identification information added to a data packet that is related to the capacity of the data packet read from the reception buffer 210.
- FIG. 17 is a flowchart illustrating processing at the time of packet transmission according to the third embodiment.
- the same points as those of the data packet transmission / reception system according to the first and second embodiments will be briefly described.
- step S701 to step S702 affirmative when there is sufficient credit in the packet classification credit counter 133c for the transmission timing and the capacity of the data packet to be transmitted (when the above-mentioned added value power upper limit is not reached) (step S701 to step S702 affirmative), the transmission information adding unit 135c adds identification information that can uniquely identify the data packet to be transmitted, and the packet transmission control unit 131 adds the identification information from the transmission buffer 120. A data packet is transmitted (step S703).
- step S704 credit adding section 132c classifies the credit according to the capacity of the transmitted data packet for each transmitted data packet, and In association with the identification information, it is added to the credit stored in the packet classification credit counter unit 133c and stored (step S704). That is, credits having values corresponding to the capacity of the data packets transmitted to the receiving device 200 are classified for each data packet, and identification information is added to the credits stored in the packet classification credit counter unit 133c. Add and store.
- FIG. 18 is a flowchart illustrating processing upon receipt of a credit in the third embodiment.
- step S 1801 when transmitting apparatus 100 receives identification information from receiving apparatus 200 (step S 1801 affirmative), credit subtracting section 134c performs packet-by-packet storing in packet classification credit counter section 133c.
- the credit corresponding to the received identification information is obtained with the credit classified into (1) (step S1802). In other words, it is classified for each data packet
- the credit of the data packet corresponding to the identification information received from the receiving device 200 is obtained from the tardies added with the identification information and stored in the packet classification credit counter unit 133c.
- the transmitting apparatus 100 when the transmitting apparatus 100 receives the identification information “x002”, the transmitting apparatus 100 obtains the credit “1” corresponding to the identification information “x002”, and receives the identification information “x001”. When the credit “2” corresponding to “2” is obtained and the identification information “x003” is received, the credit “3” corresponding to the identification information “x003” is obtained (see FIG. 16).
- the credit obtained above is stored by subtracting the credit value stored in the packet classification credit counter unit 133c (step S 1803). Specifically, as shown in FIG. 16, when the transmitting apparatus 100 receives the identification information “x002”, the credit “1” corresponding to the identification information “x002” is subtracted from the credit value of the packet classification credit counter unit 133c. And store.
- FIG. 19 is a flowchart illustrating a process during credit transmission according to the third embodiment.
- step S 1902 when the data output unit 220 reads out the data stored in the reception buffer 210 of the reception device 200 (Yes at step S1901), the identification information added to the read data packet Is transmitted to the packet classification credit counter unit 133c (step S 1902) o
- the packet transmission control unit 131 adds identification information uniquely identifying the transmitted data packet to the data packet. Then, the identification information transmission unit 231c transmits the identification information added to the data packet related to the capacity of the data packet read from the reception buffer 210 to the transmission device 100 for credit.
- the adding unit 13 2c classifies the credit of the value according to the capacity of the data packet transmitted to the receiving apparatus 200 for each data packet and adds identification information, and is stored in the packet classification credit counter unit 133c!
- Add to credit and store, credit subtractor 134 c is a credit of the data packet corresponding to the identification information received from the receiving apparatus 200 from among the credits that are classified for each data packet and that are added with identification information and stored in the packet classification credit counter unit 133c. Therefore, the transmitting device 100 simply transmits the packet identification information related to the capacity of the data packet read from the receiving buffer 210 to the transmitting device 100. As a result of grasping the degree of data packet congestion in the buffer 210, it is possible to simplify the reply process from the receiving apparatus 200 to the transmitting apparatus 100. Furthermore, the capacity of the data packet read from the reception buffer 210 can be reliably identified by simply transmitting the packet identification information from the reception device 200 to the transmission device 100. It is also possible to reliably grasp the data packet congestion.
- the power of the transmitting device is the added value of the credit value obtained by adding the credit value corresponding to the capacity of the data packet to be transmitted.
- the present invention is not limited to this, and the present invention is not limited to this. Whether or not the power reaches a predetermined value (upper limit) determined from the capacity of the reception buffer.
- the present invention can be similarly applied to the case where the transmission of data packets is controlled by determining the above.
- the packet transmission control unit determines whether the credit value stored in the credit counter unit has reached a predetermined value (upper limit) determined by the capacity of the reception buffer, If the value does not reach the upper limit value, data packet transmission is permitted. If the credit value has reached the upper limit value, control is performed to stop data packet transmission.
- a predetermined value upper limit
- the capacity of the reception buffer is set to the longest size of the data packet.
- the subtracted value is set as the upper limit value of the credit counter, and data packet transmission can be controlled while judging only whether the credit exceeds the upper limit value. As a result, packet transmission is permitted or stopped. It is also possible to simplify the processing.
- FIG. 20 is a diagram showing an example of a computer system using the present invention.
- the chipset 2113, the chipset 2121, and the chipset 2133 use the control of the present invention, and the system The present invention can be applied to data packet transmission / reception between the board 2110 and the memory system interconnect 2120 and data packet transmission / reception between the memory system interconnect 2120 and the IO unit 2130.
- the present invention is not limited to this, and arbitrary information included in a data packet to be transmitted is not limited to this.
- the present invention can be similarly applied to a method to be used and a method to use both such arbitrary information and data packet identification information.
- the present invention as a configuration of the data packet transmission / reception system, the power described for the system in which the transmission device and the reception device are one-to-one.
- the present invention is not limited to this.
- the present invention can be similarly applied to a system having a plurality of receiving apparatuses or a system having a plurality of transmitting apparatuses and one receiving apparatus.
- the present invention is not limited to this, and the transmission device and the reception device are realized by the same terminal.
- the present invention can be similarly applied.
- each component of each illustrated device is functionally conceptual and does not necessarily need to be physically configured as illustrated.
- the specific form of distribution / integration of each device is not limited to the one shown in the figure.
- the transmission device, the reception device power, the transmission buffer control unit, and the reception buffer control unit are extracted to separately control transmission / reception of data packets.
- An apparatus may be provided.
- all or a part of them can be configured to be functionally or physically distributed or integrated in arbitrary units according to various loads or usage conditions.
- a credit addition unit and a credit subtraction unit can be integrated.
- each processing function performed in each device can be realized by a CPU and a program analyzed and executed by the CPU, or can be realized as hardware by wired logic.
- information including the processing procedures, control procedures, specific names, various data and parameters shown in the above documents and drawings for example, the information shown in FIGS. 8 and 9), unless otherwise specified. It can be changed arbitrarily.
- FIG. 21 is a diagram illustrating a program of the data packet transmission / reception system according to the first embodiment.
- the transmission apparatus 2100 is configured by connecting a mouse 2101, a keyboard 2102, a CPU 2103, a ROM 2104, an HDD 2105, a RAM 2106, and a communication control interface 2107 via a bus 2209 and the like.
- the receiving device 2200 is configured by connecting a mouse 2201, a keyboard 2202, a CPU 2203, a ROM 2204, a RAM 2206, an HDD 2205, and a communication control interface 2207 through a bus 2209 or the like.
- the transmission device 2100 and the reception device 2200 are connected by a communication control interface 2107 and a communication control interface 2207 via a network, wired, wireless (infrared communication, Bluetooth, etc.), etc. ing.
- the ROM 2104 has a transmission buffer control program that exhibits the same functions as the transmission buffer control unit 130 and the data input unit 110 shown in the first embodiment, that is, as shown in FIG. 21, a credit counter program. 2104a, a credit addition program 2104b, a credit subtraction program 2104c, a packet transmission control program 2104d, and a data input program 2104e are stored in advance. Note that these programs 2104a to 2104e may be integrated or separated as appropriate, similarly to the constituent elements of the transmission apparatus 100 shown in FIG.
- CPU 2103 power By reading these programs 2104a to 2104e from the ROM 2104 and executing them, each program 2104a to 2104e can be converted into a credit counter process 2103a and a credit addition process. 2103b, a credit subtraction process 2103c, a packet transmission control process 2103d, and a data input process 2103e. Each process 2103a to 2103e corresponds to the credit power counter 133, the credit adder 132, the credit subtractor 134, the packet transmission controller 131, and the data input unit 110 shown in FIG. .
- CPU 2103 executes a transmission buffer control program based on packet counter data 2106a stored in RAM 2106 and transmission buffer data 2106b.
- the ROM 2204 has a reception buffer control program that exhibits the same functions as the reception buffer control unit 230 and the data output unit 220 shown in the first embodiment, that is, as shown in FIG.
- a credit transmission program 2204a and a data output program 2204b are stored in advance.
- the programs 2204a and 2204b may be integrated or separated as appropriate, as with each component of the receiving apparatus 200 shown in FIG.
- the CPU 2203 is based on the reception buffer data 2206a stored in the RAM 2206. Then, the reception buffer control program is executed.
- the programs 2104a to 2104e and 2204a to 2204b described in the present embodiment need not be stored in the ROM from the beginning. For example, they are inserted into the transmission device 2100 or the reception device 2200.
- “Portable physical media” such as flexible disks, CD-ROMs, MO disks, DVD disks, magneto-optical disks, and IC cards, or “fixed” such as HDDs installed inside and outside the transmitter 2100 or receiver 2200
- Each program is stored in “other physical media (or server)” connected to the transmission device 2 100 or the reception device 2200 via a public line, the Internet, a LAN, a WAN, or the like.
- the transmitter 2100 or the receiver 2200 may read and execute each of these programs.
- the data packet transmission / reception system is useful for a data packet transmission / reception system that transmits a data packet to a reception device including a reception buffer, particularly a reception buffer. It is suitable for realizing a data packet transmission / reception system that transmits data packets that can effectively use the resources.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Communication Control (AREA)
- Information Transfer Systems (AREA)
Description
Claims
Priority Applications (6)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020097005806A KR101227770B1 (ko) | 2006-10-24 | 2006-10-24 | 데이터 패킷 송수신 시스템, 데이터 패킷 송수신 방법 및 데이터 패킷 송수신 프로그램을 기억한 컴퓨터 판독 가능한 기억 매체 |
CN2006800561870A CN101535970B (zh) | 2006-10-24 | 2006-10-24 | 数据包发送接收系统、数据包发送接收方法以及数据包发送接收程序 |
JP2008540825A JP5056762B2 (ja) | 2006-10-24 | 2006-10-24 | データパケット送受信システム、データパケット送受信方法およびデータパケット送受信プログラム |
EP06822094A EP2077504B1 (en) | 2006-10-24 | 2006-10-24 | Data packet transmitting/receiving system, data packet transmitting/receiving method and data packet transmitting/receiving program |
PCT/JP2006/321114 WO2008050394A1 (fr) | 2006-10-24 | 2006-10-24 | Système de transmission/réception de paquets de données, procédé de transmission/réception de paquets de données et programme de transmission/réception de paquets de données |
US12/385,885 US8631152B2 (en) | 2006-10-24 | 2009-04-22 | System and method for data packet transmission and reception |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2006/321114 WO2008050394A1 (fr) | 2006-10-24 | 2006-10-24 | Système de transmission/réception de paquets de données, procédé de transmission/réception de paquets de données et programme de transmission/réception de paquets de données |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US12/385,885 Continuation US8631152B2 (en) | 2006-10-24 | 2009-04-22 | System and method for data packet transmission and reception |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2008050394A1 true WO2008050394A1 (fr) | 2008-05-02 |
Family
ID=39324209
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2006/321114 WO2008050394A1 (fr) | 2006-10-24 | 2006-10-24 | Système de transmission/réception de paquets de données, procédé de transmission/réception de paquets de données et programme de transmission/réception de paquets de données |
Country Status (6)
Country | Link |
---|---|
US (1) | US8631152B2 (ja) |
EP (1) | EP2077504B1 (ja) |
JP (1) | JP5056762B2 (ja) |
KR (1) | KR101227770B1 (ja) |
CN (1) | CN101535970B (ja) |
WO (1) | WO2008050394A1 (ja) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012516664A (ja) * | 2009-01-29 | 2012-07-19 | クゥアルコム・インコーポレイテッド | データ・オーバフローを回避するように受信機バッファを適応させるための方法および装置 |
JP2016018382A (ja) * | 2014-07-08 | 2016-02-01 | 富士通株式会社 | データ送受信システム、データ送信装置およびデータ送受信システムの制御方法 |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5318875B2 (ja) | 2007-09-13 | 2013-10-16 | アクセディアン・ネットワークス・インコーポレーテッド | 非試験トラフィックに影響を与えることなくイーサネット(登録商標)経路およびリンクを試験するためのシステム |
US8472437B2 (en) * | 2010-02-15 | 2013-06-25 | Texas Instruments Incorporated | Wireless chip-to-chip switching |
CN102566515B (zh) * | 2010-12-09 | 2013-07-24 | 沈阳高精数控技术有限公司 | 一种用于总线式数控系统的数据互操作方法 |
BR112015019459B1 (pt) | 2013-03-15 | 2021-10-19 | Intel Corporation | Dispositivo para uso em um módulo de memória e método realizado em um módulo de memória |
US9166918B1 (en) * | 2013-09-30 | 2015-10-20 | Juniper Networks, Inc. | Methods and apparatus for scheduling transmission of data in a network |
CN104503935B (zh) * | 2014-12-02 | 2018-07-24 | 天津国芯科技有限公司 | 一种可精确控制时序的iic控制装置和控制方法 |
US10163508B2 (en) | 2016-02-26 | 2018-12-25 | Intel Corporation | Supporting multiple memory types in a memory slot |
US11381509B2 (en) | 2017-03-17 | 2022-07-05 | Citrix Systems, Inc. | Increased packet scheduling throughput and efficiency using úber batching |
US10567285B2 (en) * | 2017-03-17 | 2020-02-18 | Citrix Systems, Inc. | Increasing QoS throughput and efficiency through lazy byte batching |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0348558A (ja) * | 1988-09-13 | 1991-03-01 | Nec Corp | 伝送制御方法 |
JPH09135270A (ja) | 1995-11-08 | 1997-05-20 | Nippon Telegr & Teleph Corp <Ntt> | 通信システム |
JPH11110315A (ja) | 1997-07-31 | 1999-04-23 | Matsushita Electric Ind Co Ltd | 通信装置 |
JP2001094613A (ja) | 1999-09-21 | 2001-04-06 | Canon Inc | 通信制御装置、方法および記録媒体 |
JP2002324043A (ja) * | 2001-04-25 | 2002-11-08 | Nec Computertechno Ltd | データ転送方法およびデータ転送システム |
JP2006189937A (ja) * | 2004-12-28 | 2006-07-20 | Toshiba Corp | 受信装置、送受信装置、受信方法及び送受信方法 |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5748613A (en) * | 1996-03-29 | 1998-05-05 | Hewlett-Packard Company | Communication pacing method |
US5825748A (en) * | 1997-04-08 | 1998-10-20 | International Business Machines Corporation | Credit-based flow control checking and correction system |
US6046979A (en) * | 1998-05-04 | 2000-04-04 | Cabletron Systems, Inc. | Method and apparatus for controlling the flow of variable-length packets through a multiport switch |
US6337865B1 (en) * | 1998-09-23 | 2002-01-08 | Maxtor Corporation | Fair buffer credit distribution flow control |
US7165094B2 (en) | 2001-03-09 | 2007-01-16 | Sonics, Inc. | Communications system and method with non-blocking shared interface |
JP2004102378A (ja) * | 2002-09-05 | 2004-04-02 | Seiko Epson Corp | 印刷効率を高くしたプリンタ |
JP4111974B2 (ja) * | 2003-07-18 | 2008-07-02 | 富士通株式会社 | 送信主導型フロー制御装置 |
US20050063308A1 (en) * | 2003-09-24 | 2005-03-24 | Wise Jeffrey L. | Method of transmitter oriented link flow control |
US7480730B2 (en) * | 2004-04-08 | 2009-01-20 | Nortel Networks Limited | Credit recovery in a credit based flow control system |
JP4106564B2 (ja) * | 2004-08-13 | 2008-06-25 | 日本電気株式会社 | フロー制御方式 |
US20060050639A1 (en) * | 2004-09-03 | 2006-03-09 | David Stuart | Credit-based method and apparatus for controlling data communications |
-
2006
- 2006-10-24 CN CN2006800561870A patent/CN101535970B/zh not_active Expired - Fee Related
- 2006-10-24 EP EP06822094A patent/EP2077504B1/en not_active Expired - Fee Related
- 2006-10-24 WO PCT/JP2006/321114 patent/WO2008050394A1/ja active Application Filing
- 2006-10-24 KR KR1020097005806A patent/KR101227770B1/ko not_active IP Right Cessation
- 2006-10-24 JP JP2008540825A patent/JP5056762B2/ja not_active Expired - Fee Related
-
2009
- 2009-04-22 US US12/385,885 patent/US8631152B2/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0348558A (ja) * | 1988-09-13 | 1991-03-01 | Nec Corp | 伝送制御方法 |
JPH09135270A (ja) | 1995-11-08 | 1997-05-20 | Nippon Telegr & Teleph Corp <Ntt> | 通信システム |
JPH11110315A (ja) | 1997-07-31 | 1999-04-23 | Matsushita Electric Ind Co Ltd | 通信装置 |
JP2001094613A (ja) | 1999-09-21 | 2001-04-06 | Canon Inc | 通信制御装置、方法および記録媒体 |
JP2002324043A (ja) * | 2001-04-25 | 2002-11-08 | Nec Computertechno Ltd | データ転送方法およびデータ転送システム |
JP2006189937A (ja) * | 2004-12-28 | 2006-07-20 | Toshiba Corp | 受信装置、送受信装置、受信方法及び送受信方法 |
Non-Patent Citations (1)
Title |
---|
See also references of EP2077504A4 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012516664A (ja) * | 2009-01-29 | 2012-07-19 | クゥアルコム・インコーポレイテッド | データ・オーバフローを回避するように受信機バッファを適応させるための方法および装置 |
US9137160B2 (en) | 2009-01-29 | 2015-09-15 | Qualcomm Incorporated | Method and apparatus for accomodating a receiver buffer to prevent data overflow |
JP2016018382A (ja) * | 2014-07-08 | 2016-02-01 | 富士通株式会社 | データ送受信システム、データ送信装置およびデータ送受信システムの制御方法 |
Also Published As
Publication number | Publication date |
---|---|
JP5056762B2 (ja) | 2012-10-24 |
EP2077504A4 (en) | 2010-03-24 |
KR20090042985A (ko) | 2009-05-04 |
CN101535970B (zh) | 2011-05-04 |
EP2077504A1 (en) | 2009-07-08 |
US8631152B2 (en) | 2014-01-14 |
EP2077504B1 (en) | 2013-03-13 |
KR101227770B1 (ko) | 2013-01-29 |
CN101535970A (zh) | 2009-09-16 |
US20090207850A1 (en) | 2009-08-20 |
JPWO2008050394A1 (ja) | 2010-02-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2008050394A1 (fr) | Système de transmission/réception de paquets de données, procédé de transmission/réception de paquets de données et programme de transmission/réception de paquets de données | |
CA2329542C (en) | System and method for scheduling message transmission and processing in a digital data network | |
CA2329357C (en) | System and method for regulating message flow in a digital data network | |
US5943479A (en) | Method for reducing the rate of interrupts in a high speed I/O controller | |
Kasera et al. | Fast and robust signaling overload control | |
EP2466824A1 (en) | Service scheduling method and device | |
US7046628B2 (en) | Apparatus and method for just-in-time transfer of transmit commands to a network interface | |
TW201032524A (en) | Method and system for control of energy efficiency and associated policies in a physical layer device | |
TW201101736A (en) | Method and system for low latency state transitions for energy efficiency | |
CN107852423A (zh) | 用于usb 2.0带宽保留的方法及系统 | |
CN110381537B (zh) | 一种基于QoE的带宽限速方法、装置、设备及存储介质 | |
CN114675845B (zh) | 信息年龄优化方法、装置、计算机设备及存储介质 | |
CN115378879A (zh) | 数据控制方法及相关装置 | |
EP2406720B1 (en) | Method for controlling a data transfer on a serial transmission data transfer bus | |
US7873747B2 (en) | Device and method for transmitting data | |
US9729462B2 (en) | Transmission apparatus and transmission method | |
JP5088291B2 (ja) | 帯域制御装置及び帯域制御方法ならびにそのプログラム、帯域制御システム | |
Chung et al. | Design and implementation of the high speed TCP/IP Offload Engine | |
JPWO2007096983A1 (ja) | データ入出力制御装置 | |
CN118427137A (zh) | 一种基于直接存储器访问dma的数据整序方法 | |
JP2003244218A (ja) | 優先クラスの割り当て変更を伴う呼受付制御方法およびノード装置 | |
CN114070803A (zh) | 一种数据流的传输方法、装置、存储介质及电子装置 | |
KR100239738B1 (ko) | 근거리 통신 시스템의 패킷 데이터 처리 방법 및 장치 | |
CN116636183A (zh) | 计算机系统及总线流量控制方法 | |
CN118214722A (zh) | 用于流量控制的方法、集成电路、计算装置、存储介质和程序产品 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WWE | Wipo information: entry into national phase |
Ref document number: 200680056187.0 Country of ref document: CN |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 06822094 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2008540825 Country of ref document: JP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 1020097005806 Country of ref document: KR |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2006822094 Country of ref document: EP |
|
NENP | Non-entry into the national phase |
Ref country code: DE |