CN105376178B - A kind of method and apparatus of data transmission - Google Patents

A kind of method and apparatus of data transmission Download PDF

Info

Publication number
CN105376178B
CN105376178B CN201510887810.8A CN201510887810A CN105376178B CN 105376178 B CN105376178 B CN 105376178B CN 201510887810 A CN201510887810 A CN 201510887810A CN 105376178 B CN105376178 B CN 105376178B
Authority
CN
China
Prior art keywords
data
data packet
transmission
flow
packet
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.)
Active
Application number
CN201510887810.8A
Other languages
Chinese (zh)
Other versions
CN105376178A (en
Inventor
张娇
汪硕
黄韬
刘江
潘恬
杨帆
刘韵洁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN201510887810.8A priority Critical patent/CN105376178B/en
Publication of CN105376178A publication Critical patent/CN105376178A/en
Application granted granted Critical
Publication of CN105376178B publication Critical patent/CN105376178B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/52Queue scheduling by attributing bandwidth to queues
    • H04L47/527Quantum based scheduling, e.g. credit or deficit based scheduling or token bank
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation

Abstract

The embodiment of the invention discloses a kind of method and apparatus of data transmission, applied to the terminal in data center network, target data stream is sent to destination party by the first interchanger by terminal, scheme includes: that the domain TOS to be sent of terminal acquisition target data stream is defaulted as the data packet of the first numerical value, from enlivening in stream description table for storage, determine that the target data stream currently uploads flow, judge that the target data stream currently uploads whether flow is more than preset flow numerical value, the domain TOS of corresponding modification data packet, the data packet is sent to the first interchanger, so that the first interchanger is after receiving data packet, according to the domain TOS of data packet, determine data transfer mode, and destination party is sent data packets to according to identified data transfer mode.It may be implemented to determine the data flow comprising different flow different transmission modes transmits included data packet using the embodiment of the present invention, not only can guarantee the safety of data transmission, but also the rapidity of energy improve data transfer.

Description

A kind of method and apparatus of data transmission
Technical field
The present invention relates to computer communication field, in particular to a kind of method and apparatus of data transmission.
Background technique
With the rapid development and rise of the business such as data mining, cloud computing, Webpage search, Internet provider is constantly Dilatation is carried out to data center.Data center is a whole set of complicated facility, it not only include computer system and it is other with Matched equipment (such as communication and storage system), also data communication connection, environmental control equipment, monitoring comprising redundancy set Standby and various safety devices.The service traffics and number of devices of data center are continuously increased, thus to data center network It is required that being also increasingly stringenter.Data center network allows for providing two-way bandwidth for business to meet different business demands. There is long-tail distribution in the flow of data center, 20% or so long stream contributes to about 80% flow, and 80% it is short Stream produces about 20% flow, wherein and the data flow that the quantity of data packet is higher than a certain predetermined threshold is referred to as long stream, without It is known as short stream higher than the data flow of the predetermined threshold, and predetermined threshold can value according to the actual situation.For Webpage search etc. For business, network delay is required harsh, it is desirable that stream time delay is within a few tens of milliseconds, and the business such as data mining are to Netowrk tape Wide requirement is high, and big bandwidth is needed to support data copy.As it can be seen that for data center network, data transmission method Quality directly affects the service quality of data center network.
In the prior art, a kind of method of data transmission is to may be implemented using equal cost multipath ECMP in equivalent situation Under, the purpose of load balance and link backup.In ECMP, maintenance itself forwarding strategy of each node disjoint.Number It according to stream in forwarding, is forwarded immediately by the interchanger passed through, this random forwarding tool bears the character of much blindness, cannot basis Whole network condition selects Optimization route link.This method is as lacking caused by the perception to total network links utilization power Uncertain and blindness, is unfavorable for the flow scheduling of service experience and overall network of the user in request content, is easy Existing certain link transmission data amounts are excessive, link congestion, and then the case where packet loss occur.
In the prior art, the method for another data transmission is software defined network SDN.The core technology of SDN is OpenFlow agreement, OpenFlow agreement can separate the control ability of the network equipment with forwarding capability, and then will control Function processed is focused in long-range control equipment and is completed, and interchanger is only responsible in the data forwarding for locally doing simple high speed.But In face of the ever-expanding situation of data center's scale, the performance of OpenFlow agreement is unable to satisfy wanting for data center's convection current It asks.OpenFlow flow setup delay is excessive, for each stream, two round-trip delays can be all undergone, for data center's net The relatively small short stream of data traffic in network, this time delay can not put up with.At this moment, when the stream of OpenFlow agreement is established Postponing a meeting or conference influences the quality of delay sensitive business in data center network.And excessive data volume, but also the place of control equipment The pressure for managing data is excessive.
As it can be seen that both having guaranteed the safety of data transmission in data transmission procedure, guarantee the quick of data transmission again Property, it is a urgent problem to be solved.
Summary of the invention
The embodiment of the invention discloses a kind of method and apparatus of data transmission, may be implemented to the number comprising different flow Determine that different transmission mode transmits included data packet according to stream, with guarantee data transmission it is safe while, improve number According to the rapidity of transmission.Concrete scheme is as follows:
In a first aspect, the embodiment of the invention provides a kind of methods of data transmission, applied in data center network Target data stream is sent to destination party by the first interchanger by terminal, the terminal, which comprises
The data packet to be sent of target data stream is obtained, the domain TOS of the data packet is defaulted as the first numerical value;
The target data stream is determined from enlivening in stream description table for storage by the traffic identifier of the target data stream It is current to upload flow;Wherein, it is described enliven in stream description table record have the target data stream for not uploading completion it is current on spread The corresponding relationship of amount and corresponding traffic identifier;
Whether the current upload flow for judging the target data stream is more than preset flow numerical value, if so, by the number It is changed to second value according to the domain TOS of packet, otherwise, keeping the domain TOS of the data packet is first numerical value;
The data packet is sent to the first interchanger, so that first interchanger is receiving the data packet Afterwards, according to the domain TOS of the data packet, data transfer mode is determined, and will be described according to the data transfer mode determined Data packet is sent to destination party, wherein the data transfer mode are as follows: the data packet institute in the domain TOS with the first numerical value Second class transmission mode corresponding to corresponding first kind transmission mode or the data packet in the domain TOS with second value, The first kind transmission mode is the first transmission path determined according to equal cost multipath ECMP, second class transmission side Formula is the second transmission path determined according to control equipment.
Preferably, the terminal storage, which has, completes stream description table, a kind of data transmission provided by the embodiment of the present invention Method further include:
After uploading each data packet for completing the target data stream, update it is described enliven it is described in stream description table The current upload flow of target data stream;
After uploading the last one data packet for completing the target data stream, by the traffic identifier and current upload flow It is transferred in the completion stream description table, the traffic identifier completed record in stream description table and have the target data stream for uploading completion And total flow, wherein the total flow is equal to the current upload flow.
Preferably, a kind of method of data transmission provided by the embodiment of the present invention further include:
From the completion stream description table of storage, determine the numerical value of the total flow put in order from small to large in it is first pre- If the first-class magnitude of digit and the second magnitude of the second presetting digit capacity;
According to the first-class magnitude and the second magnitude, the preset flow numerical value is determined, wherein utilize meter Calculation mode are as follows:
The preset flow numerical value=(the second magnitude-first-class magnitude) * predetermined coefficient+second Magnitude.
Second aspect, the embodiment of the invention provides a kind of methods of data transmission, applied in data center network Target data stream is sent to destination party by first interchanger by the first interchanger, terminal, which comprises
Receive the data packet in the target data stream that the terminal is sent, wherein the domain TOS of the data packet is defaulted as the One numerical value, after the current upload flow of the target data stream is more than preset flow numerical value, the domain the TOS change of the data packet For second value, otherwise, the domain TOS of the data packet remains first numerical value;
According to the domain TOS of the data packet, data transfer mode is determined, wherein the data transfer mode are as follows: have the The number in first kind transmission mode corresponding to the data packet in the domain TOS of one numerical value or the domain TOS with second value According to the second corresponding class transmission mode of packet, the first kind transmission mode is to be passed according to first that equal cost multipath ECMP is determined Defeated path transmission, the second class transmission mode are the second transmission path determined according to control equipment;
The data packet is sent to destination party according to identified data transfer mode.
Preferably, data packet carrying package mark, the data transfer mode according to determined by is by the data packet It is sent to destination party, comprising:
When the data transfer mode determined is first kind transmission mode, local whether have existed about institute judged The first transmission path of data packet is stated, if it does, directly transmitting the data packet, otherwise, the first transmission is determined according to ECMP Path, and with data packet described in first transmission path;
When the data transfer mode determined is the second class transmission mode, local whether have existed about institute judged The second transmission path of data packet is stated, if it does, the directly data packet according to second transmission path, otherwise, Packet mark is sent to control equipment, so that the control equipment determines the second transmission path of the data packet, and First interchanger is fed back to, in turn, first interchanger receives second transmission path, according to second transmission Data packet described in path transmission.
Preferably, the control equipment determines the second transmission path of the data packet, comprising:
The control equipment receives the packet mark that first interchanger is sent;
At least one alternate transmission road of the corresponding data packet of the packet mark is determined in the way of depth-first search Diameter;
From at least one alternate transmission paths, according to greedy training in rotation dispatching algorithm, determine that the data packet institute is right The second transmission path answered.
Preferably, recording the use shape of all links in data center network described in simultaneously real-time update in the control equipment Condition, the behaviour in service include: link current residual forwarding rate and the item number there is currently data flow;
It is described from least one alternate transmission paths, according to greedy training in rotation dispatching algorithm, determine the data packet The second corresponding transmission path, comprising:
According to the behaviour in service of all links included at least one alternate transmission paths, every is calculated alternatively The path length Metric value of transmission path, wherein the Metric value takes all chains that the alternate transmission paths are included The minimum value of [link current residual forwarding rate/(there is currently the item numbers+1 of data flow)] in road;
Determine that the maximum alternate transmission paths of path length Metric value are the second transmission path, so that first exchange Machine data packet according to second transmission path.
The third aspect, the embodiment of the invention also provides a kind of devices of data transmission, are applied in data center network Terminal, target data stream is sent to destination party by the first interchanger by the terminal, and described device includes: that data packet obtains Module, current upload flow determining module, judgment module and the first packet sending module;
The data packet obtains module: for obtaining the data packet to be sent of target data stream, the TOS of the data packet Domain is defaulted as the first numerical value;
The current upload flow determining module: for enlivening in stream description table from storage, pass through the target data The traffic identifier of stream determines that the target data stream currently uploads flow;Wherein, it is described enliven in stream description table record and have do not upload The corresponding relationship of current the upload flow and corresponding traffic identifier of the target data stream of completion;
The judgment module: for judging whether the current upload flow of the target data stream is more than preset flow number Value, if so, the domain TOS of the data packet is changed to second value, otherwise, it is described for keeping the domain TOS of the data packet First numerical value;
First packet sending module: for the data packet to be sent to the first interchanger, so that described One interchanger, according to the domain TOS of the data packet, determines data transfer mode after receiving the data packet, and according to institute The data packet is sent to destination party by the data transfer mode determined, wherein the data transfer mode are as follows: has first First kind transmission mode corresponding to the data packet in the domain TOS of numerical value or the data in the domain TOS with second value The second corresponding class transmission mode of packet, the first kind transmission mode are the first transmission determined according to equal cost multipath ECMP Path transmission, the second class transmission mode are the second transmission path determined according to control equipment.
Fourth aspect, the embodiment of the invention also provides a kind of devices of data transmission, are applied in data center network The first interchanger, target data stream is sent to destination party by first interchanger by terminal, and described device includes: data Packet receiving module, data transfer mode determining module and the second packet sending module;
The packet-receiving module: for receiving the data packet in the target data stream that the terminal is sent, wherein institute The domain TOS for stating data packet is defaulted as the first numerical value, when the current upload flow of the target data stream is more than preset flow numerical value Afterwards, the domain TOS of the data packet is changed to second value, and otherwise, the domain TOS of the data packet remains first numerical value;
The data transfer mode determining module: for the domain TOS according to the data packet, determining data transfer mode, Wherein, the data transfer mode are as follows: first kind transmission mode corresponding to the data packet in the domain TOS with the first numerical value Or the second class transmission mode corresponding to the data packet in the domain TOS with second value, the first kind transmission mode are According to the first transmission path that equal cost multipath ECMP is determined, the second class transmission mode is to be determined according to control equipment The second transmission path;
Second packet sending module: for being sent to the data packet according to identified data transfer mode Destination party.
Preferably, the data packet carrying package mark, second packet sending module are specifically used for:
When the data transfer mode determined is first kind transmission mode, local whether have existed about institute judged The first transmission path of data packet is stated, if it does, directly transmitting the data packet, otherwise, the first transmission is determined according to ECMP Path, and with data packet described in first transmission path;
When the data transfer mode determined is the second class transmission mode, local whether have existed about institute judged The second transmission path of data packet is stated, if it does, the directly data packet according to second transmission path, otherwise, Packet mark is sent to control equipment, so that the control equipment determines the second transmission path of the data packet, and First interchanger is fed back to, in turn, first interchanger receives second transmission path, according to second transmission Data packet described in path transmission.In the present solution, the domain TOS to be sent that terminal obtains target data stream is defaulted as the first numerical value Data packet has the correspondence of current the upload flow and corresponding traffic identifier of the target data stream for not uploading completion from the record of storage Relationship is enlivened in stream description table, by the traffic identifier of the target data stream, is determined that the target data stream currently uploads flow, is sentenced The target data stream of breaking currently uploads whether flow is more than preset flow numerical value, according to judging result, corresponding modification data packet The data packet is sent to the first interchanger by the domain TOS, so that first interchanger is after receiving the data packet, according to this The domain TOS of data packet determines data transfer mode, and the data packet is sent to mesh according to the data transfer mode determined Side, with realize different transmission modes is determined to the data flow comprising different flow, to transmit included in the data flow Data packet, with guarantee data transmit it is safe while, the rapidity of improve data transfer.Certainly, implement of the invention appoint One product or method must be not necessarily required to reach all the above advantage simultaneously.
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 is a kind of flow diagram of the method for data transmission provided by angle of the embodiment of the present invention from terminal;
Fig. 2 shows for a kind of another process of the method for data transmission provided by angle of the embodiment of the present invention from interchanger It is intended to;
Fig. 3 is a kind of structural schematic diagram of the device of data transmission provided by angle of the embodiment of the present invention from terminal;
Fig. 4 shows for a kind of another structure of the device of data transmission provided by angle of the embodiment of the present invention from interchanger It is intended to.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The embodiment of the present invention from the angle of terminal and the angle of interchanger each provide a kind of method that data are transmitted and Device determines different transmission modes to the data flow comprising different flow to realize, to transmit included in the data flow Data packet, with guarantee data transmit it is safe while, the rapidity of improve data transfer.
In a first aspect, the embodiment of the invention provides a kind of methods of data transmission from the angle of terminal.
A kind of method of the transmission of data provided by the embodiment of the present invention should applied to the terminal in data center network Target data stream is sent to destination party by the first interchanger by terminal, in practical applications, the terminal can for desktop computer, Laptop, tablet computer and smart phone.
As shown in Figure 1, a kind of method of data transmission provided by the embodiment of the present invention, may include steps of:
S101: obtaining the data packet to be sent of target data stream, and the domain TOS of the data packet is defaulted as the first numerical value;
It should be noted that in practical applications, domain TOS (terms of service-terms of service) of the data packet It is defaulted as the first numerical value, is all binary numeral in view of data used in computer, which can be “0”。
It should be noted that any data stream all can serve as target data stream when using the embodiment of the present invention, this Inventive embodiments are not defined target data stream.
S102: from enlivening in stream description table for storage, by the traffic identifier of the target data stream, the target data stream is determined It is current to upload flow;Wherein, this enlivens the current upload flow that record in stream description table has the target data stream for not uploading completion With the corresponding relationship of corresponding traffic identifier;
It should be noted that the terminal storage has one to enliven stream description table, this, which enlivens record in stream description table, the end The corresponding relationship of current the upload flow and corresponding traffic identifier of all target data streams for not uploading completion is held, meanwhile, This enlivens some relevant informations that all target data streams for not uploading completion of the terminal are also recorded in stream description table, specifically It is as shown in table 1,
Table 1
Number Flow Data
1 Flow1 1M
2 Flow2 2M
…… …… ……
(1) Number list item is that this enlivens the number of the target data stream recorded in stream description table in table 1;
(2) in table 1 Flow list item be this with enlivening the source IP address of the target data stream recorded in stream description table, Target IP Location, source port and destination port;
(3) Data list item is that this enlivens the current upload flow of the target data stream recorded in stream description table in table 1.
S103: judging that the target data stream currently uploads whether flow is more than preset flow numerical value, if so, executing step Otherwise S104 executes step S105;
Wherein it is determined that after the target data stream currently uploads flow, it can be determined that the target data stream currently uploads flow Whether it is more than preset flow numerical value, and according to different processing results, executes different operations.Specifically, when judging the mesh When mark data flow currently uploads flow more than preset flow numerical value, show the target data stream for long stream, at this point it is possible to execute step Rapid S104;And when judging that the target data stream currently uploads flow and is less than preset flow numerical value, show the target data Stream is short stream, at this point it is possible to directly execute step S105.
Wherein, preset flow numerical value can be empirical value, can also be determined based on subsequent completion stream description table, specific true Determine that mode is subsequent to be will be described etc., this is all reasonable.
S104: the domain TOS of the data packet is changed to second value, and executes step S105;
It should be noted that when judging that the target data stream currently uploads flow more than preset flow numerical value, in view of Data used in computer are all binary numeral, which can be " 1 ".
It should be noted that the setting of the preset flow numerical value, can be sent out according to the terminal in the time range of setting The total flow for each data flow sent is configured, can also be according to the terminal institute in the performance of the terminal, the time range of setting The total flow and the network condition in data center network of each data flow sent are configured, specifically, the terminal storage Have and completes stream description table, a kind of method of data transmission provided by the embodiment of the present invention, further includes:
After uploading each data packet for completing the target data stream, updates this and enliven the number of targets in stream description table According to the current upload flow of stream;
After uploading the last one data packet for completing the target data stream, by the traffic identifier and current upload flow unloading Into the completion stream description table, which, which describes record in table, the traffic identifier for uploading the target data stream completed and total stream Amount, wherein the total flow is equal to the current upload flow.
It is understood that the terminal is responsible for when a target data stream of terminal starts to send first data packet It enlivens and adds corresponding list item in stream description table at this, for recording the size for the data that the target data stream is uploaded and failing to be sold at auction Know, after a data packet is completed in every upload in the target data stream, update the current upload flow of the corresponding target data stream, After the target data stream, which uploads, completes the last one data packet, which is responsible for adding list item in completing stream description table, remembers The total flow and traffic identifier for recording the target data stream, then enliven from this and delete the corresponding of the target data stream in stream description table The traffic identifier and the current flow that uploads are transferred in the completion stream description table by list item, which is equal to the current upload Flow.
Wherein, it is not only stored with one in the terminal and enlivens stream description table, be also stored with a completion flow and describe table, it should Complete traffic identifier and total flow that flow describes the target data stream for the upload completion that record in table has the terminal all, wherein The total flow is equal to the current upload flow, meanwhile, it is complete that all uploads of the terminal are also recorded in the completion stream description table At target data stream some relevant informations, it is specific as shown in table 2,
Table 2
Number Flow Data
1 Flow1 1M
2 Flow2 2M
…… …… ……
(1) Number list item is the number of the target data stream recorded in the completion stream description table in table 1;
(2) Flow list item is the source IP address of target data stream that records in the completion stream description table, Target IP in table 1 Location, source port and destination port;
(3) Data list item is the total flow of the target data stream recorded in the completion stream description table in table 1.
Further, in the embodiment of the present invention according to this enliven the target data stream recorded in stream description table it is current on The amount of spreading decides whether to change the domain TOS of the data packet, when one data packet of every upload in the target data stream, in the work Current upload flow corresponding to the target data stream is found out in jump stream description table, compares the current upload flow and this is default The size of flow number, when the current upload flow is greater than the preset flow numerical value, in the target data stream next The domain TOS of the data packet of biography is changed to second value from the first numerical value of default.For the preset flow as flow threshold The setting of numerical value, the method for the transmission of data provided by the embodiment of the present invention, further includes:
From the completion stream description table of storage, determine the numerical value of the total flow put in order from small to large in it is first default The first-class magnitude of digit and the second magnitude of the second presetting digit capacity;
According to the first-class magnitude and the second magnitude, the preset flow numerical value is determined, wherein utilized calculation Are as follows:
The preset flow numerical value=(the second magnitude-first-class magnitude) * predetermined coefficient+second magnitude.
For example, when determining the presetting digit capacity in a manner of percentage, " Data " completed in stream description table is found out The 25%th digit (the first presetting digit capacity) Q1 (first-class magnitude) and the 75%th digit (the second presetting digit capacity) Q2 (first Flow value), it is assumed that the relevant information that n data stream is had recorded in the completion stream description table has recorded n data in " Data " The total flow of stream sorts n data from small to large, and 0≤p < 1, p indicate presetting digit capacity, when np is not integer, takes the The flow value that [np] is+1 takes the half of the sum of the flow value of [np] and the position [np+1], wherein [np] when np is integer Indicate the integer part of np.When directly choosing the presetting digit capacity of the integer expression, 35 are had recorded as worked as in the completion stream description table The relevant information of data stream, the first presetting digit capacity take the 2nd, and the second presetting digit capacity takes the 30th, can be directly pre- using this If flow value corresponding to digit calculates the preset flow numerical value.
It should be noted that the data flow can be claimed after the total flow of the data flow is more than the preset flow numerical value For long stream, when the total flow of the data flow is less than the preset flow numerical value, which can be known as to short stream, actually answered It is especially big for the long expense flowed when determining transmission path in, use the side for the data transmission that the embodiment of the present invention provided Method can reduce the number of long stream, so as to be confirmed to be the few as far as possible of the data flow of long stream, save data transmission cost.
It is understood that in embodiments of the present invention, can timing or the update of the not timing preset flow numerical value, this It is all reasonable.
S105: being sent to the first interchanger for the data packet, so that first interchanger is after receiving the data packet, According to the domain TOS of the data packet, data transfer mode is determined, and sent out the data packet according to the data transfer mode determined It send to destination party.
Wherein, data transfer mode are as follows: the transmission of the first kind corresponding to the data packet in the domain TOS with the first numerical value Second class transmission mode corresponding to mode or the data packet in the domain TOS with second value, the first kind transmission mode are According to the first transmission path that equal cost multipath ECMP is determined, which is to be determined according to control equipment Second transmission path.
It should be noted that the first kind transmission side corresponding to the data packet for determining the domain TOS with the first numerical value When formula, which calls ECMP forwarding logic, forwarding table is calculated, so that the data packet is passed according to the forwarding table Defeated, the transmission path of the data packet in all domains TOS with the first numerical value in the presence of the target data stream is all consistent, is Transmission path corresponding to the forwarding table.The second class corresponding to the data packet for determining the domain TOS with second value passes When defeated mode, which is determined by controller.
Second aspect, as shown in Fig. 2, being applied to data the embodiment of the invention also provides a kind of method of data transmission Target data stream is sent to destination party by first interchanger by the first interchanger in central site network, terminal, and this method can To include:
It should be noted that any one is exchanged with the terminal for sending data apart from nearest in data center network Machine all can serve as the first interchanger, not be defined to first interchanger in the embodiment of the present invention.
S201: the data packet in the target data stream of terminal transmission is received;Wherein, the domain TOS of the data packet is defaulted as First numerical value, after the current upload flow of the target data stream is more than preset flow numerical value, the domain TOS of the data packet is changed to Second value, otherwise, the domain TOS of the data packet remain first numerical value.
It should be noted that the terminal start in the form of data packet send data, generate target data stream, through this first Target data stream is sent to destination party by interchanger, which receives the number in the target data stream of terminal transmission According to packet;If the current upload flow of the target data stream has been more than the preset flow numerical value, terminal is by the subsequent number of the data flow It is changed to second value from the first numerical value of default according to the domain TOS of packet, if the current upload flow of the target data stream is less than The preset flow numerical value, the domain TOS of the data packet remain first numerical value, wherein changing the domain TOS of the data packet can adopt With the prior art, therefore not to repeat here.
S202: according to the domain TOS of the data packet, data transfer mode is determined;
Wherein, data transfer mode are as follows: the transmission of the first kind corresponding to the data packet in the domain TOS with the first numerical value Second class transmission mode corresponding to mode or the data packet in the domain TOS with second value, the first kind transmission mode are According to the first transmission path that equal cost multipath ECMP is determined, which is to be determined according to control equipment Second transmission path.
It is understood that after first interchanger receives the data packet in the target data stream of terminal transmission, solution The domain TOS for analysing the data packet, obtains the relevant information in the domain TOS, and then first interchanger is according to the domain TOS of the data packet, Determine data transfer mode, wherein the relevant information for parsing the domain TOS of the data packet and obtaining the domain TOS of the data packet can be with Using the prior art, therefore not to repeat here.
S203: the data packet is sent to by destination party according to identified data transfer mode.
Specifically, the data packet carrying package identifies, the data transfer mode according to determined by sends the data packet To destination party, may include:
When the data transfer mode determined is first kind transmission mode, local whether have existed about this judged Otherwise first transmission path of data packet, determines the first transmission path according to ECMP if it does, directly transmitting the data packet, And with first transmission path data packet;
When the data transfer mode determined is the second class transmission mode, local whether have existed about this judged Second transmission path of data packet, if it does, directly according to second transmission path data packet, otherwise, by the packet Mark is sent to control equipment so that the control equipment determines the second transmission path of the data packet, and feed back to this first Interchanger, in turn, first interchanger receive second transmission path, according to second transmission path data packet.
It should be noted that determining that data transfer mode is when the TOS for determining the data packet is the first numerical value of default First kind transmission mode first determines whether local the first transmission path with the presence or absence of about the data packet, if it does, can be straight It connects and transmits the data packet, if it does not, the data can be calculated using ECMP according to the data packet in first interchanger First transmission path of packet, then according to first transmission path data packet;When the TOS for determining the data packet is second It when numerical value, determines that data transfer mode is the second class transmission mode, first determines whether local the with the presence or absence of about the data packet Two transmission paths, if it does, the data packet can directly be transmitted, if it does not, the packet mark of the data packet is sent to Equipment is controlled, so that the control equipment determines the second transmission path of the data packet, and feeds back to first interchanger, in turn, First interchanger is according to second transmission path data packet received.
Specifically, the control equipment determines the second transmission path of the data packet, may include:
The control equipment receives the packet mark of first interchanger transmission;
The control equipment utilization depth-first search mode determines at least one standby of the corresponding data packet of packet mark Select transmission path;
The control equipment, according to greedy training in rotation dispatching algorithm, determines the data from least one alternate transmission paths The second corresponding transmission path of packet.
It should be noted that the control equipment receive first interchanger transmission the data packet packet mark after, Depth-first search mode is used from the start node (terminal for sending the data packet) for sending the data packet according to packet mark The destination node (terminal for receiving the data packet) for receiving the data packet is extended to layer by layer, determines the corresponding data of packet mark At least one alternate transmission paths of packet;And then the control equipment is from least one alternate transmission paths of the determination, according to Greedy training in rotation dispatching algorithm determines the second transmission path corresponding to the data packet, specifically, recording simultaneously in the control equipment The behaviour in service of all links in the real-time update data center network, the behaviour in service include: link current residual forwarding speed Rate and item number there is currently data flow;
It is described from least one alternate transmission paths, according to greedy training in rotation dispatching algorithm, determine that data packet institute is right The second transmission path answered may include:
According to the behaviour in service of all links included at least one alternate transmission paths, every alternative biography is calculated The path length Metric value in defeated path, wherein [chain in all links that the Metric value takes the alternate transmission paths to be included Road current residual forwarding rate/(there is currently the item numbers+1 of data flow)] minimum value;
Determine that the maximum alternate transmission paths of path length Metric value are the second transmission path, so that first interchanger According to second transmission path data packet.
Wherein, the behaviour in service of all links according to included at least one alternate transmission paths, i.e., this is at least There is currently data in the link current residual forwarding rate and link of all links included in one alternate transmission paths The item number of stream, calculates the path length Metric value of every alternate transmission paths, which takes the alternate transmission paths institute Minimum in all links for including in the value of [link current residual forwarding rate/(there is currently the item numbers+1 of data flow)] It is worth, after the path length Metric value for determining at least one alternate transmission paths, path selection length Metric value is most Big alternate transmission paths are the second transmission path, and second transmission path are fed back to the first interchanger so that this first Interchanger is according to second transmission path data packet.
Using the embodiment of the present invention, target data stream is sent to destination party by the first interchanger by terminal, and terminal obtains The domain TOS to be sent of target data stream is defaulted as the data packet of the first numerical value, and from enlivening in stream description table for storage, determining should Target data stream currently uploads flow, judges that the target data stream currently uploads whether flow is more than preset flow numerical value, according to Judging result, the corresponding domain TOS for modifying data packet, is sent to the first interchanger for the data packet, so that first interchanger After receiving the data packet, according to the domain TOS of the data packet, data transfer mode is determined, and according to the data determined The data packet is sent to destination party by transmission mode, may be implemented to determine different transmission sides to the data flow comprising different flow Formula, to transmit data packet included in the data flow, with guarantee data transmit it is safe while, improve data transfer Rapidity.
The third aspect, correspond to above method embodiment, the embodiment of the invention also provides a kind of data transmission device, Applied to the terminal in data center network, which is sent to destination party, such as Fig. 3 for target data stream by the first interchanger Shown, the apparatus may include: data packets to obtain module 301, current uploads flow determining module 302, judgment module 303 and the One packet sending module 304;
The data packet obtains module 301: for obtaining the data packet to be sent of target data stream, the TOS of the data packet Domain is defaulted as the first numerical value;
The current upload flow determining module 302: for enlivening in stream description table from storage, pass through the target data stream Traffic identifier, determine that the target data stream currently uploads flow;Wherein, this, which enlivens to record to have in stream description table, does not upload completion The corresponding relationship of current the upload flow and corresponding traffic identifier of target data stream;
The judgment module 303: for judging that the target data stream currently uploads whether flow is more than preset flow numerical value, such as Fruit is that the domain TOS of the data packet is changed to second value, and otherwise, keeping the domain TOS of the data packet is first numerical value;
First packet sending module 304: for the data packet to be sent to the first interchanger, so that first friendship It changes planes after receiving the data packet, according to the domain TOS of the data packet, determines data transfer mode, and according to being determined The data packet is sent to destination party by data transfer mode, wherein the data transfer mode are as follows: the domain TOS with the first numerical value The data packet corresponding to the second class corresponding to first kind transmission mode or the data packet in the domain TOS with second value Transmission mode, the first kind transmission mode are the first transmission path determined according to equal cost multipath ECMP, second class Transmission mode is the second transmission path determined according to control equipment.
Using the embodiment of the present invention, target data stream is sent to destination party by the first interchanger by terminal, and terminal obtains The domain TOS to be sent of target data stream is defaulted as the data packet of the first numerical value, and from enlivening in stream description table for storage, determining should Target data stream currently uploads flow, judges that the target data stream currently uploads whether flow is more than preset flow numerical value, according to Judging result, the corresponding domain TOS for modifying data packet, is sent to the first interchanger for the data packet, so that first interchanger After receiving the data packet, according to the domain TOS of the data packet, data transfer mode is determined, and according to the data determined The data packet is sent to destination party by transmission mode, may be implemented to determine different transmission sides to the data flow comprising different flow Formula, to transmit data packet included in the data flow, with guarantee data transmit it is safe while, improve data transfer Rapidity.
Specifically, the terminal storage, which has, completes stream description table, the device of the transmission of data provided by the embodiment of the present invention is also It include: update module and unloading module;
The update module: for updating the active stream and retouching after uploading each data packet for completing the target data stream State the current upload flow of the target data stream in table;
The unloading module: for after uploading the last one data packet for completing the target data stream, by the traffic identifier and The current flow that uploads is transferred in the completion stream description table, and record has the target data stream for uploading and completing in the completion stream description table Traffic identifier and total flow, wherein the total flow be equal to the current upload flow.
Specifically, the device of the transmission of data provided by the embodiment of the present invention further include: preset flow Numerical Simulation Module;
The preset flow Numerical Simulation Module: for determining the numerical value of the total flow from the completion stream description table of storage The first-class magnitude of the first presetting digit capacity in putting in order from small to large and the second magnitude of the second presetting digit capacity;
According to the first-class magnitude and the second magnitude, the preset flow numerical value is determined, wherein utilize calculating side Formula are as follows:
The preset flow numerical value=(the second magnitude-first-class magnitude) * predetermined coefficient+second magnitude.
Fourth aspect, correspond to above method embodiment, the embodiment of the invention also provides a kind of data transmission device, Applied to the first interchanger in data center network, target data stream is sent to purpose by first interchanger by terminal Side, the apparatus may include: packet-receiving module 401, data transfer mode determining module 402 and the second data packet send mould Block 403;
The packet-receiving module 401: the data packet in target data stream for receiving terminal transmission, wherein should The domain TOS of data packet is defaulted as the first numerical value, should after the current upload flow of the target data stream is more than preset flow numerical value The domain TOS of data packet is changed to second value, and otherwise, the domain TOS of the data packet remains first numerical value;
The data transfer mode determining module 402: for the domain TOS according to the data packet, determining data transfer mode, In, the data transfer mode are as follows: first kind transmission mode corresponding to the data packet in the domain TOS with the first numerical value has Second class transmission mode corresponding to the data packet in the domain TOS of second value, the first kind transmission mode are more according to equivalence The first transmission path that path ECMP is determined, the second class transmission mode are the second transmission road determined according to control equipment Diameter transmission;
Second packet sending module 403: for being sent to the data packet according to identified data transfer mode Destination party.
As it can be seen that may be implemented to determine the data flow comprising different flow different transmission modes by this programme, to pass Data packet included in the defeated data flow, with guarantee data transmit it is safe while, the rapidity of improve data transfer.
Specifically, the data packet carrying package identifies, second packet sending module is specifically used for:
When the data transfer mode determined is first kind transmission mode, local whether have existed about this judged Otherwise first transmission path of data packet, determines the first transmission path according to ECMP if it does, directly transmitting the data packet, And with first transmission path data packet;
When the data transfer mode determined is the second class transmission mode, local whether have existed about this judged Second transmission path of data packet, if it does, directly according to second transmission path data packet, otherwise, by the packet Mark is sent to control equipment so that the control equipment determines the second transmission path of the data packet, and feed back to this first Interchanger, in turn, first interchanger receive second transmission path, according to second transmission path data packet.
Specifically, the control equipment determines the second transmission path of the data packet, comprising: receiving module, first determine Module and the second determining module;
The receiving module: the packet mark of first interchanger transmission is received for the control equipment;
First determining module: for determining the corresponding data packet of packet mark in the way of depth-first search extremely Few alternate transmission paths;
Second determining module: it is used for from least one alternate transmission paths, according to greedy training in rotation dispatching algorithm, really Second transmission path corresponding to the fixed data packet.
Specifically, recording the use shape of all links in simultaneously real-time update data center network in the control equipment Condition, the behaviour in service include: link current residual forwarding rate and the item number there is currently data flow;
Second determining module, is specifically used for:
According to the behaviour in service of all links included at least one alternate transmission paths, every alternative biography is calculated The path length Metric value in defeated path, wherein [chain in all links that the Metric value takes the alternate transmission paths to be included Road current residual forwarding rate/(there is currently the item numbers+1 of data flow)] minimum value;
Determine that the maximum alternate transmission paths of path length Metric value are the second transmission path, so that first interchanger According to second transmission path data packet.
For systems/devices embodiment, since it is substantially similar to the method embodiment, so the comparison of description is simple Single, the relevent part can refer to the partial explaination of embodiments of method.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Those of ordinary skill in the art will appreciate that all or part of the steps in realization above method embodiment is can It is completed with instructing relevant hardware by program, the program can store in computer-readable storage medium, The storage medium designated herein obtained, such as: ROM/RAM, magnetic disk, CD.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (6)

1. a kind of method of data transmission, which is characterized in that applied to the terminal in data center network, the terminal passes through the Target data stream is sent to destination party by one interchanger, which comprises
The data packet to be sent of target data stream is obtained, the domain TOS of the data packet is defaulted as the first numerical value;
From enlivening in stream description table for storage, by the traffic identifier of the target data stream, determine that the target data stream is current Upload flow;Wherein, it is described enliven in stream description table record have the target data stream for not uploading completion current upload flow and The corresponding relationship of corresponding traffic identifier;
Whether the current upload flow for judging the target data stream is more than preset flow numerical value, if so, by the data packet The domain TOS be changed to second value, otherwise, keep the data packet the domain TOS be first numerical value;
The data packet is sent to the first interchanger, so that first interchanger is after receiving the data packet, root According to the domain TOS of the data packet, data transfer mode is determined, and according to the data transfer mode determined by the data packet It is sent to destination party, wherein the data transfer mode are as follows: corresponding to the data packet in the domain TOS with the first numerical value Second class transmission mode corresponding to first kind transmission mode or the data packet in the domain TOS with second value, described A kind of transmission mode is the first transmission path determined according to equal cost multipath ECMP, and the second class transmission mode is root The second transmission path determined according to control equipment;Wherein, the terminal storage, which has, completes stream description table, and the method is also wrapped It includes:
After uploading each data packet for completing the target data stream, the target enlivened in stream description table is updated The current upload flow of data flow;
After uploading the last one data packet for completing the target data stream, by the traffic identifier and current upload flow unloading To the traffic identifier in the completion stream description table, recording the target data stream for thering is upload to complete in the completion stream description table and always Flow, wherein the total flow is equal to the current upload flow;
The method also includes:
From the completion stream description table of storage, determine the numerical value of the total flow put in order from small to large in the first default position The second magnitude of several first-class magnitude and the second presetting digit capacity;
According to the first-class magnitude and the second magnitude, the preset flow numerical value is determined, wherein utilize calculating side Formula are as follows:
The preset flow numerical value=(the second magnitude-first-class magnitude) * predetermined coefficient+second flow Value.
2. a kind of method of data transmission, which is characterized in that applied to the first interchanger in data center network, terminal passes through Target data stream is sent to destination party by first interchanger, which comprises
Receive the data packet in the target data stream that the terminal is sent, wherein the domain TOS of the data packet is defaulted as the first number Value, after the current upload flow of the target data stream is more than preset flow numerical value, the domain TOS of the data packet is changed to the Two numerical value, otherwise, the domain TOS of the data packet remain first numerical value;
According to the domain TOS of the data packet, data transfer mode is determined, wherein the data transfer mode are as follows: there is the first number First kind transmission mode corresponding to the data packet in the domain TOS of value or the data packet in the domain TOS with second value The second corresponding class transmission mode, the first kind transmission mode are the first transmission road determined according to equal cost multipath ECMP Diameter transmission, the second class transmission mode are the second transmission path determined according to control equipment;Wherein, the control is set Standby the second transmission path for determining the data packet, comprising:
The control equipment receives the packet mark that first interchanger is sent;
At least one alternate transmission paths of the corresponding data packet of the packet mark are determined in the way of depth-first search;
From at least one alternate transmission paths, according to greedy training in rotation dispatching algorithm, determine corresponding to the data packet Second transmission path, wherein all links make in data center network described in record and real-time update in the control equipment With situation, the behaviour in service includes: link current residual forwarding rate and the item number there is currently data flow;
It is described from least one alternate transmission paths, according to greedy training in rotation dispatching algorithm, determine that the data packet institute is right The second transmission path answered, comprising:
According to the behaviour in service of all links included at least one alternate transmission paths, every alternate transmission is calculated The path length Metric value in path, wherein in all links that the Metric value takes the alternate transmission paths to be included The minimum value of [link current residual forwarding rate/(there is currently the item numbers+1 of data flow)];
Determine that the maximum alternate transmission paths of path length Metric value are the second transmission path, so that the first interchanger root According to data packet described in second transmission path;
The data packet is sent to destination party according to identified data transfer mode.
3. described according to determining according to the method described in claim 2, it is characterized in that, the data packet carrying package identifies Data transfer mode the data packet is sent to destination party, comprising:
When the data transfer mode determined is first kind transmission mode, local whether have existed about the number judged According to the first transmission path of packet, if it does, directly transmitting the data packet, otherwise, the first transmission path is determined according to ECMP, And with data packet described in first transmission path;
When the data transfer mode determined is the second class transmission mode, local whether have existed about the number judged According to the second transmission path of packet, if it does, the directly data packet according to second transmission path, otherwise, by institute It states packet mark and is sent to control equipment, so that the control equipment determines the second transmission path of the data packet, and feed back To first interchanger, in turn, first interchanger receives second transmission path, according to second transmission path Transmit the data packet.
4. a kind of device of data transmission, which is characterized in that applied to the terminal in data center network, the terminal passes through the Target data stream is sent to destination party by one interchanger, and described device includes: that data packet obtains module, the current flow that uploads determines Module, judgment module and the first packet sending module;
The data packet obtains module: for obtaining the data packet to be sent of target data stream, the domain TOS of the data packet is silent Think the first numerical value;
The current upload flow determining module: for enlivening in stream description table from storage, pass through the target data stream Traffic identifier determines that the target data stream currently uploads flow;Wherein, it is described enliven in stream description table record and have do not upload completion Target data stream current upload flow and corresponding traffic identifier corresponding relationship;
The judgment module: for judging whether the current upload flow of the target data stream is more than preset flow numerical value, such as Fruit is that the domain TOS of the data packet is changed to second value, and otherwise, keeping the domain TOS of the data packet is first number Value;
First packet sending module: for the data packet to be sent to the first interchanger, so that described first hands over It changes planes after receiving the data packet, according to the domain TOS of the data packet, determines data transfer mode, and according to determining The data packet is sent to destination party by data transfer mode out, wherein the data transfer mode are as follows: has the first numerical value The domain TOS the data packet corresponding to first kind transmission mode or the domain TOS with second value the data packet institute Corresponding second class transmission mode, the first kind transmission mode are the first transmission path determined according to equal cost multipath ECMP Transmission, the second class transmission mode are the second transmission path determined according to control equipment, wherein the terminal storage has Complete stream description table, described device further include: update module and unloading module;
The update module: for updating this and enlivening stream description table after uploading each data packet for completing the target data stream In the target data stream current upload flow;
The unloading module: after for completing the last one data packet of the target data stream when upload, by the traffic identifier and currently It uploads flow to be transferred in the completion stream description table, record has the stream for uploading the target data stream completed in the completion stream description table Mark and total flow, wherein the total flow is equal to the current upload flow;
Described device further include: preset flow Numerical Simulation Module;
The preset flow Numerical Simulation Module: for from the completion stream description table of storage, determining the numerical value of the total flow from small To the first-class magnitude of the first presetting digit capacity in longer spread sequence and the second magnitude of the second presetting digit capacity;
According to the first-class magnitude and the second magnitude, the preset flow numerical value is determined, wherein utilized calculation Are as follows:
The preset flow numerical value=(the second magnitude-first-class magnitude) * predetermined coefficient+second magnitude.
5. a kind of device of data transmission, which is characterized in that applied to the first interchanger in data center network, terminal passes through Target data stream is sent to destination party by first interchanger, and described device includes: packet-receiving module, transmission side data Formula determining module and the second packet sending module;
The packet-receiving module: for receiving the data packet in the target data stream that the terminal is sent, wherein the number It is defaulted as the first numerical value according to the domain TOS of packet, after the current upload flow of the target data stream is more than preset flow numerical value, institute The domain TOS for stating data packet is changed to second value, and otherwise, the domain TOS of the data packet remains first numerical value;
The data transfer mode determining module: for the domain TOS according to the data packet, data transfer mode is determined, wherein The data transfer mode are as follows: first kind transmission mode or tool corresponding to the data packet in the domain TOS with the first numerical value There is the second class transmission mode corresponding to the data packet in the domain TOS of second value, according to the first kind transmission mode The first transmission path that equal cost multipath ECMP is determined, the second class transmission mode are the determined according to control equipment Two transmission paths;Wherein, the control equipment determines the second transmission path of the data packet, comprising: receiving module, first Determining module and the second determining module;
The receiving module: the packet mark of first interchanger transmission is received for the control equipment;
First determining module: for determining at least the one of the corresponding data packet of packet mark in the way of depth-first search Alternate transmission paths;
Second determining module: for from least one alternate transmission paths, according to greedy training in rotation dispatching algorithm, determining should Second transmission path corresponding to data packet, wherein recorded in the control equipment in simultaneously real-time update data center network The behaviour in service of all links, the behaviour in service include: link current residual forwarding rate and the item number there is currently data flow;
Second determining module, is specifically used for:
According to the behaviour in service of all links included at least one alternate transmission paths, every alternate transmission road is calculated The path length Metric value of diameter, wherein [link is worked as in all links that the Metric value takes the alternate transmission paths to be included It is preceding residue forwarding rate/(there is currently the item numbers+1 of data flow)] minimum value;
Determine the maximum alternate transmission paths of path length Metric value be the second transmission path so that first interchanger according to Second transmission path data packet;
Second packet sending module: for the data packet to be sent to purpose according to identified data transfer mode Side.
6. device according to claim 5, which is characterized in that the data packet carrying package mark, second data packet Sending module is specifically used for:
When the data transfer mode determined is first kind transmission mode, local whether have existed about the number judged According to the first transmission path of packet, if it does, directly transmitting the data packet, otherwise, the first transmission path is determined according to ECMP, And with data packet described in first transmission path;
When the data transfer mode determined is the second class transmission mode, local whether have existed about the number judged According to the second transmission path of packet, if it does, the directly data packet according to second transmission path, otherwise, by institute It states packet mark and is sent to control equipment, so that the control equipment determines the second transmission path of the data packet, and feed back To first interchanger, in turn, first interchanger receives second transmission path, according to second transmission path Transmit the data packet.
CN201510887810.8A 2015-12-07 2015-12-07 A kind of method and apparatus of data transmission Active CN105376178B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510887810.8A CN105376178B (en) 2015-12-07 2015-12-07 A kind of method and apparatus of data transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510887810.8A CN105376178B (en) 2015-12-07 2015-12-07 A kind of method and apparatus of data transmission

Publications (2)

Publication Number Publication Date
CN105376178A CN105376178A (en) 2016-03-02
CN105376178B true CN105376178B (en) 2019-03-15

Family

ID=55377995

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510887810.8A Active CN105376178B (en) 2015-12-07 2015-12-07 A kind of method and apparatus of data transmission

Country Status (1)

Country Link
CN (1) CN105376178B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113746750A (en) * 2020-05-30 2021-12-03 华为技术有限公司 Method, network node, system and storage medium for forwarding data message
CN114884902B (en) * 2022-05-09 2023-05-30 中国联合网络通信集团有限公司 Data stream transmission method, device, network equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1564528A (en) * 2004-04-21 2005-01-12 中兴通讯股份有限公司 Route diagnosis for supporting tac tful route selection
CN103368611A (en) * 2012-03-27 2013-10-23 腾讯科技(深圳)有限公司 Method and mobile terminal for file transfer
CN103716208A (en) * 2013-12-31 2014-04-09 北京邮电大学 Network management method and system supporting elephant flow, interchanger and network
CN104301246A (en) * 2014-10-27 2015-01-21 盛科网络(苏州)有限公司 Large-flow load balanced forwarding method and device based on SDN
CN104734905A (en) * 2013-12-24 2015-06-24 华为技术有限公司 Data flow detection method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1564528A (en) * 2004-04-21 2005-01-12 中兴通讯股份有限公司 Route diagnosis for supporting tac tful route selection
CN103368611A (en) * 2012-03-27 2013-10-23 腾讯科技(深圳)有限公司 Method and mobile terminal for file transfer
CN104734905A (en) * 2013-12-24 2015-06-24 华为技术有限公司 Data flow detection method and device
CN103716208A (en) * 2013-12-31 2014-04-09 北京邮电大学 Network management method and system supporting elephant flow, interchanger and network
CN104301246A (en) * 2014-10-27 2015-01-21 盛科网络(苏州)有限公司 Large-flow load balanced forwarding method and device based on SDN

Also Published As

Publication number Publication date
CN105376178A (en) 2016-03-02

Similar Documents

Publication Publication Date Title
CN102098301B (en) The adaptive data transmission method of multilink and system
CN104170353B (en) TCP link configurations method, apparatus and equipment
CN103716208B (en) Support network management, system, interchanger and the network of elephant stream
CN103259696B (en) Network bandwidth detection method, device and the network equipment
CN106411774A (en) Method and device for controlling transaction data volume
CN100574219C (en) Introducing the peer-to-peer network super node of node importance selects and resource search method
CN104579961A (en) Scheduling method and device for data message
CN110012106A (en) A kind of coordination caching method, apparatus and system based on edge calculations
CN103532909A (en) Multi-stream service concurrent transmission method, sub-system, system and multi-interface terminal
CN102497649B (en) Satellite network route establishing method based on reliability assurance
CN103118413B (en) A kind of IPv6 industrial wireless sensor network method for routing based on deterministic schedule
CN105791169A (en) Switch transmission control method, switch transmitting method and related equipment in SDN (Software Defined Network)
CN107404441B (en) Method and equipment for data stream splitting in slicing network
CN101296152A (en) Data scheduling method and system of equity linked network
CN106850424A (en) A kind of system of selection, the apparatus and system in IP layers of path
CN105262534B (en) A kind of method for routing and device suitable for satellite communication network
CN105376178B (en) A kind of method and apparatus of data transmission
CN104468390A (en) Multi-controller load balancing method and system based on distributed-centralized type architecture model in software defined networking
EP2890063B1 (en) Method and apparatus for determining energy-efficient routing
CN103188120B (en) The method for detecting packet loss of a kind of multicast service and device
CN105872093A (en) CDN acceleration method and system
CN102724064A (en) Method for building network application simulation system
CN101018203A (en) Dynamic load allocation method of the aviation telecom network
CN105791113B (en) A kind of multilink delay equalization method and system based on SDN
CN102082734A (en) Service message transmission method and equipment

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