CN101841477A - Method for improving reliable message transmission credit of network control chip - Google Patents

Method for improving reliable message transmission credit of network control chip Download PDF

Info

Publication number
CN101841477A
CN101841477A CN201010156584A CN201010156584A CN101841477A CN 101841477 A CN101841477 A CN 101841477A CN 201010156584 A CN201010156584 A CN 201010156584A CN 201010156584 A CN201010156584 A CN 201010156584A CN 101841477 A CN101841477 A CN 101841477A
Authority
CN
China
Prior art keywords
credit
message
counter
transmission
value
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.)
Granted
Application number
CN201010156584A
Other languages
Chinese (zh)
Other versions
CN101841477B (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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Langchao Electronic Information Industry Co Ltd
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 Langchao Electronic Information Industry Co Ltd filed Critical Langchao Electronic Information Industry Co Ltd
Priority to CN2010101565843A priority Critical patent/CN101841477B/en
Publication of CN101841477A publication Critical patent/CN101841477A/en
Application granted granted Critical
Publication of CN101841477B publication Critical patent/CN101841477B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Communication Control (AREA)

Abstract

The invention provides a method for improving reliable message transmission credit of a network control chip. Configuration required for improving the message transmission credit comprises the following contents of: 1) time sequence analysis of transmission of message inside a complex controlled chip; 2) characteristics of system message stream; 3) setting of a credit pool buffer area; 4) setting of a transmitting counter and a receiving counter; 5) credit return logic; and 6) credit increment and reduction control. The characteristic of double-counter control mainly strictly controls error-free transmission of the message stream according to the length of the message; the complex controlled chip often supports complex protocol and huge message stream; and the strict counter control reduces the probability of retransmission of transmitted error so as to improve the performance of the system and meet the requirement of high-speed transmission. The characteristic of credit increment and reduction mainly means to automatically increase and reduce a credit value in a credit range through protocol handshake of a transmitting party and a receiving party during message transmission so as to control the message processing capability of the transmitting party or the receiving party.

Description

A kind of method that improves reliable message transmission credit of network control chip
Technical field
The present invention relates to chip Flow Control design field, be specifically related to a kind of method that improves reliable message transmission credit of network control chip
Background technology
Along with the continuous development of server application, the application demand of high-end server has entered an important stage.Complicated architecture realizes supporting that the high-end server system realizes characteristics such as high performance index, high security, high availability, high reliability.This just needs network control class chip controls multichannel processor system, makes the internal system message transmissions reach high efficient and reliable, safety and stability.Control the agreement of the control chip internal support complexity of multichannel processor access message transmissions, control the message flow of huge high speed.This just needs a kind of highly reliable flow-control mechanism to guarantee its built-in message transmission high efficient and reliable.The purpose of Flow Control have following some: the recipient lags behind the speed that transmit leg sends message to the disposal ability of message, causes message to block at receiving terminal, thereby the situation of message dropping occurs; Different types of message processing sequence is arbitrated; Rational and effective is distributed chip internal credit pool buffer resource.
Summary of the invention
Credit mechanism of the present invention is mainly considered present demand influence to high-end server, cause the Performance And Reliability of complicated control class chip all constantly to promote, complicated agreement support and transmittability at a high speed make chip internal need special flow-control mechanism to realize, thereby satisfy the efficient of high-end server system, highly reliable service requirement.
Method of the present invention realizes in the following manner, design by double counters control, realization is to the highly-reliable transmission control of the huge message flow of support complex protocol, automatically increase and decrease the error free transmission of each message of the strict control of mechanism by credit value, reduce the probability that message transmissions is made mistakes and retransmitted, thereby improve the high availability of system, the configuration that improving message transmission credit needs comprises following content: the 1) Time-Series analysis of complicated control class chip internal message transmissions; 2) characteristics of system message stream; 3) the credit pool buffering area is set; 4) transmitting counter and count pick up device are set; 5) credit is returned logic; 6) credit increase and decrease control, wherein:
1) Time-Series analysis of complicated control class chip internal message transmissions is by analyzing the sequential characteristics of message transmissions, determines that clock, heading, transmission enable, the sequential relationship of counter and credit inverse signal;
2) characteristics of system message stream are the characteristics that take into full account system message, comprise message length, and are ready for disposing other credit management parts;
3) the credit pool buffering area is set, it is characterized in that analysis, determine the size of credit management parts credit pool buffering area according to system message.As the system message maximum length is 3 message units, and the credit pool buffering area is greater than this value so.This can be in the influence that guarantees to reduce under the transmission reliable conditions to systematic function.
4) transmitting counter and count pick up device are set, it is characterized in that considering from the process of calculating message transmissions, can the recorded message transmission course in the quantity of unit of transfer, the zero defect of control transmission is carried out.
5) credit is returned logic, and after the message side of being received that transmit leg sends handled, the recipient just returned an available credit to transmit leg;
6) credit increase and decrease control is that transmit leg sends a message unit credit value and subtracts " 1 ", receives that one is returned the available credit credit value and increases " 1 "; And the recipient receives that a message unit credit value increases " 1 ", handles a message unit credit value and subtracts " 1 ", and this can guarantee the reliability service of credit mechanism;
The specific implementation step is as follows:
After send receiving network and message channel and selecting to determine, at first carry out the initial configuration of credit management parts, determine the size of recipient's credit pool buffering area according to the form of system transmissions message, be assumed to be " 64 ", the value of credit pool buffering area is set to send the initial value of credit counter, be initialized as initial value and receive credit counter, be assumed to be " 0 ", at this moment, according to sequential relationship, transmit leg begins to send message data, when valid transmission enable signal is effective, send a head heading, transmit leg credit counter credit value subtracts " 1 ", be that counter subtracts " 1 " and becomes " 63 ", and recipient's credit counter credit value adds " 1 ", be that counter adds " 1 " and becomes " 1 ", add and subtract machine-processed transmitting message data according to such credit, when the credit value of transmit leg credit counter equals " 0 ", representing that its credit value uses up can not send message data, this interval scale recipient credit pool buffering area completely is " 64 ", wait for that the recipient handles message data, when a message data processed, the recipient promptly discharges an available credit, credit is returned logic and is produced the free signal to transmit leg, transmit leg is received the free signal, promptly receives an available credit, and it is " 1 " that its credit counter credit value adds " 1 ", and corresponding the subtracting of recipient's credit counter credit value " 1 " is " 63 ", and the whole process machine of message transmissions promptly adopts this credit controlling mechanism to guarantee the reliability of message transmissions.
The invention has the beneficial effects as follows: credit mechanism of the present invention has realized under the condition of chip internal message flow high-speed transfer, adopt the implementation method of credit management, characteristics of components at message transmitting party and message recipient, and the characteristics of message high-speed transfer, at transmit leg and recipient credit pool and credit counter are set respectively, control the length that adapts to message by the size of adjusting credit pool, by the high reliability of credit counter control message transmissions.Thereby guarantee under the high-speed transfer condition high efficient and reliable transmission of message.The present invention guarantees aspect the message flow reliable transmission significant advantage is arranged under the prerequisite that does not influence systematic function.Adjust the characteristic of credit pool size, mainly be meant by the characteristics of system message and adjust the credit pool size, improve the influence of credit pool utilance minimizing systematic function.The characteristic of double counters control, it mainly is error free transmission according to the strict control of the length message flow of message, complicated control class chip is the supported protocol complexity often, message flow is huge, strict counter controls makes system the probability reduction that error of transmission retransmits occur, thereby improved systematic function, satisfied the requirement of high-speed transfer.The characteristic of credit increase and decrease is meant that mainly the protocol handshake by transmit leg and recipient increases and decreases credit value automatically in the message transmission procedure in fiduciary capacity, thus control transmit leg or recipient's message processing capability.
Description of drawings
Accompanying drawing 1 credit control timing figure;
Accompanying drawing 2 modular structure schematic diagrames;
Accompanying drawing 3 sends and receives the credit controlling mechanism.
Embodiment
With reference to the accompanying drawings, content of the present invention is waited the implementation procedure of describing this credit mechanism with the transmission course of Time-Series analysis, message and counter credit increase and decrease operation.
As described in the summary of the invention, the highly reliable message transmission credit mechanism of network control chip mainly comprises among the present invention: the Time-Series analysis 1 of complicated control class chip internal message transmissions), the characteristics 2 of system message stream), credit pool buffering area 3 is set), transmitting counter and count pick up device 4 are set), credit is returned logic 5), credit increase and decrease control 6).
Sequential relationship such as Fig. 1 of complicated control class chip internal message transmissions, clk is a clock signal, and valid enables for transmission, and head is a heading, and counter is a counter, free is that credit is returned.As shown in the figure, when the transmission enable signal is effective, receive a heading for the recipient, counter increases " 1 "; When send a free signal to the recipient, promptly return an available credit, its credit counter subtracts " 1 ".On the contrary, for transmit leg, when send a heading signal to the recipient, its credit counter subtracts " 1 ", and when the available credit free signal of receiving that the recipient returns, its credit counter adds " 1 ".
According to above Time-Series analysis, the factor that the realization of complicated control class chip message transmission credit mechanism need be considered mainly comprises:
1, adjusts the credit pool buffering area.
2, reception and transmitting counter are set.
3, message transmissions initial configuration.
4, credit is returned logic.
Be illustrated in figure 2 as the control class chip internal sending/receiving module schematic diagram of simplification, S is transmit leg (Sender), and R is recipient (Receiver), actual chip internal module be simultaneously transmit leg be again the recipient.The just S-that illustrates among the figure〉message transmission procedure of R.Any one sending module S can send message data to any receiver module R by exchange control.
When having set up the transmission network (as Fig. 3) of transmit leg to the recipient, promptly begin the initialization transmission configuration, comprising: determine the credit value of transmit leg credit counter according to the size of the credit pool buffering area that configures, initialization receives credit counter initial value etc.
Embodiment
Implementation procedure with the message transmission credit controlling mechanism is described in detail below.
After send receiving network and message channel and selecting to determine, at first carry out the initial configuration of credit management parts, determine the size of recipient's credit pool buffering area to be assumed to be " 64 " according to the form of system transmissions message.The value of credit pool buffering area is set to send the initial value of credit counter, is initialized as initial value and receive credit counter, is assumed to be " 0 ".This moment is according to sequential relationship, transmit leg begins to send message data, when valid transmission enable signal is effective, send a head heading, transmit leg credit counter credit value subtracts " 1 ", and promptly counter subtracts " 1 " and becomes " 63 ", and recipient's credit counter credit value adds " 1 ", be that counter adds " 1 " and becomes " 1 ", add and subtract machine-processed transmitting message data according to such credit.When the credit value of transmit leg credit counter equals " 0 ", representing that its credit value uses up can not send message data, this interval scale recipient credit pool buffering area completely is " 64 ", wait for that the recipient handles message data, when a message data processed, the recipient promptly discharges an available credit, credit is returned logic and is produced the free signal to transmit leg, transmit leg is received the free signal, promptly receive an available credit, it is " 1 " that its credit counter credit value adds " 1 ", and corresponding the subtracting of recipient's credit counter credit value " 1 " is " 63 ".The whole process machine of message transmissions promptly adopts this credit controlling mechanism to guarantee the reliability of message transmissions.

