[go: up one dir, main page]

CN106487678A - Data transmission method and device - Google Patents

Data transmission method and device Download PDF

Info

Publication number
CN106487678A
CN106487678A CN201510535084.3A CN201510535084A CN106487678A CN 106487678 A CN106487678 A CN 106487678A CN 201510535084 A CN201510535084 A CN 201510535084A CN 106487678 A CN106487678 A CN 106487678A
Authority
CN
China
Prior art keywords
data
link
network element
sending
laser instrument
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510535084.3A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201510535084.3A priority Critical patent/CN106487678A/en
Priority to PCT/CN2016/077548 priority patent/WO2016177181A1/en
Publication of CN106487678A publication Critical patent/CN106487678A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/74Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission for increasing reliability, e.g. using redundant or spare channels or apparatus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides data transmission method and device, wherein, this data transmission method includes:Determine and the first data that the first network element sends was not received in first scheduled time from the first link, wherein, the first link is additionally operable to send the second data to the first network element;Send the second data using the second link;After sending the second data using the second link, stop sending the second data using the first link.Solve the problems, such as to produce data packetloss in correlation technique link handoff procedure, and then reached the effect of data complete transmission during link switching.

Description

Data transmission method and device
Technical field
The present invention relates to the communications field, in particular to data transmission method and device.
Background technology
In current Internet protocol (Internet Protocol, referred to as IP) network, flow (i.e. data) be all with The form being encapsulated in the packet of IP heading transmits in a network.In order to ensure the reliability of flow transmission, Suo Youyun In battalion's business's network and enterprise network, it is substantially all and deploys main/slave link protection.By the protection of main/slave link, substantially may be used To ensure the transmitting of flow.But, when there are active and standby cutover demand or test active-standby switch in operator and enterprise, meeting There is data packetloss.In correlation technique, if active and standby by pulling out optical fiber cutover switching, optical fiber disconnects on physical layer Switching cannot ensure flow not packet loss.Network flow cutover to standby link on when, most of operators and enterprise It is intended to up-downgoing flow not packet losses.
For the problem that can produce data packetloss in correlation technique link handoff procedure, not yet propose at present effectively to solve Scheme.
Content of the invention
The invention provides data transmission method and device, to solve to produce data in correlation technique link handoff procedure The problem of packet loss.
According to an aspect of the invention, it is provided a kind of data transmission method, including:Determine in first scheduled time not The first data that first network element sends is received from the first link, wherein, described first link is additionally operable to described first Network element sends the second data;Send described second data using the second link;Sending described the using described second link After two data, stop sending described second data using described first link.
Alternatively, stop including using described first described second data of link transmission:Close being used for of described first link Send the laser instrument of described second data.
Alternatively, the institute that described first network element sends was not received within first scheduled time of determination from described first link After stating the first data, also include:Close the laser instrument for receiving described first data of described first link.
According to another aspect of the present invention, additionally provide a kind of data transmission method, including:Using the first chain road direction When second network element sends the first data, determine and need to send described first data using the second network element described in the second chain road direction; Send described first data using the second network element described in described second chain road direction;Sending described the using described second link After one data, stop sending described first data using described first link.
Alternatively, stop including using described first described first data of link transmission:Close being used for of described first link Send the laser instrument of described first data.
Alternatively, described first link is additionally operable to receive the second data that described second network element sends, using described second After described in chain road direction, the second network element sends described first data, also include:Determine in second scheduled time not from described Described second data that described second network element sends is received on one link;Stop receiving described the using described first link Described second data that two network elements send.
Alternatively, stop described second data using described first link receives described second network element transmission to include:Close The laser instrument for receiving described second data of described first link.
According to an aspect of the present invention, additionally provide a kind of data transmission device, including:First determining module, is used for Determine and the first data that the first network element sends, wherein, described first were not received in first scheduled time from the first link Link is additionally operable to send the second data to described first network element;First sending module, described for being sent using the second link Second data;First stopping modular, for, after sending described second data using described second link, stopping utilizing institute State the first link and send described second data.
Alternatively, described first stopping modular includes:First closing unit, for close described first link for send out Send the laser instrument of described second data.
Alternatively, described device also includes:Closedown module, for determine first scheduled time in not from described first chain After described first data that described first network element sends is received on road, close the described for receiving of described first link The laser instrument of the first data.
According to an aspect of the present invention, additionally provide a kind of data transmission device, including:Second determining module, is used for When sending the first data using first chain road direction the second network element, determining needs to send out using the second network element described in the second chain road direction Send described first data;Second sending module, for sending described first using the second network element described in described second chain road direction Data;Second stopping modular, for, after sending described first data using described second link, stopping using described the One link sends described first data.
Alternatively, described second stopping modular includes:Second closing unit, for close described first link for send out Send the laser instrument of described first data.
Alternatively, described device also includes:3rd determining module, for using the second net described in described second chain road direction After unit sends described first data, determine and described second net was not received in second scheduled time from described first link The second data that unit sends, wherein, described first link is additionally operable to receive described second data that described second network element sends; 3rd stopping modular, for stopping receiving, using described first link, described second data that described second network element sends.
Alternatively, described 3rd stopping modular includes:3rd closing unit, for close described first link be used for connect Receive the laser instrument of described second data.
By the present invention, from the first link, do not receive the first of the first network element transmission in first scheduled time using determining Data, wherein, described first link is additionally operable to send the second data to described first network element;Send institute using the second link State the second data;After sending described second data using described second link, stop sending institute using described first link The method stating the second data, before sending the second data by the second link, determines within first scheduled time not from first First data is received on link, and then stops sending the second data it is ensured that using the second chain using the first link Before road sends data, the data on the first link, by the reception of not packet loss, solves correlation technique link handoff procedure The middle problem that can produce data packetloss, and then reached the technique effect of data complete transmission during active/standby link switchover.
Brief description
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, the present invention Schematic description and description be used for explaining the present invention, do not constitute inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart one of data transmission method according to embodiments of the present invention;
Fig. 2 is the flowchart 2 of data transmission method according to embodiments of the present invention;
Fig. 3 is the structured flowchart one of data transmission device according to embodiments of the present invention;
Fig. 4 is the structured flowchart of the first stopping modular 36 in data transmission device according to embodiments of the present invention;
Fig. 5 is the alternative construction block diagram one of data transmission device according to embodiments of the present invention;
Fig. 6 is the structured flowchart two of data transmission device according to embodiments of the present invention;
Fig. 7 is the structured flowchart of the second stopping modular 66 in data transmission device according to embodiments of the present invention;
Fig. 8 is the alternative construction block diagram two of data transmission device according to embodiments of the present invention;
Fig. 9 is the structured flowchart of the 3rd stopping modular 84 in data transmission device according to embodiments of the present invention;
Figure 10 is main/slave link protection scene graph according to embodiments of the present invention;
Figure 11 is the flow chart of the luminous method being switched to standby link by primary link of local terminal according to embodiments of the present invention;
Figure 12 is the flow chart of the luminous method being switched to standby link by primary link in opposite end according to embodiments of the present invention.
Specific embodiment
To describe the present invention in detail below with reference to accompanying drawing and in conjunction with the embodiments.It should be noted that in the feelings do not conflicted Under condition, the embodiment in the application and the feature in embodiment can be mutually combined.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, " second " Etc. being for distinguishing similar object, without for describing specific order or precedence.
Provide a kind of data transmission method in the present embodiment, Fig. 1 is data transmission method according to embodiments of the present invention Flow chart one, as shown in figure 1, this flow process comprises the steps:
Step S102, determines and does not receive the first data that the first network element sends in first scheduled time from the first link, Wherein, the first link is additionally operable to send the second data to the first network element;
Step S104, sends the second data using the second link;
Step S106, after sending the second data using the second link, stops sending the second data using the first link.
By above-mentioned steps, determine and the first number that the first network element sends was not received in first scheduled time from the first link According to wherein, the first link is additionally operable to send the second data to the first network element, that is, illustrate to can't detect on the first link The first data that first network element sends, the first link there may be problem, needs to enter with the first network element using other links Row data transfer, now needs handoff links, therefore, it can using replacing link, that is, the second link sends the second data; After sending the second data using the second link, stop sending the second data it is ensured that cutting in link using the first link After the completion of changing, after the data of transmission is received on the first link, turn off the data is activation on the first link.From And solve the problems, such as produce data packetloss in correlation technique link handoff procedure, and then reach active/standby link switchover During data complete transmission technique effect.In the present embodiment, the first link can be active link, the second link Be reserve link or the first link be reserve link, the second link is active link.If there is more than one Reserve link, the first link and the second link can also be all reserve link.
In one alternate embodiment, stop in step S106 can including using first link transmission the second data:Close Close the laser instrument for sending the second data of the first link.In this alternative embodiment, carry out data using laser instrument Send, can be the lighting function (that is, laser instrument can be provided simultaneously with receiving light function and lighting function) of closing laser instrument, Can also be that (that is, laser instrument is only to possess the laser instrument receiving light function to the corresponding emitting laser of closing, or is only to have The laser instrument of standby lighting function).
In an optional embodiment, after step S102, above-mentioned data transmission method can also include:Close the The laser instrument for receiving the first data of one link.From the first link, the is not received determining in first scheduled time The first data that one network element sends, can obtain the first network element within first scheduled time and not carry out data using the first link Send, thus the laser instrument being used for receiving data of the first link cuts out, the number sending can be ensured on the first link According to being fully received, data packetloss will not be produced.In this alternative embodiment, carry out connecing of data using laser instrument Receive, light laser can be received accordingly for the receipts light function or closing of closing laser instrument.
A kind of data transmission method is additionally provided, Fig. 2 is data transfer according to embodiments of the present invention in the embodiment of the present invention The flowchart 2 of method, as shown in Fig. 2 the method includes:
Step S202, when sending the first data using first chain road direction the second network element, determining needs using the second link Send the first data to the second network element;
Step S204, sends the first data using second chain road direction the second network element;
Step S206, after sending the first data using the second link, stops sending the first data using the first link.
By above-mentioned steps, when sending the first data using first chain road direction the second network element, determining needs using the second chain Road direction second network element sends the first data, that is, illustrate that determination carries out link switching, originally utilizes the first link to send first Data, sends the first data now with the second link;Send the first data using second chain road direction the second network element, that is, say Clear link switching success;After sending the first data using the second link, stop sending the first data using the first link, Illustrate after the completion of link switching, then stop the first link the first data send it is ensured that number on the first link Unaffected in handoff procedure according to being sent in, solve in correlation technique link handoff procedure and can produce asking of data packetloss Topic, and then reached the technique effect of data complete transmission during active/standby link switchover.In the present embodiment, the first chain Road can be active link, and the second link is reserve link or the first link is reserve link, and the second link is Active link.If there is more than one reserve link, the first link and the second link can also be all reserve link.
In one alternate embodiment, stop in step S206 can including using first link transmission the first data:Close Close the laser instrument for sending the first data of the first link.In this alternative embodiment, carry out data using laser instrument Send, for closing the lighting function of laser instrument or corresponding emitting laser can be closed.
In one alternate embodiment, the first link is additionally operable to receive the second data that the second network element sends, in step S204 Afterwards, above-mentioned data transmission method for uplink can also include:Determine in second scheduled time and from the first link, do not receive second The second data that network element sends;Stop receiving, using the first link, the second data that the second network element sends.In this optional enforcement In example, the second data was not received within second scheduled time from the first link, that is, illustrate data on the first link Through all receiving it is ensured that the data on the first link all receives, will not packet loss.
In one alternate embodiment, stop in above-mentioned alternative embodiment receiving that the second network element sends using the first link the Two data can include:Close the laser instrument for receiving the second data of the first link.In this alternative embodiment, profit Carry out the reception of data with laser instrument, can swash for the corresponding light of receiving of receipts light function or closing closing laser instrument Light device.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-described embodiment Method can realize by the mode of software plus necessary general hardware platform naturally it is also possible to pass through hardware, but a lot In the case of the former is more preferably embodiment.Based on such understanding, technical scheme is substantially in other words to existing Have what technology contributed partly can embody in the form of software product, this computer software product is stored in one In storage medium (as ROM/RAM, magnetic disc, CD), including some instructions with so that a station terminal equipment (can To be mobile phone, computer, server, or the network equipment etc.) method described in execution each embodiment of the present invention.
Additionally provide data transmission device in the present embodiment, in the present embodiment, data transmission device is used for realizing above-mentioned enforcement Example and optional embodiment, had carried out repeating no more of explanation.As used below, term " module " is permissible Realize the software of predetermined function and/or the combination of hardware.Although the device described by following examples is preferably come with software Realize, but hardware, or the realization of the combination of software and hardware is also may and to be contemplated.
Fig. 3 is the structured flowchart one of data transmission device according to embodiments of the present invention, as shown in figure 3, this device includes First determining module 32, the first sending module 34 and the first stopping modular 36, illustrate to this device below.
First determining module 32, does not receive what the first network element sent for determining from the first link in first scheduled time First data, wherein, the first link is additionally operable to send the second data to the first network element;First sending module 34, is connected to Above-mentioned first determining module 32, for sending the second data using the second link;First stopping modular 36, is connected to State the first sending module 34, for after sending the second data using the second link, stopping sending second using the first link Data.
Fig. 4 is the structured flowchart of the first stopping modular 36 in data transmission device according to embodiments of the present invention, as Fig. 4 institute Show, the first stopping modular 36 includes:First closing unit 42, illustrates to the first stopping modular 26 below.
First closing unit 42, for closing the laser instrument for sending the second data of the first link.
Fig. 5 is the alternative construction block diagram one of data transmission device according to embodiments of the present invention, as shown in figure 5, this device In addition to including all modules shown in Fig. 3, also include closedown module 52, below this device is illustrated.
Closedown module 52, is connected to above-mentioned first determining module 32, for determine first scheduled time in not from described After described first data that described first network element sends is received on the first link, close the first link for receiving the The laser instrument of one data.
The embodiment of the present invention additionally provides a kind of data transmission device, and Fig. 6 is data transfer dress according to embodiments of the present invention The structured flowchart two put, as shown in fig. 6, this device includes:Second determining module 62, the second sending module 64 and Two stopping modulars 66, illustrate to this device below.
Second determining module 62, needs to utilize for when sending the first data using first chain road direction the second network element, determining Second chain road direction the second network element sends the first data;Second sending module 64, connects to above-mentioned second determining module 62, For sending the first data using second chain road direction the second network element;Second stopping modular 66, connects to the above-mentioned second transmission mould Block 64, for after sending the first data using the second link, stopping sending the first data using the first link.
Fig. 7 is the structured flowchart of the second stopping modular 66 in data transmission device according to embodiments of the present invention, such as Fig. 7 Shown, the second stopping modular 66 includes:Second closing unit 72, illustrates to this device below.
Second closing unit 72, for closing the laser instrument for sending the first data of the first link.
Fig. 8 is the alternative construction block diagram two of data transmission device according to embodiments of the present invention, as shown in figure 8, this device In addition to including all modules shown in Fig. 6, also include the 3rd determining module 82 and the 3rd stopping modular 84, below to this Device illustrates.
3rd determining module 82, is connected to above-mentioned second sending module 64, for using described in described second chain road direction After second network element sends described first data, determine and the second network element was not received in second scheduled time from the first link The second data sending, wherein, the first link is additionally operable to receive the second data that the second network element sends;3rd stopping modular 84, it is connected to above-mentioned 3rd determining module 82, for stopping receiving, using the first link, the second data that the second network element sends.
Fig. 9 is the structured flowchart of the 3rd stopping modular 84 in data transmission device according to embodiments of the present invention, such as Fig. 9 Shown, the 3rd stopping modular 84 includes the 3rd closing unit 92, below the 3rd stopping modular 84 is illustrated.
3rd closing unit 92, for closing the laser instrument for receiving the second data of the first link.
Below with above-mentioned first link as primary link, as a example the second link is standby link, the present invention will be described:
The technical scheme that the embodiment of the present invention adopts is substantially as follows:
1st, during shutdown flow primary link (i.e. the first link in above-described embodiment) port, swashed by late release Light device lights, and flow still sends out from primary link, passes through shutdown command triggers active and standby within this section of time delay Switching, allows flow switch to after standby link (i.e. the second link in above-described embodiment), then by local terminal (i.e. above-mentioned enforcement Example in the first network element) laser instrument light close, thus ensure local terminal up (i.e. from local terminal to opposite end, from the first network element to Second network element) flow zero packet loss, wherein, above-mentioned local terminal (i.e. the first network element) can be router or exchange Machine.The receipts light of standby link laser instrument and light and remain open mode when carrying out active/standby link switchover, thus ensureing to lead Data is activation and reception is not affected in standby link handoff procedure.
2nd, after shutdown flow main chain road port, after local terminal laser instrument lights and cuts out, opposite end (i.e. above-described embodiment In the second network element) can not receive light after, first notice of delay opposite end laser instrument light close it is ensured that opposite end downlink traffic remains to Enough issue from primary link, notify active-standby switch within this section of time delay, allow flow switch to after standby link, then will Laser instrument lights and cuts out, thus ensureing opposite end downlink traffic zero packet loss, wherein, above-mentioned opposite end (i.e. the second network element) is permissible It is router or switch.It is achieved thereby that two-way (uplink and downlink) flow not packet loss.
Figure 10 is main/slave link protection scene graph according to embodiments of the present invention, and as shown in Figure 10, bidirectional traffics pass through two Platform switch or router, link (each pair by two pairs of fibre between two routers (can also be two switches) Optical fiber corresponds respectively to the first above-mentioned link and the second link), each pair optical fiber has two optical fiber, sends out for one, receipts, In physical layer laser instrument, opposite end is dealt into light from local terminal by the fibre that locally lights, and opposite end is also from this by laser instrument light Ground emitting optical fiber is dealt into opposite end, and opposite end forwards after receiving flow again.
Figure 11 is the flow chart of the luminous method being switched to standby link by primary link of local terminal according to embodiments of the present invention, such as Shown in Figure 11, the method comprises the following steps:
Step S1102, when shutdown local terminal primary link, passes through deferred delivery on switch or router Shutdown order, to physical port, allows the laser instrument of port to light and receives light and all postpone closing, now on switch or road By the outlet that inside device, the route of flow or outgoing interface are switched to standby link, flow is guided on standby link, thus Realize uplink traffic not packet loss;
Laser instrument after flow is guided on standby link, just lights and cuts out, the receipts light of primary link is still simultaneously by step S1104 Keep receiving light state, do not allow the receipts of port close it is ensured that flow can be received from opposite end;
Step S1106, after opposite end does not all receive light in the given time, opposite end laser instrument receives light and cuts out.
In actual mechanical process, receiving light end due to local terminal laser instrument luminous end and opposite end laser instrument is by an optical fiber even Connect, so, after local terminal laser instrument lights and cuts out, opposite end laser instrument is able to detect that in optical fiber link does not have light, from And opposite end laser instrument can be closed and receive light.
Figure 12 is the flow chart of the luminous method being switched to standby link by primary link in opposite end according to embodiments of the present invention, such as Shown in Figure 12, the method comprises the steps:
Step S1202, closes when local terminal laser instrument lights, after opposite end no longer receives light, opposite end also late release laser instrument Luminous, then downlink traffic still can be dealt into local terminal from primary link, notify switch simultaneously or router carry out active and standby Switching;
Step S1204, turns off opposite end laser instrument after flow is switched to standby link completely and lights;
Step S1206, closes local terminal laser instrument and receives light;
Ensure that downlink traffic also achieves zero packet loss by step S1202 to step S1206.
After step shown in Figure 11 and Figure 12 has been carried out, two-way laser device all cuts out, and then closes both sides port completely Close (down) to fall.
Using step S1102 in the embodiment of the present invention to step S1106 and step S1202 to step S1206 described in side Method, not only enable the uplink traffic of shutdown local terminal port not packet loss it is also possible to realize the downlink traffic of opposite end Not packet loss.
In above-described embodiment, Figure 11 and Figure 12 gives the general embodiments of two big application scenarios, i.e. switch and route Two kinds of scenes of device, and the protection between switch and the main/slave link of router can be divided into aggregation group active and standby, route is active and standby, The protection of the scenes such as tunnel Hot Spare (hot-standby, referred to as HSB).Reality to technical scheme below in conjunction with the accompanying drawings Apply described in further detail.
Scene 1:
Hardware module part includes:Two switches, are connected with two pairs of fibre between switch, and configuration aggregation group is led Standby protection, as shown in Figure 10.
The process step of flow elements is as follows:
As shown in figure 11, switch prepares aggregation group and form main and standby relation, after confirming that flow is walked from primary link, Shutdown local terminal link port, late release local terminal laser instrument lights, and aggregation group status of primary link is maintained as leading, and allows Flow still sends out from master, and then carries out aggregation group switching by software inside switch, after the completion of switching that is, former After coming based on the standby change of aggregation group, then flow is allowed to send out from standby link again, thus accomplishing uplink traffic not packet loss, finally Turn off local terminal laser instrument to light and opposite end laser instrument receipts light.The way of descending not packet loss is as shown in figure 12, when opposite end is swashed After light device receives light cut out, late release opposite end laser instrument lights, and allows flow still to send out from primary link, and in switch Portion notifies aggregation group to carry out active-standby switch, after original standby link is changed into new primary link, then allows flow switch to come, Thus ensureing downlink traffic also not packet loss.Finally close that opposite end laser instrument lights and light received by local terminal laser instrument, allow both sides port All down falls.
Scene 2:
Hardware module part includes:Two routers, are connected with two pairs of fibre between router, and configuration route is active and standby to be carried out Main-apparatus protection, as shown in Figure 10.
The process step of flow elements is as follows:
As shown in figure 11, router prepares route and form main and standby relation, after confirming that flow is walked from primary link, shutdown Local terminal link port, late release local terminal laser instrument lights, and route status of primary link is maintained as leading, and allows flow still from master Send out, and router interior then carries out routeing active-standby switch by software, after the completion of switching, that is, original route After based on standby change, then allowing flow to send out from standby link again, thus accomplishing uplink traffic not packet loss, finally turning off local terminal Laser instrument lights and light received by opposite end laser instrument.The way of descending not packet loss as shown in figure 12, is received light when opposite end laser instrument and is closed After closing, late release opposite end laser instrument lights, and allows flow still to send out from primary link, and notifies route in router interior Carry out active-standby switch, after original standby link is changed into new primary link, then allow flow switch to come, thus ensureing descending Flow also not packet loss.Finally close opposite end laser instrument to light and local terminal laser instrument receipts light, allow both sides port all down to fall.
Scene 3:
Hardware module part includes:Two routers, are connected with two pairs of fibre between router, configured tunneling technique HSB enters Row main-apparatus protection, as shown in Figure 10.
The process step of flow elements is as follows:
As shown in figure 11, router prepares tunnel HSB and form main and standby relation, after confirming that flow is walked from primary link, Shutdown local terminal link port, late release local terminal laser instrument lights, and tunnel HSB status of primary link is maintained as leading, Allow flow still to send out from master, and router interior then carries out tunnel HSB switching by software, after the completion of switching, After the standby link of exactly original tunnel HSB is changed into primary link, then flow is allowed to send out from standby link again, thus on accomplishing Row flow not packet loss, finally turns off local terminal laser instrument and lights and opposite end laser instrument receipts light.The way of descending not packet loss is as schemed Shown in 12, after opposite end laser instrument receives light and cuts out, late release opposite end laser instrument lights, and allows flow still to send from primary link Go, and notify aggregation group to carry out active-standby switch in router interior, after original standby link is changed into new primary link, then Flow switch is allowed to come, thus ensureing downlink traffic also not packet loss.Finally close opposite end laser instrument to light and local terminal laser instrument Receive light, allow both sides port all down to fall.
The detailed active/standby link switchover flow process in different scenes of the present embodiment, cuts in main/slave link using in the present embodiment The method that local terminal or opposite end laser instrument light is turned off it is ensured that flow in former primary link not packet loss after the completion of changing Reach opposite end or local terminal it is achieved that flow not packet loss during active/standby link switchover.
It should be noted that above-mentioned modules can be by software or hardware to realize, for the latter, Ke Yitong Cross in the following manner to realize, but not limited to this:Above-mentioned module is respectively positioned in same processor;Or, above-mentioned module position respectively In multiple processors.
Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, above-mentioned storage medium can To be arranged to store the program code for executing following steps:
S1, determines and does not receive the first data that the first network element sends in first scheduled time from the first link, wherein, First link is additionally operable to send the second data to the first network element;
S2, sends the second data using the second link;
S3, after sending the second data using the second link, stops sending the second data using the first link.
Alternatively, storage medium is also configured to store the program code for executing following steps:
S1, when sending the first data using first chain road direction the second network element, determining needs using second chain road direction the second net Unit sends the first data;
S2, sends the first data using second chain road direction the second network element;
S3, after sending the first data using the second link, stops sending the first data using the first link.
Alternatively, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, read only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as For RAM), portable hard drive, magnetic disc or CD etc. are various can be with the medium of store program codes.
Alternatively, the specific example in the present embodiment may be referred to showing described in above-described embodiment and optional embodiment Example, the present embodiment will not be described here.
Obviously, those skilled in the art should be understood that each module of the above-mentioned present invention or each step can be with general Realizing, they can concentrate on single computing device computing device, or be distributed in multiple computing devices and formed Network on, alternatively, they can be realized with the executable program code of computing device, it is thus possible to by they Storage to be executed by computing device in the storage device, and in some cases, can be to hold different from order herein The shown or described step of row, or they are fabricated to respectively each integrated circuit modules, or will be many in them Individual module or step are fabricated to single integrated circuit module to realize.So, the present invention is not restricted to any specific hardware Combine with software.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for the technology of this area For personnel, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, made any Modification, equivalent, improvement etc., should be included within the scope of the present invention.

Claims (14)

1. a kind of data transmission method is it is characterised in that include:
Determine and the first data that the first network element sends was not received in first scheduled time from the first link, wherein, Described first link is additionally operable to send the second data to described first network element;
Send described second data using the second link;
After sending described second data using described second link, stop sending described the using described first link Two data.
2. method according to claim 1 is it is characterised in that stop sending described second number using described first link According to inclusion:
Close the laser instrument for sending described second data of described first link.
3. method according to claim 1 it is characterised in that determine first scheduled time in not from described first chain After described first data that described first network element sends is received on road, also include:
Close the laser instrument for receiving described first data of described first link.
4. a kind of data transmission method is it is characterised in that include:
When sending the first data using first chain road direction the second network element, determine and need using described in the second chain road direction the Two network elements send described first data;
Send described first data using the second network element described in described second chain road direction;
After sending described first data using described second link, stop sending described the using described first link One data.
5. method according to claim 4 is it is characterised in that stop sending described first number using described first link According to inclusion:
Close the laser instrument for sending described first data of described first link.
6. method according to claim 4 is it is characterised in that described first link is additionally operable to receive described second network element The second data sending, after using described in described second chain road direction, the second network element sends described first data, also Including:
Determine do not receive from described first link in second scheduled time that described second network element sends described the Two data;
Stop receiving, using described first link, described second data that described second network element sends.
7. method according to claim 6 is it is characterised in that stop receiving described second net using described first link Described second data that unit sends includes:
Close the laser instrument for receiving described second data of described first link.
8. a kind of data transmission device is it is characterised in that include:
First determining module, for determining that not receiving the first network element in first scheduled time from the first link sends The first data, wherein, described first link be additionally operable to described first network element send the second data;
First sending module, for sending described second data using the second link;
First stopping modular, for, after sending described second data using described second link, stopping using described First link sends described second data.
9. device according to claim 8 is it is characterised in that described first stopping modular includes:
First closing unit, for closing the laser instrument for sending described second data of described first link.
10. device according to claim 8 is it is characterised in that described device also includes:
Closedown module, for not receiving described first net within first scheduled time of determination from described first link After described first data that unit sends, close the laser instrument for receiving described first data of described first link.
A kind of 11. data transmission devices are it is characterised in that include:
Second determining module, for when sending the first data using first chain road direction the second network element, determining needs profit Send described first data with the second network element described in the second chain road direction;
Second sending module, for sending described first data using the second network element described in described second chain road direction;
Second stopping modular, for, after sending described first data using described second link, stopping using described First link sends described first data.
12. devices according to claim 11 are it is characterised in that described second stopping modular includes:
Second closing unit, for closing the laser instrument for sending described first data of described first link.
13. devices according to claim 11 are it is characterised in that described device also includes:
3rd determining module, for using described in described second chain road direction second network element send described first data it Afterwards, determine and the second data that the second network element sends was not received in second scheduled time from described first link, its In, described first link is additionally operable to receive described second data that described second network element sends;
3rd stopping modular, for stopping receiving described the second of described second network element transmission using described first link Data.
14. devices according to claim 13 are it is characterised in that described 3rd stopping modular includes:
3rd closing unit, for closing the laser instrument for receiving described second data of described first link.
CN201510535084.3A 2015-08-27 2015-08-27 Data transmission method and device Pending CN106487678A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510535084.3A CN106487678A (en) 2015-08-27 2015-08-27 Data transmission method and device
PCT/CN2016/077548 WO2016177181A1 (en) 2015-08-27 2016-03-28 Data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510535084.3A CN106487678A (en) 2015-08-27 2015-08-27 Data transmission method and device

Publications (1)

Publication Number Publication Date
CN106487678A true CN106487678A (en) 2017-03-08

Family

ID=57217864

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510535084.3A Pending CN106487678A (en) 2015-08-27 2015-08-27 Data transmission method and device

Country Status (2)

Country Link
CN (1) CN106487678A (en)
WO (1) WO2016177181A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109962734A (en) * 2017-12-26 2019-07-02 中国移动通信集团公司 A kind of network system and data transmission method
CN111724276A (en) * 2020-05-19 2020-09-29 浙江浙能长兴天然气热电有限公司 Power plant data transmission method and system integrating self-diagnosis and channel optimization
CN112887150A (en) * 2021-01-28 2021-06-01 深圳市中景元科技有限公司 Method for automatically opening and closing aggregation, electronic equipment and storage medium
CN114554565A (en) * 2020-11-26 2022-05-27 阿里巴巴集团控股有限公司 Link switching method, communication system, user plane functional entity and user equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1523801A (en) * 2003-09-03 2004-08-25 ����ͨѶ�ɷ����޹�˾ Method for mobile terminal to switch between code division multiple access system and wireless local area network
CN102780635A (en) * 2012-08-09 2012-11-14 华为技术有限公司 Method for realizing protection switching based on TRILL (transparent interconnection of lots of link) network, TOR (top of rack) switchboard and system
CN103475655A (en) * 2013-09-06 2013-12-25 瑞斯康达科技发展股份有限公司 Method for achieving IPSecVPN main link and backup link dynamic switching

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7167723B2 (en) * 2000-11-27 2007-01-23 Franklin Zhigang Zhang Dual channel redundant fixed wireless network link, and method therefore
CN101013928B (en) * 2007-02-07 2011-09-14 华为技术有限公司 Apparatus and method for implementing line fault detection of pseudo-wire simulation
KR20100109810A (en) * 2009-04-01 2010-10-11 엘지에릭슨 주식회사 Method for link duplexing and voice over internet protocol system using the same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1523801A (en) * 2003-09-03 2004-08-25 ����ͨѶ�ɷ����޹�˾ Method for mobile terminal to switch between code division multiple access system and wireless local area network
CN102780635A (en) * 2012-08-09 2012-11-14 华为技术有限公司 Method for realizing protection switching based on TRILL (transparent interconnection of lots of link) network, TOR (top of rack) switchboard and system
CN103475655A (en) * 2013-09-06 2013-12-25 瑞斯康达科技发展股份有限公司 Method for achieving IPSecVPN main link and backup link dynamic switching

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109962734A (en) * 2017-12-26 2019-07-02 中国移动通信集团公司 A kind of network system and data transmission method
CN111724276A (en) * 2020-05-19 2020-09-29 浙江浙能长兴天然气热电有限公司 Power plant data transmission method and system integrating self-diagnosis and channel optimization
CN111724276B (en) * 2020-05-19 2021-09-03 浙江浙能长兴天然气热电有限公司 Power plant data transmission method and system integrating self-diagnosis and channel optimization
CN114554565A (en) * 2020-11-26 2022-05-27 阿里巴巴集团控股有限公司 Link switching method, communication system, user plane functional entity and user equipment
CN114554565B (en) * 2020-11-26 2024-08-02 阿里巴巴集团控股有限公司 Link switching method, communication system, user plane functional entity and user equipment
CN112887150A (en) * 2021-01-28 2021-06-01 深圳市中景元科技有限公司 Method for automatically opening and closing aggregation, electronic equipment and storage medium

Also Published As

Publication number Publication date
WO2016177181A1 (en) 2016-11-10

Similar Documents

Publication Publication Date Title
CN102571553B (en) The method and apparatus of multi-hop distributed controll face and single-hop data surface switching fabric system
US20080117827A1 (en) Method and system for verifying connectivity of logical link
CN104137452B (en) Business is conveyed in communications network system
CN102124704B (en) Across numeral and the link-diversity of optics pass-thru node and load balance
CN102546425B (en) Crossed ring network protection method, equipment and system
CN106487678A (en) Data transmission method and device
CN103634288B (en) For splitting method and the data handling system of the management of transmission control protocol flow control
CN104717115B (en) For providing the method and system of multipath connection between the layer of communication protocol
CN101645810B (en) Method and equipment for detecting pseudo wire (PW)
CN101924702A (en) Service data transmission method and device
CN106888513B (en) Fronthaul network and data transmission method
CN1985541A (en) Connected-state radio session transfer in wireless communication systems
CN102387067A (en) Various networks based polymorphism information interaction system
CN105515816B (en) Processing method and device for detecting hierarchical information
CN105393507A (en) Configuring new paths in wireless deterministic networks
CN105519230B (en) Communication means and network element device
CN103368844A (en) Message processing method and label switching router in MPLS network
EP4169275A1 (en) Processing of data traffic in integrated access and backhaul (iab) communication networks
US20230199613A1 (en) Method and apparatus for packet duplication in wireless communication system
US20020037728A1 (en) Method and system for mobile communication, and a computer product
CN102255805B (en) Message transmission method, message forwarding method and devices
JP2010028323A (en) Relay communication device, communication node including the relay communication device, and communication system utilizing the communication node
CN111355561B (en) Data retransmission indicating and processing method and device
EP3697132A1 (en) Handover of a latency critical application
US10826825B2 (en) Access network system, and data packet processing method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170308

WD01 Invention patent application deemed withdrawn after publication