CN100426279C - Control device and method of buffer zone - Google Patents

Control device and method of buffer zone Download PDF

Info

Publication number
CN100426279C
CN100426279C CNB2006101273124A CN200610127312A CN100426279C CN 100426279 C CN100426279 C CN 100426279C CN B2006101273124 A CNB2006101273124 A CN B2006101273124A CN 200610127312 A CN200610127312 A CN 200610127312A CN 100426279 C CN100426279 C CN 100426279C
Authority
CN
China
Prior art keywords
bag
buffer
count value
data
buffer zone
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CNB2006101273124A
Other languages
Chinese (zh)
Other versions
CN1971547A (en
Inventor
苏俊源
谢易霖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Via Technologies Inc
Original Assignee
Via Technologies Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Via Technologies Inc filed Critical Via Technologies Inc
Priority to CNB2006101273124A priority Critical patent/CN100426279C/en
Publication of CN1971547A publication Critical patent/CN1971547A/en
Application granted granted Critical
Publication of CN100426279C publication Critical patent/CN100426279C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides method and apparatus for buffer area which are used to control the pack storage of a buffer area, and the buffer area contains a data buffer area and a command store area. The method includes: calculating the number of the storage packages in the data buffer area; transmitting one of the many packages to the buffer area, the calculated value is refreshed according to the storing state of the buffer area, the calculated value denotes the remaining storage space; comparing the calculated value with the largest data package length to judge weather or not to increase the storage packages in the buffer area. The said controlling apparatus and method for buffer area can express the storing state in the data buffer area to reduce the idle space in the data buffer area, and improve the storage efficiency of the data buffer area.

Description

Buffer zone control device and method
Technical field
The invention relates to a kind of control mode of buffer and buffer zone control device, especially in regard to a kind of control mode of buffer and buffer zone control device that is used for packet bus.
Background technology
Because chip processing speed and efficient in the computer system are more and more faster, the transmission speed that connects the bus of each chip also must promote, and so can effectively promote the usefulness of computer system operation.With the central processing unit in the computer system, its frequency of operation is up to number GHz, usefulness for the optimization central processing unit, Front Side Bus between central processing unit and the system chipset must have sufficiently high data rate, makes central processing unit have abundant data to handle and often remains in the state of computing.
Fig. 1 is a block diagram of known computer systems 1 interior central processing unit 11 and system chipset 12.As shown in Figure 1, a Front Side Bus 13 is to be electrically connected between central processing unit 11 and the system chipset 12 for the usefulness of data transmission, and wherein Front Side Bus 13 is to can be one to surpass transfer bus (HyperTransport Bus, HT Bus).The characteristics of super transfer bus are that it is to operate in low-work voltage and handle with differential wave to transmit data, and its host-host protocol is based on bag, so as to provide between central processing unit 11 and the system chipset 12 at a high speed, the high-effect and point-to-point function that is connected.
Bag is mainly to be divided into a gauge outfit (Header) and a packet (datapackage).Have instruction of writing (write command) in the gauge outfit or read response instruction (read response command), and be to have followed packet after the gauge outfit.Usually, gauge outfit and length of data package are all the multiple of 4 hytes, and wherein the length of gauge outfit is to be 4 hytes (1DW) or 8 hytes (1QW), length of data package be for 4 hytes (1DW) to 64 hytes (8QW).Because the form of bag is simple and easy and packet is not accompanied by too much additional transport frame, so can promote the efficient of data transmission.
Fig. 2 is the synoptic diagram of buffer zone 120 in the system chipset 12 of Fig. 1.Buffer zone 120 includes command store area 121 and data buffer 122, and wherein the field of command store area 121 and data buffer 122 in correspondence with each other.
As shown in Figure 2, command store area 121 has 4 in order to store the instruction storage field #11~#14 in the gauge outfit.Data buffer 122 has 4 storage field #21~#24 in order to the storage data bag.And the storage field #21~#24 of the storage field #11 of command store area 121~#14 difference corresponding data buffer zone 122.The size of each field #21~#24 of data buffer 122 is consistent with the maximum data packet length that surpasses transfer bus 13, also is 8QW (64 hyte), so that store the data that super transfer bus 13 sends.
Suppose field #11~#14 storage bag PAK respectively 1~PAK 4Gauge outfit, field #21~#24 storage bag PAK respectively then 1~PAK 4Packet.
Fig. 3 is the process flow diagram of control mode of buffer of the system chipset 12 of Fig. 1.
As shown in Figure 3, at first, the original state of supposing buffer zone 120 is for empty, and in step S01, system chipset 12 output buffers discharge information (buffer release), wrap to buffer zone 120 so as to informing to transmit.Then, in step S02, system chipset 12 receives a plurality of bags from super transfer bus 13, and respectively the gauge outfit of each bag and packet is stored into corresponding command store area 121 and data buffer 122.In step S03, system chipset 12 will be wrapped from buffer zone 120 and be removed to carry out follow-up processing.In step S04, when buffer zone 120 had remaining space, system chipset 12 output buffer again discharged information, wraps to buffer zone 120 so as to informing to transmit once more.
Below will illustrate above-mentioned flow process, please refer to Fig. 1, Fig. 2 and Fig. 3.
The command store area 121 of supposing buffer zone 120 has 4 fields and data buffer that 4 fields that are respectively 8QW are arranged.Suppose that when initial, buffer zone 120 does not store any bag.At first, system chipset 12 output buffers release information can transmit bag in order to inform central processing unit 11.Then system chipset 12 is received 4 groups of bag PAK that transmitted by central processing unit 11 1~PAK 4, and respectively with each bag PAK 1~PAK 4Gauge outfit and packet be stored in command store area 121 and data buffer 122 respectively corresponding field in (as shown in Figure 2).Suppose in buffer zone 120, to remove bag PAK 1To carry out follow-up processing, this moment, system chipset 12 judgement buffer zones 120 had remaining space, and the buffer zone release information that therefore can export is once more wrapped so that reception is next to central processing unit 11.
Though, in above framework, suppose that the data length of each bag is all 2QW, that is each field #21~#24 of data buffer 122 in fact only there is 2QW to store data, its remaining 6QW is not utilized.Since system chipset 12 only merely judgment data buffer zone 122 whether vacant field is arranged, cause can storing follow-up bag after bag that it must pending buffer district 120 is removed.Thereby the efficiency of storage of the buffer zone 120 in the conventional architectures is relatively poor.
Summary of the invention
The invention provides a kind of control mode of buffer and buffer zone control device that can improve the bag efficiency of storage of buffer zone.
Control mode of buffer of the present invention is to store in order to the bag of controlling a buffer zone, and wherein this buffer zone includes a data buffer and a command store area.Control mode of buffer of the present invention includes: calculate the storable bag number in this data buffer; Transmit many and should wrap one of them to this buffer zone, and upgrade a count value according to the access status of this buffer zone, wherein this count value is represented the residue storage volume of this data buffer; Relatively this count value and a maximum data packet length judge whether to increase the storable bag number of this buffer zone; Wherein, this data buffer is regardless of field and with the form of buffer circle storage data bag in regular turn, the field number of this command store area is greater than the merchant of this data buffer capacity divided by this maximum data packet length; And if this count value more than or equal to this maximum data packet length, and this command store area has remaining field, then makes the storable bag number of this buffer zone increase, and upgrades this count value; If this count value is less than this maximum data packet length, or this command store area do not have remaining field, then continue to transmit many should bag next records to this buffer zone, and upgrade this count value.
Buffer zone control device of the present invention places an integrated circuit to store in order to the bag of controlling this integrated circuit, and it includes: a buffer zone and a buffer zone controller.Buffer zone is to be connected to a packet bus in order to receive at least one bag that is transmitted by this packet bus, and it includes a command store area and a data buffer.The buffer zone controller is to be connected to this buffer zone, calculates the storable bag number of this buffer zone, and exports a count value according to this bag access context of this buffer zone.Count value is represented the residue storage volume of this data buffer.According to this count value and a maximum bag data length result relatively, judge whether to make the storable bag number in this data buffer to increase; Wherein, this data buffer is regardless of field and with the form of buffer circle storage data bag in regular turn; The field number of this command store area is greater than the merchant of this data buffer capacity divided by this maximum data packet length; And if this count value more than or equal to this maximum bag data length, and this command store area has remaining field, then makes the storable bag number of this buffer zone increase, and upgrades this count value; If this count value is less than this maximum data packet length, or this command store area do not have remaining field, then continue to transmit many should bag next records to this buffer zone, and upgrade this count value.
Control mode of buffer of the present invention is to store in order to the bag of controlling a buffer zone, and it includes: transmit a bag to this buffer zone, this buffer zone includes a data buffer and a command store area; Access status according to this buffer zone upgrades a count value, and wherein this count value is represented the residue storage volume of this data buffer; And relatively this count value and a maximum data packet length, judge whether to transmit the next record bag to this buffer zone; Wherein, this data buffer is regardless of field and with the form of buffer circle storage data bag in regular turn; The field number of this command store area is greater than the merchant of this data buffer capacity divided by this maximum data packet length.
Buffer zone control device of the present invention and method, the storage situation of response data buffer zone has reached the effect that promotes the efficiency of storage of data buffer to reduce space idle in the data buffer really.
Description of drawings
Fig. 1 is a block diagram that shows interior central processing unit of known computer systems and system chipset;
Fig. 2 is a synoptic diagram that shows buffer zone in the known computer systems;
Fig. 3 is the process flow diagram that shows the control mode of buffer of system chipset in the known computer systems;
Fig. 4 is the block diagram that shows according to the computer system of preferred embodiment of the present invention;
Fig. 5 is the synoptic diagram of demonstration according to the buffer zone of the buffer zone control device of preferred embodiment of the present invention;
Fig. 6 is the process flow diagram that shows according to the control mode of buffer of first embodiment of the invention;
Fig. 7 is the process flow diagram that shows according to the control mode of buffer of second embodiment of the invention;
Fig. 8 shows according to a synoptic diagram of linking up between integrated circuit in the control mode of buffer of second embodiment of the invention;
Fig. 9 is the synoptic diagram of demonstration according to the buffer zone of the buffer zone control device of second embodiment of the invention.
Embodiment
Hereinafter with reference to correlative type, control mode of buffer that is used for packet bus and buffer zone control device according to preferred embodiment of the present invention are described.
Seeing also Fig. 4 and Fig. 5, is to place an integrated circuit 2 according to the buffer zone control device (not label) of preferred embodiment of the present invention, and it comprises a buffer zone 20 and a buffer zone controller 21.Integrated circuit 2 is to see through a packet bus 3 to electrically connect another integrated circuit 4.Wherein buffer zone 20 includes a command store area 22 and a data buffer 23.Buffer zone controller 21 comprises a counter 211 and a comparer 212.
Integrated circuit 4 is to see through the buffer zone 20 of packet bus 3 difference transmission package to integrated circuit 2.Wherein Bao gauge outfit can be stored in command store area 22, and the data of bag then can be stored in data buffer 23.Counter 211 is in order to count a count value VAL and to be sent to comparer 212.Whether comparer 212 compares the maximum data packet length Dmax of count value VAL and packet bus, have enough spaces to store extra packet so as to judgment data buffer zone 23, so as to exporting release information to packet bus.
In the present invention, data buffer 23 is regardless of field and with the form of buffer circle storage data bag in regular turn.Therefore can intactly be stored in command store area 22 and data buffer 23 in order to ensure gauge outfit and packet, the field number that command store area 22 is had is greater than the merchant of data buffer capacity divided by the maximum data packet length.
For instance, if the size of tentation data buffer zone 23 is 32QW, and maximum data length Dmax is 8QW, so the field of command store area 22 must be greater than 4 (32QW/8QW=4QW).
In the present embodiment, presumptive instruction is stood for a long while and is deposited district 22 and have 8 field #31~#38 so as to storing the instruction in the gauge outfit, and the size of each field #31~#38 is 1QW.The size of tentation data buffer zone 23 is 32QW, and maximum data length Dmax is 8QW.
Fig. 6 is the process flow diagram of the control mode of buffer of first embodiment of the invention.Control mode of buffer is to comprise the following step: at first, buffer zone control device output buffer discharges information (buffer release) so as to informing that can transmit one wraps to buffer zone 20 (step S601).Then, integrated circuit 2 receives the bag that sent by packet bus 3 and bag is stored in (step S602) in the buffer zone 20.Then, counter 211 upgrades a count value VAL (step S603) according to the access status of buffer zone.Wherein, count value VAL represents the residue memory capacity of data buffer 23.Afterwards, comparer 212 relatively count value VAL whether more than or equal to maximum data packet length Dmax (step S604) in order to judge whether can to transmit the next record bag in buffer zone 20.If count value VAL less than maximum data packet length Dmax, then stops to receive bag (step S605).If count value VAL more than or equal to maximum data packet length Dmax, then returns step S601, output buffer discharges information once more, can transmit the next record bag in order to inform.
Fig. 7 is the process flow diagram of the buffer zone control of second embodiment of the invention.Control mode of buffer is to comprise the following step: at first, the buffer zone control device is according to the amount of capacity of data buffer 23, and the residue field of command store area 21 and maximum data length Dmax calculate buffer zone 20 can receive N bag PAK 1~PAK N, and output buffer discharges information (step S701).Transmit the wherein bag PAK among the bag PAK MTo buffer zone 20 (step S702).Counter 211 upgrades a count value VAL (step S703) according to the buffer access state.Wherein count value is represented the residue memory capacity of data buffer 23.Whether comparer 212 judges count value VAL more than or equal to maximum data packet length Dmax (step S704), to judge whether to increase buffer zone 20 storable bag numbers.If count value VAL is less than maximum data packet length Dmax, then rebound step S702 continues to transmit next record bag PAK M+1To buffer zone 20.If count value VAL is more than or equal to maximum data packet length Dmax, then decision instruction is stood for a long while and is deposited district 22 and whether also have remaining field (step S705).If do not have, then rebound step S702 continues to transmit next record bag PAK M+1To buffer zone 20.If have, then output buffer discharges information once more, make buffer zone 20 receivable bags increase, that is buffer zone 20 receivable bags is PAK 1~PAK N+1(step S706).Then, skip to step S703 again and upgrade its count value VAL.
Transmit one at packet bus 3 and wrap to buffer zone 20, count value VAL is then according to maximum data packet length Dmax, the bag data length DA that is received, and the bag data length DA ' that is removed, and a numerical value CNT upgrades.Wherein if count value VAL less than maximum data packet length Dmax, then numerical value CNT is the count value VAL of last pen bag; If count value VAL is during more than or equal to maximum data packet length Dmax, numerical value CNT is that the count value of last pen bag deducts the maximum data packet length.Wherein, when the bag that receives is stored to buffer zone 20, and when bag is not removed in the buffer zone 20, count value VAL=Dmax-DA+CNT.When buffer zone has a bag to be removed, count value VAL=CNT+DA '.
Please refer to Fig. 5, Fig. 8 and Fig. 9 are example.For instance, presumptive instruction is stood for a long while and is deposited district 22 and have 8 field #31~#38 so as to storing the instruction in the gauge outfit, and the size of data buffer 23 is 32QW, and maximum data length Dmax is 8QW.
Buffer zone 20 is empty during assumed initial state, and the buffer zone control device judges that buffer zone can receive 4 bag PAK 1~PAK 4, so output buffer release information requirements integrated circuit 4 is sent 4 bags in regular turn.
When receiving first bag PAK 1The time, suppose PAK this moment 1Data length DA 1Be 2QW, then count value VAL=Dmax (8QW)-DA 1(2QW)+CNT (0QW)=6QW.VAL this moment (6QW) is less than Dmax (8QW), so then transmit second bag PAK 2Suppose PAK 2Data length DA 2Be 2QW, then count value VAL=Dmax (8QW)-DA 2(2QW)+CNT (6QW)=12QW.Count value VAL this moment (12QW) is greater than maximum data packet length Dmax (8QW), and this moment command store area 22 6 fields are still arranged is empty, so buffer zone control device output buffer discharges information, can again transmit a bag PAK in order to inform more 3To buffer zone 20, this moment numerical value CNT=VAL (12QW)-Dmax (8QW)=4QW.Then transmit the 3rd bag PAK 3To buffer zone 20, suppose PAK 3Data length DA 3Be 2QW, at this moment count value VAL=Dmax (8QW)-DA 3(2QW)+CNT (4QW)=10QW.Count value VAL this moment (10QW) is greater than maximum data packet length Dmax (8QW), and this moment command store area 22 5 fields are still arranged is empty, so buffer zone control device output buffer discharges information, can again transmit a bag PAK in order to inform more 4To buffer zone 20, this moment numerical value CNT=VAL (10QW)-Dmax (8QW)=2QW.Then transmit the 4th bag PAK 4To buffer zone 20, suppose PAK 4Data length DA 4Be 2QW, at this moment count value VAL=Dmax (8QW)-DA 4(2QW)+CNT (2QW)=8QW.Count value VAL this moment (8QW) equals maximum data packet length Dmax (8QW), and this moment command store area 22 4 fields are still arranged is empty, so buffer zone control device output buffer discharges information, can again transmit a bag PAK in order to inform more 5To buffer zone 20, this moment numerical value CNT=VAL (8QW)-Dmax (8QW)=0QW.Then transmit the 5th bag PAK 5To buffer zone 20, suppose PAK 5Data length DA 5Be 8QW, at this moment count value VAL=Dmax (8QW)-DA 5(8QW)+CNT (0QW)=0QW.VAL this moment (0QW) is less than Dmax (8QW), so then transmit the 6th bag PAK 6Suppose PAK 6Data length DA 6Be 8QW, at this moment count value VAL=Dmax (8QW)-DA 6(8QW)+CNT (0QW)=0QW.VAL this moment (0QW) is less than Dmax (8QW), so then transmit the 7th bag PAK 7, suppose PAK 7Data length DA 7Be 2QW, then count value VAL=Dmax (8QW)-DA 7(2QW)+CNT (0QW)=6QW.If wrap PAK this moment 1In buffer zone 20, remove, then count value VAL=CNT (6QW)+DA 1' (2QW)=8QW.Count value VAL this moment (8QW) equals maximum data packet length Dmax (8QW), and this moment command store area 22 1 field is still arranged is empty, so buffer zone control device output buffer discharges information.Detailed buffer zone stores situation such as Fig. 5 and shown in Figure 9.
Packet bus 3 is to be embodied as super transfer bus among the present invention, and its maximum data packet length is to be 64 hytes.Integrated circuit 2 and integrated circuit 4 are to be embodied as system chipset and central processing unit respectively.
In sum, because of being whether the residue storage volume of judgment data buffer zone is enough to store another packet and discharges information with output buffer according to control mode of buffer of the present invention and buffer zone control device, thereby really the storage situation of response data buffer zone to reduce space idle in the data buffer, so as to reaching the effect of the efficiency of storage that promotes the data buffer.
The above only is preferred embodiment of the present invention; so it is not in order to limit scope of the present invention; any personnel that are familiar with this technology; without departing from the spirit and scope of the present invention; can do further improvement and variation on this basis, so the scope that claims were defined that protection scope of the present invention is worked as with the application is as the criterion.
Being simply described as follows of symbol in the accompanying drawing:
1: computer system
11: central processing unit
12: system chipset
120: buffering area
121: command store area
122: the data buffer zone
13: Front Side Bus
2,4: integrated circuit
20: buffering area
21: the buffer zone controller
211: counter
212: comparer
22: command store area
23: the data buffer
3: packet bus
#11-#14, #21-#24, #31-#38: store field
PAK 1-PAK 7: bag
VAL: count value
S01-S04, S601-S605, S701-S706: the step of control mode of buffer

Claims (16)

1. a control mode of buffer is characterized in that, this control mode of buffer stores in order to the bag of controlling a buffer zone, and wherein this buffer zone includes a data buffer and a command store area, and this method includes:
Calculate the storable bag number in this data buffer;
Transmit many and should wrap one of them to this buffer zone, and upgrade a count value according to the access status of this buffer zone, wherein this count value is represented the residue storage volume of this data buffer;
Relatively this count value and a maximum data packet length judge whether to increase the storable bag number of this buffer zone;
Wherein, this data buffer is regardless of field and with the form of buffer circle storage data bag in regular turn, the field number of this command store area is greater than the merchant of this data buffer capacity divided by this maximum data packet length; And
If this count value is more than or equal to this maximum data packet length, and this command store area has remaining field, then makes the storable bag number of this buffer zone increase, and upgrades this count value;
If this count value is less than this maximum data packet length, or this command store area do not have remaining field, then continue to transmit many should bag next records to this buffer zone, and upgrade this count value.
2. control mode of buffer according to claim 1 is characterized in that, exports a buffer zone and discharges information to transmit this bag to this buffer zone.
3. control mode of buffer according to claim 1 is characterized in that, according to this data buffer size, and the residue field number of this command store area and the storable bag number of this this buffer zone of maximum data length computation.
4. according to claim] described control mode of buffer, it is characterized in that,
When one first bag is stored to this data buffer, a data length+numerical value of this count value=this maximum data packet length-this first bag; Wherein when one second the bag when this data buffer removes, this count value=this numerical value+this second the bag data length;
When this buffer zone is storable when should the bag number increasing, the numerical value in the then current calculating is that the count value of last pen bag deducts the maximum data packet length, and the value of this numerical value is 0 when initial.
5. control mode of buffer according to claim 1 is characterized in that,
When one first bag is stored to this data buffer, a data length+numerical value of this count value=this maximum data packet length-this first bag; Wherein when one second bag when this data buffer removes, data length of this count value=this numerical value+this second bag;
When the count value of last pen bag less than this maximum data packet length, the numerical value in the then current calculating is the count value of last pen bag, and the value of this numerical value is 0 when initial.
6. a buffer zone control device is characterized in that, this buffer zone control device places an integrated circuit to store in order to the bag of controlling this integrated circuit, and this device includes:
One buffer zone is connected to a packet bus in order to receive at least one bag that is transmitted by this packet bus, and wherein this buffer zone includes a command store area and a data buffer; And
One buffer zone controller is connected to this buffer zone, calculates the storable bag number of this buffer zone, and exports a count value according to this bag access context of this buffer zone, and wherein this count value is represented the residue storage volume of this data buffer;
Wherein, judge whether to make the storable bag number in this data buffer to increase according to this count value and a maximum bag data length result relatively;
Wherein, this data buffer is regardless of field and with the form of buffer circle storage data bag in regular turn; The field number of this command store area is greater than the merchant of this data buffer capacity divided by this maximum data packet length; And
If this count value is more than or equal to this maximum bag data length, and this command store area has remaining field, then makes the storable bag number of this buffer zone increase, and upgrades this count value;
If this count value is less than this maximum data packet length, or this command store area do not have remaining field, then continue to transmit many should bag next records to this buffer zone, and upgrade this count value.
7. buffer zone control device according to claim 6 is characterized in that, this buffer control unit includes:
One counter is in order to the residue storage volume of calculating this data buffer and export this count value; And
One comparer is in order to relatively this count value and this maximum bag data length.
8. buffer zone control device according to claim 6 is characterized in that, according to this data buffer size, and the residue field number of this command store area and the storable bag number of this this buffer zone of maximum data length computation.
9. buffer zone control device according to claim 6 is characterized in that,
When one first bag is stored to this data buffer, a data length+numerical value of this count value=this maximum data packet length-this first bag; Wherein when one second bag when this data buffer removes, data length of this count value=this numerical value+this second bag;
When the count value of last pen bag more than or equal to this maximum data packet length, that is this buffer zone is storable when should the bag number increasing, the numerical value in the then current calculating is that the count value of last pen bag deducts the maximum data packet length, and the value of this numerical value is 0 when initial.
10. buffer zone control device according to claim 6 is characterized in that,
When one first bag is stored to this data buffer, a data length+numerical value of this count value=this maximum data packet length-this first bag; Wherein when one second bag when this data buffer removes, data length of this count value=this numerical value+this second bag;
When the count value of last pen bag less than this maximum data packet length, that is storable this bag number of this buffer zone is not when increasing, the numerical value in the then current calculating is the count value that last pen wraps, and the value of this numerical value is 0 initially the time.
11. a control mode of buffer is characterized in that, this control mode of buffer stores in order to the bag of controlling a buffer zone, and this method includes:
Transmit a bag to this buffer zone, this buffer zone includes a data buffer and a command store area;
Access status according to this buffer zone upgrades a count value, and wherein this count value is represented the residue storage volume of this data buffer; And
Relatively this count value and a maximum data packet length judge whether to transmit the next record bag to this buffer zone;
Wherein, this data buffer is regardless of field and with the form of buffer circle storage data bag in regular turn; The field number of this command store area is greater than the merchant of this data buffer capacity divided by this maximum data packet length.
12. control mode of buffer according to claim 11 is characterized in that, exports a buffer zone and discharges information to transmit this bag to this buffer zone.
13. control mode of buffer according to claim 11 is characterized in that, if this count value more than or equal to this maximum data packet length, then transmits the next record bag to this buffer zone.
14. control mode of buffer according to claim 13 is characterized in that,
When one first bag is stored to this data buffer, a data length+numerical value of this count value=this maximum data packet length-this first bag; Wherein when one second bag when this data buffer removes, data length of this count value=this numerical value+this second bag;
When the count value of last pen bag more than or equal to this maximum data packet length, the numerical value in the then current calculating is that the count value of last pen bag deducts the maximum data packet length, and the value of this numerical value is 0 when initial.
15. control mode of buffer according to claim 11 is characterized in that, if this count value less than this maximum data packet length, does not then transmit the next record bag to this buffer zone.
16. control mode of buffer according to claim 15 is characterized in that,
When one first bag is stored to this data buffer, a data length+numerical value of this count value=this maximum data packet length-this first bag; Wherein when one second bag when this data buffer removes, data length of this count value=this numerical value+this second bag;
When the count value of last pen bag less than this maximum data packet length, the numerical value in the then current calculating is the count value of last pen bag, and the value of this numerical value is 0 when initial.
CNB2006101273124A 2006-09-13 2006-09-13 Control device and method of buffer zone Active CN100426279C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006101273124A CN100426279C (en) 2006-09-13 2006-09-13 Control device and method of buffer zone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006101273124A CN100426279C (en) 2006-09-13 2006-09-13 Control device and method of buffer zone

Publications (2)

Publication Number Publication Date
CN1971547A CN1971547A (en) 2007-05-30
CN100426279C true CN100426279C (en) 2008-10-15

Family

ID=38112377

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006101273124A Active CN100426279C (en) 2006-09-13 2006-09-13 Control device and method of buffer zone

Country Status (1)

Country Link
CN (1) CN100426279C (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4727537A (en) * 1985-12-24 1988-02-23 American Telephone And Telegraph Company Flow control arrangement for the transmission of data packets to a communication network
US6122253A (en) * 1995-06-05 2000-09-19 General Data Comm Inc. ATM network switch with congestion control
CN1389799A (en) * 2002-07-31 2003-01-08 清华大学 Multiple-priority level and optimal dynamic threshold buffer storage managing algorithm

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4727537A (en) * 1985-12-24 1988-02-23 American Telephone And Telegraph Company Flow control arrangement for the transmission of data packets to a communication network
US6122253A (en) * 1995-06-05 2000-09-19 General Data Comm Inc. ATM network switch with congestion control
CN1389799A (en) * 2002-07-31 2003-01-08 清华大学 Multiple-priority level and optimal dynamic threshold buffer storage managing algorithm

Also Published As

Publication number Publication date
CN1971547A (en) 2007-05-30

Similar Documents

Publication Publication Date Title
CN102377682B (en) Queue management method and device based on variable-length packets stored in fixed-size location
EP1192753B1 (en) Method and apparatus for shared buffer packet switching
EP2271994B1 (en) Credit management when resource granularity is larger than credit granularity
CN101853237B (en) On-chip system and AXI bus transmission method
CN108366111B (en) Data packet low-delay buffer device and method for switching equipment
US20090147783A1 (en) Buffering architecture for packet injection and extraction in on-chip networks
US20080235413A1 (en) Apparatus and Method to Maximize Buffer Utilization in an I/O Controller
JPH1117708A (en) Input buffer controller for atm switch system and logic buffer size determining method
CN103049240B (en) PCI-E equipment and reception data reordering method thereof
US20070177498A1 (en) Method and apparatus for implementing speculative credit flow control
CN101394349B (en) Data transmission method and system in communication of different interface devices
CN105376129A (en) 1394 bus transaction layer-link layer data packet transmitting circuit and method
CN1326057C (en) Bus system and bus interface for connection to a bus
CN101286942B (en) Transmitter, receiver and method for managing infinite band breadth communication link
EP2036262A1 (en) Method for transmitting a datum from a time-dependent data storage means
CN100426279C (en) Control device and method of buffer zone
CN102932265B (en) Data caching management device and method
CN1965548A (en) Method and apparatus for forwarding bursty data
EP1768315B1 (en) A method for storing the data packet by using the pointer technique
CN101576865B (en) Method and device for ensuring reading transaction bandwidth of memory
CN105022591A (en) Metadata based data alignment in data storage systems
CN107861887A (en) A kind of control method of serial volatile memory
US20040215814A1 (en) Packet forwarding system having an efficient packet management unit and an operation method thereof
CN100479420C (en) A dynamic equilibrium distributing method for port data flow
US7984212B2 (en) System and method for utilizing first-in-first-out (FIFO) resources for handling differences in data rates between peripherals via a merge module that merges FIFO channels

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant