CN1215869A - Network interface card capable of decreasing interuption frequency and method therefor - Google Patents

Network interface card capable of decreasing interuption frequency and method therefor Download PDF

Info

Publication number
CN1215869A
CN1215869A CN 97121232 CN97121232A CN1215869A CN 1215869 A CN1215869 A CN 1215869A CN 97121232 CN97121232 CN 97121232 CN 97121232 A CN97121232 A CN 97121232A CN 1215869 A CN1215869 A CN 1215869A
Authority
CN
China
Prior art keywords
information
packets
interface card
networking interface
logic circuit
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.)
Pending
Application number
CN 97121232
Other languages
Chinese (zh)
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.)
D Link Corp
Original Assignee
D Link Corp
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 D Link Corp filed Critical D Link Corp
Priority to CN 97121232 priority Critical patent/CN1215869A/en
Publication of CN1215869A publication Critical patent/CN1215869A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A network interface card able to decrease the interruption frequency features that it has an additional packet gap time counter to count the time gap between packets. If it is less than predefined gap time Tg, the packets look as back by back ones and the interruption is not immediately generated and after the packet counter reaches a certain value, an interruption signal to CPU is generated. If it is greater than Tg, an interruption signal is immediately generated. It can increase the speed and efficiency of network to process data.

Description

Can reduce the networking interface card and the method thereof of interruption times
The present invention relates to a kind of networking interface card and method thereof that can reduce interruption times, specifically, relate to a kind of like this networking interface card, this interface card is when receiving a succession of back-to-back (back toback) packets of information, do not send look-at-me immediately, but after these back-to-back packets of information are accumulated to some, the disposable computer CPU (central processing unit) is produced interrupted, make intact pulse (burst) packets of information of forming by a succession of back-to-back packets of information of CPU (central processing unit) single treatment, with the interruption times of effective reduction computer CPU (central processing unit), improve the treatment efficiency of computer CPU (central processing unit) and network system.
The framed structure of general Ethernet packets of information as shown in Figure 1, its preceding 8 bit groups are preamble (preamble) and the initial hurdle of framework (SFD), then 12 bit groups are purpose address and initial address field, then being the data kenel or the length field of two bit groups again, is thereafter that data segments and message segment detect sequence (CRC).
In traditional network system, as shown in Figure 2, its networking interface card 11 mainly comprises network controller 112 and data converter 111 unit such as (transceiver).The networking data transmission principle of this networking interface card 11 is, receives the packets of information that transmission lines 10 transmit by data converter 111, and delivers to network controller 112 after converting the packet data that is received to appropriate format by data converter 111.Network controller 112 mainly comprises networking logic glue 113 (network interface logic), outage threshold control logic circuit 114 (interruptthresho1d control logic), data buffer 115 (buffer memory) and main system logic glue 116 unit such as (host system interface logic).The outage threshold control logic circuit 114 of network controller 112 checks earlier whether the packets of information purpose address that is transmitted by data converter 111 conforms to the address of oneself, if do not conform to, then controller 112 is no longer handled follow-up data; If meet, then network controller 112 is by the control of networking logic glue 113, this packet data is deposited in the data buffer 115 in regular turn (or be stored in the buffer area 122 of main frame 12 through the wafer set 121 of host computer 12), after treating that packet data deposits data buffer 115 (or buffer area 122 of host computer 12) fully in, whether the message segment of outage threshold control logic circuit 114 fox message bags detects sequence (CRC) correct, if it is correct, then a normal information bag has been taken in expression, outage threshold control logic circuit 114 sends look-at-me, handles this packet data by the central processing unit 123 of main system logic glue 116 notice main frames 12.
The look-at-me of this traditional network system is just to be sent by network controller 112 when whole packets of information enters the buffer of system, promptly after receiving fully, just produce look-at-me a normal packets of information, A point as shown in FIG., the central processing unit 123 of notice main frame 12 reads this packet data.Hence one can see that, in traditional network system, networking interface card 11 every reception one packets of information, just must send a look-at-me, the central processing unit 123 of notice main frame 12 is handled this packets of information, and, generally all exist a period of time to postpone Δ t from sending look-at-me during the central processing unit 123 beginning deal with data.
Especially it should be noted that, the transmission speed of computer network is more and more faster now, with the high speed Ethernet is example, and the fastest per second that reaches of its packets of information transmission speed transmits 148,800 packets of information (the packets of information number that the Ethernet per second of Giganit transmits more decuples this).In addition, in new networking operating system, for improving networking efficient, system can cut into the huge networking packets of information of quantity with a large number of data by the command net interface card, transmits thick and fast one by one, is referred to as the pulse information bag in the present invention.If all sending a look-at-me to the central processing unit of host computer when receiving each packets of information, the networking interface card interrupts to produce, and suppose that central processing unit need expend for 10 microsecond times again to each look-at-me that is received and handle, so, central processing unit is when the huge packets of information that reception networking interface card per second transmits, at least in addition need expend about 1.5 second time handling interrupt signal, so this traditional networking interface card can't effectively improve the treatment efficiency of CPU (central processing unit) in new networking operation.Hence one can see that, and how effectively to reduce the networking interface card host computer is produced the number of times that interrupts, be an important topic that promotes networking usefulness.
Because the interruption times that derived in design of aforementioned conventional network system is frequent and problem such as time delay, the inventor is that a kind of networking interface card and method thereof that can reduce interruption times invented out in research, its purpose is to utilize and adds a packets of information gap timer (Infer-Frame Gap Timer) on the interface card of networking, with the interval time of computing information bag and inter packet, when this interval time during less than predetermined gap width Tg, it is considered as back-to-back (back to back) packets of information, and the networking interface card is when receiving back-to-back packets of information, do not produce immediately and interrupt, but calculate these back-to-back packets of information to some by a back-to-back packet counter accumulation, ability is disposable sends look-at-me to the computer CPU (central processing unit), wherein gap width Tg and must the accumulation the packets of information number, the custodian is set by network system.Before not reaching the accumulation number that sets, if the packets of information gap value that the networking interface card is received is greater than Tg, then represent the pulse information end-of-packet formed by a succession of back-to-back packets of information, at this moment, the networking interface card sends look-at-me to the computer CPU (central processing unit), produce and interrupt, make the CPU (central processing unit) single treatment finish these pulse information bags, with effective shortening because of time delay that look-at-me was caused, alleviate the burden of computer expansion slot and CPU (central processing unit), significantly promote the speed and the usefulness of network system data processing.
Fig. 1 is the framed structure synoptic diagram of Ethernet packets of information;
Fig. 2 is the hardware structure block schematic diagram of traditional network system;
Fig. 3 is the synoptic diagram of traditional network system time delay situation during look-at-me is issued to central processing unit to carry out data processing;
Fig. 4 is a hardware structure block schematic diagram of the present invention;
Fig. 5 is a flow process operation synoptic diagram of the present invention.
The present invention proposes a kind of networking interface card structure and method thereof that can reduce the interruption number of times, and is main If make the networking interface card when receiving a succession of continuous information bag that is transmitted by transmission line, can count Calculate the blanking time between the neighbor information bag, when this blanking time less than a predetermined gap width Tg The time, these packets of information are considered as back-to-back packets of information, still, receiving these back-to-back information During bag, do not produce immediately and interrupt, but it is pre-to calculate these back-to-back packets of information in accumulation After the determined number, ability is disposable sends interrupt signal to the computer CPU, produces and interrupts; Before not reaching the accumulation number that sets, if the interval of the packets of information that the networking interface card receives Time then represents the pulse information inclusion that is made up of a succession of back-to-back packets of information greater than Tg Bundle, at this moment, the networking interface card sends interrupt signal to the computer CPU, produce to interrupt, With complete these pulse information bags of single treatment, thus can effectively shorten because of interrupt signal cause the time Between postpone, alleviate the burden of computer expansion slot and CPU, and significantly promote networking system Speed and usefulness that the system data are processed.
According to above-mentioned design concept, the present invention is directed to the outage threshold control logic circuit 114 of traditional networking shown in Figure 2 interface card, set unit such as a packets of information gap timer 21, a packets of information gap working storage 22, one back-to-back packet counter 23, a packets of information quantity working storage 24, a timing comparer 25 and a count comparator 26, as shown in Figure 4.When the data converter 111 of networking interface card 11 receives the packets of information that is transmitted by transmission line 10, and after converting appropriate format to, the outage threshold control logic circuit 114 of network controller 112 will check whether the purpose address of the packets of information that is transmitted by data converter 111 conforms to the address of oneself, if do not conform to, then controller 112 is no longer handled follow-up data; If meet, then network controller 112 is by the control of networking logic glue 113, this packet data is deposited to data buffer 115 in regular turn (or after the wafer set 121 of host computer 12, be stored in the buffer area 122 of main frame 12), after treating that this packet data deposits data buffer 115 (or buffer area 122 of main frame 12) fully in, outage threshold control logic circuit 114 checks whether the message segment of this packets of information detects sequence (FCS) correct, if it is correct, then a normal information bag has been taken in expression, simultaneously, outage threshold control logic circuit 114 will as shown in Figure 5, judge whether to send look-at-me according to the following step:
1, log-on message Inter-packet gap timer 21 calculates the interval time between these packets of information and the adjacent last packets of information, and utilizes timing comparer 25 that it is compared with the gap width Tg that set by user or system management people in the packets of information gap working storage 22;
2, if this interval time less than the gap width Tg that sets, then this packets of information is considered as a back-to-back packets of information, and calculate the quantity of back-to-back packets of information by 23 accumulations of back-to-back packet counter, by count comparator 26 it is compared with the quantitative value Np that set by user or system management people in the packets of information quantity working storage 24 again; Otherwise, carry out the action of step 5;
3, if the packets of information number of being accumulated does not reach the quantitative value Np that sets, then the networking interface card does not produce immediately and interrupts, but continues to receive the follow-up packets of information that transmits, and repeats aforementioned activities;
4 otherwise, if the packets of information number of being accumulated reaches the quantitative value Np that sets, then the networking interface card begins to control outage threshold control logic circuit 114, makes it disposablely send a look-at-me to CPU (central processing unit) 123, produces and interrupts;
5, if the interval time of the packets of information that received of networking interface card greater than gap width Tg, represent that then the pulse information bag of being made up of a succession of back-to-back packets of information finishes, at this moment, networking interface card control outage threshold control logic circuit 114, make it send a look-at-me to the computer CPU (central processing unit), produce and interrupt, by intact these pulse information bags that are temporary in the data buffer 115 (or buffer area 122 of main frame 12) of computer CPU (central processing unit) single treatment.
Therefore, networking of the present invention interface card and method thereof, really the number of times that can borrow minimizing to send look-at-me shortens the time delay that causes because of look-at-me, has effectively alleviated the burden of computer expansion slot and CPU (central processing unit), and has significantly improved the speed and the usefulness of network system data processing.
The above only is preferred embodiment of the present invention, and interest field of the present invention is not limited thereto, and allly is familiar with this technology personage, according to the disclosed technology contents of the present invention, can expect easily that equivalence changes, and this all should belong to protection category of the present invention.

Claims (6)

1. networking communication means that can reduce interruption times, it is characterized in that comprising: make the networking interface card when receiving a succession of continuous information bag that transmits by transmission line, calculate the interval time between the neighbor information bag, when this interval time during less than a predetermined gap width, these packets of information are considered as back-to-back packets of information, but, when receiving these back-to-back packets of information, do not produce immediately and interrupt, but after these back-to-back packets of information to predetermined quantities are calculated in accumulation, ability is disposable sends look-at-me to the computer CPU (central processing unit), produces and interrupts; Before not reaching the accumulation number that sets, if the interval time of the packets of information that the networking interface card is received is greater than this predetermined gap width, then represent the pulse information end-of-packet formed by a succession of back-to-back packets of information, at this moment, the networking interface card sends look-at-me to the computer CPU (central processing unit), produce and interrupt, with intact these pulse information bags of single treatment.
2, a kind of networking interface card that can reduce interruption times is characterized in that comprising:
One outage threshold control logic circuit is received the packets of information that is transmitted by a transmission line at the networking interface card, and this packet data is deposited in regular turn to a data buffer, checks whether this packets of information is a normal information bag;
One information gap timer, when receiving a normal information bag, described outage threshold control logic circuit is activated, to calculate the interval time between the neighbor information bag, and utilize a comparer that it is compared with the gap width set by user or system management people in the working storage, if less than this gap width that sets, then this packets of information is considered as a back-to-back packets of information this interval time; Otherwise the pulse information bag that expression is made up of back-to-back packets of information finishes, and controls described outage threshold control logic circuit the computer CPU (central processing unit) is sent a look-at-me, finishes these packets of information that are temporary in the described data buffer with single treatment:
One back-to-back information counter, calculate the quantity of described back-to-back packets of information in order to accumulation, and it is compared with the quantitative value that set by user or system management people in another working storage by another comparer, if the packets of information number of being accumulated does not reach this quantitative value, then the networking interface card does not produce immediately and interrupts, and continues to receive the packets of information that transmits; Otherwise, if the packets of information number of being accumulated reaches this quantitative value, then control described outage threshold control logic circuit CPU (central processing unit) is sent a look-at-me, produce and interrupt, with intact these packets of information that are temporary in the described data buffer of single treatment.
3, a kind of networking interface card that can reduce interruption times as claimed in claim 2, it is characterized in that, after described outage threshold control logic circuit is received the packets of information that is transmitted by a transmission line at the networking interface card, whether the purpose address of checking this packets of information conforms to the address of oneself, if do not conform to, then described networking interface card is no longer handled follow-up data.
4, a kind of networking interface card that can reduce interruption times as claimed in claim 2, it is characterized in that, after described outage threshold control logic circuit is received the packets of information that is transmitted by a transmission line at the networking interface card, whether the purpose address of checking this packets of information conforms to the address of oneself, if meet, then described networking interface card is deposited this packet data to a data buffer of networking interface card in regular turn, after treating that packet data deposits this data buffer fully in, described outage threshold control logic circuit checks whether the message segment of this packets of information detects sequence correct, if correct, then a normal information bag has been received in expression.
5, a kind of networking interface card that can reduce interruption times as claimed in claim 2, it is characterized in that, after described outage threshold control logic circuit is received the packets of information that is transmitted by a transmission line at the networking interface card, whether the purpose address of checking this packets of information conforms to the address of oneself, if meet, then described networking interface card is by the control of a networking logic glue, this packet data is deposited in regular turn to a data buffer of host computer, after treating that packet data deposits this data buffer fully in, described outage threshold control logic circuit checks whether the message segment of this packets of information detects sequence correct, if correct, then a normal information bag has been received in expression.
6, a kind of networking interface card that can reduce interruption times as claimed in claim 5 is characterized in that, described data buffer is a buffer area of host computer.
CN 97121232 1997-10-23 1997-10-23 Network interface card capable of decreasing interuption frequency and method therefor Pending CN1215869A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 97121232 CN1215869A (en) 1997-10-23 1997-10-23 Network interface card capable of decreasing interuption frequency and method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 97121232 CN1215869A (en) 1997-10-23 1997-10-23 Network interface card capable of decreasing interuption frequency and method therefor

Publications (1)

Publication Number Publication Date
CN1215869A true CN1215869A (en) 1999-05-05

Family

ID=5176230

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 97121232 Pending CN1215869A (en) 1997-10-23 1997-10-23 Network interface card capable of decreasing interuption frequency and method therefor

Country Status (1)

Country Link
CN (1) CN1215869A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1312600C (en) * 2003-07-09 2007-04-25 明基电通股份有限公司 Control device and method for reducing interruption frequency of processor
CN100365603C (en) * 2004-09-10 2008-01-30 明基电通股份有限公司 Method for decreasing processor interruption
CN101150562B (en) * 2007-10-29 2010-12-01 中兴通讯股份有限公司 A media stream data processing method for reducing CPU processing load
CN105204939A (en) * 2015-11-03 2015-12-30 浪潮(北京)电子信息产业有限公司 Processing method of interrupt requests

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1312600C (en) * 2003-07-09 2007-04-25 明基电通股份有限公司 Control device and method for reducing interruption frequency of processor
CN100365603C (en) * 2004-09-10 2008-01-30 明基电通股份有限公司 Method for decreasing processor interruption
CN101150562B (en) * 2007-10-29 2010-12-01 中兴通讯股份有限公司 A media stream data processing method for reducing CPU processing load
CN105204939A (en) * 2015-11-03 2015-12-30 浪潮(北京)电子信息产业有限公司 Processing method of interrupt requests
CN105204939B (en) * 2015-11-03 2019-02-01 浪潮(北京)电子信息产业有限公司 A kind of processing method of interrupt requests

Similar Documents

Publication Publication Date Title
US4495617A (en) Signal generation and synchronizing circuit for a decentralized ring network
US5636345A (en) Method and apparatus for detecting and preventing broadcast storms on an emulated local area network
JP3184817B2 (en) Flow control method, suspension control system and node
CN100373297C (en) Data transmission system and its link power supply state changing method
US4494233A (en) Method and apparatus for the detection and regeneration of a lost token in a token based data communications network
US4439856A (en) Bimodal bus accessing system
US6618357B1 (en) Queue management for networks employing pause time based flow control
CA1302540C (en) Method and apparatus for nodes in network to avoid shrinkage of an interframe gap
JP2000517140A (en) Distributed network synchronization system
US4706246A (en) Digital signal transmission system
US6778551B1 (en) Collision control systems and methods utilizing an inter-frame gap code counter
CN1215869A (en) Network interface card capable of decreasing interuption frequency and method therefor
WO2004021674A1 (en) A bill amalgamation process method
CN100589372C (en) Data synchronization method between virtual connection module of network service
CN115442000A (en) Transmission guarantee method suitable for low-bandwidth and easily-consumed ad hoc network
CN101989249A (en) Serial port data receiving method of single chip microcomputer
CN100344125C (en) A solution method of data transmission deadlock
Zhang et al. Timing properties of the timed token protocol
Narasimhan et al. Message packing as a performance enhancement strategy with application to the Totem protocols
Smith et al. Ethernet performance under actual and simulated loads
JP2923018B2 (en) Network system and broadcast response control method
JPS61125253A (en) Medium access control system
CN101557299B (en) Main and standby rearranging method based on object
WO2005064960A1 (en) A common path signal link system overload control method
JPH0294846A (en) Bus access control system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication