CN100563237C - A kind of data transmission method of multi transmission channel - Google Patents

A kind of data transmission method of multi transmission channel Download PDF

Info

Publication number
CN100563237C
CN100563237C CNB2005100588781A CN200510058878A CN100563237C CN 100563237 C CN100563237 C CN 100563237C CN B2005100588781 A CNB2005100588781 A CN B2005100588781A CN 200510058878 A CN200510058878 A CN 200510058878A CN 100563237 C CN100563237 C CN 100563237C
Authority
CN
China
Prior art keywords
communication node
transmission
passage
transmission channel
data
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
CNB2005100588781A
Other languages
Chinese (zh)
Other versions
CN1842076A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2005100588781A priority Critical patent/CN100563237C/en
Publication of CN1842076A publication Critical patent/CN1842076A/en
Application granted granted Critical
Publication of CN100563237C publication Critical patent/CN100563237C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of data transmission method of multi transmission channel, comprise step: first communication node and second communication node are registered local all transmission channels that exist respectively; Arranging wherein between described first and second communication nodes, a transmission channel is the main channel; Described first communication node is intercoursed the sign of each transmission channel by this main channel and second communication node, connects; Whether described communication node carries out fault detect for all passages of registering normal with the state of confirming each passage; The normal transmission channel of selection mode is carried out transfer of data between described first communication node and the second communication node.

Description

A kind of data transmission method of multi transmission channel
Technical field
The present invention relates to the data transmission technology of the communications field, particularly relate to a kind of data transmission method of multi transmission channel.
Background technology
As everyone knows, in the communication system, need to guarantee reliability of data transmission.
For example, in the SGSN of GPRS (GPRS) communication network (GPRS serving GPRS support node) system, the function of link switching subsystem is: the service process subsystem that will be distributed in each machine frame connects, make each service process subsystem can carry out finishing the service processing function of SGSN jointly alternately.
The control unit of link switching subsystem is MPU (a link switching subsystem Operation and Maintenance control unit), and the configuration of its exchange needs to be issued by communication mode by OMU (central control unit is safeguarded in the SGSN system operation).Because the exchange message of configuration is extremely important for the normal operation of system, so must guarantee the reliable transmission of the exchange message of configuration.
For this reason, the general reliability of raising transmission channel or the modes such as communication protocol of use assurance reliable transmission of adopting improves reliability of data transmission.Under to the very high situation of reliability requirement, the mode that also can adopt passage to back up sometimes improves the reliability of transmission channel.
But, in the actual communication environment, lower floor's bearer path of connection-oriented communication protocol (as TCP/IP) commonly used has only one at present, that is to say, though transport layer can provide connection-oriented end to end reliable transmission, the physics of its lower floor carrying or logical channel have only one (as the time slot of PVC PVC, the E1 of asynchronous transfer mode ATM etc.).Like this, the reliability of communication system is limited by the reliability of this lower floor's bearer path.
Because the physics or the logical channel of carrying have only one, for upper layer application, communication is still reliable inadequately, and therefore, a kind of prior art adopts the mode of many transmission channel bindings to improve the reliability of communication system.But, because the transport layer of prior art does not provide the data reliability of multi transmission channel to guarantee at present, so if will adopt the mode of many transmission channel bindings to improve the reliability of communication, then need application layer self to provide mechanism to guarantee the correct, reliable of data, thereby increase complexity, the degree of coupling of communication system.
In addition, lack testing mechanism now in the practical communication environment, cause the location, solve difficulty of communication failure problem channel failure; Prior art lacks the state-detection mechanism to communication link.
Summary of the invention
Above-mentioned defective at prior art the invention provides a kind of data transmission method of multi transmission channel, and highly reliable transmission mechanism can be provided on multi transmission channel.
For this reason, the technical scheme of technical solution problem of the present invention is: a kind of data transmission method of multi transmission channel is provided, comprises step:
1) first communication node and second communication node are registered local all transmission channels that exist respectively;
2) arranging wherein between described first and second communication nodes, a transmission channel is the main channel;
3) described first communication node is intercoursed the sign of each transmission channel by this main channel and second communication node, connects;
4) whether with the state of confirming each passage normal for all passages of registration if carrying out fault detect for described communication node;
5) the normal transmission channel of selection mode is carried out transfer of data between described first communication node and the second communication node.
Preferably, also comprise between first communication node and the second communication node activity that adopts heartbeat mechanism to detect the passage of all registrations.
Preferably, the fault detect of described step 4) specifically: if do not receive data from certain transmission channel in the scheduled time, the state of then putting this passage is a malfunction.
Preferably, described step 4) also comprises: after receiving data from the passage that is designated fault, the state of putting this passage is for normal.
Preferably, the transfer of data of described step 5) comprises: first communication node is under the situation that send window allows, and the normal passage of selection mode sends packet, and packet content should be carried transmission sequence number, and starts regularly retransmission mechanism; After the second communication node receives described packet,, then receive if find that transmission sequence number is legal; Confirm that then the normal passage of selection mode sends confirmation to first communication node if need to send; First communication node receives legal affirmation information before retransmission timer is overtime after, show this transfer of data success.
Preferably, in data transmission procedure, determine MTU according to the characteristic of all passages, its value is less than the MTU of arbitrary passage.
Preferably, in data transmission procedure, determine the overtime duration of retransmission timer according to the characteristic of all passages: if lower floor's passage is connection-oriented, then its overtime duration should be greater than the overtime duration of arbitrary passage; If lower floor's passage is towards disconnected, then its overtime duration determines and should determine according to the propagation delay time of the passage of minimum transmission rate.
Preferably, connecting specifically of described step 3):
Described first communication node sends connection request by this main channel to the second communication node;
Described second communication node receives this connection request, preserves information wherein; And loopback connects affirmation;
Described first communication node receives this connection and confirms.
Preferably, the sign of described first each transmission channel of communication node is contained in this connection request; The sign of described each transmission channel of second communication node is contained in this connection affirmation.Information in the described connection request also comprises receive window size, the initial transmission sequence number of first communication node of connection identifier, first communication node; Information during described connection is confirmed also comprises receive window size, the initial transmission sequence number of second communication node of connection identifier, second communication node.
With respect to prior art, the invention has the beneficial effects as follows: because the present invention registers all transmission channels of this locality at communication node, and each passage carried out fault detect, the normal passage of selection mode carries out when carrying out transfer of data, thereby highly reliable transmission mechanism can be provided on multi transmission channel; And transparent to upper layer application, reduced the complexity and the degree of coupling of communication system.
Be understandable that,, can on connectionless network, providing highly reliable transmission mechanism based on method of the present invention; Can on multiple heterogeneous networks framework, agreement, provide highly reliable transmission mechanism.
Description of drawings
Fig. 1 is the block diagram of the communication system of embodiments of the invention;
Fig. 2 is the flow chart of data transmission method of multi transmission channel of the present invention.
Embodiment
Main design of the present invention is: the highly reliable transmission mechanism that multi transmission channel is provided in the transport layer of communication system, when the reliability that adopts many transmission channels of binding to guarantee to communicate by letter, can realize transparent to upper layer application, thereby reduce the complexity and the degree of coupling of communication system.
Seeing also Fig. 1, is the block diagram of the communication system of embodiments of the invention.
In the communication system, have first communication node 100 and second communication node 200; Two transmission channels of configuration between described first communication node 100 and the second communication node 200: first transmission channel 310 and second transmission channel 320; Correspondingly, first communication node 100 has two port ones 01 and 102; Second communication node 200 has two ports 201 and 202.
Seeing also Fig. 2, is the flow chart of data transmission method of multi transmission channel of the present invention.
Data transmission method of multi transmission channel comprises that poll passage, foundation connect, select the passage of transfer of data, the fault detect and the processing of communication port end to end.
Step S1, before first communication node 100 and second communication node 200 carry out proper communication, each passage (first transmission channel 310 and second transmission channel 320) that each comfortable local registration earlier exists.
Then, whether first communication node 100 and second communication node 200 to monitor each passage by heartbeat mechanism normal.
Step S2, by agreement, first communication node 100 and second communication node 200 appointment earlier wherein a passage are main channel (as first transmission channel 310); By this main channel, first communication node 100 sends connection request end to end to second communication node 200.Comprise in this request: the initial transmission sequence number of the receive window size of the sign of this connection, first communication node 100, first communication node 100, the address designation (as: port one 01 and port one 02) of first communication node, 100 each passages.
Step S3, after second communication node 200 receives connection request, write down this connection sign, the receive window size of first communication node 100, the initial transmission sequence number of first communication node 100, the address designation (as: port one 01 and port one 02) of first communication node, 100 each passages; Connect to confirm to 100 loopbacks of first communication node then, comprise in this affirmation: the initial transmission sequence number of the receive window size of the sign of this connection, second communication node 200, second communication node 200, the address designation (as: port 201 and 202) of second communication node 200 each passages.
Step S4, first communication node 100 receive after this connection confirms within a certain period of time, show that first communication node 100 set up one with second communication node 200 both sides and be connected, and can communicate.
Step S5, if first communication node 100 will send data to second communication node 200, under the situation that send window allows, then select the normal passage of a bar state to send packet (as far as possible selecting the main channel), packet content should be carried transmission sequence number, and starts regularly retransmission mechanism.
Step S6 after second communication node 200 receives described packet, if find that transmission sequence number is legal, then receives; Confirm if need to send, then select the normal passage of a bar state (as far as possible selecting the main channel) to send confirmation to first communication node 100.
Step S7 first communication node 100 receives legal affirmation information before retransmission timer is overtime after, shows this transfer of data success.
Be understandable that in data transmission procedure, the determining of MTU (MTU) taken an examination and considered the characteristic of all passages, its value should be less than the MTU of arbitrary passage.
The determining of the overtime duration of retransmission timer taken an examination and considered the characteristic of all passages.If lower floor's passage is connection-oriented, then its overtime duration should be greater than the overtime duration of arbitrary passage; If lower floor's passage is towards disconnected, the propagation delay time of that passage of considering minimum transmission rate of determining to take an examination of its overtime duration then.
Step S8, first communication node 100 and second communication node 200 need carry out fault detect for all passages of registration.When certain passage does not receive the other side's data in the time of a setting (as 3S), then put this channel failure, just do not re-use this passage when send data next time, report and alarm simultaneously, the prompting personnel carry out plant maintenance.
Step S9, when a certain passage between first communication node 100 and the second communication node 200 does not have transfer of data in certain hour (as 1S), need initiatively to send heartbeat message to the other side by this passage, after the other side receives, need to respond heartbeat message, detect so that carry out the activity of passage by this passage.When receiving data again from a passage that is designated fault, it is normal then to put this passage, just can select to use this passage next time when sending data.
For the ease of understanding the present invention, introduce example of the present invention below.
This example is to realize the MPU in the link switching subsystem of SGSN system and the reliable transmission of the configuration data between the OMU, does not increase the complexity of application layer process simultaneously.
Please consult Fig. 1 once more, in this example, two 100M ethernet links of configuration all have two ethernet ports on OMU, the MPU between OMU (being made as first communication node 100) and MPU (being made as second communication node 200), dispose two IP addresses (101,102 and 201,202) respectively.
Need to prove that the passage of this example is ethernet link, but in other cases, can be the link or the multilink of other types yet, this does not give unnecessary details.
This example carries out work according to flow process shown in Figure 2, comprising: the poll passage; Set up end to end and connect; Reliable data transmission is carried out in the selector channel; Communicate the fault detect and the switching of passage.Wherein, two links are the 100M Ethernet, and MTU all is made as 1500, and the overtime duration of retransmission timer is set to 1S.
In fact, though this example is to be applied in two ethernet links, be suitable for too for other links more than two.Can effectively improve the reliability of communication, and transparent to upper layer application.
Be understandable that,, can on connectionless network, providing highly reliable transmission mechanism based on method of the present invention; Can on multiple heterogeneous networks framework, agreement, provide highly reliable transmission mechanism.
Need to prove that those skilled in the art knows, method of the present invention can realize by the mode of adding software module in communication node; Certainly, also can adopt hardware mode to realize; Described hardware can adopt discrete device, also can adopt the chip that is solidified with software module, and this does not give unnecessary details.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (9)

1. a data transmission method of multi transmission channel is characterized in that, comprises step:
1) first communication node and second communication node are registered local all transmission channels that exist respectively;
2) arranging wherein between described first and second communication nodes, a transmission channel is the main channel;
3) described first communication node is intercoursed the sign of each transmission channel by this main channel and second communication node, connects;
4) whether with the state of confirming each passage normal for all passages of registration if carrying out fault detect for described communication node;
5) the normal transmission channel of selection mode is carried out transfer of data between described first communication node and the second communication node.
2. data transmission method of multi transmission channel according to claim 1 is characterized in that, also comprises adopting heartbeat mechanism to detect the activity of the passage of all registrations between first communication node and the second communication node.
3. data transmission method of multi transmission channel according to claim 1 and 2 is characterized in that, the fault detect of described step 4) specifically: if receive data from certain transmission channel in the scheduled time, the state of then putting this passage is a malfunction.
4. data transmission method of multi transmission channel according to claim 3 is characterized in that, described step 4) also comprises: after receiving data from the passage that is designated fault, the state of putting this passage is for normal.
5. data transmission method of multi transmission channel according to claim 1, it is characterized in that, the transfer of data of described step 5) comprises: first communication node is under the situation that send window allows, the normal passage of selection mode sends packet, packet content should be carried transmission sequence number, and starts regularly retransmission mechanism; After the second communication node receives described packet,, then receive if find that transmission sequence number is legal; Confirm that then the normal passage of selection mode sends confirmation to first communication node if need to send; First communication node receives legal affirmation information before retransmission timer is overtime after, show this transfer of data success.
6. data transmission method of multi transmission channel according to claim 5 is characterized in that, in data transmission procedure, determines MTU according to the characteristic of all passages, and its value is less than the MTU of arbitrary passage.
7. according to claim 5 or 6 described data transmission method of multi transmission channel, it is characterized in that, in data transmission procedure, determine the overtime duration of retransmission timer according to the characteristic of all passages: if lower floor's passage is connection-oriented, then its overtime duration should be greater than the overtime duration of arbitrary passage; If lower floor's passage is towards disconnected, then its overtime duration determines and should determine according to the propagation delay time of the passage of minimum transmission rate.
8. data transmission method of multi transmission channel according to claim 1 is characterized in that, the connecting specifically of described step 3):
Described first communication node sends connection request by this main channel to the second communication node;
Described second communication node receives this connection request, preserves information wherein; And loopback connects affirmation;
Described first communication node receives this connection and confirms.
9. data transmission method of multi transmission channel according to claim 8 is characterized in that, the sign of described first each transmission channel of communication node is contained in this connection request; The sign of described each transmission channel of second communication node is contained in this connection affirmation; Information in the described connection request also comprises receive window size, the initial transmission sequence number of first communication node of connection identifier, first communication node; Information during described connection is confirmed also comprises receive window size, the initial transmission sequence number of second communication node of connection identifier, second communication node.
CNB2005100588781A 2005-03-30 2005-03-30 A kind of data transmission method of multi transmission channel Active CN100563237C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100588781A CN100563237C (en) 2005-03-30 2005-03-30 A kind of data transmission method of multi transmission channel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100588781A CN100563237C (en) 2005-03-30 2005-03-30 A kind of data transmission method of multi transmission channel

Publications (2)

Publication Number Publication Date
CN1842076A CN1842076A (en) 2006-10-04
CN100563237C true CN100563237C (en) 2009-11-25

Family

ID=37030919

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100588781A Active CN100563237C (en) 2005-03-30 2005-03-30 A kind of data transmission method of multi transmission channel

Country Status (1)

Country Link
CN (1) CN100563237C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118300B (en) * 2009-12-31 2014-03-12 华为软件技术有限公司 Method and device for transmitting data streams in multiple channels
CN103092701B (en) 2011-10-31 2017-02-08 联想(北京)有限公司 Communication method, communication device and electronic device
CN110956799B (en) * 2018-09-26 2021-08-20 华为技术有限公司 Traffic information processing method and device
JP2021525011A (en) * 2019-04-29 2021-09-16 エイチエムエヌ・テクノロジーズ・カンパニー・リミテッド Submarine cable failure judgment method and equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
计算机网络. 谢希仁,240-243页,大连理工大学出版社. 2004
计算机网络. 谢希仁,240-243页,大连理工大学出版社. 2004 *

Also Published As

Publication number Publication date
CN1842076A (en) 2006-10-04

Similar Documents

Publication Publication Date Title
US6618359B1 (en) Error recovery in a mixed protocol networks
US6226676B1 (en) Connection establishment and termination in a mixed protocol network
US5163055A (en) Communications system using a fault tolerant protocol
CN100438491C (en) Packet transfer apparatus
US7424640B2 (en) Hybrid agent-oriented object model to provide software fault tolerance between distributed processor nodes
KR100602651B1 (en) Apparatus and method of tcp connection management
JPH0793638B2 (en) Satellite packet communication method
EP1896980A2 (en) Preserving sessions in a wireless network
CA2129083A1 (en) Management interface method
CN101051957B (en) Dynamically regulating method and device for link state and bundled link state
CN100563237C (en) A kind of data transmission method of multi transmission channel
JP2001127761A (en) Communication data confirmation test method in mpls communication system, and router, exchange and communication system utilizing the method
US6452946B1 (en) Apparatus and method for improving performance in master and slave communications systems
CN101420770A (en) Fault connection processing method and system in wireless transmission
JP3871895B2 (en) Apparatus and method for automatic port identification discovery in hierarchical heterogeneous systems
CN103327643B (en) Information transferring method, device between microwave network element and microwave network element
CN100499500C (en) Method for realizing management for multistage communication device
US6826175B1 (en) Signaling link interface for processing signaling information in a telecommunications network
US20040199819A1 (en) Method for fast and local error correction in the event of the failure of individual physical corrections in bundled communication connections and communication system device for carrying out the method
EP3863249A1 (en) Data sending method and apparatus, and flexe switching system
CN112131167A (en) LPC protocol-based I2C forwarding module, system and use method thereof
CN214098421U (en) Board card and communication system
KR100314582B1 (en) Method of managing control messages for extending the number of subscriber boards of digital subscriber line access multiplexor
US20020071385A1 (en) Frame relay communication device, frame relay switchboard, frame relay communication system, and method of controlling a procedure for confirming PVC state
KR100281974B1 (en) Method and apparatus for handling a frame of an exchange

Legal Events

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