CN103067273A - Method and device for transmitting data - Google Patents

Method and device for transmitting data Download PDF

Info

Publication number
CN103067273A
CN103067273A CN2013100023691A CN201310002369A CN103067273A CN 103067273 A CN103067273 A CN 103067273A CN 2013100023691 A CN2013100023691 A CN 2013100023691A CN 201310002369 A CN201310002369 A CN 201310002369A CN 103067273 A CN103067273 A CN 103067273A
Authority
CN
China
Prior art keywords
transmission
path
data
subpath
responsible
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013100023691A
Other languages
Chinese (zh)
Other versions
CN103067273B (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201310002369.1A priority Critical patent/CN103067273B/en
Publication of CN103067273A publication Critical patent/CN103067273A/en
Application granted granted Critical
Publication of CN103067273B publication Critical patent/CN103067273B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method and device for transmitting data. The method for transmitting data comprises the following steps: allocating a first transmission path for business data packages of a device for transmitting data according to preset a first path choosing rule, transmitting the data packages through the first transmission path, staring a timer, and the first transmission path comprises at least two transmission subpaths ranking according to a first ranking sequence; when the timer reaching preset time, changing a path choosing rule, allocating a second transmission path for the business data packages of the device for transmitting data according to the changed path choosing rule, transmitting the data packages through the second transmission path, and the second transmission path comprises at least two transmission subpaths ranking according to a second ranking sequence. According to the method and device for transmitting data, safety of the business data can be ensured by regularly changing path choosing rules to allocate transmission paths for business data packages when the business data packages are transmitted.

Description

The method and apparatus of the transmission of data
Technical field
The present invention relates to the grouping conveying network technology, relate in particular to a kind of method and apparatus of the transmission of data.
Background technology
Along with in the network to the raising of information security attention degree, ECMP(Equal Cost Multi-Path, Equal-Cost Multipath) technology is widely used.
ECMP is a kind of technology that the mulitpath of same business by equivalence transmitted, be about to business data packet and be sent to receiving terminal from a plurality of transmission paths respectively, destroy information integrity in physical layer, thereby make the stealer of information can not collect the complete information content, thereby guaranteed the fail safe of information in physical layer.
In the existing ECMP technology, what the selection in path was adopted usually is to adopt a default cover algorithm.Such as being the allocation of packets transmission path according to server level, IP address etc.Along with the development of science and technology, some people can get access to this algorithm by the long-term observation to the business transmission, and then gets access to the information content by intercepting and capturing corresponding business data packet, and this can cause the leakage of information equally.
Summary of the invention
The invention provides a kind of method and apparatus of the transmission of data, to avoid prior art malicious operation personnel to get access to the algorithm of dispense path by the long-term observation to business transmission and then to obtain the situation of the particular content of business datum as far as possible.
First aspect of the present invention provides a kind of method of the transmission of data, comprising:
Step a: be the business datum of the device that arrives the transmission of data first transmission path that is responsible for assigning according to the first default path finding algorithm, by the described packet of described the first transmission path, and the startup timer, wherein said the first transmission path comprises according to tactic two the transmission subpaths of first order at least;
Step b: when described timer arrives Preset Time, change path finding algorithm, be the business datum of the device that arrives described the transmission of data second transmission path that is responsible for assigning according to the path finding algorithm after changing, and by described this business data packet of the second transmission path, described the second transmission path comprises according to tactic two the transmission subpaths of second order at least.
Another aspect of the present invention provides a kind of device of the transmission of data, comprising:
The first distribution module, be used for being the business datum of the device that arrives the transmission of data first transmission path that is responsible for assigning according to the first default path finding algorithm, by the described business data packet of described the first transmission path, and the triggering timing module, wherein said the first transmission path comprises two transmission subpaths at least;
Described timing module is used for timing, and when arriving Preset Time, triggers the second distribution module;
The second distribution module, be used for changing path finding algorithm, be the described business datum of the device that arrives described the transmission of data second transmission path that is responsible for assigning according to the path finding algorithm after changing, and by the described packet of described the second transmission path, described the second transmission path comprises according to tactic two the transmission subpaths of second order at least.
As shown from the above technical solution, the method and apparatus of the transmission of data provided by the invention, when the service data transmission bag, adopting different path finding algorithms is the business datum transmission path that is responsible for assigning, so that malicious persons can't be intercepted and captured the business data packet obtaining information by the acquisition approach selective rule, further guaranteed the safety of business datum.
Description of drawings
Fig. 1 is the schematic flow sheet of the method for the transmission of data according to an embodiment of the invention;
Fig. 2 is the schematic flow sheet of the method for the transmission of data according to another embodiment of the present invention;
Fig. 3 is the schematic diagram according to the method for the transmission of data of further embodiment of this invention;
Fig. 4 A is the structural representation of the device of the transmission of data according to yet another embodiment of the invention;
Fig. 4 B is the structural representation of the device of the transmission of data according to another embodiment of the present invention;
Fig. 5 is the structural representation according to the device of the transmission of data of further embodiment of this invention.
Embodiment
Embodiment one
Present embodiment provides a kind of method of the transmission of data, and it is applicable to adopt the network of ECMP technology, especially Packet Transport Network.The executive agent of present embodiment is the device of the transmission of data, and it is the business datum transmission path that is responsible for assigning that the device of this transmission of data can adopt the ECMP technology.
As shown in Figure 1, be the schematic flow sheet according to the method for the transmission of data of present embodiment.The method of this transmission of data comprises:
Step 101, be the business datum of the device that arrives the transmission of data first transmission path that is responsible for assigning according to the first default path finding algorithm, by the first transmission path packet, and the startup timer, wherein the first transmission path comprises according to tactic two the transmission subpaths of first order at least.
When the business data packet that sends when transmitting terminal arrived the device of the transmission of data, the device of the transmission of data can the first path finding algorithm be the business datum of the device that the arrives the transmission of data transmission path that is responsible for assigning.The first path finding algorithm can be the path finding algorithm of acquiescence, also can be to obtain at random from the default path finding algorithm tabulation that is comprising a plurality of path finding algorithms.For the business datum transmission path that is responsible for assigning specifically can be to adopt hash algorithm of the prior art, certainly can also be other mode, for example the order according to the device that arrives the transmission of data is the business data packet label, for label is be responsible for assigning first passage transmission subpath in the first transmission path of the business datum of odd number, for label is be responsible for assigning second channel transmission subpath in the first transmission path of the business datum of even numbers, can also be to distribute according to the congruent numbers of label, specifically can set according to actual needs, not repeat them here.
When the device of the transmission of data is after business data packet is distributed transmission path, just to send business data packet according to the transmission path that distributes to receiving terminal.The business data packet that it is pointed out that same business is to transmit according to different transmission subpaths, and namely present embodiment has adopted the ECMP technology when the transmission of data.
Timer can be integrated in the device of the transmission of data, also can arrange separately.Timer is used for timing.
It is pointed out that when a plurality of business data packet that belong to different business reach the device of the transmission of data simultaneously can distinguish which business data packet based on hash algorithm and belong to same business.Comprise at least one transmission node in every transmission subpath, transmission node is specifically as follows computer or server.
Step 102, when timer arrives Preset Time, change path finding algorithm, be the business datum of the device that arrives the transmission of data second transmission path that is responsible for assigning according to the path finding algorithm after changing, and by the second transmission path packet, the second transmission path comprises according to tactic two the transmission subpaths of second order at least.
Preset Time can arrange according to actual needs, for example 1 minute, 5 minutes or 10 minutes.When arriving Preset Time, the device of the transmission of data is just changed path finding algorithm, for example becomes the second path finding algorithm, and is business datum second transmission path that is responsible for assigning according to this second path finding algorithm.Equally, at least also comprise two transmission subpaths in the second transmission path.For example, be that business datum is when being responsible for assigning the transmission subpath when adopting as above single even numbers, the second path finding algorithm can be to allow the business data packet that is designated odd number transmit by second channel transmission subpath, and the business data packet that is designated even numbers is transmitted by first passage transmission subpath.
Preferably, the number of included transmission subpath is 3 ~ 5 in each transmission paths.
It is pointed out that the transmission subpath that comprises in the first transmission path can be identical or different with the transmission subpath that comprises in the second transmission path, in the identical situation of the transmission subpath that comprises, each transmits putting in order of subpath is different.
Method according to the transmission of data of present embodiment, when the service data transmission bag, adopting different path finding algorithms is the business datum transmission path that is responsible for assigning, so that malicious persons can't be intercepted and captured the business data packet obtaining information by the acquisition approach selective rule, further guaranteed the safety of business datum.
Alternatively, also comprise:
When arriving Preset Time, restart timer, and repeating step b, until the business data packet end of transmission.Like this, in the process of business data packet transmission, by the periodic replacement path finding algorithm, more so that malicious persons can't the acquisition approach selective rule, even and then malicious persons intercepted business data packet and also can't put to obtain business datum in order to business data packet, guaranteed the safety of business datum.
Alternatively, also comprise:
Judge the OAM(Operation Administration andMaintenance of the device that arrives the transmission of data, administer and maintain) wrap and whether open the ECMP function, when judged result when being, adopting the ECMP technology is the OAM transmission path that is responsible for assigning, the OAM bag is used for the monitoring business data packet.
The OAM bag mainly is that network and business are carried out prediction, planning and configuration effort, and maintenance mainly is the regular job activity that the test of network and business thereof and fault management etc. are carried out.Particularly, the device of the transmission of data can be the OAM transmission path that is responsible for assigning according to the ECMP technology, can also be the OAM transmission path that is responsible for assigning according to the method for the transmission of data of present embodiment.What it is pointed out that included transmission subpath in the transmission path of OAM bag need to comprise that each business data packet adopts respectively transmits subpath, like this could be so that OAM wraps that whole business data flow is monitored.Specifically how to adopt the OAM bag that business data packet is monitored and belong to prior art, do not repeat them here.
Judge whether OAM bag is opened the method for ECMP function and had a lot, for example utilizes the Res(Reservation of OAM bag, keeps) whether the highest 1 bit-identify ECMP function in the territory open, and sets to 0 as not opening, and 1 is unlatching.Certainly also have other a variety of modes, do not repeat them here.The territory that the Res territory is not namely defined by standardized structural.
Embodiment two
Present embodiment provides a kind of method of the transmission of data based on embodiment one.
As shown in Figure 2, be the schematic flow sheet according to the method for the transmission of data of present embodiment.
Step 201 when business data packet arrives the device of the transmission of data, is obtained the first path finding algorithm from default list of rules.
Comprise a plurality of path finding algorithms in the default list of rules, these path finding algorithms all show how business data packet is transmitted, and are in particular in to be the business datum transmission path that is responsible for assigning.
Step 202 is every N business datum of the device that arrives the transmission of data first transmission path that is responsible for assigning according to following the first path finding algorithm, and each business data packet of the first transmission path of passing through to distribute, starts simultaneously timer:
For the 0th ~ n data in N the business data packet be responsible for assigning label be 1 the 1st the transmission subpath;
For the n+1 in N the business data packet ~ 2n data be responsible for assigning label be 2 the 2nd the transmission subpath;
By that analogy,
For the Ln+1 in N the business data packet ~ N data label that is responsible for assigning is the L+1 transmission subpath of L+1;
Wherein, N is the integer greater than 0, and L is integer, comprises L+1 transmission subpath in the first transmission path.
Wherein, first order is sequentially ascending for the label of transmission subpath.
Step 203 when timer arrives Preset Time, is obtained the path finding algorithm different from the first path finding algorithm, for example the second path finding algorithm from default list of rules.
Step 204 is every N business datum of the device that arrives the transmission of data second transmission path that is responsible for assigning according to following the second path finding algorithm, and each business data packet of the second transmission path of passing through to distribute, restarts simultaneously timer:
For the 0th ~ n data in N the business data packet be responsible for assigning label be 2 the 2nd the transmission subpath;
For the n+1 in N the business data packet ~ 2n data be responsible for assigning label be 3 the 3rd the transmission subpath;
By that analogy,
For the label that is responsible for assigning of (L-1) n+1 ~ Ln the data in N the business data packet is the L+1 transmission subpath of L+1;
For the Ln+1 in N the business data packet ~ N data be responsible for assigning label be 1 the 1st the transmission subpath;
Wherein, N is the integer greater than 0, L is integer, comprise L+1 transmission subpath in the second transmission path, second order is sequentially for being that 1 the transmission subpath of the first transmission the subpath arranged according to the ascending order of label except label, and label is that the first transmission subpath of 1 is positioned at after the L+1 transmission subpath that label is L+1.
Next, when timer arrives Preset Time again, from default list of rules, select again a path finding algorithm different path finding algorithm different from the second path finding algorithm, and be the business datum of the device that the arrives the transmission of data transmission path that is responsible for assigning, the service data transmission bag, until business data packet be transmitted complete till.
What can imagine is that the each Preset Time that arranges of timer can be identical or different.In the present embodiment, the included transmission subpath of the first transmission path and the second transmission path is identical, but put in order difference, the first order that the transmission subpath that comprises in the first transmission path is corresponding sequentially is: the 1st transmission subpath, the 2nd transmission subpath, L-2 transmission subpath, L+1 transmit subpath, the second order that the transmission subpath that comprises in the second transmission path is corresponding sequentially is: the 2nd transmission subpath, the 3rd transmission subpath,, L+1 transmission subpath, the 1st transmission subpath.
Method according to the transmission of data of present embodiment, the path finding algorithm that adopts is, the order that arrives the device of the transmission of data according to business data packet is the business datum transmission path that is responsible for assigning, simple in rule, transmission is convenient, and by the transform path selective rule, thereby so that malicious persons can't the acquisition approach selective rule can't be obtained the content of business datum, guarantee the fail safe of business datum.
Embodiment three
Present embodiment is done further supplementary notes to the method for the transmission of data of embodiment one and embodiment two.
Because the status transmission of network can change along with the time, and the transmission subpath too much or frequently change the decline that transmission path can cause the transmission quality of business data packet, whether the transfer instruction that therefore can detect in the following manner business data packet reaches default QoS(Quality of Services, service quality) requirement, adjust the time of changing transmission path and/or the number of transmitting subpath:
When the transmission quality that receives the expression business data packet arrives the first testing result of default qos requirement, reduce Preset Time and/or path finding algorithm be replaced by Third Road directly to select rule, when timer arrives Preset Time, directly select rule to be the business datum of the device that arrives the transmission of data the 3rd transmission path that is responsible for assigning according to Third Road, and by the 3rd transmission path business data packet, the number of the transmission subpath that the 3rd transmission path is included is greater than the second transmission path;
When the transmission quality that receives the expression business data packet does not arrive the second testing result of default qos requirement, increase Preset Time and/or path finding algorithm is replaced by the 4th path finding algorithm, when timer arrives Preset Time, be the business datum of the device that arrives the transmission of data the 4th transmission path that is responsible for assigning according to the 4th path finding algorithm, and by the 4th transmission path business data packet, the number of the transmission subpath that the 4th transmission path is included is less than the second transmission path.
Select business data packet to arrive before the receiving terminal in the present embodiment, whether the transmission quality that is detected business data packet by detection node reaches default qos requirement, can also be whether direct transmission quality by receiving terminal detection business data packet reaches default qos requirement certainly.Specifically can detect each business data packet that arrives detection node, also can detect every several packets, specifically can set according to actual needs.It is pointed out that increasing Preset Time means the frequency that reduces to change path finding algorithm.When the transmission quality of business data packet does not arrive default qos requirement, need to increase Preset Time, make it reach default qos requirement with the transmission quality that improves business data packet as far as possible, namely can make the transmission quality of business data packet reach default qos requirement as far as possible, again can be by changing path finding algorithm so that malicious persons can't be obtained the content of business data packet.Equally, when the transmission quality of business data packet reaches default qos requirement, allow to reduce Preset Time to accelerate to change the frequency of path finding algorithm, so that malicious persons can't get access to the transmission rule of business data packet, even also can't make up in order business data packet thereby get access to business data packet, and then can not obtain its particular content.
Whether the transmission quality that particularly, can detect business data packet by time-delay and the packet drop of business data packet reaches default qos requirement.If reach qos requirement, then detection node generates the device that the first testing result is sent to the transmission of data, the device of the transmission of data can be when transmitting this professional business data packet again like this, the suitable Preset Time that reduces, namely reduce to change the time of transmission path, perhaps increase the number of transmission subpath; If do not reach qos requirement, then detection node abandons the business data packet that does not reach qos requirement, and generate the device that the second testing result is sent to the transmission of data, like this, the device of the transmission of data can be when transmitting this professional business data packet again, and suitable increase Preset Time namely increases the time of changing transmission path, perhaps reduce to transmit the number of subpath, can reach qos requirement to guarantee the business data packet of being transmitted as far as possible.The OAM bag can detect some business data packet and be dropped, the notice transmitting terminal resends, and perhaps detects the notice transmitting terminal of laying equal stress on by upper strata (for example, ICP/IP protocol layer) and resends the business data packet of losing, specifically can set according to actual needs, not repeat them here.The device of the transmission of data is after adjusting Preset Time or having adjusted the quantity of transmission subpath by adjusting path finding algorithm, next in the process of service data transmission bag, the transmission subpath that comprises in the transmission path that the Preset Time after all can selecting to adjust and/or selection distribute is not more than the path finding algorithm of the quantity of the transmission subpath after the adjustment again.
It is to be noted, adjust the time of changing path finding algorithm and specifically can adjust timer, the number of adjusting the transmission subpath specifically can be to change path finding algorithm, is chosen as the less path finding algorithm of transmission subpath that business datum is responsible for assigning from default list of rules.The operation of adjusting Preset Time and path finding algorithm can occur simultaneously, also can only adjust Preset Time or path finding algorithm, specifically can set according to actual needs.
The method of the transmission of data by present embodiment, can adjust dynamically the number of transmission subpath in the transmission path of business data packet, can also adjust dynamically the time of changing path finding algorithm, so both can guarantee the fail safe of business datum, can guarantee again professional transmission quality.
Embodiment four
Present embodiment is done concrete illustrating based on above-described embodiment.
As shown in Figure 3, transmitting terminal 301 sends professional to receiving terminal 310, the business data flow that this is professional be designated A, suppose that this business one has 90 business data packet, be designated respectively the 1st to the 90th business data packet according to the order of the device 302 that arrives the transmission of data.When the device 302 of the transmission of data receives this professional business data packet, identify the sign A of this business data flow according to the information in the PTN packet header in the business data packet.The device 302 of the transmission of data gets access to the first path finding algorithm from default list of rules 1, start simultaneously timer 303.In the present embodiment, suppose 30 business data packet of every transmission, timer 303 reaches Preset Time, changes path finding algorithm.
Table 1
Figure BDA00002702775200081
Figure BDA00002702775200091
According to the first path finding algorithm, the 1st ~ 10 business data packet that arrives the device 302 of this transmission of data transmitted by the 1st transmission subpath, the 11st ~ 20 business data packet transmitted by the 2nd transmission subpath, and the 21st ~ 30 business data packet transmitted by the 3rd transmission subpath.When the 30th business data packet end of transmission, this moment, timer 303 arrival Preset Times were 10 minutes, and then the device 302 of the transmission of data obtains the second path finding algorithm from list of rules 1, restarts simultaneously timer 303.
According to the second path finding algorithm, the 31st ~ 40 business data packet that arrives the device 302 of this transmission of data transmitted by the 2nd transmission subpath, the 41st ~ 50 business data packet that arrives the device 302 of this transmission of data transmitted by the 3rd transmission subpath, and the 51st ~ 60 business data packet that arrives the device 302 of this transmission of data transmitted by the 4th transmission subpath.When the 60th business data packet end of transmission, this moment, timer 303 reached Preset Time 10 minutes, and then the device 302 of the transmission of data obtains Third Road and directly selects rule from list of rules 1, restarts simultaneously timer 303.
Directly select rule according to Third Road, the 61st ~ 70 business data packet that arrives the device 302 of this transmission of data transmitted by the 4th transmission subpath, the 71st ~ 80 business data packet that arrives the device 302 of this transmission of data transmitted by the 3rd transmission subpath, the 81st ~ 90 business data packet that arrives the device 302 of this transmission of data transmitted by the 2nd transmission subpath, until the 90th business data packet end of transmission.
Suppose, the device 302 of the transmission of data is when transferring the 50th business data packet, when the transmission quality that receives the business data packet that detection node 304 sends does not reach the second testing result of qos requirement, can select to increase the Preset Time of timer 303, for example be adjusted into and transfer 50 business data packet and just reach Preset Time.The 51st ~ 90 business data packet all transmitted according to the second path finding algorithm so.
Alternatively, detection node 304 can detect the transmission quality of the business data packet that arrives detection node 304, and feeds back to the device 302 of the transmission of data, so that device 302 accommodation Preset Time and/or the path finding algorithms of the transmission of data.
Embodiment five
Present embodiment provides a kind of device of the transmission of data, is used for the method for the transmission of data of execution embodiment one.
Shown in Fig. 4 A, be the structural representation according to the device of the transmission of data of present embodiment.The device 400 of this transmission of data comprises: the first distribution module 401, timing module 402 and the second distribution module 403.
Wherein, the first distribution module 401 is used for being the business datum of the device 400 that arrives the transmission of data first transmission path that is responsible for assigning according to the first default path finding algorithm, by the first transmission path business data packet, and triggering timing module 402, wherein the first transmission path comprises according to tactic two the transmission subpaths of first order at least; Timing module 402 is used for timing, and when arriving Preset Time, triggers the second distribution module 403; The second distribution module 403 is used for changing path finding algorithm, be the business datum of the device 400 that arrives the transmission of data second transmission path that is responsible for assigning according to the path finding algorithm after changing, and by the second transmission path packet, the second transmission path comprises according to tactic two the transmission subpaths of second order at least.
The concrete operations mode of the device 400 of this transmission of data is consistent with embodiment one, does not repeat them here.
Device 400 according to the transmission of data of present embodiment, when the service data transmission bag, adopting different path finding algorithms is the business datum transmission path that is responsible for assigning, so that malicious persons can't be intercepted and captured the business data packet obtaining information by the acquisition approach selective rule, further guaranteed the safety of business datum.
Alternatively, the timing module 402 in the device 400 of the transmission of data of present embodiment also is used for:
When arriving Preset Time, restart.
Like this, during each arrival Preset Time, all trigger the second distribution module 403 rerouting selective rules, more so that malicious persons can't the acquisition approach selective rule, even and then malicious persons intercepted business data packet and also can't put to obtain business datum in order to business data packet, guaranteed the safety of business datum.
Alternatively, shown in Fig. 4 B, the device 400 of the transmission of data of present embodiment also comprises judge module 404, this judge module 404 is used for judging whether the OAM bag of the device 400 that arrives the transmission of data opens the ECMP function, when judged result when being, adopting the ECMP technology is the OAM transmission path that is responsible for assigning, and the OAM bag is used for the monitoring business data packet.
Embodiment six
Present embodiment is done further supplementary notes to the device of the transmission of data of embodiment five.
The first distribution module 401 in the device 400 of the transmission of data in the present embodiment specifically is used for:
From default list of rules, obtain the first path finding algorithm;
Be every N business datum of the device 400 that arrives the transmission of data first transmission path that is responsible for assigning according to following the first path finding algorithm:
For the 0th ~ n data in N the business data packet be responsible for assigning first the transmission subpath;
For the n+1 in N the business data packet ~ 2n data be responsible for assigning second the transmission subpath;
By that analogy,
Be the Ln+1 in N the business data packet ~ N data L+1 transmission subpath that is responsible for assigning;
Wherein, N is the integer greater than 0, and L is integer, comprises at least L+1 transmission subpath in the first transmission path;
By this first transmission path business data packet, and triggering timing module 402.
Like this, the second distribution module 403 specifically is used for:
From default list of rules, obtain the path finding algorithm different from the first path finding algorithm;
Be every N business datum of the device 400 that arrives the transmission of data second transmission path that is responsible for assigning according to the path finding algorithm after changing;
The second transmission path comprises two transmission subpaths at least.
Alternatively, as shown in Figure 5, the device 400 of the transmission of data of present embodiment also comprises detection module 501, this detection module 501 is used for when the transmission quality that receives the expression business data packet arrives the first testing result of default qos requirement, reduce Preset Time and/or path finding algorithm be replaced by Third Road directly to select rule, when timer arrives Preset Time, directly select rule to be the business datum of the device 400 that arrives the transmission of data the 3rd transmission path that is responsible for assigning according to Third Road, and by the 3rd transmission path business data packet, the number of the transmission subpath that the 3rd transmission path is included is greater than the second transmission path;
Perhaps be used for when the transmission quality that receives the expression business data packet does not arrive the second testing result of default qos requirement, increase Preset Time and/or path finding algorithm is replaced by the 4th path finding algorithm, when timer arrives Preset Time, be the business datum of the device 400 that arrives the transmission of data the 4th transmission path that is responsible for assigning according to the 4th path finding algorithm, and by the 4th transmission path business data packet, the number of the transmission subpath that the 4th transmission path is included is less than the second transmission path.
The concrete operation method of the device 400 of this transmission of data is consistent with embodiment two and embodiment three, does not repeat them here.
Device 400 according to the transmission of data of present embodiment, the path finding algorithm that adopts is, the order that arrives the device of the transmission of data according to business data packet is the business datum transmission path that is responsible for assigning, simple in rule, transmission is convenient, and by the transform path selective rule, thereby so that malicious persons can't the acquisition approach selective rule can't be obtained the content of business datum, guarantee the fail safe of business datum.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: the various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment puts down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the scope of various embodiments of the present invention technical scheme.

Claims (10)

1. the method for a transmission of data is characterized in that, comprising:
Step a: be the business datum of the device that arrives the transmission of data first transmission path that is responsible for assigning according to the first default path finding algorithm, by the described packet of described the first transmission path, and the startup timer, wherein said the first transmission path comprises according to tactic two the transmission subpaths of first order at least;
Step b: when described timer arrives Preset Time, change path finding algorithm, be the business datum of the device that arrives described the transmission of data second transmission path that is responsible for assigning according to the path finding algorithm after changing, and by described this business data packet of the second transmission path, described the second transmission path comprises according to tactic two the transmission subpaths of second order at least.
2. the method for the transmission of data according to claim 1 is characterized in that, also comprises:
When arriving described Preset Time, restart described timer, and repeating step b, until described business data packet end of transmission.
3. the method for the transmission of data according to claim 1, it is characterized in that, be the business datum of the device that arrives the transmission of data first transmission path that is responsible for assigning according to the first default path finding algorithm, wherein said the first transmission path comprises according to tactic two the transmission subpaths of first order, comprising at least:
From default list of rules, obtain described the first path finding algorithm;
Be every N business datum of the device that arrives described the transmission of data first transmission path that is responsible for assigning according to following the first path finding algorithm:
For the 0th ~ n data in the described N business data packet be responsible for assigning label be 1 first the transmission subpath;
For the n+1 in the described N business data packet ~ 2n data be responsible for assigning label be 2 second the transmission subpath;
By that analogy,
For the Ln+1 in the described N business data packet ~ N data label that is responsible for assigning is the L+1 transmission subpath of L+1;
Wherein, described N is the integer greater than 0, and described L is integer, comprises at least L+1 transmission subpath in described the first transmission path, and described first order is sequentially ascending for the label of transmission subpath;
Described replacing path finding algorithm describedly comprises for the business datum of the device that arrives described the transmission of data second transmission path that is responsible for assigning according to the path finding algorithm after changing:
From described default list of rules, obtain second path finding algorithm different from described the first path finding algorithm;
Be every N business datum of the device that arrives described the transmission of data second transmission path that is responsible for assigning according to following the second path finding algorithm:
For the 0th ~ n data in the described N business data packet be responsible for assigning label be 2 second the transmission subpath;
For the n+1 in the described N business data packet ~ 2n data be responsible for assigning label be 3 the 3rd the transmission subpath;
By that analogy,
For the label that is responsible for assigning of (L-1) n+1 ~ Ln the data in the described N business data packet is the L+1 transmission subpath of L+1;
For the Ln+1 in the described N business data packet ~ N data be responsible for assigning label be 1 first the transmission subpath;
Wherein, described N is the integer greater than 0, described L is integer, comprise at least L+1 transmission subpath in described the first transmission path, described second order is sequentially for being that 1 the transmission subpath of the first transmission the subpath arranged according to the ascending order of label except label, and label is that the first transmission subpath of 1 is positioned at after the L+1 transmission subpath that label is L+1.
4. the method for the transmission of data according to claim 1 is characterized in that, also comprises:
When the transmission quality that receives the expression business data packet arrives the first testing result of default qos requirement, reduce described Preset Time and/or described path finding algorithm be replaced by Third Road directly to select rule, when described timer arrives Preset Time, directly select rule to be the business datum of the device that arrives described the transmission of data the 3rd transmission path that is responsible for assigning according to Third Road, and by the described business data packet of described the 3rd transmission path, the number of the transmission subpath that described the 3rd transmission path is included is greater than described the second transmission path;
When the transmission quality that receives the expression business data packet does not arrive the second testing result of default qos requirement, increase described Preset Time and/or described path finding algorithm is replaced by the 4th path finding algorithm, when described timer arrives Preset Time, be the described business datum of the device that arrives described the transmission of data the 4th transmission path that is responsible for assigning according to the 4th path finding algorithm, and by the described business data packet of described the 4th transmission path, the number of the transmission subpath that described the 4th transmission path is included is less than described the second transmission path.
5. the method for the transmission of data according to claim 1 is characterized in that, also comprises:
Whether the OAM bag that judge to arrive the device of described the transmission of data opens the ECMP function, when judged result when being, adopting the ECMP technology is the described OAM transmission path that is responsible for assigning, described OAM bag is used for monitoring business data packet.
6. the device of a transmission of data is characterized in that, comprising:
The first distribution module, be used for being the business datum of the device that arrives the transmission of data first transmission path that is responsible for assigning according to the first default path finding algorithm, by the described business data packet of described the first transmission path, and the triggering timing module, wherein said the first transmission path comprises according to tactic two the transmission subpaths of first order at least;
Described timing module is used for timing, and when arriving Preset Time, triggers the second distribution module;
The second distribution module, be used for changing path finding algorithm, be the described business datum of the device that arrives described the transmission of data second transmission path that is responsible for assigning according to the path finding algorithm after changing, and by the described packet of described the second transmission path, described the second transmission path comprises according to tactic two the transmission subpaths of second order at least.
7. the device of the transmission of data according to claim 6 is characterized in that, described timing module also is used for:
When arriving Preset Time, restart.
8. the device of the transmission of data according to claim 6 is characterized in that, described the first distribution module specifically is used for:
From default list of rules, obtain described the first path finding algorithm;
Be every N business datum of the device that arrives described the transmission of data first transmission path that is responsible for assigning according to following the first path finding algorithm:
For the 0th ~ n data in the described N business data packet be responsible for assigning first the transmission subpath;
For the n+1 in the described N business data packet ~ 2n data be responsible for assigning second the transmission subpath;
By that analogy,
Be the Ln+1 in the described N business data packet ~ N data L+1 transmission subpath that is responsible for assigning;
Wherein, described N is the integer greater than 0, and described L is integer, comprises at least L+1 transmission subpath in described the first transmission path, and described first order is sequentially ascending for the label of transmission subpath;
By the described business data packet of this first transmission path, and trigger described timing module;
Described the second distribution module specifically is used for:
From described default list of rules, obtain the path finding algorithm different from described the first path finding algorithm;
Be every N business datum of the device that arrives described the transmission of data second transmission path that is responsible for assigning according to following the second path finding algorithm:
For the 0th ~ n data in the described N business data packet be responsible for assigning label be 2 second the transmission subpath;
For the n+1 in the described N business data packet ~ 2n data be responsible for assigning label be 3 the 3rd the transmission subpath;
By that analogy,
For the label that is responsible for assigning of (L-1) n+1 ~ Ln the data in the described N business data packet is the L+1 transmission subpath of L+1;
For the Ln+1 in the described N business data packet ~ N data be responsible for assigning label be 1 first the transmission subpath;
Wherein, described N is the integer greater than 0, described L is integer, comprise at least L+1 transmission subpath in described the first transmission path, described second order is sequentially littlely arranged to large order for to be 1 the transmission subpath of the first transmission the subpath except label according to label have, and is that to be positioned at label be that the L+1 of L+1 transmits after the subpath for the first transmission subpath of 1 with label.
9. the device of the transmission of data according to claim 6 is characterized in that, also comprises:
Detection module, be used for when the transmission quality that receives the expression business data packet arrives the first testing result of default qos requirement, reduce described Preset Time and/or described path finding algorithm be replaced by Third Road directly to select rule, when described timer arrives Preset Time, directly select rule to be the business datum of the device that arrives described the transmission of data the 3rd transmission path that is responsible for assigning according to Third Road, and by the described business data packet of described the 3rd transmission path, the number of the transmission subpath that described the 3rd transmission path is included is greater than described the second transmission path;
Perhaps be used for when the transmission quality that receives the expression business data packet does not arrive the second testing result of default qos requirement, increase described Preset Time and/or described path finding algorithm is replaced by the 4th path finding algorithm, when described timer arrives Preset Time, be the described business datum of the device that arrives described the transmission of data the 4th transmission path that is responsible for assigning according to the 4th path finding algorithm, and by the described business data packet of described the 4th transmission path, the number of the transmission subpath that described the 4th transmission path is included is less than described the second transmission path.
10. the device of the transmission of data according to claim 6 is characterized in that, also comprises:
Judge module, whether the OAM bag that be used for to judge arrives the device of described the transmission of data opens the ECMP function, when judged result when being, adopting the ECMP technology is the described OAM transmission path that is responsible for assigning, described OAM bag is used for monitoring business data packet.
CN201310002369.1A 2013-01-05 2013-01-05 Method and device for transmitting data Active CN103067273B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310002369.1A CN103067273B (en) 2013-01-05 2013-01-05 Method and device for transmitting data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310002369.1A CN103067273B (en) 2013-01-05 2013-01-05 Method and device for transmitting data

Publications (2)

Publication Number Publication Date
CN103067273A true CN103067273A (en) 2013-04-24
CN103067273B CN103067273B (en) 2015-07-08

Family

ID=48109741

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310002369.1A Active CN103067273B (en) 2013-01-05 2013-01-05 Method and device for transmitting data

Country Status (1)

Country Link
CN (1) CN103067273B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105897579A (en) * 2015-10-21 2016-08-24 乐卡汽车智能科技(北京)有限公司 Data transmission method and device
CN109672621A (en) * 2019-01-23 2019-04-23 中国联合网络通信集团有限公司 A kind of method and apparatus selecting transmission path for vpn service

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101674253A (en) * 2009-10-16 2010-03-17 中兴通讯股份有限公司 Data transmission processing method and device applied in multipath networking
CN102185771A (en) * 2011-05-05 2011-09-14 清华大学 Dispatching method and system for data packet of sender in MPTCP (Multipath TCP (Transmission Control Protocol))
EP2388961A1 (en) * 2009-01-13 2011-11-23 Hitachi, Ltd. Communication system, subscriber accommodating apparatus and communication method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2388961A1 (en) * 2009-01-13 2011-11-23 Hitachi, Ltd. Communication system, subscriber accommodating apparatus and communication method
CN101674253A (en) * 2009-10-16 2010-03-17 中兴通讯股份有限公司 Data transmission processing method and device applied in multipath networking
CN102185771A (en) * 2011-05-05 2011-09-14 清华大学 Dispatching method and system for data packet of sender in MPTCP (Multipath TCP (Transmission Control Protocol))

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105897579A (en) * 2015-10-21 2016-08-24 乐卡汽车智能科技(北京)有限公司 Data transmission method and device
CN109672621A (en) * 2019-01-23 2019-04-23 中国联合网络通信集团有限公司 A kind of method and apparatus selecting transmission path for vpn service
CN109672621B (en) * 2019-01-23 2021-04-30 中国联合网络通信集团有限公司 Method and equipment for selecting transmission path for VPN service

Also Published As

Publication number Publication date
CN103067273B (en) 2015-07-08

Similar Documents

Publication Publication Date Title
CN105393617B (en) The distribution and use of transmission unit in network
CN103493449B (en) Efficient circuit in packet switching network
KR20190091558A (en) Method, apparatus, and communication system for transmitting a service flow based on flexible ethernet
CN102281640B (en) Channel resource allocation method based on time division multiplexing
CN105873218B (en) A kind of user scheduling and resource allocation methods and device
CN109614240A (en) Memory application method, equipment and storage medium
CN107017958A (en) A kind of method for synchronizing time and corresponding system based on NTP
CN109495383A (en) A kind of data processing method, device, communication system and the network equipment
CN105207908B (en) A kind of message processing method and system
CN103067273B (en) Method and device for transmitting data
CN103248463A (en) Frame information transmitting method and equipment
CN105871661A (en) Public network server detection method and detection server
CN107656847A (en) Node administration method, system, device and storage medium based on distributed type assemblies
CN105763375A (en) Data packet transmission method, receiving method and microwave station
Zame et al. Cooperative multi-agent learning and coordination for cognitive radio networks
CN108134986A (en) Message transmitting method and device
CN108093047A (en) Data transmission method for uplink, device, electronic equipment and middleware system
CN104378426A (en) Load balancing method for real-time information distribution system
CN111404719A (en) Network topology information acquisition method and system
CN104135441B (en) A kind of message processing method and device
CN106209561A (en) The sending method of loop detection message and device
KR100791636B1 (en) System for beacon transmitting scheduling considering data type and method thereof
CN109428698A (en) Dispatch channel resource method and base station based on terminal capacity report
CN109005122A (en) File transmitting method, device and the network equipment
CN106572028A (en) Outbound network load balancing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant