CN109672747A - A kind of data transmission method, device, equipment and computer readable storage medium - Google Patents
A kind of data transmission method, device, equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN109672747A CN109672747A CN201910002183.3A CN201910002183A CN109672747A CN 109672747 A CN109672747 A CN 109672747A CN 201910002183 A CN201910002183 A CN 201910002183A CN 109672747 A CN109672747 A CN 109672747A
- Authority
- CN
- China
- Prior art keywords
- data
- card
- bandwidth usage
- occupancy
- transmitted
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of data transmission methods, method includes the following steps: obtaining the bandwidth usage of each FC card between targeted memory controller when receiving data transfer request;According to the bandwidth usage of each FC card, the corresponding data to be transmitted of data transfer request is divided, obtains the corresponding target data block of each FC card;Each target data block is sent to targeted memory controller using each FC card.Using technical solution provided by the embodiment of the present invention, the reasonability divided to data is improved, the message transmission rate between server and storage control is significantly improved.The invention also discloses a kind of data transmission device, equipment and storage mediums, have relevant art effect.
Description
Technical field
The present invention relates to technical field of distributed memory, more particularly to a kind of data transmission method, device, equipment and meter
Calculation machine readable storage medium storing program for executing.
Background technique
The function of storage control is to receive the data of server, is then stored in the hard disk being connected with storage control
On.As shown in Figure 1, whole process is as follows: server issues data to storage control, to storage area network SAN, storage control
Device processed is connect by the optical fiber port in FC sonet card (Fibre Channel) with server, and the data of server are sended and received.
After storage control receives data, corresponding processing is done to data, finally data is fallen on and to be connected with storage control
On hard disk.
The observation of common FC card be using band merit, for some high-end scenes, in order to guarantee the visit of server
Ask speed, it will usually draw multilink on the server and be connected with storage control, as shown in Fig. 2, for common 16GFC
Card connects three FC mouthfuls, bandwidth can reach 48G multiplied by three if the bandwidth of a mouth is 16G.Multilink is main
There are two o'clock advantages: first is that front end bandwidth height (front end refers to server to this section of link of storage control);Second is due to preceding
The high bring additional benefit of bandwidth is held, rear end can hang more hard disks.So-called high-end user is exactly this big capacity hard disk, high
Under the scene of performance server, the connection type of server and storage control.
Under the scene that server is connected with storage control by multilink, for the scene of multilink usually
The distribution of flow will be managed using multi-route management software.That multi-path software solves is IO (Input and Output)
The problem of how flow selects in a plurality of data link.Most common data link selection mode is least bytes,
I.e. in specified path group, the least path of IO byte number is selected.But the size of IO byte number is only to influence in data link
One influence factor of data transmission efficiency, there are still data divide it is inappropriate, cause between server and storage control
The lower problem of message transmission rate.
In conclusion how to efficiently solve data divide it is inappropriate, lead to the number between server and storage control
The problems such as lower according to transmission rate is current those skilled in the art's urgent problem.
Summary of the invention
The object of the present invention is to provide a kind of data transmission method, the method increase the reasonability divided to data, compared with
The earth improves the message transmission rate between server and storage control;It is a further object of the present invention to provide a kind of data
Transmitting device, equipment and computer readable storage medium.
In order to solve the above technical problems, the invention provides the following technical scheme:
A kind of data transmission method, comprising:
When receiving data transfer request, the bandwidth usage of each FC card between targeted memory controller is obtained;
According to the bandwidth usage of each FC card, the corresponding data to be transmitted of the data transfer request is drawn
Point, obtain the corresponding target data block of each FC card;
Each target data block is sent to the targeted memory controller using each FC card.
In a kind of specific embodiment of the invention, according to the bandwidth usage of each FC card, the data are passed
It is defeated that corresponding data to be transmitted is requested to be divided, comprising:
Calculate the occupancy proportionate relationship between the bandwidth usage of each FC card;
The determining data division proportion being inversely proportional with the occupancy proportionate relationship;
The data to be transmitted is divided according to the data division proportion.
In a kind of specific embodiment of the invention, the bandwidth of each FC card is accounted between acquisition and targeted memory controller
After rate, according to the bandwidth usage of each FC card, the corresponding data to be transmitted of the data transfer request is drawn
/ preceding, further includes:
Judge whether there is the FC card that the bandwidth usage is greater than pre-set bandwidths occupancy;
If so, the FC card that the bandwidth usage is greater than the pre-set bandwidths occupancy is set as unavailable FC
Card;
According to the bandwidth usage of each FC card, the corresponding data to be transmitted of the data transfer request is drawn
Point, comprising:
It is corresponding to the data transfer request according to the bandwidth usage of each FC card in addition to the unavailable FC card
Data to be transmitted divided.
In a kind of specific embodiment of the invention, institute is all larger than in the bandwidth usage for determining each FC card
When stating pre-set bandwidths occupancy, further includes:
It sends the data to be transmitted in default queue and caches.
A kind of data transmission device, comprising:
Occupancy obtains module, each between targeted memory controller for obtaining when receiving data transfer request
The bandwidth usage of FC card;
Data block obtains module, corresponding to the data transfer request for the bandwidth usage according to each FC card
Data to be transmitted divided, obtain the corresponding target data block of each FC card;
Data block sending module is stored for each target data block to be sent to the target using each FC card
Controller.
In a kind of specific embodiment of the invention, it includes that data divide submodule, institute that the data block, which obtains module,
Stating data division submodule includes:
Occupancy ratio computing unit, the occupancy ratio between the bandwidth usage for calculating each FC card are closed
System;
Data division proportion determination unit divides ratio for the determining data being inversely proportional with the occupancy proportionate relationship
Example;
Data dividing unit, for being divided according to the data division proportion to the data to be transmitted.
In a kind of specific embodiment of the invention, further includes:
Judgment module, after the bandwidth usage for FC card each between acquisition and targeted memory controller, according to each
The bandwidth usage of the FC card judges whether before dividing to the corresponding data to be transmitted of the data transfer request
There are the FC cards that the bandwidth usage is greater than pre-set bandwidths occupancy;
FC card setting module, for when determine there are the bandwidth usage be greater than pre-set bandwidths occupancy FC card when,
The FC card that the bandwidth usage is greater than the pre-set bandwidths occupancy is set as unavailable FC card;
It is specially the bandwidth occupancy according to each FC card in addition to the unavailable FC card that the data, which divide submodule,
Rate, the module that the corresponding data to be transmitted of the data transfer request is divided.
In a kind of specific embodiment of the invention, further includes:
Data cache module, for determining that the bandwidth usage of each FC card is all larger than the pre-set bandwidths and accounts for
When with rate, sends the data to be transmitted in default queue and cache.
A kind of data transmission set, comprising:
Memory, for storing computer program;
Processor, the step of data transmission method as previously described is realized when for executing the computer program.
A kind of computer readable storage medium is stored with computer program on the computer readable storage medium, described
The step of data transmission method as previously described is realized when computer program is executed by processor.
Using data transmission method provided by the embodiment of the present invention, by servicing when receiving data transfer request
Device obtains the bandwidth usage of each FC card between targeted memory controller, is transmitted according to the bandwidth usage of each FC card to data
It requests corresponding data to be transmitted to be divided, obtains the corresponding target data block of each FC card, thus will using each FC card
Each target data block is sent to targeted memory controller.Only the least path of IO byte number is set to most in compared to the prior art
The path of transmission data to be transmitted, data transmission scheme provided herein eventually sufficiently combine different in each FC calliper lattice
In the case where, data to be transmitted is allocated to each FC card by the bandwidth usage of FC card, improved by the difference of data transmission capabilities
To the reasonability that data divide, the message transmission rate between server and storage control is significantly improved.
Correspondingly, the embodiment of the invention also provides data transmission device corresponding with above-mentioned data transmission method, setting
Standby and computer readable storage medium, has above-mentioned technique effect, and details are not described herein.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 structural schematic diagram that single path data are transmitted between server and storage control;
Fig. 2 structural schematic diagram that multi-path data transmits between server and storage control;
Fig. 3 is a kind of implementation flow chart of data transmission method in the embodiment of the present invention;
Fig. 4 is another implementation flow chart of data transmission method in the embodiment of the present invention;
Fig. 5 is another implementation flow chart of data transmission method in the embodiment of the present invention;
Fig. 6 is a kind of structural block diagram of data transmission device in the embodiment of the present invention;
Fig. 7 is a kind of structural block diagram of data transmission set in the embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, with reference to the accompanying drawings and detailed description
The present invention is described in further detail.Obviously, described embodiments are only a part of the embodiments of the present invention, rather than
Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise
Under every other embodiment obtained, shall fall within the protection scope of the present invention.
Embodiment one:
Referring to Fig. 3, Fig. 3 structural schematic diagram that single path data are transmitted between server and storage control, this method
It may comprise steps of:
S301: when receiving data transfer request, the bandwidth occupancy of each FC card between targeted memory controller is obtained
Rate.
Server can be connected by FC card with one or more storage controls, be asked when server receives data transmission
When asking, the bandwidth usage of each FC card between itself available targeted memory controller corresponding with data transfer request.
For example, the FC card that a bandwidth is 16G, when its practical bandwidth value reaches 8G, the bandwidth usage of FC card is 50%, when in fact
When border bandwidth value reaches 12G, the bandwidth usage of FC card is 75%.
It may include the identification information of targeted memory controller in data transfer request, server can be transmitted by data
The identification information of targeted memory controller searches targeted memory controller in request, may thereby determine that server and target store
FC card number between device, to further determine that the bandwidth usage of each FC card.
S302: according to the bandwidth usage of each FC card, the corresponding data to be transmitted of data transfer request is divided, is obtained
To the corresponding target data block of each FC card.
Data transfer request is being received, and after getting the bandwidth usage of each FC card, it can be according to each FC card
Bandwidth usage divides the corresponding data to be transmitted of data transfer request, carries out flow adjusting, obtains each FC card difference
Corresponding target data block.The division mode of data to be transmitted can be and treated according to the size of the bandwidth usage of each FC card
Transmission data are substantially divided, and divide relatively small number of data to the big FC card of bandwidth usage, small to bandwidth usage
FC card divides relatively large number of data, is also possible to the bandwidth usage according to each FC card, the data that should get to each FC card
Size is proportionally divided, and it is not limited in the embodiment of the present invention.
S303: each target data block is sent to targeted memory controller using each FC card.
Division completion is being carried out to data to be transmitted, after obtaining the corresponding target data block of each FC card, can use each
Each target data block is sent to targeted memory controller by FC card.The difference for having fully considered each FC card bandwidth itself, when two
When IO byte number is identical in FC card, if bandwidth of two FC cards itself is different, illustrate the bandwidth usage when the first two FC card
Difference, therefore the transmittability of two FC card current logarithmic evidences is also different, and passes through the bandwidth usage according to two FC cards
Data to be transmitted is allocated to two FC cards.The reasonability divided to data is improved, server and storage are significantly improved
Message transmission rate between controller improves IO performance.
Using data transmission method provided by the embodiment of the present invention, by servicing when receiving data transfer request
Device obtains the bandwidth usage of each FC card between targeted memory controller, is transmitted according to the bandwidth usage of each FC card to data
It requests corresponding data to be transmitted to be divided, obtains the corresponding target data block of each FC card, thus will using each FC card
Each target data block is sent to targeted memory controller.Only the least path of IO byte number is set to most in compared to the prior art
The path of transmission data to be transmitted, data transmission scheme provided herein eventually sufficiently combine different in each FC calliper lattice
In the case where, data to be transmitted is allocated to each FC card by the bandwidth usage of FC card, improved by the difference of data transmission capabilities
To the reasonability that data divide, the message transmission rate between server and storage control is significantly improved.
It should be noted that based on the above embodiment one, the embodiment of the invention also provides be correspondingly improved scheme.Rear
Involved in continuous embodiment with can mutually be referred between same steps or corresponding steps in above-described embodiment one, corresponding beneficial effect
Can also be cross-referenced, it is no longer repeated one by one in improvement embodiment below.
Embodiment two:
Referring to fig. 4, Fig. 4 is another implementation flow chart of data transmission method in the embodiment of the present invention, and this method can be with
The following steps are included:
S401: when receiving data transfer request, the bandwidth occupancy of each FC card between targeted memory controller is obtained
Rate.
S402: the FC card that bandwidth usage is greater than pre-set bandwidths occupancy is judged whether there is, if so, thening follow the steps
S403, if it is not, then being divided according to the bandwidth usage of each FC card to the corresponding data to be transmitted of data transfer request.
A bandwidth usage value can be preset, when the bandwidth usage of FC card is greater than pre-set bandwidths occupancy,
Illustrate that the FC card is in busy condition, step S403 can be executed in this case.Otherwise illustrate that the bandwidth of each FC card is located
It, can be according to the bandwidth usage of each FC card, number to be transmitted corresponding to data transfer request in relatively less busy state
According to being divided.
It should be noted that pre-set bandwidths occupancy can be set and be adjusted according to the actual situation, the present invention is implemented
Example does not limit this, and performs provided by the multiple embodiment of the present invention as worked as according to the pre-set bandwidths occupancy of a certain setting
It, can be with when the case where technical solution, the actual bandwidth occupancy for each FC card occur is all larger than pre-set bandwidths occupancy is more frequent
It is appropriate to increase pre-set bandwidths occupancy.
S403: the FC card that bandwidth usage is greater than pre-set bandwidths occupancy is set as unavailable FC card.
It is determining there are after the FC card that bandwidth usage is greater than pre-set bandwidths occupancy, bandwidth usage can be greater than
The FC card of pre-set bandwidths occupancy is set as unavailable FC card.So as to alleviate the busy degree of the FC card, avoid due to FC
FC card service life reduction caused by the bandwidth usage of card is excessively high.
S404: corresponding to data transfer request to be passed according to the bandwidth usage of each FC card in addition to unavailable FC card
Transmission of data is divided, and the corresponding target data block of each FC card is obtained.
It, can be according to removing after the FC card that bandwidth usage is greater than pre-set bandwidths occupancy is set as unavailable FC card
The bandwidth usage of each FC card outside unavailable FC card, divides the corresponding data to be transmitted of data transfer request, obtains
The corresponding target data block of each FC card in addition to unavailable FC card.
S405: each target data block is sent to targeted memory controller using each FC card.
In a kind of specific embodiment of the invention, pre-set bandwidths are all larger than in the bandwidth usage for determining each FC card and are accounted for
When with rate, this method may also comprise the following steps::
It sends data to be transmitted in default queue and caches.
If the bandwidth usage of each FC card is compared with pre-set bandwidths occupancy, the bandwidth usage of each FC card is big
In pre-set bandwidths occupancy, illustrate that current each FC card is in opposite busy condition, in such a case, it is possible to by number to be transmitted
It is cached, wait FC card of the memory bandwidths occupancy lower than pre-set bandwidths occupancy and then is led to according to being sent in default queue
It crosses corresponding FC card and sends targeted memory controller for data to be transmitted.
Embodiment three:
Referring to Fig. 5, Fig. 5 is another implementation flow chart of data transmission method in the embodiment of the present invention, and this method can be with
The following steps are included:
S501: when receiving data transfer request, the bandwidth occupancy of each FC card between targeted memory controller is obtained
Rate.
S502: the occupancy proportionate relationship between the bandwidth usage of each FC card is calculated.
After the bandwidth usage for getting each FC card, the occupancy between the bandwidth usage of each FC card can be calculated
Proportionate relationship facilitates the occupancy proportionate relationship between the subsequent bandwidth usage according to each FC card to draw data to be transmitted
Point.
S503: the determining data division proportion being inversely proportional with occupancy proportionate relationship.
After occupancy proportionate relationship between the bandwidth usage that each FC card is obtained by calculation, it can determine and account for
The data division proportion being inversely proportional with rate proportionate relationship facilitates and subsequent draws according to the data division proportion to data to be transmitted
Point.
S504: dividing data to be transmitted according to data division proportion, obtains the corresponding number of targets of each FC card
According to block.
It, can be according to data division proportion after the data division proportion for determining to be inversely proportional with occupancy proportionate relationship
Data to be transmitted is divided, the corresponding target data block of each FC card is obtained.In such a case, it is possible to ensure to treat
The reasonability that data divide is transmitted, so as to accelerate the transmission rate to data to be transmitted.
S505: each target data block is sent to targeted memory controller using each FC card.
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of data transmission devices, are described below
Data transmission device can correspond to each other reference with above-described data transmission method.
Referring to Fig. 6, Fig. 6 is a kind of structural block diagram of data transmission device in the embodiment of the present invention, the apparatus may include:
Occupancy obtains module 61, for obtaining between targeted memory controller when receiving data transfer request
The bandwidth usage of each FC card;
Data block obtains module 62, corresponding to data transfer request to be passed for the bandwidth usage according to each FC card
Transmission of data is divided, and the corresponding target data block of each FC card is obtained;
Data block sending module 63, for each target data block to be sent to targeted memory controller using each FC card.
Using data transmission device provided by the embodiment of the present invention, by servicing when receiving data transfer request
Device obtains the bandwidth usage of each FC card between targeted memory controller, is transmitted according to the bandwidth usage of each FC card to data
It requests corresponding data to be transmitted to be divided, obtains the corresponding target data block of each FC card, thus will using each FC card
Each target data block is sent to targeted memory controller.Only the least path of IO byte number is set to most in compared to the prior art
The path of transmission data to be transmitted, data transmission scheme provided herein eventually sufficiently combine different in each FC calliper lattice
In the case where, data to be transmitted is allocated to each FC card by the bandwidth usage of FC card, improved by the difference of data transmission capabilities
To the reasonability that data divide, the message transmission rate between server and storage control is significantly improved.
In a kind of specific embodiment of the invention, it includes that data divide submodule, data that data block, which obtains module 62,
Dividing submodule includes:
Occupancy ratio computing unit, the occupancy proportionate relationship between bandwidth usage for calculating each FC card;
Data division proportion determination unit, for the determining data division proportion being inversely proportional with occupancy proportionate relationship;
Data dividing unit, for being divided according to data division proportion to data to be transmitted.
In a kind of specific embodiment of the invention, further includes:
Judgment module, after the bandwidth usage for FC card each between acquisition and targeted memory controller, according to each
The bandwidth usage of FC card judges whether there is bandwidth before dividing to the corresponding data to be transmitted of data transfer request
Occupancy is greater than the FC card of pre-set bandwidths occupancy;
FC card setting module, for when determine there are bandwidth usage be greater than pre-set bandwidths occupancy FC card when, by band
The FC card that wide occupancy is greater than pre-set bandwidths occupancy is set as unavailable FC card;
It is specially to be transmitted according to the bandwidth usage of each FC card in addition to unavailable FC card to data that data, which divide submodule,
The module for requesting corresponding data to be transmitted to be divided.
In a kind of specific embodiment of the invention, further includes:
Data cache module, for when determining that the bandwidth usage of each FC card is all larger than pre-set bandwidths, by number to be transmitted
It is cached according to being sent in default queue.
Corresponding to above method embodiment, referring to Fig. 7, Fig. 7 is the schematic diagram of equipment provided by the present invention, the equipment
May include:
Memory 71, for storing computer program;
Processor 72 can realize following steps when for executing the computer program of the above-mentioned storage of memory 71:
When receiving data transfer request, the bandwidth usage of each FC card between targeted memory controller is obtained;Root
According to the bandwidth usage of each FC card, the corresponding data to be transmitted of data transfer request is divided, it is right respectively to obtain each FC card
The target data block answered;Each target data block is sent to targeted memory controller using each FC card.
Above method embodiment is please referred to for the introduction of equipment provided by the invention, this will not be repeated here by the present invention.
It is computer-readable the present invention also provides a kind of computer readable storage medium corresponding to above method embodiment
It is stored with computer program on storage medium, can realize following steps when computer program is executed by processor:
When receiving data transfer request, the bandwidth usage of each FC card between targeted memory controller is obtained;Root
According to the bandwidth usage of each FC card, the corresponding data to be transmitted of data transfer request is divided, it is right respectively to obtain each FC card
The target data block answered;Each target data block is sent to targeted memory controller using each FC card.
The computer readable storage medium may include: USB flash disk, mobile hard disk, read-only memory (Read-Only
Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. is various to deposit
Store up the medium of program code.
Above method embodiment is please referred to for the introduction of computer readable storage medium provided by the invention, the present invention exists
This is not repeated them here.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with it is other
The difference of embodiment, same or similar part may refer to each other between each embodiment.For being filled disclosed in embodiment
It sets, for equipment and computer readable storage medium, since it is corresponded to the methods disclosed in the examples, so the comparison of description
Simply, reference may be made to the description of the method.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure
And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond the scope of this invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor
The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
Used herein a specific example illustrates the principle and implementation of the invention, and above embodiments are said
It is bright to be merely used to help understand technical solution of the present invention and its core concept.It should be pointed out that for the common of the art
, without departing from the principle of the present invention, can be with several improvements and modifications are made to the present invention for technical staff, these
Improvement and modification are also fallen within the protection scope of the claims of the present invention.
Claims (10)
1. a kind of data transmission method characterized by comprising
When receiving data transfer request, the bandwidth usage of each FC card between targeted memory controller is obtained;
According to the bandwidth usage of each FC card, the corresponding data to be transmitted of the data transfer request is divided, is obtained
To the corresponding target data block of each FC card;
Each target data block is sent to the targeted memory controller using each FC card.
2. data transmission method according to claim 1, which is characterized in that according to the bandwidth usage of each FC card,
The corresponding data to be transmitted of the data transfer request is divided, comprising:
Calculate the occupancy proportionate relationship between the bandwidth usage of each FC card;
The determining data division proportion being inversely proportional with the occupancy proportionate relationship;
The data to be transmitted is divided according to the data division proportion.
3. data transmission method according to claim 1, which is characterized in that each between acquisition and targeted memory controller
It is corresponding to the data transfer request to be passed according to the bandwidth usage of each FC card after the bandwidth usage of FC card
Before transmission of data is divided, further includes:
Judge whether there is the FC card that the bandwidth usage is greater than pre-set bandwidths occupancy;
If so, the FC card that the bandwidth usage is greater than the pre-set bandwidths occupancy is set as unavailable FC card;
According to the bandwidth usage of each FC card, the corresponding data to be transmitted of the data transfer request is divided, is wrapped
It includes:
According to the bandwidth usage of each FC card in addition to the unavailable FC card, it is corresponding to the data transfer request to
Transmission data are divided.
4. data transmission method according to claim 3, which is characterized in that accounted in the bandwidth for determining each FC card
When being all larger than the pre-set bandwidths occupancy with rate, further includes:
It sends the data to be transmitted in default queue and caches.
5. a kind of data transmission device characterized by comprising
Occupancy obtains module, for obtaining each FC card between targeted memory controller when receiving data transfer request
Bandwidth usage;
Data block obtain module, for the bandwidth usage according to each FC card, it is corresponding to the data transfer request to
Transmission data are divided, and the corresponding target data block of each FC card is obtained;
Data block sending module, for each target data block to be sent to the target storage control using each FC card
Device.
6. data transmission device according to claim 5, which is characterized in that it includes that data are drawn that the data block, which obtains module,
Molecular modules, the data divide submodule and include:
Occupancy ratio computing unit, the occupancy proportionate relationship between bandwidth usage for calculating each FC card;
Data division proportion determination unit, for the determining data division proportion being inversely proportional with the occupancy proportionate relationship;
Data dividing unit, for being divided according to the data division proportion to the data to be transmitted.
7. data transmission device according to claim 6, which is characterized in that further include:
Judgment module, after the bandwidth usage for FC card each between acquisition and targeted memory controller, according to each described
The bandwidth usage of FC card judges whether there is before dividing to the corresponding data to be transmitted of the data transfer request
The bandwidth usage is greater than the FC card of pre-set bandwidths occupancy;
FC card setting module, for when determine there are the bandwidth usage be greater than pre-set bandwidths occupancy FC card when, by institute
The FC card that bandwidth usage is stated greater than the pre-set bandwidths occupancy is set as unavailable FC card;
The data divide the bandwidth usage that submodule is specially each FC card of the basis in addition to the unavailable FC card, right
The module that the corresponding data to be transmitted of the data transfer request is divided.
8. data transmission device according to claim 7, which is characterized in that further include:
Data cache module, for determining that the bandwidth usage of each FC card is all larger than the pre-set bandwidths occupancy
When, it sends the data to be transmitted in default queue and caches.
9. a kind of data transmission set characterized by comprising
Memory, for storing computer program;
Processor, realizing the data transmission method as described in any one of Claims 1-4 when for executing the computer program
Step.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program realizes the step of the data transmission method as described in any one of Claims 1-4 when the computer program is executed by processor
Suddenly.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910002183.3A CN109672747A (en) | 2019-01-02 | 2019-01-02 | A kind of data transmission method, device, equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910002183.3A CN109672747A (en) | 2019-01-02 | 2019-01-02 | A kind of data transmission method, device, equipment and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109672747A true CN109672747A (en) | 2019-04-23 |
Family
ID=66146729
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910002183.3A Pending CN109672747A (en) | 2019-01-02 | 2019-01-02 | A kind of data transmission method, device, equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109672747A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110413459A (en) * | 2019-06-24 | 2019-11-05 | 苏州浪潮智能科技有限公司 | Recognition methods, device, equipment and the readable storage medium storing program for executing of external PHY card |
CN111884921A (en) * | 2020-07-16 | 2020-11-03 | 济南浪潮数据技术有限公司 | Communication method, system, equipment and computer readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1211853A2 (en) * | 2000-11-29 | 2002-06-05 | Akara Corporation | Fiber channel flow control method and apparatus for interfacing to a metropolitan area network |
CN107196864A (en) * | 2014-08-12 | 2017-09-22 | 烽火通信科技股份有限公司 | A kind of multichannel FC business long distance transmitters based on FPGA |
CN107306192A (en) * | 2016-04-18 | 2017-10-31 | 中国移动通信集团广东有限公司 | A kind of service data transmission method, device and system |
CN108738078A (en) * | 2018-06-25 | 2018-11-02 | 北斗地网(重庆)科技集团有限公司 | A kind of transmission side data subtraction unit, equipment and readable storage medium storing program for executing |
CN108831531A (en) * | 2018-06-07 | 2018-11-16 | 滨州学院 | A kind of long-range processing method of adaptive medical image and application system based on cloud computing |
-
2019
- 2019-01-02 CN CN201910002183.3A patent/CN109672747A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1211853A2 (en) * | 2000-11-29 | 2002-06-05 | Akara Corporation | Fiber channel flow control method and apparatus for interfacing to a metropolitan area network |
CN107196864A (en) * | 2014-08-12 | 2017-09-22 | 烽火通信科技股份有限公司 | A kind of multichannel FC business long distance transmitters based on FPGA |
CN107306192A (en) * | 2016-04-18 | 2017-10-31 | 中国移动通信集团广东有限公司 | A kind of service data transmission method, device and system |
CN108831531A (en) * | 2018-06-07 | 2018-11-16 | 滨州学院 | A kind of long-range processing method of adaptive medical image and application system based on cloud computing |
CN108738078A (en) * | 2018-06-25 | 2018-11-02 | 北斗地网(重庆)科技集团有限公司 | A kind of transmission side data subtraction unit, equipment and readable storage medium storing program for executing |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110413459A (en) * | 2019-06-24 | 2019-11-05 | 苏州浪潮智能科技有限公司 | Recognition methods, device, equipment and the readable storage medium storing program for executing of external PHY card |
CN110413459B (en) * | 2019-06-24 | 2023-01-10 | 苏州浪潮智能科技有限公司 | External PHY card identification method, device, equipment and readable storage medium |
CN111884921A (en) * | 2020-07-16 | 2020-11-03 | 济南浪潮数据技术有限公司 | Communication method, system, equipment and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7796519B2 (en) | Dynamic bandwidth allocation circuit, dynamic bandwidth allocation method, optical network unit, PON system, dynamic bandwidth allocation program and recording medium | |
CN107818056B (en) | Queue management method and device | |
US9225668B2 (en) | Priority driven channel allocation for packet transferring | |
US20160092272A1 (en) | Congestion avoidance in network storage device using dynamic weights | |
KR100775406B1 (en) | Apparatus and method for performing dma data transfer | |
CN109417514B (en) | Message sending method and device and storage equipment | |
CN109861920A (en) | A kind of method and device of elasticity current limliting | |
CN103810133A (en) | Dynamic shared read buffer management | |
CN110602156A (en) | Load balancing scheduling method and device | |
WO2007004159A2 (en) | Method and apparatus for bandwidth efficient and bounded latency packet buffering | |
US9680931B1 (en) | Message passing for low latency storage networks | |
GB2493601A (en) | Dynamic resource allocation for transaction requests issued by initiator to recipient devices. | |
WO2020143434A1 (en) | Read/write request processing method and apparatus, electronic device, and storage medium | |
CN109672747A (en) | A kind of data transmission method, device, equipment and computer readable storage medium | |
CN108874324A (en) | A kind of access request processing method, device, equipment and readable storage medium storing program for executing | |
CN103955436A (en) | Data processing device and terminal | |
CN109656836A (en) | A kind of data processing method and device | |
US20100296520A1 (en) | Dynamic quality of service adjustment across a switching fabric | |
CN107113323B (en) | Data storage method, device and system | |
US20050125563A1 (en) | Load balancing device communications | |
CN106101184A (en) | A kind of document down loading method and playback equipment | |
CN104750614B (en) | Method and apparatus for managing memory | |
CN113268329A (en) | Request scheduling method, device and storage medium | |
WO2023184991A1 (en) | Traffic management and control method and apparatus, and device and readable storage medium | |
CN109451008B (en) | Multi-tenant bandwidth guarantee framework and cost optimization method under cloud platform |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190423 |