CN103067273B - Method and device for transmitting data - Google Patents

Method and device for transmitting data Download PDF

Info

Publication number
CN103067273B
CN103067273B CN201310002369.1A CN201310002369A CN103067273B CN 103067273 B CN103067273 B CN 103067273B CN 201310002369 A CN201310002369 A CN 201310002369A CN 103067273 B CN103067273 B CN 103067273B
Authority
CN
China
Prior art keywords
transmission
path
subpath
data packet
finding algorithm
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
CN201310002369.1A
Other languages
Chinese (zh)
Other versions
CN103067273A (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

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 transmission data
Technical field
The present invention relates to grouping conveying network technology, particularly relate to a kind of method and apparatus transmitting data.
Background technology
Along with in 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 transmitted by mulitpath of equal value same business, receiving terminal is sent to from multiple transmission path respectively by business data packet, the integrality of information is destroyed in physical layer, thus make the stealer of information can not collect the complete information content, thus ensure that the fail safe of information in physical layer.
In existing ECMP technology, to the selection in path usually adopt be adopt preset a set of algorithm.Be such as allocation of packets transmission path according to server level, IP address etc.Along with the development of science and technology, some people by getting this algorithm to the long-term observation of business transmission, and then can get 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 transmitting data, get the situation of the algorithm of dispense path and then the particular content of acquisition business datum to avoid prior art malicious operation personnel as far as possible by the long-term observation transmitted business.
The present invention first aspect provides a kind of method transmitting data, comprising:
Step a: be that the business datum of device arriving transmission data is responsible for assigning the first transmission path according to the first path finding algorithm preset, by packet described in described first transmission path, and starting timer, wherein said first transmission path comprises according to tactic at least two the transmission subpaths of first order;
Step b: when described timer arrives Preset Time, change path finding algorithm, be that the business datum of the device arriving described transmission data is responsible for assigning the second transmission path according to the path finding algorithm after changing, and by described this business data packet of second transmission path, described second transmission path comprises according to tactic at least two the transmission subpaths of second order.
Another aspect of the present invention provides a kind of device transmitting data, comprising:
First distribution module, for being that the business datum of device arriving transmission data is responsible for assigning the first transmission path according to the first path finding algorithm preset, by business data packet described in described first transmission path, and triggering timing module, wherein said first transmission path at least comprises two transmission subpaths;
Described timing module, for timing, and when arriving Preset Time, triggers the second distribution module;
Second distribution module, for changing path finding algorithm, be that the described business datum of the device arriving described transmission data is responsible for assigning the second transmission path according to the path finding algorithm after changing, and by packet described in described second transmission path, described second transmission path comprises according to tactic at least two the transmission subpaths of second order.
As shown from the above technical solution, the method and apparatus of transmission data provided by the invention, when service data transmission bag, different path finding algorithms is adopted to be that business datum is responsible for assigning transmission path, make malicious persons cannot intercept and capture business data packet obtaining information by acquisition approach selective rule, further ensure the safety of business datum.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the method transmitting data according to an embodiment of the invention;
Fig. 2 is the schematic flow sheet of the method transmitting data according to another embodiment of the present invention;
Fig. 3 is the schematic diagram of the method for transmission data according to further embodiment of this invention;
Fig. 4 A is the structural representation of the device of transmission data according to yet another embodiment of the invention;
Fig. 4 B is the structural representation of the device transmitting data according to another embodiment of the present invention;
Fig. 5 is the structural representation of the device of transmission data according to further embodiment of this invention.
Embodiment
Embodiment one
The present embodiment provides a kind of method transmitting data, and it is applicable to the network adopting ECMP technology, especially Packet Transport Network.The executive agent of the present embodiment is the device of transmission data, and the device of these transmission data can adopt ECMP technology to be that business datum is responsible for assigning transmission path.
As shown in Figure 1, be the schematic flow sheet of the method for the transmission data according to the present embodiment.The method of these transmission data comprises:
Step 101, be that the business datum of device arriving transmission data is responsible for assigning the first transmission path according to the first path finding algorithm preset, by the first transmission path packet, and start timer, wherein the first transmission path comprises according to tactic at least two the transmission subpaths of first order.
When business data packet that transmitting terminal sends arrives the device of transmission data, the device of transmission data can the first path finding algorithm be that the business datum of the device arriving transmission data is responsible for assigning transmission path.First path finding algorithm can be the path finding algorithm of acquiescence, also can be random from the path finding algorithm list preset that contain multiple path finding algorithm acquisition.For business datum be responsible for assigning transmission path can be specifically adopt hash algorithm of the prior art, certainly can also be other mode, the order such as transmitting the device of data according to arrival is business data packet label, for the first passage transmission subpath that the label business datum that is odd number is responsible for assigning in the first transmission path, for the second channel transmission subpath that the label business datum that is even numbers is responsible for assigning in the first transmission path, can also be distribute according to the congruent numbers of label, specifically can set according to actual needs, not repeat them here.
When the device of transmission data is, after business data packet distributes transmission path, just send business data packet according to distributed transmission path to receiving terminal.It is pointed out that the business data packet of same business carries out transmitting according to different transmission subpaths, namely the present embodiment is when transmitting data, have employed ECMP technology.
Timer can be integrated in the device of transmission data, also can arrange separately.Timer is used for timing.
It is pointed out that when the multiple business data packet belonging to different business reach the device of transmission data simultaneously, which business data packet can be distinguished based on hash algorithm and belong to same business.Every bar transmission subpath comprises at least one transmission node, and transmission node is specifically as follows computer or server.
Step 102, when timer arrives Preset Time, change path finding algorithm, be that the business datum of device arriving transmission data is responsible for assigning the second transmission path according to the path finding algorithm after changing, and by the second transmission path packet, the second transmission path comprises according to tactic at least two the transmission subpaths of second order.
Preset Time can be arranged according to actual needs, such as 1 minute, 5 minutes or 10 minutes.When arriving Preset Time, the device of transmission data just changes path finding algorithm, such as, become the second path finding algorithm, and is that business datum is responsible for assigning the second transmission path according to this second path finding algorithm.Equally, two transmission subpaths are at least also comprised in the second transmission path.Such as, when adopt single even numbers be as above business datum be responsible for assigning transmission subpath time, second path finding algorithm can be allow the business data packet being designated odd number be transmitted by second channel transmission subpath, and the business data packet being designated even numbers is transmitted by first passage transmission subpath.
Preferably, the number of included in each transmission paths transmission subpath is 3 ~ 5.
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, when the transmission subpath comprised is identical, each putting in order of subpath of transmission is different.
According to the method for the transmission data of the present embodiment, when service data transmission bag, different path finding algorithms is adopted to be that business datum is responsible for assigning transmission path, make malicious persons cannot intercept and capture business data packet obtaining information by acquisition approach selective rule, further ensure the safety of business datum.
Alternatively, also comprise:
When arriving Preset Time, restarting timer, and repeating step b, until business data packet end of transmission.Like this, in the process of business data packet transmission, by periodic replacement path finding algorithm, more make malicious persons cannot acquisition approach selective rule, even and if then malicious persons has intercepted business data packet and also cannot arrange to obtain business datum to business data packet, ensure that the safety of business datum.
Alternatively, also comprise:
Judge the OAM(Operation Administration andMaintenance of the device arriving transmission data, administer and maintain) wrap whether open ECMP function, when judged result is for being, adopt ECMP technology to be that OAM is responsible for assigning transmission path, OAM bag is for monitoring business data packet.
OAM bag mainly carries out prediction, planning and configuration effort to network and business, safeguards mainly to the regular job activity that the test of network and business thereof and fault management etc. carry out.Particularly, the device of transmission data can be that OAM is responsible for assigning transmission path according to ECMP technology, can also be that OAM is responsible for assigning transmission path according to the method for the transmission data of the present embodiment.To it is pointed out that in the transmission path that OAM wraps and OAM so just can be made each transmission subpath that included transmission subpath needs to comprise each business data packet and adopts to wrap whole business data flow is monitored.Specifically how to adopt OAM bag to carry out monitoring to business data packet and belong to prior art, do not repeat them here.
Judge that the method whether OAM bag opens ECMP function has a lot, such as, utilize the Res(Reservation that OAM wrap, retain) whether the highest 1 bit-identify ECMP function in territory open, and set to 0 as not opening, 1 is unlatching.Certainly also have other a variety of mode, do not repeat them here.Namely Res territory is not standardized the territory of organization definition.
Embodiment two
The present embodiment provides a kind of method transmitting data based on embodiment one.
As shown in Figure 2, be the schematic flow sheet of the method for the transmission data according to the present embodiment.
Step 201, when business data packet arrives the device of transmission data, obtains the first path finding algorithm from the list of rules preset.
The list of rules preset comprises multiple path finding algorithm, and these path finding algorithms all show how to transmit business data packet, is in particular in as business datum is responsible for assigning transmission path.
Step 202, is that the every N number of business datum of device arriving transmission data is responsible for assigning the first transmission path according to following first path finding algorithm, and passes through the distributed each business data packet of the first transmission path, start timer simultaneously:
For the 1st transmission subpath that 0th ~ n in N number of business data packet allocation of packets label is 1;
For the 2nd transmission subpath that (n+1)th ~ 2n in N number of business data packet allocation of packets label is 2;
By that analogy,
The L+1 being L+1 for the Ln+1 in N number of business data packet ~ N number of allocation of packets label transmits subpath;
Wherein, N be greater than 0 integer, L is integer, the first transmission path comprise L+1 transmission subpath.
Wherein, the label of first order sequentially for transmission subpath is ascending.
Step 203, when timer arrives Preset Time, obtains the path finding algorithm different from the first path finding algorithm, such as the second path finding algorithm from the list of rules preset.
Step 204, is that the every N number of business datum of device arriving transmission data is responsible for assigning the second transmission path according to following second path finding algorithm, and passes through the distributed each business data packet of the second transmission path, restart timer simultaneously:
For the 2nd transmission subpath that 0th ~ n in N number of business data packet allocation of packets label is 2;
For the 3rd transmission subpath that (n+1)th ~ 2n in N number of business data packet allocation of packets label is 3;
By that analogy,
The L+1 being L+1 for (L-1) n+1 ~ Ln the allocation of packets label in N number of business data packet transmits subpath;
For the 1st transmission subpath that the Ln+1 in N number of business data packet ~ N number of allocation of packets label is 1;
Wherein, N be greater than 0 integer, L is integer, second transmission path comprises L+1 transmission subpath, second order order for except label be 1 the first transmission subpath except transmission subpath arrange according to the order that label is ascending, and the first transmission subpath that label is 1 is positioned at label is that the L+1 of L+1 transmits after subpath.
Next, when timer arrives Preset Time again, the path finding algorithm that a path finding algorithm different from the second path finding algorithm is different is selected again from the list of rules preset, and to be responsible for assigning transmission path for the business datum of device arriving transmission data, service data transmission bag, until business data packet transmitted complete till.
Can imagine, the Preset Time that timer is arranged at every turn can be identical or different.In the present embodiment, first transmission path is identical with the transmission subpath included by the second transmission path, but put in order difference, the first order order that the transmission subpath comprised in first transmission path is corresponding is: the 1st transmission subpath, the 2nd transmission subpath, L-2 transmits subpath, L+1 transmits subpath, the second order order that the transmission subpath comprised in second transmission path is corresponding is: the 2nd transmission subpath, the 3rd transmission subpath,, L+1 transmits subpath, the 1st transmission subpath.
According to the method for the transmission data of the present embodiment, the path finding algorithm adopted is, the order of device arriving transmission data according to business data packet is that business datum is responsible for assigning transmission path, simple in rule, transmission is convenient, and by transform path selective rule, make malicious persons cannot acquisition approach selective rule thus the content of business datum cannot be obtained, ensure the fail safe of business datum.
Embodiment three
The method of the present embodiment to the transmission data of embodiment one and embodiment two does further supplementary notes.
Because the status transmission of network can along with time variations, and transmission subpath change too much or frequently the decline that transmission path can cause the transmission quality of business data packet, whether the transfer instruction that therefore can detect business data packet in the following manner reaches default QoS(Quality of Services, service quality) requirement, adjust the number of time and/or the transmission subpath changing transmission path:
When receiving the transmission quality representing business data packet and arriving the first testing result of the qos requirement preset, reduce Preset Time and/or path finding algorithm be replaced by the 3rd path finding algorithm, when timer arrives Preset Time, be that the business datum of device arriving transmission data is responsible for assigning the 3rd transmission path according to the 3rd path finding algorithm, and by the 3rd transmission path business data packet, the number of the transmission subpath included by the 3rd transmission path is greater than the second transmission path;
When the transmission quality receiving expression business data packet does not arrive the second testing result of default qos requirement, increase Preset Time and/or path finding algorithm be replaced by the 4th path finding algorithm, when timer arrives Preset Time, be that the business datum of device arriving transmission data is responsible for assigning the 4th transmission path according to the 4th path finding algorithm, and by the 4th transmission path business data packet, the number of the transmission subpath included by the 4th transmission path is less than the second transmission path.
Before selecting business data packet arrival receiving terminal in the present embodiment, whether the transmission quality being detected business data packet by detection node reaches default qos requirement, certainly can also be directly whether to reach default qos requirement by the transmission quality of receiving terminal detection business data packet.Specifically the business data packet that each arrives detection node can be detected, also can detect every several packet, specifically can set according to actual needs.It is pointed out that increasing Preset Time means the frequency reducing 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 improving business data packet as far as possible, namely can making the qos requirement that the transmission quality of business data packet reaches default as far as possible, malicious persons can being made cannot to obtain the content of business data packet by changing path finding algorithm again.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, make malicious persons cannot get the transmission rule of business data packet, even if thus get business data packet and also cannot combine in order business data packet, and then its particular content can not be obtained.
Particularly, default qos requirement can whether be reached by the transmission quality of the time delay of business data packet and packet drop detection business data packet.If reach qos requirement, then detection node generates the device that the first testing result is sent to transmission data, the device of such transmission data can when transmitting the business data packet of this business again, suitable reduction Preset Time, namely reduce the time changing transmission path, or increase the number of transmission subpath; If do not reach qos requirement, then detection node abandons the business data packet not reaching qos requirement, and generate the device that the second testing result is sent to transmission data, like this, the device of transmission data can when transmitting the business data packet of this business again, and namely suitable increase Preset Time increases the time changing transmission path, or reduce the number of transmission subpath, to ensure that the business data packet transmitted can reach qos requirement as far as possible.OAM bag can detect that some business data packet is dropped, notice transmitting terminal resends, or carries out detecting by upper strata (such as, ICP/IP protocol layer) notice transmitting terminal of laying equal stress on and resend the business data packet of loss, specifically can set according to actual needs, not repeat them here.After the device of transmission data have adjusted the quantity of transmission subpath at adjustment Preset Time or by adjustment path finding algorithm, in the process of following service data transmission bag again, the transmission subpath comprised in the transmission path that the Preset Time after adjusting and/or selection all can be selected to distribute is not more than the path finding algorithm of the quantity of the transmission subpath after adjustment.
It is to be noted, the time that path finding algorithm is changed in adjustment specifically can adjust timer, the number of adjustment transmission subpath can be specifically change path finding algorithm, is chosen as the path finding algorithm that transmission subpath that business datum is responsible for assigning is less from the list of rules preset.The operation of adjustment 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.
By the method for the transmission data of the present embodiment, the number transmitting subpath in the transmission path of business data packet can be adjusted dynamically, the time changing path finding algorithm can also be adjusted dynamically, so both can ensure the fail safe of business datum, the transmission quality of business can be ensured again.
Embodiment four
The present embodiment does concrete illustrating based on above-described embodiment.
As shown in Figure 3, transmitting terminal 301 sends business to receiving terminal 310, the business data flow of this business be designated A, suppose that this business one has 90 business data packet, be designated the 1st to the 90th business data packet respectively according to the order of the device 302 arriving transmission data.When the device 302 of transmission data receives the business data packet of this business, identify the mark A of this business data flow according to the information in the PTN packet header in business data packet.The device 302 of transmission data gets the first path finding algorithm from the list of rules 1 preset, and starts timer 303 simultaneously.In the present embodiment, suppose often to transmit 30 business data packet, timer 303 reaches Preset Time, changes path finding algorithm.
Table 1
According to the first path finding algorithm, 1st ~ 10 business data packet arriving the device 302 of these transmission data are transmitted by the 1st transmission subpath, 11st ~ 20 business data packet are transmitted by the 2nd transmission subpath, and 21st ~ 30 business data packet are transmitted by the 3rd transmission subpath.When the 30th business data packet end of transmission, now timer 303 arrives Preset Time 10 minutes, then the device 302 transmitting data obtains the second path finding algorithm from list of rules 1, restarts timer 303 simultaneously.
According to the second path finding algorithm, 31st ~ 40 business data packet arriving the device 302 of these transmission data are transmitted by the 2nd transmission subpath, 41st ~ 50 business data packet arriving the device 302 of these transmission data are transmitted by the 3rd transmission subpath, and 51st ~ 60 business data packet arriving the device 302 of these transmission data are transmitted by the 4th transmission subpath.When the 60th business data packet end of transmission, now timer 303 reaches Preset Time 10 minutes, then the device 302 transmitting data obtains the 3rd path finding algorithm from list of rules 1, restarts timer 303 simultaneously.
According to the 3rd path finding algorithm, 61st ~ 70 business data packet arriving the device 302 of these transmission data are transmitted by the 4th transmission subpath, 71st ~ 80 business data packet arriving the device 302 of these transmission data are transmitted by the 3rd transmission subpath, 81st ~ 90 business data packet arriving the device 302 of these transmission data are transmitted, until the 90th business data packet end of transmission by the 2nd transmission subpath.
Suppose, the device 302 of transmission data is when transferring the 50th business data packet, receive the transmission quality of business data packet that detection node 304 sends when not reaching the second testing result of qos requirement, can select to increase the Preset Time of timer 303, such as, be adjusted to and transfer 50 business data packet and just reach Preset Time.So 51st ~ 90 business data packet are all transmitted according to the second path finding algorithm.
Alternatively, detection node 304 can detect the transmission quality of the business data packet arriving detection node 304, and feeds back to the device 302 of transmission data, to make device 302 accommodation Preset Time and/or the path finding algorithm of transmission data.
Embodiment five
The present embodiment provides a kind of device transmitting data, for performing the method for the transmission data of embodiment one.
As shown in Figure 4 A, be the structural representation of the device of the transmission data according to the present embodiment.The device 400 of these transmission data comprises: the first distribution module 401, timing module 402 and the second distribution module 403.
Wherein, first distribution module 401 is for being that the business datum of device 400 arriving transmission data is responsible for assigning the first transmission path according to the first path finding algorithm preset, by the first transmission path business data packet, and triggering timing module 402, wherein the first transmission path comprises according to tactic at least two the transmission subpaths of first order; Timing module 402 for timing, and when arriving Preset Time, triggers the second distribution module 403; Second distribution module 403 is for changing path finding algorithm, be that the business datum of device 400 arriving transmission data is responsible for assigning the second transmission path according to the path finding algorithm after changing, and by the second transmission path packet, the second transmission path comprises according to tactic at least two the transmission subpaths of second order.
The concrete operations mode of the device 400 of these transmission data is consistent with embodiment one, does not repeat them here.
According to the device 400 of the transmission data of the present embodiment, when service data transmission bag, different path finding algorithms is adopted to be that business datum is responsible for assigning transmission path, make malicious persons cannot intercept and capture business data packet obtaining information by acquisition approach selective rule, further ensure the safety of business datum.
Alternatively, the timing module 402 in the device 400 of transmission data of the present embodiment also for:
When arriving Preset Time, restart.
Like this, during each arrival Preset Time, all trigger the second distribution module 403 rerouting selective rule, more make malicious persons cannot acquisition approach selective rule, even and if then malicious persons has intercepted business data packet and also cannot arrange to obtain business datum to business data packet, ensure that the safety of business datum.
Alternatively, as shown in Figure 4 B, the device 400 of the transmission data of the present embodiment also comprises judge module 404, this judge module 404 is for judging whether the OAM bag of the device 400 arriving transmission data opens ECMP function, when judged result is for being, adopt ECMP technology to be that OAM is responsible for assigning transmission path, OAM bag is for monitoring business data packet.
Embodiment six
The device of the present embodiment to the transmission data of embodiment five does further supplementary notes.
The first distribution module 401 in the device 400 of the transmission data in the present embodiment specifically for:
The first path finding algorithm is obtained from the list of rules preset;
Be that the every N number of business datum of device 400 arriving transmission data is responsible for assigning the first transmission path according to following first path finding algorithm:
For the allocation of packets of 0th ~ n in N number of business data packet first transmits subpath;
For the allocation of packets of (n+1)th ~ 2n in N number of business data packet second transmits subpath;
By that analogy,
For the Ln+1 in N number of business data packet ~ N number of allocation of packets L+1 transmits subpath;
Wherein, N be greater than 0 integer, L is integer, the first transmission path comprise at least L+1 transmission subpath;
By this first transmission path business data packet, and triggering timing module 402.
Like this, the second distribution module 403 specifically for:
The path finding algorithm different from the first path finding algorithm is obtained from the list of rules preset;
Be that the every N number of business datum of device 400 arriving transmission data is responsible for assigning the second transmission path according to the path finding algorithm after changing;
Second transmission path at least comprises two transmission subpaths.
Alternatively, as shown in Figure 5, the device 400 of the transmission data of the present embodiment also comprises detection module 501, this detection module 501 is for when receiving the transmission quality representing business data packet and arriving the first testing result of the qos requirement preset, reduce Preset Time and/or path finding algorithm be replaced by the 3rd path finding algorithm, when timer arrives Preset Time, be that the business datum of device 400 arriving transmission data is responsible for assigning the 3rd transmission path according to the 3rd path finding algorithm, and by the 3rd transmission path business data packet, the number of the transmission subpath included by the 3rd transmission path is greater than the second transmission path,
Or during for not arriving the second testing result of default qos requirement when the transmission quality receiving expression business data packet, increase Preset Time and/or path finding algorithm be replaced by the 4th path finding algorithm, when timer arrives Preset Time, be that the business datum of device 400 arriving transmission data is responsible for assigning the 4th transmission path according to the 4th path finding algorithm, and by the 4th transmission path business data packet, the number of the transmission subpath included by the 4th transmission path is less than the second transmission path.
The concrete operation method of the device 400 of these transmission data is consistent with embodiment two and embodiment three, does not repeat them here.
According to the device 400 of the transmission data of the present embodiment, the path finding algorithm adopted is, the order of device arriving transmission data according to business data packet is that business datum is responsible for assigning transmission path, simple in rule, transmission is convenient, and by transform path selective rule, make malicious persons cannot acquisition approach selective rule thus the content of business datum cannot be obtained, ensure the fail safe of business datum.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that program command is relevant, aforesaid program can be stored in a computer read/write memory medium, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
Last it is noted that above embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (8)

1. transmit a method for data, it is characterized in that, comprising:
Step a: be that the business datum of device arriving transmission data is responsible for assigning the first transmission path according to the first path finding algorithm preset, by packet described in described first transmission path, and starting timer, wherein said first transmission path comprises according to tactic at least two the transmission subpaths of first order;
Step b: when described timer arrives Preset Time, change path finding algorithm, be that the business datum of the device arriving described transmission data is responsible for assigning the second transmission path according to the path finding algorithm after changing, and by described this business data packet of second transmission path, described second transmission path comprises according to tactic at least two the transmission subpaths of second order;
Be that the business datum of device arriving transmission data is responsible for assigning the first transmission path according to the first path finding algorithm preset, wherein said first transmission path comprises according to tactic at least two the transmission subpaths of first order, comprising:
Described first path finding algorithm is obtained from the list of rules preset;
Be that every N number of business datum of the device arriving described transmission data is responsible for assigning the first transmission path according to following first path finding algorithm:
For the first transmission subpath that 0th ~ n allocation of packets label in described N number of business data packet is 1;
For the second transmission subpath that (n+1)th ~ 2n allocation of packets label in described N number of business data packet is 2;
By that analogy,
The L+1 being L+1 for the Ln+1 in described N number of business data packet ~ N number of allocation of packets label transmits subpath;
Wherein, described N be greater than 0 integer, described L is integer, and described first transmission path comprises at least L+1 transmission subpath, described first order order for the label of transmission subpath ascending;
Described replacing path finding algorithm, described is that the business datum of the device arriving described transmission data second transmission path that is responsible for assigning comprises according to the path finding algorithm after changing:
Second path finding algorithm different from described first path finding algorithm is obtained from described default list of rules;
Be that every N number of business datum of the device arriving described transmission data is responsible for assigning the second transmission path according to following second path finding algorithm:
For the second transmission subpath that 0th ~ n allocation of packets label in described N number of business data packet is 2;
For the 3rd transmission subpath that (n+1)th ~ 2n allocation of packets label in described N number of business data packet is 3;
By that analogy,
The L+1 being L+1 for (L-1) n+1 ~ Ln the allocation of packets label in described N number of business data packet transmits subpath;
For the first transmission subpath that the Ln+1 in described N number of business data packet ~ N number of allocation of packets label is 1;
Wherein, described N be greater than 0 integer, described L is integer, described first transmission path comprises at least L+1 transmission subpath, described second order order for except label be 1 the first transmission subpath except transmission subpath arrange according to the order that label is ascending, and the first transmission subpath that label is 1 is positioned at label is after the L+1 of L+1 transmits subpath.
2. the method for transmission data according to claim 1, is characterized in that, also comprise:
When arriving described Preset Time, restarting described timer, and repeating step b, until described business data packet end of transmission.
3. the method for transmission data according to claim 1, is characterized in that, also comprise:
When receiving the transmission quality representing business data packet and arriving the first testing result of the qos requirement preset, reduce described Preset Time and/or described path finding algorithm is replaced by the 3rd path finding algorithm, when described timer arrives Preset Time, be that the business datum of the device arriving described transmission data is responsible for assigning the 3rd transmission path according to the 3rd path finding algorithm, and by business data packet described in described 3rd transmission path, the number of the transmission subpath included by described 3rd transmission path is greater than described second transmission path;
When the transmission quality receiving 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 that the described business datum of the device arriving described transmission data is responsible for assigning the 4th transmission path according to the 4th path finding algorithm, and by business data packet described in described 4th transmission path, the number of the transmission subpath included by described 4th transmission path is less than described second transmission path.
4. the method for transmission data according to claim 1, is characterized in that, also comprise:
Judge whether the OAM bag of the device arriving described transmission data opens ECMP function, when judged result is for being, adopt ECMP technology to be that described OAM is responsible for assigning transmission path, described OAM bag is for monitoring business data packet.
5. transmit a device for data, it is characterized in that, comprising:
First distribution module, for being that the business datum of device arriving transmission data is responsible for assigning the first transmission path according to the first path finding algorithm preset, by business data packet described in described first transmission path, and triggering timing module, wherein said first transmission path comprises according to tactic at least two the transmission subpaths of first order;
Described timing module, for timing, and when arriving Preset Time, triggers the second distribution module;
Second distribution module, for changing path finding algorithm, be that the described business datum of the device arriving described transmission data is responsible for assigning the second transmission path according to the path finding algorithm after changing, and by packet described in described second transmission path, described second transmission path comprises according to tactic at least two the transmission subpaths of second order;
Described first distribution module specifically for:
Described first path finding algorithm is obtained from the list of rules preset;
Be that every N number of business datum of the device arriving described transmission data is responsible for assigning the first transmission path according to following first path finding algorithm:
For 0th ~ n the allocation of packets first in described N number of business data packet transmits subpath;
For (n+1)th ~ 2n the allocation of packets second in described N number of business data packet transmits subpath;
By that analogy,
For the Ln+1 in described N number of business data packet ~ N number of allocation of packets L+1 transmits subpath;
Wherein, described N be greater than 0 integer, described L is integer, and described first transmission path comprises at least L+1 transmission subpath, described first order order for the label of transmission subpath ascending;
By business data packet described in this first transmission path, and trigger described timing module;
Described second distribution module specifically for:
The path finding algorithm different from described first path finding algorithm is obtained from described default list of rules;
Be that every N number of business datum of the device arriving described transmission data is responsible for assigning the second transmission path according to following second path finding algorithm:
For the second transmission subpath that 0th ~ n allocation of packets label in described N number of business data packet is 2;
For the 3rd transmission subpath that (n+1)th ~ 2n allocation of packets label in described N number of business data packet is 3;
By that analogy,
The L+1 being L+1 for (L-1) n+1 ~ Ln the allocation of packets label in described N number of business data packet transmits subpath;
For the first transmission subpath that the Ln+1 in described N number of business data packet ~ N number of allocation of packets label is 1;
Wherein, described N be greater than 0 integer, described L is integer, described first transmission path comprises at least L+1 transmission subpath, described second order order for except label be 1 the first transmission subpath except transmission subpath to have according to label and littlely to arrange to large order, and by label be 1 the first transmission subpath be positioned at after label is the L+1 transmission subpath of L+1.
6. the device of transmission data according to claim 5, is characterized in that, described timing module also for:
When arriving Preset Time, restart.
7. the device of transmission data according to claim 5, is characterized in that, also comprise:
Detection module, for when receiving the transmission quality representing business data packet and arriving the first testing result of the qos requirement preset, reduce described Preset Time and/or described path finding algorithm is replaced by the 3rd path finding algorithm, when described timer arrives Preset Time, be that the business datum of the device arriving described transmission data is responsible for assigning the 3rd transmission path according to the 3rd path finding algorithm, and by business data packet described in described 3rd transmission path, the number of the transmission subpath included by described 3rd transmission path is greater than described second transmission path,
Or during for not arriving the second testing result of default qos requirement when the transmission quality receiving expression business data packet, 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 that the described business datum of the device arriving described transmission data is responsible for assigning the 4th transmission path according to the 4th path finding algorithm, and by business data packet described in described 4th transmission path, the number of the transmission subpath included by described 4th transmission path is less than described second transmission path.
8. the device of transmission data according to claim 5, is characterized in that, also comprise:
Judge module, for judging whether the OAM bag of the device arriving described transmission data opens ECMP function, when judged result is for being, adopt ECMP technology to be that described OAM is responsible for assigning transmission path, described OAM bag is 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 CN103067273A (en) 2013-04-24
CN103067273B true 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)

Families Citing this family (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
CN109672621B (en) * 2019-01-23 2021-04-30 中国联合网络通信集团有限公司 Method and equipment for 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))

Also Published As

Publication number Publication date
CN103067273A (en) 2013-04-24

Similar Documents

Publication Publication Date Title
Mazurczyk et al. Retransmission steganography and its detection
CN105393617B (en) The distribution and use of transmission unit in network
CN104170353B (en) TCP link configurations method, apparatus and equipment
RU2009133323A (en) VARIABLE LENGTH OF RADIO LINK CONTROL DATA PACKAGES
CN105992272A (en) Data transmitting and receiving method, device and data transmission system
EP3200546A1 (en) Carrier resource processing method and device for unlicensed carriers, and transmission node
CN105553758B (en) A kind of monitoring method and device of network performance
CN105873218B (en) A kind of user scheduling and resource allocation methods and device
CN105791154A (en) Data transmission method and device based on UDP (User Datagram Protocol)
JP5738324B2 (en) Transmission device, communication device, communication system, and transmission method
CN103067273B (en) Method and device for transmitting data
CN108141904A (en) It is route using the unicast messages of duplicate node
CN105871661A (en) Public network server detection method and detection server
US11025551B2 (en) Weighted fair queueing using severity-based window in reliable packet delivery network
US20190028575A1 (en) Insertion of management packet into a wired deterministic path
CN108134986A (en) Message transmitting method and device
Mazurczyk et al. Hiding information in retransmissions
CN106792844B (en) Data transmission method and device
CN105763375A (en) Data packet transmission method, receiving method and microwave station
CN109428698A (en) Dispatch channel resource method and base station based on terminal capacity report
US8619627B2 (en) Automatic determination of groupings of communications interfaces
CN102546199B (en) A kind of guard method of aggregated links and Packet Switching Node
CN105979593B (en) A kind of user scheduling and resource allocation methods and device
CN105871747B (en) Communication system downlink data transmission method and system
US9673856B1 (en) Hidden channel hopping sequence based on swapping sequence offsets using allocated swapping schedule

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