Claims (1)

1. method that improves reliable message transmission credit of network control chip, it is characterized in that, design by double counters control, realization is to the highly-reliable transmission control of the huge message flow of support complex protocol, automatically increase and decrease the error free transmission of each message of the strict control of mechanism by credit value, reduce the probability that message transmissions is made mistakes and retransmitted, thereby improve the high availability of system, the configuration that improving message transmission credit needs comprises following content: the 1) Time-Series analysis of complicated control class chip internal message transmissions; 2) characteristics of system message stream; 3) the credit pool buffering area is set; 4) transmitting counter and count pick up device are set; 5) credit is returned logic; 6) credit increase and decrease control, wherein:
1) Time-Series analysis of complicated control class chip internal message transmissions is by analyzing the sequential characteristics of message transmissions, determines that clock, heading, transmission enable, the sequential relationship of counter and credit inverse signal;
2) characteristics of system message stream are the characteristics that take into full account system message, comprise message length, and are ready for disposing other credit management parts;
3) the credit pool buffering area is set, it is characterized in that analysis, determine the size of credit management parts credit pool buffering area according to system message.As the system message maximum length is 3 message units, and the credit pool buffering area is greater than this value so.This can be in the influence that guarantees to reduce under the transmission reliable conditions to systematic function.
4) transmitting counter and count pick up device are set, it is characterized in that considering from the process of calculating message transmissions, can the recorded message transmission course in the quantity of unit of transfer, the zero defect of control transmission is carried out.
5) credit is returned logic, and after the message side of being received that transmit leg sends handled, the recipient just returned an available credit to transmit leg;
6) credit increase and decrease control is that transmit leg sends a message unit credit value and subtracts " 1 ", receives that one is returned the available credit credit value and increases " 1 "; And the recipient receives that a message unit credit value increases " 1 ", handles a message unit credit value and subtracts " 1 ", and this can guarantee the reliability service of credit mechanism;
The specific implementation step is as follows:
After send receiving network and message channel and selecting to determine, at first carry out the initial configuration of credit management parts, determine the size of recipient's credit pool buffering area according to the form of system transmissions message, be assumed to be " 64 ", the value of credit pool buffering area is set to send the initial value of credit counter, be initialized as initial value and receive credit counter, be assumed to be " 0 ", at this moment, according to sequential relationship, transmit leg begins to send message data, when valid transmission enable signal is effective, send a head heading, transmit leg credit counter credit value subtracts " 1 ", be that counter subtracts " 1 " and becomes " 63 ", and recipient's credit counter credit value adds " 1 ", be that counter adds " 1 " and becomes " 1 ", add and subtract machine-processed transmitting message data according to such credit, when the credit value of transmit leg credit counter equals " 0 ", representing that its credit value uses up can not send message data, this interval scale recipient credit pool buffering area completely is " 64 ", wait for that the recipient handles message data, when a message data processed, the recipient promptly discharges an available credit, credit is returned logic and is produced the free signal to transmit leg, transmit leg is received the free signal, promptly receives an available credit, and it is " 1 " that its credit counter credit value adds " 1 ", and corresponding the subtracting of recipient's credit counter credit value " 1 " is " 63 ", and the whole process machine of message transmissions promptly adopts this credit controlling mechanism to guarantee the reliability of message transmissions.
CN2010101565843A 2010-04-27 2010-04-27 Method for improving reliable message transmission credit of network control chip Active CN101841477B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101565843A CN101841477B (en) 2010-04-27 2010-04-27 Method for improving reliable message transmission credit of network control chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101565843A CN101841477B (en) 2010-04-27 2010-04-27 Method for improving reliable message transmission credit of network control chip

Publications (2)

Publication Number Publication Date
CN101841477A true CN101841477A (en) 2010-09-22
CN101841477B CN101841477B (en) 2013-03-20

Family

ID=42744610

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101565843A Active CN101841477B (en) 2010-04-27 2010-04-27 Method for improving reliable message transmission credit of network control chip

Country Status (1)

Country Link
CN (1) CN101841477B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102523168A (en) * 2011-12-23 2012-06-27 福建星网锐捷网络有限公司 Method and apparatus for message transmission
CN104394100A (en) * 2014-11-07 2015-03-04 深圳市国微电子有限公司 Credit allocation method and switch
CN105429896A (en) * 2015-12-03 2016-03-23 浪潮(北京)电子信息产业有限公司 Coupled message credit releasing method and system
CN107273253A (en) * 2017-06-16 2017-10-20 郑州云海信息技术有限公司 A kind of fiduciary load monitoring method and device
CN113438182A (en) * 2021-03-30 2021-09-24 南京大学 Flow control system and flow control method based on credit

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1494003A (en) * 2002-10-30 2004-05-05 华为技术有限公司 Device and method for realizing interface conversion
CN101184022A (en) * 2006-11-13 2008-05-21 中芯国际集成电路制造(上海)有限公司 Credit processing equipment and flow control transmission apparatus and method thereof
CN101276318A (en) * 2008-05-12 2008-10-01 北京航空航天大学 Direct access data transmission control apparatus based on PCI-E bus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1494003A (en) * 2002-10-30 2004-05-05 华为技术有限公司 Device and method for realizing interface conversion
CN101184022A (en) * 2006-11-13 2008-05-21 中芯国际集成电路制造(上海)有限公司 Credit processing equipment and flow control transmission apparatus and method thereof
CN101276318A (en) * 2008-05-12 2008-10-01 北京航空航天大学 Direct access data transmission control apparatus based on PCI-E bus

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102523168A (en) * 2011-12-23 2012-06-27 福建星网锐捷网络有限公司 Method and apparatus for message transmission
CN102523168B (en) * 2011-12-23 2014-09-10 福建星网锐捷网络有限公司 Method and apparatus for message transmission
CN104394100A (en) * 2014-11-07 2015-03-04 深圳市国微电子有限公司 Credit allocation method and switch
CN104394100B (en) * 2014-11-07 2017-12-08 深圳市国微电子有限公司 Credit assignment method and interchanger
CN105429896A (en) * 2015-12-03 2016-03-23 浪潮(北京)电子信息产业有限公司 Coupled message credit releasing method and system
CN105429896B (en) * 2015-12-03 2018-10-02 浪潮(北京)电子信息产业有限公司 A kind of coupling message credit method for releasing and system
CN107273253A (en) * 2017-06-16 2017-10-20 郑州云海信息技术有限公司 A kind of fiduciary load monitoring method and device
CN113438182A (en) * 2021-03-30 2021-09-24 南京大学 Flow control system and flow control method based on credit

