CN103973802A - Network card drive design method based on data compression fusion - Google Patents

Network card drive design method based on data compression fusion Download PDF

Info

Publication number
CN103973802A
CN103973802A CN201410210525.8A CN201410210525A CN103973802A CN 103973802 A CN103973802 A CN 103973802A CN 201410210525 A CN201410210525 A CN 201410210525A CN 103973802 A CN103973802 A CN 103973802A
Authority
CN
China
Prior art keywords
data
packet
interface card
mac address
network interface
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
CN201410210525.8A
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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201410210525.8A priority Critical patent/CN103973802A/en
Publication of CN103973802A publication Critical patent/CN103973802A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a network card drive design method based on data compression fusion, and belongs to the field of computer communication. The method aims at solving the problems that in the prior art, a mode of simultaneously conducting receiving and sending is adopted in the network card drive design method of a server system, and therefore transmission efficiency is low. The method guarantees high efficiency and high real-time design of network card drive of the server system.

Description

A kind of network interface card merging based on data compression drives method for designing
technical field
the present invention relates to computer communication field, specifically utilize a kind of network interface card merging based on data compression to drive method for designing, solve currently at server system, at network interface card, driving in design, adopt the design of " sending out " to bring the problem that efficiency of transmission is lower.
Background technology
Current server system requires more and more higher to network card data efficiency of transmission, network interface card, as server and extraneous communicative channel, is being taken system data and exchanged transformation task, pass through network interface card, CPU sends to remote port by data endlessly, data receiver by falling remote port is to home server, the operational data amount providing of server is complicated at present, network data is in continuous transmitting procedure, the driving of network interface card plays an important role as " intermediary interface " of upper layer software (applications) and bottom hardware, the transmission of data is all called realization by driving, the driving of the network interface card of server system design at present adopts the design of " sending out ", in high speed Networking Design, a lot of packet data bit lengths are less, the data volume of bag is less, but network interface card still needs constantly to seal packet, separate packet, the major part work of network interface card concentrates in the processing of packet, thereby cause efficiency of transmission lower, this just needs network interface card to drive design can rationally process efficiently low capacity packet.
The current design that server system network interface card is driven is mainly and realizes the operation support of upper layer software (applications) to bottom hardware, network interface card drives as passive call instruction set, the operational order of accepting upper layer software (applications) that can only be single, the instant processing mode adopting in processing for packet, the size of packet no matter, all according to normal package, separating the mode of packet processes one by one, along with user increases gradually to the demand of low capacity data, network interface card is busy with package always and separates in the action processing of packet, real valid data transmission quantity is not high, the data transfer mode of this poor efficiency becomes the key factor that affects server network interface card operating efficiency gradually, along with the increase in demand of network low capacity packet, in practical operation running, the efficient design that realizes network interface card driving is particularly important, and becomes one of interconnected key element of the low delay of decision server system network.
Summary of the invention
For current network interface card, drive the problems referred to above that run in design, use procedure, in conjunction with key factors such as data compressions, by analysing in depth, the invention provides a kind of network interface card merging based on data compression and drive method for designing.
The present invention includes following five aspects:
1,1. by adding packet size to detect in the driving bag of network interface card, when network interface card carries out the transmission of data, realize the real-time judge of network packet type;
2. setting data containing amount low valve valve A, high threshold values B, when packet size being detected and be less than low valve valve A, by destination-mac address and will transmit data and put into local buffer, do not carry out the action of package.
3. the above-mentioned capacity detecting is less than to the packet of low valve valve A, different according to the destination-mac address of packet, data are sorted out, be put into respectively in local caches corresponding to different MAC Address, when in single cache device, data volume reaches the high threshold values B of packet size, carry out the processing of IP package, the data in buffer are carried out to network transmission.
4. in normal data transfer procedure, set up the priority ordering list of MAC Address list, while comprising the MAC destination address of high priority in system data bag being detected, by destination-mac address and will transmit data and put into the external physical chip of network, carry out immediately the action of package, raise the efficiency.
2, will in the driving bag of network interface card, add packet size to detect, when network interface card carries out the transmission of data, realize the real-time judge of network packet type, the detection of packet size is mainly that the binary sequence in packet is counted, in driving, network interface card counting variable is set, the number of bits of real time record current data packet.
3, setting data containing amount low valve valve A, high threshold values B, according to the efficient packet of network data and real-time, consider, low valve valve A is decided to be 256, high threshold values B is decided to be 1024, and in driving, network interface card sets up local data buffer storage storehouse, when packet size being detected and be less than low valve valve A, by destination-mac address and will transmit data and put into local buffer memory storehouse, do not carry out the action of package.
4, the above-mentioned capacity detecting is less than to the packet of low valve valve A, different according to the destination-mac address of packet, difference with MAC Address is sorted out data, set up a plurality of data buffer storage storehouses, deposit respectively transmission data corresponding to different MAC Address, the data volume of buffer memory storehouse is counted, when data volume reaches the high threshold values B of packet size in single cache device, carry out immediately the processing of IP package, the data in buffer are carried out to network transmission.
5, in normal data transfer procedure, for improving the requirement of real-time of specific data target, set up the priority ordering list of MAC Address list, be about to the high MAC of destination address priority and carry out first place sequence, this MAC is visible to user, can carry out real-time appointment, when network interface card driving detects the MAC destination address that comprises high priority in system data bag, by destination-mac address and will transmit data and put into the external physical chip of network, carry out immediately the action of package, raise the efficiency, guarantee the requirement of real-time of low capacity data.
The invention solves and currently at server system, at network interface card, drive in design, adopt the design of " sending out " to bring the problem that efficiency of transmission is lower; Guaranteed high efficiency, high real-time design that server system network interface card drives, realized server system network interface card and drive reliability, stability Design, for the raising of the network interface card transmission performance of server system, had great importance.
accompanying drawing explanation
Accompanying drawing 1 is implementing procedure figure of the present invention.
Embodiment
Content of the present invention is carried out to more detailed elaboration below:
1. in driving, network interface card counting variable is set, the number of bits of real time record current data packet, i.e. logarithm
According to the binary sequence in bag, count, realize the detection of network packet capacity;
2. in network interface card drives, set up local data buffer storage storehouse, when packet size being detected and be less than low valve valve A, by destination-mac address and will transmit data and put into local buffer memory storehouse, do not carry out the action of package.
3. set up a plurality of data buffer storage storehouses, deposit respectively transmission data corresponding to different MAC Address, the data volume of buffer memory storehouse is counted, when data volume reaches the high threshold values B of packet size in single cache device, carry out immediately the processing of IP package, the data in buffer are carried out to network transmission.
4. set up the priority ordering list of MAC Address list, be about to the high MAC of destination address priority and carry out first place sequence, can carry out real-time appointment, when network interface card driving detects the MAC destination address that comprises high priority in system data bag, by destination-mac address and will transmit data and put into the external physical chip of network, carry out immediately the action of package transmission.
Through detailed above enforcement, we can realize the driving design that network card data compression is merged very easily, not only reach the transmission speed requirement of network interface card and extraneous network environment, and realized high real-time requirement, realized reliability, the stability of server system network interface card work.

Claims (5)

1. the network interface card merging based on data compression drives a method for designing, it is characterized in that comprising the following steps:
1. by adding packet size to detect in the driving bag of network interface card, when network interface card carries out the transmission of data, realize the real-time judge of network packet type;
2. setting data containing amount low valve valve A, high threshold values B, when packet size being detected and be less than low valve valve A, by destination-mac address and will transmit data and put into local buffer, do not carry out the action of package;
3. the above-mentioned capacity detecting is less than to the packet of low valve valve A, different according to the destination-mac address of packet, data are sorted out, be put into respectively in local caches corresponding to different MAC Address, when in single cache device, data volume reaches the high threshold values B of packet size, carry out the processing of IP package, the data in buffer are carried out to network transmission;
4. in normal data transfer procedure, set up the priority ordering list of MAC Address list, while comprising the MAC destination address of high priority in system data bag being detected, by destination-mac address and will transmit data and put into the external physical chip of network, carry out immediately the action of package, raise the efficiency.
2. will in the driving bag of network interface card, add packet size to detect, when network interface card carries out the transmission of data, realize the real-time judge of network packet type, the detection of packet size is mainly that the binary sequence in packet is counted, in driving, network interface card counting variable is set, the number of bits of real time record current data packet.
3. method according to claim 1, it is characterized in that setting data containing amount low valve valve A, high threshold values B, according to the efficient packet of network data and real-time, consider, low valve valve A is decided to be 256, high threshold values B is decided to be 1024, and in driving, network interface card sets up local data buffer storage storehouse, when packet size being detected and be less than low valve valve A, by destination-mac address and will transmit data and put into local buffer memory storehouse, do not carry out the action of package.
4. method according to claim 1, it is characterized in that the above-mentioned capacity detecting to be less than the packet of low valve valve A, different according to the destination-mac address of packet, difference with MAC Address is sorted out data, set up a plurality of data buffer storage storehouses, deposit respectively transmission data corresponding to different MAC Address, data volume to buffer memory storehouse is counted, when in single cache device, data volume reaches the high threshold values B of packet size, carry out immediately the processing of IP package, the data in buffer are carried out to network transmission.
5. method according to claim 1, it is characterized in that in normal data transfer procedure, for improving the requirement of real-time of specific data target, set up the priority ordering list of MAC Address list, be about to the high MAC of destination address priority and carry out first place sequence, this MAC is visible to user, can carry out real-time appointment, when network interface card driving detects the MAC destination address that comprises high priority in system data bag, by destination-mac address and will transmit data and put into the external physical chip of network, carry out immediately the action of package, raise the efficiency, guarantee the requirement of real-time of low capacity data.
CN201410210525.8A 2014-05-19 2014-05-19 Network card drive design method based on data compression fusion Pending CN103973802A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410210525.8A CN103973802A (en) 2014-05-19 2014-05-19 Network card drive design method based on data compression fusion

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410210525.8A CN103973802A (en) 2014-05-19 2014-05-19 Network card drive design method based on data compression fusion

Publications (1)

Publication Number Publication Date
CN103973802A true CN103973802A (en) 2014-08-06

Family

ID=51242835

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410210525.8A Pending CN103973802A (en) 2014-05-19 2014-05-19 Network card drive design method based on data compression fusion

Country Status (1)

Country Link
CN (1) CN103973802A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107005461A (en) * 2014-12-08 2017-08-01 华为技术有限公司 A kind of data transmission method and equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102420749A (en) * 2011-11-28 2012-04-18 曙光信息产业(北京)有限公司 Device and method for realizing network card issuing function
US20120290769A1 (en) * 2011-05-09 2012-11-15 Sony Corporation Flash memory device, memory control device, memory control method, and storage system
CN103139222A (en) * 2013-03-19 2013-06-05 成都卫士通信息产业股份有限公司 Internet protocol security (IPSEC) tunnel data transmission method and device thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120290769A1 (en) * 2011-05-09 2012-11-15 Sony Corporation Flash memory device, memory control device, memory control method, and storage system
CN102420749A (en) * 2011-11-28 2012-04-18 曙光信息产业(北京)有限公司 Device and method for realizing network card issuing function
CN103139222A (en) * 2013-03-19 2013-06-05 成都卫士通信息产业股份有限公司 Internet protocol security (IPSEC) tunnel data transmission method and device thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107005461A (en) * 2014-12-08 2017-08-01 华为技术有限公司 A kind of data transmission method and equipment
US10348635B2 (en) 2014-12-08 2019-07-09 Huawei Technologies Co., Ltd. Data transmission method and device
CN107005461B (en) * 2014-12-08 2020-08-14 华为技术有限公司 Data transmission method and equipment

Similar Documents

Publication Publication Date Title
JP2016525846A (en) Method, system, and computer program for processing data packets
CN107171978A (en) The multi-channel data circle collection system and acquisition method of gigabit Ethernet
CN102984253A (en) Transmission control protocol sticky package processing method and device
CN102790776A (en) Heartbeat connection normalizing processing method, terminal, server and communication system
CN103200116B (en) The reliable UDP transmission agreement that not face connects and data transmission method
CN106557561A (en) Magnanimity sensing data storage system and method based on HBase
CN103200192B (en) Network code layer is to the decoding method of packet
CN102497297A (en) System and method for realizing deep packet inspection technology based on multi-core and multi-thread
CN109660639A (en) A kind of data uploading method, equipment, system and medium
CN104579948A (en) Method and device for fragmenting message
CN101599966A (en) The data filtering method that a kind of multi-dummy machine is used
CN102891809A (en) Interface order-preserving method and system of messages of multi-core network device
CN104643831A (en) Method and system for realizing bidirectional data exchange by clinking between intelligent cups
CN103731641A (en) Video streaming data distribution method and device for monitoring device
CN102957628A (en) Method, device and access device for packet polymerization
CN103401778B (en) Based on the multi-path transmission grouping scheduling method that receiving terminal cache overflow probability is ensured
CN105635176A (en) Network data transmission method based on RapidIO
CN102413054B (en) Method, device and system for controlling data traffic as well as gateway equipment and switchboard equipment
CN105142035A (en) Video stream slice transmitting system and method
CN105260285A (en) Method and system for data center to collect and upload data
CN103973802A (en) Network card drive design method based on data compression fusion
CN104113467A (en) Virtual desktop system and message data transmitting method thereof
CN105553695A (en) IP data flow management method based on two-level bidirectional Hash list
CN102868636A (en) Method and system for stream-based order preservation of multi-core network equipment packet
CN103442091B (en) Data transmission method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140806

WD01 Invention patent application deemed withdrawn after publication