CN1377194A - Method for interface drive repeating procedure of router - Google Patents
Method for interface drive repeating procedure of router Download PDFInfo
- Publication number
- CN1377194A CN1377194A CN01112525A CN01112525A CN1377194A CN 1377194 A CN1377194 A CN 1377194A CN 01112525 A CN01112525 A CN 01112525A CN 01112525 A CN01112525 A CN 01112525A CN 1377194 A CN1377194 A CN 1377194A
- Authority
- CN
- China
- Prior art keywords
- router
- data
- interface
- hardware
- 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
Links
Images
Abstract
A method for controlling the transmitting procedure driven by an interface of a router includes following steps: receiving buffered queues for storing data to be treated are set up at ports of the router respectively, the data in the buffered queues are transmitted by a driven program when the hardware is in idle state. The invented method makes the transmitting efficiency of the router increase 20%.
Description
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.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB01112525XA CN1165141C (en) | 2001-03-27 | 2001-03-27 | Method for interface drive repeating procedure of router |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB01112525XA CN1165141C (en) | 2001-03-27 | 2001-03-27 | Method for interface drive repeating procedure of router |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1377194A true CN1377194A (en) | 2002-10-30 |
CN1165141C CN1165141C (en) | 2004-09-01 |
Family
ID=4659307
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB01112525XA Expired - Fee Related CN1165141C (en) | 2001-03-27 | 2001-03-27 | Method for interface drive repeating procedure of router |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1165141C (en) |
Cited By (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1960324B (en) * | 2005-11-02 | 2010-07-21 | 盛科网络(苏州)有限公司 | Network switchboard using loop for completing tunnel packing and de-packing treatment and method thereof |
US8539119B2 (en) | 2004-11-24 | 2013-09-17 | Qualcomm Incorporated | Methods and apparatus for exchanging messages having a digital data interface device message format |
US8606946B2 (en) | 2003-11-12 | 2013-12-10 | Qualcomm Incorporated | Method, system and computer program for driving a data signal in data interface communication data link |
US8611215B2 (en) | 2005-11-23 | 2013-12-17 | Qualcomm Incorporated | Systems and methods for digital data transmission rate control |
US8625625B2 (en) | 2004-03-10 | 2014-01-07 | Qualcomm Incorporated | High data rate interface apparatus and method |
US8630305B2 (en) | 2004-06-04 | 2014-01-14 | Qualcomm Incorporated | High data rate interface apparatus and method |
US8635358B2 (en) | 2003-09-10 | 2014-01-21 | Qualcomm Incorporated | High data rate interface |
US8645566B2 (en) | 2004-03-24 | 2014-02-04 | Qualcomm Incorporated | High data rate interface apparatus and method |
US8650304B2 (en) | 2004-06-04 | 2014-02-11 | Qualcomm Incorporated | Determining a pre skew and post skew calibration data rate in a mobile display digital interface (MDDI) communication system |
US8667363B2 (en) | 2004-11-24 | 2014-03-04 | Qualcomm Incorporated | Systems and methods for implementing cyclic redundancy checks |
US8670457B2 (en) | 2003-12-08 | 2014-03-11 | Qualcomm Incorporated | High data rate interface with improved link synchronization |
US8681817B2 (en) | 2003-06-02 | 2014-03-25 | Qualcomm Incorporated | Generating and implementing a signal protocol and interface for higher data rates |
US8687658B2 (en) | 2003-11-25 | 2014-04-01 | Qualcomm Incorporated | High data rate interface with improved link synchronization |
US8694652B2 (en) | 2003-10-15 | 2014-04-08 | Qualcomm Incorporated | Method, system and computer program for adding a field to a client capability packet sent from a client to a host |
US8694663B2 (en) | 2001-09-06 | 2014-04-08 | Qualcomm Incorporated | System for transferring digital data at a high rate between a host and a client over a communication path for presentation to a user |
US8692838B2 (en) | 2004-11-24 | 2014-04-08 | Qualcomm Incorporated | Methods and systems for updating a buffer |
US8692839B2 (en) | 2005-11-23 | 2014-04-08 | Qualcomm Incorporated | Methods and systems for updating a buffer |
US8705521B2 (en) | 2004-03-17 | 2014-04-22 | Qualcomm Incorporated | High data rate interface apparatus and method |
US8705571B2 (en) | 2003-08-13 | 2014-04-22 | Qualcomm Incorporated | Signal interface for higher data rates |
US8723705B2 (en) | 2004-11-24 | 2014-05-13 | Qualcomm Incorporated | Low output skew double data rate serial encoder |
US8730069B2 (en) | 2005-11-23 | 2014-05-20 | Qualcomm Incorporated | Double data rate serial encoder |
US8745251B2 (en) | 2000-12-15 | 2014-06-03 | Qualcomm Incorporated | Power reduction system for an apparatus for high data rate signal transfer using a communication protocol |
US8756294B2 (en) | 2003-10-29 | 2014-06-17 | Qualcomm Incorporated | High data rate interface |
US8873584B2 (en) | 2004-11-24 | 2014-10-28 | Qualcomm Incorporated | Digital data interface device |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100343812C (en) * | 2005-03-25 | 2007-10-17 | 上海高智软件系统有限公司 | Method for raising processing speed of interface system of attaching position register |
-
2001
- 2001-03-27 CN CNB01112525XA patent/CN1165141C/en not_active Expired - Fee Related
Cited By (32)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8745251B2 (en) | 2000-12-15 | 2014-06-03 | Qualcomm Incorporated | Power reduction system for an apparatus for high data rate signal transfer using a communication protocol |
US8812706B1 (en) | 2001-09-06 | 2014-08-19 | Qualcomm Incorporated | Method and apparatus for compensating for mismatched delays in signals of a mobile display interface (MDDI) system |
US8694663B2 (en) | 2001-09-06 | 2014-04-08 | Qualcomm Incorporated | System 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-02 | 2014-03-25 | Qualcomm Incorporated | Generating and implementing a signal protocol and interface for higher data rates |
US8705579B2 (en) | 2003-06-02 | 2014-04-22 | Qualcomm Incorporated | Generating and implementing a signal protocol and interface for higher data rates |
US8700744B2 (en) | 2003-06-02 | 2014-04-15 | Qualcomm Incorporated | Generating and implementing a signal protocol and interface for higher data rates |
US8705571B2 (en) | 2003-08-13 | 2014-04-22 | Qualcomm Incorporated | Signal interface for higher data rates |
US8719334B2 (en) | 2003-09-10 | 2014-05-06 | Qualcomm Incorporated | High data rate interface |
US8635358B2 (en) | 2003-09-10 | 2014-01-21 | Qualcomm Incorporated | High data rate interface |
US8694652B2 (en) | 2003-10-15 | 2014-04-08 | Qualcomm Incorporated | Method, system and computer program for adding a field to a client capability packet sent from a client to a host |
US8756294B2 (en) | 2003-10-29 | 2014-06-17 | Qualcomm Incorporated | High data rate interface |
US8606946B2 (en) | 2003-11-12 | 2013-12-10 | Qualcomm Incorporated | Method, system and computer program for driving a data signal in data interface communication data link |
US8687658B2 (en) | 2003-11-25 | 2014-04-01 | Qualcomm Incorporated | High data rate interface with improved link synchronization |
US8670457B2 (en) | 2003-12-08 | 2014-03-11 | Qualcomm Incorporated | High data rate interface with improved link synchronization |
US8669988B2 (en) | 2004-03-10 | 2014-03-11 | Qualcomm Incorporated | High data rate interface apparatus and method |
US8625625B2 (en) | 2004-03-10 | 2014-01-07 | Qualcomm Incorporated | High data rate interface apparatus and method |
US8730913B2 (en) | 2004-03-10 | 2014-05-20 | Qualcomm Incorporated | High data rate interface apparatus and method |
US8705521B2 (en) | 2004-03-17 | 2014-04-22 | Qualcomm Incorporated | High data rate interface apparatus and method |
US8645566B2 (en) | 2004-03-24 | 2014-02-04 | Qualcomm Incorporated | High data rate interface apparatus and method |
US8630318B2 (en) | 2004-06-04 | 2014-01-14 | Qualcomm Incorporated | High data rate interface apparatus and method |
US8650304B2 (en) | 2004-06-04 | 2014-02-11 | Qualcomm Incorporated | Determining a pre skew and post skew calibration data rate in a mobile display digital interface (MDDI) communication system |
US8630305B2 (en) | 2004-06-04 | 2014-01-14 | Qualcomm Incorporated | High data rate interface apparatus and method |
US8699330B2 (en) | 2004-11-24 | 2014-04-15 | Qualcomm Incorporated | Systems and methods for digital data transmission rate control |
US8723705B2 (en) | 2004-11-24 | 2014-05-13 | Qualcomm Incorporated | Low output skew double data rate serial encoder |
US8692838B2 (en) | 2004-11-24 | 2014-04-08 | Qualcomm Incorporated | Methods and systems for updating a buffer |
US8667363B2 (en) | 2004-11-24 | 2014-03-04 | Qualcomm Incorporated | Systems and methods for implementing cyclic redundancy checks |
US8539119B2 (en) | 2004-11-24 | 2013-09-17 | Qualcomm Incorporated | Methods and apparatus for exchanging messages having a digital data interface device message format |
US8873584B2 (en) | 2004-11-24 | 2014-10-28 | Qualcomm Incorporated | Digital data interface device |
CN1960324B (en) * | 2005-11-02 | 2010-07-21 | 盛科网络(苏州)有限公司 | Network switchboard using loop for completing tunnel packing and de-packing treatment and method thereof |
US8611215B2 (en) | 2005-11-23 | 2013-12-17 | Qualcomm Incorporated | Systems and methods for digital data transmission rate control |
US8730069B2 (en) | 2005-11-23 | 2014-05-20 | Qualcomm Incorporated | Double data rate serial encoder |
US8692839B2 (en) | 2005-11-23 | 2014-04-08 | Qualcomm Incorporated | Methods and systems for updating a buffer |
Also Published As
Publication number | Publication date |
---|---|
CN1165141C (en) | 2004-09-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1165141C (en) | Method for interface drive repeating procedure of router | |
US5631897A (en) | Apparatus and method for incorporating a large number of destinations over circuit-switched wide area network connections | |
CN1125545C (en) | Data forwarding method for implementing virtual channel transmission in LAN | |
CN1050250C (en) | Flow control system for packet switches | |
CN1205789C (en) | Method and apparatus for providing integrated routing for PSTN and IPNT calls in call center | |
EP0466696A1 (en) | A technique for dynamically changing an isdn connection during a host session | |
CN1099788C (en) | LAN switch architecture | |
CN1378368A (en) | Net gate system and fault management method | |
CN101159747A (en) | TCP concurrency multilink based communication system and method therefor | |
JPS63204842A (en) | Header drive packet exchanger | |
JP3807614B2 (en) | Packet order control method in multilink communication system | |
CN1422473A (en) | Method for defining and controlling the overall behavior of a network processor device | |
JPH0879306A (en) | Flow control device for computer interconnection | |
JP2003018624A (en) | Selection system and method of voice channel | |
CN1046387C (en) | A uniswitch | |
CN1929435A (en) | Packet transfer device and method | |
CN1694435A (en) | Frame-to-cell traffic scheduling | |
CN1284386C (en) | System and method of routing | |
CN103347077A (en) | Method and device for data transmission of distributed file system | |
CN1897590A (en) | Message transmitting method and device based on DUA protocol | |
CN1351792A (en) | Intelligent, high-speed switching matrix | |
CN1411212A (en) | Message receiving and transmitting method of combined bridge connection function and routing function | |
CN101237406B (en) | A realization method for D channel link access regulation | |
CN1658592A (en) | Method for concatenating network exchange chip and correlation device | |
CN1087582C (en) | Time switch system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
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 | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20040901 Termination date: 20110327 |