Also Published As

Publication number Publication date
CN101841477B (en) 2013-03-20

Similar Documents

Publication Publication Date Title
EP2193642B1 (en) Ip mtu control based on multiradio schedule
CN101448006B (en) Method and system for realizing access for a great amount of terminals for streaming media server
CN101841477B (en) Method for improving reliable message transmission credit of network control chip
CN101179790B (en) Serial port communication method between mobile terminal processor
US6321269B1 (en) Optimized performance for transaction-oriented communications using stream-based network protocols
US20100220746A1 (en) Method for inverse multiplexing
CN101494579B (en) Bus scheduling device and method
CN101047615B (en) Control method for Ethernet data flow
CN101436978A (en) Method for authentic data transmission using UDP protocol
CN102790776A (en) Heartbeat connection normalizing processing method, terminal, server and communication system
CN107171978A (en) The multi-channel data circle collection system and acquisition method of gigabit Ethernet
CN101621833A (en) Message flux control method and base station controller
CN101610587B (en) Data transmission method based on TDD standard and device thereof
CN106027534A (en) System for implementing financial message processing based on Netty
CN103338184A (en) Data transmitting method and apparatus, data receiving apparatus and data transmission system
CN101207617A (en) Method for data transmission of network storing system
CN102238493B (en) Machine-to-machine (M2M)-platform-based message sequential transmission and receiving method and device
CN102685143A (en) Audio data transmission method, client side and server
CN101188555B (en) A method for improving reliability of unidirectional communication under non-reliable communication environment
CN101616365B (en) System and method for short message retry based on parallel queues
CN101552735A (en) Pluggable information bus device based on subscribing mode and realizing method thereof
CN101145968B (en) Data transmission and receiving method between network management system and transmission device
CN110865891B (en) Asynchronous message arrangement method and device
CN102170341B (en) Method and apparatus for data transmission
CN104394068B (en) A kind of shortwave E mail transmissions, reception and communication means based on commercial client

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