CN105988948A - Data transmission method and equipment - Google Patents
Data transmission method and equipment Download PDFInfo
- Publication number
- CN105988948A CN105988948A CN201510078538.9A CN201510078538A CN105988948A CN 105988948 A CN105988948 A CN 105988948A CN 201510078538 A CN201510078538 A CN 201510078538A CN 105988948 A CN105988948 A CN 105988948A
- Authority
- CN
- China
- Prior art keywords
- data
- subwindow
- equipment
- particular data
- reception
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/10—Program control for peripheral devices
- G06F13/105—Program control for peripheral devices where the programme performs an input/output emulation function
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4265—Bus transfer protocol, e.g. handshake; Synchronisation on a point to point bus
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a data transmission method and equipment, and is used for solving the problem in the prior art that a bandwidth use ratio is lowered and data sending efficiency is lowered when two controllers carry out data interaction. The method comprises the following steps: sending equipment determines a corresponding subwindow of specific data in a window according to the data type of the specific data which needs to be sent and is not packaged by a protocol stack; the sending equipment writes the specific data into the corresponding subwindow in the window; the sending equipment determines a receiving equipment memory address corresponding to the address of the corresponding subwindow of the specific data in the window according to a corresponding relationship between the address of the subwindow and the receiving equipment memory address; and the sending equipment sends the determined receiving equipment memory address to the receiving equipment, and sends the specific data in the determined subwindow to the receiving equipment. The method can improve the bandwidth use ratio and can improve data sending efficiency.
Description
Technical field
The present invention relates to field of computer technology, the method and apparatus transmitted particularly to a kind of data.
Background technology
At present, dual controller storage product two controllers when carrying out data interaction, transmitting terminal controller
Can first by all data (such as: statistical data, order data, mirror image data, user's blocks of data and net
Card transmission data etc.) by TCP/IP (Transmission Control Protocol/Internet Protocol,
Transmission control protocol and Internet protocol) protocol stack carries out package operation, add in the header data type,
After the information such as data length, it is written to window, then by PCI-E (Peripheral Component
Interconnect-Express, high-speed peripheral interconnection) high-speed bus passage is sent to connect in streaming fashion
Receiving end controller.
As it is shown in figure 1, data are sent in streaming fashion receiving terminal for transmitting terminal controller in prior art
Controller.Understand from Fig. 1, transmitting terminal controller end only one of which window, wherein, white hollow square
For clear area (can store data), black lines grid square is occupied area (having stored data),
The initiation region of window is used for storing WP (write pointer) and the value of RP (read pointer), and the value of WP represents
The position of the presently written data of window, the value of RP represents the position of receiving terminal controller current read request.From
Understanding on Fig. 1, a certain region of internal memory of receiving terminal controller end corresponds to the window of transmitting terminal controller, its
In, white hollow square is clear area (can store data), and black lines grid square is used area
Territory (has stored data), and the initiation region of this region of memory is for storing the value of WP and RP, the value of WP
Representing the position of the presently written data of window, the value of RP represents the position of receiving terminal controller current read request.
Data, when needs send data, are carried out package operation by ICP/IP protocol stack by transmitting terminal controller end
After, the next clear area that the WP that the data after encapsulation are written in window is pointed to, and more new window
In the value of WP, and the WP value after updating is sent to receiving terminal controller, so that receiving terminal controller
Update the value of WP, after data have write, send interrupt notification receiving terminal controller;Receive controller to exist
Have no progeny in receiving, determine and have data to write, according to the RP in this region of memory of receiving terminal controller
WP with after renewal, determines the storage address of the data write, and reads from the storage address determined
Then data are carried out de-packaging operation by these data, determine the data type of data, the number after then unpacking
According to being sent to corresponding upper layer application.
Existing two controllers when carrying out data interaction, transmitting terminal controller only one of which window, need
The data type of mutual data has multiple, such as: (receiving terminal controller is not required to statistical data type
Statistical data is updated timely, and the highest to the accuracy requirement of statistical data, statistical data
Can be transmitted in obstructed overflow-type mode), order data type (order data mutual between two controllers
Data traffic less, but transmitting terminal controller needs receiving terminal controller by the time to process order data,
Return after result and could delete this order data), (transmitting terminal controller is by mirror for mirror image data type
When being written to window as data, it is possible to use new mirror image data covers old mirror image data, only requires guarantee
The mirror image data of last write is errorless, is indifferent to the mirror image data transmitting procedure of centre) and user
(data volume of user's blocks of data mutual between two controllers is relatively big, needs to ensure the every of centre for blocks of data type
The mutual reliability of secondary data, receiving terminal controller is not processing the user that transmitting terminal controller sends
During blocks of data, this user's blocks of data can not be capped), all types of data are written in a window
It is transmitted, needs the data sent to be needed to carry out package operation, by data type, data length every time
Join in packet header etc. information, in order to when receiving terminal controller carries out de-packaging operation to the data after encapsulation, root
Determine, according to the data type information in packet header, the upper layer application that these data are corresponding, and send the data to determine
Upper layer application.
In prior art, transmitting terminal controller needs to be entered different types of data by ICP/IP protocol stack
After the operation of row package, the data after encapsulation are written to same window, and are sent to connect by streaming fashion
Receiving end controller, after receiving terminal controller data after receiving encapsulation, needs to enter the data after encapsulation
Row de-packaging operation, needs to carry out substantial amounts of data copy work in package and unpacking process, thus substantial amounts of
Occupy cpu resource, reduce bandwidth availability ratio, and in whole data transmission procedure, will be all
The data acquisition of type is transmitted with single streaming fashion, reduces data transmission efficiency.
Prior art also has a kind of situation to be that transmitting terminal controller is when needs send data, first by data
Carry out protocol stack encapsulation, then the data after encapsulation are sent to receiving terminal controller, the whole number of this mode
The participation of multiple entities of transmitting terminal controller and receiving terminal controller is needed according to transmitting procedure, so system
Hardware cost is higher.
In sum, two current controllers, when carrying out data interaction, reduce bandwidth availability ratio, and
Reduce data transmission efficiency.
Summary of the invention
The present invention provides a kind of method that data are transmitted, in order to solve two controllers present in prior art
When carrying out data interaction, reduce bandwidth availability ratio, and the problem reducing data transmission efficiency.
The embodiment of the present invention provides the method for a kind of data transmission, including:
The data type of the particular data without protocol stack encapsulation that transmission equipment sends as required, determines institute
State the subwindow that particular data is corresponding in the window;
Described particular data is written in window in the described subwindow of correspondence by described transmission equipment;
Described transmission equipment, according to the address of subwindow and the corresponding relation that receives device memory address, determines institute
State the reception device memory address that the address of particular data described subwindow corresponding in the window is corresponding;
The reception device memory address determined is sent to reception equipment, and the institute that will determine by described transmission equipment
State the described particular data in subwindow and be sent to described reception equipment.
The embodiment of the present invention sends equipment and is written to by the different types of particular data without protocol stack encapsulation
After in different subwindows, reception device memory address and particular data are sent to reception equipment, due to
Whole data transmission procedure need not carry out particular data protocol stack encapsulation, and transmitting terminal can be by inhomogeneity
The data of type are written in different subwindows, thus improve bandwidth availability ratio, and improve data transmission
Efficiency.
It is preferred that described data type is statistical data;
Described particular data is written in window in the described subwindow of correspondence by described transmission equipment, including:
Described transmission equipment, according to statistical data type and the corresponding relation in subwindow region, determines described specific
The subwindow region that the statistical data type of data is corresponding;
Described particular data, according to the subwindow region determined, is written in window correspondence by described transmission equipment
Described subwindow in.
Owing to the embodiment of the present invention is by subwindow corresponding for statistical data, become many according to statistical data Type division
Individual sub-window area, separately processes different types of statistical data, reduces CPU usage,
Reduce memory usage, it is simple to the process of data.
It is preferred that described data type is order data;
Described particular data is written in window in the described subwindow of correspondence by described transmission equipment, including:
Described transmission equipment determines command entry idle in described subwindow, and is written to by described particular data
In command entry idle in described subwindow.
Owing to subwindow corresponding for order data is divided into the life of several fixed sizes by the embodiment of the present invention
Make item, order data is stored in an idle commands item, have only to the data of fixed size are entered every time
Row processes, it is simple to process operation.
It is preferred that described particular data is written in window in the described subwindow of correspondence by described transmission equipment
Before, also include:
Described particular data is carried out package operation by described transmission equipment, command code and object module information is added
Enter in packet header;
After described particular data is written in window in the described subwindow of correspondence by described transmission equipment, also
Including:
Data mode traffic sign placement corresponding for the command entry storing described particular data is by described transmission equipment
Data prepare;
Described particular data in the described subwindow that described transmission equipment will determine is sent to described reception and sets
Standby, also include:
Described transmission equipment is by the described certain number after data mode mark corresponding for described command entry and encapsulation
According to sending jointly to described reception equipment, so that described reception equipment is determining that described data mode is masked as number
After preparing, particular data is sent to command code the object module that described object module information is corresponding.
It is preferred that the described particular data in the described subwindow that will determine of described transmission equipment is sent to described
After reception equipment, also include:
Described transmission equipment is after the feedback information receiving described reception equipment and storage address, according to described
Described feedback information is stored in the feedback areas that command entry is corresponding by storage address;
Described transmission equipment, after the described feedback information stored is for completing information, will store described feedback information
The data mode traffic sign placement of command entry corresponding to feedback areas be that data complete;
Described transmission equipment determine needs after upper layer application reports, the data mode mark that data are completed
Feedback areas corresponding to command entry in after the feedback information of storage reports upper layer application, delete described order
Data in the feedback areas that item is corresponding with described command entry, using described command entry as idle command entry.
Determining that data, after upper layer application reports, are completed by needs owing to the embodiment of the present invention sends equipment
After in the feedback areas that the command entry of data mode mark is corresponding, the feedback information of storage reports upper layer application,
Data in the feedback areas that delete command item is corresponding with command entry, using command entry as idle command entry,
So that new order data is stored in this command entry.
It is preferred that described data type is mirror image data;
After described particular data is written in window in the described subwindow of correspondence by described transmission equipment, also
Including:
Described transmission equipment, according to the address of subwindow and the corresponding relation that sends device memory address, determines and writes
Enter the transmission device memory address that the described subwindow of described particular data is corresponding;
Described particular data, according to the transmission device memory address determined, is written to send by described transmission equipment
In device memory.
After particular data being written in subwindow due to embodiment of the present invention transmission equipment and this is specific
Data are written to send in device memory, so that the equipment of transmission keeps consistent with the mirror image data of the equipment of reception.
It is preferred that described data type is user's blocks of data;
Described particular data is written in window in the described subwindow of correspondence by described transmission equipment, including:
Described transmission equipment determines that the Virtual Block Device that the block device needing to store described particular data is corresponding connects
Mouthful, and described particular data is carried out package operation, Virtual Block Device mark and/or block device mark are added
In packet header;
The described Virtual Block Device interface that described transmission equipment is determined by, by the described particular data after encapsulation
It is written in window in the described subwindow of correspondence;
Described particular data in the described subwindow that described transmission equipment will determine is sent to described reception and sets
Standby, including:
The described particular data after encapsulation in the described subwindow that described transmission equipment will determine is sent to institute
State reception equipment, so that the Virtual Block Device mark that described particular data is sent in packet header by described reception equipment
Know and/or the block device of block device mark correspondence.
Owing to particular data is written to subwindow by Virtual Block Device interface by embodiment of the present invention transmitting terminal
In, and it is sent to reception equipment, the particular data received is sent to the block device of correspondence by reception equipment,
So that the equipment of transmission is by specific data storages to the block device of the equipment of reception.
It is preferred that the described particular data after encapsulation in the described subwindow that will determine of described transmission equipment is sent out
After giving described reception equipment, also include:
In described transmission equipment feedback data after the encapsulation receiving described reception equipment and reception equipment
After depositing address, according to address and the corresponding relation of reception device memory address of subwindow, determine described feedback
The address of the subwindow that data reception device memory address in reception equipment is corresponding, the wherein institute after encapsulation
The packet header stating feedback data includes Virtual Block Device mark and/or block device mark;
Described feedback data is stored in the address of the described subwindow determined by described transmission equipment, and really
Described feedback data, after upper layer application reports, is identified by described Virtual Block Device and/or block sets by fixed needs
The Virtual Block Device interface that standby mark determines reports upper layer application.
It is preferred that described particular data is written in window the described subwindow of correspondence by described transmission equipment
In, including:
Described particular data is written in window the described sub-window of correspondence by described transmission equipment with queue form
In Kou;
Described particular data in the described subwindow that described transmission equipment will determine is sent to described reception and sets
Standby, including:
Multiple queuing data transmitted in parallel in the described subwindow that described transmission equipment will determine connect to described
Receiving unit.
Owing to particular data is written in subwindow by the embodiment of the present invention with queue form, and the son that will determine
Multiple queuing data transmitted in parallel in window, to reception equipment, improve data transmission efficiency.
It is preferred that described data type is network interface card transmits data;
Described particular data is written in window in the described subwindow of correspondence by described transmission equipment, including:
Described particular data is packaged by described transmission equipment through protocol stack, and will be through by Microsoft Loopback Adapter
Cross the described particular data after protocol stack encapsulation and carry out media access control MAC encapsulation;
Described particular data after MAC is encapsulated by described transmission equipment is written in window corresponding described son
In window;
Described particular data in the described subwindow that described transmission equipment will determine is sent to described reception and sets
Standby, including:
The described particular data after MAC encapsulation in the described subwindow that described transmission equipment will determine passes through
Streaming fashion is sent to reception equipment.
Owing to the embodiment of the present invention can carry out MAC package operation by needing the particular data sent by network interface card
After, the particular data after encapsulation is written in corresponding subwindow, and by high-speed bus passage with streaming
Mode is sent to reception equipment, and whole data transmission procedure is to be realized by Microsoft Loopback Adapter rather than network card chip
Data transmission, thus reduce the hardware cost of system.
It is preferred that the reception device memory address determined is sent to reception equipment by described transmission equipment, and will
Described particular data in the described subwindow determined is sent to described reception equipment, including:
The reception device memory address determined is sent to receive by described transmission equipment by high-speed bus passage
Described particular data in equipment, and the described subwindow that will be determined by high-speed bus passage is sent to described
Reception equipment.
The embodiment of the present invention provides the method for a kind of data transmission, including:
Reception equipment receives the reception device memory address from the equipment of transmission and particular data, wherein said
Receiving device memory address is that described transmission equipment is according to the subwindow in the window storing described particular data
Determine;
Described reception equipment is by described specific data storages to the described reception device memory address determined.
Owing to the embodiment of the present invention receives equipment according to address right receiving device memory address and subwindow
Should be related to, determine reception device memory address, and by specific data storages to the reception device memory ground determined
In location, it is simple to when needing that this particular data is reported upper layer application, set according to the reception that particular data is corresponding
Standby internal memory ground determines the upper layer application needing to report.
It is preferred that described particular data is the one in following data:
Statistical data, order data, mirror image data, user's blocks of data and network interface card transmission data.
It is preferred that described particular data is order data;
Described reception equipment by described specific data storages to the described reception device memory address determined it
After, also include:
Described reception equipment is after determining that the data mode that command entry is corresponding is masked as data preparation, by described spy
Given data is sent to the object module that described object module information is corresponding with command code;
Described reception equipment is after the feedback information receiving described object module feedback, by described feedback information
With storage address be sent to described transmission equipment so that described transmission equipment according to described storage address by described
Feedback information stores in the feedback areas that command entry is corresponding.
It is preferred that described particular data is user's blocks of data;
Described reception equipment by described specific data storages to the described reception device memory address determined it
After, also include:
Described reception equipment determine need to send described particular data time, described particular data is sent to institute
State the Virtual Block Device mark in the packet header of particular data and/or the block device of block device mark correspondence;
Described reception equipment is receiving the feedback data of described block device feedback and is receiving device memory address
After, described feedback data is carried out package operation, Virtual Block Device mark and/or block device mark are joined
In packet header;
Described feedback data after encapsulation and reception device memory address are sent to described by described reception equipment
Transmission equipment, so that described feedback data is identified and/or block by described transmission equipment by described Virtual Block Device
The Virtual Block Device interface that device identification determines reports upper layer application.
It is preferred that described particular data is network interface card transmits data;
Described reception equipment by described specific data storages to the described reception device memory address determined it
After, also include:
Described particular data after MAC is encapsulated by described reception equipment carries out de-packaging operation, after unpacking
Described particular data is sent to the upper layer application that described particular data is corresponding.
The embodiment of the present invention provides the transmission equipment of a kind of data transmission, including:
First determines module, the data class of the particular data without protocol stack encapsulation for sending as required
Type, determines the subwindow that described particular data is corresponding in the window;
Writing module, in the described subwindow that described particular data is written in window correspondence;
Second determines module, for the address according to subwindow and the corresponding relation of reception device memory address,
Determine the reception device memory ground that the address of the described subwindow that described particular data is corresponding in the window is corresponding
Location;
Sending module, for the reception device memory address determined is sent to reception equipment, and will determine
Described particular data in described subwindow is sent to described reception equipment.
It is preferred that described data type is statistical data;
Said write module specifically for:
According to statistical data type and the corresponding relation in subwindow region, determine the statistical number of described particular data
According to the subwindow region that type is corresponding;According to the subwindow region determined, described particular data is written to window
In described subwindow corresponding in Kou.
It is preferred that described data type is order data;
Said write module specifically for:
Determine command entry idle in described subwindow, and described particular data is written in described subwindow
In idle command entry.
It is preferred that said write module is additionally operable to:
Described particular data is carried out package operation, command code and object module information are joined in packet header;
Described second determines that module is additionally operable to:
It is that data prepare by data mode traffic sign placement corresponding for the command entry storing described particular data;
Described sending module is additionally operable to:
Described particular data after data mode mark corresponding for described command entry and encapsulation is sent jointly to
Described reception equipment, so that described reception equipment is after determining that described data mode is masked as data preparation, will
Particular data is sent to the object module that described object module information is corresponding with command code.
It is preferred that described sending module is additionally operable to:
After the feedback information receiving described reception equipment and storage address, according to described storage address by institute
State feedback information to store in the feedback areas that command entry is corresponding;At the described feedback information stored for completing letter
After breath, it is number by the data mode traffic sign placement of command entry corresponding for the feedback areas storing described feedback information
According to completing;Need after upper layer application reports determining, the command entry of the data mode mark that data are completed
After the feedback information of storage reports upper layer application in corresponding feedback areas, delete described command entry and described
Data in the feedback areas that command entry is corresponding, using described command entry as idle command entry.
It is preferred that described data type is mirror image data;
Said write module is additionally operable to:
Address according to subwindow and the corresponding relation of transmission device memory address, determine the described certain number of write
According to transmission device memory address corresponding to described subwindow;According to the transmission device memory address determined, will
Described particular data is written to send in device memory.
It is preferred that described data type is user's blocks of data;
Said write module specifically for:
Determine the Virtual Block Device interface that the block device needing to store described particular data is corresponding, and by described spy
Given data carries out package operation, Virtual Block Device mark and/or block device mark is joined in packet header;Pass through
The described Virtual Block Device interface determined, is written in window the institute of correspondence by the described particular data after encapsulation
State in subwindow;
Described sending module specifically for:
The described particular data after encapsulation in the described subwindow that will determine is sent to described reception equipment, with
The Virtual Block Device making described reception equipment be sent in packet header by described particular data identifies and/or block device
The block device that mark is corresponding.
It is preferred that described sending module is additionally operable to:
After feedback data after the encapsulation receiving described reception equipment and reception device memory address, according to
The address of subwindow and the corresponding relation of reception device memory address, determine that described feedback data is at reception equipment
In the address of subwindow corresponding to reception device memory address, the wherein bag of the described feedback data after encapsulation
Head includes Virtual Block Device mark and/or block device mark;Described feedback data is stored described in determining
In the address of subwindow, and determining that described feedback data, after upper layer application reports, is passed through described by needs
The Virtual Block Device interface that Virtual Block Device mark and/or block device mark determine reports upper layer application.
It is preferred that said write module specifically for:
With queue form, described particular data is written in window in the described subwindow of correspondence;
Described sending module specifically for:
Multiple queuing data transmitted in parallel in the described subwindow that will determine give described reception equipment.
It is preferred that described data type is network interface card transmits data;
Said write module specifically for:
Described particular data is packaged through protocol stack, and will be encapsulated through protocol stack by Microsoft Loopback Adapter
After described particular data carry out media access control MAC encapsulation;By MAC encapsulate after described specific
Data are written in window in the described subwindow of correspondence;
Described sending module specifically for:
The described particular data after MAC encapsulation in the described subwindow that will determine is sent by streaming fashion
To reception equipment.
It is preferred that described sending module specifically for:
By high-speed bus passage, the reception device memory address determined is sent to reception equipment, and by height
Described particular data in the described subwindow that speed bus run will determine is sent to described reception equipment.
The embodiment of the present invention provides the reception equipment of a kind of data transmission, including:
Receiver module, for receiving the reception device memory address from the equipment of transmission and particular data, its
Described in receive device memory address be described transmission equipment according in the window storing described particular data
Subwindow determines;
Memory module, for by described specific data storages to the described reception device memory address determined.
It is preferred that described particular data is the one in following data:
Statistical data, order data, mirror image data, user's blocks of data and network interface card transmission data.
It is preferred that described particular data is order data;
Described memory module is additionally operable to:
After determining that the data mode that command entry is corresponding is masked as data preparation, by described particular data and order
Code is sent to the object module that described object module information is corresponding;Receiving the anti-of described object module feedback
After feedforward information, described feedback information and storage address are sent to described transmission equipment, so that described transmission sets
For according to described storage address, described feedback information being stored in the feedback areas that command entry is corresponding.
It is preferred that described particular data is user's blocks of data;
Described memory module is additionally operable to:
Determine need to send described particular data time, described particular data is sent to described particular data
Virtual Block Device mark in packet header and/or the block device of block device mark correspondence;Receiving described block device
After the feedback data of feedback and reception device memory address, described feedback data is carried out package operation, by void
Intend block device mark and/or block device mark joins in packet header;By the described feedback data after encapsulation and reception
Device memory address is sent to described transmission equipment, so that described feedback data is passed through institute by described transmission equipment
State Virtual Block Device mark and/or block device identifies the Virtual Block Device interface determined and reports upper layer application.
It is preferred that described particular data is network interface card transmits data;
Described memory module is additionally operable to:
Described particular data after being encapsulated by MAC carries out de-packaging operation, the described particular data after unpacking
It is sent to the upper layer application that described particular data is corresponding.
The embodiment of the present invention sends equipment and is written to by the different types of particular data without protocol stack encapsulation
After in different subwindows, reception device memory address and particular data are sent to reception equipment, due to
Whole data transmission procedure need not carry out particular data protocol stack encapsulation, and transmitting terminal can be by inhomogeneity
The data of type are written in different subwindows, thus improve bandwidth availability ratio, and improve data transmission
Efficiency.
Accompanying drawing explanation
Fig. 1 is that data are sent to receiving terminal controller by transmitting terminal controller in background technology in streaming fashion
Schematic diagram;
Fig. 2 a is the method flow schematic diagram of the embodiment of the present invention one data transmission;
Fig. 2 b is the embodiment of the present invention two window mapping schematic diagram with internal memory;
Fig. 3 is that the subwindow region of the embodiment of the present invention three statistical data subwindow is illustrated with the mapping of internal memory
Figure;
Fig. 4 is the command entry mapping schematic diagram with internal memory of the embodiment of the present invention four order data subwindow;
Fig. 5 is the embodiment of the present invention five mirror image data subwindow mapping schematic diagram with internal memory;
Fig. 6 is the embodiment of the present invention six user's blocks of data subwindow mapping schematic diagram with internal memory;
Fig. 7 is data sub-window the reflecting with internal memory that the embodiment of the present invention seven needs the data transmitted by network interface card
Penetrate schematic diagram;
Fig. 8 is the embodiment of the present invention eight child window module based on NTB block diagram;
Fig. 9 is the method flow schematic diagram of the embodiment of the present invention nine data transmission;
Figure 10 is the transmission device structure schematic diagram of the embodiment of the present invention ten data transmission;
Figure 11 is the reception device structure schematic diagram of the embodiment of the present invention 11 data transmission.
Detailed description of the invention
Embodiment of the present invention transmission equipment: the number of the particular data without protocol stack encapsulation sent as required
According to type, determine the subwindow that described particular data is corresponding in the window;Described particular data is written to window
In described subwindow corresponding in Kou;Address according to subwindow and the corresponding pass of reception device memory address
System, determines the reception device memory that the address of the described subwindow that described particular data is corresponding in the window is corresponding
Address;The reception device memory address determined is sent in reception equipment, and the described subwindow that will determine
Described particular data be sent to described reception equipment.Reception equipment: receive the reception from the equipment of transmission
Device memory address and particular data, wherein said reception device memory address is that described transmission equipment is according to depositing
Store up what the subwindow in the window of described particular data determined;Described specific data storages is determined to described
Receive in device memory address.Seal different types of without protocol stack owing to the embodiment of the present invention sends equipment
After the particular data of dress is written in different subwindows, device memory address will be received and particular data will send
To reception equipment, owing to need not that in whole data transmission procedure particular data is carried out protocol stack encapsulation,
And different types of data can be written in different subwindows by transmitting terminal, thus improve bandwidth usage
Rate, and improve data transmission efficiency.
Wherein, the data type of embodiment of the present invention particular data includes but not limited to following data type: system
Count, order data, mirror image data, user's blocks of data and network interface card transmission data etc..
Wherein, embodiment of the present invention protocol stack includes but not limited to following protocol stack: ICP/IP protocol stack etc..
Below in conjunction with Figure of description, the embodiment of the present invention is described in further detail.
As shown in Figure 2 a, the method for the embodiment of the present invention one data transmission includes:
The data class of the particular data without protocol stack encapsulation that step 200, transmission equipment send as required
Type, determines the subwindow that described particular data is corresponding in the window;
Described particular data is written in window the described subwindow of correspondence by step 201, described transmission equipment
In;
Step 202, described transmission equipment close according to address and the corresponding of reception device memory address of subwindow
System, determines the reception device memory that the address of the described subwindow that described particular data is corresponding in the window is corresponding
Address;
The reception device memory address determined is sent to reception equipment by step 203, described transmission equipment, and
Described particular data in the described subwindow that will determine is sent to described reception equipment.
As shown in Figure 2 b, the embodiment of the present invention two window is with the mapping schematic diagram of internal memory, knowable to Fig. 2 b,
Sending device window is divided into 5 subwindows, subwindow 1 to be statistical data subwindow, and subwindow 2 is mirror image
Data sub-window, subwindow 3 is the data sub-window of data needing to be transmitted by network interface card, and subwindow 4 is
Order data subwindow, subwindow 5 is user's blocks of data subwindow, and subwindow 1 is mapped to reception equipment
Memory address 1, subwindow 2 is mapped to the memory address 2 of reception equipment, and subwindow 3 is mapped to reception and sets
Standby memory address 3, subwindow 4 is mapped to the memory address 4 of reception equipment, and subwindow 5 is mapped to and connects
The memory address 5 of receiving unit;Receiving device window is divided into 5 subwindows, subwindow 1 to be statistical data
Window, subwindow 2 is mirror image data subwindow, and subwindow 3 is the number of data needing to be transmitted by network interface card
According to subwindow, subwindow 4 is order data subwindow, and subwindow 5 is user's blocks of data subwindow, sub-window
Mouth 1 is mapped to the memory address 1 of transmission equipment, and subwindow 2 is mapped to the memory address 2 of transmission equipment,
Subwindow 3 is mapped to the memory address 3 of transmission equipment, and subwindow 4 is mapped to the memory address of transmission equipment
4, subwindow 5 is mapped to the memory address 5 of transmission equipment.Arbitrary subwindow is all by high-speed bus passage
Data interaction is carried out with corresponding memory address.Fig. 2 b is only intended to citing, the number of actual subwindow
According to actual data type number determine, if there being the data of 4 types, window can be divided into 4
Individual subwindow, if there being the data of 6 types, can be divided into 6 subwindows by window.The present invention implements
The size of example window can be configured according to practical experience, it is also possible to child windows according to actual needs
Size is adjusted.
Such as: in figure 2b, the storage address of the window sending equipment is 1~500, depositing of subwindow 1
Storage address be 1~20, the storage address of subwindow 2 is 21~40, the storage address of subwindow 3 be 41~
60, the storage address of subwindow 4 is 61~80, and the storage address of subwindow 5 is 81~500.Reception sets
The standby memory address corresponding with sending device window is 100~600, and memory address 1 is 101~120, interior
Depositing address 2 is 121~140, and memory address 3 is 141~160, and memory address 4 is 161~180, interior
Depositing address 5 is 181~600.Transmission equipment after in subwindow 1 No. 5 storage address write data,
These data of write are stored in No. 105 storage address of memory address 1 by reception equipment.
The embodiment of the present invention sends equipment and is written to different types of data in different subwindows, and passes through
Different transmission modes sends the data in the corresponding subwindow of write, and concrete implementation mode is:
Mode one: described data type is statistical data;
Described particular data is written in window in the described subwindow of correspondence by described transmission equipment, including:
Described transmission equipment, according to statistical data type and the corresponding relation in subwindow region, determines described specific
The subwindow region that the statistical data type of data is corresponding;
Described particular data, according to the subwindow region determined, is written in window correspondence by described transmission equipment
Described subwindow in.
Embodiment of the present invention statistical data type includes but not limited to following type: CPU usage data, interior
Deposit occupancy data, network usage data and IO load data etc..
As it is shown on figure 3, the subwindow region of the embodiment of the present invention three statistical data subwindow is with the mapping of internal memory
Schematic diagram, as can be seen from Figure 3, sends facility statistics subwindow and is divided into 4 sub-window areas, subwindow
Region 1 is CPU (Central Processing Unit, CPU) occupancy data sub-window district
Territory, subwindow region 2 is memory usage data sub-window region, and subwindow region 3 is network usage
Data sub-window region, subwindow region 4 is IO (Input/Output, input/output) load data
Window area, subwindow region 1 is mapped to the memory address 11 of reception equipment, and subwindow region 2 is mapped to
The memory address 12 of reception equipment, subwindow region 3 is mapped to the memory address 13 of reception equipment, sub-window
Port area 4 is mapped to the memory address 14 of reception equipment.Arbitrary subwindow region of the equipment of transmission writes
During data, the data of write can be transferred in the corresponding memory address of reception equipment.Fig. 3 is only intended to lift
Example, the number in actual subwindow region according to actual statistical data type number determine, if there being 3 kinds
The statistical data of type, can be divided into 3 sub-window areas, if there being 6 kinds by statistical data subwindow
The statistical data of type, can be divided into 6 sub-window areas by statistical data subwindow.
Such as: in figure 3, after CPU usage data are written in subwindow region 1 by transmission equipment,
These CPU usage data of write are stored the relevant position in memory address 11 by reception equipment.
Mode two: described data type is order data;
Order data subwindow is divided into the command entry of several fixed sizes by the embodiment of the present invention, in order to
Process the data of fixed size, the concrete implementation by order data writing commands data sub-window every time
For:
Described transmission equipment determines command entry idle in described subwindow, and is written to by described particular data
In command entry idle in described subwindow.
The command entry of embodiment of the present invention free time is the command entry not being stored in data.
Order data, according to actual process needs, is being written to order data subwindow by the embodiment of the present invention
Before, order data being simply packaged into operation, concrete implementation mode is:
Described particular data is carried out package operation by described transmission equipment, command code and object module information is added
Enter in packet header;
After described particular data is written in window in the described subwindow of correspondence by described transmission equipment, also
Including:
Data mode traffic sign placement corresponding for the command entry storing described particular data is by described transmission equipment
Data prepare;
Described particular data in the described subwindow that described transmission equipment will determine is sent to described reception and sets
Standby, also include:
Described transmission equipment is by the described certain number after data mode mark corresponding for described command entry and encapsulation
According to sending jointly to described reception equipment, so that described reception equipment is determining that described data mode is masked as number
After preparing, particular data is sent to command code the object module that described object module information is corresponding.
The embodiment of the present invention sends equipment and the order data in order data subwindow is sent to reception equipment
After, reception equipment can carry out respective handling according to the order data received, and returns operating result, specifically
Implementation be:
Described transmission equipment is after the feedback information receiving described reception equipment and storage address, according to described
Described feedback information is stored in the feedback areas that command entry is corresponding by storage address;
Described transmission equipment, after the described feedback information stored is for completing information, will store described feedback information
The data mode traffic sign placement of command entry corresponding to feedback areas be that data complete;
Described transmission equipment determine needs after upper layer application reports, the data mode mark that data are completed
Feedback areas corresponding to command entry in after the feedback information of storage reports upper layer application, delete described order
Data in the feedback areas that item is corresponding with described command entry, using described command entry as idle command entry.
As shown in Figure 4, the command entry of the embodiment of the present invention four order data subwindow is illustrated with the mapping of internal memory
Figure, as can be seen from Figure 4, sending device command data sub-window has 4 command entrys and 4 command entrys one a pair
4 feedback areas answered, white hollow command entry is idle command entry (not being stored in the command entry of data),
Black lines grid command entry is the command entry being stored in data, and white hollow feedback areas is not for be stored in feedback
The feedback areas of information, black lines grid feedback areas is the feedback areas being stored in feedback information.Order
The corresponding feedback areas 211 of item 21, the corresponding feedback areas 212 of command entry 22, command entry 23 corresponding feedback district
Territory 213, the corresponding feedback areas 214 of command entry 24;The corresponding memory address of the memory address 211 of reception equipment
221, the corresponding memory address 222 of memory address 212, the corresponding memory address 223 of memory address 213, internal memory
The corresponding memory address 224 in address 214.The corresponding memory address 211 of command entry 21, feedback areas 211 are corresponding
Memory address 221, the corresponding memory address 212 of command entry 22, the corresponding memory address 222 of feedback areas 212,
The corresponding memory address 213 of command entry 23, the corresponding memory address 223 of feedback areas 213, command entry 24 is right
Answer the corresponding memory address 224 of memory address 214, feedback areas 214.Fig. 4 is only intended to citing, actual
Command entry and the number of feedback areas be determined, according to life according to actual order data subwindow size
Make data sub-window size, 100 command entrys and 100 feedback areas can be divided into order data subwindow,
According to order data subwindow size, it is also possible to order data subwindow is divided into 500 command entrys and 500
Feedback areas.
Such as: in the diagram, the order data after package is written in command entry 22 by transmission equipment, and
After the Data Identification of command entry 22 is set to data preparation, this order data of write is deposited by reception equipment
Store up in memory address 212, and according to the object module information in this order data packet header, by this command number
The object module corresponding according to being sent to object module information, object module will after processing according to order data
Feedback information is sent to transmission equipment, and feedback information and storage address are sent to transmission equipment by transmission equipment.
Feedback information is stored in feedback areas 212 by transmission equipment, and the Data Identification of just command entry 22 sets
It is set to data complete.Transmission equipment determine needs after upper layer application reports, the data shape that data are completed
After feedback information in the feedback areas 212 of command entry 22 correspondence of state mark reports upper layer application, delete
Except the feedback information in the order data in command entry 22 and feedback areas 212.
Mode three: described data type is mirror image data;
After described particular data is written in window in the described subwindow of correspondence by described transmission equipment, also
Including:
Described transmission equipment, according to the address of subwindow and the corresponding relation that sends device memory address, determines and writes
Enter the transmission device memory address that the described subwindow of described particular data is corresponding;
Described particular data, according to the transmission device memory address determined, is written to send by described transmission equipment
In device memory.
As it is shown in figure 5, the embodiment of the present invention five mirror image data subwindow is with the mapping schematic diagram of internal memory, from figure
5 understand, and sending equipment mirror image data subwindow has 12 items, and the item that white hollow item is idle (is not stored in
The item of data), black lines grid Xiang Weiyi is stored in the item of data.Item 301~item 312 correspond respectively to connect
The memory address 310 of receiving unit~memory address 312, white hollow memory address be idle memory address (not
It is stored in the memory address of data), black lines grid memory address is the memory address being stored in data.?
301~item 312 correspond respectively to memory address 310~the memory address 312 of transmission equipment, white hollow internal memory
Address is idle memory address (not being stored in the memory address of data), and black lines grid memory address is
It is stored in the memory address of data.Fig. 5 is only intended to citing, the item of actual mirror image data subwindow
The mirror image data subwindow size on several borders factually is determined, according to mirror image data subwindow size, permissible
Mirror image data subwindow is divided into 100 items, according to mirror image data subwindow size, it is also possible to mirror image data
Window is divided into 500 items.
Such as: in Figure 5, mirror image data is written to item 301, item 303, item 304, item by transmission equipment
307 and item 309 in after, reception equipment by write this mirror image data store memory address 301, internal memory
In address 303, memory address 304, memory address 307 and memory address 309, the equipment that receives was should
After mirror image data storage completes, this mirror image data is stored memory address 301, memory address by transmission equipment
303, in memory address 304, memory address 307 and memory address 309, so that sending in device memory
Mirror image data keeps consistent with the mirror image data received in device memory.
Mode four: described data type is user's blocks of data;
Described particular data is written in window in the described subwindow of correspondence by described transmission equipment, including:
Described transmission equipment determines that the Virtual Block Device that the block device needing to store described particular data is corresponding connects
Mouthful, and described particular data is carried out package operation, Virtual Block Device mark and/or block device mark are added
In packet header;
The described Virtual Block Device interface that described transmission equipment is determined by, by the described particular data after encapsulation
It is written in window in the described subwindow of correspondence;
Described particular data in the described subwindow that described transmission equipment will determine is sent to described reception and sets
Standby, including:
The described particular data after encapsulation in the described subwindow that described transmission equipment will determine is sent to institute
State reception equipment, so that the Virtual Block Device mark that described particular data is sent in packet header by described reception equipment
Know and/or the block device of block device mark correspondence.
The embodiment of the present invention send equipment will encapsulation after user's blocks of data be sent to reception equipment after, or receive
To the feedback data of reception equipment feedback, need after upper layer application reports determining, the feedback that will receive
Data report, and concrete implementation mode is:
In described transmission equipment feedback data after the encapsulation receiving described reception equipment and reception equipment
After depositing address, according to address and the corresponding relation of reception device memory address of subwindow, determine described feedback
The address of the subwindow that data reception device memory address in reception equipment is corresponding, the wherein institute after encapsulation
The packet header stating feedback data includes Virtual Block Device mark and/or block device mark;
Described feedback data is stored in the address of the described subwindow determined by described transmission equipment, and really
Described feedback data, after upper layer application reports, is identified by described Virtual Block Device and/or block sets by fixed needs
The Virtual Block Device interface that standby mark determines reports upper layer application.
The embodiment of the present invention is relatively big due to the data volume of user's blocks of data, can store with the form of a queue
With transmission, concrete implementation mode is:
It is preferred that described particular data is written in window the described subwindow of correspondence by described transmission equipment
In, including:
Described particular data is written in window the described sub-window of correspondence by described transmission equipment with queue form
In Kou;
Described particular data in the described subwindow that described transmission equipment will determine is sent to described reception and sets
Standby, including:
Multiple queuing data transmitted in parallel in the described subwindow that described transmission equipment will determine connect to described
Receiving unit.
As shown in Figure 6, the embodiment of the present invention six user's blocks of data subwindow with the mapping schematic diagram of internal memory, from
Fig. 6 understands, and the user's blocks of data subwindow sending equipment is connected with Virtual Block Device interface, user's blocks of data
Subwindow Zhong You data queue 1, data queue 3, data queue 3 and data queue 4;Transmission equipment has
Block device 1, block device 2 ... block device n (n is the positive integer more than 2), internal memory Zhong You data queue 5,
Data queue 6, data queue 7 and data queue 8.User's blocks of data subwindow of reception equipment is with virtual
Block device interface is connected, user blocks of data subwindow Zhong You data queue 5, data queue 6, data queue 7
With data queue 8;Reception equipment has block device 1, block device 2 ... (n more than 2 is just to block device n
Integer), internal memory Zhong You data queue 1, data queue 2, data queue 3 and data queue 4.Transmission sets
Data queue 1 in standby user's blocks of data subwindow corresponds to receive the data queue 1 in device memory,
Data queue 2 in user's blocks of data subwindow of transmission equipment is corresponding to receiving the data team in device memory
Row 2, send the data queue 3 in user's blocks of data subwindow of equipment corresponding to receiving in device memory
Data queue 3, sends the data queue 4 in user's blocks of data subwindow of equipment corresponding in reception equipment
Data queue 4 in depositing;Data queue 5 in user's blocks of data subwindow of reception equipment is corresponding to sending
Data queue 5 in device memory, receives the data queue 6 in user's blocks of data subwindow of equipment corresponding
In the data queue 6 sent in device memory, receive the data queue in user's blocks of data subwindow of equipment
7, corresponding to sending the data queue 7 in device memory, receive the number in user's blocks of data subwindow of equipment
According to queue 8 corresponding to sending the data queue 8 in device memory.Fig. 6 is only intended to citing, actual use
The number of the data queue in the blocks of data subwindow of family is carried out according to actual user's blocks of data subwindow size
Determine, according to user's blocks of data subwindow size, 50 data teams can be divided into user's blocks of data subwindow
Row, according to user's blocks of data subwindow size, it is also possible to user's blocks of data subwindow is divided into 170 data teams
Row.
Such as: in figure 6, user's blocks of data is written to the data of user's blocks of data subwindow by transmission equipment
After in queue 1~data queue 4, this user's blocks of data of write is stored the data in internal memory by reception equipment
In queue 1~data queue 4, reception equipment is after completing this user's blocks of data storage, by this user's block number
According to the block device being sent to correspondence.Block device sends feedback data to the equipment of reception, and reception equipment is receiving
Store after this feedback data being packaged after the feedback data of block device in user's blocks of data window
Data queue 5~data queue 8 in after, the feedback data after this encapsulation is stored in internal memory by transmission equipment
Data queue 5~data queue 8 in, and determine needs after upper layer application reports, by this feedback data
Identified by the Virtual Block Device in packet header and/or block device identifies the Virtual Block Device interface determined and reports
Upper layer application.
Mode five: described data type is that network interface card transmits data;
Described particular data is written in window in the described subwindow of correspondence by described transmission equipment, including:
Described particular data is packaged by described transmission equipment through protocol stack, and will be through by Microsoft Loopback Adapter
Cross the described particular data after protocol stack encapsulation and carry out MAC (Medium Access Control, media access
Control) encapsulation;
Described particular data after MAC is encapsulated by described transmission equipment is written in window corresponding described son
In window;
Described particular data in the described subwindow that described transmission equipment will determine is sent to described reception and sets
Standby, including:
The described particular data after MAC encapsulation in the described subwindow that described transmission equipment will determine passes through
Streaming fashion is sent to reception equipment.
The embodiment of the present invention, by increasing a Microsoft Loopback Adapter for transmission equipment and the equipment of reception, sends equipment energy
After carrying out protocol stack encapsulation and MAC encapsulation by needing the data transmitted by network interface card, the data after encapsulating
It is written to need in the data sub-window of data transmitted by network interface card, is sent to reception in streaming fashion and sets
Standby.Whole data transmission procedure realizes data by Microsoft Loopback Adapter rather than network card chip and transmits, thus
Reduce the hardware cost of system.
As it is shown in fig. 7, the embodiment of the present invention seven needs the data sub-window of the data transmitted by network interface card with interior
The mapping schematic diagram deposited, as can be seen from Figure 7, the data sub-window sending equipment is divided into some items, wherein,
White hollow square is idle item (can store data), and black lines grid square (is deposited for taking item
Storage data), first item of data sub-window is for storing the value of WP and RP, and the value of WP represents data
The position of the presently written data of subwindow, the value of RP represents the position of reception equipment current read request.From figure
Understand on 10, receive the internal memory a certain region data sub-window corresponding to transmission equipment of equipment, this memory field
Territory is also divided into some items, and wherein, white hollow square is idle item (can store data), black lines
Grid square is for taking item (having stored data), and first item of this region of memory is used for storing WP and RP
Value, the value of WP represents the position of the presently written data of data sub-window, the value of RP represent reception equipment work as
The position of front reading data.Data, when needs send data, are entered by transmission equipment by ICP/IP protocol stack
After the operation of row package, that is pointed to by the WP that the data after encapsulation are written in data sub-window is next idle
, and update the value of WP in data sub-window, and the WP value after updating be sent to reception equipment,
So that receiving the value of renewal of the equipment WP, after data have write, sending interrupt notification receive equipment;Receive
Equipment is had no progeny in receiving, and determines and has data to write, according to receiving in this region of memory of equipment
WP after RP and renewal, determines the storage address of the data write, and reads from the storage address determined
Take this data, then data are carried out de-packaging operation, determine the data type of data, after then unpacking
Data are sent to corresponding upper layer application.
The embodiment of the present invention sends equipment can carry out data interaction by high-speed bus passage with reception equipment,
Concrete implementation mode is:
It is preferred that the reception device memory address determined is sent to reception equipment by described transmission equipment, and will
Described particular data in the described subwindow determined is sent to described reception equipment, including:
The reception device memory address determined is sent to receive by described transmission equipment by high-speed bus passage
Described particular data in equipment, and the described subwindow that will be determined by high-speed bus passage is sent to described
Reception equipment.
Embodiment of the present invention high-speed bus passage can be PCI-E high-speed bus passage, PCI-E high-speed bus
Passage includes but not limited to following passage: NTB (Non Transparent Bridge, non-transparent bridge), TB
(Transparent Bridge, transparent bridge) etc..
As shown in Figure 8, the embodiment of the present invention eight child window module based on NTB block diagram, as it can be observed in the picture that
Transmission equipment or reception equipment include: statistical data subwindow, mirror image data subwindow, need to pass through network interface card
The data sub-window of data, order data subwindow and user's blocks of data subwindow of transmission, 5 subwindows
All it is connected with NTB.
As it is shown in figure 9, the method for the embodiment of the present invention nine data transmission includes:
Step 900, reception equipment receive the reception device memory address from the equipment of transmission and particular data,
Wherein said reception device memory address is that described transmission equipment is according in the window storing described particular data
Subwindow determine;
Step 901, described reception equipment by described specific data storages to the described reception device memory determined
In address.
The embodiment of the present invention receives equipment can receive different types of data, includes but not limited to following number
According to: statistical data, order data, mirror image data, user's blocks of data and network interface card transmission data.Reception equipment
After the different types of data received are stored in the reception device memory address determined, for some
Data need to carry out special processing procedure:
If described particular data is order data, the most described reception equipment by described specific data storages to described
After in the reception device memory address determined, also include:
Described reception equipment is after determining that the data mode that command entry is corresponding is masked as data preparation, by described spy
Given data is sent to the object module that described object module information is corresponding with command code;
Described reception equipment is after the feedback information receiving described object module feedback, by described feedback information
With storage address be sent to described transmission equipment so that described transmission equipment according to described storage address by described
Feedback information stores in the feedback areas that command entry is corresponding.
Such as: in the diagram, the order data that transmission equipment is written in command entry 22 is deposited by reception equipment
Store up in memory address 212, and according to the object module information in this order data packet header, by this command number
The object module corresponding according to being sent to object module information, object module will after processing according to order data
Feedback information is sent to transmission equipment, and feedback information and storage address are sent to transmission equipment by transmission equipment,
So that transmission equipment is according to feedback information and storage after address stores operation accordingly, determine need to
After upper layer application reports, feedback information is reported the order data in upper layer application, delete command item and anti-
Feedback information in feedback region.
If described particular data is user's blocks of data, the most described reception equipment by described specific data storages to institute
After stating in the reception device memory address determined, also include:
Described reception equipment determine need to send described particular data time, described particular data is sent to institute
State the Virtual Block Device mark in the packet header of particular data and/or the block device of block device mark correspondence;
Described reception equipment is receiving the feedback data of described block device feedback and is receiving device memory address
After, described feedback data is carried out package operation, Virtual Block Device mark and/or block device mark are joined
In packet header;
Described feedback data after encapsulation and reception device memory address are sent to described by described reception equipment
Transmission equipment, so that described feedback data is identified and/or block by described transmission equipment by described Virtual Block Device
The Virtual Block Device interface that device identification determines reports upper layer application.
Such as: in figure 6, transmission equipment is written to the data in user's blocks of data subwindow by reception equipment
User's blocks of data in queue 1~data queue 4 stores in the data queue 1 in internal memory~data queue 4,
Reception equipment is after completing this user's blocks of data storage, and the block that this user's blocks of data is sent to correspondence sets
Standby.Block device sends feedback data to the equipment of reception, and reception equipment is receiving the feedback coefficient from block device
According to rear, after this feedback data being packaged, store the data queue 5 in user's blocks of data window~data team
Row 8 feed back to transmission equipment, so that the feedback data after this encapsulation is carried out storage operation by transmission equipment,
And determining that this feedback data, after upper layer application reports, is reported upper layer application by needs.
If described particular data is network interface card transmits data, described specific data storages is arrived by the most described reception equipment
After in the described reception device memory address determined, also include:
Described particular data after MAC is encapsulated by described reception equipment carries out de-packaging operation, after unpacking
Described particular data is sent to the upper layer application that described particular data is corresponding.
Based on same inventive concept, the embodiment of the present invention additionally provides the transmission of a kind of data transmission equipment and
The reception equipment of a kind of data transmission, method corresponding to the equipment that sends transmitted due to the data of Figure 10 is this
The method of a kind of data of inventive embodiments transmission, receives, due to what the data of Figure 11 were transmitted, the side that equipment is corresponding
Method is the method for a kind of data of embodiment of the present invention transmission, and therefore the enforcement of embodiment of the present invention equipment can be joined
See the enforcement of system, repeat no more in place of repetition.
As shown in Figure 10, the transmission equipment of the embodiment of the present invention ten data transmission includes:
First determines module 1000, the number of the particular data without protocol stack encapsulation for sending as required
According to type, determine the subwindow that described particular data is corresponding in the window;
Writing module 1001, in the described subwindow that described particular data is written in window correspondence;
Second determines module 1002, for the address according to subwindow and the corresponding pass of reception device memory address
System, determines the reception device memory that the address of the described subwindow that described particular data is corresponding in the window is corresponding
Address;
Sending module 1003, for the reception device memory address determined being sent to reception equipment, and will really
The fixed described particular data in described subwindow is sent to described reception equipment.
It is preferred that described data type is statistical data;
Said write module 1001 specifically for:
According to statistical data type and the corresponding relation in subwindow region, determine the statistical number of described particular data
According to the subwindow region that type is corresponding;According to the subwindow region determined, described particular data is written to window
In described subwindow corresponding in Kou.
It is preferred that described data type is order data;
Said write module 1001 specifically for:
Determine command entry idle in described subwindow, and described particular data is written in described subwindow
In idle command entry.
It is preferred that said write module 1001 is additionally operable to:
Described particular data is carried out package operation, command code and object module information are joined in packet header;
Described second determines that module 1002 is additionally operable to:
It is that data prepare by data mode traffic sign placement corresponding for the command entry storing described particular data;
Described sending module 1003 is additionally operable to:
Described particular data after data mode mark corresponding for described command entry and encapsulation is sent jointly to
Described reception equipment, so that described reception equipment is after determining that described data mode is masked as data preparation, will
Particular data is sent to the object module that described object module information is corresponding with command code.
It is preferred that described sending module 1003 is additionally operable to:
After the feedback information receiving described reception equipment and storage address, according to described storage address by institute
State feedback information to store in the feedback areas that command entry is corresponding;At the described feedback information stored for completing letter
After breath, it is number by the data mode traffic sign placement of command entry corresponding for the feedback areas storing described feedback information
According to completing;Need after upper layer application reports determining, the command entry of the data mode mark that data are completed
After the feedback information of storage reports upper layer application in corresponding feedback areas, delete described command entry and described
Data in the feedback areas that command entry is corresponding, using described command entry as idle command entry.
It is preferred that described data type is mirror image data;
Said write module 1001 is additionally operable to:
Address according to subwindow and the corresponding relation of transmission device memory address, determine the described certain number of write
According to transmission device memory address corresponding to described subwindow;According to the transmission device memory address determined, will
Described particular data is written to send in device memory.
It is preferred that described data type is user's blocks of data;
Said write module 1001 specifically for:
Determine the Virtual Block Device interface that the block device needing to store described particular data is corresponding, and by described spy
Given data carries out package operation, Virtual Block Device mark and/or block device mark is joined in packet header;Pass through
The described Virtual Block Device interface determined, is written in window the institute of correspondence by the described particular data after encapsulation
State in subwindow;
Described sending module 1003 specifically for:
The described particular data after encapsulation in the described subwindow that will determine is sent to described reception equipment, with
The Virtual Block Device making described reception equipment be sent in packet header by described particular data identifies and/or block device
The block device that mark is corresponding.
It is preferred that described sending module 1003 is additionally operable to:
After feedback data after the encapsulation receiving described reception equipment and reception device memory address, according to
The address of subwindow and the corresponding relation of reception device memory address, determine that described feedback data is at reception equipment
In the address of subwindow corresponding to reception device memory address, the wherein bag of the described feedback data after encapsulation
Head includes Virtual Block Device mark and/or block device mark;Described feedback data is stored described in determining
In the address of subwindow, and determining that described feedback data, after upper layer application reports, is passed through described by needs
The Virtual Block Device interface that Virtual Block Device mark and/or block device mark determine reports upper layer application.
It is preferred that said write module 1001 specifically for:
With queue form, described particular data is written in window in the described subwindow of correspondence;
Described sending module 1003 specifically for:
Multiple queuing data transmitted in parallel in the described subwindow that will determine give described reception equipment.
It is preferred that described data type is network interface card transmits data;
Said write module 1001 specifically for:
Described particular data is packaged through protocol stack, and will be encapsulated through protocol stack by Microsoft Loopback Adapter
After described particular data carry out MAC encapsulation;Described particular data after being encapsulated by MAC is written to window
In described subwindow corresponding in Kou;
Described sending module 1003 specifically for:
The described particular data after MAC encapsulation in the described subwindow that will determine is sent by streaming fashion
To reception equipment.
It is preferred that described sending module 1003 specifically for:
By high-speed bus passage, the reception device memory address determined is sent to reception equipment, and by height
Described particular data in the described subwindow that speed bus run will determine is sent to described reception equipment.
As shown in figure 11, the reception equipment of the embodiment of the present invention 11 data transmission includes:
Receiver module 1100, for receiving the reception device memory address from the equipment of transmission and certain number
According to, wherein said reception device memory address is that described transmission equipment is according to the window storing described particular data
In subwindow determine;
Memory module 1101, is used for described specific data storages to the described reception device memory address determined
In.
It is preferred that described particular data is the one in following data:
Statistical data, order data, mirror image data, user's blocks of data and network interface card transmission data.
It is preferred that described particular data is order data;
Described memory module 1101 is additionally operable to:
After determining that the data mode that command entry is corresponding is masked as data preparation, by described particular data and order
Code is sent to the object module that described object module information is corresponding;Receiving the anti-of described object module feedback
After feedforward information, described feedback information and storage address are sent to described transmission equipment, so that described transmission sets
For according to described storage address, described feedback information being stored in the feedback areas that command entry is corresponding.
It is preferred that described particular data is user's blocks of data;
Described memory module 1101 is additionally operable to:
Determine need to send described particular data time, described particular data is sent to described particular data
Virtual Block Device mark in packet header and/or the block device of block device mark correspondence;Receiving described block device
After the feedback data of feedback and reception device memory address, described feedback data is carried out package operation, by void
Intend block device mark and/or block device mark joins in packet header;By the described feedback data after encapsulation and reception
Device memory address is sent to described transmission equipment, so that described feedback data is passed through institute by described transmission equipment
State Virtual Block Device mark and/or block device identifies the Virtual Block Device interface determined and reports upper layer application.
It is preferred that described particular data is network interface card transmits data;
Described memory module 1101 is additionally operable to:
Described particular data after being encapsulated by MAC carries out de-packaging operation, the described particular data after unpacking
It is sent to the upper layer application that described particular data is corresponding.
In sum, the embodiment of the present invention sends equipment by the different types of certain number without protocol stack encapsulation
After being written in different subwindows, reception device memory address and particular data are sent to reception and set
Standby, owing to need not particular data is carried out protocol stack encapsulation, and transmitting terminal in whole data transmission procedure
Different types of data can be written in different subwindows, thus improve bandwidth availability ratio, and improve
Data transmission efficiency.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or meter
Calculation machine program product.Therefore, the present invention can use complete hardware embodiment, complete software implementation or knot
The form of the embodiment in terms of conjunction software and hardware.And, the present invention can use and wherein wrap one or more
Computer-usable storage medium containing computer usable program code (include but not limited to disk memory,
CD-ROM, optical memory etc.) form of the upper computer program implemented.
The present invention is with reference to method, equipment (system) and computer program product according to embodiments of the present invention
The flow chart of product and/or block diagram describe.It should be understood that can by computer program instructions flowchart and
/ or block diagram in each flow process and/or flow process in square frame and flow chart and/or block diagram and/
Or the combination of square frame.These computer program instructions can be provided to general purpose computer, special-purpose computer, embedding
The processor of formula datatron or other programmable data processing device is to produce a machine so that by calculating
The instruction that the processor of machine or other programmable data processing device performs produces for realizing at flow chart one
The device of the function specified in individual flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and computer or the process of other programmable datas can be guided to set
In the standby computer-readable memory worked in a specific way so that be stored in this computer-readable memory
Instruction produce and include the manufacture of command device, this command device realizes in one flow process or multiple of flow chart
The function specified in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes
Sequence of operations step must be performed to produce computer implemented place on computer or other programmable devices
Reason, thus the instruction performed on computer or other programmable devices provides for realizing flow chart one
The step of the function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know base
This creativeness concept, then can make other change and amendment to these embodiments.So, appended right is wanted
Ask and be intended to be construed to include preferred embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification without deviating from this to the present invention
Bright spirit and scope.So, if the present invention these amendment and modification belong to the claims in the present invention and
Within the scope of its equivalent technologies, then the present invention is also intended to comprise these change and modification.
Claims (32)
1. the method for a data transmission, it is characterised in that the method includes:
The data type of the particular data without protocol stack encapsulation that transmission equipment sends as required, determines institute
State the subwindow that particular data is corresponding in the window;
Described particular data is written in window in the described subwindow of correspondence by described transmission equipment;
Described transmission equipment, according to the address of subwindow and the corresponding relation that receives device memory address, determines institute
State the reception device memory address that the address of particular data described subwindow corresponding in the window is corresponding;
The reception device memory address determined is sent to reception equipment, and the institute that will determine by described transmission equipment
State the described particular data in subwindow and be sent to described reception equipment.
2. the method for claim 1, it is characterised in that described data type is statistical data;
Described particular data is written in window in the described subwindow of correspondence by described transmission equipment, including:
Described transmission equipment, according to statistical data type and the corresponding relation in subwindow region, determines described specific
The subwindow region that the statistical data type of data is corresponding;
Described particular data, according to the subwindow region determined, is written in window correspondence by described transmission equipment
Described subwindow in.
3. the method for claim 1, it is characterised in that described data type is order data;
Described particular data is written in window in the described subwindow of correspondence by described transmission equipment, including:
Described transmission equipment determines command entry idle in described subwindow, and is written to by described particular data
In command entry idle in described subwindow.
4. method as claimed in claim 3, it is characterised in that described transmission equipment is by described certain number
Before being written in window in the described subwindow of correspondence, also include:
Described particular data is carried out package operation by described transmission equipment, command code and object module information is added
Enter in packet header;
After described particular data is written in window in the described subwindow of correspondence by described transmission equipment, also
Including:
Data mode traffic sign placement corresponding for the command entry storing described particular data is by described transmission equipment
Data prepare;
Described particular data in the described subwindow that described transmission equipment will determine is sent to described reception and sets
Standby, also include:
Described transmission equipment is by the described certain number after data mode mark corresponding for described command entry and encapsulation
According to sending jointly to described reception equipment, so that described reception equipment is determining that described data mode is masked as number
After preparing, particular data is sent to command code the object module that described object module information is corresponding.
5. method as claimed in claim 4, it is characterised in that described in described transmission equipment will determine
After described particular data in subwindow is sent to described reception equipment, also include:
Described transmission equipment is after the feedback information receiving described reception equipment and storage address, according to described
Described feedback information is stored in the feedback areas that command entry is corresponding by storage address;
Described transmission equipment, after the described feedback information stored is for completing information, will store described feedback information
The data mode traffic sign placement of command entry corresponding to feedback areas be that data complete;
Described transmission equipment determine needs after upper layer application reports, the data mode mark that data are completed
Feedback areas corresponding to command entry in after the feedback information of storage reports upper layer application, delete described order
Data in the feedback areas that item is corresponding with described command entry, using described command entry as idle command entry.
6. the method for claim 1, it is characterised in that described data type is mirror image data;
After described particular data is written in window in the described subwindow of correspondence by described transmission equipment, also
Including:
Described transmission equipment, according to the address of subwindow and the corresponding relation that sends device memory address, determines and writes
Enter the transmission device memory address that the described subwindow of described particular data is corresponding;
Described particular data, according to the transmission device memory address determined, is written to send by described transmission equipment
In device memory.
7. the method for claim 1, it is characterised in that described data type is user's blocks of data;
Described particular data is written in window in the described subwindow of correspondence by described transmission equipment, including:
Described transmission equipment determines that the Virtual Block Device that the block device needing to store described particular data is corresponding connects
Mouthful, and described particular data is carried out package operation, Virtual Block Device mark and/or block device mark are added
In packet header;
The described Virtual Block Device interface that described transmission equipment is determined by, by the described particular data after encapsulation
It is written in window in the described subwindow of correspondence;
Described particular data in the described subwindow that described transmission equipment will determine is sent to described reception and sets
Standby, including:
The described particular data after encapsulation in the described subwindow that described transmission equipment will determine is sent to institute
State reception equipment, so that the Virtual Block Device mark that described particular data is sent in packet header by described reception equipment
Know and/or the block device of block device mark correspondence.
8. method as claimed in claim 7, it is characterised in that described in described transmission equipment will determine
After described particular data after encapsulation in subwindow is sent to described reception equipment, also include:
In described transmission equipment feedback data after the encapsulation receiving described reception equipment and reception equipment
After depositing address, according to address and the corresponding relation of reception device memory address of subwindow, determine described feedback
The address of the subwindow that data reception device memory address in reception equipment is corresponding, the wherein institute after encapsulation
The packet header stating feedback data includes Virtual Block Device mark and/or block device mark;
Described feedback data is stored in the address of the described subwindow determined by described transmission equipment, and really
Described feedback data, after upper layer application reports, is identified by described Virtual Block Device and/or block sets by fixed needs
The Virtual Block Device interface that standby mark determines reports upper layer application.
9. method as claimed in claim 7, it is characterised in that described transmission equipment is by described certain number
According to being written in window in corresponding described subwindow, including:
Described particular data is written in window the described sub-window of correspondence by described transmission equipment with queue form
In Kou;
Described particular data in the described subwindow that described transmission equipment will determine is sent to described reception and sets
Standby, including:
Multiple queuing data transmitted in parallel in the described subwindow that described transmission equipment will determine connect to described
Receiving unit.
10. the method for claim 1, it is characterised in that described data type is that network interface card transmits number
According to;
Described particular data is written in window in the described subwindow of correspondence by described transmission equipment, including:
Described particular data is packaged by described transmission equipment through protocol stack, and will be through by Microsoft Loopback Adapter
Cross the described particular data after protocol stack encapsulation and carry out media access control MAC encapsulation;
Described particular data after MAC is encapsulated by described transmission equipment is written in window corresponding described son
In window;
Described particular data in the described subwindow that described transmission equipment will determine is sent to described reception and sets
Standby, including:
The described particular data after MAC encapsulation in the described subwindow that described transmission equipment will determine passes through
Streaming fashion is sent to reception equipment.
11. as arbitrary in claim 1~10 as described in method, it is characterised in that described transmission equipment will really
It is described specific that fixed reception device memory address is sent in reception equipment, and the described subwindow that will determine
Data are sent to described reception equipment, including:
The reception device memory address determined is sent to receive by described transmission equipment by high-speed bus passage
Described particular data in equipment, and the described subwindow that will be determined by high-speed bus passage is sent to described
Reception equipment.
The method of 12. 1 kinds of data transmission, it is characterised in that the method includes:
Reception equipment receives the reception device memory address from the equipment of transmission and particular data, wherein said
Receiving device memory address is that described transmission equipment is according to the subwindow in the window storing described particular data
Determine;
Described reception equipment is by described specific data storages to the described reception device memory address determined.
13. methods as claimed in claim 12, it is characterised in that described particular data is following data
In one:
Statistical data, order data, mirror image data, user's blocks of data and network interface card transmission data.
14. methods as claimed in claim 13, it is characterised in that described particular data is order data;
Described reception equipment by described specific data storages to the described reception device memory address determined it
After, also include:
Described reception equipment is after determining that the data mode that command entry is corresponding is masked as data preparation, by described spy
Given data is sent to the object module that described object module information is corresponding with command code;
Described reception equipment is after the feedback information receiving described object module feedback, by described feedback information
With storage address be sent to described transmission equipment so that described transmission equipment according to described storage address by described
Feedback information stores in the feedback areas that command entry is corresponding.
15. methods as claimed in claim 13, it is characterised in that described particular data is user's block number
According to;
Described reception equipment by described specific data storages to the described reception device memory address determined it
After, also include:
Described reception equipment determine need to send described particular data time, described particular data is sent to institute
State the Virtual Block Device mark in the packet header of particular data and/or the block device of block device mark correspondence;
Described reception equipment is receiving the feedback data of described block device feedback and is receiving device memory address
After, described feedback data is carried out package operation, Virtual Block Device mark and/or block device mark are joined
In packet header;
Described feedback data after encapsulation and reception device memory address are sent to described by described reception equipment
Transmission equipment, so that described feedback data is identified and/or block by described transmission equipment by described Virtual Block Device
The Virtual Block Device interface that device identification determines reports upper layer application.
16. methods as claimed in claim 13, it is characterised in that described particular data is network interface card transmission
Data;
Described reception equipment by described specific data storages to the described reception device memory address determined it
After, also include:
Described particular data after MAC is encapsulated by described reception equipment carries out de-packaging operation, after unpacking
Described particular data is sent to the upper layer application that described particular data is corresponding.
The transmission equipment of 17. 1 kinds of data transmission, it is characterised in that this transmission equipment includes:
First determines module, the data class of the particular data without protocol stack encapsulation for sending as required
Type, determines the subwindow that described particular data is corresponding in the window;
Writing module, in the described subwindow that described particular data is written in window correspondence;
Second determines module, for the address according to subwindow and the corresponding relation of reception device memory address,
Determine the reception device memory ground that the address of the described subwindow that described particular data is corresponding in the window is corresponding
Location;
Sending module, for the reception device memory address determined is sent to reception equipment, and will determine
Described particular data in described subwindow is sent to described reception equipment.
18. send equipment as claimed in claim 17, it is characterised in that described data type is statistics
Data;
Said write module specifically for:
According to statistical data type and the corresponding relation in subwindow region, determine the statistical number of described particular data
According to the subwindow region that type is corresponding;According to the subwindow region determined, described particular data is written to window
In described subwindow corresponding in Kou.
19. send equipment as claimed in claim 17, it is characterised in that described data type is order
Data;
Said write module specifically for:
Determine command entry idle in described subwindow, and described particular data is written in described subwindow
In idle command entry.
20. send equipment as claimed in claim 19, it is characterised in that said write module is additionally operable to:
Described particular data is carried out package operation, command code and object module information are joined in packet header;
Described second determines that module is additionally operable to:
It is that data prepare by data mode traffic sign placement corresponding for the command entry storing described particular data;
Described sending module is additionally operable to:
Described particular data after data mode mark corresponding for described command entry and encapsulation is sent jointly to
Described reception equipment, so that described reception equipment is after determining that described data mode is masked as data preparation, will
Particular data is sent to the object module that described object module information is corresponding with command code.
21. send equipment as claimed in claim 20, it is characterised in that described sending module is additionally operable to:
After the feedback information receiving described reception equipment and storage address, according to described storage address by institute
State feedback information to store in the feedback areas that command entry is corresponding;At the described feedback information stored for completing letter
After breath, it is number by the data mode traffic sign placement of command entry corresponding for the feedback areas storing described feedback information
According to completing;Need after upper layer application reports determining, the command entry of the data mode mark that data are completed
After the feedback information of storage reports upper layer application in corresponding feedback areas, delete described command entry and described
Data in the feedback areas that command entry is corresponding, using described command entry as idle command entry.
22. send equipment as claimed in claim 17, it is characterised in that described data type is mirror image
Data;
Said write module is additionally operable to:
Address according to subwindow and the corresponding relation of transmission device memory address, determine the described certain number of write
According to transmission device memory address corresponding to described subwindow;According to the transmission device memory address determined, will
Described particular data is written to send in device memory.
23. send equipment as claimed in claim 17, it is characterised in that described data type is user
Blocks of data;
Said write module specifically for:
Determine the Virtual Block Device interface that the block device needing to store described particular data is corresponding, and by described spy
Given data carries out package operation, Virtual Block Device mark and/or block device mark is joined in packet header;Pass through
The described Virtual Block Device interface determined, is written in window the institute of correspondence by the described particular data after encapsulation
State in subwindow;
Described sending module specifically for:
The described particular data after encapsulation in the described subwindow that will determine is sent to described reception equipment, with
The Virtual Block Device making described reception equipment be sent in packet header by described particular data identifies and/or block device
The block device that mark is corresponding.
24. send equipment as claimed in claim 23, it is characterised in that described sending module is additionally operable to:
After feedback data after the encapsulation receiving described reception equipment and reception device memory address, according to
The address of subwindow and the corresponding relation of reception device memory address, determine that described feedback data is at reception equipment
In the address of subwindow corresponding to reception device memory address, the wherein bag of the described feedback data after encapsulation
Head includes Virtual Block Device mark and/or block device mark;Described feedback data is stored described in determining
In the address of subwindow, and determining that described feedback data, after upper layer application reports, is passed through described by needs
The Virtual Block Device interface that Virtual Block Device mark and/or block device mark determine reports upper layer application.
25. send equipment as claimed in claim 23, it is characterised in that said write module is specifically used
In:
With queue form, described particular data is written in window in the described subwindow of correspondence;
Described sending module specifically for:
Multiple queuing data transmitted in parallel in the described subwindow that will determine give described reception equipment.
26. send equipment as claimed in claim 17, it is characterised in that described data type is network interface card
Transmission data;
Said write module specifically for:
Described particular data is packaged through protocol stack, and will be encapsulated through protocol stack by Microsoft Loopback Adapter
After described particular data carry out media access control MAC encapsulation;By MAC encapsulate after described specific
Data are written in window in the described subwindow of correspondence;
Described sending module specifically for:
The described particular data after MAC encapsulation in the described subwindow that will determine is sent by streaming fashion
To reception equipment.
27. as arbitrary in claim 17~26 as described in transmission equipment, it is characterised in that described sending module
Specifically for:
By high-speed bus passage, the reception device memory address determined is sent to reception equipment, and by height
Described particular data in the described subwindow that speed bus run will determine is sent to described reception equipment.
The reception equipment of 28. 1 kinds of data transmission, it is characterised in that this reception equipment includes:
Receiver module, for receiving the reception device memory address from the equipment of transmission and particular data, its
Described in receive device memory address be described transmission equipment according in the window storing described particular data
Subwindow determines;
Memory module, for by described specific data storages to the described reception device memory address determined.
29. receive equipment as claimed in claim 28, it is characterised in that described particular data is following
One in data:
Statistical data, order data, mirror image data, user's blocks of data and network interface card transmission data.
30. receive equipment as claimed in claim 29, it is characterised in that described particular data is order
Data;
Described memory module is additionally operable to:
After determining that the data mode that command entry is corresponding is masked as data preparation, by described particular data and order
Code is sent to the object module that described object module information is corresponding;Receiving the anti-of described object module feedback
After feedforward information, described feedback information and storage address are sent to described transmission equipment, so that described transmission sets
For according to described storage address, described feedback information being stored in the feedback areas that command entry is corresponding.
31. receive equipment as claimed in claim 29, it is characterised in that described particular data is user
Blocks of data;
Described memory module is additionally operable to:
Determine need to send described particular data time, described particular data is sent to described particular data
Virtual Block Device mark in packet header and/or the block device of block device mark correspondence;Receiving described block device
After the feedback data of feedback and reception device memory address, described feedback data is carried out package operation, by void
Intend block device mark and/or block device mark joins in packet header;By the described feedback data after encapsulation and reception
Device memory address is sent to described transmission equipment, so that described feedback data is passed through institute by described transmission equipment
State Virtual Block Device mark and/or block device identifies the Virtual Block Device interface determined and reports upper layer application.
32. receive equipment as claimed in claim 29, it is characterised in that described particular data is network interface card
Transmission data;
Described memory module is additionally operable to:
Described particular data after being encapsulated by MAC carries out de-packaging operation, the described particular data after unpacking
It is sent to the upper layer application that described particular data is corresponding.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510078538.9A CN105988948B (en) | 2015-02-13 | 2015-02-13 | A kind of method and apparatus of data transmission |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510078538.9A CN105988948B (en) | 2015-02-13 | 2015-02-13 | A kind of method and apparatus of data transmission |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105988948A true CN105988948A (en) | 2016-10-05 |
CN105988948B CN105988948B (en) | 2019-02-12 |
Family
ID=57042104
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510078538.9A Active CN105988948B (en) | 2015-02-13 | 2015-02-13 | A kind of method and apparatus of data transmission |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105988948B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106484652A (en) * | 2016-10-26 | 2017-03-08 | 郑州云海信息技术有限公司 | A kind of many queue communication method and system based on NTB hardware |
CN106549846A (en) * | 2016-11-03 | 2017-03-29 | 郑州云海信息技术有限公司 | A kind of communication means based on NBT hardware |
CN106549845A (en) * | 2016-10-26 | 2017-03-29 | 郑州云海信息技术有限公司 | A kind of communication means and system based on NTB hardware |
CN106951378A (en) * | 2017-03-20 | 2017-07-14 | 郑州云海信息技术有限公司 | A kind of non-transparent bridge reading/writing method and device based on direct write window scheme |
CN108304249A (en) * | 2017-12-26 | 2018-07-20 | 广东睿江云计算股份有限公司 | A kind of method, the system of XenServer virtual machines quick-replaceable CD ISO files |
CN109491840A (en) * | 2018-11-19 | 2019-03-19 | 郑州云海信息技术有限公司 | A kind of data transmission method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW564348B (en) * | 2001-12-07 | 2003-12-01 | Inst Information Industry | Dual processor management mechanism |
CN101202632A (en) * | 2006-12-13 | 2008-06-18 | 英业达股份有限公司 | System and method for data transmission of dual controller system and method of communication path selection |
CN101834796A (en) * | 2010-05-06 | 2010-09-15 | 中兴通讯股份有限公司 | Double-controller communication system and method |
CN102907070A (en) * | 2010-05-25 | 2013-01-30 | 西门子公司 | Method and apparatus for interchanging data, and network |
CN103428240A (en) * | 2012-05-18 | 2013-12-04 | 深圳市腾讯计算机系统有限公司 | Data transmission method and data transmission terminal |
-
2015
- 2015-02-13 CN CN201510078538.9A patent/CN105988948B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW564348B (en) * | 2001-12-07 | 2003-12-01 | Inst Information Industry | Dual processor management mechanism |
CN101202632A (en) * | 2006-12-13 | 2008-06-18 | 英业达股份有限公司 | System and method for data transmission of dual controller system and method of communication path selection |
CN101834796A (en) * | 2010-05-06 | 2010-09-15 | 中兴通讯股份有限公司 | Double-controller communication system and method |
CN102907070A (en) * | 2010-05-25 | 2013-01-30 | 西门子公司 | Method and apparatus for interchanging data, and network |
CN103428240A (en) * | 2012-05-18 | 2013-12-04 | 深圳市腾讯计算机系统有限公司 | Data transmission method and data transmission terminal |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106484652A (en) * | 2016-10-26 | 2017-03-08 | 郑州云海信息技术有限公司 | A kind of many queue communication method and system based on NTB hardware |
CN106549845A (en) * | 2016-10-26 | 2017-03-29 | 郑州云海信息技术有限公司 | A kind of communication means and system based on NTB hardware |
CN106484652B (en) * | 2016-10-26 | 2019-09-24 | 郑州云海信息技术有限公司 | A kind of more queue communication method and system based on NTB hardware |
CN106549846A (en) * | 2016-11-03 | 2017-03-29 | 郑州云海信息技术有限公司 | A kind of communication means based on NBT hardware |
CN106951378A (en) * | 2017-03-20 | 2017-07-14 | 郑州云海信息技术有限公司 | A kind of non-transparent bridge reading/writing method and device based on direct write window scheme |
CN108304249A (en) * | 2017-12-26 | 2018-07-20 | 广东睿江云计算股份有限公司 | A kind of method, the system of XenServer virtual machines quick-replaceable CD ISO files |
CN108304249B (en) * | 2017-12-26 | 2021-08-24 | 广东睿江云计算股份有限公司 | Method and system for rapidly replacing optical disk ISO file by XenServer virtual machine |
CN109491840A (en) * | 2018-11-19 | 2019-03-19 | 郑州云海信息技术有限公司 | A kind of data transmission method and device |
Also Published As
Publication number | Publication date |
---|---|
CN105988948B (en) | 2019-02-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105988948A (en) | Data transmission method and equipment | |
CN106664261B (en) | A kind of methods, devices and systems configuring flow entry | |
US10210113B2 (en) | SAN fabric online path diagnostics | |
CN106612306A (en) | Data sharing method and device of virtual machine | |
CN102185833B (en) | Fiber channel (FC) input/output (I/O) parallel processing method based on field programmable gate array (FPGA) | |
CN104484295B (en) | Receiver sliding window-based data transmission method in parallel computer system | |
US20060129699A1 (en) | Network interface adapter with shared data send resources | |
CN108234187B (en) | High-fidelity link simulation method for data message forwarding | |
CN110069441A (en) | A kind of FPGA network and stream calculation System and method for for stream calculation | |
CN103049240B (en) | PCI-E equipment and reception data reordering method thereof | |
CN105141603B (en) | Communication data transmission method and system | |
CN104539632B (en) | A kind of PN device management control method based on virtual address space | |
RU2011140978A (en) | METHOD AND DEVICE OF I / O ROUTING AND MAP | |
CN106062727A (en) | Virtual port mappings for non-blocking behavior among physical ports | |
CN109684269A (en) | A kind of PCIE exchange chip kernel and working method | |
JPH03131954A (en) | Method of converting identifier and control block selecting system | |
CN110120854A (en) | The method and apparatus for transmitting data | |
CN110121868A (en) | By the message transmission for being configured as accelerating the acceleration component of service | |
CN101304362B (en) | Retransmission buffering apparatus and data transmission method | |
CN106713010B (en) | A kind of communication means and system of avionics network system | |
CN103617021A (en) | Communication system and method of hardware abstraction layer of universal processor in software communication system structure | |
CN105391780A (en) | Data collection method and system, and data receiving method and system | |
CN107579894A (en) | A kind of EBR1553 bus protocol realization devices based on FPGA | |
CN110417687A (en) | A kind of message sends and receives method and device | |
CN107506324A (en) | Interconnecting device, telecommunication system, 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |