Movatterモバイル変換


[0]ホーム

URL:


CN1377194A - Method for interface drive repeating procedure of router - Google Patents

Method for interface drive repeating procedure of router
Download PDF

Info

Publication number
CN1377194A
CN1377194ACN01112525ACN01112525ACN1377194ACN 1377194 ACN1377194 ACN 1377194ACN 01112525 ACN01112525 ACN 01112525ACN 01112525 ACN01112525 ACN 01112525ACN 1377194 ACN1377194 ACN 1377194A
Authority
CN
China
Prior art keywords
router
data
hardware
interface
transmission
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
CN01112525A
Other languages
Chinese (zh)
Other versions
CN1165141C (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co LtdfiledCriticalHuawei Technologies Co Ltd
Priority to CNB01112525XApriorityCriticalpatent/CN1165141C/en
Publication of CN1377194ApublicationCriticalpatent/CN1377194A/en
Application grantedgrantedCritical
Publication of CN1165141CpublicationCriticalpatent/CN1165141C/en
Anticipated expirationlegal-statusCritical
Expired - Fee Relatedlegal-statusCriticalCurrent

Links

Images

Landscapes

Abstract

Translated fromChinese

一种路由器接口驱动转发过程的控制方法,包括以下步骤:在路由器端口处分别设立存储待处理数据的发送和接收缓冲队列;在硬件闲时由驱动程序将缓冲队列中的数据转发。本发明的方法可使路由器的转发效率提高20%。

Figure 01112525

A method for controlling a forwarding process driven by a router interface, comprising the following steps: respectively setting up sending and receiving buffer queues for storing data to be processed at a router port; and forwarding the data in the buffer queues by a driver program when the hardware is idle. The method of the invention can increase the forwarding efficiency of the router by 20%.

Figure 01112525

Description

The method of interface drive repeating procedure of router
The present invention relates to the driving method of router repeating process, specifically, relate to a kind of method that router interface drives forward efficiency in transmission and the receiving course that improves.
Exchanges data action between the network that router is responsible for being associated as the visual plant of network interconnection process promptly realizes the reception and the transmission of data between network of relation.In the middle of this, router comprises the general processing procedure of data: router receives the data that this network transmits from the port of a network, specifically, receive as the physical layer of interface single plate in the router and processing said data after, processed data are sent to data link layer in the router as packet; This packet of data link layer deals, packet after will handling then is sent to network protocol layer, carry out that described packet is carried out Routing Protocol and handle, find the destination address of this packet, will be recycled to described data link layer again through the as above packet of multistep treatment again; Data link layer is handled again by the packet that can send, and be recycled to it again after handling again and state physical layer, physical layer is as internetwork transmission interface, the data of above-mentioned processing is sent to another network of relation from its port, thereby realizes that data are in internetwork transmission.
Said process can be as shown in Figure 1, and the part among the figure in the dotted line is represented the interface section of router.
As can be seen from Figure 1, the router interface veneer is responsible for the transmission and the reception of data.Interface drives the efficient of the efficient direct relation router forwarding of transmitting.In transmission and receiving course that general interface drives, if it is busy (for example: common serial port module on the general router) to run into hardware, then think retransmission failure, stop the processing of this packet, the termination physical process is: under the transmission situation, if it is busy to run into hardware, return failure then for the upper strata call function, interface sends function and no longer does other processing, stops this transmission.Under reception condition, if it is busy to run into hardware, then abandons this and receive data, receiver function is no longer done other processing, stops this reception.If it is busy to run into hardware in process of transmitting, then resend later on by upper layer software (applications); If it is busy to run into hardware in receiving course, then abandon the packet of this reception.For example, the common serial port module of general router generally comes the hardware in the processing forward process busy according to said process.Though the processing method of this prior art has advantages such as simple, reliable, its distinct disadvantage is that the forward efficiency of this router interface is not high.
The objective of the invention is the improvement made at the shortcoming of general processing method, a kind of method of controlling interface drive repeating procedure of router is provided, the efficient that interface shown in can improving is transmitted.
For achieving the above object, the present invention proposes a kind of method of interface drive repeating procedure of router, may further comprise the steps:
Set up the transmission and the receiving cache queue of the pending data of storage respectively at the router port place;
When hardware is not busy by driver with the data forwarding in the buffer queue.
Wherein, transmission and receiving cache queue are the first in first out buffer queues.
Adopt the method for interface drive repeating procedure of router of the present invention, can or send buffer queue storage data, do not wait that the data of transmitting processing are terminated or abandon and do not make, thereby improve internetwork data forwarding efficient by receiving cache queue.Compare with the data forwarding process of prior art router, adopt the data forwarding efficient of the router of control method of the present invention to improve about 20%.
By specific embodiment the method for interface drive repeating procedure of router of the present invention is described in further detail below in conjunction with accompanying drawing, wherein:
Fig. 1 is the forwarding process figure that the prior art router data connects/sends;
Fig. 2 is the forwarding process figure of a kind of embodiment of explanation interface drive repeating procedure of router control method of the present invention.
Fig. 2 is the forwarding process figure of an embodiment of interface drive repeating procedure of router method of the present invention, may further comprise the steps;
Receiving cache queue is handled and is waited to transmit packet and service data bag sign (S1), simultaneously, whether judge router hardware " hurrying " (S2), and when being judged as " doing ", then deposit this packet to be transmitted in described receiving cache queue (S3), if and judgement hardware " is not in a hurry ", then start hardware forwarding capability (S4), realization makes data deliver to the physical layer of router through receiving cache queue by driver, and pass through data link layer and network protocol layer in the router successively, and reverse path, the transmission buffer queue forwarding data through linking to each other with the router transmit port, be the step S5 shown in Fig. 2, thereby finish repeating process.
Receiving cache queue described in the present embodiment and transmission are received buffer queue and be can be " first in first out priority buffer queue ".Transmission and receiving cache queue are priority queue.For High Density Interface module (promptly on an interface module a plurality of interfaces being arranged), the priority of distinct interface can be different (connecting Very Important Person such as some interface).The priority of different passages can be set by the configuration of routers administrative staff.When running into hardware in the repeating process when busy, correspondence is transmitted the channel number of passage and the priority of this passage deposits formation in as a record.When hardware is not busy, check the first in first out priority queue, at first handle the high passage of level of priority; When priority is identical, handle each passage with equal priority by the principle of first in first out.After certain passage disposes, the record deletion of this channel number correspondence.
The detection whether channel hardware " hurries " is that the mode by communication controler corresponding registers state on the fetch interface module realizes.Before each the forwarding, all must at first read the buffer status of corresponding communication controler, if state is " spare time ", then directly starts and transmit; If state is " hurrying ", then the method for describing according to this patent deposits respective channel in the first in first out priority queue, waits pending.
Therefore the difference of method of the present invention and prior art processing method is: prior art Processing method be to run into the hardware busy to stop this transmission or reception ﹠ disposal, be judged as this time transmission Or take defeat, and processing method of the present invention is when running into hardware and " hurrying ", does not stop this time Send or reception ﹠ disposal, but the data of processing to be sent or to be received are put into the team that arranges respectively In the row,, data are sent or the receiving course processing by interface driver software again when " spare time " at hardware Complete.
Consider the busy just temporary transient phenomenon of hardware, in the sending and receiving process, if run into Hardware is busy, and is not equal to the sending and receiving failure. Set up respectively if pending data are put into Receiving cache queue and transmission buffer queue are transmitted described buffering by driver again in the hardware idle Data in the formation. So that so mode can be correct with running into the busy data of hardware in the repeating process Ground is transmitted, avoided process of transmitting at the middle and upper levels software repeating transmission and in receiving course, abandon number According to bag.

Claims (5)

1. the method for an interface drive repeating procedure of router may further comprise the steps:
Set up the transmission and the receiving cache queue of the pending data of storage respectively at the router port place;
When hardware is not busy by driver with the data forwarding in the buffer queue.
2. by the described method of claim 1, it is characterized in that described transmission and receiving cache queue are the High Density Interface modules that a plurality of interfaces are arranged.
3. by the described method of claim 2, it is characterized in that a plurality of interfaces have different priority.
4. in accordance with the method for claim 3, it is characterized in that described transmission buffer queue and receiving cache queue are first in first out priority buffer queues.
5. by the described method of claim 4, it is characterized in that when priority is identical, according to the principle processing signals of first in first out.
CNB01112525XA2001-03-272001-03-27 Method for Router Interface Driving Data Forwarding ProcessExpired - Fee RelatedCN1165141C (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CNB01112525XACN1165141C (en)2001-03-272001-03-27 Method for Router Interface Driving Data Forwarding Process

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CNB01112525XACN1165141C (en)2001-03-272001-03-27 Method for Router Interface Driving Data Forwarding Process

Publications (2)

Publication NumberPublication Date
CN1377194Atrue CN1377194A (en)2002-10-30
CN1165141C CN1165141C (en)2004-09-01

Family

ID=4659307

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CNB01112525XAExpired - Fee RelatedCN1165141C (en)2001-03-272001-03-27 Method for Router Interface Driving Data Forwarding Process

Country Status (1)

CountryLink
CN (1)CN1165141C (en)

Cited By (24)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1960324B (en)*2005-11-022010-07-21盛科网络(苏州)有限公司Network switchboard using loop for completing tunnel packing and de-packing treatment and method thereof
US8539119B2 (en)2004-11-242013-09-17Qualcomm IncorporatedMethods and apparatus for exchanging messages having a digital data interface device message format
US8606946B2 (en)2003-11-122013-12-10Qualcomm IncorporatedMethod, system and computer program for driving a data signal in data interface communication data link
US8611215B2 (en)2005-11-232013-12-17Qualcomm IncorporatedSystems and methods for digital data transmission rate control
US8625625B2 (en)2004-03-102014-01-07Qualcomm IncorporatedHigh data rate interface apparatus and method
US8630305B2 (en)2004-06-042014-01-14Qualcomm IncorporatedHigh data rate interface apparatus and method
US8635358B2 (en)2003-09-102014-01-21Qualcomm IncorporatedHigh data rate interface
US8645566B2 (en)2004-03-242014-02-04Qualcomm IncorporatedHigh data rate interface apparatus and method
US8650304B2 (en)2004-06-042014-02-11Qualcomm IncorporatedDetermining a pre skew and post skew calibration data rate in a mobile display digital interface (MDDI) communication system
US8667363B2 (en)2004-11-242014-03-04Qualcomm IncorporatedSystems and methods for implementing cyclic redundancy checks
US8670457B2 (en)2003-12-082014-03-11Qualcomm IncorporatedHigh data rate interface with improved link synchronization
US8681817B2 (en)2003-06-022014-03-25Qualcomm IncorporatedGenerating and implementing a signal protocol and interface for higher data rates
US8687658B2 (en)2003-11-252014-04-01Qualcomm IncorporatedHigh data rate interface with improved link synchronization
US8692839B2 (en)2005-11-232014-04-08Qualcomm IncorporatedMethods and systems for updating a buffer
US8694663B2 (en)2001-09-062014-04-08Qualcomm IncorporatedSystem for transferring digital data at a high rate between a host and a client over a communication path for presentation to a user
US8694652B2 (en)2003-10-152014-04-08Qualcomm IncorporatedMethod, system and computer program for adding a field to a client capability packet sent from a client to a host
US8692838B2 (en)2004-11-242014-04-08Qualcomm IncorporatedMethods and systems for updating a buffer
US8705571B2 (en)2003-08-132014-04-22Qualcomm IncorporatedSignal interface for higher data rates
US8705521B2 (en)2004-03-172014-04-22Qualcomm IncorporatedHigh data rate interface apparatus and method
US8723705B2 (en)2004-11-242014-05-13Qualcomm IncorporatedLow output skew double data rate serial encoder
US8730069B2 (en)2005-11-232014-05-20Qualcomm IncorporatedDouble data rate serial encoder
US8745251B2 (en)2000-12-152014-06-03Qualcomm IncorporatedPower reduction system for an apparatus for high data rate signal transfer using a communication protocol
US8756294B2 (en)2003-10-292014-06-17Qualcomm IncorporatedHigh data rate interface
US8873584B2 (en)2004-11-242014-10-28Qualcomm IncorporatedDigital data interface device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN100343812C (en)*2005-03-252007-10-17上海高智软件系统有限公司Method for raising processing speed of interface system of attaching position register

Cited By (32)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US8745251B2 (en)2000-12-152014-06-03Qualcomm IncorporatedPower reduction system for an apparatus for high data rate signal transfer using a communication protocol
US8812706B1 (en)2001-09-062014-08-19Qualcomm IncorporatedMethod and apparatus for compensating for mismatched delays in signals of a mobile display interface (MDDI) system
US8694663B2 (en)2001-09-062014-04-08Qualcomm IncorporatedSystem for transferring digital data at a high rate between a host and a client over a communication path for presentation to a user
US8681817B2 (en)2003-06-022014-03-25Qualcomm IncorporatedGenerating and implementing a signal protocol and interface for higher data rates
US8705579B2 (en)2003-06-022014-04-22Qualcomm IncorporatedGenerating and implementing a signal protocol and interface for higher data rates
US8700744B2 (en)2003-06-022014-04-15Qualcomm IncorporatedGenerating and implementing a signal protocol and interface for higher data rates
US8705571B2 (en)2003-08-132014-04-22Qualcomm IncorporatedSignal interface for higher data rates
US8719334B2 (en)2003-09-102014-05-06Qualcomm IncorporatedHigh data rate interface
US8635358B2 (en)2003-09-102014-01-21Qualcomm IncorporatedHigh data rate interface
US8694652B2 (en)2003-10-152014-04-08Qualcomm IncorporatedMethod, system and computer program for adding a field to a client capability packet sent from a client to a host
US8756294B2 (en)2003-10-292014-06-17Qualcomm IncorporatedHigh data rate interface
US8606946B2 (en)2003-11-122013-12-10Qualcomm IncorporatedMethod, system and computer program for driving a data signal in data interface communication data link
US8687658B2 (en)2003-11-252014-04-01Qualcomm IncorporatedHigh data rate interface with improved link synchronization
US8670457B2 (en)2003-12-082014-03-11Qualcomm IncorporatedHigh data rate interface with improved link synchronization
US8669988B2 (en)2004-03-102014-03-11Qualcomm IncorporatedHigh data rate interface apparatus and method
US8730913B2 (en)2004-03-102014-05-20Qualcomm IncorporatedHigh data rate interface apparatus and method
US8625625B2 (en)2004-03-102014-01-07Qualcomm IncorporatedHigh data rate interface apparatus and method
US8705521B2 (en)2004-03-172014-04-22Qualcomm IncorporatedHigh data rate interface apparatus and method
US8645566B2 (en)2004-03-242014-02-04Qualcomm IncorporatedHigh data rate interface apparatus and method
US8630318B2 (en)2004-06-042014-01-14Qualcomm IncorporatedHigh data rate interface apparatus and method
US8650304B2 (en)2004-06-042014-02-11Qualcomm IncorporatedDetermining a pre skew and post skew calibration data rate in a mobile display digital interface (MDDI) communication system
US8630305B2 (en)2004-06-042014-01-14Qualcomm IncorporatedHigh data rate interface apparatus and method
US8699330B2 (en)2004-11-242014-04-15Qualcomm IncorporatedSystems and methods for digital data transmission rate control
US8723705B2 (en)2004-11-242014-05-13Qualcomm IncorporatedLow output skew double data rate serial encoder
US8692838B2 (en)2004-11-242014-04-08Qualcomm IncorporatedMethods and systems for updating a buffer
US8667363B2 (en)2004-11-242014-03-04Qualcomm IncorporatedSystems and methods for implementing cyclic redundancy checks
US8539119B2 (en)2004-11-242013-09-17Qualcomm IncorporatedMethods and apparatus for exchanging messages having a digital data interface device message format
US8873584B2 (en)2004-11-242014-10-28Qualcomm IncorporatedDigital data interface device
CN1960324B (en)*2005-11-022010-07-21盛科网络(苏州)有限公司Network switchboard using loop for completing tunnel packing and de-packing treatment and method thereof
US8611215B2 (en)2005-11-232013-12-17Qualcomm IncorporatedSystems and methods for digital data transmission rate control
US8730069B2 (en)2005-11-232014-05-20Qualcomm IncorporatedDouble data rate serial encoder
US8692839B2 (en)2005-11-232014-04-08Qualcomm IncorporatedMethods and systems for updating a buffer

Also Published As

Publication numberPublication date
CN1165141C (en)2004-09-01

Similar Documents

PublicationPublication DateTitle
CN1377194A (en)Method for interface drive repeating procedure of router
US5546379A (en)Bandwidth-on-demand remote office network apparatus and method
CN101159747B (en)TCP concurrency multilink based communication system and method therefor
EP1180883B1 (en)Distributed source learning for data communication switch
CN1151639C (en)Networking systems
CN1093210A (en) Information Flow Control System of Packet Switch
EP0279443A2 (en)Header driven packet switching system and method
CN1099788C (en)LAN switch architecture
CN1913486A (en)Method and device for strengthening safety of protocol message
CN1267419A (en)Flow control in telecommunications network
CN1143591C (en) Handling of Asynchronous Transfer Mode Multicast Cells
CN1422473B (en)Method for defining and controlling the overall behaviour of a network processor device
JPH0879306A (en) Flow controller for computer interconnection
JP3664109B2 (en) Audio channel selection system and selection method thereof
CN103347077A (en)Method and device for data transmission of distributed file system
JP2525550B2 (en) Prioritization method
CN1264234A (en)Priority enhanced information transfer device and its method
CN1082299C (en) Routing reselection method for packet mode data connection
CN1929435A (en) Packet transmission device and method
CN1547843A (en)Automatic call distribution with computer telephony interface enablement
CN1444358A (en) Ethernet switch controller and its congestion control method
CN1147094C (en)Message receiving and transmitting method of combined bridge connection function and routing function
CN1351792A (en)Intelligent, high-speed switching matrix
CN1425254A (en)Implementation of additional functions for user port with individually configured per formance criteria
CN101237406B (en)A realization method for D channel link access regulation

Legal Events

DateCodeTitleDescription
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant
C17Cessation of patent right
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20040901

Termination date:20110327


[8]ページ先頭

©2009-2025 Movatter.jp